LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-30-2005, 01:31 AM   #1
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Rep: Reputation: 15
installing NDIS wrapper in Debian


I added to
Code:
/etc/apt/sources.list
but I get a cuoldn't find error when I try to apt-get it
 
Old 07-30-2005, 05:42 AM   #2
priller
Member
 
Registered: Jan 2004
Distribution: Debian etch
Posts: 202

Rep: Reputation: 30
No need to add that into sources, ndiswrapper is in the normall debian mirrors.

just do

Code:
apt-get install ndiswrapper-utils
Code:
apt-get install  ndiswrapper-modules-2.6.8-2-686
and

Code:
apt-get install wireless-tools
if you havn't got wireless tools installed.
 
Old 07-30-2005, 08:42 AM   #3
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Thank you so much! Now what do I do ?!?
 
Old 07-30-2005, 08:57 AM   #4
priller
Member
 
Registered: Jan 2004
Distribution: Debian etch
Posts: 202

Rep: Reputation: 30
if you've installed ndiswrapper and wireless-tools

Code:
ndiswrapper -i /path/to/file.inf
Code:
ndiswrapper -m
Code:
ifconfig wlan0 up
Code:
dhcpcd wlan0
 
Old 07-30-2005, 10:49 AM   #5
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382

Rep: Reputation: 37
you might also need to input your channel #, WEP key (if your running WEP), and ESSID of your WAP. You can get this info by typing:

#iwlist wlan0 scan

Then type the information you got from that command:

#iwconfig wlan0 key XXXXXXXXXXXXXXXXXXXXXXX
#iwconfig wlan0 channel XX
#iwconfig wlan0 essid XXXXX

Finally, if you want your wireless interface to configure at boot, you need to modify your /etc/network/intrfaces file. I use pico for ease of use:

#pico /etc/network/interfaces

Add the following to the file:

# The wireless network interface
auto wlan0
iface wlan0 inet dhcp
name wlan0
wireless-essid XXXXX
wireless-key XXXXXXXXXXXXXXXXXXXXXXXXXX
wireless-channel XX

When you reboot, your wireless card should automatically configure itself. I hope this helps.

Good Luck!



Last edited by Tons of Fun; 07-30-2005 at 10:51 AM.
 
Old 07-31-2005, 01:44 AM   #6
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by priller
if you've installed ndiswrapper and wireless-tools

Code:
ndiswrapper -i /path/to/file.inf
Code:
ndiswrapper -m
Code:
ifconfig wlan0 up
Code:
dhcpcd wlan0
Code:
# ndiswrapper -i /path/to/file.inf
Installing file
cp: cannot stat `/path/to/file.inf': No such file or directory
Code:
# ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modutils/ndiswrapper
Code:
# ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
Code:
# dhcpcd wlan0
bash: dhcpcd: command not found
 
Old 07-31-2005, 01:46 AM   #7
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tons of Fun
you might also need to input your channel #, WEP key (if your running WEP), and ESSID of your WAP. You can get this info by typing:

#iwlist wlan0 scan

Then type the information you got from that command:

#iwconfig wlan0 key XXXXXXXXXXXXXXXXXXXXXXX
#iwconfig wlan0 channel XX
#iwconfig wlan0 essid XXXXX

Finally, if you want your wireless interface to configure at boot, you need to modify your /etc/network/intrfaces file. I use pico for ease of use:

#pico /etc/network/interfaces

Add the following to the file:

# The wireless network interface
auto wlan0
iface wlan0 inet dhcp
name wlan0
wireless-essid XXXXX
wireless-key XXXXXXXXXXXXXXXXXXXXXXXXXX
wireless-channel XX

When you reboot, your wireless card should automatically configure itself. I hope this helps.

Good Luck!



Code:
# iwlist wlan0 scan
wlan0     Interface doesn't support scanning.
 
Old 07-31-2005, 09:18 AM   #8
priller
Member
 
Registered: Jan 2004
Distribution: Debian etch
Posts: 202

Rep: Reputation: 30
Quote:
Originally posted by COKE CAN
Code:
# ndiswrapper -i /path/to/file.inf
Installing file
cp: cannot stat `/path/to/file.inf': No such file or directory
Code:
# ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modutils/ndiswrapper
Code:
# ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
Code:
# dhcpcd wlan0
bash: dhcpcd: command not found
When I put /path/to/file.inf I meant the path to where your inf file is from the windows xp drivers.

Code:
apt-get install dhcpcd
 
Old 07-31-2005, 11:11 AM   #9
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Where do I find the .inf file?
 
Old 07-31-2005, 11:25 AM   #10
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382

Rep: Reputation: 37
You need the CD with the Windows drivers that came with the network card. Put the CD into your CD drive, and navigate to the drivers folder. Copy over all files in the driver folder except for autorun.inf. Place them in a folder (I put mine in my home folder) and then direct ndiswrapper to the files. For an example, I pulled three files from the CD for my card. I put the CD into the drive, navigated to the Drivers folder, then the Win2K folder. I copied the three files into my home folder. Then while following the instructions above from priller, when I got to the part to point ndiswrapper to the driver, I typed:

#ndiswrapper -i /home/hank/wg311t.inf

I did not point to the other two files, those were support files. Try that and let us know what happens.

Good luck!

 
Old 07-31-2005, 11:38 PM   #11
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Code:
# ndiswrapper -i /home/wrlssdrvrs/netma401.inf
Installing netma401
cp: cannot stat `/home/wrlssdrvrs/netma401.inf': No such file or directory
laptop:/home/cokecan# ndiswrapper -i /home/wrlssdrvrs/NETMA401.INF
netma401 is already installed. Use -e to remove it

 
Old 08-01-2005, 07:08 AM   #12
priller
Member
 
Registered: Jan 2004
Distribution: Debian etch
Posts: 202

Rep: Reputation: 30
Code:
modprobe ndiswrapper
you should get something similar to this after running dmesg, it will be near the end if ndiswrapper is installed properly

Code:
wlan0: ndiswrapper ethernet device **:**:**:**:**:** using driver rt2500usb, configuration file *****:****.*.conf
wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP
 
Old 08-01-2005, 11:14 AM   #13
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Code:
# modprobe ndiswrapper
modprobe: Can't locate module ndiswrapper
 
Old 08-01-2005, 11:34 AM   #14
priller
Member
 
Registered: Jan 2004
Distribution: Debian etch
Posts: 202

Rep: Reputation: 30
which kernel version are you using

Code:
uname -r
 
Old 08-01-2005, 12:56 PM   #15
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
2.4.27-2-686
 
  


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
NDIS Wrapper problem cleofisgreat Linux - Wireless Networking 19 04-30-2005 03:12 PM
Installing NDIS Wrapper on Dell C600 with Fedora2 klmbrt Linux - Laptop and Netbook 2 03-14-2005 09:02 AM
ndis wrapper acting up ELconkestador Linux - Software 2 02-15-2005 09:31 AM
NDIS Wrapper Help Please FuGeE Linux - Wireless Networking 1 12-11-2004 11:14 AM
ndis wrapper citrus Linux - Hardware 3 01-08-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:39 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