Skip to content

Commit f0e9e34

Browse files
authored
content: Update access point settings guide (#159)
* Update AP settings guide * Rename ap-settings to network-configuration * Add redirect * Format * Revert the link change in 1.8 docs
1 parent b9a326b commit f0e9e34

5 files changed

Lines changed: 56 additions & 18 deletions

File tree

docs/leo-rover/documentation/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Rover's computer.
6262
For instructions on how to change WiFi network credentials, you can visit this
6363
page:
6464

65-
<LinkButton docId="guides/ap-settings" />
65+
<LinkButton docId="guides/network-configuration" />
6666

6767
Connect to the network.
6868

docs/leo-rover/documentation/specification.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ address in the `10.0.0.x` range and can communicate with the rover.
589589

590590
You can learn how to change the access point settings in this guide:
591591

592-
<LinkButton docId="guides/ap-settings" />
592+
<LinkButton docId="guides/network-configuration" />
593593

594594
LeoOS also supports connecting to existing Wi-Fi networks using the internal
595595
Wi-Fi interface. This can be useful for connecting the rover to a network with

docs/leo-rover/guides/connect-to-rover-ap.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ computer.
4141
For instructions on how to change the WiFi network credentials, you can visit
4242
this page:
4343

44-
<LinkButton docId="guides/ap-settings" />
44+
<LinkButton docId="guides/network-configuration" />

docs/leo-rover/guides/ap-settings.mdx renamed to docs/leo-rover/guides/network-configuration.mdx

Lines changed: 50 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
44
sidebar_position: 10
55
keywords:
66
- Leo Rover
@@ -15,9 +15,55 @@ description: >-
1515
image: /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

2268
First 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

4791
Modify the `ssid` and `wpa_passphrase` fields.
@@ -81,12 +125,3 @@ This can limit the number of available channels to use.
81125

82126
Type **Ctrl+O** and **Enter** to save the modified configuration and **Ctrl+X**
83127
to 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-
```

static/_redirects

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,6 @@
8181
# Removed archive redirects
8282
/leo-rover/archive/* /leo-rover/1.8/archive/:splat 301
8383

84+
# Renamed network configuration tutorial
85+
/leo-rover/guides/ap-settings /leo-rover/guides/network-configuration 301
86+

0 commit comments

Comments
 (0)