| Author |
Message |
slh
|
|
Post subject:
Posted: 01.08.2011, 11:34
|
|

Joined: 2010-08-25
Posts: 585
Status: Offline
|
|
| Please try it without "echo -n "050d 2103" > /sys/bus/usb/drivers/rtl8192cu/new_id", it's not necessary with that test kernel. But like I already mentioned, I fear there are subtile differences between your device and rtl8192cu - otherwise the injection method should have worked. |
|
|
| |
|
|
|
 |
dibl
|
|
Post subject:
Posted: 01.08.2011, 13:17
|
|

Joined: 2010-09-12
Posts: 302
Location: Dayton, Ohio, USA
Status: Offline
|
|
|
slh wrote:
Please try it without "echo -n "050d 2103" > /sys/bus/usb/drivers/rtl8192cu/new_id", it's not necessary with that test kernel.
Sorry, I should have said that I also tried it without the "new_id" added.
Here is a bit from dmesg:
Code:
[ 10.390347] cfg80211: Calling CRDA to update world regulatory domain
[ 10.537233] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 10.537243] i915 0000:00:02.0: setting latency timer to 64
[ 10.552992] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 10.552997] [drm] Driver supports precise vblank timestamp query.
[ 10.553135] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 10.576265] [drm] initialized overlay support
[ 10.643147] rtl8192cu: MAC address: 08:86:3b:02:d6:13
[ 10.643155] rtl8192cu: Board Type 0
[ 10.721341] fbcon: inteldrmfb (fb0) is primary device
[ 10.733779] rtl8192cu:rtl92cu_init_sw_vars():<0-0> Failed to request firmware!
[ 10.733783] rtlwifi:rtl_usb_probe():<0-0> Can't init_sw_vars.
[ 10.733822] usbcore: registered new interface driver rtl8192cu
|
|
|
| |
|
|
|
 |
DeepDayze
|
|
Post subject:
Posted: 01.08.2011, 14:06
|
|

Joined: 2010-09-11
Posts: 610
Location: USA
Status: Offline
|
|
Why not file a bug report against this driver so that this device can be included.
Does this work with ndiswrapper? if so then the device is good and then maybe needs some quirk added to the Linux rtl8192cu driver to allow it to work. Otherwise there might be some possible hardware issue with the device or a bug in the kernel |
|
|
| |
|
|
|
 |
dibl
|
|
Post subject:
Posted: 01.08.2011, 17:46
|
|

Joined: 2010-09-12
Posts: 302
Location: Dayton, Ohio, USA
Status: Offline
|
|
OK, in the final test, the issue was -- PEBKAC. I had reinstalled the OS for unrelated reasons and did not think to reinstall the realtek firmware at that time. The dmesg output gives the problem -- no firmware loaded because the dumb operator didn't reinstall it.
This problem is solved with kernel 3.0.0.slh.5.
And thank you very much for the fine support -- we now have a very nice additional wifi dongle for use with aptosid!
Code:
root@aptosidbox:/home/don# ifconfig wlan0 up
root@aptosidbox:/home/don# ceni
root@aptosidbox:/home/don# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off
Key Information:
Product name: Belkin n300 Micro
Product model: F7D2102 |
|
|
| |
|
|
|
 |
DeepDayze
|
|
Post subject:
Posted: 01.08.2011, 19:39
|
|

Joined: 2010-09-11
Posts: 610
Location: USA
Status: Offline
|
|
great to hear that you got it working...so all that was really needed was the ID to be added plus ensuring firmware gets loaded.
EDIT:
How well does this dongle work? Is it fast and stable enough to use a lot?
Also @ slh, why does the kernel crash when trying to add an ID to the /proc/bus/usb via echoing the USB ID? |
|
|
| |
|
|
|
 |
dibl
|
|
Post subject:
Posted: 01.08.2011, 21:12
|
|

Joined: 2010-09-12
Posts: 302
Location: Dayton, Ohio, USA
Status: Offline
|
|
|
DeepDayze wrote:
How well does this dongle work? Is it fast and stable enough to use a lot?
I will report back when I can answer the question. It configures nicely in ceni, but working with my home router I'm having no luck getting it to accept the WPA/2 passkey, which I can verify side-by-side with my netbook. It can also see a good signal from an unsecured wireless network, but I can't get an IP address from it -- it must be static.
EDIT: With my netbook I can get an IP address and use the neighbor's unsecured network. Also, the Belkin device reports it at -47 dBm signal strength, but my Toshiba netbook gives it -80 to -83 (which may explain why the Belkin couldn't get an IP address), so there are still some issues to sort. |
|
|
| |
|
|
|
 |
slh
|
|
Post subject:
Posted: 02.08.2011, 22:00
|
|

Joined: 2010-08-25
Posts: 585
Status: Offline
|
|
| What is the current state of your testing (close range, at least - sensitivity of different wlan cards often differs a lot and the "signal quality" readings are usually not comparable), especially in regards to WPA2 functionality? Without a positive confirmation, this USB ID won't get upstream and will have to be removed from our kernel again as well. |
|
|
| |
|
|
|
 |
dibl
|
|
Post subject:
Posted: 02.08.2011, 23:41
|
|

Joined: 2010-09-12
Posts: 302
Location: Dayton, Ohio, USA
Status: Offline
|
|
I have not successfully closed the link with my router. I'm working with ceni, and also wicd, (and alternate configurations of /etc/wpa_supplicant/roam.conf), trying to figure out what is the problem with the WPA/2 passphrase/PSK. ceni appears to be configuring it correctly, until I get to the "scan" module, and it never, ever finds a ESSID or BSSID. wicd sees my network, shows a reasonable signal strength, but generates a "wrong password" message, when I'm sure the passphrase is correct. I have 2 different netbooks, both running aptosid, that connect to my router, so I have been comparing the setups to this Dell box, trying to find something different.
I'm suspecting the rtl8192cu driver, but I have no proof at this moment.
Any suggestions are welcome. |
|
|
| |
|
|
|
 |
slh
|
|
Post subject:
Posted: 02.08.2011, 23:49
|
|

Joined: 2010-08-25
Posts: 585
Status: Offline
|
|
| If you're using wpa2-psk, there's a simple way to configure it (at least for testing, please make sure that wicd can't interfere, perhaps by temporarily purging it) through /etc/network/interfaces:
Code:
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback
#allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid my-essid
wpa-psk "my super secret WPA2 key"
(adapt this as needed, of course and ideally try it within ~2 metres/ yards distance to the router - and better not much closer either)
Please also test scanning through:
Code:
ifconfig wlan0 up
iw dev wlan0 scan
and 'forget' about Ceni and wicd for the moment, until we know if the driver works for your device. dmesg also often provides interesting insight into any eventually arising issues. |
|
|
| |
|
|
|
 |
dibl
|
|
Post subject:
Posted: 03.08.2011, 01:20
|
|

Joined: 2010-09-12
Posts: 302
Location: Dayton, Ohio, USA
Status: Offline
|
|
/etc/network/interfaces is configured exactly as you wrote it.
iw is installed. Here is the output of
Code:
iw dev wlan0 scan
Code:
root@ambucsbox:/home/guest# iw dev wlan0 scan
BSS 00:23:6c:be:7c:43 (on wlan0)
TSF: 634633113984 usec (7d, 08:17:13)
freq: 2412
beacon interval: 100
capability: ESS ShortPreamble SpectrumMgmt ShortSlotTime (0x0521)
signal: -40.00 dBm
last seen: 719 ms ago
SSID: Tnet
Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
DS Parameter set: channel 1
TIM: DTIM Count 2 DTIM Period 3 Bitmap Control 0x0 Bitmap[0] 0x8
Country: US Environment: Indoor/Outdoor
Channels [1 - 11] @ 27 dBm
Power constraint: 0 dB
ERP: <no flags>
Extended supported rates: 24.0 36.0 48.0 54.0
HT capabilities:
Capabilities: 0x100c
HT20
SM Power Save disabled
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT RX MCS rate indexes supported: 0-15
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 1
* secondary channel offset: no secondary
* STA channel width: 20 MHz
* RIFS: 0
* HT protection: no
* non-GF present: 0
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
WMM: * Parameter version 1
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: acm CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 00:14:d1:c6:d9:b3 (on wlan0)
TSF: 631873332079 usec (7d, 07:31:13)
freq: 2462
beacon interval: 100
capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
signal: -40.00 dBm
last seen: 64 ms ago
SSID: TRENDnet
Supported rates: 1.0* 2.0* 5.5* 11.0*
DS Parameter set: channel 11
ERP: <no flags>
Extended supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK
* Capabilities: (0x0000)
WPA: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK
WMM: information: 01 00
HT capabilities:
Capabilities: 0x104e
HT20/HT40
SM Power Save disabled
RX HT40 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT RX MCS rate indexes supported: 0-15
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 11
* secondary channel offset: below
* STA channel width: any
* RIFS: 0
* HT protection: no
* non-GF present: 0
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
WPS: * Version: 1.0
* Wi-Fi Protected Setup State: 2 (Configured)
root@ambucsbox:/home/guest#
The tail of dmesg shows me a lot of this:
Code:
[ 250.454013] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 256.328235] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 256.528015] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 256.728011] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 256.928011] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 262.770409] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 262.970016] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 263.170011] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 263.370014] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 269.208334] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 269.408012] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 269.608012] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 269.808011] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 275.650511] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 275.850016] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 276.050017] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 276.250010] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 282.154055] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 282.354025] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 282.554029] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 282.754015] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 288.615473] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 288.815044] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 289.015025] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 289.215029] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 295.074519] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 295.274014] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 295.474026] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 295.674029] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 301.544569] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 301.744069] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 301.944026] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 302.144029] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 307.438355] exe (4996): /proc/4996/oom_adj is deprecated, please use /proc/4996/oom_score_adj instead.
[ 308.076416] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 308.276027] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 308.476056] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 308.676053] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 314.529526] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 314.729020] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 314.929028] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 315.129023] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 321.037194] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 321.237030] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 321.437029] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 321.637018] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 327.498988] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 327.699054] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 327.899028] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 328.099024] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 333.943412] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 334.143029] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 334.343024] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 334.543027] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 340.401587] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 340.601026] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 340.801029] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 341.001025] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 346.857387] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 347.057031] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 347.257016] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 347.457016] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 353.299934] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 353.499055] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 353.699020] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 353.899016] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 359.741111] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 359.941021] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 360.141021] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 360.341027] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 366.200409] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 366.400032] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 366.600022] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 366.800022] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 372.660706] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 372.860028] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 373.060029] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 373.260027] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 379.158815] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 379.358016] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 379.558026] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 379.758018] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 385.609796] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 385.809021] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 386.009056] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 386.209028] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 392.055595] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 392.255019] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 392.455028] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 392.655028] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 398.511644] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 398.711030] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 398.911016] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 399.111014] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 404.977939] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 405.177063] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 405.377025] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 405.577050] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 411.438736] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 411.638028] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 411.838022] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 412.038027] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 417.881662] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 418.081028] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 418.281022] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 418.481026] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 424.336338] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 424.536030] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 424.736020] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 424.936022] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 430.794017] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 430.994033] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 431.194015] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 431.394055] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 437.269428] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 437.469026] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 437.669028] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 437.869020] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 443.725728] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 443.925051] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 444.125030] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 444.325032] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 450.171153] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 450.371030] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 450.571027] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 450.771038] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 456.617325] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 456.817027] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 457.017032] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 457.217024] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 463.067624] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 463.267036] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 463.467019] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 463.667025] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 469.512549] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 469.712025] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 469.912021] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 470.112019] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 475.956224] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 476.156019] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 476.356017] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 476.556290] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 482.478889] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 482.678037] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 482.878055] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 483.078020] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 488.927561] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 489.127022] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 489.327014] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 489.527013] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
[ 495.369486] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
[ 495.569019] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 2/3)
[ 495.769023] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 3/3)
[ 495.969019] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
root@ambucsbox:/home/guest# :14:d1:c6:d9:b3 (try 3/3)
bash: syntax error near unexpected token `try'
root@ambucsbox:/home/guest# [ 405.577050] wlan0: direct probe to 00:14:d1:c6:d9:b3 timed out
bash: [: missing `]'
root@ambucsbox:/home/guest# [ 411.438736] wlan0: direct probe to 00:14:d1:c6:d9:b3 (try 1/3)
Sorry to load the forum with long error messages, but maybe it helps diagnose the problem. |
|
|
| |
|
|
|
 |
slh
|
|
Post subject:
Posted: 03.08.2011, 01:29
|
|

Joined: 2010-08-25
Posts: 585
Status: Offline
|
|
| o.k., it can see both wlan cells and assume the second is yours (I'd suggest you to switch the router to wpa2psk/ CCMP (sometimes called AES) for security reasons, but this is unrelated). Can you connect to your network now, maybe after "ifup wlan0" or after a reboot? what does "wpa_cli" (as root) say (you get a console to wpasupplicant that way, "status" tells you about the current connection status und you see events scroll by as they appear)? |
|
|
| |
|
|
|
 |
dibl
|
|
Post subject:
Posted: 03.08.2011, 13:06
|
|

Joined: 2010-09-12
Posts: 302
Location: Dayton, Ohio, USA
Status: Offline
|
|
|
slh wrote:
o.k., it can see both wlan cells and assume the second is yours (I'd suggest you to switch the router to wpa2psk/ CCMP (sometimes called AES) for security reasons, but this is unrelated).
But, my router is set to WPA/PSK with AES encryption:
I have not changed any router settings in 6 months. So, that's why I'm wondering about a bug in the driver.
I'll check the status as you suggested with wpa_cli and see what it says.
EDIT:
Here is what the wpa_supplicant console shows:
Code:
Selected interface 'wlan0'
Interactive mode
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
> status
<2>CTRL-EVENT-SCAN-RESULTS
> status<2>WPS-AP-AVAILABLE
> status<2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
> statuswpa_state=AUTHENTICATING
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
.... many repetitions
Here is the working /etc/network/interfaces:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
#allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid TRENDnet
wpa-psk ********
The key is correct -- I replaced it with asterisks to paste here.
This was after a new boot with the ethernet cable disconnected. It was necessary to issue "ifconfig wlan0 up" to bring up the device -- it was not automatically enabled. |
|
|
| |
|
|
|
 |
slh
|
|
Post subject:
Posted: 03.08.2011, 23:40
|
|

Joined: 2010-08-25
Posts: 585
Status: Offline
|
|
| For security reasons, I'd suggest to switch "WPA: WPA Mode" from "Auto (WPA or WPA2)" to just WPA2, but this is unrelated to your connectivity issues. The /etc/network/interfaces stanza appears to be correct, though - the wpa_cli log is a bit inconclusive though, other than that it doesn't manage to auth correctly. |
|
|
| |
|
|
|
 |
dibl
|
|
Post subject:
Posted: 04.08.2011, 14:18
|
|

Joined: 2010-09-12
Posts: 302
Location: Dayton, Ohio, USA
Status: Offline
|
|
|
slh wrote:
For security reasons, I'd suggest to switch "WPA: WPA Mode" from "Auto (WPA or WPA2)" to just WPA2
I will take this advice, and thank you.
However, today for experimental purposes, I disabled wireless security on my router, and I reconfigured /etc/network/interfaces and wpa_supplicant for pure roaming, as the aptosid manual shows it. (wpa-roam.conf is just the default file with line 30 uncommented.) After a reboot, I attempted to close the link with the Belkin device. Interesting result -- it still "fails authentication".
Code:
root@ambucsbox:/home/guest# ifconfig wlan0 up
root@ambucsbox:/home/guest# iw dev wlan0 scan
BSS 00:14:d1:c6:d9:b3 (on wlan0)
TSF: 761440368126 usec (8d, 19:30:40)
freq: 2462
beacon interval: 100
capability: ESS ShortPreamble ShortSlotTime (0x0421)
signal: -39.00 dBm
last seen: 199 ms ago
SSID: TRENDnet
Supported rates: 1.0* 2.0* 5.5* 11.0*
DS Parameter set: channel 11
ERP: <no flags>
Extended supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0
WMM: information: 01 00
HT capabilities:
Capabilities: 0x104e
HT20/HT40
SM Power Save disabled
RX HT40 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT RX MCS rate indexes supported: 0-15
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 11
* secondary channel offset: below
* STA channel width: any
* RIFS: 0
* HT protection: no
* non-GF present: 0
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
WPS: * Version: 1.0
* Wi-Fi Protected Setup State: 2 (Configured)
Code:
root@ambucsbox:/home/guest# iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:14:D1:C6:D9:B3
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=62/70 Signal level=-48 dBm
Encryption key:off
ESSID:"TRENDnet"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000b14cc82df7
Extra: Last beacon: 141ms ago
IE: Unknown: 00085452454E446E6574
IE: Unknown: 010482848B96
IE: Unknown: 03010B
IE: Unknown: 2A0100
IE: Unknown: 32088C129824B048606C
IE: Unknown: DD070050F202000100
IE: Unknown: DD1E00904C334E101FFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C340B070400000000000000000000000000000000000000
IE: Unknown: 2D1A4E101FFFFF000000000000000000000000000004000000000000
IE: Unknown: 3D160B070000000000000000000000000000000000000000
IE: Unknown: 050400010000
IE: Unknown: DD0E0050F204104A0001101044000102
Code:
root@ambucsbox:/home/guest# wpa_cli
wpa_cli v0.7.3
Copyright (c) 2004-2010, Jouni Malinen <j@w1.fi> and contributors
This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.
Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.
Selected interface 'wlan0'
Interactive mode
> status
wpa_state=AUTHENTICATING
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:23:6c:be:7c:43 (SSID='Tnet' freq=2412 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:23:6c:be:7c:43 (SSID='Tnet' freq=2412 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:23:6c:be:7c:43 (SSID='Tnet' freq=2412 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:23:6c:be:7c:43 (SSID='Tnet' freq=2412 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
<2>CTRL-EVENT-SCAN-RESULTS
> <2>WPS-AP-AVAILABLE
> <2>Trying to authenticate with 00:14:d1:c6:d9:b3 (SSID='TRENDnet' freq=2462 MHz)
.
. etc etc
So, there is some issue with the authentication that is not related to the actual router configuration or encryption, I think. |
|
|
| |
|
|
|
 |
slh
|
|
Post subject:
Posted: 04.08.2011, 17:47
|
|

Joined: 2010-08-25
Posts: 585
Status: Offline
|
|
| Could you please try wpasupplicant from testing, "apt-get install wpasupplicant/testing" - it 'may' be a side effect of d-i team's NMU which switched wpasupplicant to libnl3. |
|
|
| |
|
|
|
 |
|
|