Skip to content

Compare: Commandline administration

Showing with 14 additions and 12 deletions.
  1. +14 −12 Commandline-administration.md
26 changes: 14 additions & 12 deletions Commandline-administration.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Show fastd public key

Enable mesh on WAN-Port
-----------------------
*Note:* This will change the behaviour of the WAN port (on most devices the blue port) so you will not be able to connect on it to the Internet any more, but instead you can connect other nodes on the WAN port directly that also have enabled any of Mesh-on-WAN or Mesh-on-LAN.

# uci set network.mesh_wan.auto=1
# uci commit network
Expand Down Expand Up @@ -109,7 +110,7 @@ PoE passthrough on Nanostation M
echo out > /sys/class/gpio/gpio8/direction
echo 1 > /sys/class/gpio/gpio8/value

Sendeleistung auf Nanostation M2
Transmit Power on Nanostation M2
--------------------------------

OpenWRT Barrier Breaker hat z.Z. (Jan. 2015) noch den Fehler, dass der Antennengewinn der NSM2 nicht berücksichtigt wird. Sie strahlt also "zu viel". Das führt zwar zu phantastischen Reichweiten, was die Sendeleistung angeht, allerdings kann das Endgerät meist über die Distanz (oder die Hindernisse wie Mauern und der Gleichen) nicht antworten. Man hat also scheinbar freifunk, es geht aber nicht. Da das 1. ärgerlich und 2. verboten ist, setzen wir die Sendeleistung von Hand runter auf 100mW:
Expand All @@ -118,7 +119,7 @@ OpenWRT Barrier Breaker hat z.Z. (Jan. 2015) noch den Fehler, dass der Antenneng
uci commit
wifi

Überprüfen kann man die gesetzte Sendeleistung mit:
you can check the currently set transmit power with:

iwinfo radio0 txpower

Expand All @@ -129,17 +130,17 @@ OpenWRT Barrier Breaker hat z.Z. (Jan. 2015) noch den Fehler, dass der Antenneng
uci commit
wifi

Überprüfen kann man die gesetzte Sendeleistung mit:
you can check the currently set transmit power with:

iwinfo client0 txpower

### Für die Nanostation M2 **loco** gilt:
### For the Nanostation M2 **loco**

uci set wireless.radio0.txpower=12
uci commit
wifi

Überprüfen kann man die gesetzte Sendeleistung mit:
you can check the currently set transmit power with:

iwinfo client0 txpower

Expand Down Expand Up @@ -203,30 +204,31 @@ Mesh on LAN

This will activate mesh on all LAN ports (yellow on most devices)

# aktivieren
# aktivate
uci set network.client.ifname="bat0"
uci set network.mesh_lan.auto=1
uci commit network


# deaktivieren
# deaktivate
uci set network.client.ifname="bat0 $(cat /lib/gluon/core/sysconfig/lan_ifname)"
uci set network.mesh_lan.auto=0
uci commit network


Nanostation Webinterface im Freifunk Netz
Nanostation webinterface in Freifunk net
-----------
Die Nanostation und andere PtP Accesspoints besitzen meistens nur ein Netzwerkinterface. Nutzt man diese PtP Links für batman-adv Traffic, verliert man die Möglichkeit auf das Webinterface zuzugreifen.
The NanoStation and other Point-to-Point accesspoints usually have only one network interface. If you use these PtP links for batman-adv traffic, you lose the ability to access the web interface .

ACHTUNG: Zwei Gluon Router die per WAN Interface zusammengeschaltet werden, wo das Vlan 10 jeweils auf der br-client Bridge verbunden ist, können so eine wunderbare Loop bauen.
ACHTUNG: Zwei Gluon Router die per WAN Interface zusammengeschaltet werden, wo das Vlan 10 jeweils auf der br-client Bridge verbunden ist, können so einen wunderbaren Loop bauen.

Das WAN Interface darf hierfür nicht hinter einem vswitch liegen.

Das Wan Interface darf hierfür nicht hinter einem vswitch liegen.
Wenn also:

cat /lib/gluon/core/sysconfig/wan_ifname

sowas wie eth1.4 ergibt, funktioniert das Vlan Tagging auf dem Gerät nicht!
z.B `eth1.4` ergibt, funktioniert das Vlan Tagging auf dem Gerät nicht!


Einstellungen für eine Nanostation: [Hier](http://i.imgur.com/wfamB7C.png)
Expand Down