Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Samba issue
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Mon Jun 02, 2014 7:48 am    Post subject: Reply with quote

Hi,
It looks like both are just hangs.

What happened?

Thank you.
Back to top
View user's profile Send private message
Logicien
l33t
l33t


Joined: 16 Sep 2005
Posts: 862
Location: Montréal

PostPosted: Mon Jun 02, 2014 10:45 am    Post subject: Reply with quote

ONEEYEMAN,

you just took a Linux driver, ath9k, for a wpa_supplicant driver. Before start wpa_supplicant, you can check if the wireless card see access points whan it scan the wireless neighborhood.
Install the wireless-tools package and do
Code:

ifconfig wlan0 up
iwconfig wlan0 scan | less

You should see at least the access point you want to connect to. I have two Atheros wireless cards, on integrated in a laptop and one in a Pci port extension slot in a desktop. They both work well with the Linux ath9k driver.

You can use both drivers in the order -Dnl80211,wext in one command line, as nl80211 driver should be prefered to wext driver that will be use only if nl80211 do not work.

The option -dd increase verbosity, the -t option write timestamp and -f /var/log/wpa.log allow you to read the wpa_supplicant log. You should keep those options until wpa_supplicant will succeed the association with the access point. Try
Code:
wpa_supplicant -B -c /etc/wpa_supplicant/wpa_supplicant.conf -D nl80211,wext -dd -f /var/log/wpa.log -i wlan0 -t

and then check if the association is done after a time
Code:
iwconfig wlan0

The /etc/wpa_supplicant/wpa_supplicant.conf file can be in cause if wpa_supplicant fail to associate. If it associate, you can now make a Dhcp request on wlan0 to get Ip configuration. Be sure that all you need to connect to the Internet with Openrc is install: iptables, iproute2, net-tools, iw, wireless-tools, dhclient, dhcpcd, etc.
_________________
Paul
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Tue Jun 03, 2014 7:58 am    Post subject: Reply with quote

Logicien wrote:

ONEEYEMAN,

you just took a Linux driver, ath9k, for a wpa_supplicant driver. Before start wpa_supplicant, you can check if the wireless card see access points whan it scan the wireless neighborhood.
Install the wireless-tools package and do
Code:

ifconfig wlan0 up
iwconfig wlan0 scan | less

You should see at least the access point you want to connect to. I have two Atheros wireless cards, on integrated in a laptop and one in a Pci port extension slot in a desktop. They both work well with the Linux ath9k driver.
.......


Well. apparently wireless-tools was already installed. So I issued those commands as root and this is what I got:

Code:

ifconfig wlan0 up
iwconfig wlan0 scan |less
iwconfig: unknown command "scan"


I then tried to associate with the AP by doing:

Code:

iwconfig wlan0 essid <MyAPName>


The command returned immediately without an association.

What else to try?

Thank you.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1483
Location: Oranienburg/Germany

PostPosted: Tue Jun 03, 2014 11:32 am    Post subject: Reply with quote

Try to associate with the wpa_supplicant command Logicien posted instead of iwconfig. If you are using wpa/wpa2 encryption it wont work with iwconfig at all.

bb
_________________
1st: i5-4440 3.1GHz, 16GB, 900GB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 256GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB + 3TB + 4TB BACKUP
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 4GB SD + NFS
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Wed Jun 11, 2014 9:01 pm    Post subject: Reply with quote

Hi, guys,
Sorry for the long delay. I've been needing the Windows OS on that machine. ;-)

So here is what happens on the Gentoo side:

Code:

IgorReinCloud igor # ifconfig                                               
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 1c:75:08:ca:19:a6  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 24  bytes 1676 (1.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 24  bytes 1676 (1.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 90:00:4e:51:31:46  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

IgorReinCloud igor # wpa_supplicant -B -c /etc/wpa_supplicant/wpa_supplicant.conf -D nl80211,wext -dd -f /var/log/wpa.log -i wlan0 -t
wpa_supplicant v0.7.3
Copyright (c) 2003-2010, Jouni Malinen <j@w1.fi> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)

usage:
  wpa_supplicant [-BddhKLqqstuvW] [-P<pid file>] [-g<global ctrl>] \
        -i<ifname> -c<config file> [-C<ctrl>] [-D<driver>] [-p<driver_param>] \
        [-b<br_ifname>] [-f<debug file>] \
        [-o<override driver>] [-O<override ctrl>] \
        [-N -i<ifname> -c<conf> [-C<ctrl>] [-D<driver>] \
        [-p<driver_param>] [-b<br_ifname>] ...]

drivers:
  wext = Linux wireless extensions (generic)
  nl80211 = Linux nl80211/cfg80211
  hostap = Host AP driver (Intersil Prism2/2.5/3)
  atmel = ATMEL AT76C5XXx (USB, PCMCIA)
  ndiswrapper = Linux ndiswrapper (deprecated; use wext)
  ipw = Intel ipw2100/2200 driver (old; use wext with Linux 2.6.13 or newer)
  wired = Wired Ethernet driver
  ralink = Ralink Wireless Client driver
options:
  -b = optional bridge interface name
  -B = run daemon in the background
  -c = Configuration file
  -C = ctrl_interface parameter (only used if -c is not)
  -i = interface name
  -d = increase debugging verbosity (-dd even more)
  -D = driver name (can be multiple drivers: nl80211,wext)
  -g = global ctrl_interface
  -K = include keys (passwords, etc.) in debug output
  -t = include timestamp in debug messages
  -h = show this help text
  -L = show license (GPL and BSD)
  -o = override driver parameter for new interfaces
  -O = override ctrl_interface parameter for new interfaces
  -p = driver parameters
  -P = PID file
  -q = decrease debugging verbosity (-qq even less)
  -u = enable DBus control interface
  -v = show version
  -W = wait for a control interface monitor before starting
  -N = start describing new interface
example:
  wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf

IgorReinCloud igor # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
^CCTRL-EVENT-TERMINATING - signal 2 received

IgorReinCloud igor # wpa_supplicant -Dwext,nl80211 -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -f /var/log/wpa.log
wpa_supplicant v0.7.3
Copyright (c) 2003-2010, Jouni Malinen <j@w1.fi> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)

usage:
  wpa_supplicant [-BddhKLqqstuvW] [-P<pid file>] [-g<global ctrl>] \
        -i<ifname> -c<config file> [-C<ctrl>] [-D<driver>] [-p<driver_param>] \
        [-b<br_ifname>] [-f<debug file>] \
        [-o<override driver>] [-O<override ctrl>] \
        [-N -i<ifname> -c<conf> [-C<ctrl>] [-D<driver>] \
        [-p<driver_param>] [-b<br_ifname>] ...]

drivers:
  wext = Linux wireless extensions (generic)
  nl80211 = Linux nl80211/cfg80211
  hostap = Host AP driver (Intersil Prism2/2.5/3)
  atmel = ATMEL AT76C5XXx (USB, PCMCIA)
  ndiswrapper = Linux ndiswrapper (deprecated; use wext)
  ipw = Intel ipw2100/2200 driver (old; use wext with Linux 2.6.13 or newer)
  wired = Wired Ethernet driver
  ralink = Ralink Wireless Client driver
options:
  -b = optional bridge interface name
  -B = run daemon in the background
  -c = Configuration file
  -C = ctrl_interface parameter (only used if -c is not)
  -i = interface name
  -d = increase debugging verbosity (-dd even more)
  -D = driver name (can be multiple drivers: nl80211,wext)
  -g = global ctrl_interface
  -K = include keys (passwords, etc.) in debug output
  -t = include timestamp in debug messages
  -h = show this help text
  -L = show license (GPL and BSD)
  -o = override driver parameter for new interfaces
  -O = override ctrl_interface parameter for new interfaces
  -p = driver parameters
  -P = PID file
  -q = decrease debugging verbosity (-qq even less)
  -u = enable DBus control interface
  -v = show version
  -W = wait for a control interface monitor before starting
  -N = start describing new interface
example:
  wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
IgorReinCloud igor #


It looks like trying to run wpa_supplicant on the generic driver didn't work.

Any other idea?

[EDIT]
Also here is the relevant kernel .config:

Code:

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
CONFIG_WIRELESS=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
CONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_DEBUGFS is not set
# CONFIG_CFG80211_INTERNAL_REGDB is not set
CONFIG_CFG80211_WEXT=y
# CONFIG_LIB80211 is not set
CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y
# CONFIG_MAC80211_RC_PID is not set
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_MINSTREL_HT=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
# CONFIG_MAC80211_MESH is not set
CONFIG_MAC80211_LEDS=y
# CONFIG_MAC80211_DEBUGFS is not set
# CONFIG_MAC80211_MESSAGE_TRACING is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set
CONFIG_HAVE_BPF_JIT=y

[/EDIT]

Thank you.


Last edited by ONEEYEMAN on Thu Jun 12, 2014 8:12 am; edited 1 time in total
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1483
Location: Oranienburg/Germany

PostPosted: Thu Jun 12, 2014 8:00 am    Post subject: Reply with quote

Hi,

user either "-Dwext" or "-Dnl80211" not both in one commandline.

bb
_________________
1st: i5-4440 3.1GHz, 16GB, 900GB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 256GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB + 3TB + 4TB BACKUP
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 4GB SD + NFS
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Thu Jun 12, 2014 8:15 am    Post subject: Reply with quote

Already tried it. System just hangs.

Code:

IgorReinCloud igor # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
^CCTRL-EVENT-TERMINATING - signal 2 received


See modified output for better layout. ;-)

Thank you.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1483
Location: Oranienburg/Germany

PostPosted: Thu Jun 12, 2014 7:42 pm    Post subject: Reply with quote

Hi,

what do you mean with "just hangs". Use "-d" or "-dd" for debugging.

bb
_________________
1st: i5-4440 3.1GHz, 16GB, 900GB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 256GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB + 3TB + 4TB BACKUP
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 4GB SD + NFS
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Thu Jun 12, 2014 10:01 pm    Post subject: Reply with quote

Here is the session with "-dd":

Code:

IgorReinCloud igor # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -dd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='0'
ap_scan=1
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=11):
     49 67 6f 72 4e 65 74 77 6f 72 6b                  IgorNetwork     
proto: 0x1
key_mgmt: 0x2
pairwise: 0x18
group: 0x1e
PSK - hexdump(len=32): [REMOVED]
priority=5 (0x5)
Priority group 5
   id=0 ssid='IgorNetwork'
WEXT: cfg80211-based driver detected
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: 90:00:4e:51:31:46
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
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
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
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=16
State: DISCONNECTED -> SCANNING
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 5 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b19 len=16
Scan results did not fit - trying larger buffer (8192 bytes)
Received 6977 bytes of scan results (13 BSSes)
BSS: Start scan result update 1
BSS: Add new id 0 BSSID 00:0d:67:24:c2:c8 SSID ''
BSS: Add new id 1 BSSID bc:ee:7b:f1:66:4c SSID 'IgorNetwork'
BSS: Add new id 2 BSSID 00:15:6d:56:1b:25 SSID 't01lGr@d3'
BSS: Add new id 3 BSSID cc:5d:4e:43:40:87 SSID 'ZyXEL'
BSS: Add new id 4 BSSID 48:f8:b3:83:4d:2f SSID 'BoyarskyDMD'
BSS: Add new id 5 BSSID 94:c1:50:31:6b:1a SSID 'ATT871'
BSS: Add new id 6 BSSID c8:d7:19:e9:90:61 SSID 'ChanningApts'
BSS: Add new id 7 BSSID 20:e5:2a:77:82:b9 SSID 'ngHub_319332NP01675'
BSS: Add new id 8 BSSID bc:ee:7b:7a:be:38 SSID 'DrAladinDDS'
BSS: Add new id 9 BSSID 00:1e:c7:90:4f:11 SSID '2WIRE917'
BSS: Add new id 10 BSSID 00:0d:67:24:c2:c2 SSID 'CableWiFi'
BSS: Add new id 11 BSSID 00:0d:67:24:c2:c1 SSID 'xfinitywifi'
BSS: Add new id 12 BSSID 4a:f8:b3:83:4d:20 SSID 'BoyarskyDMD-guest'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID not known
1: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - no WPA/RSN proto match
2: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
3: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
4: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
5: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
6: c8:d7:19:e9:90:61 ssid='ChanningApts' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
7: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
8: bc:ee:7b:7a:be:38 ssid='DrAladinDDS' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
9: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
10: 00:0d:67:24:c2:c2 ssid='CableWiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
11: 00:0d:67:24:c2:c1 ssid='xfinitywifi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
12: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID not known
1: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - non-WPA network not allowed
2: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
3: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
4: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
5: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
6: c8:d7:19:e9:90:61 ssid='ChanningApts' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
7: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
8: bc:ee:7b:7a:be:38 ssid='DrAladinDDS' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
9: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
10: 00:0d:67:24:c2:c2 ssid='CableWiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
11: 00:0d:67:24:c2:c1 ssid='xfinitywifi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
12: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
No suitable network found
Setting scan request: 5 sec 0 usec
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b19 len=16
Scan results did not fit - trying larger buffer (8192 bytes)
Received 8006 bytes of scan results (15 BSSes)
BSS: Start scan result update 2
BSS: Add new id 13 BSSID cc:35:40:cb:61:a7 SSID 'Home 688'
BSS: Add new id 14 BSSID 64:0f:28:a7:40:6a SSID 'Dr.JennyYoo'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: cc:35:40:cb:61:a7 ssid='Home 688' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
1: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID not known
2: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - no WPA/RSN proto match
3: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
4: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
5: 64:0f:28:a7:40:6a ssid='Dr.JennyYoo' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
6: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
7: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
8: bc:ee:7b:7a:be:38 ssid='DrAladinDDS' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
9: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
10: c8:d7:19:e9:90:61 ssid='ChanningApts' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
11: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
12: 00:0d:67:24:c2:c2 ssid='CableWiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
13: 00:0d:67:24:c2:c1 ssid='xfinitywifi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
14: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: cc:35:40:cb:61:a7 ssid='Home 688' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
1: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID not known
2: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - non-WPA network not allowed
3: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
4: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
5: 64:0f:28:a7:40:6a ssid='Dr.JennyYoo' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
6: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
7: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
8: bc:ee:7b:7a:be:38 ssid='DrAladinDDS' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
9: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
10: c8:d7:19:e9:90:61 ssid='ChanningApts' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
11: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
12: 00:0d:67:24:c2:c2 ssid='CableWiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
13: 00:0d:67:24:c2:c1 ssid='xfinitywifi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
14: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
No suitable network found
Setting scan request: 5 sec 0 usec
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b19 len=16
Scan results did not fit - trying larger buffer (8192 bytes)
Scan results did not fit - trying larger buffer (16384 bytes)
Received 9554 bytes of scan results (18 BSSes)
BSS: Start scan result update 3
BSS: Add new id 15 BSSID 90:72:40:1b:9f:16 SSID 'Channing'
BSS: Add new id 16 BSSID 00:0d:67:25:3d:d4 SSID ''
BSS: Add new id 17 BSSID 34:ef:44:30:74:19 SSID '2WIRE091'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: cc:35:40:cb:61:a7 ssid='Home 688' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
1: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID not known
2: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - no WPA/RSN proto match
3: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
4: 64:0f:28:a7:40:6a ssid='Dr.JennyYoo' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
5: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
6: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
7: 90:72:40:1b:9f:16 ssid='Channing' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
8: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
9: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
10: bc:ee:7b:7a:be:38 ssid='DrAladinDDS' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
11: 00:0d:67:25:3d:d4 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID not known
12: c8:d7:19:e9:90:61 ssid='ChanningApts' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
13: 34:ef:44:30:74:19 ssid='2WIRE091' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
14: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
15: 00:0d:67:24:c2:c2 ssid='CableWiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
16: 00:0d:67:24:c2:c1 ssid='xfinitywifi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
17: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: cc:35:40:cb:61:a7 ssid='Home 688' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
1: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID not known
2: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - non-WPA network not allowed
3: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
4: 64:0f:28:a7:40:6a ssid='Dr.JennyYoo' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
5: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
6: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
7: 90:72:40:1b:9f:16 ssid='Channing' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
8: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
9: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
10: bc:ee:7b:7a:be:38 ssid='DrAladinDDS' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
11: 00:0d:67:25:3d:d4 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID not known
12: c8:d7:19:e9:90:61 ssid='ChanningApts' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
13: 34:ef:44:30:74:19 ssid='2WIRE091' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
14: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
15: 00:0d:67:24:c2:c2 ssid='CableWiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
16: 00:0d:67:24:c2:c1 ssid='xfinitywifi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
17: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
No suitable network found
Setting scan request: 5 sec 0 usec
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b19 len=16
Scan results did not fit - trying larger buffer (8192 bytes)
Scan results did not fit - trying larger buffer (16384 bytes)
Received 11059 bytes of scan results (21 BSSes)
BSS: Start scan result update 4
BSS: Add new id 18 BSSID 4a:f8:b3:83:4d:21 SSID ''
BSS: Add new id 19 BSSID 80:c1:6e:2b:5b:a8 SSID 'HP-Print-A8-Officejet 6700'
BSS: Add new id 20 BSSID 00:1e:58:23:c6:71 SSID 'Channing Apt'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: cc:35:40:cb:61:a7 ssid='Home 688' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
1: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID not known
2: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
3: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - no WPA/RSN proto match
4: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
5: 64:0f:28:a7:40:6a ssid='Dr.JennyYoo' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
6: 4a:f8:b3:83:4d:21 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
7: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
8: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
9: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
10: 90:72:40:1b:9f:16 ssid='Channing' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
11: 80:c1:6e:2b:5b:a8 ssid='HP-Print-A8-Officejet 6700' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
12: bc:ee:7b:7a:be:38 ssid='DrAladinDDS' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
13: 00:0d:67:25:3d:d4 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID not known
14: 00:1e:58:23:c6:71 ssid='Channing Apt' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
15: c8:d7:19:e9:90:61 ssid='ChanningApts' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
16: 34:ef:44:30:74:19 ssid='2WIRE091' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
17: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
18: 00:0d:67:24:c2:c2 ssid='CableWiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
19: 00:0d:67:24:c2:c1 ssid='xfinitywifi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
20: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: cc:35:40:cb:61:a7 ssid='Home 688' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
1: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID not known
2: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
3: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - non-WPA network not allowed
4: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
5: 64:0f:28:a7:40:6a ssid='Dr.JennyYoo' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
6: 4a:f8:b3:83:4d:21 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
7: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
8: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
9: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
10: 90:72:40:1b:9f:16 ssid='Channing' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
11: 80:c1:6e:2b:5b:a8 ssid='HP-Print-A8-Officejet 6700' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
12: bc:ee:7b:7a:be:38 ssid='DrAladinDDS' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
13: 00:0d:67:25:3d:d4 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID not known
14: 00:1e:58:23:c6:71 ssid='Channing Apt' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
15: c8:d7:19:e9:90:61 ssid='ChanningApts' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
16: 34:ef:44:30:74:19 ssid='2WIRE091' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
17: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
18: 00:0d:67:24:c2:c2 ssid='CableWiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
19: 00:0d:67:24:c2:c1 ssid='xfinitywifi' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
20: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
No suitable network found
Setting scan request: 5 sec 0 usec
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 30 seconds
^CCTRL-EVENT-TERMINATING - signal 2 received
Removing interface wlan0
No keys have been configured - skip key clearing
State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
BSS: Remove id 13 BSSID cc:35:40:cb:61:a7 SSID 'Home 688'
BSS: Remove id 0 BSSID 00:0d:67:24:c2:c8 SSID ''
BSS: Remove id 2 BSSID 00:15:6d:56:1b:25 SSID 't01lGr@d3'
BSS: Remove id 1 BSSID bc:ee:7b:f1:66:4c SSID 'IgorNetwork'
BSS: Remove id 3 BSSID cc:5d:4e:43:40:87 SSID 'ZyXEL'
BSS: Remove id 14 BSSID 64:0f:28:a7:40:6a SSID 'Dr.JennyYoo'
BSS: Remove id 18 BSSID 4a:f8:b3:83:4d:21 SSID ''
BSS: Remove id 4 BSSID 48:f8:b3:83:4d:2f SSID 'BoyarskyDMD'
BSS: Remove id 7 BSSID 20:e5:2a:77:82:b9 SSID 'ngHub_319332NP01675'
BSS: Remove id 5 BSSID 94:c1:50:31:6b:1a SSID 'ATT871'
BSS: Remove id 15 BSSID 90:72:40:1b:9f:16 SSID 'Channing'
BSS: Remove id 19 BSSID 80:c1:6e:2b:5b:a8 SSID 'HP-Print-A8-Officejet 6700'
BSS: Remove id 8 BSSID bc:ee:7b:7a:be:38 SSID 'DrAladinDDS'
BSS: Remove id 16 BSSID 00:0d:67:25:3d:d4 SSID ''
BSS: Remove id 20 BSSID 00:1e:58:23:c6:71 SSID 'Channing Apt'
BSS: Remove id 6 BSSID c8:d7:19:e9:90:61 SSID 'ChanningApts'
BSS: Remove id 17 BSSID 34:ef:44:30:74:19 SSID '2WIRE091'
BSS: Remove id 9 BSSID 00:1e:c7:90:4f:11 SSID '2WIRE917'
BSS: Remove id 10 BSSID 00:0d:67:24:c2:c2 SSID 'CableWiFi'
BSS: Remove id 11 BSSID 00:0d:67:24:c2:c1 SSID 'xfinitywifi'
BSS: Remove id 12 BSSID 4a:f8:b3:83:4d:20 SSID 'BoyarskyDMD-guest'
Cancelling scan request
Cancelling authentication timeout
netlink: Operstate: linkmode=0, operstate=6


See anything wrong here?

Thank you.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1483
Location: Oranienburg/Germany

PostPosted: Fri Jun 13, 2014 4:56 am    Post subject: Reply with quote

Hi,

Code:

No suitable network found


looks like, youre wpa_supplicant.conf is not correct, cause you cannot connect to any ap within a reachable area... Do your router/ap distribute your ssid or is it a hidden ssid?

bb
_________________
1st: i5-4440 3.1GHz, 16GB, 900GB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 256GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB + 3TB + 4TB BACKUP
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 4GB SD + NFS
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Fri Jun 13, 2014 5:14 am    Post subject: Reply with quote

bbgermany,
I just went to check the AP parameters. It uses:

Authentication method: WPA2-Personal
WPA Encryption: AES
SSID is transmitted

Is there a tool that I can run to check for the password?

Thank you.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1483
Location: Oranienburg/Germany

PostPosted: Fri Jun 13, 2014 7:31 am    Post subject: Reply with quote

Hi,

1st:

is your ssid in the following list:

Code:

BSS: Remove id 13 BSSID cc:35:40:cb:61:a7 SSID 'Home 688'
BSS: Remove id 0 BSSID 00:0d:67:24:c2:c8 SSID ''
BSS: Remove id 2 BSSID 00:15:6d:56:1b:25 SSID 't01lGr@d3'
BSS: Remove id 1 BSSID bc:ee:7b:f1:66:4c SSID 'IgorNetwork'
BSS: Remove id 3 BSSID cc:5d:4e:43:40:87 SSID 'ZyXEL'
BSS: Remove id 14 BSSID 64:0f:28:a7:40:6a SSID 'Dr.JennyYoo'
BSS: Remove id 18 BSSID 4a:f8:b3:83:4d:21 SSID ''
BSS: Remove id 4 BSSID 48:f8:b3:83:4d:2f SSID 'BoyarskyDMD'
BSS: Remove id 7 BSSID 20:e5:2a:77:82:b9 SSID 'ngHub_319332NP01675'
BSS: Remove id 5 BSSID 94:c1:50:31:6b:1a SSID 'ATT871'
BSS: Remove id 15 BSSID 90:72:40:1b:9f:16 SSID 'Channing'
BSS: Remove id 19 BSSID 80:c1:6e:2b:5b:a8 SSID 'HP-Print-A8-Officejet 6700'
BSS: Remove id 8 BSSID bc:ee:7b:7a:be:38 SSID 'DrAladinDDS'
BSS: Remove id 16 BSSID 00:0d:67:25:3d:d4 SSID ''
BSS: Remove id 20 BSSID 00:1e:58:23:c6:71 SSID 'Channing Apt'
BSS: Remove id 6 BSSID c8:d7:19:e9:90:61 SSID 'ChanningApts'
BSS: Remove id 17 BSSID 34:ef:44:30:74:19 SSID '2WIRE091'
BSS: Remove id 9 BSSID 00:1e:c7:90:4f:11 SSID '2WIRE917'
BSS: Remove id 10 BSSID 00:0d:67:24:c2:c2 SSID 'CableWiFi'
BSS: Remove id 11 BSSID 00:0d:67:24:c2:c1 SSID 'xfinitywifi'
BSS: Remove id 12 BSSID 4a:f8:b3:83:4d:20 SSID 'BoyarskyDMD-guest'


If yes, you need to know your wpa-key and add it in your config file. In another thread changing from -Dwext to -Dnl80211 fixed the connection issue.

bb
_________________
1st: i5-4440 3.1GHz, 16GB, 900GB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 256GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB + 3TB + 4TB BACKUP
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 4GB SD + NFS
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Fri Jun 13, 2014 8:00 am    Post subject: Reply with quote

bbgermany,
Yes, it is listed there. Yes, I do know the wpa_key and it is listed in the wpa_supplicant.conf file as a hash value, not an ASCII string. I just don't remember what I used to convert.
Will try to change the driver right now and see what happens.

[EDIT]
Changing the driver didn't help.
The log follows:

Code:

IgorReinCloud igor # wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -dd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='0'
ap_scan=1
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=11):
     49 67 6f 72 4e 65 74 77 6f 72 6b                  IgorNetwork     
proto: 0x1
key_mgmt: 0x2
pairwise: 0x18
group: 0x1e
PSK - hexdump(len=32): [REMOVED]
priority=5 (0x5)
Priority group 5
   id=0 ssid='IgorNetwork'
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: 90:00:4e:51:31:46
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=0x45c15b key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=0x45c15b key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=0x45c15b key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=0x45c15b key_idx=3 set_tx=0 seq_len=0 key_len=0
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
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
Added interface wlan0
State: DISCONNECTED -> SCANNING
Starting AP scan for wildcard SSID
nl80211: Scan SSID - hexdump_ascii(len=0): [NULL]
Scan requested (ret=0) - scan timeout 10 seconds
nl80211: Event message available
nl80211: Scan trigger
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized
nl80211: Event message available
nl80211: New scan results available
Received scan results (12 BSSes)
BSS: Start scan result update 1
BSS: Add new id 0 BSSID cc:35:40:cb:61:a7 SSID 'Home 688'
BSS: Add new id 1 BSSID 00:0d:67:24:c2:c8 SSID ''
BSS: Add new id 2 BSSID bc:ee:7b:f1:66:4c SSID 'IgorNetwork'
BSS: Add new id 3 BSSID 48:f8:b3:83:4d:2f SSID 'BoyarskyDMD'
BSS: Add new id 4 BSSID cc:5d:4e:43:40:87 SSID 'ZyXEL'
BSS: Add new id 5 BSSID 4a:f8:b3:83:4d:21 SSID ''
BSS: Add new id 6 BSSID 20:e5:2a:77:82:b9 SSID 'ngHub_319332NP01675'
BSS: Add new id 7 BSSID 64:0f:28:a7:40:6a SSID 'Dr.JennyYoo'
BSS: Add new id 8 BSSID 00:15:6d:56:1b:25 SSID 't01lGr@d3'
BSS: Add new id 9 BSSID 94:c1:50:31:6b:1a SSID 'ATT871'
BSS: Add new id 10 BSSID 00:1e:c7:90:4f:11 SSID '2WIRE917'
BSS: Add new id 11 BSSID 4a:f8:b3:83:4d:20 SSID 'BoyarskyDMD-guest'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: cc:35:40:cb:61:a7 ssid='Home 688' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
1: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x431
   skip - SSID not known
2: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - no WPA/RSN proto match
3: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x1411
   skip - SSID mismatch
4: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
5: 4a:f8:b3:83:4d:21 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x1431
   skip - SSID mismatch
6: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
7: 64:0f:28:a7:40:6a ssid='Dr.JennyYoo' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
8: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
9: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
10: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x431
   skip - no WPA/RSN IE
11: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1421
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: cc:35:40:cb:61:a7 ssid='Home 688' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
1: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x431
   skip - SSID not known
2: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - non-WPA network not allowed
3: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x1411
   skip - SSID mismatch
4: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
5: 4a:f8:b3:83:4d:21 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x1431
   skip - SSID mismatch
6: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
7: 64:0f:28:a7:40:6a ssid='Dr.JennyYoo' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
8: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
9: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
10: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x431
   skip - SSID mismatch
11: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1421
   skip - SSID mismatch
No suitable network found
Setting scan request: 5 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Starting AP scan for wildcard SSID
nl80211: Scan SSID - hexdump_ascii(len=0): [NULL]
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Event message available
nl80211: Scan trigger
nl80211: Event message available
nl80211: New scan results available
Received scan results (16 BSSes)
BSS: Start scan result update 2
BSS: Add new id 12 BSSID 1c:14:48:32:70:b0 SSID 'ATT848'
BSS: Add new id 13 BSSID e0:91:f5:af:29:24 SSID 'montoya'
BSS: Add new id 14 BSSID 90:72:40:1b:9f:16 SSID 'Channing'
BSS: Add new id 15 BSSID 00:0d:67:24:c2:c2 SSID 'CableWiFi'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: cc:35:40:cb:61:a7 ssid='Home 688' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
1: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x431
   skip - SSID not known
2: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - no WPA/RSN proto match
3: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x1411
   skip - SSID mismatch
4: 4a:f8:b3:83:4d:21 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x1431
   skip - SSID mismatch
5: 64:0f:28:a7:40:6a ssid='Dr.JennyYoo' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
6: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
7: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
8: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
9: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
10: 1c:14:48:32:70:b0 ssid='ATT848' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
11: e0:91:f5:af:29:24 ssid='montoya' wpa_ie_len=0 rsn_ie_len=20 caps=0x431
   skip - SSID mismatch
12: 90:72:40:1b:9f:16 ssid='Channing' wpa_ie_len=0 rsn_ie_len=20 caps=0x1511
   skip - SSID mismatch
13: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x431
   skip - no WPA/RSN IE
14: 00:0d:67:24:c2:c2 ssid='CableWiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x421
   skip - no WPA/RSN IE
15: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1421
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: cc:35:40:cb:61:a7 ssid='Home 688' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
1: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x431
   skip - SSID not known
2: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - non-WPA network not allowed
3: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x1411
   skip - SSID mismatch
4: 4a:f8:b3:83:4d:21 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x1431
   skip - SSID mismatch
5: 64:0f:28:a7:40:6a ssid='Dr.JennyYoo' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
6: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
7: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
8: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
9: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
10: 1c:14:48:32:70:b0 ssid='ATT848' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
11: e0:91:f5:af:29:24 ssid='montoya' wpa_ie_len=0 rsn_ie_len=20 caps=0x431
   skip - SSID mismatch
12: 90:72:40:1b:9f:16 ssid='Channing' wpa_ie_len=0 rsn_ie_len=20 caps=0x1511
   skip - SSID mismatch
13: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x431
   skip - SSID mismatch
14: 00:0d:67:24:c2:c2 ssid='CableWiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x421
   skip - SSID mismatch
15: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1421
   skip - SSID mismatch
No suitable network found
Setting scan request: 5 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Starting AP scan for wildcard SSID
nl80211: Scan SSID - hexdump_ascii(len=0): [NULL]
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Event message available
nl80211: Scan trigger
nl80211: Event message available
nl80211: New scan results available
Received scan results (18 BSSes)
BSS: Start scan result update 3
BSS: Add new id 16 BSSID b4:b3:62:51:28:08 SSID 'ZTE'
BSS: Add new id 17 BSSID 00:0d:67:24:c2:c1 SSID 'xfinitywifi'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: cc:35:40:cb:61:a7 ssid='Home 688' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
1: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x431
   skip - SSID not known
2: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - no WPA/RSN proto match
3: 4a:f8:b3:83:4d:21 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x1431
   skip - SSID mismatch
4: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x1411
   skip - SSID mismatch
5: 64:0f:28:a7:40:6a ssid='Dr.JennyYoo' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
6: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
7: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
8: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
9: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
10: 1c:14:48:32:70:b0 ssid='ATT848' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
11: 90:72:40:1b:9f:16 ssid='Channing' wpa_ie_len=0 rsn_ie_len=20 caps=0x1511
   skip - SSID mismatch
12: e0:91:f5:af:29:24 ssid='montoya' wpa_ie_len=0 rsn_ie_len=20 caps=0x431
   skip - SSID mismatch
13: b4:b3:62:51:28:08 ssid='ZTE' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
14: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x431
   skip - no WPA/RSN IE
15: 00:0d:67:24:c2:c2 ssid='CableWiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x421
   skip - no WPA/RSN IE
16: 00:0d:67:24:c2:c1 ssid='xfinitywifi' wpa_ie_len=0 rsn_ie_len=0 caps=0x421
   skip - no WPA/RSN IE
17: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1421
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: cc:35:40:cb:61:a7 ssid='Home 688' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
1: 00:0d:67:24:c2:c8 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x431
   skip - SSID not known
2: bc:ee:7b:f1:66:4c ssid='IgorNetwork' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - non-WPA network not allowed
3: 4a:f8:b3:83:4d:21 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x1431
   skip - SSID mismatch
4: 48:f8:b3:83:4d:2f ssid='BoyarskyDMD' wpa_ie_len=0 rsn_ie_len=20 caps=0x1411
   skip - SSID mismatch
5: 64:0f:28:a7:40:6a ssid='Dr.JennyYoo' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
6: 00:15:6d:56:1b:25 ssid='t01lGr@d3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
7: cc:5d:4e:43:40:87 ssid='ZyXEL' wpa_ie_len=0 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
8: 20:e5:2a:77:82:b9 ssid='ngHub_319332NP01675' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
9: 94:c1:50:31:6b:1a ssid='ATT871' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
10: 1c:14:48:32:70:b0 ssid='ATT848' wpa_ie_len=28 rsn_ie_len=24 caps=0x411
   skip - SSID mismatch
11: 90:72:40:1b:9f:16 ssid='Channing' wpa_ie_len=0 rsn_ie_len=20 caps=0x1511
   skip - SSID mismatch
12: e0:91:f5:af:29:24 ssid='montoya' wpa_ie_len=0 rsn_ie_len=20 caps=0x431
   skip - SSID mismatch
13: b4:b3:62:51:28:08 ssid='ZTE' wpa_ie_len=0 rsn_ie_len=20 caps=0x411
   skip - SSID mismatch
14: 00:1e:c7:90:4f:11 ssid='2WIRE917' wpa_ie_len=0 rsn_ie_len=0 caps=0x431
   skip - SSID mismatch
15: 00:0d:67:24:c2:c2 ssid='CableWiFi' wpa_ie_len=0 rsn_ie_len=0 caps=0x421
   skip - SSID mismatch
16: 00:0d:67:24:c2:c1 ssid='xfinitywifi' wpa_ie_len=0 rsn_ie_len=0 caps=0x421
   skip - SSID mismatch
17: 4a:f8:b3:83:4d:20 ssid='BoyarskyDMD-guest' wpa_ie_len=0 rsn_ie_len=0 caps=0x1421
   skip - SSID mismatch
No suitable network found
Setting scan request: 5 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
^CCTRL-EVENT-TERMINATING - signal 2 received
Removing interface wlan0
No keys have been configured - skip key clearing
State: SCANNING -> DISCONNECTED
wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
No keys have been configured - skip key clearing
BSS: Remove id 0 BSSID cc:35:40:cb:61:a7 SSID 'Home 688'
BSS: Remove id 1 BSSID 00:0d:67:24:c2:c8 SSID ''
BSS: Remove id 2 BSSID bc:ee:7b:f1:66:4c SSID 'IgorNetwork'
BSS: Remove id 5 BSSID 4a:f8:b3:83:4d:21 SSID ''
BSS: Remove id 3 BSSID 48:f8:b3:83:4d:2f SSID 'BoyarskyDMD'
BSS: Remove id 7 BSSID 64:0f:28:a7:40:6a SSID 'Dr.JennyYoo'
BSS: Remove id 8 BSSID 00:15:6d:56:1b:25 SSID 't01lGr@d3'
BSS: Remove id 4 BSSID cc:5d:4e:43:40:87 SSID 'ZyXEL'
BSS: Remove id 6 BSSID 20:e5:2a:77:82:b9 SSID 'ngHub_319332NP01675'
BSS: Remove id 9 BSSID 94:c1:50:31:6b:1a SSID 'ATT871'
BSS: Remove id 12 BSSID 1c:14:48:32:70:b0 SSID 'ATT848'
BSS: Remove id 14 BSSID 90:72:40:1b:9f:16 SSID 'Channing'
BSS: Remove id 13 BSSID e0:91:f5:af:29:24 SSID 'montoya'
BSS: Remove id 16 BSSID b4:b3:62:51:28:08 SSID 'ZTE'
BSS: Remove id 10 BSSID 00:1e:c7:90:4f:11 SSID '2WIRE917'
BSS: Remove id 15 BSSID 00:0d:67:24:c2:c2 SSID 'CableWiFi'
BSS: Remove id 17 BSSID 00:0d:67:24:c2:c1 SSID 'xfinitywifi'
BSS: Remove id 11 BSSID 4a:f8:b3:83:4d:20 SSID 'BoyarskyDMD-guest'
Cancelling scan request
Cancelling authentication timeout
netlink: Operstate: linkmode=0, operstate=6

[/EDIT]

Thank you.


Last edited by ONEEYEMAN on Fri Jun 13, 2014 8:27 am; edited 1 time in total
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1483
Location: Oranienburg/Germany

PostPosted: Fri Jun 13, 2014 8:25 am    Post subject: Reply with quote

Hi,

for the hashed wpa-psk, you should use wpa_passphrase. This is the only supported way, as i have understood this. You should check, whether the "key" is the same when you rerun this:

Code:

wpa_passphrase <your-ssid> <your-wpa-psk>


bb

EDIT: Proto should be RSN with WPA2 as well instead of proto=wpa.
_________________
1st: i5-4440 3.1GHz, 16GB, 900GB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 256GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB + 3TB + 4TB BACKUP
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 4GB SD + NFS
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Fri Jun 13, 2014 8:39 am    Post subject: Reply with quote

bbgermany wrote:

Hi,

for the hashed wpa-psk, you should use wpa_passphrase. This is the only supported way, as i have understood this. You should check, whether the "key" is the same when you rerun this:

Code:

wpa_passphrase <your-ssid> <your-wpa-psk>


bb

OK, will check.

bbgermany wrote:

EDIT: Proto should be RSN with WPA2 as well instead of proto=wpa.

Are you talking about "wpa_supplicant.conf" file here?

[EDIT]
So you are saying that it should be

Code:

proto=RSN WPA2


right?
[/EDIT]


Thank you.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1483
Location: Oranienburg/Germany

PostPosted: Fri Jun 13, 2014 8:58 am    Post subject: Reply with quote

Hi,

yeah, i meant wpa_supplicant.conf. According to a few websites on google, for WPA2 the correct entry should be

Code:

proto=RSN


but i have also seen entries with

Code:

proto=WPA2


as working config. Im not sure if its supported to have both entries in one line for this.

bb
_________________
1st: i5-4440 3.1GHz, 16GB, 900GB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 256GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB + 3TB + 4TB BACKUP
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 4GB SD + NFS
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Fri Jun 13, 2014 9:09 am    Post subject: Reply with quote

bbgermany,
I changed the "proto" line to read:

Code:

proto=RSN"


and got authenticated and then IP from dhcpcd. And I'm writing this from that machine.

So now since I have a working wireless network (I don't really care about wired interface right now), the next step I see would be using "wicd" to manage the network.

What will I need to do in order to run wicd in this environment? As first step I should probably re-emerge it....

Thank you.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1483
Location: Oranienburg/Germany

PostPosted: Fri Jun 13, 2014 9:15 am    Post subject: Reply with quote

Glad, that we got this fixed :)

Im not familiar with wicd, but as far as i have seen, wicd can use your working wpa_supplicant for connecting to your network.

greets bb
_________________
1st: i5-4440 3.1GHz, 16GB, 900GB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 256GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB + 3TB + 4TB BACKUP
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 4GB SD + NFS
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Fri Jun 13, 2014 9:21 am    Post subject: Reply with quote

bbgermany,
So lets forget for a second about wicd.
Back to the original problem: samba should now work correctly, right?

Thank you.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1483
Location: Oranienburg/Germany

PostPosted: Fri Jun 13, 2014 9:22 am    Post subject: Reply with quote

I hope so...

bb
_________________
1st: i5-4440 3.1GHz, 16GB, 900GB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 256GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB + 3TB + 4TB BACKUP
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 4GB SD + NFS
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Fri Jun 13, 2014 9:28 am    Post subject: Reply with quote

No, not really. :(

Again trying to run this gives the same errors/problems as in the beginning:

Code:

IgorReinCloud igor # /usr/bin/testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[public]"
WARNING: The security=share option is deprecated
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
   workgroup = MSHOME
   server string = Samba Server %v
   interfaces = lo, wlan0
   bind interfaces only = Yes
   security = SHARE
   log file = /var/log/samba/log.%m
   max log size = 50
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = No
   dns proxy = No
   idmap config * : backend = tdb
   hosts allow = 192.168.1.9, 127.0.0.1
   hosts deny = 0.0.0.0/0

[homes]
   comment = Home Directories
   read only = No
   browseable = No

[printers]
   comment = All Printers
   path = /var/spool/samba
   printable = Yes
   print ok = Yes
   browseable = No

[public]
   comment = Public Stuff
   path = /home/samba/public
   write list = @staff
   read only = No
   create mask = 0766
   guest ok = Yes

IgorReinCloud igor # smbclient -L localhost
WARNING: The security=share option is deprecated
Enter root's password:
Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)

IgorReinCloud igor # ls -la /var/log/samba
total 28
drwxr-xr-x  3 root root 4096 May 27 01:44 .
drwxr-xr-x 10 root root 4096 Jun 13 02:18 ..
-rw-r--r--  1 root root    0 May 27 01:44 .keep_net-fs_samba-0
drwx------  4 root root 4096 Apr 17 22:40 cores
-rw-r--r--  1 root root  111 Apr 17 22:40 log.127.0.0.1
-rw-r--r--  1 root root    0 Apr 17 22:51 log.192.168.1.9
-rw-r--r--  1 root root    0 Apr 17 23:26 log.igorreincloud
-rw-r--r--  1 root root 1555 Apr 18 01:51 log.nmbd
-rw-r--r--  1 root root 4746 May 30 02:58 log.smbd


No log file is created, and no connection can be established.

Samba configuration file is displayed as well on the output of "testparm.

Thank you.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1483
Location: Oranienburg/Germany

PostPosted: Fri Jun 13, 2014 9:33 am    Post subject: Reply with quote

OK,

for the rlimit_max error, do the following: add the following line to /etc/security/limits.conf

Code:

*              -       nofile         16384


then run:

Code:

ulimit -n 16384


This should fix the testparm issue. Did you start samba via the init-script?
Code:

/etc/init.d/samba start


Does it return with the same error we had at the beginning of the thread?

bb
_________________
1st: i5-4440 3.1GHz, 16GB, 900GB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 256GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB + 3TB + 4TB BACKUP
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 4GB SD + NFS
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Fri Jun 13, 2014 9:45 am    Post subject: Reply with quote

bbgermany wrote:

OK,

for the rlimit_max error, do the following: add the following line to /etc/security/limits.conf

Code:

*              -       nofile         16384


then run:

Code:

ulimit -n 16384


This should fix the testparm issue.


Changed. But I still see that error.


bbgermany wrote:

Did you start samba via the init-script?
Code:

/etc/init.d/samba start


Does it return with the same error we had at the beginning of the thread?

bb


Code:

IgorReinCloud igor # cat /etc/security/limits.conf
# /etc/security/limits.conf
#
#Each line describes a limit for a user in the form:
#
#<domain>        <type>  <item>  <value>
#
#Where:
#<domain> can be:
#        - an user name
#        - a group name, with @group syntax
#        - the wildcard *, for default entry
#        - the wildcard %, can be also used with %group syntax,
#                 for maxlogin limit
#
#<type> can have the two values:
#        - "soft" for enforcing the soft limits
#        - "hard" for enforcing hard limits
#
#<item> can be one of the following:
#        - core - limits the core file size (KB)
#        - data - max data size (KB)
#        - fsize - maximum filesize (KB)
#        - memlock - max locked-in-memory address space (KB)
#        - nofile - max number of open files
#        - rss - max resident set size (KB)
#        - stack - max stack size (KB)
#        - cpu - max CPU time (MIN)
#        - nproc - max number of processes
#        - as - address space limit (KB)
#        - maxlogins - max number of logins for this user
#        - maxsyslogins - max number of logins on the system
#        - priority - the priority to run user process with
#        - locks - max number of file locks the user can hold
#        - sigpending - max number of pending signals
#        - msgqueue - max memory used by POSIX message queues (bytes)
#        - nice - max nice priority allowed to raise to values: [-20, 19]
#        - rtprio - max realtime priority
#
#<domain>      <type>  <item>         <value>
#

*               -       nofile          16384
#*               soft    core            0
#*               hard    rss             10000
#@student        hard    nproc           20
#@faculty        soft    nproc           20
#@faculty        hard    nproc           50
#ftp             hard    nproc           0
#@student        -       maxlogins       4

# End of file

IgorReinCloud igor # /etc/init.d/samba start
 * WARNING: samba is scheduled to start when net.eth0 has started

IgorReinCloud igor # /usr/bin/testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[public]"
WARNING: The security=share option is deprecated
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
   workgroup = MSHOME
   server string = Samba Server %v
   interfaces = lo, wlan0
   bind interfaces only = Yes
   security = SHARE
   log file = /var/log/samba/log.%m
   max log size = 50
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = No
   dns proxy = No
   idmap config * : backend = tdb
   hosts allow = 192.168.1.9, 127.0.0.1
   hosts deny = 0.0.0.0/0

[homes]
   comment = Home Directories
   read only = No
   browseable = No

[printers]
   comment = All Printers
   path = /var/spool/samba
   printable = Yes
   print ok = Yes
   browseable = No

[public]
   comment = Public Stuff
   path = /home/samba/public
   write list = @staff
   read only = No
   create mask = 0766
   guest ok = Yes


During the reboot, I got the same warnings, that net.eth0 and net.wlan0 are started but inactive. Which means we should somehow activate net.eth0.

Thank you.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1483
Location: Oranienburg/Germany

PostPosted: Fri Jun 13, 2014 9:56 am    Post subject: Reply with quote

please remove the lines "bind interfaces only" and "interfaces" from your samba config and try again.

bb
_________________
1st: i5-4440 3.1GHz, 16GB, 900GB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 256GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB + 3TB + 4TB BACKUP
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 4GB SD + NFS
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2113

PostPosted: Fri Jun 13, 2014 10:01 am    Post subject: Reply with quote

Code:

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
   interfaces = lo wlan0
   bind interfaces only = yes


Are you sure? Seems the comment about this part says otherwise....

Thank you.

[EDIT]
Anyway, removing it does not do anything. Will try to reboot to check
[/EDIT]

[EDIT2]
After reboot, the rc_limit error is gone, but everything else stays the same.
[/EDIT2]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

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