How to autoconnect wifi trendnet tew-401pc+ at boot

What works, and doesn't, for you. Be specific, and please include Puppy version.
Post Reply
Message
Author
mikey
Posts: 27
Joined: Fri 07 Oct 2005, 02:54

How to autoconnect wifi trendnet tew-401pc+ at boot

#1 Post by mikey »

installed this wifi card on my p3 thinkpad from the live cd. It has a broadcom chipset with bcmwl5a.inf driver for ndiswrapper.
have installed 1.0.8 on to hd and each time I boot I have to run wag with a haphazard result. seems to pick up the card only if before I seat it, i physically remove and reinsert the pc card. then it actually is able to see the network .next, I toggle the dhcp to run and then I'm off to mozilla.
what I would like to know is:
1. is there a better and quicker way to get this wifi connected each boot and
2. is there a way to save the settings truly so that the card connects automatically with each boot as most other systems do so I don't have to use wag each time I boot up
I'm not a wiz on the command line so please be as clear as possible in that regard
a pre-thanks to all

Rickrandom
Posts: 195
Joined: Sat 21 Jan 2006, 05:35
Location: Bedfordshire, UK

#2 Post by Rickrandom »

Look at this thread:

http://www.murga.org/%7Epuppy/viewtopic ... highlight=

Let us know how you get on.

mikey
Posts: 27
Joined: Fri 07 Oct 2005, 02:54

re:autoconnect for wifi

#3 Post by mikey »

#this file called from rc.local0
#you can edit this file
#When firewall is installed, will append lines to this file...
modprobe ndiswrapper
iwconfig wlan0 essid xxxxx
rm /etc/dhcpcd/dhcpcd-wlan0
dhcpcd -t20 -h puppypc -d wlan0

as per your advise, I made these changes to the rc.local file
. it seems that the dhcp is still hanging and does not activate on boot. when I use wag to toggle it on, i get connected pronto.
thanks for your input
mike

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#4 Post by trapster »

I believe your line-

rm /etc/dhcpcd/dhcpcd-wlan0

should read:

rm /etc/dhcpcd/dhcpcd-wlan0.*

check back with the link given earlier, you might require some "sleep" in there as well (?)
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

mikey
Posts: 27
Joined: Fri 07 Oct 2005, 02:54

re:autoconnect wifi

#5 Post by mikey »

modprobe ndiswrapper
sleep 5
iwconfig wlan0 essid xxxx
sleep 5
rm /etc/dhcpcd/dhcpcd-wlan0.*
sleep 5
dhcpcd -t20 -h puppypc -d wlan0
well, I made the adjustment that you recommended plus the sleeps but I still haven't gotten the dhcp to connect. during boot up , I noticed that the rm /etc/ dhcpcd/dhcpcd-wlan0.* could not be found. maybe it ois a syntax prob but the wag dhcp toggle gets me going in a jiffy. still would like to find a fully auto way to get this wifi loaded.
thanbks for your help
mike

mikey
Posts: 27
Joined: Fri 07 Oct 2005, 02:54

#6 Post by mikey »

Dear trapster
I cut and pasted to the rc.local file as specified in rick random's thread and now my wifi boots totally auto.
thanks for your help and his
best to all
mike

Rickrandom
Posts: 195
Joined: Sat 21 Jan 2006, 05:35
Location: Bedfordshire, UK

#7 Post by Rickrandom »

As I was advised, you can trim down the sleep values, then reboot, and see if it still works. It will save a few seconds in booting. I started with 5 everywhere just to read the screen to see whether things were working or not.

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#8 Post by trapster »

ah, this is what happens when I cut and paste without looking!

the line:

rm /etc/dhcpcd/dhcpcd-wlan0.*

should point to /etc/dhcpc..........not /etc/dhcpcd

which is probably why it could not be found when you tried it first.

Don't ya just love this forum!!
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

Post Reply