wmaster0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:1B:9E:82:66:27
ESSID:"TalkTalk520"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=51/100 Signal level:-50 dBm
Encryption key:on
IE: Unknown: 000B54616C6B54616C6B353230
IE: Unknown: 010482848B96
IE: Unknown: 030101
IE: Unknown: 2A0104
IE: Unknown: 32080C1218243048606C
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000560cd6036c
Extra: Last beacon: 648ms ago
root@beagleboard:~# iwconESC[5D^Mroot@beagleboard:~# iwconfig
lo no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.457 GHz Access Point: Not-Associated
Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@beagleboard:~#
root@beagleboard:~# dmesg|grep rt73
[42754.261322] wmaster0 (rt73usb): not using net_device_ops yet
[42754.268096] wlan0 (rt73usb): not using net_device_ops yet
[42754.274627] Registered led device: rt73usb-phy3:radio
[42754.279907] Registered led device: rt73usb-phy3:assoc
[42754.285156] Registered led device: rt73usb-phy3:quality
[42754.632598] rt73usb 1-2.2:1.0: firmware: requesting rt73.bin
[42755.915710] rt73usb 1-2.2:1.0: firmware: requesting rt73.bin
root@beagleboard:~#
The firmware is correct and the same size as on my other boxes.
Perhaps the "[42754.268096] wlan0 (rt73usb): not using net_device_ops
yet" is significant, I don't get it on my openSUSE boxes.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
> resolv.conf should have your dns
>
The dns was in the original /etc/resolv.conf file.
> Disable/etc /init.d/connman
Do you mean "stop" here?
> chmod -x /etc /init.d/connman
>
Was already rwx-r-x-r-x.
> reboot
>
No change after reboot.
> I use static ip's and edit my hosts. hostname. resolve.conf.
> interfaces files.
I shall try using static values with the ESSID and WPA-PSK key added.
>
> I hope you get it working
> Don Lewis
> ----------------------------------
Regards
Sid.
> Disable/etc /init.d/connman
> chmod -x /etc /init.d/connman
Will people please stop posting such hacks? In the connman case you
should do one of the following:
* use update-rc.d to disable the startup scripts
* edit /var/lib/connman/defaults.conf and add something like
[Configuration]
Policy=manual
Priority=200
* edit /var/lib/connman/dev_<your mac addres>.conf and change Policy
to manual
* use the connman gui to have connman ignore the interface
regards,
Koen
> * edit /var/lib/connman/dev_<your mac addres>.conf and change Policy to
> manual
OK, it's set to auto.
> * use the connman gui to have connman ignore the interface
>
Keyboard is the only USB device that is never enumerated, so I shall
have to edit the MMC on one of my boxes.
# less /var/lib/connman/dev_00_0E_2E_E3_80_9B.conf
[Configuration]
Policy=auto
Priority=100
ScanInterval=30
> regards,
>
> Koen
>
> wlan0 IEEE 802.11bg ESSID:""
> Mode:Managed Frequency:2.457 GHz Access Point: Not-
> Associated
Your card is not associated with any accespoint, so dhcp will never
work.
regards,
Koen
wpa-essid TalkTalk520
wpa-psk XXXXXXXXXXXXXXXX
and
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
wpa-driver hostap
# less /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
# home network; allow all valid ciphers
network={
ssid="TalkTalk520"
scan_ssid=1
key_mgmt=WPA-PSK
psk="XXXXXXXXXXXXXXXX"
Maybe it's a little silly question but... Have you tried 'ifup wlan0'?
>
beagleboard login: root
root@beagleboard:~# ifup wlan0
WPA: Configuring Interface
[ 62.844360] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 72.491973] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
udhcpc (v1.13.2) started
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
Sending discover...
Sending discover...
Sending discover...
No lease, failing
root@beagleboard:~# iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:"TalkTalk520"
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
ifconfig doesn't look right, must check the interfaces file again to see
if avahi is on. Besides address should be 192.168.1.x
root@beagleboard:~ ifconfig
wlan0 Link encap:Ethernet HWaddr 00:0E:2E:E3:80:9B
inet6 addr: fe80::20e:2eff:fee3:809b/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wlan0:avahi Link encap:Ethernet HWaddr 00:0E:2E:E3:80:9B
inet addr:169.254.9.27 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
wmaster0 Link encap:UNSPEC HWaddr
00-0E-2E-E3-80-9B-50-C7-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
root@beagleboard:~#
Some stuff from dmesg - looks like it's disconnecting for some reason
=====================
[ 663.151184] wlan0: associated
[ 663.167968] wlan0: disassociating by local choice (reason=3)
[ 663.948333] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 663.973449] wlan0: authenticated
[ 663.973480] wlan0: associate with AP 00:1b:9e:82:66:27
[ 664.000946] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 664.192169] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 664.318115] wlan0: authenticated
[ 664.318115] wlan0: associate with AP 00:1b:9e:82:66:27
[ 664.321350] wlan0: RX ReassocResp from 00:1b:9e:82:66:27 (capab=0x411
status=0 aid=4)
[ 664.321350] wlan0: associated
[ 664.328948] wlan0: disassociating by local choice (reason=3)
[ 665.089691] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 665.111022] wlan0: authenticated
[ 665.111053] wlan0: associate with AP 00:1b:9e:82:66:27
[ 665.132934] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 665.324981] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 665.455688] wlan0: authenticated
[ 665.455718] wlan0: associate with AP 00:1b:9e:82:66:27
[ 665.458984] wlan0: RX ReassocResp from 00:1b:9e:82:66:27 (capab=0x411
status=0 aid=4)
[ 665.459014] wlan0: associated
[ 665.465179] wlan0: disassociating by local choice (reason=3)
[ 666.230529] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 666.252410] wlan0: authenticated
[ 666.252471] wlan0: associate with AP 00:1b:9e:82:66:27
[ 666.274658] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 666.465606] wlan0: authenticate with AP 00:1b:9e:82:66:27
[ 666.597076] wlan0: authenticated
[ 666.597106] wlan0: associate with AP 00:1b:9e:82:66:27
[ 666.600708] wlan0: RX ReassocResp from 00:1b:9e:82:66:27 (capab=0x411
status=0 aid=4)
[ 666.600738] wlan0: associated
[ 666.608062] wlan0: disassociating by local choice (reason=3)
root@beagleboard:~#
This time tried without hostap driver in /etc/network/interfaces, not
required for this device.
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
Attached is a snapshot of the router, the beagleboard does not show up
there with the rest of the boxes.
Seems to be better. Retry ifdown wlan0/ifup wlan0. Sometimes it helps
(at least for my laptop wireless atheros card).
--