[ALUG] Laptop wifi help - need to automate dhclient
MJ Ray
mjr at phonecoop.coop
Thu Nov 23 13:56:22 GMT 2006
Mark Rogers <mark at quarella.co.uk> wrote:
> Where I'm stuck is getting it to run dhclient itself automatically when
> the WLAN dongle is connected.
The network/interfaces previously posted sounds the best bet.
Alternatively:
If it's running Udev, maybe try adding
KERNEL=="eth1", RUN+="dhclient eth1"
to the udev rules file.
If it's hotplug, maybe try adding to /etc/hotplug/net.agent
If it's running ModuleInitTools add
install ndiswrapper modprobe --ignore-install ndiswrapper && dhclient eth1
to /etc/modprobe.conf
I should probably do sort something like this myself, instead of
hacking the network init script. ;-)
Hope it works,
--
MJ Ray - see/vidu http://mjr.towers.org.uk/email.html
Somerset, England. Work/Laborejo: http://www.ttllp.co.uk/
IRC/Jabber/SIP: on request/peteble
More information about the main
mailing list