Want a free Netgear WG511?

Message
Author
atheist
Posts: 104
Joined: Sat 22 Dec 2007, 00:12

#21 Post by atheist »

well, i tried the older dhcpd version, but it didn't help. then i tried shutting down WEP encryption on my router, and everything works fine, so something is coming into play when WEP is involved.

so, i want to have a secure home network, and also use this machine at work, where there is WEP. any idea where i can start to look for a solution?

thanks,

-steve

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#22 Post by tempestuous »

OK, it sounds like dhcpcd is not at fault.
See PART 4 of my Wifi HOWTO, "Troubleshooting, encryption problems"
http://www.murga-linux.com/puppy/viewto ... 339#159339

You probably just need to do this -

Code: Select all

modprobe ieee80211_crypt_wep
and maybe also this -

Code: Select all

modprobe arc4
modprobe ecb
The prism54 driver supports WEP encryption, but not WPA encryption.

atheist
Posts: 104
Joined: Sat 22 Dec 2007, 00:12

#23 Post by atheist »

success!
loading the modules seems to have done the trick; i'll check it tuesday at work (with an appropriately modified script) to be sure. in the meantime, here's the script i wrote (my third script ever; suggestions for improvements are welcome!)

Code: Select all

#!/bin/sh
ifconfig eth1 down
ifconfig eth1 up
iwconfig eth1 enc s:[password]
rm /etc/dhcpc/*.pid
dhcpcd -t 30 -h satch -d eth1
i wonder if bringing eth1 down, then up is actually necessary? same with removing the .pid file- what do you think?

thanks for the help; forums rock!
-steve

atheist
Posts: 104
Joined: Sat 22 Dec 2007, 00:12

#24 Post by atheist »

strange (to me, anyway) question:
why does this script

Code: Select all

#!/bin/sh
ifconfig eth1 up 
iwconfig eth1 essid "[essid]"
iwconfig eth1 enc s:[pass]
dhcpcd -t 30 -h satch -d eth1
...never work, but entering the commands by hand work flawlessly?

thanks,
-steve

Post Reply