[freifunk-public] Knoten als Client im lokalen Netz - schonmal gemacht?

Fam. Fontaine fontaines at gmx.de
Sa Dez 7 14:53:33 CET 2019


Hi Ralf,

die Überlegung ist folgende:
Wenn ich am WAN-Port das Lokale Netz habe und am WLAN auch das private
Netz ausstrahlen kann, dann muss dazwischen eine Verbindung möglich sein.
Ein WDR3600 hat zwei unabhängige WLAN Module 2,4 und 5 GHz.
Ich möchte das 5 GHz Modul ausschließlich als Client an das private Netz
hängen. Natürlich müssen die SSID, key, Kanäle usw. passen.
Dann sollte dieses WLAN-Modul im Client-Modus mir das Kabel am WAN-Port
ersetzen können, wenn z.B. an dieser Stelle gar kein Kabel da ist.
Über das 2,4GHz Modul strahle ich dann wie gewöhnlich auf Kanal 1
Freifunk und Mesh aus, sowie ggfs. die private SSID nochmal.

Es gibt ja die folgenden Anwendungsfall: Internet-Anschluss ->
CPE510_stockFW + xkm_Strecke + CPE510_stockFW -> FF-Knoten. (-> Kabel, +
Funk)
Ein Knoten mit zwei Funk-Modulen sollte technisch in der Lage sein beide
Funktionen in einem Gerät zu vereinen.
Natürlich nicht mit xkm Strecke, aber auf einigen Dutzend Metern sollte
das auch ohne besonere Antennentechnik möglich sein.

Wie gesagt: Mit openWRT kann ich den WDR3600 als Client konfigurieren,
mit unserer Freifunk FW leider nicht.
Trotz identischer Konfig baut die FF-FW keine Verbindung auf.
In Foren habe ich als Antwort erhalten "Viel Erfolg beim
Nachinstallieren der benötigten Pakete" (auch wenn ich mich nach Köln
verirrt hatte)
https://forum.freifunk.net/t/knoten-ueber-wlan-statt-lan-ins-internet-einbinden/15143/9

Also habe ich mich auf die Suche nach diesen Paketen gemacht, s.u.
Bis jetzt vermute ich, dass ich wpad oder wpad-mini zu unserer Software
hinzuinstallieren muss.
Leider geht das nicht per opkg.
Kann mir jemand die Pakete zur Verfügung stellen, bitte?

Grüße
Sebastian




Am 07.12.19 um 13:29 schrieb Ralf Jung:
> Hallo Sebastian,
>
> die WLAN-Chips in den Knoten können zwar mit mehreren WLANs gleichzeitig
> umgehen, aber nur, wenn die alle auf dem selben Kanal laufen.  Für Freifunk ist
> fest Kanal 1 eingestellt; das muss im ganzen Saarland der gleiche Kanal sein
> damit die Knoten meshen können.  Falls dein eigenes WLAN auf einem anderen Kanal
> ist, würde das das Verhalten erklären.
>
> Wenn du dein eigenes WLAN auf Kanal 1 legst, sollte das im Prinzip irgendwie
> gehen, aber du bewegst dich damit weit außerhalb dessen was wir oder die
> Gluon-Entwickler normalerweise testen... und ich kenne mich mit OpenWRT nicht
> selber gut genug aus um da mehr zu helfen, sorry.  Aber wenn du es schaffst wäre
> das durchaus interessant. :)
>
> Viele Grüße,
> Ralf
>
> On 06.12.19 21:27, Fam. Fontaine via freifunk-public wrote:
>> Hi in die Runde,
>>
>> versuche seit einigen Tagen mich in die Konfiguration einzuarbeiten.
>> Testweise wollte ich dazu meinen Knoten ffsaar-sfinp-tmp1 als client in mein
>> privates Netz hängen (wdr3600 v1.5).
>> Leider ohne Erfolg. Er verbindet sich einfach nicht.
>>
>> Also habe ich mal die Standard-Openwrt runtergeladen (18.06.5) und auf einem
>> zweiten 3600 installiert. Dort geht es mit 3 klicks und der ist als Client
>> verbunden.
>> /etc/config/wireless verglichen und auf dem FF-Gerät entsprechend nachgebaut ->
>> nichts.
>>
>> FF
>> 	openwrt
>> config wifi-iface
>>      option network 'wwan'
>>      option ssid 'meine-SSID'
>>      option encryption 'psk2'
>>      option device 'radio1'
>>      option mode 'sta'
>>      option bssid '44:4E:6D:FF:37:B3'
>>      option key 'meinkey'
>>
>> root at ffsaar-sfinp-tmp1:~# iwinfo
>> ...
>> wlan1     ESSID: unknown
>>            Access Point: E8:94:F6:67:E6:C4
>>            Mode: Client  Channel: unknown (unknown)
>>            Tx-Power: 15 dBm  Link Quality: unknown/70
>>            Signal: unknown  Noise: unknown
>>            Bit Rate: unknown
>>            Encryption: unknown
>>            Type: nl80211  HW Mode(s): 802.11an
>>            Hardware: 168C:0033 168C:A120 [Atheros AR9580]
>>            TX power offset: none
>>            Frequency offset: none
>>            Supports VAPs: yes  PHY name: phy1
>>
>> root at ffsaar-sfinp-tmp1:~#
>> 	config wifi-iface
>>          option network 'wwan'
>>          option ssid 'meine-SSID'
>>          option encryption 'psk2'
>>          option device 'radio1'
>>          option mode 'sta'
>>          option bssid '44:4E:6D:FF:37:B3'
>>          option key 'meinkey'
>>
>> root at OpenWrt:~# iwinfo
>> ...
>> wlan1     ESSID: "meine-SSID"
>>            Access Point: E8:94:F6:C4:18:0A
>>            Mode: Client  Channel: 36 (5.180 GHz)
>>            Tx-Power: 15 dBm  Link Quality: 70/70
>>            Signal: -26 dBm  Noise: -91 dBm
>>            Bit Rate: 6.0 MBit/s
>>            Encryption: WPA2 PSK (CCMP)
>>            Type: nl80211  HW Mode(s): 802.11an
>>            Hardware: 168C:0033 168C:A120 [Atheros AR9580]
>>            TX power offset: none
>>            Frequency offset: none
>>            Supports VAPs: yes  PHY name: phy1
>>
>> root at OpenWrt:~#
>>
>>
>> Also habe ich die Software-Paket-Liste verglichen (s.u.) und glaube auf dem
>> FF-Gerät fehlt mir wpad-mini.
>> https://openwrt.org/packages/pkgdata/wpad-mini
>>
>> Der Versuch es nachzuinstallieren geht aber leider grandios in die Hose:
>> root at ffsaar-sfinp-tmp1:~# opkg install wpad-mini
>> Unknown package 'wpad-mini'.
>> Collected errors:
>>   * opkg_install_cmd: Cannot install package wpad-mini.
>> root at ffsaar-sfinp-tmp1:~#
>>
>> Oder hat jemand noch eine andere Idee warum es mir nicht gelingen will das WLAN
>> im Client-mode hoch zu bringen?
>>
>> Liste der installierten Packages:
>> FF 	Openwrt
>> root at ffsaar-sfinp-tmp1:~# opkg list 	root at OpenWrt:~# opkg list
>> autoupdater - 4
>> base-files - 194.2-r7794+21-fc1dae5be7 	base-files - 194.2-r7897-9d401013fc
>> batctl - 2018.1-1
>> busybox - 1.28.4-3 	busybox - 1.28.4-3
>> dnsmasq - 2.80-1.4 	dnsmasq - 2.80-1.4
>> dropbear - 2017.75-7.1 	dropbear - 2017.75-7.1
>> ebtables-tiny - 1
>> firewall - 2018-08-13-1c4d5bcd-1 	firewall - 2018-08-13-1c4d5bcd-1
>> fstools - 2018-12-28-af93f4b8-3 	fstools - 2019-03-28-ff1ded63-5
>> fwtool - 1 	fwtool - 1
>> gluon-autoupdater - 4
>> gluon-client-bridge - 1
>> gluon-config-mode-autoupdater - 1
>> gluon-config-mode-contact-info - 1
>> gluon-config-mode-core - 2
>> gluon-config-mode-geo-location - 1
>> gluon-config-mode-geo-location-osm - 1
>> gluon-config-mode-hostname - 1
>> gluon-config-mode-mesh-vpn - 2
>> gluon-config-mode-theme - 1
>> gluon-core - v2018.2.2
>> gluon-ebtables - 1-1
>> gluon-ebtables-filter-multicast - 1-1
>> gluon-ebtables-filter-ra-dhcp - 1-1
>> gluon-ebtables-limit-arp - 1-1
>> gluon-ebtables-source-filter - 1-1
>> gluon-lock-password - 1-1
>> gluon-mesh-batman-adv-15 - 1
>> gluon-mesh-vpn-core - 1
>> gluon-mesh-vpn-tunneldigger - 3
>> gluon-neighbour-info - 1-1
>> gluon-node-info - 1-1
>> gluon-radv-filterd - 1-1
>> gluon-radvd - 3
>> gluon-respondd - 1
>> gluon-setup-mode - 1
>> gluon-site - 86ca823
>> gluon-status-page - 3
>> gluon-status-page-mesh-batman-adv - 1
>> gluon-wan-dnsmasq - 1
>> gluon-web - 1
>> gluon-web-admin - 1-1
>> gluon-web-autoupdater - 1-1
>> gluon-web-model - 1
>> gluon-web-network - 1-1
>> gluon-web-osm - 1
>> gluon-web-private-wifi - 1-1
>> gluon-web-wifi-config - 1-1
>> haveged - 1.9.4-1
>> hostapd-common - 2018-05-21-62566bc2-5 	hostapd-common - 2018-05-21-62566bc2-8
>> hostapd-mini - 2018-05-21-62566bc2-5
>> ip6tables - 1.6.2-1 	ip6tables - 1.6.2-3
>> iptables - 1.6.2-1 	iptables - 1.6.2-3
>> iptables-mod-extra - 1.6.2-1
>> iw - 4.14-1 	iw - 4.14-1
>> iwinfo - 2018-07-31-65b8333f-1 	iwinfo - 2018-07-31-65b8333f-1
>> jshn - 2018-07-25-c83a84af-2 	jshn - 2018-07-25-c83a84af-2
>> jsonfilter - 2018-02-04-c7e938d6-1 	jsonfilter - 2018-02-04-c7e938d6-1
>> kernel - 4.9.182-1-5c00b8f768343a0b9449d6c5ba4595d1 	kernel -
>> 4.9.198-1-2b8f9dfe583e5c09aadd9474da55137f
>> kmod-ath - 4.9.182+2017-11-01-10 	kmod-ath - 4.9.198+2017-11-01-10
>> kmod-ath9k - 4.9.182+2017-11-01-10 	kmod-ath9k - 4.9.198+2017-11-01-10
>> kmod-ath9k-common - 4.9.182+2017-11-01-10 	kmod-ath9k-common -
>> 4.9.198+2017-11-01-10
>> kmod-batman-adv - 4.9.182+2018.1-8
>> kmod-cfg80211 - 4.9.182+2017-11-01-10 	kmod-cfg80211 - 4.9.198+2017-11-01-10
>> kmod-crypto-crc32c - 4.9.182-1
>> kmod-crypto-hash - 4.9.182-1
>> kmod-dummy - 4.9.182-1
>> kmod-gpio-button-hotplug - 4.9.182-2 	kmod-gpio-button-hotplug - 4.9.198-2
>> kmod-ip6tables - 4.9.182-1 	kmod-ip6tables - 4.9.198-1
>> kmod-ipt-conntrack - 4.9.182-1 	kmod-ipt-conntrack - 4.9.198-1
>> kmod-ipt-core - 4.9.182-1 	kmod-ipt-core - 4.9.198-1
>> kmod-ipt-extra - 4.9.182-1
>> kmod-ipt-nat - 4.9.182-1 	kmod-ipt-nat - 4.9.198-1
>> kmod-iptunnel - 4.9.182-1
>> kmod-l2tp - 4.9.182-1
>> kmod-l2tp-eth - 4.9.182-1
>> kmod-l2tp-ip - 4.9.182-1
>> kmod-lib-crc16 - 4.9.182-1
>> kmod-lib-crc32c - 4.9.182-1 	kmod-lib-crc-ccitt - 4.9.198-1
>> kmod-mac80211 - 4.9.182+2017-11-01-10 	kmod-mac80211 - 4.9.198+2017-11-01-10
>> kmod-nf-conntrack - 4.9.182-1 	kmod-nf-conntrack - 4.9.198-1
>> kmod-nf-conntrack6 - 4.9.182-1 	kmod-nf-conntrack6 - 4.9.198-1
>> kmod-nf-ipt - 4.9.182-1 	kmod-nf-ipt - 4.9.198-1
>> kmod-nf-ipt6 - 4.9.182-1 	kmod-nf-ipt6 - 4.9.198-1
>> kmod-nf-nat - 4.9.182-1 	kmod-nf-nat - 4.9.198-1
>> kmod-nf-reject - 4.9.182-1 	kmod-nf-reject - 4.9.198-1
>> kmod-nf-reject6 - 4.9.182-1 	kmod-nf-reject6 - 4.9.198-1
>> kmod-nls-base - 4.9.182-1 	kmod-nls-base - 4.9.198-1
>>    	kmod-ppp - 4.9.198-1
>>    	kmod-pppoe - 4.9.198-1
>>    	kmod-pppox - 4.9.198-1
>>    	kmod-slhc - 4.9.198-1
>> kmod-udptunnel4 - 4.9.182-1
>> kmod-udptunnel6 - 4.9.182-1
>> kmod-usb-core - 4.9.182-1 	kmod-usb-core - 4.9.198-1
>> kmod-usb-ehci - 4.9.182-1 	kmod-usb-ehci - 4.9.198-1
>> kmod-usb-ledtrig-usbport - 4.9.182-1 	kmod-usb-ledtrig-usbport - 4.9.198-1
>> kmod-usb2 - 4.9.182-1 	kmod-usb2 - 4.9.198-1
>> kmod-veth - 4.9.182-1
>> kmod-vxlan - 4.9.182-1
>> libbatadv - 1
>> libblobmsg-json - 2018-07-25-c83a84af-2 	libblobmsg-json - 2018-07-25-c83a84af-2
>> libc - 1.1.19-1 	libc - 1.1.19-2
>> libecdsautil - 0.3.2.20160630-1
>> libgcc - 7.3.0-1 	libgcc - 7.3.0-2
>> libgluonutil - 1
>> libhavege - 1.9.4-1
>> libip4tc - 1.6.2-1 	libip4tc - 1.6.2-3
>> libip6tc - 1.6.2-1 	libip6tc - 1.6.2-3
>> libiwinfo - 2018-07-31-65b8333f-1 	libiwinfo - 2018-07-31-65b8333f-1
>> libiwinfo-lua - 2018-07-31-65b8333f-1 	libiwinfo-lua - 2018-07-31-65b8333f-1
>> libjson-c - 0.12.1-2 	libjson-c - 0.12.1-2
>> libjson-script - 2018-07-25-c83a84af-2 	libjson-script - 2018-07-25-c83a84af-2
>> liblua - 5.1.5-1 	liblua - 5.1.5-1
>> liblucihttp - 2019-07-05-a34a17d5-1 	liblucihttp - 2019-07-05-a34a17d5-1
>> liblucihttp-lua - 2019-07-05-a34a17d5-1 	liblucihttp-lua - 2019-07-05-a34a17d5-1
>> libnl-tiny - 0.1-5 	libnl-tiny - 0.1-5
>> libpacketmark - 3
>> libplatforminfo - 2
>> libpthread - 1.1.19-1 	libpthread - 1.1.19-2
>> librt - 1.1.19-1
>> libubox - 2018-07-25-c83a84af-2 	libubox - 2018-07-25-c83a84af-2
>> libubus - 2018-10-06-221ce7e7-1 	libubus - 2018-10-06-221ce7e7-1
>> libubus-lua - 2018-10-06-221ce7e7-1 	libubus-lua - 2018-10-06-221ce7e7-1
>> libuci - 2019-05-17-f199b961-1 	libuci - 2019-05-17-f199b961-1
>> libuci-lua - 2019-05-17-f199b961-1
>> libuclient - 2018-11-24-3ba74ebc-1 	libuclient - 2018-11-24-3ba74ebc-1
>> libuecc - 7-2
>> libxtables - 1.6.2-1 	libxtables - 1.6.2-3
>> logd - 2018-02-14-128bc35f-2 	logd - 2018-02-14-128bc35f-2
>> lua - 5.1.5-1 	lua - 5.1.5-1
>> lua-hash - 1
>> lua-jsonc - 1
>> lua-platform-info - 1
>> lua-simple-uci - 1
>> luabitop - 1.0.2-1
>> luaposix - v33.2.1-5
>> luci - git-19.334.34552-3a3d8f4-1 	luci - git-19.309.48729-bc17ef6-1
>> luci-app-firewall - git-19.334.34552-3a3d8f4-1 	luci-app-firewall -
>> git-19.309.48729-bc17ef6-1
>> luci-base - git-19.334.34552-3a3d8f4-1 	luci-base - git-19.309.48729-bc17ef6-1
>> luci-lib-ip - git-19.334.34552-3a3d8f4-1 	luci-lib-ip - git-19.309.48729-bc17ef6-1
>> luci-lib-jsonc - git-19.334.34552-3a3d8f4-1 	luci-lib-jsonc -
>> git-19.309.48729-bc17ef6-1
>> luci-lib-nixio - git-19.334.34552-3a3d8f4-1 	luci-lib-nixio -
>> git-19.309.48729-bc17ef6-1
>> luci-mod-admin-full - git-19.334.34552-3a3d8f4-1 	luci-mod-admin-full -
>> git-19.309.48729-bc17ef6-1
>> luci-proto-ipv6 - git-19.334.34552-3a3d8f4-1 	luci-proto-ipv6 -
>> git-19.309.48729-bc17ef6-1
>> luci-proto-ppp - git-19.334.34552-3a3d8f4-1 	luci-proto-ppp -
>> git-19.309.48729-bc17ef6-1
>> luci-theme-bootstrap - git-19.334.34552-3a3d8f4-1 	luci-theme-bootstrap -
>> git-19.309.48729-bc17ef6-1
>> micrond - 1-1
>> mtd - 23 	mtd - 23
>> netifd - 2019-01-31-a2aba5c7-2.1 	netifd - 2019-01-31-a2aba5c7-2.1
>> odhcp6c - 2018-07-14-67ae6a71-15 	odhcp6c - 2018-07-14-67ae6a71-15
>>    	odhcpd-ipv6only - 1.15-3
>> openwrt-keyring - 2018-05-18-103a32e9-1 	openwrt-keyring - 2018-05-18-103a32e9-1
>> opkg - 2019-01-18-7708a01a-1 	opkg - 2019-06-14-dcbc142e-1
>>    	ppp - 2.4.7-12
>>    	ppp-mod-pppoe - 2.4.7-12
>> pretty-hostname - 1
>> procd - 2018-03-28-dfb68f85-1 	procd - 2018-03-28-dfb68f85-1
>> respondd - 1
>> respondd-module-airtime - 1-2
>> rpcd - 2018-11-28-3aa81d0d-2 	rpcd - 2018-11-28-3aa81d0d-2
>> rpcd-mod-rrdns - 20170710 	rpcd-mod-rrdns - 20170710
>> simple-tc - 1
>> sse-multiplex - 2
>> swconfig - 11 	swconfig - 11
>> tunneldigger - 2019-04-01-7c467e68-1
>> uboot-envtools - 2018.03-1 	uboot-envtools - 2018.03-1
>> ubox - 2018-02-14-128bc35f-2 	ubox - 2018-02-14-128bc35f-2
>> ubus - 2018-10-06-221ce7e7-1 	ubus - 2018-10-06-221ce7e7-1
>> ubusd - 2018-10-06-221ce7e7-1 	ubusd - 2018-10-06-221ce7e7-1
>> uci - 2019-05-17-f199b961-1 	uci - 2019-05-17-f199b961-1
>> uclient-fetch - 2018-11-24-3ba74ebc-1 	uclient-fetch - 2018-11-24-3ba74ebc-1
>> uhttpd - 2018-11-28-cdfc902a-3 	uhttpd - 2018-11-28-cdfc902a-3
>> uradvd - 1
>> usign - 2015-07-04-ef641914-1 	usign - 2019-08-06-5a52b379-1
>> vxlan - 2
>> wireless-regdb - 2017-10-20-4343d359 	wireless-regdb - 2017-10-20-4343d359
>>    	wpad-mini - 2018-05-21-62566bc2-8
>>
>>
>> Grüße
>> Sebastian Fontaine
>>

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://lists.hacksaar.de/pipermail/freifunk-public/attachments/20191207/0bd25f8c/attachment-0001.htm>


Mehr Informationen über die Mailingliste freifunk-public