* WiFi setup
@ 2011-01-17 16:59 Gary Thomas
0 siblings, 0 replies; only message in thread
From: Gary Thomas @ 2011-01-17 16:59 UTC (permalink / raw)
To: Poky
Pardon me if this is not the best place to ask about this, but
since I'm building using Poky... Feel free to send me elsewhere
(with pointers!) if there's a more appropriate list.
I now have a WiFi USB dongle which I think the kernel is happy
with, at least I get the 'wlan0' device running. I'm not running
network manager, I'd like to just get it going "raw" via ifup, etc.
Sadly, when I try it, it doesn't work. Here's what I see:
root@cobra3530p60:~# ifup wlan0
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt73.bin'.
rt73usb 2-1.2.4:1.0: firmware: requesting rt73.bin
phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 1.7.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
ADDRCONF(NETDEV_UP): wlan0: link is not ready
udhcpc (v1.17.3) started
Setting IP address 0.0.0.0 on wlan0
Sending discover...
Read error: Network is down, reopening socket
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
Sending discover...
Sending discover...
No lease, failing
root@cobra3530p60:~# phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 2, TXop: 47.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 94.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 3, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
root@cobra3530p60:~# iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:"test adhoc"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: B6:42:15:B2:E8:91
Tx-Power=18 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:935E-27E7-CAB5-DA1B-1D6A-B183-71AE-26E7-7859-1311-D87D-FFB3-7859-1311-D87D-FFB3
Power Management:on
I have the default settings in /etc/network/interfaces for wlan0:
# Wireless interfaces
iface wlan0 inet dhcp
wireless_mode managed
wireless_essid any
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf
I did not change /etc/wpa_supplicant.conf
I've not found much in the way of documentation on how this works,
but I think the [first] real problem is that the interface is in
the wrong mode - Ad Hoc instead of Managed.
Does anyone know what I need to do to get this going (I think I
know how to set the details of things like my AP SSID and keys),
I just don't think I'm getting that far.
Thanks for any ideas
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-01-17 16:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-17 16:59 WiFi setup Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox