NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Unix/Linux
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 12-23-2006   #1 (permalink)
whitewall
Registered Member
 
Join Date: Dec 2006
Posts: 1
problem connecting to Linksys WCG200v2-CC with wpa_supplicant and ndiswrapper

I run Gentoo Linux, and I am trying to connect by wireless to a linksys wcg200v2-cc router/modem (supplied by comcast).

I use wpa_supplicant and ndiswrapper. I can connect fine to the router via ethernet cable and I can use my wpa_supplicant/ndiswrapper wireless to connect to other AP:s (at my university, both WPA and open)

I use wep encryption on the router. Other people (in the apartment, using windows) can connect via wireless.

According to wpa_cli, wpa_supplicant authenticates and connects. What then happens is that dhcpcd waits for dhcp response, but times out. It only takes the router a couple of seconds to assign an IP adress via ethernet cable.

wpa_cli output:

<2>Trying to associate with SSID 'our network'
<2>Associated with /cut/
<2>CTRL-EVENT-CONNECTED - Connection to /cut/ completed (auth) [id=1 id_str=]
status verbose
bssid=/cut/
ssid=our network
id=1
pairwise_cipher=WEP-104
group_cipher=WEP-104
key_mgmt=NONE
wpa_state=COMPLETED


excerpts of wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=2
ap_scan=1

# WEP
network={
ssid="our network"
key_mgmt=NONE
wep_key1=/cut/

wep_tx_keyidx=0
priority=2
}

How should I proceed / what is wrong? Thankful for any help - (Comcast "does not support linux")
whitewall is offline   Reply With Quote
Old 12-25-2006   #2 (permalink)
theprez98
SpoonfeederExtraordinaire
 
theprez98's Avatar
 
Join Date: Jan 2005
Location: Maryland
Posts: 3,619
Quote:
Originally Posted by whitewall
I run Gentoo Linux, and I am trying to connect by wireless to a linksys wcg200v2-cc router/modem (supplied by comcast).

I use wpa_supplicant and ndiswrapper. I can connect fine to the router via ethernet cable and I can use my wpa_supplicant/ndiswrapper wireless to connect to other AP:s (at my university, both WPA and open)

I use wep encryption on the router. Other people (in the apartment, using windows) can connect via wireless.

According to wpa_cli, wpa_supplicant authenticates and connects. What then happens is that dhcpcd waits for dhcp response, but times out. It only takes the router a couple of seconds to assign an IP adress via ethernet cable.

wpa_cli output:

<2>Trying to associate with SSID 'our network'
<2>Associated with /cut/
<2>CTRL-EVENT-CONNECTED - Connection to /cut/ completed (auth) [id=1 id_str=]
status verbose
bssid=/cut/
ssid=our network
id=1
pairwise_cipher=WEP-104
group_cipher=WEP-104
key_mgmt=NONE
wpa_state=COMPLETED


excerpts of wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=2
ap_scan=1

# WEP
network={
ssid="our network"
key_mgmt=NONE
wep_key1=/cut/

wep_tx_keyidx=0
priority=2
}

How should I proceed / what is wrong? Thankful for any help - (Comcast "does not support linux")
Merry Christmas!

Santa does not support linux
__________________
:00475160 0E A6 AE A0 19 E3 A3 46 .......F
:00475168 0D 65 17 0C 53 70 6F 6F .e..Spoo
:00475170 6E 66 65 65 64 65 72 2E nfeeder.
:00475178 45 78 74 72 61 6F 72 64 Extraord
:00475180 69 6E 61 69 72 65 5D 3B inaire];
:00475188 8B 9E 92 5A FF 5D A6 F0 ...Z.]..
theprez98 is offline   Reply With Quote
Old 01-13-2007   #3 (permalink)
faithfilled
Registered Member
 
Join Date: Jan 2007
Posts: 2
I was successful today. Woo-hoo!

Are you using the Gentoo initscripts? What does you /etc/conf.d/net look like (w/o the WEP keys)?

Two points of note:

1) At first, I used "-Dndiswrapper" on the command line for wpa_supplicant. But with any sw even remotely recent, "-Dwext" should be used. This will use the kernel's more generic API.

2) I set ap_scan=2 and, in my network block, scan_ssid=1 and auth_alg=OPEN. My router does not broadcast its SSID, so maybe yours is different, but it might be helpful to play with these parameters.
faithfilled is offline   Reply With Quote
Old 01-13-2007   #4 (permalink)
faithfilled
Registered Member
 
Join Date: Jan 2007
Posts: 2
If you're paranoid, unloading and reloading the ndiswrapper module between each try might be good too.
faithfilled is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 10:50 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.