LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-15-2006, 06:29 AM   #1
NeroZero2
LQ Newbie
 
Registered: Sep 2005
Posts: 16

Rep: Reputation: 0
Red face NetGear WG111v2 does not Get IP From Wlan Router


deleted by owner ...............

Last edited by NeroZero2; 09-19-2006 at 11:47 PM.
 
Old 09-17-2006, 08:35 AM   #2
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 looks of it, ndiswrapper is working correctly, but the card's configuration isn't being set. If you are using WPA for security, you need to use wpa_supplicant to configure the card and the WPA key. Have you installed wpa_supplicant? If not, there are instructions on how to compile it from source on my help site (link in my signature). Otherwise, check your distro and see if they have a package for it.
 
Old 09-17-2006, 03:01 PM   #3
NeroZero2
LQ Newbie
 
Registered: Sep 2005
Posts: 16

Original Poster
Rep: Reputation: 0
deleted by owner ...............

Last edited by NeroZero2; 09-19-2006 at 11:47 PM.
 
Old 09-18-2006, 07:04 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
do i have to use wpa-supplicant -Dndiswarpper -iwlan0 -c/mywpa1.conf once to have it linked or each time I start my PC?!
The short answer is yes, you do need to run that command each time you start your PC. However, you may need to add a couple more options to your command. Here is how I start wpa_supplicant on my laptop:

wpa_supplicant -Bw -Dndiswrapper -c/etc/wpa_supplicant.conf -iwlan0

One thing you could do is set up that command to run every time you boot, but since you don't mention what distro you're using, I'm not sure where you would do that.
 
Old 09-18-2006, 10:07 AM   #5
NeroZero2
LQ Newbie
 
Registered: Sep 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Unhappy

deleted by owner ...............

Last edited by NeroZero2; 09-19-2006 at 11:48 PM.
 
Old 09-18-2006, 10:24 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
That wpa_supplicant.conf file looks a touch dodgy to me. Here is mine:

Code:
network={
ssid="HomeSSID"
key_mgmt=NONE
auth_alg=SHARED
group=WEP104
wep_key0=HexWEPKey
wep_tx_keyidx=0
priority=5
}
network={
ssid="AnotherSSID"
key_mgmt=NONE
auth_alg=SHARED
group=WEP40
wep_key0="WEPHexKEy"
wep_tx_keyidx=0
priority=4
}
network={
ssid="AThirdSSID"
key_mgmt=NONE
auth_alg=SHARED
group=WEP40
wep_key0=WEPHexKey
wep_tx_keyidx=0
priority=1
}
network={
ssid="WPA_NETOWRK_SSID"
scan_ssid=1
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="WPA_Passphrase"
priority=1
}
I don't have any of that header stuff that is in yours. The reason I'm suggesting you simplfy yours (make a backup copy first) is this message in your logs:

Quote:
Line 22: failed to parse network block.
Failed to read read or parse configuration '/etc/wpa_supplicant.conf'.
That suggests to me that it is tripping over your conf file. Is your config file actually /etc/wpa_supplicant.conf? I'm asking because in a previous post it isn't, and if you are not pointing to your config file, that command isn't going to work.

Finally, you have two psk= statements in your config file. I'm not sure if that is going to work.

Last edited by Hangdog42; 09-18-2006 at 10:25 AM.
 
Old 09-18-2006, 10:38 AM   #7
NeroZero2
LQ Newbie
 
Registered: Sep 2005
Posts: 16

Original Poster
Rep: Reputation: 0
deleted by owner ...............

Last edited by NeroZero2; 09-19-2006 at 11:48 PM.
 
Old 09-18-2006, 11:56 AM   #8
NeroZero2
LQ Newbie
 
Registered: Sep 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Cool

deleted by owner ...............

Last edited by NeroZero2; 09-19-2006 at 11:48 PM.
 
Old 09-18-2006, 01:03 PM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
It looks to me like wpa_supplicant isn't finding the wireless card. Are you sure ndiswrapper was loaded and it showed up in iwconfig before you ran wpa_supplicant?

Also, if you go the static IP route, you need to do three things:

1) set the IP address (I use ifconfig to do this, but I suppose Yast will do)
2) Set the gateway to your router's IP address (I use the route command, but again, maybe Yast has a way to do this.
3) You need to enter your ISP's DNS servers into /etc/resolv.conf. Each DNS has to have its own line like this:

nameserver xxx.xxx.xxx.xxx Where xxx is the IP address.


DHCP does all three of those things automatically, but if you forget to do one with a static IP, the system probably won't work.
 
Old 09-18-2006, 02:21 PM   #10
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Perhaps this is irrelavent for your problem, but I use ndiswrapper with wpa_supplicant on my Fedora 5 system, and I colud not get WPA or WPA2 to work untill I replaced the -Dndiswrapper option with a -Dwext one in the wpa_supplicant command line.
 
Old 09-18-2006, 03:50 PM   #11
NeroZero2
LQ Newbie
 
Registered: Sep 2005
Posts: 16

Original Poster
Rep: Reputation: 0
deleted by owner ...............

Last edited by NeroZero2; 09-19-2006 at 11:48 PM.
 
Old 09-19-2006, 01:42 AM   #12
NeroZero2
LQ Newbie
 
Registered: Sep 2005
Posts: 16

Original Poster
Rep: Reputation: 0
deleted by owner ...............

Last edited by NeroZero2; 09-19-2006 at 11:48 PM.
 
Old 09-19-2006, 01:46 AM   #13
NeroZero2
LQ Newbie
 
Registered: Sep 2005
Posts: 16

Original Poster
Rep: Reputation: 0
deleted by owner ...............

Last edited by NeroZero2; 09-19-2006 at 11:50 PM.
 
Old 09-19-2006, 07:04 AM   #14
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
BTW i "love" posting here for myself in a supposedly outreaching community.. I cannot spend my entire life on this
Well, in that case stop posting and figure it out for yourself. The people on this forum volunteer their time and the least you can do is show a little appreciation rather than bitching and moaning.
 
Old 09-19-2006, 10:01 AM   #15
NeroZero2
LQ Newbie
 
Registered: Sep 2005
Posts: 16

Original Poster
Rep: Reputation: 0
Thumbs up

Heh mate,

I do not see what you feel addressed at all I mean in a PUBLIC forum to have one or two seeking to actively help you is a shame of any linux xommunity and reminds me rather of windows mentality, than understanding the concept of having to stick together in order to make Linux in general more attractive to the masses which will benefit the nerds as well by better programming

You have just shown your inability to see the person behind the PC, I mean if you need to resolve something on your own which I have already basically been doing then this BBS is all but for showing off instead of contemporary user progress within Linux!!!!

No, I am not to leave, you better do, since you bully ppl if they want to get solutions for the real world, where you cannot play around on your PC forever Now, back to the problem, THX
 
  


Reply

Tags
netgear, network, suse, wlan



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
Netgear WG111v2 + ndiswrapper installation problems craigles_penguin Linux - Wireless Networking 9 06-05-2007 05:16 PM
Problems setting up SuSE 10 with a Netgear WG111V2 USB Adapter p3980 Linux - Wireless Networking 14 01-25-2007 05:00 AM
using Netgear WG111v2 in Ubuntu aoberoi Linux - Hardware 0 05-19-2006 02:46 PM
AOL via ADSL router via WG111v2 USB ~P3~ Linux - Networking 6 04-14-2006 03:05 AM
Linux Router & Netgear Wireless Router DMaCATO Linux - Wireless Networking 1 04-30-2004 09:16 AM

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

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