User Tools

Site Tools


setup_wifi_from_command_line_console

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
setup_wifi_from_command_line_console [2017/01/07 16:01] walkeradminsetup_wifi_from_command_line_console [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Setup WiFi from Command Line Console ====== ====== Setup WiFi from Command Line Console ======
 +<color orange>Jan 2017</color>
 \\  \\ 
 +\\ 
 +{{:wifi.jpg?100|}}
 +{{:wifi.jpg?100|}}
 +{{:wifi.jpg?100|}}
 +{{:wifi.jpg?100|}}
 +{{:wifi.jpg?100|}}
 +{{:wifi.jpg?100|}}
 +\\ 
 +\\ 
 +
 +----
 +
 Setting up WiFi from the GUI of Raspbian is easy, just click the wifi button on the top right, select your SSID, enter your details and away you go. Setting up WiFi from the GUI of Raspbian is easy, just click the wifi button on the top right, select your SSID, enter your details and away you go.
 \\  \\ 
Line 7: Line 20:
 \\  \\ 
 \\  \\ 
 +
 +----
 +
 ==== Before you start ==== ==== Before you start ====
 \\  \\ 
Line 30: Line 46:
           RX bytes:216207 (211.1 KiB)  TX bytes:24862 (24.2 KiB)           RX bytes:216207 (211.1 KiB)  TX bytes:24862 (24.2 KiB)
 </file> </file>
-\\  
 \\  \\ 
 Enter HWaddr (d5:6b:b0:99:46:86 in this example) in to your router. Enter HWaddr (d5:6b:b0:99:46:86 in this example) in to your router.
Line 43: Line 58:
 \\  \\ 
     sudo iwlist wlan0 scan     sudo iwlist wlan0 scan
-\\  
 \\  \\ 
 If you have more than one SSID close by, then you could get quite a list. so you can use the following to work out what information you need. If you have more than one SSID close by, then you could get quite a list. so you can use the following to work out what information you need.
-\\  
 \\  \\ 
     sudo iwlist wlan0 scan |more     sudo iwlist wlan0 scan |more
Line 52: Line 65:
     This will allow you to scroll through the pages of information you might get     This will allow you to scroll through the pages of information you might get
 \\  \\ 
-\\+Or 
 +\\ 
     sudo iwlist wlan0 scan |grep SSID     sudo iwlist wlan0 scan |grep SSID
          
Line 69: Line 83:
 \\  \\ 
 To add your details to Raspbian, use the following: To add your details to Raspbian, use the following:
-\\  
 \\  \\ 
     sudo nano /etc/wpa_supplicant/wpa_supplicant.conf     sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
-\\  
 \\  \\ 
 You will see a fairly empty file (assuming no one has edited this before) You will see a fairly empty file (assuming no one has edited this before)
-\\  
 \\  \\ 
 <file> <file>
Line 82: Line 93:
 update_config=1 update_config=1
 </file> </file>
-\\  
 \\  \\ 
 At the end of this file, add the following lines. At the end of this file, add the following lines.
-\\  
 \\  \\ 
 <file> <file>
Line 98: Line 107:
     ssid="Home"     ssid="Home"
     psk="0123456789"     psk="0123456789"
 +}
 </file> </file>
-\\  
 \\  \\ 
 Save the file, reboot the Pi and Voila! Save the file, reboot the Pi and Voila!
-\\  
 \\  \\ 
 <file> <file>
setup_wifi_from_command_line_console.1483804902.txt.gz · Last modified: 2023/03/09 22:35 (external edit)