LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 12-30-2004, 09:09 AM   #1
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Rep: Reputation: 15
plz help!, cant get mi wireless card working


hey folks, first of all, im using Gentoo on a toshiba satellite, i have an Xterasys wireless card, with realtek chipset. Any way i have tried to configure ndiswrapper thousends of times an everithing goes ok...
Code:
 ndiswrapper -l 
Installed ndis drivers: 
net8180 driver present, hardware present
i modprobe, and everything goes ok, then next step:
Code:
 /sbin/iwconfig wlan0 mode Managed 
-bash: /sbin/iwconfig: No such file or directory
Any ideas?, i'll really apreciate any help, cos i have alredy like a month tring mi card to work, and if i can't make it work in short time, i'll have to return to windows
Any help will be apreciated
 
Old 12-30-2004, 09:43 AM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Looks like the wireless tools package is not installed.

Install that and try again.
 
Old 12-30-2004, 11:01 AM   #3
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Original Poster
Rep: Reputation: 15
ok i reintall wireless tools, and realize that is not
"sbin/iwconfig", it is "/usr/sbin/iwconfig" so now i have the directory
but the problem is other now, i dont have wlan0
Code:
 iwconfig
 lo        no wireless extensions.
 sit0      no wireless extensions.
 eth0      no wireless extensions.
so when i :
Code:
/usr/sbin/iwconfig wlan0 mode Managed 
Error for wireless request "Set Mode" (8B06) :    
 SET failed on device wlan0 ; No such device.
if i use the eth0:
Code:
/usr/sbin/iwconfig eth0 mode Managed 
Error for wireless request "Set Mode" (8B06) :    
 SET failed on device eth0 ; Operation not supported.
if i use sit0 :
Code:
/usr/sbin/iwconfig sit0 mode Managed 
Error for wireless request "Set Mode" (8B06) :  
  SET failed on device sit0 ; Invalid argument.
Any idea?, any help will be apreciated
 
Old 12-30-2004, 11:05 AM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
The driver is not loaded.

modprobe ndiswrapper again and list the loaded modules:
lsmod
 
Old 12-30-2004, 11:19 AM   #5
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Original Poster
Rep: Reputation: 15
i modprobe ndiswrapper, then typed lsmod:
Code:
lsmod 
Module                  Size  Used by    Tainted: P 
ndiswrapper            90220   1
agpgart                35768   3  (autoclean) 
sg                     31356   0  (autoclean) (unused)
st                     27256   0  (autoclean) (unused) 
sr_mod                 14616   0  (autoclean) (unused)
sd_mod                 11788   0  (autoclean) (unused) 
scsi_mod               88164   4  (autoclean) [sg st sr_mod sd_mod]
snd-intel8x0           18636   1  (initializing)
snd-ac97-codec         48592   0  [snd-intel8x0] 
gameport                1388   0  [snd-intel8x0] 
snd-mpu401-uart         3264   0  [snd-intel8x0] 
snd-rawmidi            13380   0  [snd-mpu401-uart] 
rtl8180_24x           235116   1  (initializing) 
ds                      6580   2 
yenta_socket           10240   2 
pcmcia_core            42564   0  [ds yenta_socket] 
snd-pcm-oss            36520   0  (unused) 
snd-pcm                55880   0  [snd-intel8x0 snd-pcm-oss] 
snd-mixer-oss          12184   0  [snd-pcm-oss] 
snd-seq-oss            26080   0  (unused) 
snd-seq-midi-event      3456   0  [snd-seq-oss] 
snd-seq                34864   2  [snd-seq-oss snd-seq-midi-event] 
snd-timer              14596   0  [snd-pcm snd-seq] 
snd-seq-device          3744   0  [snd-rawmidi snd-seq-oss snd-seq] 
snd                    32196   0  [snd-intel8x0 snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-pcm-oss snd-pcm snd-mixer-oss snd-seq-oss snd-seq-midi-event snd-seq snd-timer snd-seq-device]
snd-page-alloc          4716   0  [snd-intel8x0 snd-rawmidi snd-pcm snd-mixer-oss snd-seq-oss snd-seq snd-timer snd-seq-device snd] 
soundcore               3588   2  [snd] 
8139too                14824   1 
mii                     2240   0  [8139too] 
nvidia               1966176   6 
ohci1394               28720   0  (unused) 
ieee1394              181316   0  [ohci1394] 
input                   3264   0  (unused) 
uhci                   25276   0  (unused) 
ehci-hcd               17836   0  (unused) 
usbcore                58156   1  [ndiswrapper uhci ehci-hcd]
druida root #
At the top is ndiswrapper, so i think the module is corrent isn't it?, but im still not having wlan0, any idea?
 
Old 12-30-2004, 11:28 AM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
This line seems to indicate that it's trying to do something:
rtl8180_24x 235116 1 (initializing)

I assume you have the proper Windows driver and the ndiswrapper is finding it, or you'd be seeing errors.

Check /var/log/messages to see what's happening with the RTL driver, maybe.
 
Old 12-30-2004, 11:33 AM   #7
NiravKapadia
LQ Newbie
 
Registered: Dec 2004
Location: NJ
Distribution: Fedora Core 3
Posts: 1

Rep: Reputation: 0
try ifup wlan0
and then you have to set all wireless parameters like SSID, channel and key, i guess its iwconfig and you can set all parameters and test you card
 
Old 12-30-2004, 11:45 AM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
You don't have a wlan0 until you run the ndiswrapper -m command. This modifies your /etc/modprobe.conf file to conatin the line alias wlan0 ndiswrapper. However, sometimes the ndiswrapper -m command fails and you'll need to edit modprobe.conf by hand.
 
Old 12-30-2004, 11:56 AM   #9
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Original Poster
Rep: Reputation: 15
first off all, thanks to all for helping.
Now, for 2gnu:
Code:
/var/log/messages 
-bash: /var/log/messages: No such file or directory
Im using gentoo, is it possible that for gento is other the directory?, im just taking a wild guest.
for NiravKapadia:
Code:
ifup wlan0
 -bash: ifup: command not found
well i dont have the comand, i should have it for default? or i have to install something?
For hangdog42:
Code:
ndiswrapper -m
 Adding "alias wlan0 ndiswrapper" to /etc/modules.conf depmod: 
*** Unresolved symbols in /lib/modules/2.4.26-gentoo-r9/kernel/drivers/media/radio/miropcm20.o depmod: 
*** Unresolved symbols in /lib/modules/2.4.26-gentoo-r9/kernel/drivers/scsi/sata_sil.o depmod:
*** Unresolved symbols in /lib/modules/2.4.26-gentoo-r9/kernel/drivers/scsi/sata_svw.o depmod: 
*** Unresolved symbols in /lib/modules/2.4.26-gentoo-r9/kernel/drivers/scsi/sata_via.o
What does this mean?, well evidently an error, bur what shoul i do, fix the "unresolverd symbols" or wirte the modprobe.conf by hand?. In any of the cases can u tell me how to do it?, im sorry but im really new to linux and im not so smart.
Any help will be apreciated
 
Old 12-30-2004, 12:06 PM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Well, since you appear to be using a 2.4 series kernel, modules.conf is the file that needs to be modified and it looks as if ndiswrapper -m did that. The modprobe.conf file is used in place of modules.conf when a 2.6 series kernel is used.

I'm assuming you're using a stock kernel, so I'm a little confused by the unresolved symbols. That usually happens when you haven't configured a kernel quite right. However, none of those errors look like they have anything to do with a wireless card. The sata errors could be a problem if you have a SATA hard disk drive and I have no idea what to make of the radio entry.

At any rate, first check your /etc/modules.conf file and make sure the ndiswrapper line is there. Then try removing then reloading the ndiswrapper module and see if that doesn't show you wlan0 in iwconfig.
 
Old 12-30-2004, 12:24 PM   #11
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Original Poster
Rep: Reputation: 15
well i check the "/etc/modules.conf" and i search as many times as i could even use the "where is" and i couldn't find wlan0 or ndiswrapper, so aparently thats why i dont have my wlan0. You said something about edit it by hand. Sure, but how?, i mean where do i have to put alias wlan0 ndiswrapper?
if u can plz give an detailed explanation
 
Old 12-30-2004, 01:37 PM   #12
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Well, you can edit it with pretty much any text editor. Gedit, Kedit, Kate, pico, vi......anything that can read and save text. As for where, I usually add things to the end of the file, and all you need to add is alias wlan0 ndiswrapper and that 0 is a zero, not a capital O. Then save the file and load the ndiswrapper module. By the way, you'll need to su to root in order to edit modules.conf and if you are working in a graphical environement, you may need to issue xhost localhost in order for root to be able to run a program.
 
Old 12-30-2004, 02:56 PM   #13
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Original Poster
Rep: Reputation: 15
ok ok, I open :
Code:
nano /etc/modules.conf
and at the end i added:
"alias wlan0 ndiswrapper" ,zero no capital O
Save the file, and wrote:
Code:
 ndiswrapper -m 
modprobe config already contains alias directive
i think everythig goes ok until now right?, then i do this:
Code:
 modprobe ndiswrapper 
Note: /etc/modules.conf is more recent than /lib/modules/2.4.26-gentoo-r9/modules.dep
i think that is not a good thing right?, any way i tried again, and is still "wlan0, no such device"
Any idea?
 
Old 12-30-2004, 04:00 PM   #14
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
/var/log/messages is a text file with the full path. Simply entering /var/log/messages implies that you're trying to execute it. List the contents like so:
less /var/log/messages

Page up or down, home, end or arrow keys to look through the file (the good stuff will be at the end - look through it for clues as to what's happening). Type the letter q to exit less.

Changing /etc/modules.conf or similar files simply accomplishes on boot what we're trying to do manually.

ifup is a script, commonly found in distros like Red Hat/Fedora/Mandrake. Try ifconfig wlan0 up, although that will not work unless & until the driver is loaded properly and I'm not convinced from what I've seen that it is.

As for finding things, as root, run the command updatedb. A database of every file on your system will be created and you can do a quick lookup with the command locate.

locate ndiswrapper should return all of the occurrences of files containing that string of characters. Pipe it to less if you get too many things to sort easily: locate ndiswrapper | less
 
Old 12-30-2004, 04:28 PM   #15
kiker
LQ Newbie
 
Registered: Dec 2004
Distribution: Gentoo
Posts: 26

Original Poster
Rep: Reputation: 15
first, i dont know why, but i don't have the directory "/var/log/messages", so i can't check there what is goin on.
then:
Code:
ifconfig wlan0 up 
wlan0: unknown interface: No such device
Im going to try that thing of searching the "ndiswrapper", but until now, do u have any other idea?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless card not working saiz66 SUSE / openSUSE 2 10-26-2005 01:39 PM
Wireless-G card only working as B? dracolich Linux - Wireless Networking 2 08-24-2005 06:05 PM
my wireless card has problem plz help bariswheel Linux - Hardware 2 12-23-2004 04:06 AM
Wireless card should be working passthetwitch Linux - Hardware 3 08-18-2004 07:32 AM
Can I pay someone to help me get this wireless card working? SteveGodfrey Linux - Wireless Networking 0 05-28-2004 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration