Page 2 of 2

Posted: Sat 16 Feb 2008, 22:36
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

Posted: Sun 17 Feb 2008, 05:35
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.

Posted: Sun 17 Feb 2008, 15:48
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

Posted: Thu 21 Feb 2008, 18:07
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