OLPC where to go development advice.
quozl at laptop.org
quozl at laptop.org
Sat Jan 31 06:14:36 EST 2009
Re: static IP, the method that I use on a stripped down debxo is to run
a script from /etc/rc.local ...
/usr/local/bin/quozl-network-persist:
#!/bin/sh
while true; do
/sbin/iwconfig eth0 essid quozl.linux.org.au mode managed channel 6
sleep 1
/sbin/ifconfig eth0 10.0.0.199 netmask 255.255.255.0
sleep 60
done
EOF
And the trigger in /etc/rc.local is:
/usr/local/bin/quozl-network-persist < /dev/null > /dev/null 2> /dev/null &
This has proved adequate for my purposes so far.
--
James Cameron mailto:quozl at us.netrek.org http://quozl.netrek.org/
More information about the Devel
mailing list