LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-18-2004, 05:18 PM   #1
Vashtheddrfreak
LQ Newbie
 
Registered: Apr 2004
Location: Downing another gallon of Dr. Pepper
Distribution: Fedora Core 2
Posts: 20

Rep: Reputation: 0
ndiswrapper install help


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
 
Old 07-18-2004, 06:29 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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.
 
Old 07-18-2004, 07:26 PM   #3
Vashtheddrfreak
LQ Newbie
 
Registered: Apr 2004
Location: Downing another gallon of Dr. Pepper
Distribution: Fedora Core 2
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 07-18-2004, 08:19 PM   #4
Vashtheddrfreak
LQ Newbie
 
Registered: Apr 2004
Location: Downing another gallon of Dr. Pepper
Distribution: Fedora Core 2
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 07-19-2004, 07:18 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Check the output of lsmod and see if it has loaded and just not showing up in the logs.
 
Old 07-19-2004, 11:03 AM   #6
Vashtheddrfreak
LQ Newbie
 
Registered: Apr 2004
Location: Downing another gallon of Dr. Pepper
Distribution: Fedora Core 2
Posts: 20

Original Poster
Rep: Reputation: 0
lsmod returned this string for ndiswrapper (along with all the other modules on my system)


Code:
ndiswrapper             67560                  0
apparrently ndiswrapper -l showed the driver and device were there...
-Vash Out
 
Old 07-21-2004, 10:49 AM   #7
Vashtheddrfreak
LQ Newbie
 
Registered: Apr 2004
Location: Downing another gallon of Dr. Pepper
Distribution: Fedora Core 2
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 07-21-2004, 02:11 PM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I see one of two things missing

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.
 
Old 07-21-2004, 02:56 PM   #9
Vashtheddrfreak
LQ Newbie
 
Registered: Apr 2004
Location: Downing another gallon of Dr. Pepper
Distribution: Fedora Core 2
Posts: 20

Original Poster
Rep: Reputation: 0
how might i call my dhcp server? I'm kind of a nub here... I'll just go figure it out unless i get a quick response...
-Vash Out
 
Old 07-21-2004, 03:47 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
From the command line I beleive Fedora uses dhclient, so it would be dhclient wlan0.
 
Old 07-21-2004, 09:23 PM   #11
Vashtheddrfreak
LQ Newbie
 
Registered: Apr 2004
Location: Downing another gallon of Dr. Pepper
Distribution: Fedora Core 2
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 08-14-2004, 09:13 PM   #12
justice
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora FC2
Posts: 4

Rep: Reputation: 0
The final answer

You wrote: "All i needed to do was type the right combinations of the commands"...

So, what was the final winning combination. I'm having similar problems.

Thanks.
 
Old 08-15-2004, 05:43 AM   #13
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
The last step was to active dhcpclient.

Look at this location to have a look at it the step by step

http://ndiswrapper.sourceforge.net/w...elessCardSetup
 
Old 08-15-2004, 11:30 AM   #14
justice
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora FC2
Posts: 4

Rep: Reputation: 0
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.

Thanks for help.
 
Old 08-15-2004, 03:40 PM   #15
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
look in the map
/etc/sysconfig/network-scripts
and look for
ifcfg-wlan0
cat ifcfg-wlan0
and post the content here
 
  


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
I cannot install NDISwrapper Maximus_Magni Ubuntu 8 08-08-2005 11:24 AM
need to install Ndiswrapper joshknape Mandriva 5 08-02-2005 06:17 PM
ndiswrapper won't install jimaman Linux - Wireless Networking 8 01-24-2005 10:31 AM
Can't get ndiswrapper to install NewToLinux2005 Linux - Wireless Networking 9 12-30-2004 08:31 PM
can't install ndiswrapper. HELP! craig85 Linux - Wireless Networking 2 07-14-2004 11:51 PM

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

All times are GMT -5. The time now is 06:23 AM.

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