2014年5月20日火曜日

Arch Linux 3.14.2-1 6

Lenovo ThinkPad X61 7675-4BJでArchLinux(x86_64)の環境を構築して行きます。
無線LANへの接続作業の続きをします。

netctlのプロファイルの作成

プロファイルの編集を行いました。
DHCP用プロファイルとStatic用プロファイルを作成しました。

  • wls3_static
  • enp0s25_dhcp
  • wle3_dhcp

netctl listで表示を確認しました。
enp0s25_dhcp(有線/DHCP)での接続の確認をしました。

ip link set wls3 up

# ip link show
3: wls3: NO-CARRIER,BROADCAST,MULTIMEDIA,UP

netctl enable wls3_dhcp

無線LANアダプタで、DCHPでの接続を試してみます。

# netctl enable wls3_dhcp
Profile 'wls3_dhcp' does not specify a valid connection

作成したプロファイルに問題があるようです。
スペルミスがあったので、修正しました。

# netctl enable wls3_dhcp
ln -s '/etc/systemd/system/netctl@wls3_dhcp.service'
'/etc/systemd/system/multi-user.target.wants/netctl@wls3_dhcp.service'

netctl start wls3_dhcp

# netctl start wls3_dhcp
Job for netctl@wls3_dhcp.service failed.

接続が出来ません。
エラーログを見てみます。

systemctl status netctl@wls3_dhcp.service

# systemctl status netctl@wls3_dhcp.service
network[912]: Starting network profile 'wls_dhcp'...
network[912]: The interface of network profile 'wls3_dhcp' is already up
systemd[1]: netctl@wls3_dhcp.service:
main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start A simple open encypted wireless connection.
systemd[1]: Unit netct@wls3_dhcp.service entered failed state.
  • Loaded: loaded
  • Active: failed (Result: exit-code)
  • Process: 455 ... (code=exited, status=1/FAILURE)

journalctl -xn

Configuration file /etc/systemd/system/netctl@wls3_dhcp.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.

Unit netctl@wls3_dhcp.service has bedan starting up.

  • Starting network profile 'wls3_dhcp'...
  • The interface of network profile 'wls3_dhcp' is already up
  • netctl@wls3_dhcp.service: main process exited, code=exited, status1/FAILURE
  • Failed to start A simple open encrypted wireless connection.

The result is faild.

  • Unit netctl@wls3_dhcp.service entered failed state.
  • Starting Cleanup of Temporary Directories...

Unit systemd-tmpfiles-clean.service has finished starting up.
The start-up result is done.

wpa_supplicant

# pacman -S wpa_supplicant

wpa_supplicantをインストールしたら、無線LANに接続出来ました。

補足事項

  • ArchLinux 3.14.4-1-ARCH
  • LinuxCon Japanに行きたかったです。 (今日知った)

0 件のコメント:

コメントを投稿