Can't get DHCP to work on boot
Posted: Tue 04 Oct 2005, 21:17
Hello there fellow Puppy users.
I have an older machine I am giving to a friend for his 3 year old son.
Puppy seems to be the perfect OS for the kid (And maybe the family if they use it and fall in love with it as I have!)
I have a DWL-G510 Dlink wireless card in the machine. Through this forum, I have gotten the card to run up to the point of running DHCP.
If I go to the wireless setup wizard and touch "Toggle DHCP", it catches an IP address and all goes well.
I would really like this to be seamless for the little tyke and I am at the end of my rope trying to get it to work.
Here is my /etc/rc.d/rc.local file:
modprobe ndiswrapper sleep 5
iwconfig wlan0 essid "wireless"
dhcpcd wlan0
Can anyone give me some direction here please?
Thanks!
Jamie
OK Update.
I rebooted the machine with the same results.
From a prompt, I rand dhcpcd wlan0 and got :
"DHCP is already running"
" dhcpcd: if not then delete /etc/dhcpc/dhcpcd-wlan0.pid file"
So I go back to WAG, touch "DHCP toggle" and everything works as it should.
What magic does DHCP toggle posess?
I have an older machine I am giving to a friend for his 3 year old son.
Puppy seems to be the perfect OS for the kid (And maybe the family if they use it and fall in love with it as I have!)
I have a DWL-G510 Dlink wireless card in the machine. Through this forum, I have gotten the card to run up to the point of running DHCP.
If I go to the wireless setup wizard and touch "Toggle DHCP", it catches an IP address and all goes well.
I would really like this to be seamless for the little tyke and I am at the end of my rope trying to get it to work.
Here is my /etc/rc.d/rc.local file:
modprobe ndiswrapper sleep 5
iwconfig wlan0 essid "wireless"
dhcpcd wlan0
Can anyone give me some direction here please?
Thanks!
Jamie
OK Update.
I rebooted the machine with the same results.
From a prompt, I rand dhcpcd wlan0 and got :
"DHCP is already running"
" dhcpcd: if not then delete /etc/dhcpc/dhcpcd-wlan0.pid file"
So I go back to WAG, touch "DHCP toggle" and everything works as it should.
What magic does DHCP toggle posess?