Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
12-12-2013, 01:40 PM
|
#1
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Rep: 
|
wlan0: carrier lost
Whats up *nix users. I'm here today because I have an unexpected wireless issue. The reason I say it's unexpected is because, well, it shouldn't be happening. I'm not confused on what I'm supposed to do, just on the outcome. Anyway, I've still been configuring my newly installed Slackware, and I decided I didn't want to use Networkmanager anymore. What I originally aimed to do was manually configure wireless, and do so with a static IP. I've done this in Arch linux and oddly enough it was quite easy. Slackware is proving to be more difficult. So for the sake of troubleshooting I decided to forget about the static IP part, and just try to get my wireless connection manually configured using DHCP.
Just as the documentation says, I edited the /etc/rc.d/rc.inet1.conf file with the proper settings as such:
Code:
# Config information for wlan0 (using dhcp):
IFNAME[0]="wlan0"
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]="my_ssid"
WLAN_WPA[0]="wpa_supplicant"
WLAN_WPADRIVER[0]="wext"
Here's my wpa_supplicant file:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
eapol_version=1
ap_scan=1
fast_reauth=1
network={
scan_ssid=0
ssid="my_ssid"
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk="psk generated using wpa_passhprase"
}
I've disabled network manager, and I'm not using rc.wireless.conf for anything as I know that it's deprecated. However, I keep seeing this error on startup:
Code:
Polling for DHCP server on interface wlan0:
dhcpcd[1976]: version 5.5.6 starting
dhcpcd[1976]: all: not configured to accept IPv6 RAs
dhcpcd[1976]: wlan0: carrier acquired
dhcpcd[1976]: wlan0: carrier lost
dhcpcd[1976]: wlan0: waiting for carrier
dhcpcd[1976]: timed out
dhcpcd[1976]: allowing 8 seconds for IPv4LL timeout
dhcpcd[1976]: timed out
All the troubleshooting I've done has gotten me to this point(trust me I was worse off before). I don't know how to proceed further because, at least IMO, I've followed all the wireless setup guides I can find to a tee. Any input would be much appreciated, thanks.
|
|
|
12-12-2013, 08:56 PM
|
#2
|
Member
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583
|
I think you need two files.
The way I do it is have a
/where/ever/wpa.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="TheNameOfIt"
scan_ssid=1
key_mgmt=WPA-PSK
psk="hand-typed-plain-text-passphrase"
}
which is called by the actual file I run as a script:
/where/ever/TheNameOfIt.sh
Code:
#!/bin/sh
iface=wlan1
#shut down interface
ifconfig wlan1 down
#set ad-hoc/management of wireless device
iwconfig wlan1 mode Managed
#enable interface
ifconfig wlan1 iface up
#stop any persistent wireless wpa2 sessions
killall wpa_supplicant
#apply WPA/WPA2 personal settings to device
wpa_supplicant -B -Dwext -i wlan1 -c ~/wpa.conf -dd
#obtain an IP address
dhclient wlan1
As you can see "wpa.conf" is referenced by my TheNameOfIt.sh script.
There is also only one "ctrl_interface" in my wpa.conf file.
Try my way as a template, and see if you get anywhere?
I do call the script as root BTW.
FWIW, I have absolutely zero reference to wlan1 (or wlan0 for that matter) in my /etc/rc.d/rc.inet1.conf. It's "virgin".
HTH
|
|
|
12-14-2013, 06:28 PM
|
#3
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
I am root on my system. I will try your way(at work atm) but Im just confused as to why it doesn't work following the slckbook guide. Thanks for responding by the way.
So you are saying you dont use inet1.conf at all?
Last edited by slack_; 12-14-2013 at 06:29 PM.
|
|
|
12-14-2013, 07:20 PM
|
#4
|
Member
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583
|
Right. Never edited inet1.conf. I'm not one to RTFM anyway...
I found out about how to do this from someone's post on this very forum.
I'm probably not the best one to help you on this, but it has worked
for me just fine. Full disclosure: I normally just use wicd-curses since
I often connect to various access points.
|
|
|
12-14-2013, 08:13 PM
|
#5
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
Id be using that as well but at least for my home connection I wanted to do ot manually and eventually set up a static IP(tried that right off the bat but that did didn't work either). Just trying to learn as much about Slack as possible.
|
|
|
12-14-2013, 10:27 PM
|
#6
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860
|
Which version of slackware? The rc.inet1.conf file that you get on installation has a rather extensive example in the commented out section.
|
|
|
12-14-2013, 10:57 PM
|
#7
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
Slackware 14.0, but as I've stated it's not that I don't know what to do. I've followed the slackbook, as well as referred to the well documented /etc/rc.d/rc.inet1.conf file. The problem is that for whatever reason after following the directions exactly, it still doesn't work.
I really want to get it to work the proper way before trying out other methods.
EDIT: Ok, seriously. This makes no sense whatsoever. I've tried everything I can possibly think of. I'm following the guides exactly yet it refuses to work I keep getting this error:
Code:
Polling for DHCP server on interface wlan0:
dhcpcd[1976]: version 5.5.6 starting
dhcpcd[1976]: all: not configured to accept IPv6 RAs
dhcpcd[1976]: wlan0: carrier acquired
dhcpcd[1976]: wlan0: carrier lost
dhcpcd[1976]: wlan0: waiting for carrier
dhcpcd[1976]: timed out
dhcpcd[1976]: allowing 8 seconds for IPv4LL timeout
dhcpcd[1976]: timed out
I'm beyond frustrated at this point. Here's my inet1.conf:
Code:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.
# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.
# =============================================================================
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""
# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""
# Default gateway IP address:
GATEWAY="192.168.1.1"
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"
# Example of how to configure a bridge:
# Note the added "BRNICS" variable which contains a space-separated list
# of the physical network interfaces you want to add to the bridge.
#IFNAME[0]="br0"
#BRNICS[0]="eth0"
#IPADDR[0]="192.168.0.1"
#NETMASK[0]="255.255.255.0"
#USE_DHCP[0]=""
#DHCP_HOSTNAME[0]=""
## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]=""
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
WLAN_ESSID[4]="myssid"
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"
## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0" # Use a different interface name nstead of
# the default 'eth4'
#HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[4]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR[4]="" # Request a specific IP address from the DHCP
# server
#WLAN_ESSID[4]=DARKSTAR # Here, you can override _any_ parameter
# defined in rc.wireless.conf, by prepending
# 'WLAN_' to the parameter's name. Useful for
# those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=thekey"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (separated with the pipe (|)
# character, see the example).
and my wpa_supplicant.conf:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
network={
scan_ssid=1
ssid="myssid"
key_mgmt=WPA2
psk="mypass"
}
However, I've tried many different things in my inet1.conf. I've changed all the uncommented fields from [4] to [0] to match iface wlan0, as well I've changed them to [1]. I've commented and uncommented all fields in different variations. Anything I could possibly think of. Nothing works. Why? What's the point of having a guide if following it doesn't actually solve anything?
Last edited by slack_; 12-15-2013 at 12:15 AM.
|
|
|
12-15-2013, 12:34 AM
|
#8
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860
|
OK, I just got it to work for me (Slackware64 14.1, but I don't think there's a big difference).
I think that your key_mgmt should be set to WPA-PSK. If you're going to use DHCP, I'd set GATEWAY to "".
The only thing that I've got set in rc.inet1.conf is
Code:
IFNAME[4]="wlan0"
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="hp635"
My /etc/wpa_supplicant.conf contains
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
eapol_version=1
network={
scan_ssid=0
ssid="NOYFB"
#psk="As if I would tell anyone."
psk=ecf036b1e0108a52c00ba66723cc3a14cb7bef84f0a0d56ea0f11ec18b38eb44
proto=WPA RSN
pairwise=CCMP TKIP
group=CCMP TKIP
key_mgmt=WPA-PSK
}
I won't claim that's the minimum amount of stuff for wpa_supplicant.conf, but that's what I had when it started working. 
|
|
|
12-15-2013, 12:42 AM
|
#9
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
I had it set to WPA-PSK beforehand, and had GATEWAY set to nothing as well. That didn't work either. I'll try to have a more complex wpa_supplicant and a simpler inet1.conf. I'm starting to think inet1.conf just.... Doesn't work for me.
|
|
|
12-15-2013, 12:53 AM
|
#10
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860
|
Well, you can run the command
Code:
wpa_supplicant -c/etc/wpa_supplicant.conf -Dwext -iwlan0 -d
in another window to see what's going on as Mr. Hameleer's site mentions. That helped me figure out what the devil was going on. The wpa_supplicant.conf man page had some other hints.
|
|
|
12-15-2013, 12:54 AM
|
#11
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
Thanks very much. I was looking for something like this, just in the wrong place. I had tried looking for a more verbose output to dhcpcd. My brain has grown tired of this troubleshooting(it's been hours) but I will look over the output and hopefully fix the problem soon.
|
|
|
12-15-2013, 02:20 AM
|
#12
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
Correct me if I'm wrong but the DHCP_HOSTNAME is the hostname of your machine i.e. root@whatever < correct?
|
|
|
12-15-2013, 09:15 AM
|
#13
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860
|
That's normally the case.
It's the string you provide to the DHCP server as part of the protocol to uniquely identify your machine. If you are talking to a cable service provider's DHCP server on the router they provide, then it's whatever string they tell you to use. If you don't provide a value, the DHCP server will normally use the MAC address of the card that's talking to it (since if that's not unique, you're going to have problems galore).
|
|
|
12-15-2013, 02:21 PM
|
#14
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
Ok. I've set my /etc/inet1.conf to be the same as yours(obviously with my information), and my /etc/wpa_supplicant.conf to be the same. Stopped rc.networkmanager(once again) and restarted. Once again, it failed to work. Once again, I have no clue why. However, I ran the wpa_supplicant command mentioned above and got this output:
Code:
wpa_supplicant v1.0
random: Trying to read entropy from /dev/random
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge '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='root'
eapol_version=1
Priority group 0
id=0 ssid='Failnet'
WEXT: cfg80211-based driver detected
wext: interface wlan0 phy: phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
wlan0: Own MAC address: 74:2f:68:66:cb:2d
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_countermeasures
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0 sec 100000 usec
WPS: Set UUID for interface wlan0
WPS: UUID based on MAC address - hexdump(len=16): 13 d9 02 08 31 51 5c a6 b7 ec 82 9b 35 1a b1 bd
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
ctrl_interface_group=0 (from group name 'root')
wlan0: Added interface wlan0
random: Got 16/20 bytes from /dev/random
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=16
wlan0: State: DISCONNECTED -> SCANNING
wlan0: Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 10 seconds
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=16
wlan0: Event SCAN_RESULTS (3) received
Received 1686 bytes of scan results (3 BSSes)
wlan0: BSS: Start scan result update 1
wlan0: BSS: Add new id 0 BSSID a0:21:b7:a9:91:30 SSID 'Failnet'
wlan0: BSS: Add new id 1 BSSID cc:35:40:50:49:d1 SSID 'HOME-49D1'
wlan0: BSS: Add new id 2 BSSID 00:1c:10:22:82:76 SSID 'linksys'
wlan0: New scan results available
wlan0: Selecting BSS from priority group 0
wlan0: 0: a0:21:b7:a9:91:30 ssid='Failnet' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-45 wps
wlan0: selected based on RSN IE
wlan0: selected BSS a0:21:b7:a9:91:30 ssid='Failnet'
wlan0: Request association: reassociate: 0 selected: a0:21:b7:a9:91:30 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING
wlan0: Trying to associate with a0:21:b7:a9:91:30 (SSID='Failnet' freq=2417 MHz)
wlan0: Cancelling scan request
wlan0: WPA: clearing own WPA/RSN IE
wlan0: Automatic auth_alg selection: 0x1
wlan0: RSN: using IEEE 802.11i/D9.0
wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
wlan0: WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
wlan0: WPA: using GTK CCMP
wlan0: WPA: using PTK CCMP
wlan0: WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
wlan0: No keys have been configured - skip key clearing
wlan0: 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
wlan0: Setting authentication timeout: 10 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
RSN: Ignored PMKID candidate without preauth flag
wlan0: Checking for other virtual interfaces sharing same radio (phy0) in event_scan_results
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=16
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b04 len=16
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=23
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8c08 len=193
AssocResp IE wireless event - hexdump(len=177): 01 08 82 84 8b 0c 12 96 18 24 32 04 30 48 60 6c dd 18 00 50 f2 02 01 01 82 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 dd 09 00 03 7f 01 01 00 00 ff 7f dd 0a 00 03 7f 04 01 00 02 00 40 00 dd 1e 00 90 4c 33 cc 11 1b ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2d 1a cc 11 1b ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 1a 00 90 4c 34 02 08 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3d 16 02 08 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b15 len=24
Wireless event: new AP: a0:21:b7:a9:91:30
wlan0: Event ASSOCINFO (4) received
wlan0: Association info event
resp_ies - hexdump(len=177): 01 08 82 84 8b 0c 12 96 18 24 32 04 30 48 60 6c dd 18 00 50 f2 02 01 01 82 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 dd 09 00 03 7f 01 01 00 00 ff 7f dd 0a 00 03 7f 04 01 00 02 00 40 00 dd 1e 00 90 4c 33 cc 11 1b ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2d 1a cc 11 1b ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 1a 00 90 4c 34 02 08 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3d 16 02 08 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
wlan0: Event ASSOC (0) received
wlan0: State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
wlan0: Associated to a new BSS: BSSID=a0:21:b7:a9:91:30
wlan0: No keys have been configured - skip key clearing
wlan0: Associated with a0:21:b7:a9:91:30
wlan0: WPA: Association event - clear replay counter
wlan0: 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: enable timer tick
EAPOL: SUPP_BE entering state IDLE
wlan0: Setting authentication timeout: 10 sec 0 usec
wlan0: Cancelling scan request
wlan0: RX EAPOL from a0:21:b7:a9:91:30
wlan0: Setting authentication timeout: 10 sec 0 usec
wlan0: IEEE 802.1X RX: version=2 type=3 length=95
wlan0: EAPOL-Key type=2
wlan0: key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
wlan0: key_length=16 key_data_length=0
replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
key_nonce - hexdump(len=32): 4d 6e c2 f1 5f 90 81 ae 95 25 89 45 65 97 7c 28 bf 01 2a fb 39 8f cb c5 c7 77 5a 49 35 7a 4a 91
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
wlan0: State: ASSOCIATED -> 4WAY_HANDSHAKE
wlan0: WPA: RX message 1 of 4-Way Handshake from a0:21:b7:a9:91:30 (ver=2)
RSN: msg 1/4 key data - hexdump(len=0):
WPA: Renewed SNonce - hexdump(len=32): c1 33 be 7b 93 a0 b5 f1 2c 1a e9 f6 99 87 07 5e b5 5e 02 54 a1 55 74 fc a8 af 70 5c 4d 18 1c d6
WPA: PTK derivation - A1=74:2f:68:66:cb:2d A2=a0:21:b7:a9:91:30
WPA: Nonce1 - hexdump(len=32): c1 33 be 7b 93 a0 b5 f1 2c 1a e9 f6 99 87 07 5e b5 5e 02 54 a1 55 74 fc a8 af 70 5c 4d 18 1c d6
WPA: Nonce2 - hexdump(len=32): 4d 6e c2 f1 5f 90 81 ae 95 25 89 45 65 97 7c 28 bf 01 2a fb 39 8f cb c5 c7 77 5a 49 35 7a 4a 91
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=48): [REMOVED]
WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01
wlan0: WPA: Sending EAPOL-Key 2/4
WPA: KCK - hexdump(len=16): [REMOVED]
WPA: Derived Key MIC - hexdump(len=16): 1f 67 3c f9 09 fd 76 94 2b 17 bb d3 b1 a8 84 e7
wlan0: RX EAPOL from a0:21:b7:a9:91:30
wlan0: IEEE 802.1X RX: version=2 type=3 length=151
wlan0: EAPOL-Key type=2
wlan0: key_info 0x13ca (ver=2 keyidx=0 rsvd=0 Pairwise Install Ack MIC Secure Encr)
wlan0: key_length=16 key_data_length=56
replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
key_nonce - hexdump(len=32): 4d 6e c2 f1 5f 90 81 ae 95 25 89 45 65 97 7c 28 bf 01 2a fb 39 8f cb c5 c7 77 5a 49 35 7a 4a 91
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): bc 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): 26 ee 87 32 36 c2 a1 a2 99 3a 62 25 ef 96 60 e3
RSN: encrypted key data - hexdump(len=56): 6c ea 79 4c b1 d4 7c fc ff b0 eb 99 d0 12 7f b5 27 b4 25 9b b2 85 1d 5f 9d 9c cb 78 3e 75 bc ff c6 ce 71 f6 56 89 c7 e9 9e 08 dc c2 67 6d 69 ab 3f 02 6e 7b 20 5d dc 6a
WPA: decrypted EAPOL-Key key data - hexdump(len=48): [REMOVED]
wlan0: State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
wlan0: WPA: RX message 3 of 4-Way Handshake from a0:21:b7:a9:91:30 (ver=2)
WPA: IE KeyData - hexdump(len=48): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 dd 16 00 0f ac 01 02 00 48 ea 44 06 95 b3 27 81 fb ac f8 47 c1 70 94 cd dd 00
WPA: RSN IE in EAPOL-Key - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
WPA: GTK in EAPOL-Key - hexdump(len=24): [REMOVED]
wlan0: WPA: Sending EAPOL-Key 4/4
WPA: KCK - hexdump(len=16): [REMOVED]
WPA: Derived Key MIC - hexdump(len=16): 44 7c 74 33 2c cd c1 30 a4 d7 4f bb ae 91 e6 dd
wlan0: WPA: Installing PTK to the driver
wpa_driver_wext_set_key: alg=3 key_idx=0 set_tx=1 seq_len=6 key_len=16
EAPOL: External notification - portValid=1
wlan0: State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
RSN: received GTK in pairwise handshake - hexdump(len=18): [REMOVED]
WPA: Group Key - hexdump(len=16): [REMOVED]
wlan0: WPA: Installing GTK to the driver (keyidx=2 tx=0 len=16)
WPA: RSC - hexdump(len=6): bc 00 00 00 00 00
wpa_driver_wext_set_key: alg=3 key_idx=2 set_tx=0 seq_len=6 key_len=16
wlan0: WPA: Key negotiation completed with a0:21:b7:a9:91:30 [PTK=CCMP GTK=CCMP]
wlan0: Cancelling authentication timeout
wlan0: State: GROUP_HANDSHAKE -> COMPLETED
wlan0: CTRL-EVENT-CONNECTED - Connection to a0:21:b7:a9:91:30 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
WEXT: if_removed already cleared - ignore event
EAPOL: startWhen --> 0
EAPOL: disable timer tick
random: Got 4/4 bytes from /dev/random
wlan0: BSS: Expire BSS 1 due to age
wlan0: BSS: Remove id 1 BSSID cc:35:40:50:49:d1 SSID 'HOME-49D1'
wlan0: BSS: Expire BSS 2 due to age
wlan0: BSS: Remove id 2 BSSID 00:1c:10:22:82:76 SSID 'linksys'
After that it hangs for... well I stopped it because I cooked breakfast, went to shower, got changed, took the dog out, and found it still here when I got back. It seems as though it is connecting at some point, but idk. I'm on the verge of giving up on inet1.conf completely and just sticking with networkmanager :/
|
|
|
12-15-2013, 04:15 PM
|
#15
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860
|
Well, the wpa_supplicant output appears to tell me that it was able to authenticate.
What you can try next is - As root, issue a "/etc/rc.d/rc.inet1 wlan0_stop" command.
- Open an xterm (or konsole) as root and run the wpa_supplicant command with debug output.
- As root, issue a "/etc/rc.d/rc.inet1 wlan0_start" command.
Then see what happens in the wpa_supplicant output window as well as the rc.inet1 command output.
|
|
|
All times are GMT -5. The time now is 04:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|