orga:ffsc:config

Dies ist eine alte Version des Dokuments!


FFSC - URLs - Inventar - config

Default Config

  • IP-Adresse: 192.168.0.1
  • Username: admin
  • Passwort: admin
  • IP-Adresse: 192.168.1.20
  • Username: ubnt
  • Passwort: ubnt

Router Config

Folgende Befehle sind auf der SSH-Shell des Routers auszuführen.

cat /lib/gluon/release
grep machine /proc/cpuinfo
Befehl Auswirkung
uci show Komplette Configuration anzeigen
uci set foobar=baz Die Option 'foobar' auf den Wert 'baz' setzen
uci delete foobar Die Option 'foobar' löschen
uci add_list foobar=baz Die Liste 'foobar' um den Wert 'baz' erweitern
uci del_list foobar=baz Den Wert 'baz' aus der Liste 'foobar' entfernen
uci del_list foobar Die Liste 'foobar' löschen
uci commit Änderungen Speichern
uci revert Änderungen Verwerfen

</code>

/etc/init.d/fastd show_key mesh_vpn
uci show fastd.mesh_vpn.secret
fastd --generate-key

Achtung: Die Keys werden nur auf der Console ausgegeben. Diese müssen nun gespeichert werden!

uci set fastd.mesh_vpn.secret=GEHEIMER-SCHLUESSEL
uci commit
reboot
uci set fastd.mesh_vpn.enabled=1
uci commit
uci set configurator.@api[0].api_key='1'
uci set configurator.@crawl[0].update_hash='1'
uci set configurator.@netmon[0].autoadd_ipv6_address='1'
uci set configurator.@crawl[0].router_id='1'
uci commit

reboot ???

sh -x /lib/ffol/configurator/configurator.sh
uci set autoupdater.settings.branch='stable'
uci set autoupdater.settings.enabled='1'
uci set autoupdater.stable=branch
uci set autoupdater.stable.name='stable'
uci set autoupdater.stable.good_signatures='1'
uci delete autoupdater.ng
uci delete autoupdater.stable.mirror
uci add_list autoupdater.stable.mirror='http://[2a01:4f8:100:24ef:606:1903:0:2]/ffsc/stable/images/sysupgrade/'
uci delete autoupdater.stable.pubkey
uci add_list autoupdater.stable.pubkey='578a1e4b6789f12401896807b58bdd87401fa23f7b1c5bf70ecdc1bc1a871396'
uci commit

Das Autoupdate wird innerhalb der nächsten Stunde ausgeführt.

uci delete autoupdater.stable.mirror
uci add_list autoupdater.stable.mirror='http://[2a01:4f8:100:24ef:606:1903:0:2]/ffsc/testing/images/sysupgrade/'
uci commit

Der Branchname lautet bereits „Stable“. Das Autoupdate wird innerhalb der nächsten Stunde ausgeführt.

autoupdater -f

Man kann das Client-WLAN ausschalten und einen Accesspoint nur für Mesh verwenden.

uci set wireless.client_radio0.disabled='1'
uci commit
wifi
  • orga/ffsc/config.1456403523.txt.gz
  • Zuletzt geändert: 2016/02/25 13:32
  • von bigboss