Wireless Network Switching

To get a list of access points (AP's) in range, run the following command.

/sbin/iwlist ra0 scanning

To set the wireless network to use one of those networks, run the following command.

sudo /sbin/iwconfig ra0 essid <id> key s:<key>

Where ra0 is the interface, <id> is the essid of the network to attach to and <s> is the ASCII password to use to connect (s: indicates that it's ASCII instead of hex).

comments powered by Disqus
linux/wireless_network_switching.txt · Last modified: 2020/06/01 22:53 (external edit)