Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------------------------------------------------------------------
- Connect to the internet:
- For wireless and WWAN, make sure the card is not blocked with rfkill.
- 1. Connect to the network:
- Ethernet:
- Plug in the cable.
- --------------------------------------------------------------------------------
- Wi-Fi:
- Start the interactive prompt:
- $ iwctl <-- NOTE: Use $ exit or Ctrl + D to quit the interactive prompt.
- NOTE: You can use all commands as command line arguments without entering an interactive prompt, e.g. [$ iwctl device wlan0 show].
- NOTE: To list all available commands use [# help].
- Connect to a network:
- 1. List all Wi-Fi devices:
- # device list
- 2. If the device or its corresponding adapter is turned off, turn it on:
- # device <device> set-property Powered on
- # adapter <adapter> set-property Powered on
- 3. Scan for networks:
- # station <device> scan
- # station <device> get-networks
- 4. Connect to a network:
- # station <device> connect "Case-Sensitive SSID"
- NOTE: The command line equivalent: [$ iwctl --passphrase <pw> station <device> connect SSID]
- NOTE: iwd automatically stores network passphrases in /var/lib/iwd/ and uses them to auto-connect in the future.
- iwd only supports PSK pass-phrases from 8 to 63 ASCII-encoded characters. The following error message will be given if the requirements are not met: PMK generation failed. Ensure Crypto Engine is properly configured.
- NOTE: For automatic IP and DNS configuration via DHCP, you have to manually enable the built-in DHCP client or configure a standalone DHCP client.
- NOTE: The user interface supports autocomplete. Typing station or connect and Tab Tab, the available devices or networks are displayed,
- Type the first letters of the device or network and Tab to complete.
- Connect to a network using WPS/WSC:
- If your network is configured such that you can connect to it by pressing a button:
- # wsc list
- If your device appeared in the above list:
- # wsc <device> push-button
- And push the button on your router. The procedure works also if the button was pushed beforehand, less than 2 minutes earlier.
- If your network requires to validate a PIN number to connect that way, check the # help command output to see how to provide the right options to the wsc command.
- --------------------------------------------------------------------------------
- 1. Disconnect from a network:
- # station <device> disconnect
- 2. Show device and connection information:
- # device <device> show
- 3. Display the connection state:
- # station <device> show
- 4. Manage known networks:
- # known-networks list
- 5. Forget a known network:
- # known-networks "SSID" forget
- --------------------------------------------------------------------------------
- 2. Ensure your network interface is listed and enabled:
- $ ip link
- 3. The connection may be verified with ping:
- $ ping -c 3 archlinux.org
- Update the system clock:
- In the live environment systemd-timesyncd is enabled by default and time will be synced automatically once a connection to the internet is established.
- Use timedatectl to ensure the system clock is accurate.
- $ timedatectl status <-- Can use this command to check the status of the service.
- $ timedatectl set-ntp true <-- Enable and start the network synchronization service.
- --------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement