You are not logged in.

#1 2013-01-05 00:50:49

theironknuckle
Member
Registered: 2011-06-26
Posts: 15

Stuck at connecting to wireless stage

Following the beginners guide, and I'd like to get wireless set up before I commit to an install.

I live at University (UTS, Sydney Australia), and we connect to the internet here by providing username and password. The network name/ssid/essid is "UTS-WPA"

On the wireless setup page it says to execute

iw dev wlan0 scan

and take note of the following

That wonderful wiki wrote:

The important points to check:

    ESSID: the "name" of the access point.
    Quality: in general try something above 40/70.
    Encryption key: if it is "on", check if you can see any line regarding
        WEP, WPA, or RSN. Note that RSN and WPA2 are different names for the protocol.
        Group cipher: value in TKIP, CCMP, both, others.
        Pairwise ciphers: value in TKIP, CCMP, both, others. Not necessarily the same value than Group cipher.
        Authentication Suites: value in PSK, 802.1x, others. For home router, you'll usually find PSK (i.e. passphrase). In universities, you are more likely to find 802.1x suite which requires login and password. Then you will need to know which key management is in use (e.g. EAP), and what encapsulation it uses (e.g. PEAP). Find more details at Wikipedia:List_of_authentication_protocols and the sub-articles.

The output on my box is a total mess though. The network I want to connect to is listed multiple times and it's a massive information overload. (See appendix)

Continuing down the page wireless setup page reveals I have to muck around with wpa_supplicant. Here's my /etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant GROUP=wheel
eapol_version = 1
ap_scan = 1
fast_reauth = 1

network={
    ssid = "UTS-WPA"
    proto = RSN
    key_mgmt = WPA-EAP
    pairwise = TKIP CCMP
    auth_alg = OPEN
    group = TKIP
    eap = PEAP
    identity = "********"
    password = "********"
}

Executing

wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant.conf

gives me the following error

Line 2: unknown global field 'eapol_version = 1'.
Line 2: Invalid configuration line 'eapol_version = 1'.
Line 3: unknown global field 'ap_scan = 1'.
Line 3: Invalid configuration line 'ap_scan = 1'.
Line 4: unknown global field 'fast_reauth = 1'.
Line 4: Invalid configuration line 'fast_reauth = 1'.
Line 7: unknown network field 'ssid '.
Line 8: unknown network field 'proto '.
Line 9: unknown network field 'key_mgmt '.
Line 10: unknown network field 'pairwise '.
Line 11: unknown network field 'auth_alg '.
Line 12: unknown network field 'group '.
Line 13: unknown network field 'eap '.
Line 14: unknown network field 'identity '.
Line 15: unknown network field 'password '.
Line 16: WPA-PSK accepted for key management, but no PSK configured.
Line 16: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.

(It is interesting to note that there are a totally different set of errors which seem much more reasonable if I direct wpa_supplicant to the existing example wpa_supplicant.conf instead of my one)

What am I doing wrong? The issues may be arising because I don't know how to interpret the below datadump.

Appendix:

BSS d8:c7:c8:b2:bb:41 (on wlan0)
	TSF: 98989626195 usec (1d, 03:29:49)
	freq: 2412
	beacon interval: 100
	capability: ESS Privacy ShortPreamble (0x0031)
	signal: -74.00 dBm
	last seen: 936 ms ago
	Information elements from Probe Response frame:
	SSID: UTS-WPA
	Supported rates: 1.0* 2.0* 5.5 6.0 9.0 11.0 12.0 18.0 
	DS Parameter set: channel 1
	ERP: <no flags>
	Extended supported rates: 24.0 36.0 48.0 54.0 
	RSN:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: IEEE 802.1X
		 * Capabilities: (0x0000)
	HT capabilities:
		Capabilities: 0x104c
			HT20
			SM Power Save disabled
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT RX MCS rate indexes supported: 0-15
		HT TX MCS rate indexes are undefined
	HT operation:
		 * primary channel: 1
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 0
		 * HT protection: non-HT mixed
		 * non-GF present: 0
		 * OBSS non-GF present: 1
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	WPA:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: IEEE 802.1X
	WMM:	 * Parameter version 1
		 * u-APSD
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 54:a5:1b:d6:8e:c3 (on wlan0)
	TSF: 497979836203 usec (5d, 18:19:39)
	freq: 2422
	beacon interval: 100
	capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
	signal: -84.00 dBm
	last seen: 876 ms ago
	Information elements from Probe Response frame:
	SSID: pocketwifi-8ec3
	Supported rates: 1.0* 2.0* 5.5* 6.0 9.0 11.0* 12.0 18.0 
	DS Parameter set: channel 3
	Country: AU	Environment: Indoor/Outdoor
		Channels [1 - 13] @ 20 dBm
	ERP: <no flags>
	Extended supported rates: 24.0 36.0 48.0 54.0 
	WPA:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: CCMP TKIP
		 * Authentication suites: PSK
	WPS:	 * Version: 1.0
		 * Wi-Fi Protected Setup State: 2 (Configured)
		 * Config methods: Label, Display, PBC, Keypad
BSS d8:c7:c8:b6:ce:a1 (on wlan0)
	TSF: 19447091584 usec (0d, 05:24:07)
	freq: 2437
	beacon interval: 100
	capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
	signal: -71.00 dBm
	last seen: 653 ms ago
	Information elements from Probe Response frame:
	SSID: UTS-WPA
	Supported rates: 1.0* 2.0* 5.5 6.0 9.0 11.0 12.0 18.0 
	DS Parameter set: channel 6
	ERP: <no flags>
	Extended supported rates: 24.0 36.0 48.0 54.0 
	RSN:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: IEEE 802.1X
		 * Capabilities: (0x0000)
	HT capabilities:
		Capabilities: 0x104c
			HT20
			SM Power Save disabled
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT RX MCS rate indexes supported: 0-15
		HT TX MCS rate indexes are undefined
	HT operation:
		 * primary channel: 6
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 0
		 * HT protection: non-HT mixed
		 * non-GF present: 0
		 * OBSS non-GF present: 1
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	WPA:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: IEEE 802.1X
	WMM:	 * Parameter version 1
		 * u-APSD
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS d8:c7:c8:b2:a9:c1 (on wlan0)
	TSF: 123638004955 usec (1d, 10:20:38)
	freq: 2437
	beacon interval: 100
	capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
	signal: -75.00 dBm
	last seen: 693 ms ago
	Information elements from Probe Response frame:
	SSID: UTS-WPA
	Supported rates: 1.0* 2.0* 5.5 6.0 9.0 11.0 12.0 18.0 
	DS Parameter set: channel 6
	ERP: <no flags>
	Extended supported rates: 24.0 36.0 48.0 54.0 
	RSN:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: IEEE 802.1X
		 * Capabilities: (0x0000)
	HT capabilities:
		Capabilities: 0x104c
			HT20
			SM Power Save disabled
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT RX MCS rate indexes supported: 0-15
		HT TX MCS rate indexes are undefined
	HT operation:
		 * primary channel: 6
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 0
		 * HT protection: non-HT mixed
		 * non-GF present: 0
		 * OBSS non-GF present: 1
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	WPA:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: IEEE 802.1X
	WMM:	 * Parameter version 1
		 * u-APSD
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 78:a0:51:2f:bb:58 (on wlan0)
	TSF: 2051179315608 usec (23d, 17:46:19)
	freq: 2462
	beacon interval: 100
	capability: ESS Privacy ShortSlotTime (0x0411)
	signal: -81.00 dBm
	last seen: 410 ms ago
	Information elements from Probe Response frame:
	SSID: MMK
	Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0 
	DS Parameter set: channel 11
	ERP: <no flags>
	RSN:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: CCMP TKIP
		 * Authentication suites: PSK
		 * Capabilities: 16-PTKSA-RC (0x000c)
	Extended supported rates: 6.0 9.0 12.0 48.0 
	HT capabilities:
		Capabilities: 0x18fc
			HT20
			SM Power Save disabled
			RX Greenfield
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			No RX STBC
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT RX MCS rate indexes supported: 0-15
		HT TX MCS rate indexes are undefined
	HT operation:
		 * primary channel: 11
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 0
		 * HT protection: nonmember
		 * non-GF present: 0
		 * OBSS non-GF present: 1
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	WPS:	 * Version: 1.0
		 * Wi-Fi Protected Setup State: 2 (Configured)
		 * Selected Registrar: 0x0
		 * Response Type: 3 (AP)
		 * UUID: 81bb61bb-1eed-8174-38b7-460697b7bf39
		 * Manufacturer: Broadcom
		 * Model: Broadcom
		 * Model Number: 123456
		 * Serial Number: 1234
		 * Primary Device Type: 6-0050f204-1
		 * Device name: BoBLite
		 * Config methods: Label, PBC
		 * RF Bands: 0x1
	WPA:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: CCMP TKIP
		 * Authentication suites: PSK
		 * Capabilities: 16-PTKSA-RC (0x000c)
	WMM:	 * Parameter version 1
		 * u-APSD
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS d8:c7:c8:b2:a6:41 (on wlan0)
	TSF: 184151245184 usec (2d, 03:09:11)
	freq: 2462
	beacon interval: 100
	capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
	signal: -83.00 dBm
	last seen: 390 ms ago
	Information elements from Probe Response frame:
	SSID: UTS-WPA
	Supported rates: 1.0* 2.0* 5.5 6.0 9.0 11.0 12.0 18.0 
	DS Parameter set: channel 11
	ERP: <no flags>
	Extended supported rates: 24.0 36.0 48.0 54.0 
	RSN:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: IEEE 802.1X
		 * Capabilities: (0x0000)
	HT capabilities:
		Capabilities: 0x104c
			HT20
			SM Power Save disabled
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT RX MCS rate indexes supported: 0-15
		HT TX MCS rate indexes are undefined
	HT operation:
		 * primary channel: 11
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 0
		 * HT protection: non-HT mixed
		 * non-GF present: 0
		 * OBSS non-GF present: 1
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	WPA:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: IEEE 802.1X
	WMM:	 * Parameter version 1
		 * u-APSD
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS d8:c7:c8:b7:2e:61 (on wlan0)
	TSF: 506397593984 usec (5d, 20:39:57)
	freq: 2412
	beacon interval: 100
	capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
	signal: -77.00 dBm
	last seen: 1006 ms ago
	SSID: UTS-WPA
	Supported rates: 1.0* 2.0* 5.5 11.0 6.0 9.0 12.0 18.0 
	DS Parameter set: channel 1
	TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x1 Bitmap[0] 0x0
	ERP: <no flags>
	Extended supported rates: 24.0 36.0 48.0 54.0 
	RSN:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: IEEE 802.1X
		 * Capabilities: (0x0000)
	HT capabilities:
		Capabilities: 0x104c
			HT20
			SM Power Save disabled
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT RX MCS rate indexes supported: 0-15
		HT TX MCS rate indexes are undefined
	HT operation:
		 * primary channel: 1
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 0
		 * HT protection: non-HT mixed
		 * non-GF present: 0
		 * OBSS non-GF present: 1
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	WPA:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP CCMP
		 * Authentication suites: IEEE 802.1X
	WMM:	 * Parameter version 1
		 * u-APSD
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS c4:7d:4f:51:5a:42 (on wlan0)
	TSF: 1954956663160 usec (22d, 15:02:36)
	freq: 2437
	beacon interval: 102
	capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
	signal: -82.00 dBm
	last seen: 726 ms ago
	SSID: eduroam
	Supported rates: 1.0* 2.0* 5.5* 6.0 9.0 11.0* 12.0 18.0 
	DS Parameter set: channel 6
	TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x18 Bitmap[0] 0x10 (+ 3 octets)
	Country: AU	Environment: Indoor/Outdoor
		Channels [1 - 11] @ 30 dBm
	ERP: <no flags>
	HT capabilities:
		Capabilities: 0x182c
			HT20
			SM Power Save disabled
			RX HT20 SGI
			No RX STBC
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT RX MCS rate indexes supported: 0-15
		HT TX MCS rate indexes are undefined
	RSN:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: CCMP
		 * Authentication suites: IEEE 802.1X
		 * Capabilities: 4-PTKSA-RC 4-GTKSA-RC (0x0028)
	Extended supported rates: 24.0 36.0 48.0 54.0 
	HT operation:
		 * primary channel: 6
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 0
		 * HT protection: non-HT mixed
		 * non-GF present: 1
		 * OBSS non-GF present: 0
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	WPA:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP
		 * Authentication suites: IEEE 802.1X
		 * Capabilities: (0x0000)
	WMM:	 * Parameter version 1
		 * u-APSD
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS c4:7d:4f:51:5a:41 (on wlan0)
	TSF: 1954956663959 usec (22d, 15:02:36)
	freq: 2437
	beacon interval: 102
	capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
	signal: -88.00 dBm
	last seen: 700 ms ago
	SSID: usyd-guest
	Supported rates: 1.0* 2.0* 5.5* 6.0 9.0 11.0* 12.0 18.0 
	DS Parameter set: channel 6
	TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x18 Bitmap[0] 0x10 (+ 3 octets)
	Country: AU	Environment: Indoor/Outdoor
		Channels [1 - 11] @ 30 dBm
	ERP: <no flags>
	HT capabilities:
		Capabilities: 0x182c
			HT20
			SM Power Save disabled
			RX HT20 SGI
			No RX STBC
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT RX MCS rate indexes supported: 0-15
		HT TX MCS rate indexes are undefined
	RSN:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: CCMP
		 * Authentication suites: PSK
		 * Capabilities: 4-PTKSA-RC 4-GTKSA-RC (0x0028)
	Extended supported rates: 24.0 36.0 48.0 54.0 
	HT operation:
		 * primary channel: 6
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 0
		 * HT protection: non-HT mixed
		 * non-GF present: 1
		 * OBSS non-GF present: 0
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	WPA:	 * Version: 1
		 * Group cipher: TKIP
		 * Pairwise ciphers: TKIP
		 * Authentication suites: PSK
		 * Capabilities: (0x0000)
	WMM:	 * Parameter version 1
		 * u-APSD
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec

Last edited by theironknuckle (2013-01-20 23:28:02)

Offline

#2 2013-01-05 00:53:52

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Stuck at connecting to wireless stage

Have you tried using netcfg (wifi-menu)?

Offline

#3 2013-01-05 00:56:42

theironknuckle
Member
Registered: 2011-06-26
Posts: 15

Re: Stuck at connecting to wireless stage

Yes, Big blue screen with CONNECTING FAILED Do you want to keep the generated profile?

Speaking of which, where does this generated profile get stored when I hit yes? would be nice to have a look at it.

Offline

#4 2013-01-05 01:00:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,447
Website

Re: Stuck at connecting to wireless stage

The profiles are stored in memory only.  But I'm pretty sure they are just created by wpa_passphrase anyways.

Use wpa_passphrase to generate a wpa_supplicant.conf, then run wpa_supplicant as you did above - just drop the "-Dwext".

EDIT: I don't think dropping the "-Dwext" is important, but you don't need it.  wpa_supplicant is pretty good at detecting what it should use - and unless you have a specific reason to do so, I don't think you should try to override it.

Last edited by Trilby (2013-01-05 01:01:09)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2013-01-05 01:05:04

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Stuck at connecting to wireless stage

You can find the profiles in /etc/network.d, though as trilby mentioned, they will not survive a reboot.

Offline

#6 2013-01-05 01:27:38

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 252

Re: Stuck at connecting to wireless stage

I use netcfg for the wifi at my university as well. They recently set up the network so we also have multiple ESSIDS all with the same name... so I believe netcfg could not decide which to connect to. In your provided output you have this

 RSN:     * Version: 1

which confused me and makes me think it is WPA and not WPA2, and I believe the network is actually a combination. Therefore you may wish to change

proto = RSN

to

proto = WPA RSN

and try that.

You might also need to put this in your profile

IWCONFIG="ap d8:c7:c8:b2:bb:41"

to make it associate with the right ESSID. However I am unsure.

Offline

#7 2013-01-05 05:40:58

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Stuck at connecting to wireless stage

@theironknuckle: Please use [ code ] tags instead of [ quote ] ones for those listings.


To know or not to know ...
... the questions remain forever.

Offline

#8 2013-05-27 11:28:59

theironknuckle
Member
Registered: 2011-06-26
Posts: 15

Re: Stuck at connecting to wireless stage

Coming back 5 months later to let everyone know that I finally got this sorted out. Turns out the cryptic errors were due to some extremely fussy parsing of the wpa_supplicant.conf file (Damn you UNIX, I should have seen that coming smile) I had spaces on either side of each = sign. Also I had indented with spaces instead of tabs. To anyone out there on the internet who ends up in this thread (it's at the top of some google searches), and is getting similar errors to me: pay EXTREMELY close attention to the whitespace in your wpa_supplicant.conf.

I had to continue mucking around, but eventually I got things to connect witht he following settings (note that whitespace isn't correct here):

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1

network={
        ssid="UTS-WPA"
        scan_ssid=1
        proto=WPA RSN
        key_mgmt=WPA-EAP
        pairwise=CCMP
        auth_alg=OPEN
        group=TKIP CCMP
        eap=PEAP
        identity="********"
        password="********"
}

Only problem now is that I can't ping anyone :S I can run a pacman -Syu just fine, but the moment I try to ping www.google.com, it just sits there and I have to ^C Any suggestions?

Last edited by theironknuckle (2013-06-18 10:56:36)

Offline

Board footer

Powered by FluxBB