Setingup Wifi on ArchLinux.
Before proceeding check for the wireless link status on your device.
[wiz@Arch-DOC ~]# iwconfig
wlp2s0b1 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=19 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
lo no wireless extensions.
enp1s0 no wireless extensions.
[wiz@Arch-DOC ~]# netctl is-enabled wlp2s0b1-myrouter
Failed to get unit file state for netctl@wlp2s0b1\x2dh\x40Ck3r.service: No such file or directory
There's an even simple program called wifi-menu which scans and displays available SSID's in the vicinity.
This creates a profile in the /etc/netctl/ upon successful authentication connection with the
[wiz@Arch-DOC netctl]# cat wlp2s0b1-myrouter
Interface=wlp2s0b1
Connection=wireless
Security=wpa
ESSID=myrouter
IP=dhcp
Key=myp@ssword
[wiz@Arch-DOC ]# netctl start wlp2s0b1-myrouter
Type iwconfig, and it should listout the active wireless link details.
Now, to enable the wireless interface across restarts/reboots, do the following to ensure it is enabled and loaded
[wiz@Arch-DOC ]# netctl is-enabled wlp2s0b1-myrouter
Failed to get unit file state for netctl@wlp2s0b1\x2dmyrouter.service: No such file or directory
[wiz@Arch-DOC ]# netctl enable wlp2s0b1-myrouter
ln -s '/etc/systemd/system/netctl@wlp2s0b1\x2dmyrouter.service' '/etc/systemd/system/multi-user.target.wants/netctl@wlp2s0b1\x2dmyrouter.service'
[wiz@Arch-DOC ]# netctl is-enabled wlp2s0b1-myrouter
enabled
For more information checkout netctl
Before proceeding check for the wireless link status on your device.
[wiz@Arch-DOC ~]# iwconfig
wlp2s0b1 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=19 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
lo no wireless extensions.
enp1s0 no wireless extensions.
[wiz@Arch-DOC ~]# netctl is-enabled wlp2s0b1-myrouter
Failed to get unit file state for netctl@wlp2s0b1\x2dh\x40Ck3r.service: No such file or directory
There's an even simple program called wifi-menu which scans and displays available SSID's in the vicinity.
This creates a profile in the /etc/netctl/ upon successful authentication connection with the
[wiz@Arch-DOC netctl]# cat wlp2s0b1-myrouter
Interface=wlp2s0b1
Connection=wireless
Security=wpa
ESSID=myrouter
IP=dhcp
Key=myp@ssword
[wiz@Arch-DOC ]# netctl start wlp2s0b1-myrouter
Type iwconfig, and it should listout the active wireless link details.
Now, to enable the wireless interface across restarts/reboots, do the following to ensure it is enabled and loaded
[wiz@Arch-DOC ]# netctl is-enabled wlp2s0b1-myrouter
Failed to get unit file state for netctl@wlp2s0b1\x2dmyrouter.service: No such file or directory
[wiz@Arch-DOC ]# netctl enable wlp2s0b1-myrouter
ln -s '/etc/systemd/system/netctl@wlp2s0b1\x2dmyrouter.service' '/etc/systemd/system/multi-user.target.wants/netctl@wlp2s0b1\x2dmyrouter.service'
[wiz@Arch-DOC ]# netctl is-enabled wlp2s0b1-myrouter
enabled
For more information checkout netctl
No comments:
Post a Comment