Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Highly Unstable WPA_Supplicant -- HELP!!!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
infecticide
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 262
Location: Regina, SK Canada

PostPosted: Tue May 16, 2006 5:03 am    Post subject: Atheros Chipset This Time Reply with quote

Instead of an Intel Chipset i'm using an Atheros chipset which is experiencing the same types of seemly random connection/disconnection.

A few things i've noticed:
================
- As long as I set (via command line) a static IP and gateway it connects fine and all I have to do is start wpa_supplicant and provide a default gateway VIA route.

Code:

infecticide ~ # ifconfig ath0 192.168.0.100/24 broadcast 192.168.0.255 up
SIOCSIFNETMASK: Cannot assign requested address
infecticide ~ # wpa_supplicant -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf
Trying to associate with SSID 'brown'
Associated with 00:13:46:bd:0c:d8
WPA: Key negotiation completed with 00:13:46:bd:0c:d8 [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:13:46:bd:0c:d8 completed (auth)

route add default gw 192.168.0.1 (entered in another window)


- If I bring ath0 up, run wpa_supplicant, then run dhcpcd ath0 it drops and will not reconnect short of me ctrl+c'ing it and running wpa_supplicant again.

Code:

infecticide ~ # dhcpcd ath0

<wpa_supplicant running in another window shows>
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with SSID 'brown'
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with SSID 'brown'

<will not reconnect unless I terminate wpa_supplicant and restart it from command line>


I tried using the init scripts:
--------------------------------
Code:

# /etc/init.d/net.ath0 start
 * Starting ath0
 *   Loading networking modules for ath0
 *     modules: wpa_supplicant essidnet iptunnel ifconfig dhcpcd apipa
 *       wpa_supplicant provides wireless
 *       ifconfig provides interface
 *       dhcpcd provides dhcp
 *   Starting wpa_supplicant on ath0 ...
Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'madwifi' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
ap_scan=2
eapol_version=1
Line: 12 - start of a new network block
ssid - hexdump_ascii(len=5):
     62 72 6f 77 6e                                    brown
BSSID - hexdump(len=6): 00 13 46 bd 0c d8
scan_ssid=1 (0x1)
proto: 0x1
key_mgmt: 0x2
pairwise: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=32): [REMOVED]
priority=5 (0x5)
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line 22: removed CCMP from group cipher list since it was not allowed for pairwise cipher
Priority group 5
   id=0 ssid='brown'
Initializing interface (2) 'ath0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=19 WE(source)=13 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:13:46:6f:0e:17
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface ath0
Daemonize..
 *     Waiting for association                                                                                                   [ ok ]
 *     timed out                                                                                                                 [ !! ]
infecticide ~ #


Tried setting a static ip with the same results.

Some info i'm sure you'll want to see:
-------------------------------------------
/etc/conf.d/net
Code:

modules=( "!iwconfig" )
config_ath0=( "192.168.0.100/24 broadcast 192.168.0.255" )
routes_ath0=(
        "default via 192.168.0.1"
)
modules=( "wpa_supplicant" )
wpa_supplicant_ath0="-Dmadwifi -iath0 -dd" # For Atheros based cards
wpa_timeout_eth0=60
config_ESSID=( "brown" )


/etc/wpa_supplicant
Code:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=2
eapol_version=1
network={
  ssid="brown"
  bssid=00:13:46:bd:0c:d8
  scan_ssid=1
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=TKIP
  psk="97F83CA854562D1AD49F795F793E1F63"
  # The higher the priority the sooner we are matched
  priority=5
}



Software versions:
----------------------
Code:

[ebuild   R   ] sys-apps/baselayout-1.11.14-r8  -bootstrap -build -static -unicode 0 kB
[ebuild   R   ] net-wireless/wpa_supplicant-0.4.8  -gsm +madwifi +qt +readline +ssl 0 kB
[ebuild   R   ] net-wireless/madwifi-ng-0.1531.20060427  -amrr -onoe 0 kB


wpa_supplicant with -dd showing disconnection when using dhcpcd:
-----------------------------------------------------------------------------
Code:

infecticide ~ # wpa_supplicant -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf -dd
Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'madwifi' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
ap_scan=2
eapol_version=1
Line: 12 - start of a new network block
ssid - hexdump_ascii(len=5):
     62 72 6f 77 6e                                    brown
BSSID - hexdump(len=6): 00 13 46 bd 0c d8
scan_ssid=1 (0x1)
proto: 0x1
key_mgmt: 0x2
pairwise: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=32): [REMOVED]
priority=5 (0x5)
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line 22: removed CCMP from group cipher list since it was not allowed for pairwise cipher
Priority group 5
   id=0 ssid='brown'
Initializing interface (2) 'ath0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=19 WE(source)=13 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:13:46:6f:0e:17
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface ath0
Wireless event: cmd=0x8b06 len=8
Ignore event for foreign ifindex 4
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'brown'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 14 pairwise 8 key_mgmt 2
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_madwifi_associate
Setting authentication timeout: 60 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=14
Wireless event: cmd=0x8b19 len=8
Received 574 bytes of scan results (2 BSSes)
Scan results: 2
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:13:46:bd:0c:d8
State: ASSOCIATING -> ASSOCIATED
Associated to a new BSS: BSSID=00:13:46:bd:0c:d8
No keys have been configured - skip key clearing
Network configuration found for the current AP
WPA: Using WPA IE from AssocReq to set cipher suites
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Associated with 00:13:46:bd:0c:d8
WPA: Association event - clear replay counter
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
Setting authentication timeout: 10 sec 0 usec
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
RX EAPOL from 00:13:46:bd:0c:d8
RX EAPOL - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 3c 1f 0d 02 14 99 70 90 0a db df b1 ff 6c 53 59 df 95 ef bf 0f 1e 86 9d 61 fe 3c a0 9f fb 75 3e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
WPA: RX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 3c 1f 0d 02 14 99 70 90 0a db df b1 ff 6c 53 59 df 95 ef bf 0f 1e 86 9d 61 fe 3c a0 9f fb 75 3e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: ASSOCIATED -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:13:46:bd:0c:d8 (ver=1)
WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: Renewed SNonce - hexdump(len=32): c9 7e b1 0f b7 a8 89 ba 55 6e 44 15 36 ad f8 76 7b eb 5b d9 a7 90 0c 40 d7 62 67 9a 19 12 14 1f
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: Sending EAPOL-Key 2/4
WPA: TX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 09 00 20 00 00 00 00 00 00 00 01 c9 7e b1 0f b7 a8 89 ba 55 6e 44 15 36 ad f8 76 7b eb 5b d9 a7 90 0c 40 d7 62 67 9a 19 12 14 1f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2a 2f 1f 4e 13 ad cc 0e 78 00 ec 48 0a ee d7 f9 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
RX EAPOL from 00:13:46:bd:0c:d8
RX EAPOL - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 02 3c 1f 0d 02 14 99 70 90 0a db df b1 ff 6c 53 59 df 95 ef bf 0f 1e 86 9d 61 fe 3c a0 9f fb 75 3e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b9 26 8e 38 97 82 53 d2 01 be 3f 73 94 0a a4 80 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
IEEE 802.1X RX: version=1 type=3 length=119
  EAPOL-Key type=254
WPA: RX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 02 3c 1f 0d 02 14 99 70 90 0a db df b1 ff 6c 53 59 df 95 ef bf 0f 1e 86 9d 61 fe 3c a0 9f fb 75 3e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b9 26 8e 38 97 82 53 d2 01 be 3f 73 94 0a a4 80 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 3 of 4-Way Handshake from 00:13:46:bd:0c:d8 (ver=1)
WPA: IE KeyData - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: No WPA/RSN IE for this AP known. Trying to get from scan results
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00
WPA: Found the current AP from updated scan results
WPA: Sending EAPOL-Key 4/4
WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 01 09 00 20 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b1 21 7d f0 4d ce 10 dc ae 55 30 7c 5a 73 02 10 00 00
WPA: Installing PTK to the driver.
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
wpa_driver_madwifi_set_key: alg=TKIP key_idx=0 set_tx=1 seq_len=6 key_len=32
State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
RX EAPOL from 00:13:46:bd:0c:d8
RX EAPOL - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 03 aa 2d ee e0 51 7e 3e 88 81 cf 62 cf 0b 65 d1 14 c2 88 bc 26 3b 39 f0 b7 01 ff 78 fe 2e 73 39 9d 09 ea f7 0e bf 93 e4 df c3 c0 99 28 6f 29 b3 e6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7c 95 84 08 b2 63 be 8e 99 d6 0f 97 18 ed 62 5c 00 20 69 d2 ec 75 54 26 5b 7f c3 dd b9 eb 9b 1d 35 bc 9f 53 6e 61 9c 04 4e fd de f9 a3 c3 03 b2 92 95
IEEE 802.1X RX: version=1 type=3 length=127
  EAPOL-Key type=254
WPA: RX EAPOL-Key - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 03 aa 2d ee e0 51 7e 3e 88 81 cf 62 cf 0b 65 d1 14 c2 88 bc 26 3b 39 f0 b7 01 ff 78 fe 2e 73 39 9d 09 ea f7 0e bf 93 e4 df c3 c0 99 28 6f 29 b3 e6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7c 95 84 08 b2 63 be 8e 99 d6 0f 97 18 ed 62 5c 00 20 69 d2 ec 75 54 26 5b 7f c3 dd b9 eb 9b 1d 35 bc 9f 53 6e 61 9c 04 4e fd de f9 a3 c3 03 b2 92 95
State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE
WPA: RX message 1 of Group Key Handshake from 00:13:46:bd:0c:d8 (ver=1)
WPA: Group Key - hexdump(len=32): [REMOVED]
WPA: Installing GTK to the driver (keyidx=1 tx=0).
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
wpa_driver_madwifi_set_key: alg=TKIP key_idx=1 set_tx=0 seq_len=6 key_len=32
WPA: Sending EAPOL-Key 2/2
WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 03 11 00 20 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 cf 2e d8 fa 1e 3e cd fc fe a9 e0 42 b9 6a af 42 00 00
WPA: Key negotiation completed with 00:13:46:bd:0c:d8 [PTK=TKIP GTK=TKIP]
Cancelling authentication timeout
State: GROUP_HANDSHAKE -> COMPLETED
CTRL-EVENT-CONNECTED - Connection to 00:13:46:bd:0c:d8 completed (auth)
EAPOL: External notification - portValid=1
EAPOL: External notification - EAP success=1
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state SUCCESS
EAP: EAP entering state DISABLED
EAPOL: SUPP_PAE entering state AUTHENTICATED
EAPOL: SUPP_BE entering state IDLE
EAPOL: startWhen --> 0
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Setting scan request: 0 sec 100000 usec
Added BSSID 00:13:46:bd:0c:d8 into blacklist
State: COMPLETED -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_del_key: keyidx=0
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'brown'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 14 pairwise 8 key_mgmt 2
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_madwifi_associate
Setting authentication timeout: 60 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=14
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
State: ASSOCIATING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'brown'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 14 pairwise 8 key_mgmt 2
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_madwifi_associate
Setting authentication timeout: 60 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=14
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:00:00:00:00:00 blacklist count incremented to 2
State: ASSOCIATING -> DISCONNECTED



Hopefully I havn't overwhelmed and angered the forum gods with my obscenely large post but I know that being thorough helps in the end.

Thank you for your time.
Back to top
View user's profile Send private message
forgotten1
Guru
Guru


Joined: 11 Jan 2005
Posts: 477
Location: East Coast, USA

PostPosted: Thu May 18, 2006 6:19 pm    Post subject: Reply with quote

This may or may not be related to your connection dropping problems. I haven't completed the install for my Inspiron 600m yet, and an Intel PRO/Wireless 2915ABG MiniPCI adapter is installed. So I cannot speak from experience under the Gentoo GNU/Linux environment. But this I know, I experienced the very same thing with my connection under the windows (tm) environment. Additionally, my wife's laptop was experiencing the same thing.

So I went about troubleshooting, upgrading drivers, etc. What I learned in the end, is that it was the router, and NOT the card. I am using one of those Linksys WRT54GC's. If I plugged either laptop into the router physically, it remained connected and stayed that way (using DHCP). I determined that the problem with the wireless connection had to do with DHCP. So I then set a static IP for each laptop, and bingo, problem resolved. And just in time, the wife was getting ready to fire me as the Chief Technical Officer of the household. We haven't had any problems since then, and it connects within seconds.

Hope this helps.
Back to top
View user's profile Send private message
infecticide
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 262
Location: Regina, SK Canada

PostPosted: Thu May 18, 2006 7:33 pm    Post subject: Reply with quote

That is nodought something I will look into but the issue here is the connection failing (not so terrible, it is wireless after all) and not reassociating.
Back to top
View user's profile Send private message
forgotten1
Guru
Guru


Joined: 11 Jan 2005
Posts: 477
Location: East Coast, USA

PostPosted: Thu May 18, 2006 7:40 pm    Post subject: Reply with quote

That was the exact same issue we were having. The connection would fail, sometimes it would reconnect, other times it would not. If I ran to the basement and restarted the router, it would reconnect. Then it would be ok for a time, then the problem would start again.

I deduced through much time and effort that DHCP over wireless (using encryption) creates problems. If I disable the encryption, then 'voila' no problem, except now all traffic would be available for knowledgeable eyes to see. Keep in mind these were two laptops running windows (tm). And like I said, I haven't finished installing Gentoo on mine, but I expect I'll have to set a static IP for the wireless connection, just as I have to do in windows.
Back to top
View user's profile Send private message
infecticide
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 262
Location: Regina, SK Canada

PostPosted: Wed May 24, 2006 4:41 am    Post subject: Reply with quote

Does anyone know what the INIT scripts are looking for in the program output to concider the service "successfully started" and where I would find the file that determines that?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum