Can't load atheros wifi ndiswrapper configuration at startup

Booting, installing, newbie
Post Reply
Message
Author
timtimtim
Posts: 11
Joined: Fri 05 Aug 2005, 09:17

Can't load atheros wifi ndiswrapper configuration at startup

#1 Post by timtimtim »

so i've followed the steps by 'danleff' as posted to get my atheros wifi working via ndiswrapper.
http://www.goosee.com/puppy/wikka/WifiAndPcmcia
but, i can only get my card to acquire an ip address and work if i open a terminal and enter the following:

modprobe ndiswrapper
ifconfig wlan0 up
iwconfig wlan0 key *** channel ** essid **
ifconfig wlan0 up
dhcpcd -G 192.168.0.1 wlan0

i HAVE placed the above lines in my rc.local file, but these settings are not applied at startup; i have to run terminal and enter them manually each time. so, i am wondering why it is not working... do i need to append the module locations specified as below in rc.local?

/usr/bin/ndiswrapper -m
/sbin/modprobe ndiswrapper
/usr/sbin/iwconfig wlan0 key ***
/.etc/dhcpc/dhcpcd -G 192.168.0.1 wlan0

thanks for any help.
-tim

timtimtim
Posts: 11
Joined: Fri 05 Aug 2005, 09:17

it continues

#2 Post by timtimtim »

on further research i find that at startup puppy now hangs because "/.etc/dhcpc/dhcpcd does not exist"
also, when i do get puppy to boot, i have to manually enter wifi settings through terminal.. AND delete the "dhcpcd-wlan0.pid" file, then run dhcpcd again to acquire ip address and be up and running.

HELP!!!!!!!!!!!!!

Guest

#3 Post by Guest »

Code: Select all

/usr/bin/ndiswrapper -m
/sbin/modprobe ndiswrapper
/usr/sbin/iwconfig wlan0 key ***
/.etc/dhcpc/dhcpcd -G 192.168.0.1 wlan0

to

Code: Select all

/bin/rm /etc/dhcpc/dhcpcd-wlan0.pid
/usr/bin/ndiswrapper -m
/sbin/modprobe ndiswrapper
/usr/sbin/iwconfig wlan0 key ***
/sbin/dhcpcd -G 192.168.0.1 wlan0

User avatar
danleff
Posts: 294
Joined: Sun 08 May 2005, 13:11
Location: Albany, NY
Contact:

#4 Post by danleff »

Yes, in your example, you have an extra 2 lines that also may be a problem;

modprobe ndiswrapper
ifconfig wlan0 up
iwconfig wlan0 key *** channel ** essid **
ifconfig wlan0 up
dhcpcd -G 192.168.0.1 wlan0



It probably should be;

modprobe ndiswrapper
iwconfig wlan0 key *** channel ** essid **
dhcpcd -G 192.168.0.1 wlan0
I love it when a plan comes together

--Hannibal Smith

Post Reply