Thread: WPA fix
View Single Post
Old 05-05-2008, 05:18 PM   #20
thetechnobear
Connoisseur
thetechnobear has a complete set of Star Wars action figures.thetechnobear has a complete set of Star Wars action figures.thetechnobear has a complete set of Star Wars action figures.
 
Posts: 65
Karma: 256
Join Date: Nov 2007
Location: Switzerland
Device: Iliad, Kindle K3, iPad , iPhone, etc...
hmm, sounds like youve tried most easy combos.

does your router have wired ethernet too? does that work ok with iLiad with dhcp.
(using a wired connection its alot easier to try things out on the wifi too)

ive not seen any issues with the dhcp, (except for one, when an early version of busybox had the wrong udhcp scripts).

only other thing i noticed, when looking at scripts, was that the wired scripts actually try the dhcp twice, as they mention that some dhcp servers are slow.

did you install mxrvt? (or ssh and wired ethernet)

if so what you could try is, run wireless.sh manually
if you turn off encryption, you can simply type:
wireless.sh ssid
where ssid is your network name

if you run the debug version of my wireless.sh, as mentioned it should be generating a text file which will confirm your dhcp issue... we may also be able then to try to run udhcp twice

if your feeling brave, the following will bring up the wlan manually, (with encyption off)

modprobe cfio
ifconfig wlan0 key off
iwconfig wlan0 essid "ssid"

(at this stage iwconfig wlan0, will tell you its status)

udhcpc -n -p /var/run/udhcpc.wlan0.pid -t 4 -i wlan0

(to start dhcp, you might want to try this twice, if it fails)

finally, you can type
ifconfig -a
will show you the state of the wireless interface, and ip address..

only really practical if you have wired ethernet working and ssh installed imho
thetechnobear is offline   Reply With Quote