Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having problems getting the wireless network working.
I found out it is tricky.
I'm new to Linux.
Tried it before but gave up but now im just sick of running XP on a old computer.
it is not a problem detecting the usb himself because it did detect my disk on key.
I am speaking of TP-LINK TL-WN321G wireless usb network adapter.
running Linux ubuntu 9.X with dual boot to windows (that im running as we speak because i don't have any Internet on the Linux boot).
Thanks in advance.
P.S
As i said im a Linux newbie so keep in mind you need to write every small step. it was even hard for me getting the guide i was talking about working.
Hi, from what I've found out you're trying to use the wrong driver, your card apparently usually comes with a rt73usb chip, so the rt73usb driver is to be used... (you may post the output of lsusb here to confirm that).
Since you're using the newest Ubuntu, and the opensource drivers have already been available there for quite a long time, I suggest you use them. ("modprobe rt73usb"; if that doesn't work, look for rt2x00 in the package manager).
With the rt73 chip, you also need firmware to be loaded, to do that, just take the rt73.bin from the install CD and place it into /lib/firmware/ . (a separate package for this may exist though, so be sure to check the package manager first).
to see if you only need the firmware, check 'dmesg | grep rt2x' ; if you get any output, it means that the driver is trying to load, but can't initialize the device.Serafean
ido@ido-desktop:~$ lsusb
Bus 001 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 04d9:1603 Holtek Semiconductor, Inc.
Bus 004 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 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
ido@ido-desktop:~$ modprobe rt73usb
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
WARNING: Error inserting mac80211 (/lib/modules/2.6.28-11-generic/kernel/net/mac80211/mac80211.ko): Operation not permitted
WARNING: Error inserting led_class (/lib/modules/2.6.28-11-generic/kernel/drivers/leds/led-class.ko): Operation not permitted
WARNING: Error inserting rt2x00lib (/lib/modules/2.6.28-11-generic/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko): Operation not permitted
WARNING: Error inserting rt2x00usb (/lib/modules/2.6.28-11-generic/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko): Operation not permitted
WARNING: Error inserting crc_itu_t (/lib/modules/2.6.28-11-generic/kernel/lib/crc-itu-t.ko): Operation not permitted
FATAL: Error inserting rt73usb (/lib/modules/2.6.28-11-generic/kernel/drivers/net/wireless/rt2x00/rt73usb.ko): Operation not permitted
ido@ido-desktop:~$
ido@ido-desktop:~$ modprobe rt2501usb
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
FATAL: Module rt2501usb not found.
ido@ido-desktop:~$ modprobe rt25001usb
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
FATAL: Module rt25001usb not found.
ido@ido-desktop:~$ modprobe rt2500usb
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
WARNING: Error inserting mac80211 (/lib/modules/2.6.28-11-generic/kernel/net/mac80211/mac80211.ko): Operation not permitted
WARNING: Error inserting led_class (/lib/modules/2.6.28-11-generic/kernel/drivers/leds/led-class.ko): Operation not permitted
WARNING: Error inserting rt2x00lib (/lib/modules/2.6.28-11-generic/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko): Operation not permitted
WARNING: Error inserting rt2x00usb (/lib/modules/2.6.28-11-generic/kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko): Operation not permitted
FATAL: Error inserting rt2500usb (/lib/modules/2.6.28-11-generic/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko): Operation not permitted
ido@ido-desktop:~$ dmesg | grep rt2x
ido@ido-desktop:~$
thats what i tried.
didn't found anything on disc. if you tell me where it would be great.
and please keep in ind im a newbe. i can't realty get what you told me to do.
Hi, sorry if I wasn't clear...
1st : my mistake, I forgot to mention that you have to run modprobe as root, ie : "sudo modprobe rt73usb"
2nd : all software is managed by a package manager, in ubuntu's case, Aptitude, what I was suggesting is that you use it to look for the rt2x00 drivers (which you already have, as modprobe found the files) and the firmware (which you probably don't have).
In order for you to get the firmware, I suggested you look on the CD that came with your card for a file named rt73.bin, and copy this file (as root) to the /lib/firmware directory. The firmware is of course available on the Ralink site with their drivers.
thank you for clearing that up!
Tryed it, and i have some questions
first i did the "sudo modprobe rt73usb"
and got
Quote:
ido@ido-desktop:~$ sudo modprobe rt73usb
[sudo] password for ido:
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
what does the warning mean?
i found out my package manger is called synaptic not aptitude.
anyway, i downloaded the driver using the link you gave me.
and found out i dont have access/authority.
as i heard (and if its true you probably know) ubuntu has no root.
I don't know how to change the freaking files!
if you mind spitting it out for me it would be great.
Hi, sorry for misleading you with the package manager, aptitude is the command line version...
Ubuntu does have root disabled, but a normal user can gain root acces using the "sudo" command. ie : "sudo modprobe rt73usb" in plain english is "get root access, run modprobe rt73usb (=load the rt73usb module), close root access.
To get full time root access in a terminal, run "sudo -s".
Quote:
and found out i dont have access/authority.
Access to what? to copying rt73.bin to /etc/firmware? "sudo cp /path/to/rt73.bin /etc/firmware"
Also, now that you have rt73usb loaded, check dmesg if its looking for firmware... (enter dmesg in a terminal, and look for anything related to rt2x00 that mentions firmware; if you modprobed manually, it should be near the end, the same applies if you plugged in the dongle after boot was finished)
To modify files your normal user doesn't have access to, use a console text editor (for example nano) run as root, for example : "sudo nano /etc/modprobe.conf"
PS : i was looking around for the warning, from what I've gathered it's nothing more than a .conf file migration step... nothing to worry about.
Really sorry about that, please believe that it wasn't my intention at any point. Its me who should thank you, for giving me a good opportunity to make myself a little list of things I shouldn't assume all people know... And that most people prefer not to be in console mode... :-D
Anyway, I'm glad you're up and running...
I am also in need of your expertise. I have the exact same USB Wireless adapter (TL-WN321G USB) and I am running Ubuntu 8.10 Intrepid. When I start the OS (or boot from the live cd) I am able to connect to my wireless network (WPA TKIP Secured) using the default drivers. However, the connection is barely usable, and I experience top speeds of about 800 bytes/s. I tried using NDISWrapper to install the provided Win32 drivers, but this didn't seem to solve the problem (I'm not sure whether or not I correctly blacklisted all the previous drivers, is there a way to determine this?) I'm not sure what I should do now to rectify this problem, any help would be appreciated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.