[Berlin-wireless] falter mit pppoe ?

Markus Hube markus.hube at gmail.com
Mo Jan 4 14:50:50 CET 2021


soooo
Es hat sich etwas getan. Für die Fritz3370 (lantiq/xrx200) braucht man
die richtigen ppp pakete. Zum einen die kmods aus [0] aber dann fehlen
noch die nicht kmods (ppp und ppp-mod-pppoe). In meiner verzweiflung
bin ich zu meinem laufenden router und habe opkg download ausgeführt.
Da sieht man dann folgendes: 

Downloaded ppp as ./ppp_2.4.7.git-2019-05-25-3_mips_24kc.ipk.
Downloading
http://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/base/ppp-mod-pppoe_2.4.7.git-2019-05-25-3_mips_24kc.ipk

also die betreffenden packete liegen garnicht unter "lantiq/xrx200".
Mit dem neuen wissen habe ich mir dann die betreffenden packete für die
richtige version (19.07.5 und nicht 19.07.3) geholt. Nachdem ich mich
hier durch ein paar abhängigkeiten gekämpft habe hat sich
herausgestellt, dass es ein problem mit der kernel version gibt???

opkg install /tmp/*.ipkInstalling kmod-lib-crc-ccitt (4.14.209-1) to
root...
Package kmod-ppp (4.14.209-1) installed in root is up to date.
Package kmod-pppoe (4.14.209-1) installed in root is up to date.
Package kmod-pppox (4.14.209-1) installed in root is up to date.
Installing kmod-slhc (4.14.209-1) to root...
Package libc (1.1.24-2) installed in root is up to date.
Package libgcc1 (7.5.0-2) installed in root is up to date.
Package luci-proto-ppp (git-20.364.45011-a04ce80-1) installed in root
is up to date.
Package ppp-mod-pppoe (2.4.7.git-2019-05-25-3) installed in root is up
to date.
Package ppp (2.4.7.git-2019-05-25-3) installed in root is up to date.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for kmod-lib-crc-ccitt:
* kernel (= 4.14.209-1-0f59e90218b95a909e229a713d3da157)
* opkg_install_cmd: Cannot install package kmod-lib-crc-ccitt.
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for kmod-slhc:
* kernel (= 4.14.209-1-0f59e90218b95a909e229a713d3da157)
* opkg_install_cmd: Cannot install package kmod-slhc.

In der daraus resultierenden verzweiflung habe ich dann doch per vlan
einen switch port abgetrennt und den dann als dhcp client zur wan zone
hingefügt um ihn an meinen laufenden router zu hängen. @Martin das war
dann die "irgendwie geartete verbindung". Und mit opkg install ging die
instalation der ppp pakete mit abhängigkeiten. Danach hat auch das wan
über modem der fritzbox funktioniert. Soweit schonmal schön.

Was noch aussteht:
1) aus irgend einem grund hat jetzt die freifunk zone (dhcp) keine
internetverbindung. tunneldigger scheint aber zu funktionieren

logread -e tunnel
...
Mon Jan 4 14:21:14 2021 daemon.info td-client: Selected
e.tunnel.berlin.freifunk.net:8942 as the best broker.
Mon Jan 4 14:21:15 2021 daemon.info td-client:
[e.tunnel.berlin.freifunk.net:8942] Tunnel successfully established.
Mon Jan 4 14:23:45 2021 daemon.info td-client:
[e.tunnel.berlin.freifunk.net:8942] Setting MTU to 1438

Ich habe meine private lan zone schon dazugebastelt. Kann ich dabei
etwas kaputt gemacht haben? Soweit ich mich erinnere habe ich nur
konfigurationen hinzugefügt. Hier ein paar details:

~# ip route
default via x.x.x.x dev pppoe-wan proto static 
10.1.1.0/24 dev br-lan proto kernel scope link src 10.1.1.1 
10.230.166.144/28 dev br-dhcp proto kernel scope link src
10.230.166.145 
x.x.x.x dev pppoe-wan proto kernel scope link src y.y.y.y
~# ip rule
0: from all lookup local 
1000: from all lookup olsr 
2000: from all lookup localnets 
10000: from 172.31.238.174 lookup ffuplink 
19989: from all to 172.31.224.0/20 iif tunl0 prohibit
19989: from all to 172.31.224.0/20 iif wlan0-mesh-2 prohibit
19989: from all to 172.31.224.0/20 iif br-dhcp prohibit
19989: from all to 172.31.224.0/20 iif prohibit [detached] lookup main 
19990: from all iif tunl0 lookup ffuplink 
19990: from all iif wlan0-mesh-2 lookup ffuplink 
19990: from all iif br-dhcp lookup ffuplink 
19999: from all iif br-dhcp lookup olsr-tunnel 
19999: from all iif tunl0 lookup olsr-tunnel 
19999: from all iif wlan0-mesh-2 lookup olsr-tunnel 
20000: from all iif br-dhcp lookup olsr-default 
20000: from all iif tunl0 lookup olsr-default 
20000: from all iif wlan0-mesh-2 lookup olsr-default 
20000: from all to 172.31.238.174/20 lookup ffuplink 
20001: from all iif br-dhcp unreachable
20001: from all iif tunl0 unreachable
20001: from all iif wlan0-mesh-2 unreachable
32766: from all lookup main 
32767: from all lookup default 
90019: from all iif lo lookup ffuplink 
100000: from all lookup olsr-tunnel 
100010: from all lookup olsr-default

pings an der box sehen etwa so aus:

tcpdump -i any -n host 10.230.166.149 and icmp
14:48:21.327808 IP 10.230.166.149 > 1.1.1.1: ICMP echo request, id
42086, seq 1, length 64
14:48:21.327808 IP 10.230.166.149 > 1.1.1.1: ICMP echo request, id
42086, seq 1, length 64
14:48:22.328522 IP 10.230.166.149 > 1.1.1.1: ICMP echo request, id
42086, seq 2, length 64
14:48:22.328522 IP 10.230.166.149 > 1.1.1.1: ICMP echo request, id
42086, seq 2, length 64
14:48:23.332484 IP 10.230.166.149 > 1.1.1.1: ICMP echo request, id
42086, seq 3, length 64

2) Ich benutze wireguard und würde es gern weiter benutzen. Aber hier
scheint es auch ein kernel problem zu geben. Irgendwelche vorschläge?

opkg install kmod-wireguard
Installing kmod-wireguard (4.14.209+1.0.20200611-1) to root...
Downloading
http://downloads.openwrt.org/releases/19.07.5/targets/lantiq/xrx200/packages/kmod-wireguard_4.14.209%2b1.0.20200611-1_mips_24kc.ipk
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for kmod-wireguard:
* kernel (= 4.14.209-1-0f59e90218b95a909e229a713d3da157)
* opkg_install_cmd: Cannot install package kmod-wireguard.

3) Die SSID des freifunknetzwerks wird als "www.freifunk.net". Ich habe
noch einen alten router mit FF rumstehen und bei dem ist die SSID
"berlin.freifunk.net" kann ich das einfach unter /etc/config/wireless/
ändern oder übergehe ich damit irgendwelche wichtigen einstellungen?

4) Mesh über kabel mit batman muss noch funktionieren. Das bekomme ich
aber bestimmt hin wenn an sich das FF netz erstmal erfolgreich zum
internet kommt.


[0]
https://downloads.openwrt.org/releases/19.07.5/targets/lantiq/xrx200/packages/
-- 
Mit freundlichen Grüßen
Markus Hube

On Sun, 2021-01-03 at 23:38 +0100, Sven Roederer wrote:
> Am Sonntag, 3. Januar 2021, 16:47:37 CET schrieb Markus Hube:
> > nur bekomme ich keine ip adresse für mein wan interface und unter
> > Luci
> > -> interfaces steht bei mein m wan auch "Install protocol
> > extensions..." Dann fehlt immernoch ein paket oder?
> 
> "luci-proto-ppp" ist die Lösung. 
> Siehe [1] für alle PPPoE-relevanten Päckchen
> 
> Sven
> 
> 1 -  https://github.com/freifunk-berlin/firmware/commit/
> d02b09ff62148f3965ab0789a82bc7408696850c
> 
> 
> _______________________________________________
> 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
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://lists.berlin.freifunk.net/pipermail/berlin/attachments/20210104/ae514df8/attachment.html>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : signature.asc
Dateityp    : application/pgp-signature
Dateigröße  : 488 bytes
Beschreibung: This is a digitally signed message part
URL         : <https://lists.berlin.freifunk.net/pipermail/berlin/attachments/20210104/ae514df8/attachment.sig>


Mehr Informationen über die Mailingliste Berlin