LinuxQuestions.org
Visit Jeremy's Blog.
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 01-16-2006, 03:31 PM   #1
bennettg
Member
 
Registered: Dec 2003
Distribution: SuSe Pro 9.0
Posts: 49

Rep: Reputation: 15
(K)ubuntu: WPA and IPW2200 Intermittent Connection


Hello. A big nOOb here just one step away from say Bye Bye to Bill Gates Forever, but I need help.


I am soooo close. I wiped my hard drive and did a fresh install of kubuntu/ubuntu. I followed luca_linux's instructions in post 1 of this the thread located at http://ubuntuforums.org/showthread.php?t=26623

Upon rebooting, I was connected!!!! The speed was much slower than in windows with wpa or in kubuntu with wep, but I was pleased.

However, since that time, I have only been able to connect wirelessly 1 out of 7 times. I wonder if it is something in my /etc/wpa_supplicant.conf file.

To help solve this probelm, I will post a picture of the wireless security settings from my router, and my /etc/wpa_supplicant.conf file. Does it have anything to do with TPIK? My WPA passphrase in ascii and i do not broadcast my ssid.

Linksys Wireless-G Broadband Router with SpeedBooster WRT54GS Router settings:


Security Mode : WPA Presonal
WPA Algorithms : TKIP
WPA Shared Key : 24334B4A44412423486A736B61
Group Key Renewal : 3600 seconds



Here is my etc/wpa_supplicant.conf:


# Minimal /etc/wpa_supplicant.conf to associate with open
# access points. Please see
# /usr/share/doc/wpasupplicant/wpa_supplicant.conf.gz for more complete
# configuration parameters.

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

eapol_version=1
ap_scan=1
fast_reauth=1

### Associate with any open access point
### Scans/ESSID changes can be done with wpa_cli
network={
ssid=""
key_mgmt=NONE
}

ctrl_interface=/var/run/wpa_supplicant

network={
ssid="acorn"
scan_ssid=1
psk="24334B4A44412423486A736B61"
priority=2
}


If I can just get this to connect reliabily, I will delete windoze from my partitions. Bye Bye M$ and Bill Gates
 
Old 01-18-2006, 10:13 AM   #2
GAVollink
Member
 
Registered: Apr 2002
Location: Bronx, NY
Distribution: Ubuntu
Posts: 371

Rep: Reputation: 34
You may want to set a priority for your "open" side (and make sure it's a higher number than your others), and you may also want to set ap_scan=2 (instead of 1). Finally, if you are using TKIP, say so...

[code]
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
psk="very_secret"
priority=4
 
Old 01-18-2006, 05:56 PM   #3
bennettg
Member
 
Registered: Dec 2003
Distribution: SuSe Pro 9.0
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by GAVollink
You may want to set a priority for your "open" side (and make sure it's a higher number than your others), and you may also want to set ap_scan=2 (instead of 1). Finally, if you are using TKIP, say so...

[code]
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
psk="very_secret"
priority=4
Gavollink,

I am sorry but I am a dumb nOOb. what is my open side? i am using tkip.

can you write out what you think the file should look like?

than you i am new a trying my best
 
Old 01-30-2006, 03:40 PM   #4
GAVollink
Member
 
Registered: Apr 2002
Location: Bronx, NY
Distribution: Ubuntu
Posts: 371

Rep: Reputation: 34
# NOTE - I start my comments with NOTE...
# Minimal /etc/wpa_supplicant.conf to associate with open
# access points. Please see
# /usr/share/doc/wpasupplicant/wpa_supplicant.conf.gz for more complete
# configuration parameters.

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

eapol_version=1
ap_scan=1
fast_reauth=1

### Associate with any open access point
### Scans/ESSID changes can be done with wpa_cli
# NOTE - This is the "open" side...
network={
ssid=""
key_mgmt=NONE
priority=6
}

ctrl_interface=/var/run/wpa_supplicant

# NOTE - Here are things I'd do to the TKIP part...
# NOTE - I've added proto, key_mgmt, and pairwise
network={
ssid="acorn"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
psk="24334B4A44412423486A736B61"
priority=2
}
 
Old 01-30-2006, 05:29 PM   #5
bennettg
Member
 
Registered: Dec 2003
Distribution: SuSe Pro 9.0
Posts: 49

Original Poster
Rep: Reputation: 15
gavolink.

thans for your reply. i had thought i had had the wpa wireless working with the following /etc/wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant

network={
ssid="acorn"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
psk="24334B4A44412423486A736B61"
}


However, I discovered my laptop was NOT connecting to my router. it was connecting to an unsecured wireless router of my neighbor: no encryption, nothing. BAD.

why is this happening? shoulnt my /etc/wpa_supplicant.conf file restrict it to my network only? will adding the priority=2 fix this?
 
Old 01-31-2006, 09:49 AM   #6
GAVollink
Member
 
Registered: Apr 2002
Location: Bronx, NY
Distribution: Ubuntu
Posts: 371

Rep: Reputation: 34
So long as the "OPEN" side exists, and has either no priority, or a lower priority than "your" network listing, it will simply attach to the first one that's available.

That's why I suggested using priority in the first place. Because you DO specify an alternate acceptable network (one with no encryption, and ANY ssid).
 
  


Reply


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
wpa problems with ipw2200 inhalentbroom Slackware 1 12-04-2005 12:08 PM
WPA-TKIP ipw2200 havelino Linux - Wireless Networking 0 04-24-2005 10:24 AM
WPA & ipw2200 havelino Linux - Wireless Networking 5 03-26-2005 06:57 PM
Intermittent connection problem markguerin Linux - Networking 8 06-07-2004 09:45 PM
Intermittent connection problem markguerin Linux - Software 1 01-25-2004 07:16 AM

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

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