Wink Saville’s Blog

July 29, 2007

Sparkrocket

Filed under: Notes — wink @ 4:17 am

Alright, sparkrocket is coming along. Today, I changed the code to stop using our old tables and instead are using the new ones. Seems to be working well.

Next step is to add an “icon” to the spark and rocket menus with a counter on the spark menu so you know how many links there are. Also I want to right or ctrl-click so when you “goto” a link in the spark menu you can do so in a new tab.

Anyway, making progress.

Wink

July 28, 2007

Adding startup code to linux

Filed under: Notes — wink @ 5:05 pm

Since adding the bridging code in my linux machine I’ve had to manually execute the script that starts up the networking.

I’ve been wanting to figure out how to have it execute automatically. So today I looked at /etc/init.d/rc and found that the last thing this script does is executes /sbin/setup.sh if it is executable. Turns out it wasn’t there so I created it with:

/home/wink/bin/br

and made it executable (chmod 755 setup.sh) and change owner to root (chown root:root setup.sh). Rebooted and guess what all is well. For completeness br is

#!/bin/sh
set -x
brctl addbr br0
/etc/qemu-ifup eth0
chmod 666 /dev/net/tun
dhclient3 br0

This is the code from my notes on getting kvm running.

Powered by WordPress