tmux bashrc snippet

so on most of my machines i have mrxvt to be my primary term in evilwm. every time i do the term hotkey i want a new session of tmux to start up without attaching to a previous / existing session. here is what i added in my .bashrc to make this happen: tmux_count=`tmux ls … Read More

new prompt (with screenshot)

so i was getting tired of the prompt i have / had and wanted a prompt that would give me more info. since i already had tmux giving me a decent amount of info i wanted to see if i could get my prompt to color code the load and give me the pwd. after … Read More

netbsd 3 + sparc64 + new disk

straight from the bsd forums – so stop asking me how to do it bsd forum link Step 1: backup disktab, add autogenerated disk geometry to disktab (or use a seperate file for your disktab entry, see disklabel man page for info on doing this) # cd /etc # cp disktab disktab.bak # disklabel -t … Read More

NetBSD 3.0

i migrated all servers over to netbsd 3.0. seamless transition. the only problem, fujifilm blank cd’s. these fucking things suck ass. i burned 3 different copies of the iso img onto these cd’s and all three times they failed to read, yet i burned one imation, took with no problem.. oh well all suse machines … Read More

simple samba smb.conf + setup in netbsd 2.0.2 & winxp

smb.conf [global] workgroup = WORKGROUP interfaces = 192.168.0.41/24 security = share server string = venus [share1] path = /venus_fly_trap comment = the fly trap guest ok = yes read only = no browsable = yes writeable = yes public = yes testing — # nmbd # smbd # winbindd # testparm -s Load smb config … Read More

netbsd 2.0.2 + enlightenment 16.7 = first screenshot

here is my first of many screenshots of my netbsd 2.0.2 desktop using enlightenment 16.7 i have gimp, 2 xterm sessions, gkrellm, xclock & firefox all running. the resolution is 1600×1200 the wallpaper is by 3dcrew – i love their wallpapers. $ uname -a NetBSD saturn 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 08:53:42 … Read More

netbsd sparc 64 reinitialize adds

resolv.conf # nameserver 206.132.3.8 nameserver 217.115.138.24 nameserver 219.127.89.34 nameserver 219.127.89.37 nameserver 202.89.131.4 nameserver 194.164.6.112 nameserver 68.15.165.12 nameserver 63.226.12.96 nameserver 64.151.103.120 nameserver 216.87.84.209 ————————————– rc.conf sshd=yes dhclient=no # dhclient_flags=hme0 hostname=saturn.pissedoffadmins.com defaultroute=192.168.0.101 ————————————– hosts 192.168.0.39 saturn 192.168.0.21 earth 192.168.0.7 mnh ————————————– ifconfig.hme0 inet 192.168.0.39 netmask 255.255.255.0

netbsd dhcp temp fix (sparc64 + hme0)

ifconfig lo0 127.0.0.1 ifconfig hme0 192.168.0.39 netmask 255.255.255.0 route add new 192.168.0.101 ———- temp fix for network setup in netbsd 2.0.2 (sparc64)

dmesg from netbsd 2.0.2 vpc

NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 08:53:42 UTC 2005 jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/ 200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/ i386/compile/GENERIC total memory = 199 MB avail memory = 187 MB mainbus0 (root) cpu0 at mainbus0: (uniprocessor) cpu0: Intel Pentium 4 (686-class), 1008.31 MHz, id 0xf24 cpu0: features 7c0a97b cpu0: features 7c0a97b cpu0: features 7c0a97b cpu0: I-cache 12K uOp cache 8-way, D-cache 8 … Read More

locate, crontab & netbsd

to update the locate db –> /usr/libexec/locate.updatedb to add this on a daily update –> crontab -e * 0 * * * /usr/libexec/locate.updatedb