Why my wireless didn't work. (and maybe yours too) Also, hel

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Why my wireless didn't work. (and maybe yours too) Also, hel

Postby Fredzz » Sun Aug 19, 2007 20:51

Hi. Been using Sabayon for 2 weeks now. The only thing that did'nt work out of the box was the wireless adapter. I'm using a Sweex LW053 that uses the RT73 driver. The problem is that when i went to check with lsmod wich modules were loaded, i noticed:
rt2500usb
rt2x00usb
rt2x00lib
rt73usb
Whenever i tried to use ifconfig wlan0 up, the system would freeze or i couldn't scan for networks.

I had to rmmod all of those and compile the RT73 drivers from [url]rt2x00.serialmonkey.com/[/url] and then modprobe rt73.
Everything was working perfect.
Maybe if your wireless adapter doesn't work and uses the rt2500 or rt73 drivers, try to rmmod all of them and compile the drivers from serialmonkey. :lol:

Now i just need help blacklisting all of those drivers that come in the kernel. I tried once but I didn't succeed. Can anyone lead me the way to blacklist those modules so that i dont have to rmmod every time I boot?

Hope i could help someone and that someone helps me :D

Cheers.!
Fredzz
Baby Hen
 
Posts: 3
Joined: Fri Aug 17, 2007 20:00

Re: Why my wireless didn't work. (and maybe yours too) Also, hel

Postby freeallbadgers » Mon Aug 20, 2007 10:45

You didnt say how you tried to blacklist the modules, heres what I'd do....

nano /etc/modprobe.d/blacklist

Code: Select all
blacklist rt2500usb
etc etc all the modules you dont want loaded

also add the blacklist to /etc/modules.d/blacklist

then

Code: Select all
update-modules
“I just finished compiling glibc and now it says there is a new update available? Arrgh! It never ends!!”
User avatar
freeallbadgers
Growing Hen
 
Posts: 181
Joined: Sun Mar 11, 2007 8:12
Location: Glasgow, UK.

Re: Why my wireless didn't work. (and maybe yours too) Also, hel

Postby Fredzz » Mon Aug 20, 2007 12:25

+Thank you. I only had tried to add the modules to modprobe.d/blacklist. Nothing more. I'll give it a try, Thanks! :D
Fredzz
Baby Hen
 
Posts: 3
Joined: Fri Aug 17, 2007 20:00

Re: Why my wireless didn't work. (and maybe yours too) Also, hel

Postby freeallbadgers » Mon Aug 20, 2007 16:53

well, i got it working via ndiswrapper, unfortunately the legacy rt2x00 drivers kept failing to compile but here how i did it....

this is for the rt2500 pci version of this card

***NOTE***All commands should be run as root

nano /etc/modprobe.d/blacklist

add these lines

Code: Select all
blacklist rt2500pci
blacklist rt2x00pci
blacklist rt2x00lib
blacklist rc80211_simple
blacklist mac80211


nano /etc/modules.d/blacklist

add

Code: Select all
blacklist rt2500pci
blacklist rt2x00pci
blacklist rt2x00lib
blacklist rc80211_simple
blacklist mac80211


then run

Code: Select all
update-modules force


check to see if the modules are still loaded

Code: Select all
lsmod


if they are .....

Code: Select all
rmmod name of modules eg rmmod rt2500pci


obtain the window drivers files available at the ralink site if you don have them already.

Code: Select all
ndiswrapper -i /path/to/Rt2500.INF
make sure the rt2500.sys file is in there too

next

Code: Select all
ndiswrapper -m



then

Code: Select all
modprobe ndiswrapper


The card you now be designated wlan0 by the system, check by using ifconfig. If the card fails to show try ....

Code: Select all
ifconfig wlan0 up

that should bring it up.

Knetworkmanager actually works with this card now, a first for me

you might need to run ndiswrapper -mi or -ma (first time using ndiswrapper)

so thats it ... run dhcpcd wlan0, if you have any trouble obtaining an ip.
Last edited by freeallbadgers on Wed Oct 10, 2007 12:57, edited 2 times in total.
“I just finished compiling glibc and now it says there is a new update available? Arrgh! It never ends!!”
User avatar
freeallbadgers
Growing Hen
 
Posts: 181
Joined: Sun Mar 11, 2007 8:12
Location: Glasgow, UK.

Re: Why my wireless didn't work. (and maybe yours too) Also, hel

Postby fofo412 » Mon Aug 20, 2007 20:26

Baller.
User avatar
fofo412
Young Hen
 
Posts: 33
Joined: Thu Oct 27, 2005 21:58

Re: Why my wireless didn't work. (and maybe yours too) Also, hel

Postby freeallbadgers » Mon Aug 20, 2007 21:59

update..... seeing as i had a working connection via ndiswrapper, i decided to emerge the ralink drivers from portage

Code: Select all
emerge rt2500 (or what ever your chipset is)


net-wireless/rt2500
Latest version available: 1.1.0_pre2007071515
Latest version installed: 1.1.0_pre2007071515
Size of files: 247 kB
Homepage: http://rt2x00.serialmonkey.com
Description: Driver for the RaLink RT2500 wireless chipset
License: GPL-2


Code: Select all
depmod rt2500 -a && modprobe rt2500


now i can ditch ndiswrapper woo. The card works fine with these drivers , still designated wlan0 (doesnt work with knetworkmanager now, but thats no biggie)

weird thing tho at first i tried to install the rt2x00 drivers and got this error message

* Messages for package net-wireless/rt2x00-9999:

* rt2x00-9999 requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO).
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Once you have satisfied these options, please try merging
* this package again.
*
* ERROR: net-wireless/rt2x00-9999 failed.
* Call stack:
* ebuild.sh, line 1670: Called dyn_setup
* ebuild.sh, line 719: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* rt2x00-9999.ebuild, line 60: Called linux-mod_pkg_setup
* linux-mod.eclass, line 464: Called linux-info_pkg_setup
* linux-info.eclass, line 572: Called check_extra_config
* linux-info.eclass, line 471: Called die
*
* Incorrect kernel configuration options
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-wireless/rt2x00-9999/temp/build.log'.



Hope this helps.
“I just finished compiling glibc and now it says there is a new update available? Arrgh! It never ends!!”
User avatar
freeallbadgers
Growing Hen
 
Posts: 181
Joined: Sun Mar 11, 2007 8:12
Location: Glasgow, UK.

Re: Why my wireless didn't work. (and maybe yours too) Also, hel

Postby Lucidan » Wed Aug 22, 2007 10:25

* Checking for suitable kernel configuration options...
* CONFIG_NET_RADIO: is not set when it should be.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Once you have satisfied these options, please try merging
* this package again.

I get this error while trying to emerge rt2500. Strange, because CONFIG_NET_RADIO is enabled in the kernel. (I checked by viewing /usr/src/.config, it said CONFIG_NET_RADIO=y).

Any ideas? I prefer not having to use ndiswrapper.
Lucidan
Young Hen
 
Posts: 34
Joined: Thu Aug 16, 2007 15:19

Re: Why my wireless didn't work. (and maybe yours too) Also, hel

Postby cappa72 » Thu Aug 23, 2007 7:25

Hi!

I came from http://forum.sabayonlinux.org/viewtopic.php?p=55216%20topic .

Thank you for everybody for help, but I gave it up.
Nothing worked I read in the topics.

May the Force be with you.
Cappa
cappa72
Baby Hen
 
Posts: 4
Joined: Tue Mar 27, 2007 10:51
Location: HU


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 0 guests