FirmwareAnpassungen

Wie kann ich ...

einen Gateway einrichten?

http auf WAN Port verfügbar machen

LAN und WAN Port tauschen

Firmware aktualisieren

Configmode per SSH aktivieren

Pakete per opkg nachinstallieren?

Lan Ports aufteilen in Vlans

Routereinstellungen per ssh ändern

Noch mehr Sachen per ssh ändern

Router per ssh zurücksetzen (restore)

umount /overlay && firstboot && reboot

Standort in Map anpassen

uci set gluon-node-info.@location[0].share_location='1'
uci set gluon-node-info.@location[0].longitude='9.3801'
uci set gluon-node-info.@location[0].latitude='48.819'
uci commit

Node auf einen Gateway fest binden

uci set fastd.mesh_vpn_backbone_peer_gw01.enabled='0'
uci set fastd.mesh_vpn_backbone_peer_gw02.enabled='0'
uci set fastd.mesh_vpn_backbone_peer_gw03.enabled='0'
uci set fastd.mesh_vpn_backbone_peer_gw04.enabled='0'
uci set fastd.mesh_vpn_backbone_peer_gw05.enabled='0'
uci set fastd.mesh_vpn_backbone_peer_gw06.enabled='0'
uci set fastd.mesh_vpn_backbone_peer_gw07.enabled='0'
uci set fastd.mesh_vpn_backbone_peer_gw08.enabled='0'
uci set fastd.mesh_vpn_backbone_peer_gw09.enabled='0'
uci set fastd.mesh_vpn_backbone_peer_gw10.enabled='0'
uci set fastd.mesh_vpn_backbone_peer_gw07.enabled='1'
/etc/init.d/fastd restart
uci set fastd.mesh_vpn_backbone.auto_segment='0'
uci set fastd.mesh_vpn_backbone_peer_gw07.remote='"gw07n01.ffs.ovh" port 10213'
/etc/init.d/fastd restart

Mesh on VLAN

Einfügen in /etc/config/network

3600v1/4300/v1: vlan9 /Mesh on Vlan

config switch_vlan
        option device 'switch0'
        option vlan '9'
        option ports '0t 1t 2t 3t 4t 5t'

config interface 'mesh_vlan'              
        option ifname 'eth0.9'            
        option auto '1'                   
        option proto 'gluon_mesh'           
        option fixed_mtu '1'              
        option transitive '1'

841 v8: Port 1+2 (2t+3t) haben vlan9 /Mesh on Vlan

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0t 1 2 3 4'

config interface 'wan'                    
        option ifname 'eth0.1'   

config switch_vlan
        option device 'switch0'
        option vlan '9'
        option ports '0t 2t 3t'

config interface 'mesh_vlan'
        option ifname 'eth0.9'
        option auto '1'
        option mesh_no_rebroadcast '1'
        option mesh 'bat0'
        option proto 'batadv'

841 v9

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0t 1 2 3 4'

config interface 'wan'                    
        option ifname 'eth1.1'   

config switch_vlan
        option device 'switch0'
        option vlan '9'
        option ports '0t 1t 2t 3t 4t 5t'

config interface 'mesh_vlan'
        option ifname 'eth1.9'
        option auto '1'
        option mesh_no_rebroadcast '1'
        option mesh 'bat0'
        option proto 'batadv'

Allgemein

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0t 1 2 3 4'

config interface 'wan'                    
        option ifname 'eth1.1'   
	...

config switch_vlan
        option device 'switch0'
        option vlan '9'
        option ports '0t 1t 2t 3t 4t 5t'

config interface 'mesh_vlan'
        option ifname 'eth0.9'
        option auto '1'
        option mesh_no_rebroadcast '1'
        option mesh 'bat0'
        option proto 'batadv'

Neu FIrmware 1.0 841 b8

cat /lib/gluon/core/sysconfig/wan_ifname
echo eth1.1 > /lib/gluon/core/sysconfig/wan_ifname
echo eth0 > /lib/gluon/core/sysconfig/lan_ifname


config interface 'wan'
        option ifname 'eth1.1'
        ...

config interface 'client'
        list ifname 'eth0'
        ...

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0t 1 2 3 4'

config switch_vlan
        option device 'switch0'
        option vlan '9'
        option ports '0t 2t'

config interface 'mesh_vlan'
        option ifname 'eth0.9'
        option auto '1'
        option proto 'gluon_mesh'
        option fixed_mtu '1'
        option transitive '1'
Page last modified on 16 November 2018 17:19 Uhr