HostAP on ThinkPad T30 - Got wlan0 in ifconfig but can't scan orget an IP

Brian Sturgill zen_hacker at hotmail.com
Fri Jul 23 05:44:28 EDT 2004


You may need to check what mode your card is in. Hostap defaults to Master 
mode. Try iwconfig wlan0 and see if the card is in Master mode. If it is, 
try iwconfig wlan0 mode managed.
Hope this helps!

Brian


>From: Stefán Freyr Stefánsson <stefan at ru.is>
>To: <hostap at shmoo.com>
>Subject: HostAP on ThinkPad T30 - Got wlan0 in ifconfig but can't scan 
>orget an IP
>Date: Thu, 22 Jul 2004 22:11:06 -0000
>
>Hello.
>
>I'm trying to make the transition from using the orinoco driver over to 
>HostAP. My primary reasons are 1) the orinoco stuff had a tendency to freak 
>out on me and block my computer (got some error about writing to BAP 
>descriptor or something) and 2) HostAP supposedly supports SSID scanning.
>
>I've downloaded the HostAP driver and managed to build it and install it. I 
>removed orinoco, orinoco_pci and hermes with rmmod and modprobed hostap_pci 
>which loaded the hostap_pci and the hostap modules.
>
>I've done "ifconfig wlan0 up" and doing "ifconfig" after that shows the two 
>new interfaces (wlan0 and wifi0). However, doing "iwlist scan" doesn't 
>return any SSIDs  although there is one active "in the air". Furthermore, 
>running my dhcp client (pump) results in a hang for about 30 seconds to a 
>minute and then a message saying "Operation failed" and it leaves the 
>network in the same state as it was before (no IP address is assigned and 
>the network just does not work). I have set the same settings (SSID, WEP 
>key, etc.) on the wlan0 card as I did on the eth1 card when I was using 
>orinoco.
>
>Messages in /var/log/syslog include:
>... kernel: Scan result translation succeeded (length=0)
>...
>... pumpd[_pid_]: PUMP: sending discover
>... kernel: wifi0: Deauthenticate all stations
>
>and that's about it.. nothing really looks suspicious.
>
>Can anybody please point me in the right direction here? Am I missing 
>something? Can I increase the logging level somehow? Anybody simply has a 
>solution to my problem???
>
>Thanks, Stefan Freyr.
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/




More information about the HostAP mailing list