WIFI USB ADAPTER

Hello All,

I’d like to do my WIFI USB Adapter work and i have some problems.

When i list my usb devices i have the message below.

[ 281.634914] usb 1-2.2: new high-speed USB device number 5 using ehci-omap
[ 281.768086] usb 1-2.2: New USB device found, idVendor=0bda, idProduct=8176
[ 281.776692] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 281.785132] usb 1-2.2: Product: 802.11n WLAN Adapter
[ 281.790305] usb 1-2.2: Manufacturer: Realtek
[ 281.795759] usb 1-2.2: SerialNumber: 00e04c000001

When i tried to turn my wlan on i got the following message:

[root@beagleboard-xm ~]# ifconfig wlan0 up
ifconfig: SIOCGIFFLAGS: No such device

Could anyone help me how to do to it work ?

What does i need to add in Kernel or packages to it work ?

Thanks !!

Best Regards

Eduardo Gorio
(www.gorio.eng.br)

What does ifconfig -a show. It might not be wlan0.

[root@beagleboard-xm ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 8E:15:5F:B0:BF:E3
BROADCAST MULTICAST MTU:1488 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)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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)

usb0 Link encap:Ethernet HWaddr 5A:97:62:4E:CA:55
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)

Atenciosamente

Eduardo Gorio
(www.gorio.eng.br)

2012/9/25 Philip Polstra <ppolstra@gmail.com>

Which os are you running and what wifi adapter?

I’m trying to do a custom distro.

I followed this post http://blog.galemin.com/2011/06/buildroot-2011-05-all-in-one-for-beagleboard-xm/ with a minimum config, but i added all device drivers on Kernel and some wifi utils packages on buildroot.

My WIFI USB Adapter is ELEMENT (NE-WN720)

Atenciosamente

Eduardo Gorio
(www.gorio.eng.br)

2012/9/25 Philip Polstra <ppolstra@gmail.com>

I’m a total noob:) but isn’t it that usb0?
You can check by MAC address when you connect that adapter into your host machine.

W dniu wtorek, 25 września 2012 14:14:44 UTC+2 użytkownik gorio napisał:

I think the usb0 is normally for networking via the USB OTG port. At least on all the distros I am running.

Are you sure your adapter is supported? You need to make sure that you have the firmware for your chipset. I have used all the Alfa devices with no problems on my BB-xM systems and have even used generic adapters that work well. I have heard of some issues with a few of the Realtek chips even though that is what is in most adapters including the Alfas.

OK.

I’ll try to check this info with ELEMENT and try with others adapters.

Thank you guys

Atenciosamente

Eduardo Gorio
(www.gorio.eng.br)

2012/9/25 Philip Polstra <ppolstra@gmail.com>

You installed the firmware for this realtek device?

Regards,

I don’t have the firmware.

I just added device drivers on Kernel (like RTL8192CU and others about WIFI).

Do you know where can i get the firmware for it ?

Atenciosamente

Eduardo Gorio
(www.gorio.eng.br)

2012/9/25 Robert Nelson <robertcnelson@gmail.com>

http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=tree;f=rtlwifi;hb=HEAD

Regards,

What Robert said! If you don't have the firmware installed this is
definitely a problem. If you check dmesg you will likely see messages
related to not being able to load the firmware.

Ok guys,

May i know how to add these firmware’s ? Sorry about this, but i don’t know how to do it.

Thanks for your patience and help

Atenciosamente

Eduardo Gorio
(www.gorio.eng.br)

2012/9/25 Philip Polstra <ppolstra@gmail.com>

Download the firmware to the appropriate place. Then you will likely have to use the modprobe command to load the module containing the firmware into the kernel. You can use Google or “man modprobe” to find out more about its use. You might also look at places like http://linuxwireless.org/ for more information on how to do wifi in Linux.

Really easy way: (you'll have to be root)

mkdir -p /lib/firmware
git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
/lib/firmware

Regards,

I did it Robert, but i didn’t see wlan0 when typed ifconfig -a

[root@beagleboard-xm ~]# [ 17.138288] usb 1-2.2: new high-speed USB device number 4 using ehci-omap
[ 17.271354] usb 1-2.2: New USB device found, idVendor=0bda, idProduct=8176
[ 17.279884] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 17.287500] usb 1-2.2: Product: 802.11n WLAN Adapter
[ 17.293820] usb 1-2.2: Manufacturer: Realtek
[ 17.298987] usb 1-2.2: SerialNumber: 00e04c000001

dmesg

[ 17.138288] usb 1-2.2: new high-speed USB device number 4 using ehci-omap
[ 17.158362] hub 1-2:1.0: port 2 not reset yet, waiting 10ms
[ 17.269893] usb 1-2.2: default language 0x0409
[ 17.271327] usb 1-2.2: udev 4, busnum 1, minor = 3
[ 17.271354] usb 1-2.2: New USB device found, idVendor=0bda, idProduct=8176
[ 17.279884] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 17.287500] usb 1-2.2: Product: 802.11n WLAN Adapter
[ 17.293820] usb 1-2.2: Manufacturer: Realtek
[ 17.298987] usb 1-2.2: SerialNumber: 00e04c000001
[ 17.305562] usb 1-2.2: usb_probe_device
[ 17.305599] usb 1-2.2: configuration #1 chosen from 1 choice
[ 17.306071] usb 1-2.2: adding 1-2.2:1.0 (config #1, interface 0)
[ 17.307251] usbtest 1-2.2:1.0: usb_probe_interface
[ 17.307284] usbtest 1-2.2:1.0: usb_probe_interface - got id
[ 17.312220] drivers/usb/core/inode.c: creating file ‘004’
[root@beagleboard-xm ~]#

Atenciosamente

Eduardo Gorio
(www.gorio.eng.br)

2012/9/25 Robert Nelson <robertcnelson@gmail.com>