You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,19 +42,18 @@ Refers the the page [`Build LibreMesh`](/build/) for instructions on how to buil
42
42
Install the firmware on your device following the installation method reported in the [wiki of OpenWrt](https://openwrt.org)
43
43
or, if not present, search the instruction in the **`git-commit` message** left from who added the support for that device model. See the [Table of Hardware](https://toh.openwrt.org).
It is strongly adviced to **install OpenWrt first**:
46
+
If your device runs OEM firmware it is adviced to **install OpenWrt first**:
47
+
:::
48
+
49
49
1. Download the latest `stable` firmware for your device from the [`OpenWrt Firmware Selector`](https://firmware-selector.openwrt.org).
50
-
If your device runs OEM firmware use the `factory` for first time installation.
50
+
Use the `factory`image for first time installation. See the OpenWrt wiki page [Factory Install: First Time Installation](https://openwrt.org/docs/guide-quick-start/factory_installation):
51
51
2. Check that the OpenWrt device boot and function properly.
52
52
Beware that OpenWrt by default doesn't turn on the Wi-Fi.
53
53
Turn it on from `LuCi` from the menu `Network` / `Wireless`.
54
-
3. Upgrade to LibreMesh:
54
+
3. Upgrade to LibreMesh using a `sysupgrade` image:
55
55
- upload the firmware via the web interface `LuCI` from the menu `System` / `Backup / Flash Firmware`.
56
56
- or via ssh using the command `sysupgrade -n firmware.bin`
Copy file name to clipboardExpand all lines: docs/guide/packages-selection.md
+21-15Lines changed: 21 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
---
2
2
outline: deep
3
3
---
4
-
5
4
<scriptsetup>
6
5
import { dataasopenwrt } from'/openwrt.data.js'
7
6
</script>
@@ -18,7 +17,8 @@ It is **highly discouraged** to `upgrade` packages. Read the OpenWrt's [`Upgrade
18
17
:::
19
18
20
19
::: warning ath9k warning
21
-
Routers with Atheros radios and the `ath9k` driver have a known bug that cause them to become deaf, if you are using an OpenWrt older than 24.10.6 be sure to include the libremesh package `wifi-unstuck-wa`
20
+
Routers with Atheros radios and the `ath9k` driver have a known bug that cause them to become deaf,
21
+
if you are using an OpenWrt older than 24.10.6 be sure to include the libremesh package `wifi-unstuck-wa`
22
22
:::
23
23
24
24
::: warning ath10k warning
@@ -69,26 +69,32 @@ Additionally these packages could be `excluded` in the firmware build:
69
69
70
70
:::
71
71
72
-
The same formatted as list
72
+
The same list to use when building with Buildroot.
If you use the protocol `manual` do not specify other protocols, may result in an unpredictable behavior/configuration (likely you loose connection to the node)
20
20
:::
21
21
22
-
## WAN port
23
-
Configure an network ethernet port as WAN using the protocol `wan` or `static`.
22
+
## Examples
23
+
### WAN port
24
+
Configure a network ethernet port as WAN using the protocol `wan` or `static`.
24
25
25
-
### wan (DHCP)
26
+
::: tip
27
+
LibreMesh in the default flavor preserve the default openwrt WAN port.
28
+
This interface gets created by `lime-hwd-openwrt-wan` package in case an ethernet WAN port is detected.
29
+
**Disable the default interface**`lm_hwd_openwrt_wan` if you intend to configure a different port as wan.
30
+
:::
31
+
32
+
#### Disable default
33
+
```
34
+
config net lm_hwd_openwrt_wan
35
+
option autogenerated 'false'
36
+
```
37
+
-`autogenerated 'false'` - Specify that the configuration of the WAN ethernet port has been manually edited.
38
+
39
+
40
+
#### wan (DHCP)
26
41
Use `wan` protocol to get Internet connectivity via DHCP
27
42
```
28
43
config net port1_wan
@@ -31,7 +46,7 @@ config net port1_wan
31
46
32
47
```
33
48
34
-
### static (ipv4)
49
+
####static (ipv4)
35
50
Use `static` protocols and specify the router 'IPv4/subnet' and the gateway IPv4.
36
51
```
37
52
config net port1_wan
@@ -41,7 +56,7 @@ config net port1_wan
41
56
option static_gateway_ipv4 '192.168.1.1'
42
57
```
43
58
44
-
### static (ipv6)
59
+
####static (ipv6)
45
60
Use `static` protocols and specify the router 'IPv6/subnet' and the gateway IPv6.
46
61
```
47
62
config net port1_wan
@@ -51,15 +66,15 @@ config net port1_wan
51
66
option static_gateway_ipv6 'fe80::1'
52
67
```
53
68
54
-
## LAN port
69
+
###LAN port
55
70
Configure `lan1` for users to connect to, not for connection to other nodes.
56
71
```
57
72
config net port1
58
73
option linux_name 'lan1'
59
74
list protocols 'lan'
60
75
```
61
76
62
-
## Mesh only port
77
+
###Mesh only port
63
78
The protocol `batadv:%N1` needs to be specified if the other node is in the same mesh cloud i.e. same `ap_ssid`.
0 commit comments