Translations:Wi-Fi Old/16/en
Below is the text of the file, which shows the settings for connecting to networks with different encryption settings. The file is borrowed from here. <syntaxhighlight lang="bash">
- start of wireless bits
- this command stays for all configs
auto wlan0
- comments indicated by #;
- commands indicated by #
- remove the # to enable the command
- if using static IP then....#
- iface wlan0 inet static
- address UR_IP
- gateway UR_ROUTER_IP
- netmask 255.255.255.0
- otherwise use dhcp #
- iface wlan0 inet dhcp
- OPEN wireless config #
- wireless-essid UR_ESSID
- wireless-mode managed