11---
2- title : How to Change Leo Rover Wi-Fi AP Settings (SSID, Password)
3- sidebar_label : Configure the Access Point
2+ title : How to Change Leo Rover Network Settings (SSID, Password)
3+ sidebar_label : Network configuration
44sidebar_position : 10
55keywords :
66 - Leo Rover
@@ -15,9 +15,55 @@ description: >-
1515image : /img/robots/leo/guides/ap-settings/hostapd.webp
1616---
1717
18- # How to Configure the Wi-Fi Access Point
18+ # How to Configure the Leo Rover Network
1919
20- ## Access the hostapd configuration file
20+ :::note
21+
22+ In order to apply any of the below modifications, you will need to reboot the
23+ Raspberry Pi. To do so, use the power button or type:
24+
25+ ``` bash
26+ reboot
27+ ```
28+
29+ :::
30+
31+ ## Switching the access point interfaces and wired connection modes
32+
33+ We provide a script for the most common Wi-Fi access point changes. To use it,
34+ connect to your Leo Rover via SSH and run:
35+
36+ ``` bash
37+ sudo leo-config
38+ ```
39+
40+ This will open an interactive menu. From there, you can configure the access
41+ point interfaces and wired connection mode or view the current settings.
42+
43+ Access point interface options:
44+
45+ - ` wlan_int ` - use the internal Wi-Fi interface to host the access point
46+ - ` wlan_ext ` - use an external Wi-Fi interface (USB dongle) to host the access
47+ point (default)
48+ - ` disabled ` - turn off the access point
49+
50+ Wired connection mode options:
51+
52+ - ` bridge ` - bridge the wired interface with the wireless access point (default)
53+ - ` dhcp_client ` - use the wired interface as a DHCP client on an upstream
54+ network
55+
56+ :::tip
57+
58+ To see all available options, type:
59+
60+ ``` bash
61+ sudo leo-config --help
62+ ```
63+
64+ :::
65+
66+ ## Changing the access point settings
2167
2268First you have to connect to your Leo Rover via SSH:
2369
@@ -40,8 +86,6 @@ The editor interface should appear.
4086 }}
4187/>
4288
43- ## Modify the settings
44-
4589### Change the SSID and password
4690
4791Modify the ` ssid ` and ` wpa_passphrase ` fields.
@@ -81,12 +125,3 @@ This can limit the number of available channels to use.
81125
82126Type ** Ctrl+O** and ** Enter** to save the modified configuration and ** Ctrl+X**
83127to exit the editor.
84-
85- ## Restart the access point
86-
87- In order to apply the modifications, you need to restart the access point
88- daemon. To do so, just type:
89-
90- ``` bash
91- sudo systemctl restart hostapd
92- ```
0 commit comments