|
|
| Zeile 1: |
Zeile 1: |
| = Grundlegende Befehle zur Kommandozeilen Administration unter Gluon = | | = Veraltet = |
|
| |
|
| | Die auf dieser Seite gelisteten Befehle bezogen sich auf eine ältere Gluon-Version. |
| | Für die aktuellen Befehle bitte direkt im Wikie des Gluon-Projekts nachsehen: |
|
| |
|
| | | [https://github.com/freifunk-gluon/gluon/wiki/Commandline-administration https://github.com/freifunk-gluon/gluon/wiki/Commandline-administration] |
| ==Setting location==
| |
| | |
| # uci set gluon-node-info.@location[0].latitude=53.834470
| |
| # uci set gluon-node-info.@location[0].longitude=10.702518
| |
| # uci set gluon-node-info.@location[0].share_location=1
| |
| # uci commit gluon-node-info
| |
| | |
| | |
| ===Check settings:===
| |
| | |
| # uci show gluon-node-info
| |
| gluon-node-info.@location[0]=location
| |
| gluon-node-info.@location[0].share_location=1
| |
| gluon-node-info.@location[0].latitude=53.834470
| |
| gluon-node-info.@location[0].longitude=10.702518
| |
| | |
| | |
| ==Setting contact==
| |
| | |
| # uci get gluon-node-info.@owner[0] || uci add gluon-node-info owner
| |
| # uci set gluon-node-info.@owner[0].contact=example@example.com
| |
| # uci commit gluon-node-info
| |
| | |
| ===Check settings:===
| |
| | |
| # uci show gluon-node-info
| |
| ....
| |
| gluon-node-info.@owner[0]=owner
| |
| gluon-node-info.@owner[0].contact=Luftloch
| |
| | |
| | |
| | |
| ==Enabling fastd==
| |
| | |
| # uci set fastd.mesh_vpn.enabled=1
| |
| # uci commit fastd
| |
| # /etc/init.d/fastd generate_key mesh_vpn
| |
| 18fa75d1808692f04770bedf30c42dac24585d331560c545d70dd27f22a05648
| |
| | |
| | |
| ==Limit Bandwidth==
| |
| | |
| # uci set gluon-simple-tc.mesh_vpn.limit_egress=800 # upload 0,8Mbit
| |
| # uci set gluon-simple-tc.mesh_vpn.limit_ingress=5000 # download 5,0Mbit
| |
| # uci set gluon-simple-tc.mesh_vpn.enabled=1
| |
| # uci commit gluon-simple-tc
| |
| | |
| | |
| ==Set existing fastd private key==
| |
| | |
| # uci set fastd.mesh_vpn.enabled=1
| |
| # uci set fastd.mesh_vpn.secret=18fa75d1808692f04770bedf30c42dac24585d331560c545d70dd27f22a05648
| |
| # uci commit fastd
| |
| | |
| | |
| ===Show fastd public key===
| |
| | |
| # /etc/init.d/fastd show_key mesh_vpn
| |
| 18fa75d1808692f04770bedf30c42dac24585d331560c545d70dd27f22a05648
| |
| | |
| | |
| ==Enable mesh on WAN-Port==
| |
| | |
| # uci set network.mesh_wan.auto=1
| |
| # uci commit network
| |
| | |
| | |
| ==Change AutoUpdater Branch==
| |
| | |
| # uci set autoupdater.settings.enabled=1
| |
| # uci set autoupdater.settings.branch=stable
| |
| # uci commit autoupdater
| |
| # autoupdater -f
| |
| | |
| | |
| ==Reboot to configmode==
| |
| | |
| # uci set "gluon-setup-mode.@setup_mode[0].enabled=1"
| |
| # uci commit
| |
| # reboot
| |
| | |
| | |
| | |
| Quelle: [https://github.com/freifunk-gluon/gluon/wiki/Commandline-administration https://github.com/freifunk-gluon/gluon/wiki/Commandline-administration]
| |
|
| |
|
|
| |
|
| [[Kategorie:Firmware]] | | [[Kategorie:Firmware]] |
| [[Kategorie:Gluon]] | | [[Kategorie:Gluon]] |
Veraltet
Die auf dieser Seite gelisteten Befehle bezogen sich auf eine ältere Gluon-Version.
Für die aktuellen Befehle bitte direkt im Wikie des Gluon-Projekts nachsehen:
https://github.com/freifunk-gluon/gluon/wiki/Commandline-administration