Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange output of iwconfig
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
psdasilva
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 239

PostPosted: Sat May 29, 2010 4:14 pm    Post subject: Strange output of iwconfig Reply with quote

At a given point, a few months ago, iwconfig (no parameters) began give me the following (strange?) output:
Quote:

wlan0 IEEE 802.11abg ESSID:"XXXX"
Mode:Managed Frequency:2.412 GHz Access Point: XX:XX:XX:XX:XX:XX
Bit Rate=54 Mb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=69/70 Signal level=-41 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

It was supposed the quality showed xx/100 and that Encryption key showed something other than off, even for wpa2.
I am using k 2.6.33 (but this happened for 2.6.32 at least). Today I emerged linux-headers 2.6.33, glibc, last masked wireless-tools but I got the same output!

Besides this, the connection works fine, as expected.

Any help/comments?
Thanks
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54799
Location: 56N 3W

PostPosted: Sat May 29, 2010 4:27 pm    Post subject: Reply with quote

psdasilva,

Its either not associated or its associated with an unencrypted network,

Is the ESSID and ap MAC address (both which you have suppressed) your own ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
psdasilva
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 239

PostPosted: Sat May 29, 2010 5:15 pm    Post subject: Reply with quote

NeddySeagoon wrote:
psdasilva,

Its either not associated or its associated with an unencrypted network,

Is the ESSID and ap MAC address (both which you have suppressed) your own ?


As I said, everything is working fine. It is properly associated to my ESSID and correct MAC address.
Only the display of key and link quality is wrong.
I have a netbook with kubuntu, also using wireless-tools 30_pre9 (the same I have currently installed althoug the stable 29 has the same problem), that correcty shows the link quality xx/100 and key is not off!
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Sun May 30, 2010 11:06 am    Post subject: Reply with quote

which driver are you using?
Probably it is a problem of interaction between the new nl80211 stack and the old w_ext (iwconfig belongs to this one)
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun May 30, 2010 12:33 pm    Post subject: Reply with quote

Can you post this :
Code:

# ifconfig -a
# cat /etc/udev/rules.d/70-persistent-net.rules
Back to top
View user's profile Send private message
psdasilva
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 239

PostPosted: Sun May 30, 2010 6:38 pm    Post subject: Reply with quote

Here they are ... I ommited the addresses and other hexa numbers whose meanings I don't know because of eventual security reasons.
x1 and x2 match the addresses in "ifconfig" and "cat" respectively for eth0 and wlan0.

Quote:

eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:x1
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)
Interrupt:29

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2000 (1.9 KiB) TX bytes:2000 (1.9 KiB)

pan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

tunl0 Link encap:IPIP Tunnel HWaddr
NOARP MTU:1480 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:x2
inet addr:192.168.1.33 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4210 errors:0 dropped:0 overruns:0 frame:0
TX packets:4457 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2808119 (2.6 MiB) TX bytes:511785 (499.7 KiB)


Quote:

# This file was automatically generated by the /lib64/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0xyyyy:0xyyyy (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:x1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0xyyyy:0xyyyy (iwl3945)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:x2", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
Back to top
View user's profile Send private message
psdasilva
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 239

PostPosted: Sat Nov 06, 2010 3:52 pm    Post subject: Reply with quote

After all this time I am still having this problem!

Am I alone? Any help?

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum