vine-users ML アーカイブ



[vine-users:082857] Re: wifi環境でのnetworkサービスへの切り替え

  • From: Hiroshi Takenaka <ihsorihakanekat@xxxxxxxxxxxxxxx>
  • Subject: [vine-users:082857] Re: wifi環境でのnetworkサービスへの切り替え
  • Date: Fri, 8 Jul 2016 21:15:28 +0900
竹中@長岡京市です。

後ろの設定で、
$ sudo service NetworkManager stop
$ sudo service wpa_supplicant start
$ sudo service network start
を実行しましたが、ネットワーク接続できません。

dmesg の最後の方はこんな感じです。
現在は、NetworkManager に戻して接続しています。

他に検討するところないでしょうか?

-----
wlan0: authenticate with 64:a5:c3:69:30:16
wlan0: send auth to 64:a5:c3:69:30:16 (try 1/3)
wlan0: authenticated
wlan0: associate with 64:a5:c3:69:30:16 (try 1/3)
wlan0: RX AssocResp from 64:a5:c3:69:30:16 (capab=0x1411 status=0 aid=4)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
wlan0: deauthenticating from 64:a5:c3:69:30:16 by local choice (reason=3)
cfg80211: Calling CRDA for country: JP
pcieport 0000:00:1c.2: wake-up capability enabled by ACPI
ADDRCONF(NETDEV_UP): wlan0: link is not ready
IPv6 over IPv4 tunneling driver
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
wlan0: authenticate with 64:a5:c3:69:30:16
wlan0: send auth to 64:a5:c3:69:30:16 (try 1/3)
wlan0: authenticated
wlan0: associate with 64:a5:c3:69:30:16 (try 1/3)
wlan0: RX AssocResp from 64:a5:c3:69:30:16 (capab=0x1411 status=0 aid=4)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
cfg80211: Calling CRDA to update world regulatory domain
wlan0: authenticate with 64:a5:c3:69:30:16
wlan0: send auth to 64:a5:c3:69:30:16 (try 1/3)
wlan0: authenticated
wlan0: associate with 64:a5:c3:69:30:16 (try 1/3)
wlan0: RX AssocResp from 64:a5:c3:69:30:16 (capab=0x1411 status=0 aid=4)
wlan0: associated
cfg80211: Calling CRDA to update world regulatory domain
wlan0: authenticate with 64:a5:c3:69:30:16
wlan0: send auth to 64:a5:c3:69:30:16 (try 1/3)
wlan0: authenticated
wlan0: associate with 64:a5:c3:69:30:16 (try 1/3)
wlan0: RX AssocResp from 64:a5:c3:69:30:16 (capab=0x1411 status=0 aid=4)
wlan0: associated
cfg80211: Calling CRDA for country: JP
wlan0: authenticate with 64:a5:c3:69:30:16
wlan0: send auth to 64:a5:c3:69:30:16 (try 1/3)
wlan0: authenticated
wlan0: associate with 64:a5:c3:69:30:16 (try 1/3)
wlan0: RX AssocResp from 64:a5:c3:69:30:16 (capab=0x1411 status=0 aid=4)
wlan0: associated
cfg80211: Calling CRDA to update world regulatory domain
wlan0: authenticate with 64:a5:c3:69:30:16
wlan0: send auth to 64:a5:c3:69:30:16 (try 1/3)
wlan0: authenticated
wlan0: associate with 64:a5:c3:69:30:16 (try 1/3)
wlan0: RX AssocResp from 64:a5:c3:69:30:16 (capab=0x1411 status=0 aid=4)
wlan0: associated

--- /etc/sysconfig/network-scripts/ifcfg-wlan0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
DNS1=zzz.zzz.zzz.zzz
DEVICE=wlan0
BOOTPROTO=none
TYPE=Wireless
IPV6INIT=yes
ONBOOT=no
USERCTL=no
ESSID="My SSID"
MODE=Managed
RATE=auto
NM_CONTROLLED=no
CHANNEL=
HWADDR=00:24:A5:D5:C2:94
KEY_MGMT=WPA-PSK
IPADDR0=xxx.xxx.xxx.xxx
PREFIX0=24
GATEWAY0=yyy.yyy.yyy.yyy
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=yes
NAME="AirMac 5GHz"
UUID=113f1f4e-535e-c25b-8849-2c6f770a6501
-----

--- /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=2
network={
    ssid="My SSID"
    scan_ssid=1
    key_mgmt=WPA-PSK
    proto=WPA WPA2
    pairwise=CCMP TKIP
    group=CCMP TKIP WEP104 WEP40
    #psk="My Pass Phrase"
    psk=My hashed Pass Phrase
}
-----

--- /etc/sysconfig/wpa_supplicant
# Use the flag "-i" before each of your interfaces, like so:
#  INTERFACES="-ieth1 -iwlan0"
INTERFACES="-iwlan0"

# Use the flag "-D" before each driver, like so:
#  DRIVERS="-Dwext"
DRIVERS=""

# Other arguments
#   -u   Enable the D-Bus interface (required for use with NetworkManager)
#   -f   Log to /var/log/wpa_supplicant.log
#   -P   Write pid file to /var/run/wpa_supplicant.pid
# required to return proper codes by init scripts (e.g. double "start" action) # -B to daemonize that has to be used together with -P is already in wpa_supplicant.init.d OTHER_ARGS="-u -f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid"
-----

On 2016年06月19日 10:48, Jun Mizukuchi wrote:
Junです

以下の記述は必須ではなかったみたいです
wpa_passphrase
で変換したものを使った方が望ましいってだけで
つながらない原因 ではなさそうです

On Sat, 18 Jun 2016 16:37:24 +0900
Jun Mizukuchi <azure@xxxxxxxxxxxxxxxxxx> wrote:
それから
/etc/wpa_supplicant/wps_supplicant.confの
psk=の所は
wpa_passphrase
で変換したものを使用しないといけなかったように思います。
### 例えば
# # wpa_passphrase "Apple Network 693017 5GHz" "Hiroshi_600418"
#  network={
#	ssid="Apple Network 693017 5GHz"
#	#psk="Hiroshi_600418"
#	psk=905c14d0a60fe062906eac5481e22d8e9bb4796a31fcf94fd385c3511ec54e78
#  }
## みたいな
##

それでは
_______________________________________________
vine-users mailing list
vine-users@xxxxxxxxxxxxxxxxxxxx
http://listserv.linux.or.jp/mailman/listinfo/vine-users


--
*************************************
* Hiroshi Takenaka
* Nagaokakyo, Kyoto, 617-0833 Japan
*************************************

_______________________________________________
vine-users mailing list
vine-users@xxxxxxxxxxxxxxxxxxxx
http://listserv.linux.or.jp/mailman/listinfo/vine-users