LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-21-2008, 05:41 PM   #1
svvvs
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Rep: Reputation: 0
Wifi Card NETGEAR WG111v3 USB2.0 in Debian 4.0


Hi,
i am a new guy in debian,can anybody tell me how to install this card in debian? i just install this system today.and it sounds that there are some different between
this and Ubuntu? i have had this card installed successful in Ubuntu,but i don't know how to do in debian,please help me,thanks!!!
 
Old 01-21-2008, 06:15 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Install ndiswrapper if not already and configure ndiswrapper to use the windows inf driver.

Brian
 
Old 01-22-2008, 11:13 AM   #3
svvvs
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Hi,i did as you told me to install the ndiswrapper,the result is like this:

The instructions below explain how to install ndiswrapper. This is
rather short version; more details about installation,
troubleshooting, FAQ etc. can be found in the Wiki at
http://ndiswrapper.sourceforge.net/wiki

Prerequisites
=============

You need a recent kernel, at least 2.6.6 or 2.4.26, with header files
for the kernel. Make sure there is a link to the kernel source from
the modules directory. The command

ls /lib/modules/`uname -r`/build

should have at least 'include' directory and '.config' file.

but when i did it,like this:
debian:/home/svvvs# ls /lib/modules/'uname -r'/build
ls: /lib/modules/uname -r/build: No such file or directory


What can i do for this?Thanks very much!!!!!
 
Old 01-22-2008, 12:39 PM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
You're running Debian ? Then use module assistant to build the ndiswrapper module. A lot less painful and easier for you to maintain in the long run

aptitude update
aptitude install module-assistant build-essential
m-a update
m-a prepare
m-a a-i ndiswrapper


That list of commands above should download everything you need for your build environment, it will download the ndiswrapper module Debian source, build the module against your current kernel version and install it.

Then you just need to follow the ndiswrapper instructions to install the windows driver for your wireless NIC
 
Old 01-22-2008, 06:43 PM   #5
svvvs
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for your response,and when i did as you said,there is a problem with my header,the result is this: (i am waiting for your response online)thanks.

debian:/home/svvvs# aptitude update
Ign cdrom://[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-1 20070819-11:33] etch Release.gpg
Ign cdrom://[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-1 20070819-11:33] etch Release
Ign cdrom://[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-1 20070819-11:33] etch/contrib Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 DVD Binary-1 20070819-11:33] etch/main Packages/DiffIndex
Ign file: apt-build Release.gpg
Get:1 file: apt-build Release [89B]
Ign file: apt-build/main Packages
Reading package lists... Done
debian:/home/svvvs# aptitude install module-assistant build-essential
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
The following packages are unused and will be REMOVED:
dhcdbd iproute iputils-arping libatm1 libnl1-pre6 libnm-util0
0 packages upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 1667kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 105276 files and directories currently installed.)
Removing dhcdbd ...
Stopping DHCP D-Bus daemon: dhcdbd.
Removing iproute ...
Removing iputils-arping ...
Removing libatm1 ...
Removing libnl1-pre6 ...
Removing libnm-util0 ...
debian:/home/svvvs# m-a update

Updated infos about 83 packages

debian:/home/svvvs# m-a prepare
Getting source for kernel version: 2.6.18-5-k7
apt-get install linux-headers-2.6.18-5-k7
Reading package lists... Done
Building dependency tree... Done

E: Couldn't find package linux-headers-2.6.18-5-k7
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!


debian:/home/svvvs# m-a a-i ndiswrapper

┌────────────────┤ module-assistant, error message ├─────────────────┐
│ │
│ ↑
│ ▮
│ Bad luck, the kernel headers for the target kernel version could ▒
│ not be found ▒
│ and you did not specify other valid kernel headers to use. ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ↓

│ <Ok>
│ │
└────────────────────────────────────────────────────────────────────┘
┌────────────────┤ module-assistant, error message ├─────────────────┐
│ │
│ ↑
│ If the running kernel has been shipped with the Debian ▮
│ distribution, please install the package ▒
│ linux-headers-2.6.18-5-k7. If your kernel source tree (or ▒
│ headers) is located in some non-usual location, please set the ▒
│ KERNELDIRS environment variable to the path of this directory, or ▒
│ (alternatively) specify the source directory we build for with ▒
│ the --kernel-dir option in module-assistant calls. ▒
│ ▒
│ ▒
│ ▒
│ ↓

│ <Ok>
│ │
└────────────────────────────────────────────────────────────────────┘
┌────────────────┤ module-assistant, error message ├─────────────────┐
│ │
│ Package ndiswrapper-source was not built successfully, see ↑
│ /var/cache/modass/ndiswrapper-source*buildlog* for details! ▮
│ ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ↓

│ <Ok>
│ │
└────────────────────────────────────────────────────────────────────┘


Updated infos about 1 packages
Getting source for kernel version: 2.6.18-5-k7
apt-get install linux-headers-2.6.18-5-k7
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package linux-headers-2.6.18-5-k7
apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!

Last edited by svvvs; 01-22-2008 at 06:45 PM.
 
Old 01-22-2008, 09:41 PM   #6
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Could be because of how your sources list is setup.. I see your sources list is still pointing at the CDROM rather than just internet sources.. you could comment out the CDROm entry in /etc/apt/sources.list do an update and try the m-a command again.

http://packages.debian.org/etch/linu...8-5-vserver-k7
 
Old 01-23-2008, 11:08 AM   #7
svvvs
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for your help and i've installed the "linux-headers-2.16.8-5-K7" and my Card's driver is ok now,i can see "device present,driver installed" by "ndiswrapper -l" and i've installed the "wicd" for configuring my card,and now there is a new problem, that is:
Because my wifi use the WPA(AES) and a static IP with static DNS,the problem is when i fill these blanc with my datas in my computer, the "wicd" stop in setting the static DNS,why?

Last edited by svvvs; 01-23-2008 at 11:21 AM.
 
Old 01-23-2008, 02:28 PM   #8
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
err could you be referring to this entry from the wicd FAQ ?

http://wicd.sourceforge.net/wiki/dok...m_what_do_i_do

If not, please restate the question because the reception over here is a bit fuzzy..
in other words I didn't quite understand what you were asking.
 
Old 01-24-2008, 05:23 AM   #9
svvvs
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Oh,sorry about my English,i just learned by myself,.....
I think the problem is about the DNS's IP.

In following these instructions in the web that you gave to me, everything is ok,it shows
nameserver xxx.xxx.xxx.xxx in my terminal,but when I use the "wicd" to connect to my wifi,
it stays in setting DNS's IP and no response.Is this a bug?
 
Old 01-24-2008, 10:36 AM   #10
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
I still don't think I understand what is happening..

could you post the output of cat /etc/resolv.conf before and after wicd ?

and what you think the output SHOULD be ?
 
Old 01-24-2008, 03:02 PM   #11
svvvs
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
here is the output:
debian:/home/svvvs# cat /etc/resolv.conf
search coova.org
nameserver 192.168.182.1
nameserver 192.168.182.1


i means the card is ok now but i can't use it,when i click "connect" ,it stay in "setting the DNS IP...."
 
Old 05-22-2008, 04:35 PM   #12
cytex
LQ Newbie
 
Registered: May 2008
Posts: 5

Rep: Reputation: 0
Smile This is how to insatll netgear wg111v3 for debian 4.0

Hey everyone trying effortlesly to get there Netgear wg111v3 usb 2.0 wifi adapter working for debian 4.0 so heres whatcha do its worked for me many times so just open terminal and make sure you have a internet connection established before attempting this install also your debian 4 disk may be necessary for repositories. So with that being said here goes enjoy!



Open terminal

------------download n extract driver & ndiswrapper-->
su
wget http://easynews.dl.sourceforge.net/s...er-1.49.tar.gz
wget http://www.avengergear.com/upload/WG111v3.tar.bz2
tar xvvf ndiswrapper-1.49.tar.gz
tar xvvf WG111v3.tar.bz2
------------download install maker files------->
aptitude update
aptitude install build-essential module-assistant
m-a update
m-a prepare
--------------------Prepare Ndiswrapper installation-->
cd ndiswrapper-1.49
make
make install
ndiswrapper -i ../WG111/WG111v3.inf
depmod -a
modprobe ndiswrapper
ndiswrapper -m
exit
--------------------------Blue Light Should Be On-------->
CLick Desktop -> Administration - > Networking
[Network Settings] -disable ethernet or dialup connection [select interface and click deactivate]
you should see a new interface wlan0 select and click on properties
now click on "enable this connection"
select ESSID click on dropdown menu under wireless settings
add encryption key and wep settings if neccessary for your router
now go to connection settings and select DHCP if your not using a
static ip {more common your using DHCP} Click ok
make sure wlan0 is selected and click on activate after activation
if no errors occured you should be free to surf ! this works for me hope it does for u -peace Cytex
 
Old 05-27-2008, 10:18 PM   #13
cytex
LQ Newbie
 
Registered: May 2008
Posts: 5

Rep: Reputation: 0
Smile INSTALLING NETGEAR WG111V3 ON DEBIAN 4.0 *fixed

oops i kinda messed up on the previous code url for ndiswrapper
this is the correct method -thanks again
cytex


Open terminal
should be in home/usernamehere#
------------download n extract driver & ndiswrapper-->
su
wget http://easynews.dl.sourceforge.net/s...er-1.49.tar.gz

wget http://www.avengergear.com/upload/WG111v3.tar.bz2
tar xvvf ndiswrapper-1.49.tar.gz
tar xvvf WG111v3.tar.bz2
------------download install maker files------->
aptitude update
aptitude install build-essential module-assistant
m-a update
m-a prepare
--------------------Prepare Ndiswrapper installation-->
cd ndiswrapper-1.49
make
make install
ndiswrapper -i ../WG111/WG111v3.inf
depmod -a
modprobe ndiswrapper
ndiswrapper -m
exit
--------------------------Blue Light Should Be On-------->
Click Desktop -> Administration - > Networking
[Network Settings] -disable ethernet or dialup connection [select interface and click deactivate]
you should see a new interface wlan0 select and click on properties
now click on "enable this connection"
select ESSID click on dropdown menu under wireless settings
add encryption key and wep settings if neccessary for your router
now go to connection settings and select DHCP if your not using a
static ip {more common your using DHCP} Click ok
make sure wlan0 is selected and click on activate after activation
if no errors occured you should be free to surf ! this works for me hope it does for u -peace Cytex
 
Old 06-09-2008, 09:39 PM   #14
cytex
LQ Newbie
 
Registered: May 2008
Posts: 5

Rep: Reputation: 0
Smile installing netgear wg111v3

sorry everyone but copy n paste must not be working the error was in the first line url its suppose to be
su
wget http://easynews.dl.sourceforge.net/n...er-1.49.tar.gz

wget http://www.avengergear.com/upload/WG111v3.tar.bz2
tar xvvf ndiswrapper-1.49.tar.gz
tar xvvf WG111v3.tar.bz2
------------download install maker files------->
aptitude update
aptitude install build-essential module-assistant
m-a update
m-a prepare
--------------------Prepare Ndiswrapper installation-->
cd ndiswrapper-1.49
make
make install
ndiswrapper -i ../WG111/WG111v3.inf
depmod -a
modprobe ndiswrapper
ndiswrapper -m
exit


--------------I finally got it right ::ats self on back::::
 
Old 06-09-2008, 09:42 PM   #15
cytex
LQ Newbie
 
Registered: May 2008
Posts: 5

Rep: Reputation: 0
darnit@!@$@##

the code in this page keeps changing the url code
the download wget for ndiswrapper is fudged
use "easynews.dl.sourceforge.net/ndiswrapper/ndiswrapper-1.49.tar.gz" <-this should say forward slash ndiswrapper forward slash ndiswrapper-1.49.tar.gz"
 
  


Reply

Tags
configure, debian, lenny, wg111v3


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Debian netgear wireless pci card questions revenge80200 Linux - Wireless Networking 2 04-01-2007 09:21 PM
netgear (marvell) wifi card misidentified as atheros bobterri Linux - Wireless Networking 3 03-04-2007 10:56 PM
How do I set up my Netgear wifi card? I have a WEP network. htmlishard Linux - Newbie 1 06-22-2006 12:58 PM
Netgear 311 : everything fine but card not accessible [debian] Deun Linux - Wireless Networking 2 02-03-2006 07:40 AM
RedHat 8.0 with wireless WIFI NETGEAR Card MA401 ... Yumi Linux - Wireless Networking 5 01-25-2003 04:37 AM


All times are GMT -5. The time now is 11:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration