[Berlin-wireless] CPE210 Ports vertauschen, nur in config vertauschen?

Patrick Weber mail at lamium.de
Do Feb 25 20:09:01 CET 2016


Du musst nur im luci switch die beiden vlan Ports vertauschen. Grüße
Patrick

Gesendet von meinem BlackBerry 10-Smartphone.
  Originalnachricht  
Von: Thomas Meier
Gesendet: Donnerstag, 25. Februar 2016 20:05
An: wirelesslan in Berlin
Antwort an: wirelesslan in Berlin
Betreff: [Berlin-wireless] CPE210 Ports vertauschen,	nur in config vertauschen?


Moin,

sorry wenn es Euch langsam nervt aber ich habe mein Problem mit dem 
Kathleen-Bug in der Firmware für die CPE210 immer noch nicht gelöst.

Wenn es nun langsam wärmer wird soll das gute Stück an die frische Luft 
und dazu muss ich die Ports vertauschen damit PoE und WAN über den LAN0 
kommt.

Alles funktioniert mit zwei Kabeln (PoE und WAN getrennt) soweit, aber 
wenn ich in die Netzwerk-Konfiguration in Luci gehe steht da nirgendwo 
eth0 oder eth1 so dass ich nicht weiss was ich ändern muss.

Gehe ich mit ssh auf den Router dann gibt es eine /etc/config/network :

***
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals 'globals'
option ula_prefix 'fd83:b3e6:f01c::/48'

config interface 'wan'
option ifname 'eth0.2'
option type 'bridge'
option _orig_ifname 'eth0.2 wlan0-private-2'
option _orig_bridge 'true'
option proto 'dhcp'
option peerdns '0'
option dns '208.67.222.222 208.67.220.220'

config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
option peerdns '0'

config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'

config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0t 5'

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

config interface 'tunl0'
option ifname 'tunl0'
option proto 'none'

config interface 'ffvpn'
option ifname 'ffvpn'
option proto 'none'

config rule 'olsr_allif_ipv4'
option lookup 'olsr'
option priority '1000'

config rule 'localnets_allif_ipv4'
option lookup 'localnets'
option priority '2000'

config rule 'olsr_tunnel_tunl0_ipv4'
option lookup 'olsr-tunnel'
option priority '19999'
option in 'tunl0'

config interface 'dhcp'
option proto 'static'
option dns '85.214.20.141 213.73.91.35 194.150.168.168 
2001:4ce8::53 2001:910:800::12'
option ifname 'eth0.1'
option netmask '255.255.255.240'
option ip6assign '64'
option ipaddr '10.230.46.129'
option type 'bridge'

config rule 'olsr_tunnel_wireless0_ipv4'
option lookup 'olsr-tunnel'
option priority '19999'
option in 'wireless0'

config rule 'olsr_default_wireless0_ipv4'
option lookup 'olsr-default'
option priority '20000'
option in 'wireless0'

config rule 'olsr_default_unreachable_wireless0_ipv4'
option action 'unreachable'
option priority '20001'
option in 'wireless0'

config rule 'olsr_tunnel_dhcp_ipv4'
option lookup 'olsr-tunnel'
option priority '19999'
option in 'dhcp'

config rule 'olsr_default_dhcp_ipv4'
option lookup 'olsr-default'
option priority '20000'
option in 'dhcp'

config rule 'olsr_default_unreachable_dhcp_ipv4'
option action 'unreachable'
option priority '20001'
option in 'dhcp'

config rule 'olsr_tunnel_ffvpn_ipv4'
option lookup 'olsr-tunnel'
option priority '19999'
option in 'ffvpn'

config rule 'olsr_default_ffvpn_ipv4'
option lookup 'olsr-default'
option priority '20000'
option in 'ffvpn'

config rule 'olsr_default_unreachable_ffvpn_ipv4'
option action 'unreachable'
option priority '20001'
option in 'ffvpn'

config interface 'wireless0'
option netmask '255.255.255.255'
option proto 'static'
option ipaddr '10.31.10.116'
option ip6assign '64'
***

Kann ich die Änderung darin machen indem ich einfach nur überall eth0.1 
und eth0.2 vertausche oder was ist außerdem noch zu tun? Oder gibts 
einen einfacherern Schalter?

LG,

-moenk

_______________________________________________
Berlin mailing list
Berlin at berlin.freifunk.net
http://lists.berlin.freifunk.net/cgi-bin/mailman/listinfo/berlin
Diese Mailingliste besitzt ein ffentlich einsehbares Archiv



Mehr Informationen über die Mailingliste Berlin