fixes for dhcp with net adapter


Forum: DSL Tips and Tricks
Topic: fixes for dhcp with net adapter
started by: atod

Posted by atod on Mar. 08 2006,05:14
FYI -- i had to make the following changes for my network adapter to work with the latest release.  Basically, pump was grabbing an ip however not placing my interface in the "up" state.  Additionally, nothing was updating the routing table.

Code Sample

#!/bin/sh
# /etc/network/if-up.d/configure
# chmod 755 to this file
ifconfig eth0 up
GATEWAY="`pump -i eth0 --status|grep Gateway|sed 's/.*Gateway: //g'`"
route add default gw $GATEWAY
# end


also

Code Sample

cd /etc/rc3.d
ln -s ../init.d/networking S10networking


Hope this helps!

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.