Adding a new wireless (rt3070sta) card to opensuse

How can I add a network card to Network Manager? I have installed a new usb dongle and iwconfig shows it, ifconfig -a shows it and iwlist shows my SSID.

Network manager just does not list it.

A side note:
It is weird if I use my old bulky Zonet (rt2870sta) on reboot it is wlan0 but if I plug in my new Edimax (rt3070sta) it will not show up unless I reboot with it and only it plugged in. Then I can plug in my Zonet again and they show up as ra0 and ra1.

Hi,

Can you post the result of :

lsusb
dmesg | grep firmware

I think you’re on to something when I boot with only my Zonet I grep formware requesting rt3070.bin, but when I boot with only the edimax it does not show anything.

I had to compile 3070 from ralink as my Zonet uses the 2870.

And the installation went well or not ?

ok I got my old Zonet up and running and here is what happens when I plug in the Edimax:

  301.476031] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=1)
  317.150191] ===>rt_ioctl_giwscan. 3(3) BSS returned, data->length = 503
  334.244041] usb 1-1: new high speed USB device using ehci_hcd and address 3
  334.377713] usb 1-1: New USB device found, idVendor=7392, idProduct=7722
  334.377718] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  334.377722] usb 1-1: Product: 802.11 n WLAN
  334.377725] usb 1-1: Manufacturer: Ralink
  334.377728] usb 1-1: SerialNumber: 1.0
  335.492946] rtusb init rt2870 --->
  335.492958] Error: Driver 'rt2870' is already registered, aborting...

So it doesn’t use the right driver… it is supposed to be the rt3070… weird. :open_mouth:

When I compiled 3070 I had to compile 2870 first according to some random post I found
The 3070 ralink driver also makes calls to the 2870 files

Ok, that’s beyond me now… maybe lwfinger can help you more than me on this, he is one of the guru here. :slight_smile:

yah he was helping me with my busted broadcom, hope he wants to help again

ok I uninstalled the 2 ralink drivers I downloaded and my Zonet still works, I then installed the rt3070 from the wireless driver repo and still got nothing, I did a modprobe rt3370 and it loaded but nothing shows up in ifconfig -a or iwconfig

On 03/11/2011 12:36 AM, psytropic wrote:
>
> ok I uninstalled the 2 ralink drivers I downloaded and my Zonet still
> works, I then installed the rt3070 from the wireless driver repo and
> still got nothing, I did a modprobe rt3370 and it loaded but nothing
> shows up in ifconfig -a or iwconfig

Back some time ago, ypu were asked to post the results of the lsusb command.
Please do so now in two circumstances:

(1) With the Zonet only plugged in.

(2) With the rt3070 plugged in.

Once we have that info, we will learn more.

With Zonet:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

With Edimax:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 7392:7722  
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

try the driver to enzokiel repo
Index of /repositories/home:/enzokiel
for me it’ok

On 03/11/2011 02:06 AM, psytropic wrote:
>
> With Zonet:
> Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp.
>
> With Edimax:
> Bus 001 Device 003: ID 7392:7722

Those two devices should not interfere.

There is some confusion about the Zonet device. That USB ID is claimed by both
the rt2870sta and rt2800usb drivers. As both are in the kernels associated with
11.3 and 11.4, I would suggest blacklisting one of them. My preference would be
to block rt2870sta as it is one of the “staging” drivers, which are generally of
lower quality.

The Edimax device does not have a driver in any kernel, thus you will need an
out of kernel driver.

If there still appears to be some interference, you need to unload the rt28XX
drivers before loading the Edimax driver. You can do this with


sudo /sbin/mobprobe -rv rt2870sta
sudo /sbin/modprobe -rv rt2800usb

If either one of those commands does not provide any output, that means the
driver was not loaded.

When you encounter any problems with a driver, it is important to look at the
material in the output of the dmesg command. There will be a lot of extraneous
stuff, so you may wish to send it through a pager with ‘dmesg | less’. If you
need help on less, see ‘man less’.

rt2800usb shows no output, and yes I use the 2870sta driver for the zonet. I will recompile the 3070 from ralink but I think I am missing a step that tells the driver to request firmware.

Ubuntu 9.10 + WUSB100v2 [Solved] - Page 2 - Linux Forums

I tried this but still not getting anywhere.

On 03/11/2011 12:06 PM, psytropic wrote:
>
> rt2800usb shows no output, and yes I use the 2870sta driver for the
> zonet. I will recompile the 3070 from ralink but I think I am missing a
> step that tells the driver to request firmware.

That is always built into the driver. The kernel support is there for all
standard kernels. Grep in the driver for a “request_firmware” call.

If you post the URL for the driver you are using, I’ll take a look at it.

The driver is located here:

RALINK SOFTWARE END USER LICENSE AGREEMENT

On 03/11/2011 01:06 PM, psytropic wrote:
>
> ‘Ubuntu 9.10 + WUSB100v2 [Solved] - Page 2 - Linux Forums’
> (http://tinyurl.com/4ufv5xn)
>
> I tried this but still not getting anywhere.

Concerning the download, the file extension “bz2” usually means that it was
compressed with bzip2, whereas that one was compressed with gzip. The usual
extension for that is “gz”. That is very sloppy.

A second thing I found is that the driver will not work for 64-bit systems.
There are lots of “assignment makes integer from pointer without a cast” and
“cast from pointer to integer of different size” warnings that are not trivial
and cannot be ignored.

The third thing is that the program wants the firmware to be in
/etc/Wireless/RT2870STA/e2p.bin, not in the usual place. In addition, the driver
uses non-standard firmware loading and it prints a “file not found” message that
does not mention firmware.