Explanation about drivers that I'm running on ubuntu lts

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=6115

egarim

17-01-2011 14:42:42

Hi I'm running Ubuntu 10.04.1 LTS with this card
0107.0 Network controller RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
Subsystem Giga-byte Technology Device e932
Flags bus master, slow devsel, latency 32, IRQ 19
Memory at f5004000 (32-bit, non-prefetchable)
Capabilities [40] Power Management version 2
Kernel driver in use rt2500pci
Kernel modules rt2500pci

Why my lspci -v said to me that I'm using rt2500pci driver if lsmod load also rt2x00pci

rt2500pci 13719 0
rt2x00pci 5995 1 rt2500pci
rt2x00lib 27509 2 rt2500pci,rt2x00pci
led_class 2864 1 rt2x00lib
mac80211 205402 2 rt2x00pci,rt2x00lib
cfg80211 126528 3 rndis_wlan,rt2x00lib,mac80211
eeprom_93cx6 1333 1 rt2500pci

I'm using rt2x00pci driver? Thanks for replies!

IvD

17-01-2011 16:44:46


rt2500pci 13719 0
rt2x00pci 5995 1 rt2500pci
rt2x00lib 27509 2 rt2500pci,rt2x00pci
led_class 2864 1 rt2x00lib
mac80211 205402 2 rt2x00pci,rt2x00lib
cfg80211 126528 3 rndis_wlan,rt2x00lib,mac80211
eeprom_93cx6 1333 1 rt2500pci
[/quote3rxq6om1]
The modules on the left are the modules which are loaded. The modules on the right, indicate which module depends on this module.

So you can see that rt2500pci depends on rt2x00pci, rt2x00lib and eeprom_93cx6.
So without rt2x00pci, you cannot use rt2500pci.

rt2x00pci is also used by the other PCI rt2x00 drivers (rt2400pci, rt61pci, rt2800pci).

egarim

17-01-2011 20:31:56

Thanks for reply! Ok perfect so I'm alredy using the rt2x00 driver... I'm trying to configure my wireless card in ad-hoc mode to share files with my macbook! My sample config is

iwconfig wlan0 down
iwconfig wlan0 essid wi-labs channel 7
iwconfig wlan0 mode Ad-Hoc
iwconfig wlan0 enc off
iwconfig wlan0 key off
iwconfig wlan0 rts 0ff
ifconfig wlan0 192.168.0.1 netmask 255.255.255.0 up

but from my macbook I can't see any ad-hoc wireless network. If I set up it from NetworkManager (Gnome utility) it works good but after 10 minutes idles it goes down and I can't connect... Any suggests? Regards.

IvD

17-01-2011 21:09:07

You probably need the latest driver version. Try compat-wireless from wireless.kernel.org.

egarim

17-01-2011 21:25:32

You probably need the latest driver version. Try compat-wireless from wireless.kernel.org.[/quote2fi4a06a]

Thanks for reply, but I still don't understand with gnome network manger works maybe I still miss some conf?
Anyway compat-wireless driver are simply newest?

Update
I installed compat-wireless-2011-01-17, now I can see the ad-hoc network on other clients but I can't associate with it. I completely disable gnome-network-manager.

Update2
I still can't connect in ad-hoc network... I set up the card
ifconfig wlan0 down
iwconfig wlan0 mode Ad-Hoc channel 4 essid 'pantarei'
ifconfig wlan0 192.168.2.1 netmask 255.255.255.0 up

I also try with key off|open but I can't still associate any client. Any suggests?
syslog -> Jan 18 233539 kernel [ 2052.798744] wlan0 No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)

Update3
I try today with ndiswrapper and it works great
iwconfig wlan0 mode ad-hoc essid 'wifi-labs' freq 2.417 rate 11M
ifconfig wlan0 192.168.66.1 netmask 255.255.255.0 up

wlan0 Available private ioctls
ndis_reset (8BF0) set 0 & get 0
power_profile (8BF1) set 1 int & get 0
deauthenticate (8BF3) set 0 & get 0
network_type (8BF2) set 1 char & get 0
media_stream (8BF4) set 1 int & get 0
reload_defaults (8BF7) set 0 & get 0

So finally is a driver problem? (I can't set power management off)