LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-11-2015, 07:48 AM   #1
pierssnell
Member
 
Registered: Sep 2011
Location: UK
Distribution: Puppy 571 + Mint 18.2
Posts: 43

Rep: Reputation: Disabled
Puppy linux network tools won't connect on boot, though I can connect manually


Puppy linux 5.7.1 full install...

Until recently, the "Simple Network Setup" was working fine -- it's what I used to set up my wi-fi connection on installation, and it has been connecting on boot ever since. But a few days ago, it just stopped working.

(I did find a mention on another forum that "PRecord" in combination with "Retrovol" had been discovered to have a bug that wrote spurious files to a /dev directory, which rang a bell with me, because I happen to have used exactly that program within the last few days, but this may be *completely* a red herring.)

At the moment, I *can* get onto my home network, but I am doing it by opening terminal windows and running wpa_supplicant and dhcpd manually; I'd rather let the OS tools do it for me; call me lazy!

What works is...
In a terminal, I invoke
Code:
wpa_supplicant -i wlan0 -D wext -c /etc/network-wizard/wireless/wpa_profiles/wpa_supplicant.conf -dd &
and when that process has done its stuff, I invoke dhcpcd and it connects.

That wpa_supplicant.conf looks like this
Code:
ctrl_interface=/var/run/wpa_supplicant
update_config=1

network={
	ssid="Belkin_Router"
	scan_ssid=1
	psk="MyKeyInPlainForm"
proto=WPA
	key_mgmt=WPA-PSK
	pairwise=TKIP
	group=TKIP
	priority=1
}
and my most recent successful connection was as follows
Code:
# wpa_supplicant -i wlan0 -D wext -c /etc/network-wizard/wireless/wpa_profiles/wpa_supplicant.conf -dd &
[1] 16955
# Initializing interface 'wlan0' conf '/etc/network-wizard/wireless/wpa_profiles/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/network-wizard/wireless/wpa_profiles/wpa_supplicant.conf' -> '/etc/network-wizard/wireless/wpa_profiles/wpa_supplicant.conf'
Reading configuration file '/etc/network-wizard/wireless/wpa_profiles/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
update_config=1
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=13):
     42 65 6c 6b 69 6e 5f 52 6f 75 74 65 72            Belkin_Router   
scan_ssid=1 (0x1)
PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
proto: 0x1
key_mgmt: 0x2
pairwise: 0x8
group: 0x8
priority=1 (0x1)
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 1
   id=0 ssid='Belkin_Router'
WEXT: cfg80211-based driver detected
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: 64:70:02:ec:bc:4e
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=4 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_key: alg=0 key_idx=5 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_countermeasures
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
WPS: UUID based on MAC address - hexdump(len=16): a0 6b 9a 67 53 d1 51 d9 ac d0 66 5c ad d3 d3 e3
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=8
State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=13):
     42 65 6c 6b 69 6e 5f 52 6f 75 74 65 72            Belkin_Router   
Starting AP scan for specific SSID(s)
Scan requested (ret=0) - scan timeout 5 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b19 len=8
Received 685 bytes of scan results (1 BSSes)
BSS: Start scan result update 1
BSS: Add new id 0 BSSID 94:44:52:8a:b6:9d SSID 'Belkin_Router'
New scan results available
WPS: attr type=0x104a len=1
WPS: attr type=0x1044 len=1
WPS: attr type=0x103b len=1
WPS: attr type=0x1047 len=16
WPS: attr type=0x1021 len=26
WPS: attr type=0x1023 len=38
WPS: attr type=0x1024 len=6
WPS: attr type=0x1042 len=14
WPS: attr type=0x1054 len=8
WPS: attr type=0x1011 len=28
WPS: attr type=0x1008 len=2
WPS: attr type=0x103c len=1
WPS: attr type=0x104a len=1
WPS: attr type=0x1044 len=1
WPS: attr type=0x103b len=1
WPS: attr type=0x1047 len=16
WPS: attr type=0x1021 len=26
WPS: attr type=0x1023 len=38
WPS: attr type=0x1024 len=6
WPS: attr type=0x1042 len=14
WPS: attr type=0x1054 len=8
WPS: attr type=0x1011 len=28
WPS: attr type=0x1008 len=2
WPS: attr type=0x103c len=1
Selecting BSS from priority group 1
Try to find WPA-enabled AP
0: 94:44:52:8a:b6:9d ssid='Belkin_Router' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
   selected WPA AP 94:44:52:8a:b6:9d ssid='Belkin_Router'
Trying to associate with 94:44:52:8a:b6:9d (SSID='Belkin_Router' freq=2437 MHz)
FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0):
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
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: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: not using MGMT group cipher
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
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
ioctl[SIOCSIWFREQ]: Device or resource busy
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP fail=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portControl=Auto
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=21
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8c08 len=59
AssocResp IE wireless event - hexdump(len=51): 01 08 82 84 8b 96 12 24 48 6c 32 04 0c 18 30 60 dd 18 00 50 f2 02 01 01 00 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 dd 07 00 0c 43 07 00 00 00
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 94:44:52:8a:b6:9d
Association info event
resp_ies - hexdump(len=51): 01 08 82 84 8b 96 12 24 48 6c 32 04 0c 18 30 60 dd 18 00 50 f2 02 01 01 00 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 dd 07 00 0c 43 07 00 00 00
FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0):
State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
Associated to a new BSS: BSSID=94:44:52:8a:b6:9d
No keys have been configured - skip key clearing
Associated with 94:44:52:8a:b6:9d
WPA: Association event - clear replay counter
WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
Setting authentication timeout: 10 sec 0 usec
Cancelling scan request
EAPOL: startWhen --> 0
EAPOL: disable timer tick
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: enable timer tick
EAPOL: txStart
WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
RX EAPOL from 94:44:52:8a:b6:9d
RX EAPOL - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 a7 8d 5b 30 d7 8e 6d 2d 5b ee 34 40 a0 1d 99 5e df a3 1c 88 31 61 62 d2 4e e1 4e 25 5b 33 27 e5 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
  key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
  key_length=32 key_data_length=0
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
  key_nonce - hexdump(len=32): a7 8d 5b 30 d7 8e 6d 2d 5b ee 34 40 a0 1d 99 5e df a3 1c 88 31 61 62 d2 4e e1 4e 25 5b 33 27 e5
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
WPA: RX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 a7 8d 5b 30 d7 8e 6d 2d 5b ee 34 40 a0 1d 99 5e df a3 1c 88 31 61 62 d2 4e e1 4e 25 5b 33 27 e5 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 94:44:52:8a:b6:9d (ver=1)
WPA: Renewed SNonce - hexdump(len=32): 91 5f 81 db ef af ca 31 e6 5e 51 1f 1e ab bc 88 a8 d5 29 75 4f 51 18 e5 39 6a 3f f9 60 a1 66 58
WPA: PTK derivation - A1=64:70:02:ec:bc:4e A2=94:44:52:8a:b6:9d
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
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: 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 91 5f 81 db ef af ca 31 e6 5e 51 1f 1e ab bc 88 a8 d5 29 75 4f 51 18 e5 39 6a 3f f9 60 a1 66 58 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 cc 97 13 16 d5 64 06 15 e6 dc 09 2a 40 f0 84 ef 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 94:44:52:8a:b6:9d
RX EAPOL - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 02 a7 8d 5b 30 d7 8e 6d 2d 5b ee 34 40 a0 1d 99 5e df a3 1c 88 31 61 62 d2 4e e1 4e 25 5b 33 27 e5 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 f5 92 86 88 fa 5c b2 e6 0f 38 55 f1 56 60 ce c4 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
  key_info 0x1c9 (ver=1 keyidx=0 rsvd=0 Pairwise Install Ack MIC)
  key_length=32 key_data_length=24
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
  key_nonce - hexdump(len=32): a7 8d 5b 30 d7 8e 6d 2d 5b ee 34 40 a0 1d 99 5e df a3 1c 88 31 61 62 d2 4e e1 4e 25 5b 33 27 e5
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): f5 92 86 88 fa 5c b2 e6 0f 38 55 f1 56 60 ce c4
WPA: RX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 02 a7 8d 5b 30 d7 8e 6d 2d 5b ee 34 40 a0 1d 99 5e df a3 1c 88 31 61 62 d2 4e e1 4e 25 5b 33 27 e5 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 f5 92 86 88 fa 5c b2 e6 0f 38 55 f1 56 60 ce c4 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 94:44:52:8a:b6:9d (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: WPA IE in EAPOL-Key - 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: 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 f5 4a b2 9f 01 56 ea b4 3b ea 11 4d 60 d7 0c 61 00 00
WPA: Installing PTK to the driver.
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
wpa_driver_wext_set_key: alg=2 key_idx=0 set_tx=1 seq_len=6 key_len=32
State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
RX EAPOL from 94:44:52:8a:b6:9d
RX EAPOL - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 03 1d ed e9 ba 27 28 9a 55 56 74 13 fd d9 1b fc 73 75 5f 72 d0 40 f8 5d 40 bc 95 b0 65 a6 7c 1c 90 75 5f 72 d0 40 f8 5d 40 bc 95 b0 65 a6 7c 1c 92 30 96 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2d f9 86 2d f9 2f 6a 8d 8c 86 dd a2 cd 9f 9b f6 00 20 db d3 9a f0 a7 32 ef 4c c0 44 f6 2a 58 38 bd 25 6c 5f 9e ef 23 86 8c 39 86 75 22 ad 12 18 f4 b2
IEEE 802.1X RX: version=1 type=3 length=127
  EAPOL-Key type=254
  key_info 0x391 (ver=1 keyidx=1 rsvd=0 Group Ack MIC Secure)
  key_length=32 key_data_length=32
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 03
  key_nonce - hexdump(len=32): 1d ed e9 ba 27 28 9a 55 56 74 13 fd d9 1b fc 73 75 5f 72 d0 40 f8 5d 40 bc 95 b0 65 a6 7c 1c 90
  key_iv - hexdump(len=16): 75 5f 72 d0 40 f8 5d 40 bc 95 b0 65 a6 7c 1c 92
  key_rsc - hexdump(len=8): 30 96 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 2d f9 86 2d f9 2f 6a 8d 8c 86 dd a2 cd 9f 9b f6
WPA: RX EAPOL-Key - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 03 1d ed e9 ba 27 28 9a 55 56 74 13 fd d9 1b fc 73 75 5f 72 d0 40 f8 5d 40 bc 95 b0 65 a6 7c 1c 90 75 5f 72 d0 40 f8 5d 40 bc 95 b0 65 a6 7c 1c 92 30 96 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2d f9 86 2d f9 2f 6a 8d 8c 86 dd a2 cd 9f 9b f6 00 20 db d3 9a f0 a7 32 ef 4c c0 44 f6 2a 58 38 bd 25 6c 5f 9e ef 23 86 8c 39 86 75 22 ad 12 18 f4 b2
WPA: RX message 1 of Group Key Handshake from 94:44:52:8a:b6:9d (ver=1)
State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE
WPA: Group Key - hexdump(len=32): [REMOVED]
WPA: Installing GTK to the driver (keyidx=1 tx=0 len=32).
WPA: RSC - hexdump(len=6): 30 96 00 00 00 00
wpa_driver_wext_set_key: alg=2 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 38 9a 64 a7 e2 7a 09 01 4f f5 10 ae cc d2 1b 58 00 00
WPA: Key negotiation completed with 94:44:52:8a:b6:9d [PTK=TKIP GTK=TKIP]
Cancelling authentication timeout
State: GROUP_HANDSHAKE -> COMPLETED
CTRL-EVENT-CONNECTED - Connection to 94:44:52:8a:b6:9d completed (auth) [id=0 id_str=]
wpa_driver_wext_set_operstate: operstate 0->1 (UP)
netlink: Operstate: linkmode=-1, operstate=6
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: Supplicant port status: Authorized
EAPOL: SUPP_BE entering state IDLE
EAPOL authentication completed successfully
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
EAPOL: startWhen --> 0
EAPOL: disable timer tick
Ignore event for foreign ifindex 2
What *doesn't* work is using the "Simple Network Setup" tool. (Nor do the alternative Puppy network tools, but their logs aren't as readily available.) For what it's worth, if I run from a Live CD, it works every time, but from my full install, when I start that tool, it reports on detected interfaces, and I click on wlan0 to configure it... it scans for and finds my network, and I tell it that the network is WPA secured, and supply the key. It then attempts to connect, and fails. Can a savvy reader get any clues from the following?

When I tell it about the WPA security and enter the key, it writes (and then I presume attempts to use) the following wpa_supplicant.conf
Code:
# (this is written as wpa_supplicant.conf-Belkin_Router-64:70:02:EC:BC:4E)
ctrl_interface=/var/run/wpa_supplicant
ap_scan=0

network={
 ssid="Belkin_Router"
 key_mgmt=WPA-PSK
 psk=MyKeyEncodedSomehowInAMuchLongerTextLine
}
and its failure is logged as follows
Code:
Information about this interface:
 Interface: wlan0  Driver: ath9k  Bus: pci  MacAddress: 64:70:02:EC:BC:4E
 Description: Support for Atheros 802.11n wireless LAN cards. 
 
STEP1a: ifconfig wlan0 up
STEP1b: iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 94:44:52:8A:B6:9D
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=51/70  Signal level=-59 dBm  
                    Encryption key:on
                    ESSID:"Belkin_Router"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000003f9eecb4a7
                    Extra: Last beacon: 83ms ago
                    IE: Unknown: 000D42656C6B696E5F526F75746572
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A6E1017FF000000010000000000000000000000000C0000000000
                    IE: Unknown: 3D1606070700000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 0B05030081127A
                    IE: Unknown: 7F0101
                    IE: Unknown: DD07000C4307000000
                    IE: Unknown: 0706555320010D10
                    IE: Unknown: DD1E00904C336E1017FF000000010000000000000000000000000C0000000000
                    IE: Unknown: DD1A00904C3406070700000000000000000000000000000000000000
                    IE: Unknown: DDC20050F204104A0001101044000102103B00010310470010BC329E001DD811B286019444528AB69D1021001A42656C6B696E20496E7465726E6174696F6E616C2C20496E632E1023002642656C6B696E20456E68616E63656420576972656C657373204D6F64656D20525330414B5431102400065330414B54311042000E31323032333436333030393332321054000800060050F20400011011001C42656C6B696E20576972656C65737320526F75746572202857464129100800020084103C000101
STEP1c: ifconfig wlan0 down
Running: wpa_cli -i wlan0 status
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
STEP2: iwconfig wlan0 mode managed
STEP3: iwconfig wlan0 channel 6
STEP4: iwconfig wlan0 essid "Belkin_Router"
STEP5a: ifconfig wlan0 up
STEP5b: wpa_supplicant -B -Dwext -iwlan0 -c"/etc/simple_network_setup/wpa_supplicant.conf-Belkin_Router-64:70:02:EC:BC:4E"
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
daemon: No such device

ERROR, TIMEOUT. Have not got an Access Point.
Result of 'iwconfig wlan0':
wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=16 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          

STEP5a: ifconfig wlan0 up
STEP5b: wpa_supplicant -B -Dwext -iwlan0 -c"/etc/simple_network_setup/wpa_supplicant.conf-Belkin_Router-64:70:02:EC:BC:4E"
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
daemon: No such device
Running: wpa_cli -i wlan0 status
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Running: wpa_cli -i wlan0 status
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

ERROR, TIMEOUT. Have not got an Access Point.
Result of 'iwconfig wlan0':
wlan0     IEEE 802.11bgn  ESSID:"Belkin_Router"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=16 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          

STEP5a: ifconfig wlan0 up
STEP5b: wpa_supplicant -B -Dwext -iwlan0 -c"/etc/simple_network_setup/wpa_supplicant.conf-Belkin_Router-64:70:02:EC:BC:4E"
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
daemon: No such device

ERROR, TIMEOUT. Have not got an Access Point.
Result of 'iwconfig wlan0':
wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=16 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          

STEP5a: ifconfig wlan0 up
STEP5b: wpa_supplicant -B -Dwext -iwlan0 -c"/etc/simple_network_setup/wpa_supplicant.conf-Belkin_Router-64:70:02:EC:BC:4E"
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
daemon: No such device
Running: wpa_cli -i wlan0 status
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Running: wpa_cli -i wlan0 status
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

ERROR, TIMEOUT. Have not got an Access Point.
Result of 'iwconfig wlan0':
wlan0     IEEE 802.11bgn  ESSID:"Belkin_Router"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=16 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          

STEP5a: ifconfig wlan0 up
STEP5b: wpa_supplicant -B -Dwext -iwlan0 -c"/etc/simple_network_setup/wpa_supplicant.conf-Belkin_Router-64:70:02:EC:BC:4E"
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
daemon: No such device

ERROR, TIMEOUT. Have not got an Access Point.
Result of 'iwconfig wlan0':
wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=16 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          

Running: wpa_cli -i wlan0 status
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
 
*********************************************************
LAST 10 LINES of /var/log/messages:
Jan 11 12:37:49 puppypc6435 user.info kernel: [   11.127105] EXT3-fs (sda14): using internal journal
Jan 11 12:37:49 puppypc6435 user.info kernel: [   11.127107] EXT3-fs (sda14): mounted filesystem with ordered data mode
Jan 11 12:37:50 puppypc6435 user.info kernel: [   16.334781] acpi-cpufreq: overriding BIOS provided _PSD data
Jan 11 12:37:54 puppypc6435 user.notice powerapplet: Abort, unable to open /proc/acpi/battery
Jan 11 12:38:17 puppypc6435 daemon.err dhcpcd[3833]: timed out
Jan 11 12:38:17 puppypc6435 daemon.warn dhcpcd[3833]: allowing 8 seconds for IPv4LL timeout
Jan 11 12:38:25 puppypc6435 daemon.err dhcpcd[3833]: timed out
Jan 11 12:38:25 puppypc6435 daemon.err dhcpcd[6122]: dhcpcd not running
Jan 11 12:38:25 puppypc6435 user.warn kernel: [   51.688657] r8169 0000:04:00.0 eth0: unable to load firmware patch rtl_nic/rtl8168f-1.fw (-2)
Jan 11 12:38:25 puppypc6435 user.info kernel: [   51.700692] r8169 0000:04:00.0 eth0: link down
Thanks in advance!
Piers.
 
Old 01-12-2015, 09:14 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Since running as a full install. Also. Since Puppy runs as root. You probably have a changed/corrupted setup/config file.

I am not criticizing. Just letting you know what to look for. One reason Frugal installs are so popular. Is because of the situation you find your self in. In a frugal install. You can make backups of states of install. That way if something gets corrupted in a running save session. Another save session. That is pristine. Can be subbed in instead, and the corrupted on deleted.

I do not know how to sub in Barrys Simple Network Manager, Frisbee, and Dougals Network Manager configs and bin or .sh files in a full install,. Pfind may help. Problem with this is. Since you say all do not work as they should. But Manual through Console does. The problem is outside of All those connection wizard and their config files. It is further down the road.
I have no idea where they all have meeting spot where they all fail.

Because. I am just a Linux using scooter tramp who knows just a little about Linux file structure and Wifi.
But no expert at all. So this post is more about ideas for you. Instead of a direct fix.

I hope You are posting in Murga forums about this issue. Those guys are sharper than I.
 
Old 01-12-2015, 01:24 PM   #3
pierssnell
Member
 
Registered: Sep 2011
Location: UK
Distribution: Puppy 571 + Mint 18.2
Posts: 43

Original Poster
Rep: Reputation: Disabled
Thanks for that thought about "The problem is outside of All those connection wizard and their config files. It is further down the road.
I have no idea where they all have meeting spot where they all fail."

Here's how I [solved]...

In light of your observations, I just stopped wasting a lot of time looking at those configuration files, and picked up on another idea, from the thread I had happened across previously, which I had thought was probably a red herring.

That thread suggested that PRecord had been known to write spurious entries into the /dev directory... but I had no earthly means of finding out what those might be, so I took a chance on simply replacing the /dev tree with one lifted from a fresh installation of Puppy on a spare partition. (Same hardware on the machine, after all!) With the new /dev tree, all the network tools now work just fine, so whatever was causing the mischief must have been in there somewhere. So far, no nasty side effects observed... if anyone reading this feels there is anything I should be warned about, please share!
 
1 members found this post helpful.
Old 01-12-2015, 01:28 PM   #4
pierssnell
Member
 
Registered: Sep 2011
Location: UK
Distribution: Puppy 571 + Mint 18.2
Posts: 43

Original Poster
Rep: Reputation: Disabled
By the way... I would have liked to post on the Murga forums, but I don't seem to be able to join them. My join requests seem to disappear into thin air!
 
  


Reply



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
how do i connect puppy to a hidden network baronobeefdip Puppy 1 05-10-2010 03:44 PM
cant connect to wpa2 network in puppy bloodykandy Linux - Newbie 1 02-18-2010 07:51 AM
Puppy 4.0 won't connect to ISP, PPP problem Old Goat Linux - Newbie 1 11-03-2008 02:23 AM
Got my dual boot working, now LINUX WON'T CONNECT TO THE INTERNET!?!?!? :-( Ausar Linux - Newbie 2 10-04-2004 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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