Compiling driver

Silver-0-surfer

Well-Known Member
Joined
Jan 5, 2008
Messages
317
Reaction score
7
Location
CPT
hi again.

so my Ubuntu seems stable now but for some reason I cannot install a wireless card driver.

this are the steps I took to compile it

$ make
$ sudo make install
$ sudo modprobe RT73usb

then it comes up and says

"WARNING: All config files need .conf: /etc/modprobe.d/ralink, it will be ignored in a future release."

I don't really know a lot about Linux but this all worked fine in Feisty and Gutsy, I did some googling and aparentley there might be a bug but its status is "fixed"....so is there something I need to do to make it work on my PC?
 
What is the wireless card you are trying to get working and what is the guide you are following?
 
its a wireless USB WUSB54GC

RT73 chipset

the guide is one that I found on the aircrack-ng website, it allows my card to be put into monitor mode.
 
Are you running Intrepid?

what is the output of sudo lsusb

what is the output of sudo lsmod

I ask because the it is possible that because you had to compile in hardy and feisty, doesn't mean you have to if you are running intrepid.
 
sudo lsusb

Bus 001 Device 007: ID 13b1:0020 Linksys WUSB54GC 802.11g Adapter [ralink rt73]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 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 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

sudo lsmod

Module Size Used by
aes_i586 15744 1
aes_generic 35880 1 aes_i586
binfmt_misc 16776 1
bridge 56340 0
stp 10500 1 bridge
bnep 20224 2
input_polldev 11912 0
video 25360 0
output 11008 1 video
lp 17156 0
rt73 225408 0
arc4 9856 2
ecb 10752 2
snd_via82xx 32152 4
gameport 19340 1 snd_via82xx
snd_ac97_codec 112292 1 snd_via82xx
ac97_bus 9856 1 snd_ac97_codec
snd_pcm_oss 46336 0
snd_mixer_oss 22656 1 snd_pcm_oss
snd_pcm 82948 4 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 16904 2 snd_via82xx,snd_pcm
snd_mpu401_uart 15104 1 snd_via82xx
rt73usb 33412 0
crc_itu_t 10112 1 rt73usb
snd_seq_dummy 10756 0
rt2x00usb 18688 1 rt73usb
nvidia 7097928 38
snd_seq_oss 37760 0
amd64_agp 18184 1
snd_seq_midi 14336 0
snd_rawmidi 29696 2 snd_mpu401_uart,snd_seq_midi
psmouse 61972 0
ppdev 15620 0
rt2x00lib 37888 2 rt73usb,rt2x00usb
i2c_viapro 15892 0
k8temp 12416 0
agpgart 42696 2 nvidia,amd64_agp
shpchp 40212 0
snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi
snd_seq 56880 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 29704 2 snd_pcm,snd_seq
snd_seq_device 14988 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
pcspkr 10496 0
serio_raw 13316 0
parport_pc 40100 1
parport 42220 3 lp,ppdev,parport_pc
led_class 12036 1 rt2x00lib
snd 62628 18 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 15200 1 snd
mac80211 217208 2 rt2x00usb,rt2x00lib
cfg80211 38032 2 rt2x00lib,mac80211
usbhid 42336 0
via_rhine 30856 0
mii 13312 1 via_rhine
floppy 64324 0
fbcon 46112 0
tileblit 10752 1 fbcon
font 16384 1 fbcon
bitblit 13824 1 fbcon
softcursor 9984 1 bitblit

I noticed when I did it on gutsy and feisty my cards name changed from wlan0 to rausb0 but not happening now
 
Well the module is loaded so there is no need to try install it again.

so you are seeing wlan0 when you do an ifconfig?
 
yes and it won't allow me to put my card into monitor mode so its definitely not the right driver.

Don’t get me wrong the card works fine as is, but this driver is “special” so, correct me if I’m wrong, but I think the normal rt73 driver is installed and that’s fine but my patched driver needs to be installed or modprobed but it isn’t…argh
 
did you do an sudo rmmod rt73usb first? Are you also sure that the RT part in your op should be in capitals?

EDIT: i am unfamiliar with your wireless so really can't help much more with respect of the monitor mode you mention.
 
sorry about the typo i type "rt73"

heres the link for the tutorial to set it up
http://www.aircrack-ng.org/doku.php?id=rt73

it does say something about blacklisting mac80211
but as I have never had to do that before i don't know if that was the case this time.

do you know if my kernel is mac80211 or is it ieee80211?
kernel 2.6.2-11-generic
 
your lsmod shows
Code:
mac80211 217208 2 rt2x00usb,rt2x00lib
cfg80211 38032 2 rt2x00lib,mac80211
 
Top
Sign up to the MyBroadband newsletter
X