Bus 004 Device 002: ID 0b05:1742 ASUSTek Computer, Inc. 802.11n Network Adapter
Opensuse installed automatically and loads the module
rt2870sta
at every boot. The problem is i can`t find any configuration file to configure the wireless card.
I tried to add this wireless card through Network Settings in Yast but no luck.
Can anybody tell me how to add this card with network settings?
I selected Add the Wireless, in the module name section i enter the module name rt2870sta and check the usb checkbox and when i reboot there is no card there.
(1) The first thing is to learn how to use the command-line interface in a terminal.
then
(2) Determine what device you have.
(a) If it is a USB adapter, you should enter the command ‘/usr/bin/lsusb’ in a terminal and you will see output that looks like:
so
/usr/bin/lsusb
then
(3) Once you know what your hardware is, the next step is to see what the kernel has to say about it. The command for this is ‘dmesg | less’
so
dmesg | less
lots of information there
As you go through the dmesg output,look for any mention of your hardware
then
In particular, you should look for any lines that indicate that you are missing firmware. Note that firmware, which runs on the microprocessor in the device, is distinct from a driver, which runs on the host CPU. If you have missing firmware, check online to learn how to install firmware for your device.
see how all that goes; let the forum know
acknowledgement: all the quotes are obviously from lwfinger’s howto
and it looks like you may be headed in this direction;
thx guys. I found very useful those links specially this.
I am not sure about one thing…in that tutorial it says
Now that the driver has been successfully built, copy the newly created kernel driver file rt2870sta.ko which you will find in the os/linux directory of your unzipped download file to /lib/modules/{your kernel}-default/other. Create the ‘other’ directory if needed.
the problem is a i have
$ uname -r
2.6.27.19-3.2-pae
and there said “-default”. So i have to create the folder ‘other’ in the 2.6.27.19-3.2-default or 2.6.27.19-3.2-pae ?
The module will be the same you just compiled (or to be precise, it will be a version which has already been worked on, the last release from Ralink os several months old).
After plugging in the device, hwat is the output of iwconfig?
In the README file from the latest driver 2.1 said:
Features:
This driver implements basic IEEE802.11. Infrastructure and adhoc mode with
open or shared or WPA-PSK or WPA2-PSK authentication method.
NONE, WEP, TKIP and AES encryption.
so is has support, but i`m not sure if this version that i have 1.4 has.
At this moment my laptop is not here to test the scan. Maybe i did not make my self clear, i want to create an ad-hoc mode session (computer to computer : my desktop and my laptop) then from the desktop i want to create a bridge connection from my wireless card and ethernet card (where the internet is comming). I did this on windows xp for a test and is working. That`s why i need to add the wireless card in yast because from there is easy to create a bridge connection.
I will install the latest driver later. I will post for the current running driver.
The content for the “/etc/udev/rules.d/70-persistent-net.rules” is
# This file was automatically generated by the /lib/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.
# PCI device 0x11ab:0x4364 (sky2)
# PCI device 0x10ec:0x8167 (r8169)
# This file was automatically generated by the /lib/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.
# PCI device 0x11ab:0x4364 (sky2)
# PCI device 0x10ec:0x8167 (r8169)
# This file was automatically generated by the /lib/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.
# PCI device 0x11ab:0x4364 (sky2)
# PCI device 0x10ec:0x8167 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1f:c6:2d:e4:56", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1f:c6:2d:e4:55", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
and for “/etc/udev/rules.d/79-yast-drivers.rules” it isn`t only “/etc/udev/rules.d/79-yast2-drivers.rules” that is empty.
Ok. First i run the command the unload the module and then load back the module. Here is the output:
Mar 26 21:36:20 DarkStar kernel: ALSA /usr/src/packages/BUILD/alsa-driver/usb/usbaudio.c:1310: 2:2:1: cannot get freq at ep 0x84
Mar 26 21:36:20 DarkStar kernel: ALSA /usr/src/packages/BUILD/alsa-driver/usb/usbaudio.c:1310: 2:2:1: cannot get freq at ep 0x84
Mar 26 21:36:20 DarkStar kernel: ALSA /usr/src/packages/BUILD/alsa-driver/usb/usbaudio.c:1310: 2:2:1: cannot get freq at ep 0x84
Mar 26 21:36:20 DarkStar kernel: ALSA /usr/src/packages/BUILD/alsa-driver/usb/usbaudio.c:1310: 2:2:1: cannot get freq at ep 0x84
Mar 26 21:36:20 DarkStar kernel: ALSA /usr/src/packages/BUILD/alsa-driver/usb/usbaudio.c:1310: 2:2:1: cannot get freq at ep 0x84
Mar 26 21:36:20 DarkStar kernel: ALSA /usr/src/packages/BUILD/alsa-driver/usb/usbaudio.c:1310: 2:2:1: cannot get freq at ep 0x84
Mar 26 21:36:20 DarkStar kernel: ALSA /usr/src/packages/BUILD/alsa-driver/usb/usbaudio.c:1310: 2:2:1: cannot get freq at ep 0x84
Mar 26 21:36:20 DarkStar kernel: ALSA /usr/src/packages/BUILD/alsa-driver/usb/usbaudio.c:1310: 2:2:1: cannot get freq at ep 0x84
Mar 26 21:47:11 DarkStar smartd[4553]: Device: /dev/sda [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 66 to 69
Mar 26 21:47:11 DarkStar smartd[4553]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 116 to 119
Mar 26 21:48:06 DarkStar su: (to root) calin on /dev/pts/3
Mar 26 21:48:16 DarkStar kernel: usbcore: deregistering interface driver rt2870
Mar 26 21:48:16 DarkStar kernel: rtusb_disconnect: unregister usbnet usb-0000:00:1a.7-3
Mar 26 21:48:16 DarkStar kernel: rtusb_disconnect: unregister_netdev(), dev->name=ra0!
Mar 26 21:48:16 DarkStar vmnetBridge: RTM_DELLINK: name:ra0 index:3 flags:0x00001002
Mar 26 21:48:16 DarkStar vmnetBridge: Can't remove interface ra0 3 (does not exist).
Mar 26 21:48:16 DarkStar kernel: RTUSB disconnect successfully
Mar 26 21:48:16 DarkStar kernel: <--- rtusb exit
Mar 26 21:48:17 DarkStar ifdown: ra0
Mar 26 21:48:17 DarkStar ifdown: Interface not available and no configuration found.
Mar 26 21:48:36 DarkStar kernel: rt2870sta: module is from the staging directory, the quality is unknown, you have been warned.
Mar 26 21:48:36 DarkStar kernel: rtusb init --->
Mar 26 21:48:36 DarkStar kernel:
Mar 26 21:48:36 DarkStar kernel:
Mar 26 21:48:36 DarkStar kernel: === pAd = f9436000, size = 567076 ===
Mar 26 21:48:36 DarkStar kernel:
Mar 26 21:48:36 DarkStar kernel: <-- RTMPAllocAdapterBlock, Status=0
Mar 26 21:48:36 DarkStar kernel: usbcore: registered new interface driver rt2870
Mar 26 21:48:36 DarkStar vmnetBridge: RTM_NEWLINK: name:ra0 index:7 flags:0x00001002
Mar 26 21:48:36 DarkStar vmnetBridge: Can't remove interface ra0 7 (does not exist).
Mar 26 21:48:36 DarkStar ifup: ra0
Mar 26 21:48:36 DarkStar ifup: No configuration found for ra0
I don`t load the module manually every time (if this is what you mean), i did it now (load and unload the module manully) to see the output, the module load automatically at boot.
This is the output from the hwinfo --usb for the wireless
11: USB 00.0: 0000 Unclassified device
[Created at usb.122]
UDI: /org/freedesktop/Hal/devices/usb_device_b05_1742_1_0_if0
Unique ID: HpcW.U3_jZucdYR2
Parent ID: zPk0.cO89g+iefn1
SysFS ID: /devices/pci0000:00/0000:00:1a.7/usb4/4-3/4-3:1.0
SysFS BusID: 4-3:1.0
Hardware Class: unknown
Model: "ASUSTek 802.11 n WLAN"
Hotplug: USB
Vendor: usb 0x0b05 "ASUSTek Computer, Inc."
Device: usb 0x1742 "802.11 n WLAN"
Revision: "1.01"
Serial ID: "1.0"
Driver: "rt2870"
Driver Modules: "rt2870sta"
Speed: 480 Mbps
Module Alias: "usb:v0B05p1742d0101dc00dsc00dp00icFFiscFFipFF"
Driver Info #0:
Driver Status: rt2870sta is active
Driver Activation Cmd: "modprobe rt2870sta"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #8 (Hub)