On 03/19/2011 09:53 PM, Davide wrote:
Well it appears that the sys tree may be missing /sys/class/net/${1}/wireless 
(at least with kirkwood current kernel).
Most people would not notice this issue untill you try to get a wireless NIC to 
be correctly configures right after you plug it in.
Not sure if this is an architecture port issue, a kernel issue or a dockstar 
specific issue but I changed that function towork around the problem:

All I can report is that on a GuruPlug with the built in wireless (running as an access point), I have neither the /sys/class/net/wireless directory nor does it show up with your check using iwconfig

root@guruslack:/sys/class/net# l
total 0
lrwxrwxrwx 1 root root 0 Mar 22 15:48 eth0 -> ../../devices/platform/mv643xx_eth_port.0/net/eth0/ lrwxrwxrwx 1 root root 0 Mar 22 15:48 eth1 -> ../../devices/platform/mv643xx_eth_port.1/net/eth1/ lrwxrwxrwx 1 root root 0 Mar 22 15:48 eth2 -> ../../devices/platform/orion-ehci.0/usb1/1-1/1-1.2/1-1.2:1.0/net/eth2/
lrwxrwxrwx 1 root root 0 Mar 22 15:48 lo -> ../../devices/virtual/net/lo/
lrwxrwxrwx 1 root root 0 Mar 22 15:48 uap0 -> ../../devices/virtual/net/uap0/
root@guruslack:/sys/class/net# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

eth2      no wireless extensions.

uap0      no wireless extensions.

root@guruslack:/sys/class/net#

uap0 is the wireless device.

--
=== Never ask a geek why, just nod your head and slowly back away.===
+================================+==================================+
|  John O'Donnell                |                                  |
|  (Sr. Systems Engineer,        |    http://juanisan.homeip.net    |
|  Net Admin, Programmer, etc.)  |  E-Mail: [email protected]  |
+================================+==================================+
No man is useless who has a friend, and if we are loved we are
indispensable.  -- Robert Louis Stevenson
_______________________________________________
ARMedslack mailing list
[email protected]
http://lists.armedslack.org/mailman/listinfo/armedslack

Reply via email to