LinuxQuestions.org
Help answer threads with 0 replies.
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-29-2014, 11:22 PM   #1
malsagenda
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Rep: Reputation: Disabled
Wifi unable to associate on Atheros AR242x / AR542x


I installed Precise Puppy 5.7.1 on an Acer Aspire One A0751h with a Atheros AR242x / AR542x card for wifi. Whenever I try to connect to my home WiFi network with any of the network connection software that comes one the distribution I get an error. Specifically when I use Puppy Network Wizard I get an error which's details say "Access Point: Not-Associated" and "wpa_state=ASSOCIATING". I've spent hours on google trying this supposed solution and that supposed solution and so far nothing has changed anything. Any Help would be greatly appreciated.
Please keep in mind that this is my first attempt to put linux on a computer and as such have very limited knowledge of the OS.
 
Old 01-31-2014, 08:35 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello malsagenda, welcome to LQ,

please open a terminal on your Linux-machine and execute (as root or with sudo) the command
Code:
lspci -k | grep -iA3 wire
or
Code:
lspci -k | grep -iA3 athe
which will show us exactly which wifi adapter you have and if an appropriate kernel-module is loaded. Post the output here. Also execute
Code:
iwconfig
and
Code:
iwlist wlan0 scan
both as root.

If you have already wpa_supplicant installed, you should use it (on the commandline) because it gives you verbose errormessages (which can be helpful). Edit the /etc/wpa_supplicant.conf file (maybe /etc/wpa_supplicant/wpa_supplicant.conf on your system) and enter the correct settings for your accesspoint (there should be an examplefile in /usr/share/doc/wpa_supplicant). Then execute
Code:
wpa_supplicant -Dwext -iwlan0 -c/pathtowpa_supplicant.conf
be sure to use the correct path for the -c option. The take a look at the output.

Markus
 
Old 01-31-2014, 11:00 AM   #3
r41d3n
Member
 
Registered: Mar 2013
Distribution: Debian
Posts: 42

Rep: Reputation: Disabled
Check the system logs on /var/log/messages, /var/log/wpa_supplicant.log or /var/log/syslog for errors and post here.
 
Old 01-31-2014, 10:34 PM   #4
malsagenda
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Code:
# lspci -k | grep -iA3 wire
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
	Subsystem: Foxconn International, Inc. Device e00d
	Kernel driver in use: ath5k
	Kernel modules: ath5k
Code:
# lspci -k | grep -iA3 athe
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
	Subsystem: Foxconn International, Inc. Device e00d
	Kernel driver in use: ath5k
	Kernel modules: ath5k
Code:
# iwconfig
wlan0     IEEE 802.11bg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
lo        no wireless extensions.

eth0      no wireless extensions.

#
Code:
# iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Network is down
I can however scan for networks with x network wizard

Initially I didn't have a wpa_supplicant.conf file, nor did I have the template. So, I google it and downloaded the sourcefile which had the template in it (or at least that's what I think it was), but after editing and saving and running the command you gave, I just got a couple pages of line #'s followed by errors. So, I'm pretty sure I did something wrong.

Code:
Jan 29 22:47:21 Netbook user.info kernel: [ 6688.663065] wlan0: associate with 74:d0:2b:66:96:1c (try 1/3)
Jan 29 22:47:21 Netbook user.info kernel: [ 6688.665280] wlan0: RX AssocResp from 74:d0:2b:66:96:1c (capab=0x411 status=18 aid=0)
Jan 29 22:47:21 Netbook user.info kernel: [ 6688.665297] wlan0: 74:d0:2b:66:96:1c denied association (code=18)
Jan 29 22:47:21 Netbook user.info kernel: [ 6688.665390] wlan0: deauthenticating from 74:d0:2b:66:96:1c by local choice (reason=3)
And there were pages of errors that looked like this, as far as I could tell they were all just copies of these 4 lines.

Also, thank you guys so much for all your help.
 
Old 02-01-2014, 02:53 AM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, you'll have to bring the wlan up before executing the iwlist-command.

As for the settings in the wpa_supplicant.conf, please tell us which Access point you're using and which settings (WPA2?) and then post the wpa_supplicant.conf (without the password(s) and the SSID).

The errormessages at the bottom of your post show that at least the wireless-adapter is working (the output of lspci shows that the appropriate module is loaded) and wpa_supplicant is installed. Furthermore there is no syntactical error in the wpa_supplicant.conf but it seems that the authentication is not configured correctly.

Markus
 
Old 02-01-2014, 06:34 AM   #6
malsagenda
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
I'm not sure what you mean, or how to go about bringing the wlan up. If you could clarify that would be appreciated.

I'll be honest I wasn't really sure how to use this config file, so I'm not suprised I used it wrong.

It's WPA2 - Personal
Code:
.\" This manpage has been automatically generated by docbook2man 
.\" from a DocBook document.  This tool can be found at:
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
.\" Please send any bug reports, improvements, comments, patches, 
.\" etc. to Steve Cheng <steve@ggi-project.org>.
.TH "WPA_SUPPLICANT.CONF" "5" "12 January 2013" "" ""

.SH NAME
wpa_supplicant.conf \- configuration file for wpa_supplicant
.SH "OVERVIEW"
.PP
\fBwpa_supplicant\fR is configured using a text
file that lists all accepted networks and security policies,
including pre-shared keys. See the example configuration file,
probably in \fB/usr/share/doc/wpa_supplicant/\fR, for
detailed information about the configuration format and supported
fields.
.PP
All file paths in this configuration file should use full
(absolute, not relative to working directory) path in order to allow
working directory to be changed. This can happen if wpa_supplicant is
run in the background.
.PP
Changes to configuration file can be reloaded be sending
SIGHUP signal to \fBwpa_supplicant\fR ('killall -HUP
wpa_supplicant'). Similarly, reloading can be triggered with
the \fBwpa_cli reconfigure\fR command.
.PP
Configuration file can include one or more network blocks,
e.g., one for each used SSID. wpa_supplicant will automatically
select the best network based on the order of network blocks in
the configuration file, network security level (WPA/WPA2 is
preferred), and signal strength.
.SH "QUICK EXAMPLES"
.TP 3
1. 
WPA-Personal (PSK) as home network and WPA-Enterprise with
EAP-TLS as work network.
.sp
.RS

.nf
# allow frontend (e.g., wpa_cli) to be used by all users in 'wheel' group
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
#
# home network; allow all valid ciphers
network={
	ssid="[REDACTED]"
	scan_ssid=1
	key_mgmt=WPA-PSK
	psk="[REDACTED]"
}
#
# work network; use EAP-TLS with WPA; allow only CCMP and TKIP ciphers
network={
	ssid="work"
	scan_ssid=1
	key_mgmt=WPA-EAP
	pairwise=CCMP TKIP
	group=CCMP TKIP
	eap=TLS
	identity="user@example.com"
	ca_cert="/etc/cert/ca.pem"
	client_cert="/etc/cert/user.pem"
	private_key="/etc/cert/user.prv"
	private_key_passwd="password"
}
.fi
.RE
.TP 3
2. 
WPA-RADIUS/EAP-PEAP/MSCHAPv2 with RADIUS servers that
use old peaplabel (e.g., Funk Odyssey and SBR, Meetinghouse
Aegis, Interlink RAD-Series)
.sp
.RS

.nf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
	ssid="example"
	scan_ssid=1
	key_mgmt=WPA-EAP
	eap=PEAP
	identity="user@example.com"
	password="foobar"
	ca_cert="/etc/cert/ca.pem"
	phase1="peaplabel=0"
	phase2="auth=MSCHAPV2"
}
.fi
.RE
.TP 3
3. 
EAP-TTLS/EAP-MD5-Challenge configuration with anonymous
identity for the unencrypted use. Real identity is sent only
within an encrypted TLS tunnel.
.sp
.RS

.nf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
	ssid="example"
	scan_ssid=1
	key_mgmt=WPA-EAP
	eap=TTLS
	identity="user@example.com"
	anonymous_identity="anonymous@example.com"
	password="foobar"
	ca_cert="/etc/cert/ca.pem"
	phase2="auth=MD5"
}
.fi
.RE
.TP 3
4. 
IEEE 802.1X (i.e., no WPA) with dynamic WEP keys
(require both unicast and broadcast); use EAP-TLS for
authentication
.sp
.RS

.nf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
	ssid="1x-test"
	scan_ssid=1
	key_mgmt=IEEE8021X
	eap=TLS
	identity="user@example.com"
	ca_cert="/etc/cert/ca.pem"
	client_cert="/etc/cert/user.pem"
	private_key="/etc/cert/user.prv"
	private_key_passwd="password"
	eapol_flags=3
}
.fi
.RE
.TP 3
5. 
Catch all example that allows more or less all
configuration modes. The configuration options are used based
on what security policy is used in the selected SSID. This is
mostly for testing and is not recommended for normal
use.
.sp
.RS

.nf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
	ssid="example"
	scan_ssid=1
	key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
	pairwise=CCMP TKIP
	group=CCMP TKIP WEP104 WEP40
	psk="very secret passphrase"
	eap=TTLS PEAP TLS
	identity="user@example.com"
	password="foobar"
	ca_cert="/etc/cert/ca.pem"
	client_cert="/etc/cert/user.pem"
	private_key="/etc/cert/user.prv"
	private_key_passwd="password"
	phase1="peaplabel=0"
	ca_cert2="/etc/cert/ca2.pem"
	client_cert2="/etc/cer/user.pem"
	private_key2="/etc/cer/user.prv"
	private_key2_passwd="password"
}
.fi
.RE
.TP 3
6. 
Authentication for wired Ethernet. This can be used with
\fBwired\fR or \fBroboswitch\fR interface
(-Dwired or -Droboswitch on command line).
.sp
.RS

.nf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
ap_scan=0
network={
	key_mgmt=IEEE8021X
	eap=MD5
	identity="user"
	password="password"
	eapol_flags=0
}
.fi
.RE
.SH "CERTIFICATES"
.PP
Some EAP authentication methods require use of
certificates. EAP-TLS uses both server side and client
certificates whereas EAP-PEAP and EAP-TTLS only require the server
side certificate. When client certificate is used, a matching
private key file has to also be included in configuration. If the
private key uses a passphrase, this has to be configured in
wpa_supplicant.conf ("private_key_passwd").
.PP
wpa_supplicant supports X.509 certificates in PEM and DER
formats. User certificate and private key can be included in the
same file.
.PP
If the user certificate and private key is received in
PKCS#12/PFX format, they need to be converted to suitable PEM/DER
format for wpa_supplicant. This can be done, e.g., with following
commands:
.sp
.RS

.nf
# convert client certificate and private key to PEM format
openssl pkcs12 -in example.pfx -out user.pem -clcerts
# convert CA certificate (if included in PFX file) to PEM format
openssl pkcs12 -in example.pfx -out ca.pem -cacerts -nokeys
.fi
.RE
.SH "SEE ALSO"
.PP
\fBwpa_supplicant\fR(8)
\fBopenssl\fR(1)

Last edited by malsagenda; 02-01-2014 at 09:43 PM. Reason: Added config file.
 
Old 02-02-2014, 03:22 PM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Code:
sudo ifconfig wlan0 up
 
Old 02-02-2014, 05:25 PM   #8
malsagenda
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Code:
# iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:25:9C:D3:C9:6A
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=39/70  Signal level=-71 dBm  
                    Encryption key:on
                    ESSID:"Slippery Butts"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000005512b3169b
                    Extra: Last beacon: 880ms ago
                    IE: Unknown: 000E536C697070657279204275747473
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A7C181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001700000000000000000000000000000000000000
                    IE: Unknown: DD6F0050F204104A00011010440001021041000100103B000103104700100AB40B7032267A141CCEC22B895F08E3102100074C696E6B737973102300075752543136304E102400063132333435361042000234321054000800060050F2040001101100075752543136304E100800020084
                    IE: Unknown: DD090010180206F4050000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C337C181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C3401001700000000000000000000000000000000000000
          Cell 02 - Address: CC:35:40:52:10:59
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=60/70  Signal level=-50 dBm  
                    Encryption key:on
                    ESSID:"Wifiwonder"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000002b50ef3d05c
                    Extra: Last beacon: 906ms ago
                    IE: Unknown: 000A57696669776F6E646572
                    IE: Unknown: 010882848B9624B0486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32048C129860
                    IE: Unknown: 2D1AFD181BFFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601081500000000000000000000000000000000000000
                    IE: Unknown: DD8C0050F204104A0001101044000102103B000103104700107DB36AE1668FBEDC60B8F0F1A19F13361021000B546563686E69636F6C6F721023000B546563686E69636F6C6F721024000631323334353610420007303030303030311054000800060050F20400011011000D546563686E69636F6C6F724150100800022008103C0001011049000600372A000120
                    IE: Unknown: DD09001018020BF03C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 03 - Address: 6C:3B:E5:EA:EC:E6
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=48/70  Signal level=-62 dBm  
                    Encryption key:on
                    ESSID:"HP-Print-E6-Photosmart 7520"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000002b50f0d3f01
                    Extra: Last beacon: 930ms ago
                    IE: Unknown: 001B48502D5072696E742D45362D50686F746F736D6172742037353230
                    IE: Unknown: 010802040B0C12161824
                    IE: Unknown: 030101
                    IE: Unknown: 2A0100
                    IE: Unknown: 2D1A0055010200050039010400580200007B01040058020000330102
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: 3D1601000100000000000000000000000000000000000000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD7708000900040000000701020100020178031650686F746F736D617274203735323020736572696573040F37353230000000000000000F434E320510434E32414F323932503030355656000006101C852A4DB8001F08ABCD6C3BE5EAECE607040A000016080200D4090200080A04000000010B0400000000
          Cell 04 - Address: 74:D0:2B:66:96:1C
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=70/70  Signal level=-37 dBm  
                    Encryption key:on
                    ESSID:"[REDACTED]"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000004d0a7a15f1
                    Extra: Last beacon: 26ms ago
                    IE: Unknown: 000B44494E4F5A20484F575345
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A7C181BFF00000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606081500000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: Unknown: DDAC0050F204104A0001101044000102103B000103104700105A1BF2DA15C1B39A05B7D7F520BC7347102100154153555354654B20436F6D707574657220496E632E1023001C57692D46692050726F74656374656420536574757020526F757465721024000752542D4E3130501042001137343A64303A32623A36363A39363A31631054000800060050F20400011011000752542D4E313050100800022008103C0001011049000600372A000120
                    IE: Unknown: DD090010180203F02C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 05 - Address: 00:1D:D4:7E:AF:20
                    Channel:5
                    Frequency:2.432 GHz (Channel 5)
                    Quality=31/70  Signal level=-79 dBm  
                    Encryption key:on
                    ESSID:"HOME-AF22"
                    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=0000005e252e89a2
                    Extra: Last beacon: 680ms ago
                    IE: Unknown: 0009484F4D452D41463232
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030105
                    IE: Unknown: 2A0104
                    IE: Unknown: 32048C98B060
                    IE: Unknown: 2D1A8E1117FFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D1605070600000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 0B05010012127A
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: Unknown: DD07000C4303000000
                    IE: Unknown: 0706555320010B10
                    IE: Unknown: DD870050F204104A0001101044000102103B000103104700102880288028801880A880001DD47EAF2010210005415252495310230006544738363247102400065254323836301042000831323334353637381054000800060050F204000110110012415252495320544738363220526F7574657210080002210C103C0001011049000600372A000120
          Cell 06 - Address: 90:3E:AB:59:E1:70
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=42/70  Signal level=-68 dBm  
                    Encryption key:on
                    ESSID:"ATT448"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000c82abd382
                    Extra: Last beacon: 26ms ago
                    IE: Unknown: 0006415454343438
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0106
                    IE: Unknown: 2F0106
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A7C181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606001300000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: Unknown: DD090010180200F02C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 07 - Address: 00:1D:D5:12:2E:B0
                    Channel:8
                    Frequency:2.447 GHz (Channel 8)
                    Quality=26/70  Signal level=-84 dBm  
                    Encryption key:on
                    ESSID:"HOME-2EB2"
                    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=00000017cd5667ad
                    Extra: Last beacon: 26ms ago
                    IE: Unknown: 0009484F4D452D32454232
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030108
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A0C0017FFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1608000000000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: 0B05000012127A
                    IE: Unknown: 7F0101
                    IE: Unknown: DD07000C4303000000
                    IE: Unknown: 0706555320010B10
                    IE: Unknown: DD870050F204104A0001101044000102103B000103104700102880288028801880A880001DD5122EB010210005415252495310230006544738363247102400065254323836301042000831323334353637381054000800060050F204000110110012415252495320544738363220526F7574657210080002210C103C0001011049000600372A000120
          Cell 08 - Address: E4:83:99:0E:ED:50
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=43/70  Signal level=-67 dBm  
                    Encryption key:on
                    ESSID:"ATT008"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000016bfdcb33c6
                    Extra: Last beacon: 26ms ago
                    IE: Unknown: 0006415454303038
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A7C181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D160B081100000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: Unknown: DD090010180200F02C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 09 - Address: 00:15:6D:7B:83:EC
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=25/70  Signal level=-85 dBm  
                    Encryption key:off
                    ESSID:"instaconnect"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000002ae26fb293
                    Extra: Last beacon: 936ms ago
                    IE: Unknown: 000C696E737461636F6E6E656374
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1ACC111BFF00000000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001D00000000000000000000000000000000000000
                    IE: Unknown: DD180050F202010102000364000027A4000041435E0061322F00
                    IE: Unknown: DD1E00904C33CC111BFF00000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C3401001D00000000000000000000000000000000000000
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD0A00037F04010002004000
                    IE: Unknown: DD0C00156D0001000000E3020012
          Cell 10 - Address: 44:32:C8:C4:62:90
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=28/70  Signal level=-82 dBm  
                    Encryption key:on
                    ESSID:"HOME-6290"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000001dcfed3fe95
                    Extra: Last beacon: 906ms ago
                    IE: Unknown: 0009484F4D452D36323930
                    IE: Unknown: 010882848B9624B0486C
                    IE: Unknown: 030101
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32048C129860
                    IE: Unknown: 2D1AFD181BFFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601081500000000000000000000000000000000000000
                    IE: Unknown: DD180050F204104A00011010440001021049000600372A000120
                    IE: Unknown: DD090010180202F03C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 11 - Address: 08:86:3B:73:EA:C2
                    Channel:3
                    Frequency:2.422 GHz (Channel 3)
                    Quality=36/70  Signal level=-74 dBm  
                    Encryption key:on
                    ESSID:"belkin.ac2"
                    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=0000006e808cc15f
                    Extra: Last beacon: 736ms ago
                    IE: Unknown: 000A62656C6B696E2E616332
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030103
                    IE: Unknown: 32040C183060
                    IE: Unknown: 0706555320010B14
                    IE: Unknown: 33082001020304050607
                    IE: Unknown: 33082105060708000000
                    IE: Unknown: DD0E0050F204104A0001101044000102
                    IE: Unknown: 0504000100F2
                    IE: Unknown: 2A0104
                    IE: Unknown: 2D1A6E1017FFFF0000010000000000000000000000000C0000000000
                    IE: Unknown: 3D1603000500000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 0B05010015127A
          Cell 12 - Address: 00:27:22:7D:7B:59
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=25/70  Signal level=-85 dBm  
                    Encryption key:off
                    ESSID:"instaconnect"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000015b21a180
                    Extra: Last beacon: 613ms ago
                    IE: Unknown: 000C696E737461636F6E6E656374
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: Unknown: 050400010100
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1ACC111BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606001D00000000000000000000000000000000000000
                    IE: Unknown: DD180050F202010102000364000027A4000041435E0061322F00
                    IE: Unknown: DD1E00904C33CC111BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C3406001D00000000000000000000000000000000000000
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD0A00037F04010002004000
                    IE: Unknown: DD0C00156D0001000000E5320012
          Cell 13 - Address: 00:1F:33:34:C1:EC
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=26/70  Signal level=-84 dBm  
                    Encryption key:on
                    ESSID:"funk"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000109c59186
                    Extra: Last beacon: 310ms ago
                    IE: Unknown: 000466756E6B
                    IE: Unknown: 010882848B960C183048
                    IE: Unknown: 03010B
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 32041224606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                       Preauthentication Supported
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
 
Old 02-02-2014, 10:03 PM   #9
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
You could try
Code:
# home network; allow all valid ciphers
network={
	ssid="[REDACTED]"
	proto=WPA RSN
        scan_ssid=1
	key_mgmt=WPA-PSK
        pairwise=ccmp
	psk="[REDACTED]"
}
which works for me for WPA2, but it depends on the settings of your accesspoint.

Markus
 
Old 02-04-2014, 12:16 AM   #10
malsagenda
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
I used that code, and just that code. I deleted everything else and put in my ssid and psk and reran the code you gave before and got the following errors

Code:
Line 7: invalid cipher 'ccmp'.
Line 7: failed to parse pairwise 'ccmp'.
Line 9: failed to parse network block.
Failed to read or parse configuration '/mnt/home/etc/wpa_supplicant/wpa_supplicant.conf'.
 
Old 02-04-2014, 08:34 AM   #11
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i would disable network manager (or whatever) from within the gui and if possible disable security for the time being on the router (wep/wpa/wpa2). then run :
Code:
sudo ifconfig wlan0 up
sudo iwlist wlan0 scan
sudo iwconfig wlan0 essid [REDACTED]
sudo dhclient wlan0
 
Old 02-04-2014, 09:31 PM   #12
malsagenda
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
When I ran that code, it didn't display any error messages, just new lined, and the network symbol on the tray changed from not connected, to connected. However, when I opened the browser to try and open a webpage, it instantly gave me a no internet access error.

btw, ran without any security (not something I'd want to do as a long term fix).
 
Old 02-05-2014, 08:19 AM   #13
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by malsagenda View Post
...
btw, ran without any security (not something I'd want to do as a long term fix).
good point, i just wanted to make sure that the routers security wasnt borking your connection.

i'm kinda' stumped... can you please share the output of
Code:
echo uname: && uname -a -m -p && echo lspci: && lspci && echo lsusb: && lsusb && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n && echo ping router: && ping -c 1 `route | awk '/default/ {print $2}'` && echo ping dns-server: && ping -c 1 `awk '/nameserver/ {print $2}' /etc/resolv.conf | head -n 1` && echo ping using ip: && ping -c 1 64.235.229.141 && echo ping using dns: && ping -c 1 www.02144.com
after you run thru the steps in post #11 again.

Last edited by schneidz; 02-05-2014 at 08:21 AM.
 
Old 02-06-2014, 09:15 PM   #14
malsagenda
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Ok, so it must have generated an error before and I just not have noticed (sorry, I've been pretty sick the last few weeks), because this time when I ran the code it told me that dhclient was an invalid command. After a quick search I found the command that works in puppy Linux (and hopefully does the same thing) and ran that. It timed out. I ran the other code you gave and copied the content for you all the same, in case it'd be useful in fixing this.

Code:
# sudo ifconfig wlan0 up
# sudo iwlist wlan0 scan
wlan0     Scan completed :
         
removed for length

# sudo iwconfig wlan0 essid 'REDACTED'
# sudo dhclient wlan0
sudo: dhclient: command not found
# sudo dhcpcd wlan0
dhcpcd[5848]: version 5.6.4 starting
dhcpcd[5848]: all: configured as a router, not a host
dhcpcd[5848]: wlan0: waiting for carrier
dhcpcd[5848]: timed out
dhcpcd[5848]: allowing 8 seconds for IPv4LL timeout
dhcpcd[5848]: timed out
# echo uname: && uname -a -m -p && echo lspci: && lspci && echo lsusb: && lsusb && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n && echo ping router: && ping -c 1 `route | awk '/default/ {print $2}'` && echo ping dns-server: && ping -c 1 `awk '/nameserver/ {print $2}' /etc/resolv.conf | head -n 1` && echo ping using ip: && ping -c 1 64.235.229.141 && echo ping using dns: && ping -c 1 www.02144.com
uname:
Linux Netbook 3.9.11 #1 SMP Sat Jul 27 19:40:54 GMT-8 2013 i686 i686 i386 GNU/Linux
lspci:
00:00.0 Host bridge: Intel Corporation System Controller Hub (SCH Poulsbo) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller (rev 07)
00:1b.0 Audio device: Intel Corporation System Controller Hub (SCH Poulsbo) HD Audio Controller (rev 07)
00:1c.0 PCI bridge: Intel Corporation System Controller Hub (SCH Poulsbo) PCI Express Port 1 (rev 07)
00:1c.1 PCI bridge: Intel Corporation System Controller Hub (SCH Poulsbo) PCI Express Port 2 (rev 07)
00:1d.0 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #1 (rev 07)
00:1d.1 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #2 (rev 07)
00:1d.2 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #3 (rev 07)
00:1d.7 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB EHCI #1 (rev 07)
00:1f.0 ISA bridge: Intel Corporation System Controller Hub (SCH Poulsbo) LPC Bridge (rev 07)
00:1f.1 IDE interface: Intel Corporation System Controller Hub (SCH Poulsbo) IDE Controller (rev 07)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
lsusb:
Bus 001 Device 003: ID 18a5:0302 Verbatim, Ltd 
Bus 001 Device 002: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
lsmod:
Module                  Size  Used by
cpufreq_ondemand        3477  2 
iptable_mangle           896  0 
ipt_REJECT              1525  1 
nf_conntrack_ftp        4663  0 
nf_conntrack_irc        2595  0 
iptable_filter           768  1 
xt_state                 791  4 
nf_conntrack_ipv4       8174  4 
nf_conntrack           42245  4 nf_conntrack_ftp,nf_conntrack_irc,xt_state,nf_conntrack_ipv4
nf_defrag_ipv4           811  1 nf_conntrack_ipv4
ip_tables               7028  2 iptable_mangle,iptable_filter
i2c_isch                2427  0 
snd_hda_codec_realtek    22208  1 
arc4                    1403  2 
fan                     1789  0 
ath5k                 107247  0 
ath                    10797  1 ath5k
mac80211              181381  1 ath5k
snd_hda_intel          21530  0 
snd_hda_codec          89269  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               3815  1 snd_hda_codec
snd_pcm_oss            26945  0 
cfg80211              135774  3 ath5k,ath,mac80211
snd_mixer_oss           9719  1 snd_pcm_oss
uvcvideo               51647  0 
videobuf2_core         18049  1 uvcvideo
videodev               64085  2 uvcvideo,videobuf2_core
videobuf2_vmalloc       1832  1 uvcvideo
videobuf2_memops        1087  1 videobuf2_vmalloc
snd_pcm                49809  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
squashfs               18829  0 
snd_seq_dummy            911  0 
aufs                  122047  0 
snd_seq_oss            19135  0 
fuse                   50594  1 
r8169                  39780  0 
snd_seq_midi            3212  0 
pcspkr                  1239  0 
snd_rawmidi            12121  1 snd_seq_midi
snd_seq_midi_event      3604  2 snd_seq_oss,snd_seq_midi
snd_seq                32145  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
acer_wmi               19666  0 
sparse_keymap           1932  1 acer_wmi
rfkill                 10220  2 cfg80211,acer_wmi
lpc_sch                 2057  0 
mfd_core                1933  1 lpc_sch
snd_timer              11925  2 snd_pcm,snd_seq
snd_seq_device          3492  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    34649  12 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
gma500_gfx            129575  2 
drm_kms_helper         18983  1 gma500_gfx,[permanent]
drm                   152919  3 gma500_gfx,drm_kms_helper
soundcore               3222  1 snd
snd_page_alloc          4970  2 snd_hda_intel,snd_pcm
agpgart                17727  1 drm
i2c_algo_bit            3659  1 gma500_gfx
i2c_core               12529  6 i2c_isch,videodev,gma500_gfx,drm_kms_helper,drm,i2c_algo_bit
shpchp                 17789  0 
wmi                     5775  1 acer_wmi
evdev                   6640  1 
thermal                 6616  0 
battery                 8870  0 
video                   9468  2 acer_wmi,gma500_gfx
acpi_cpufreq            5414  1 
mperf                    799  1 acpi_cpufreq
processor              23207  1 acpi_cpufreq
thermal_sys            11722  4 fan,thermal,video,processor
hwmon                    877  1 thermal_sys
button                  3357  0 
ac                      2385  0 
fbcon                  28611  69 
tileblit                1557  1 fbcon
font                    6952  1 fbcon
bitblit                 3494  1 fbcon
softcursor               817  1 bitblit
ifconfig:
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:104 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7536 (7.3 KiB)  TX bytes:7536 (7.3 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:25:56:06:45:85  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ifconfig -a:
eth0      Link encap:Ethernet  HWaddr 00:23:8B:E2:72:4B  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:104 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7536 (7.3 KiB)  TX bytes:7536 (7.3 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:25:56:06:45:85  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

iwconfig:
wlan0     IEEE 802.11bg  ESSID:"REDACTED"  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
lo        no wireless extensions.

eth0      no wireless extensions.

resolv.conf:
# Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line
route:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
ping router:
BusyBox v1.21.0 (2013-02-18 15:57:06 WST) multi-call binary.

Usage: ping [OPTIONS] HOST

Send ICMP ECHO_REQUEST packets to network hosts

	-4,-6		Force IP or IPv6 name resolution
	-c CNT		Send only CNT pings
	-s SIZE		Send SIZE data bytes in packets (default:56)
	-t TTL		Set TTL
	-I IFACE/IP	Use interface or IP address as source
	-W SEC		Seconds to wait for the first response (default:10)
			(after all -c CNT packets are sent)
	-w SEC		Seconds until ping exits (default:infinite)
			(can exit earlier with -c CNT)
	-q		Quiet, only displays output at start
			and when finished

#
Just as a note, had to remove the output from the wlan scan for me to be allowed to post it (length). It scanned, and you can see all my neighbors wonderful wifi names in previous post. =)

Last edited by malsagenda; 02-06-2014 at 09:16 PM.
 
Old 02-06-2014, 09:39 PM   #15
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
wlan0 isn't getting an IP address.
 
  


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
Connection issue with my Atheros AR242X / AR542x wireless network card Alpha90 Linux - Networking 3 01-20-2013 06:45 AM
Atheros AR242x Wireless Card won't find any network on Debian Lenny lunarnet76 Linux - Networking 6 01-18-2011 02:36 PM
wireless wont work -Atheros AR242x 802.11abg tac90 Linux - Laptop and Netbook 15 09-10-2009 06:15 PM
Ubuntu 9.04 - Atheros AR242x wireless Something Else Linux - Laptop and Netbook 3 08-04-2009 06:05 AM
Wireless Connectivity with Atheros ar242x in Hardy jsudekum Linux - Hardware 3 08-26-2008 02:55 AM

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

All times are GMT -5. The time now is 02:15 AM.

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