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.
i'm probably just dumb, but i don't know what do do after make install... it says to use "ndiswrapper -i" but ndiswrapper is not a command aparrently... do i need to be in a specific directory or something...
i also need it to be extremely descrpitive as i am a
-Vash Out
ndiswrapper is a command and you should execute it from the same place you did make install. You also need to be root to issue it. By the way, if you weren't root when you did make install, I'd bet that it didn't install properly. If you are logged in as your normal user, just use the su - command (dont forget the -) and that will allow you root privileges once you supply root's password.
actually i su - 'ed to root before i used make install. It installed just fine with no errors whatsoever, and i'm sure i'm still root. btw i installed it in my home directory like this i untarred it into /home/jason/ndiswrapper-0.8 and then su'ed to root and typed make install. after that i copied the .inf file to my home directory(jason) and then cd back to /ndiswrapper-0.8 and typed ndiswrapper -i /home/jason/something.inf command wasn't found. tried ndiswrapper -i no avail. not even ndiswrapper by itself would register. i'll go and try again now
-Vash Out
Last edited by Vashtheddrfreak; 07-18-2004 at 07:31 PM.
ok nevermind, i got that part figured out and installed my windows driver. But now a new problem... I get ndiswrapper recognizes the driver and the card are there but when i modprobe... nothing happens. Just gives me another command line dmesg doesn't report anything wither so what am i missing?
-Vash Out
Okay i followed some commands i found in donbellioni's thread and it helped me alot! Here's basically my terminal session... after that.. i get stuck on how to connect...
Code:
[jason@localhost jason]$ su -
Password:
[root@localhost root]# modprobe ndiswrapper
[root@localhost root]# iwconfig wlan0 mode Auto
[root@localhost root]# iwconfig wlan0 key off
[root@localhost root]# iwconfig wlan0 essid "DellHomeNet"
[root@localhost root]# iwconfig
lo no wireless extensions.
sit0 no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"DellHomeNet"
Mode:Auto Frequency:2.452GHz Access Point: 00:06:25:49::rolleyes::85
Bit Rate:54Mb/s Tx-Power:14 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:-56 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:8 Missed beacon:0
[root@localhost root]# ifconfig wlan0 up
[root@localhost root]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lo
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
[root@localhost root]# ping 192.168.1.254 <---ip for my dsl modem cause i use it as my router then a wap
connect: Network is unreachable
[root@localhost root]# iwlist scan
lo Interface doesn't support scanning : Operation not supported
sit0 Interface doesn't support scanning : Invalid argument
eth0 Interface doesn't support scanning : Operation not supported
wlan0 Scan completed :
Cell 01 - Address: 00:06:25:49::rolleyes::85
ESSID:"DellHomeNet"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.452GHz
Quality:0/100 Signal level:-62 dBm Noise level:-256 dBm
Encryption key: :o ff
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s
Bit Rate:18Mb/s
Bit Rate:24Mb/s
Bit Rate:36Mb/s
Bit Rate:54Mb/s
Bit Rate:6Mb/s
Bit Rate:9Mb/s
Bit Rate:12Mb/s
Bit Rate:48Mb/s
Cell 02 - Address: BlaBlaBla
ESSID:"linksys"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437GHz
Quality:0/100 Signal level:-78 dBm Noise level:-256 dBm
Encryption key:off
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s
Cell 03 - Address: My neighbor's house!
ESSID:"linksys"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437GHz
Quality:0/100 Signal level:-79 dBm Noise level:-256 dBm
Encryption key:off
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s
[root@localhost root]#
so... yeah what can i do to connect to Cell 01?
-Vash Out
1) a call to the dhcp server after you've set up the card with iwconfig
OR
2) a static IP set-up with ifconfing (again after the iwconfig steps). Here you would also need to set your gateway to your router with route and may have to alter your /etc/resolve.conf to include your ISP' s nameservers.
I'm posting this from linux now!!! Yay!!!!!
All i needed to do was type the right combinations of the commands i already knew and then i found a signal strength for wireless program and it said wlan0 100%. Then i went to internet configuration wizard and a new device (ndiswrapper) was there and i just set it up and activated with the gui and it works now!!!! Thanks everyone *cough*hangdog*cough*.
-Vash Out
Thanks for the quick reply.
I'm getting (smoothly) to the 'ifconfig wlan0 up'. From there I try 'dhclient wlan0' and get:
*BEGIN TERMINAL OUTPUT*
sit0: unknown hardware address type 776
/sbin/dhclient-script: configuration for wlan0 not found.
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:0f:66:a5:b8:d4
Sending on LPF/wlan0/00:0f:66:a5:b8:d4
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 192.168.10.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.10.1
/sbin/dhclient-script: configuration for wlan0 not found.
dhclient.c(2046): null pointer
---snip of repeats with different intervals---
DHCPDECLINE on wlan0 to 255.255.255.255 port 67
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
/sbin/dhclient-script: configuration for wlan0 not found.
*END TERMINAL OUTPUT*
So that's where I get to. The only other thing I see which might be fishy, is when I run 'iwlist wlan0 scan', the Cell 01 is all correct as my wireless router, but the Protocol is listed as b instead of g.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.