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.
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...
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
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.
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
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.
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
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.
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
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.
/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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.