WAN über vorhandenes WLAN mit Stick?

Freifunk Firmware, Programme für den Router, Entwicklungen, Fragen und Anleitungen
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Für das Stadtpark Büro haben wir als einzige Anbindung ein offenes WLAN (per LAN komme ich irgendwie an den SIEMENS Router nicht ran). Für den Stadtpark Feldversuch hatten wir als Notlösung einen WRT54GL im Clientmode dazwischen. Das sieht aber nicht sehr elegant aus und ist auch letztendlich ein Investment in 2 Router.

Der wr842 hat ja hinten einen USB Port. Wie wäre es wenn man dort so eine Logilink oder Edimax "Warze" reinsteckt (Realtek Chipsatz) und diesen als WAN Interface nutzt? Ich habe hier eine Anleitung gefunden, wie man es mit einem UMTS Stick hinbekommt. Kann man das ähnlich mit einem WLAN Stick machen?

https://wiki.hacksaar.de/index.php?titl ... er_Hotspot

Ich denke mal, wenn das ginge, und es eine Anleitung gäbe, wäre es auch eine Option mal auf die Schnelle in jeder Kneipe mit WLAN mal fix einen Router hinzustellen ohne Kabel verlegen zu müssen. Quasi als Testbetrieb für den Kneiper.
3dfxatwork
Beiträge: 1271
Registriert: 29.07.2007 21:40
Wohnort: Halle

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von 3dfxatwork »

ich muss mal noch die Packagesourcen fixen, damit man auch die kernel pakete nachinstallieren kann, aber ansonsten geht das echt einfach, hab ich am Wochenende erst gemacht:
WLAN Scan -> bei einem Wlan auf join drücken, Einstellungen so lassen (wwan) und es läuft. (An diesem Iterface muss man dann noch das halle-dhcp eingestellt werden, damit openvpn richtig startet)
Anschluss: Muth 100/2MBit Modem: Thomson THG570
Router: virtuelles Endian 3.0 (KVM) Hardware: FX-8120, 16 GB Ram
FF-Gateway: virtuelles OpenWRT Attitude Adjustment (KVM) inkl. VPN
Buffalo WHR-HP-G54: OpenWRT 1.6.10-core-1-halle-3 (Stummel)
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

WAS ECHT? Mit sonem Stick hinten dran? Ich war schon am Ende des Internet und habe nichts darüber gefunden. Nur Diskussionen, wie doof es ist, dass mit dem eingebauten Chip zu machen und das man lieber einen 2. AP nutzen sollte
3dfxatwork
Beiträge: 1271
Registriert: 29.07.2007 21:40
Wohnort: Halle

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von 3dfxatwork »

Jaein, habe es mit dem integrierten AP gemacht, aber vom vorgehen her das gleiche.
Wenn du unter Admin -> System -> Paketverwaltung -> Konfiguration gehst, dann stehen da einige src Zeilen, bei einer steht am Ende /base dies muss entfernt werden, dann kann man auch pakete nachinstallieren. (Wenn man die Paketlisten aktualisiert hat)
Dann musst du nur noch den passenden kmod treiber für dein exteres WLAN Gerät finden.
Anschluss: Muth 100/2MBit Modem: Thomson THG570
Router: virtuelles Endian 3.0 (KVM) Hardware: FX-8120, 16 GB Ram
FF-Gateway: virtuelles OpenWRT Attitude Adjustment (KVM) inkl. VPN
Buffalo WHR-HP-G54: OpenWRT 1.6.10-core-1-halle-3 (Stummel)
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Hier hat schonmal wer sowas gebaut, allerdings mit Atheros chipsatz Stick. Ich habe nur diese Realtek rumliegen, bräuchte also einen rtlXXXX treiber (welchen genau muß ich nachschauen)

https://aegisnet.de/2015/04/19/freifunk ... plink.html

Wenn das so irgendwie klappen würde, wäre das genial. Der Ansatz mit dem UMTS Stick gefiel mir aber besser. Der hat nur das WAN Interface quasi umgelabelt auf den Stick.
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Hier ist noch was interessantes https://forum.openwrt.org/viewtopic.php?id=30626
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Also das mit dem /base entfernen zeigt keinen Effekt. Auch das auskommentieren der ganzen Zeile nicht. Es kommt bei allen Listen 401. Scheinbar gibt es das Verzeichnis ar71xx-r45287 gar nicht. S. Screenshoot.

Beim Anstecken des Sticks kommt auf dmesg nur ein

Code: Alles auswählen

usb 1-1: new high-speed USB device number 2 using ehci-platform
Das ist ein weng dürftig. Ich hätte wenigstens den Chip erwartet. Auf dem Raspi kommt da mehr
Dateianhänge
Unbenannt.JPG
Unbenannt.JPG (25.89 KiB) 25074 mal betrachtet
3dfxatwork
Beiträge: 1271
Registriert: 29.07.2007 21:40
Wohnort: Halle

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von 3dfxatwork »

Ohh ich glaube hab es an einer Stelle vergessen umzubennen, ich werde gleich mal nachschauen.

Edit: jetzt geht es.
Edit2: nicht wundern, es gibt kein Directory Listing
Anschluss: Muth 100/2MBit Modem: Thomson THG570
Router: virtuelles Endian 3.0 (KVM) Hardware: FX-8120, 16 GB Ram
FF-Gateway: virtuelles OpenWRT Attitude Adjustment (KVM) inkl. VPN
Buffalo WHR-HP-G54: OpenWRT 1.6.10-core-1-halle-3 (Stummel)
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Läuft bei mir ;)

Gelöscht wegen Blödsinn, das war der Treiber vom LAN auf Raspi. WLAN ist realtek, Treiber gefunden, Interface radio1 wurde angelegt. Nur leider zerschießt es mir das restliche WLAN beim Stecken.
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Also irgendwie macht der Stick beim reinstecken das andere WLAN kaputt - man kommt nicht mehr drauf und er ist auch von anderen nicht mehr erreichbar. Über Kabel gibt es nur sehr zähflüssig zugriff. Folgendes wird in der /config/network angelegt (ganz unten). Welchen Mode muß ich für den Stick wählen? Meines erachtens 'sta', was für Clientmode steht?! Welchem Netzwerk füge ich das interface zu? Meines erachtens 'WAN'? Es hat sich bei 'LAN' angegliedert

Code: Alles auswählen

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/ar934x_wmac'
        option htmode 'HT20'
        option diversity '1'
        option distance '1000'
        option channel '13'
        option disabled '0'
        option country 'DE'
        option hwmode '11g'
        option txpower '20'

config wifi-iface 'radio0_mesh'
        option device 'radio0'
        option encryption 'none'
        option network 'wireless0'
        option ssid 'ffde-adhoc'
        option bssid '02:CA:FF:EE:BA:BE'
        option mode 'adhoc'

config wifi-iface 'radio0_hotspot'
        option device 'radio0'
        option mode 'ap'
        option encryption 'none'
        option network 'batman'
        option ssid 'dessau.freifunk.net'

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'platform/ehci-platform/usb1/1-1/1-1:1.0'
        option htmode 'HT20'
        option mtu 1560

config wifi-iface
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Übrigens wirft Luci einen Fehler beim Speichern + anwenden auf diesem Interface

Code: Alles auswählen

/usr/lib/lua/luci/dispatcher.lua:360: Failed to execute arcombine dispatcher target for entry '/admin/network/wireless/radio1.network1'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/cbi/admin_network/wifi.lua:135: attempt to index field 'hwmodelist' (a nil value)
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:360: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:135: in function </usr/lib/lua/luci/dispatcher.lua:134>
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Einen habe ich noch, wenn der Stick steckt bootet der Router nicht. :?

Edit: Ich habe einen baugleichen anderen Stick probiert, bootet auch nicht. Man muß den Stick nach dem booten anstecken. Spätestens beim Scan friert der Router ein
3dfxatwork
Beiträge: 1271
Registriert: 29.07.2007 21:40
Wohnort: Halle

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von 3dfxatwork »

Was ist das für ein Stick, kannst du mal das Modell posten?
Hast du in der Datei auch manuell herumgeschrieben oder alles luci machen lassen? (uci kommt manchmal mit den einrückungen nicht zurecht.) Da steht als Network lan da, da du den als wan betreiben wolltest, kann da schon mal was nicht stimmen?
Zum booten kann ich nichts sagen, das ist schon komisch, ich hab leider keinen wlan usb stick, sonst hätte ich es mal nachgestellt.
Anschluss: Muth 100/2MBit Modem: Thomson THG570
Router: virtuelles Endian 3.0 (KVM) Hardware: FX-8120, 16 GB Ram
FF-Gateway: virtuelles OpenWRT Attitude Adjustment (KVM) inkl. VPN
Buffalo WHR-HP-G54: OpenWRT 1.6.10-core-1-halle-3 (Stummel)
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Das ist ein Logilink WL-0084 A

Das mit dem LAN wurde irgendwann vom uci angelegt
3dfxatwork
Beiträge: 1271
Registriert: 29.07.2007 21:40
Wohnort: Halle

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von 3dfxatwork »

Wie sieht es mit Strom aus?
Der Stick wird wohl unterstüzt vom kernel, wenn ich das richtig gelesen habe, daran sollte es also nicht liegen.
Anschluss: Muth 100/2MBit Modem: Thomson THG570
Router: virtuelles Endian 3.0 (KVM) Hardware: FX-8120, 16 GB Ram
FF-Gateway: virtuelles OpenWRT Attitude Adjustment (KVM) inkl. VPN
Buffalo WHR-HP-G54: OpenWRT 1.6.10-core-1-halle-3 (Stummel)
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Also ich habe 2 davon. Beide laufen am Raspi 1A. Ab und zu leuchtet die LED auch mal wenn er am Router steckt. Er wird ja durchaus irgendwie erkannt. Allerdings weiß ich nicht welche Kernelmodule ich so wirklich laden soll. Da gibts noch rtl-wifi und rtl-wifi common und die rtl88xx und rtl92xx und davon gibt es welche mit EU und auch wieder common....
3dfxatwork
Beiträge: 1271
Registriert: 29.07.2007 21:40
Wohnort: Halle

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von 3dfxatwork »

rtl8192cu müsste das richtige sein.
Anschluss: Muth 100/2MBit Modem: Thomson THG570
Router: virtuelles Endian 3.0 (KVM) Hardware: FX-8120, 16 GB Ram
FF-Gateway: virtuelles OpenWRT Attitude Adjustment (KVM) inkl. VPN
Buffalo WHR-HP-G54: OpenWRT 1.6.10-core-1-halle-3 (Stummel)
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Probier ich heute abend nochmal. Das kmod rtl-wifi Gedöns brauche ich nicht?
3dfxatwork
Beiträge: 1271
Registriert: 29.07.2007 21:40
Wohnort: Halle

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von 3dfxatwork »

jep
Anschluss: Muth 100/2MBit Modem: Thomson THG570
Router: virtuelles Endian 3.0 (KVM) Hardware: FX-8120, 16 GB Ram
FF-Gateway: virtuelles OpenWRT Attitude Adjustment (KVM) inkl. VPN
Buffalo WHR-HP-G54: OpenWRT 1.6.10-core-1-halle-3 (Stummel)
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Das installationslog bringt folgendes:

Code: Alles auswählen

Installing kmod-rtl8192cu (3.18.10+2015-03-09-3) to root...
Downloading http://meshkit.freifunk-halle.org/static/ar71xx-r45287/packages/base/kmod-rtl8192cu_3.18.10+2015-03-09-3_ar71xx.ipk.
Installing kmod-rtlwifi-usb (3.18.10+2015-03-09-3) to root...
Downloading http://meshkit.freifunk-halle.org/static/ar71xx-r45287/packages/base/kmod-rtlwifi-usb_3.18.10+2015-03-09-3_ar71xx.ipk.
Installing kmod-rtlwifi (3.18.10+2015-03-09-3) to root...
Downloading http://meshkit.freifunk-halle.org/static/ar71xx-r45287/packages/base/kmod-rtlwifi_3.18.10+2015-03-09-3_ar71xx.ipk.
Installing kmod-rtl8192c-common (3.18.10+2015-03-09-3) to root...
Downloading http://meshkit.freifunk-halle.org/static/ar71xx-r45287/packages/base/kmod-rtl8192c-common_3.18.10+2015-03-09-3_ar71xx.ipk.
Configuring kmod-rtlwifi.
Configuring kmod-rtlwifi-usb.
Configuring kmod-rtl8192c-common.
Configuring kmod-rtl8192cu.
Der Router bootet nicht wenn der Stick gesteckt ist. Die LED leuchtet aber dauerhaft am Stick.

Wenn ich ohne Stick boote und den Stick später stecke zeigt mir dmesg folgendes:

Code: Alles auswählen

usb 1-1: new high-speed USB device number 2 using ehci-platform
rtl8192cu: Chip version 0x10
rtl8192cu: MAC address: 80:3f:5d:00:0f:1b
rtl8192cu: Board Type 0
rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
root@Johannisviertel-Essbar:~#
Unter Drahtlos steht was mit "nicht assoziiert" am Interface. Sobald ich auf "scan" klicke hängt sich der Router weg

Die /etc/config/wireless sieht so aus

Code: Alles auswählen

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/ar934x_wmac'
        option htmode 'HT20'
        option diversity '1'
        option distance '1000'
        option channel '13'
        option disabled '0'
        option country 'DE'
        option hwmode '11g'
        option txpower '20'

config wifi-iface 'radio0_mesh'
        option device 'radio0'
        option encryption 'none'
        option network 'wireless0'
        option ssid 'ffde-adhoc'
        option bssid '02:CA:FF:EE:BA:BE'
        option mode 'adhoc'

config wifi-iface 'radio0_hotspot'
        option device 'radio0'
        option mode 'ap'
        option encryption 'none'
        option network 'batman'
        option ssid 'dessau.freifunk.net'

config wifi-device 'radio1'
        option type 'mac80211'
        option channel 'auto'
        option hwmode '11g'
        option path 'platform/ehci-platform/usb1/1-1/1-1:1.0'
        option htmode 'HT20'
        option txpower '20'
        option country 'DE'

config wifi-iface
        option device 'radio1'
        option mode 'sta'
        option ssid 'OpenWrt'
        option encryption 'none'
        option network 'wan'
Output von ifconfig

Code: Alles auswählen

root@Johannisviertel-Essbar:~# ifconfig
bat0      Link encap:Ethernet  HWaddr EE:FD:1B:E4:26:8F
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1616 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:211069 (206.1 KiB)  TX bytes:4012 (3.9 KiB)

br-batman Link encap:Ethernet  HWaddr 16:CC:20:6A:14:90
          inet addr:6.40.63.1  Bcast:6.40.63.255  Mask:255.255.255.0
          inet6 addr: fe80::14cc:20ff:fe6a:1490/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1073 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:89043 (86.9 KiB)  TX bytes:4436 (4.3 KiB)

br-lan    Link encap:Ethernet  HWaddr 14:CC:20:6A:14:90
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fddb:1a03:bd53::1/60 Scope:Global
          inet6 addr: fe80::16cc:20ff:fe6a:1490/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:366 (366.0 B)  TX bytes:9234 (9.0 KiB)

br-wan    Link encap:Ethernet  HWaddr 14:CC:20:6A:14:8F
          inet addr:192.168.178.65  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: fe80::16cc:20ff:fe6a:148f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19554 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16185 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13922751 (13.2 MiB)  TX bytes:8014023 (7.6 MiB)

eth0      Link encap:Ethernet  HWaddr 14:CC:20:6A:14:8F
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19818 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16191 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:14230912 (13.5 MiB)  TX bytes:8014115 (7.6 MiB)
          Interrupt:4

eth1      Link encap:Ethernet  HWaddr 14:CC:20:6A:14:90
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:450 (450.0 B)  TX bytes:5384 (5.2 KiB)
          Interrupt:5

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:912 (912.0 B)  TX bytes:912 (912.0 B)

tap0      Link encap:Ethernet  HWaddr 7E:2A:35:9A:E9:CD
          inet addr:10.62.1.128  Bcast:10.62.1.255  Mask:255.255.255.0
          inet6 addr: fe80::7c2a:35ff:fe9a:e9cd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1400  Metric:1
          RX packets:9914 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7714 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:7592125 (7.2 MiB)  TX bytes:3428631 (3.2 MiB)

tap1      Link encap:Ethernet  HWaddr DA:90:37:9B:D8:DF
          inet addr:10.62.4.99  Bcast:10.62.4.255  Mask:255.255.255.0
          inet6 addr: fe80::d890:37ff:fe9b:d8df/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:5453 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4041 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:4673411 (4.4 MiB)  TX bytes:3086290 (2.9 MiB)

wlan0     Link encap:Ethernet  HWaddr 14:CC:20:6A:14:90
          inet addr:10.62.40.63  Bcast:255.255.255.255  Mask:255.255.255.255
          inet6 addr: fe80::16cc:20ff:fe6a:1490/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19385 errors:0 dropped:2 overruns:0 frame:0
          TX packets:17575 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2324743 (2.2 MiB)  TX bytes:9833498 (9.3 MiB)

wlan0-1   Link encap:Ethernet  HWaddr 16:CC:20:6A:14:90
          inet6 addr: fe80::14cc:20ff:fe6a:1490/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1093 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:125635 (122.6 KiB)

wlan0.12  Link encap:Ethernet  HWaddr 14:CC:20:6A:14:90
          inet6 addr: fe80::16cc:20ff:fe6a:1490/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10698 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4944 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:912577 (891.1 KiB)  TX bytes:504289 (492.4 KiB)

root@Johannisviertel-Essbar:~#
Ein scan auf "radio0" im Wbinterface funktioniert einwandfrei
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Kann das vielleicht dieser Bug sein? https://dev.openwrt.org/ticket/14259 Ich weiß nicht wie ich an ein Log während des absturzes komme
3dfxatwork
Beiträge: 1271
Registriert: 29.07.2007 21:40
Wohnort: Halle

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von 3dfxatwork »

Nein, wir haben Version r45287, da sind diese fixes also drin.
Es gibt 3 Möglichkeiten an ein log zu kommen:
  • Über serielle Konsole
  • syslog an remote server
  • syslog auf flash
Hast du noch einen anderen USB WLAN Stick, vielleicht nicht mit rtl-chipset?

PS. Kannst du nochmal eine Aussage zum Strom treffen, welches NT hast du am Router und was für ein NT am Raspi?
Anschluss: Muth 100/2MBit Modem: Thomson THG570
Router: virtuelles Endian 3.0 (KVM) Hardware: FX-8120, 16 GB Ram
FF-Gateway: virtuelles OpenWRT Attitude Adjustment (KVM) inkl. VPN
Buffalo WHR-HP-G54: OpenWRT 1.6.10-core-1-halle-3 (Stummel)
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Das ist ein 842er mit originalem 12V Netzteil (der an dem im EBK der Raspi hing). Der sollte den Stick abkönnen. Morgen oder Übermorgen sollte ein Stick mit Atheros in der Post liegen. https://www.cyberport.de/tp-link-n150-t ... _1648.html. Der nimmt den ath9k_htc. Ich glaube in die Realtek Treiber Zeit zu investieren ist eher müßig.
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Boar ich krieg ne Krise. Mit dem TL-WN722N geht das Spielchen wieder los. Jetzt hat das eingebaute WLAN keinen Link. Hier mal das komplette bootlog. Der Stick wird geladen, allerdings sind beide WLAN tot

Code: Alles auswählen

root@Johannisviertel-Essbar:~# dmesg
Linux version 3.18.10 (mfuhrmeister@3dfx) (gcc version 4.9.2 (OpenWrt/Linaro GCC 4.9-2014.10 r44751) ) #2 Wed Apr 8 08:48:26 CEST 2015
MyLoader: sysp=9926862e, boardp=5f2bfe0e, parts=75c0efe4
bootconsole [early0] enabled
CPU0 revision is: 0001974c (MIPS 74Kc)
SoC: Atheros AR9341 rev 3
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone ranges:
  Normal   [mem 0x00000000-0x01ffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00000000-0x01ffffff]
Initmem setup node 0 [mem 0x00000000-0x01ffffff]
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 803362b0, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8192 pages, LIFO batch:0
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line:  board=TL-WR842N-v2 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 28580K/32768K available (2562K kernel code, 128K rwdata, 308K rodata, 256K init, 194K bss, 4188K reserved)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:51
Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-WR842N/ND v2
Switched to clocksource MIPS
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
futex hash table entries: 256 (order: -1, 3072 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 55
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
console [ttyS0] disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
console [ttyS0] enabled
bootconsole [early0] disabled
m25p80 spi0.0: found s25fl064k, expected m25p80
m25p80 spi0.0: s25fl064k (8192 Kbytes)
5 tp-link partitions found on MTD device spi0.0
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x00000012e650 : "kernel"
mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
0x00000012e650-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
mtd: device 2 (rootfs) set to be root filesystem
1 squashfs-split partitions found on MTD device rootfs
0x000000450000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x000000800000 : "art"
0x000000020000-0x0000007f0000 : "firmware"
libphy: ag71xx_mdio: probed
ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
ag71xx-mdio.1: Found an AR934X built-in switch
eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
TCP: cubic registered
NET: Registered protocol family 17
bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Bridge firewalling registered
8021q: 802.1Q VLAN Support v1.8
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 256K (80350000 - 80390000)
init: failed to symlink /tmp -> /var
init: Console is alive
init: - watchdog -
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-platform: EHCI generic platform driver
ehci-platform ehci-platform: EHCI Host Controller
ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
ehci-platform ehci-platform: TX-TX IDP fix enabled
ehci-platform ehci-platform: irq 3, io mem 0x1b000000
ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb 1-1: new high-speed USB device number 2 using ehci-platform
init: - preinit -
random: procd urandom read with 9 bits of entropy available
eth1: link up (1000Mbps/Full duplex)
jffs2: notice: (364) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 1 of xref (0 dead, 0 orphan) found.
mount_root: switching to jffs2 overlay
eth1: link down
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
NET: Registered protocol family 10
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ip6_tables: (C) 2000-2006 Netfilter Core Team
batman_adv: B.A.T.M.A.N. advanced 2014.4.0 (compatibility version 15) loaded
u32 classifier
    input device check on
    Actions configured
Mirror/redirect action on
netem: version 1.3
Loading modules backported from Linux version master-2015-03-09-0-g141f155
Backport generated by backports.git backports-20150129-0-gdd4a670
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (450 buckets, 1800 max)
xt_time: kernel timezone is -0000
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:  DFS Master region: unset
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
PPP generic driver version 2.4.2
NET: Registered protocol family 24
usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
usbcore: registered new interface driver ath9k_htc
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
cfg80211:  DFS Master region: FCC
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
ath: EEPROM regdomain: 0x809c
ath: EEPROM indicates we should expect a country code
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x52
ath: Country alpha2 being used: CN
ath: Regpair used: 0x52
ieee80211 phy1: Atheros AR9271 Rev:1
cfg80211: Calling CRDA for country: CN
cfg80211: Current regulatory domain intersected:
cfg80211:  DFS Master region: FCC
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
cfg80211:   (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm), (N/A)
cfg80211:   (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
device eth1 entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): br-batman: link is not ready
eth1: link up (1000Mbps/Full duplex)
br-lan: port 1(eth1) entered forwarding state
br-lan: port 1(eth1) entered forwarding state
IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
eth0: link up (100Mbps/Full duplex)
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
br-lan: port 1(eth1) entered forwarding state
IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
device wlan0-1 entered promiscuous mode
br-batman: port 1(wlan0-1) entered forwarding state
br-batman: port 1(wlan0-1) entered forwarding state
br-batman: port 1(wlan0-1) entered disabled state
device wlan0-1 left promiscuous mode
br-batman: port 1(wlan0-1) entered disabled state
random: nonblocking pool is initialized
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
IPv6: ADDRCONF(NETDEV_UP): wlan0.12: link is not ready
root@Johannisviertel-Essbar:~#
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Wenn ich den Stick nach dem Booten einstecke leuchtet er nicht grün auf (das tut er wenn er beim booten drinsteckt)

Code: Alles auswählen

usb 1-1: new high-speed USB device number 2 using ehci-platform
usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
ath: EEPROM regdomain: 0x809c
ath: EEPROM indicates we should expect a country code
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x52
ath: Country alpha2 being used: CN
ath: Regpair used: 0x52
ieee80211 phy1: Atheros AR9271 Rev:1
cfg80211: Calling CRDA for country: CN
cfg80211: Current regulatory domain intersected:
cfg80211:  DFS Master region: unset
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
cfg80211:   (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm), (N/A)
cfg80211:   (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
cfg80211:   (63720000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 2800 mBm), (N/A)
root@Johannisviertel-Essbar:~#
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Okay, irgendwie läuft es mit folgendem Ablauf
1) Router booten
2) wenn alles oben ist Stick stecken und 10 Sekunden warten
3) Auf Scan gehen und einem Netzwerk beitreten (LED am Stick wird grün)
4) Es wird eine NEUE Schnittstelle angelegt in der oben das PW eintragen muß. Unten läßt man WWAN
5) Auf Schnittstellen -> WWAN und dort Halle DHCP auswählen

Ich habe mal mein iPhone als Hotspot verwendet. Es flossen ein paar RX/TX Bytes aber die Gateways erschienen nicht. Das kann aber auch am IPhone oder Vodafone liegen

Was nicht geht, ist das booten mit gestecktem Stick. Dann wird das normale WLAN des Routers nicht geladen
3dfxatwork
Beiträge: 1271
Registriert: 29.07.2007 21:40
Wohnort: Halle

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von 3dfxatwork »

Schau dir mal die Country-Codes an, da steht einmal beim Boot "World" das ist normal, das wird immer erst geladen und dann kommt US und CN. Auf beiden sind kein Kanal 13 erlaubt, also bitte mal den Countrycode auf DE setzen (das geht auch im luci) (Wlan interface auswählen, unter "device config" "advanced options")

Ansonsten war alles richtig. (ja vielleicht sind die ports über vodafone gesperrt)
Nachdem der Stick sich verbunden hat, kannst du mir nochmal einen log schicken und schauen, ob die beiden Interfaces auf der Konsole existieren (tap0 und tap1) (im luci werden die immer angezeigt, hier ist der Indikator, ob diese eine IP zugewiesen bekommen haben.)
Anschluss: Muth 100/2MBit Modem: Thomson THG570
Router: virtuelles Endian 3.0 (KVM) Hardware: FX-8120, 16 GB Ram
FF-Gateway: virtuelles OpenWRT Attitude Adjustment (KVM) inkl. VPN
Buffalo WHR-HP-G54: OpenWRT 1.6.10-core-1-halle-3 (Stummel)
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Der Stick scheint kein DE zu können. Im Luci ist er auf DE eingestellt. Wenn ich ihn anstecke sehe ich aber nur das in der Konsole

Code: Alles auswählen

usb 1-1: new high-speed USB device number 2 using ehci-platform
usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
ath: EEPROM regdomain: 0x809c
ath: EEPROM indicates we should expect a country code
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x52
ath: Country alpha2 being used: CN
ath: Regpair used: 0x52
ieee80211 phy1: Atheros AR9271 Rev:1
cfg80211: Calling CRDA for country: CN
cfg80211: Current regulatory domain intersected:
cfg80211:  DFS Master region: unset
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
cfg80211:   (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm), (N/A)
cfg80211:   (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
cfg80211:   (63720000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 2800 mBm), (N/A)
Wenn ich ihn dann im Luci aktiviere (iPhone Tethering) kommt keine weitere Meldung im Log

Auszug lsmod

Code: Alles auswählen

root@Johannisviertel-Essbar:~# lsmod
act_ipt                 2336  0
act_mirred              2272  0
act_police              3056  0
act_skbedit             1504  0
arc4                    1216  4
ath                    17120  4 ath9k
ath9k                  57600  0
ath9k_common           15600  2 ath9k
ath9k_htc              41856  0
ath9k_hw              314288  3 ath9k
batman_adv            121328  0
cfg80211              200304  5 ath9k
cls_basic               2944  0
cls_flow                4912  0
cls_fw                  3312  0
cls_route               4352  0
cls_tcindex             4224  0
cls_u32                 6112  0
compat                  1344  5 ath9k
ifconfig:

Code: Alles auswählen

root@Johannisviertel-Essbar:~# ifconfig
bat0      Link encap:Ethernet  HWaddr 82:DD:41:94:A3:42
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:37944 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1301 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4682535 (4.4 MiB)  TX bytes:110382 (107.7 KiB)

br-batman Link encap:Ethernet  HWaddr 16:CC:20:6A:14:90
          inet addr:6.40.63.1  Bcast:6.40.63.255  Mask:255.255.255.0
          inet6 addr: fe80::14cc:20ff:fe6a:1490/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:27105 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1266 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2267451 (2.1 MiB)  TX bytes:109012 (106.4 KiB)

br-lan    Link encap:Ethernet  HWaddr 14:CC:20:6A:14:90
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fdc8:1b2f:9506::1/60 Scope:Global
          inet6 addr: fe80::16cc:20ff:fe6a:1490/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:27965 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11266 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:36223842 (34.5 MiB)  TX bytes:2165444 (2.0 MiB)

eth0      Link encap:Ethernet  HWaddr 14:CC:20:6A:14:8F
          inet addr:192.168.178.65  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: fe80::16cc:20ff:fe6a:148f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:559402 errors:0 dropped:0 overruns:0 frame:0
          TX packets:407082 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:459330534 (438.0 MiB)  TX bytes:222268684 (211.9 MiB)
          Interrupt:4

eth1      Link encap:Ethernet  HWaddr 14:CC:20:6A:14:90
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:27967 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10212 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:36615502 (34.9 MiB)  TX bytes:2064100 (1.9 MiB)
          Interrupt:5

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:40 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3187 (3.1 KiB)  TX bytes:3187 (3.1 KiB)

tap0      Link encap:Ethernet  HWaddr E2:C3:19:93:41:2A
          inet addr:10.62.1.128  Bcast:10.62.1.255  Mask:255.255.255.0
          inet6 addr: fe80::e0c3:19ff:fe93:412a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1400  Metric:1
          RX packets:365668 errors:0 dropped:0 overruns:0 frame:0
          TX packets:223479 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:321528924 (306.6 MiB)  TX bytes:101510736 (96.8 MiB)

tap1      Link encap:Ethernet  HWaddr D6:1A:38:22:F0:69
          inet addr:10.62.4.99  Bcast:10.62.4.255  Mask:255.255.255.0
          inet6 addr: fe80::d41a:38ff:fe22:f069/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:80644 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68351 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:87057228 (83.0 MiB)  TX bytes:84801907 (80.8 MiB)

wlan0     Link encap:Ethernet  HWaddr 14:CC:20:6A:14:90
          inet addr:10.62.40.63  Bcast:255.255.255.255  Mask:255.255.255.255
          inet6 addr: fe80::16cc:20ff:fe6a:1490/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:551902 errors:0 dropped:2 overruns:0 frame:0
          TX packets:580924 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:62233595 (59.3 MiB)  TX bytes:387026298 (369.0 MiB)

wlan0-1   Link encap:Ethernet  HWaddr 16:CC:20:6A:14:90
          inet6 addr: fe80::14cc:20ff:fe6a:1490/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27165 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:3139659 (2.9 MiB)

wlan0.12  Link encap:Ethernet  HWaddr 14:CC:20:6A:14:90
          inet6 addr: fe80::16cc:20ff:fe6a:1490/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:304227 errors:0 dropped:0 overruns:0 frame:0
          TX packets:147173 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:23693889 (22.5 MiB)  TX bytes:13639549 (13.0 MiB)

root@Johannisviertel-Essbar:~#
wireless config

Code: Alles auswählen

root@Johannisviertel-Essbar:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/ar934x_wmac'
        option htmode 'HT20'
        option diversity '1'
        option distance '1000'
        option channel '13'
        option disabled '0'
        option country 'DE'
        option hwmode '11g'
        option txpower '20'

config wifi-iface 'radio0_mesh'
        option device 'radio0'
        option encryption 'none'
        option network 'wireless0'
        option ssid 'ffde-adhoc'
        option bssid '02:CA:FF:EE:BA:BE'
        option mode 'adhoc'

config wifi-iface 'radio0_hotspot'
        option device 'radio0'
        option mode 'ap'
        option encryption 'none'
        option network 'batman'
        option ssid 'dessau.freifunk.net'

config wifi-device 'radio1'
        option type 'mac80211'
        option hwmode '11g'
        option path 'platform/ehci-platform/usb1/1-1/1-1:1.0'
        option htmode 'HT20'
        option country 'DE'
        option txpower '20'
        option channel '6'

config wifi-iface
        option network 'wwan'
        option ssid 'Thomass iPhone'
        option encryption 'psk2'
        option device 'radio1'
        option mode 'sta'
        option bssid 'FA:BB:2C:9E:27:4C'
        option key '11111111'

root@Johannisviertel-Essbar:~#
network config

Code: Alles auswählen

root@Johannisviertel-Essbar:~# cat /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 'fdc8:1b2f:9506::/48'

config interface 'lan'
        option ifname 'eth1'
        option force_link '1'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option ifname 'eth0'
        option proto 'halledhcp'

config interface 'wan6'
        option ifname 'eth0'
        option proto 'dhcpv6'

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

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

config interface 'batman'
        option proto 'static'
        option type 'bridge'
        option ifname 'bat0'
        option _orig_bridge 'true'
        option ipaddr '6.40.63.1'
        option netmask '255.255.255.0'

config interface 'wireless0'
        option dns '8.8.8.8 212.204.49.83 141.1.1.1'
        option netmask '255.255.255.255'
        option proto 'static'
        list ipaddr '10.62.40.63'
        list ipaddr '10.62.40.2'

config interface 'wireless0batman'
        option ifname '@wireless0.12'
        option proto 'batadv'
        option mesh 'bat0'

config interface 'tap0'
        option proto 'none'
        option ifname 'tap0'

config interface 'tap1'
        option proto 'none'
        option ifname 'tap1'

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

config rule6 'olsripv6'
        option lookup 'olsr'
        option priority '1000'

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

config rule6 'localnetsipv6'
        option lookup 'localnets'
        option priority '2000'

config rule 'olsr_defaultipv4'
        option lookup 'olsr-default'
        option priority '100000'

config rule6 'olsr_defaultipv6'
        option lookup 'olsr-default'
        option priority '100000'

config interface 'wwan'
        option _orig_ifname 'radio1.network1'
        option _orig_bridge 'false'
        option proto 'halledhcp'

root@Johannisviertel-Essbar:~#
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Also Scheinbar wird, sobald der Stick beim Booten steckt keine DE Region geladen. Daher streikt das eingebaute WLAN. Im Luci ist überall DE eingestellt. Kann es sein, das der kmod-ath9k-htc einfach kein DE unterstützt und irgend eine Komponente nachlädt, die der eingebaute Atheros ebenfalls benutzt und entsprechend auch für diesen kein DE mehr möglich ist?

Im Luci sind folgende Module vorhanden - der htc wurde von mir nachinstalliert

Code: Alles auswählen

 	Paketname	Version
Entfernen	kmod-ath	3.18.10+2015-03-09-3
Entfernen	kmod-ath9k	3.18.10+2015-03-09-3
Entfernen	kmod-ath9k-common	3.18.10+2015-03-09-3
Entfernen	kmod-ath9k-htc	3.18.10+2015-03-09-3
Entfernen	kmod-nf-nathelper	3.18.10-1
Bootlog ohne Stick:

Code: Alles auswählen

root@Johannisviertel-Essbar:~# dmesg
Linux version 3.18.10 (mfuhrmeister@3dfx) (gcc version 4.9.2 (OpenWrt/Linaro GCC 4.9-2014.10 r44751) ) #2 Wed Apr 8 08:48:26 CEST 2015
MyLoader: sysp=9926862e, boardp=5f2bfe0e, parts=75c0efe4
bootconsole [early0] enabled
CPU0 revision is: 0001974c (MIPS 74Kc)
SoC: Atheros AR9341 rev 3
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone ranges:
  Normal   [mem 0x00000000-0x01ffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00000000-0x01ffffff]
Initmem setup node 0 [mem 0x00000000-0x01ffffff]
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 803362b0, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8192 pages, LIFO batch:0
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line:  board=TL-WR842N-v2 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 28580K/32768K available (2562K kernel code, 128K rwdata, 308K rodata, 256K init, 194K bss, 4188K reserved)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:51
Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-WR842N/ND v2
Switched to clocksource MIPS
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
futex hash table entries: 256 (order: -1, 3072 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 55
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
console [ttyS0] disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
console [ttyS0] enabled
bootconsole [early0] disabled
m25p80 spi0.0: found s25fl064k, expected m25p80
m25p80 spi0.0: s25fl064k (8192 Kbytes)
5 tp-link partitions found on MTD device spi0.0
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x00000012e650 : "kernel"
mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
0x00000012e650-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
mtd: device 2 (rootfs) set to be root filesystem
1 squashfs-split partitions found on MTD device rootfs
0x000000450000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x000000800000 : "art"
0x000000020000-0x0000007f0000 : "firmware"
libphy: ag71xx_mdio: probed
ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
ag71xx-mdio.1: Found an AR934X built-in switch
eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
TCP: cubic registered
NET: Registered protocol family 17
bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Bridge firewalling registered
8021q: 802.1Q VLAN Support v1.8
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 256K (80350000 - 80390000)
init: failed to symlink /tmp -> /var
init: Console is alive
init: - watchdog -
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-platform: EHCI generic platform driver
ehci-platform ehci-platform: EHCI Host Controller
ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
ehci-platform ehci-platform: TX-TX IDP fix enabled
ehci-platform ehci-platform: irq 3, io mem 0x1b000000
ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
init: - preinit -
random: procd urandom read with 9 bits of entropy available
eth1: link up (1000Mbps/Full duplex)
jffs2: notice: (362) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 1 of xref (0 dead, 0 orphan) found.
mount_root: switching to jffs2 overlay
eth1: link down
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
NET: Registered protocol family 10
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ip6_tables: (C) 2000-2006 Netfilter Core Team
batman_adv: B.A.T.M.A.N. advanced 2014.4.0 (compatibility version 15) loaded
u32 classifier
    input device check on
    Actions configured
Mirror/redirect action on
netem: version 1.3
Loading modules backported from Linux version master-2015-03-09-0-g141f155
Backport generated by backports.git backports-20150129-0-gdd4a670
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (450 buckets, 1800 max)
xt_time: kernel timezone is -0000
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:  DFS Master region: unset
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
PPP generic driver version 2.4.2
NET: Registered protocol family 24
usbcore: registered new interface driver ath9k_htc
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
cfg80211:  DFS Master region: FCC
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
device eth1 entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): br-batman: link is not ready
cfg80211: Calling CRDA for country: DE
cfg80211: Regulatory domain changed to country: DE
cfg80211:  DFS Master region: ETSI
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (5150000 KHz - 5250000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (N/A)
cfg80211:   (5250000 KHz - 5350000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (0 s)
cfg80211:   (5470000 KHz - 5725000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
eth1: link up (1000Mbps/Full duplex)
br-lan: port 1(eth1) entered forwarding state
br-lan: port 1(eth1) entered forwarding state
IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
eth0: link up (100Mbps/Full duplex)
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
br-lan: port 1(eth1) entered forwarding state
IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
device wlan0-1 entered promiscuous mode
br-batman: port 1(wlan0-1) entered forwarding state
br-batman: port 1(wlan0-1) entered forwarding state
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): br-batman: link becomes ready
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
wlan0: Created IBSS using preconfigured BSSID 02:ca:ff:ee:ba:be
wlan0: Creating new IBSS network, BSSID 02:ca:ff:ee:ba:be
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
batman_adv: bat0: Adding interface: wlan0.12
batman_adv: bat0: The MTU of interface wlan0.12 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem.
batman_adv: bat0: Interface activated: wlan0.12
8021q: adding VLAN 0 to HW filter on device bat0
device bat0 entered promiscuous mode
br-batman: port 2(bat0) entered forwarding state
br-batman: port 2(bat0) entered forwarding state
br-batman: port 1(wlan0-1) entered forwarding state
br-batman: port 2(bat0) entered forwarding state
random: nonblocking pool is initialized
root@Johannisviertel-Essbar:~#
Bootlog mit Stick

Code: Alles auswählen

root@Johannisviertel-Essbar:~# dmesg
Linux version 3.18.10 (mfuhrmeister@3dfx) (gcc version 4.9.2 (OpenWrt/Linaro GCC 4.9-2014.10 r44751) ) #2 Wed Apr 8 08:48:26 CEST 2015
MyLoader: sysp=9926862e, boardp=5f2bfe0e, parts=75c0efe4
bootconsole [early0] enabled
CPU0 revision is: 0001974c (MIPS 74Kc)
SoC: Atheros AR9341 rev 3
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone ranges:
  Normal   [mem 0x00000000-0x01ffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00000000-0x01ffffff]
Initmem setup node 0 [mem 0x00000000-0x01ffffff]
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 803362b0, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8192 pages, LIFO batch:0
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line:  board=TL-WR842N-v2 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 28580K/32768K available (2562K kernel code, 128K rwdata, 308K rodata, 256K init, 194K bss, 4188K reserved)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:51
Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-WR842N/ND v2
Switched to clocksource MIPS
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
futex hash table entries: 256 (order: -1, 3072 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 55
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
console [ttyS0] disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
console [ttyS0] enabled
bootconsole [early0] disabled
m25p80 spi0.0: found s25fl064k, expected m25p80
m25p80 spi0.0: s25fl064k (8192 Kbytes)
5 tp-link partitions found on MTD device spi0.0
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x00000012e650 : "kernel"
mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
0x00000012e650-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
mtd: device 2 (rootfs) set to be root filesystem
1 squashfs-split partitions found on MTD device rootfs
0x000000450000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x000000800000 : "art"
0x000000020000-0x0000007f0000 : "firmware"
libphy: ag71xx_mdio: probed
ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
ag71xx-mdio.1: Found an AR934X built-in switch
eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
TCP: cubic registered
NET: Registered protocol family 17
bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Bridge firewalling registered
8021q: 802.1Q VLAN Support v1.8
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 256K (80350000 - 80390000)
init: failed to symlink /tmp -> /var
init: Console is alive
init: - watchdog -
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-platform: EHCI generic platform driver
ehci-platform ehci-platform: EHCI Host Controller
ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
ehci-platform ehci-platform: TX-TX IDP fix enabled
ehci-platform ehci-platform: irq 3, io mem 0x1b000000
ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb 1-1: new high-speed USB device number 2 using ehci-platform
init: - preinit -
random: procd urandom read with 9 bits of entropy available
eth1: link up (1000Mbps/Full duplex)
jffs2: notice: (364) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 1 of xref (0 dead, 0 orphan) found.
mount_root: switching to jffs2 overlay
eth1: link down
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
NET: Registered protocol family 10
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ip6_tables: (C) 2000-2006 Netfilter Core Team
batman_adv: B.A.T.M.A.N. advanced 2014.4.0 (compatibility version 15) loaded
u32 classifier
    input device check on
    Actions configured
Mirror/redirect action on
netem: version 1.3
Loading modules backported from Linux version master-2015-03-09-0-g141f155
Backport generated by backports.git backports-20150129-0-gdd4a670
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (450 buckets, 1800 max)
xt_time: kernel timezone is -0000
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:  DFS Master region: unset
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
PPP generic driver version 2.4.2
NET: Registered protocol family 24
usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
usbcore: registered new interface driver ath9k_htc
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
cfg80211:  DFS Master region: FCC
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
ath: EEPROM regdomain: 0x809c
ath: EEPROM indicates we should expect a country code
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x52
ath: Country alpha2 being used: CN
ath: Regpair used: 0x52
ieee80211 phy1: Atheros AR9271 Rev:1
cfg80211: Calling CRDA for country: CN
cfg80211: Current regulatory domain intersected:
cfg80211:  DFS Master region: FCC
cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
cfg80211:   (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm), (N/A)
cfg80211:   (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
device eth1 entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): br-batman: link is not ready
eth1: link up (1000Mbps/Full duplex)
br-lan: port 1(eth1) entered forwarding state
br-lan: port 1(eth1) entered forwarding state
IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
eth0: link up (100Mbps/Full duplex)
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
br-lan: port 1(eth1) entered forwarding state
IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
device wlan0-1 entered promiscuous mode
random: nonblocking pool is initialized
device wlan0-1 left promiscuous mode
br-batman: port 1(wlan0-1) entered disabled state
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
IPv6: ADDRCONF(NETDEV_UP): wlan0.12: link is not ready
root@Johannisviertel-Essbar:~#
Tommy
Beiträge: 323
Registriert: 01.11.2009 17:17
Wohnort: Dessau-Roßlau

Re: WAN über vorhandenes WLAN mit Stick?

Beitrag von Tommy »

Also das der Stick partout kein DE und somit Kanal 13 unterstützt ist ja noch irgendwie verschmerzbar. Allerdings ist es doof, wenn der Router aufgrund Stromausfall nach reboot kein WLAN mehr hat und man den nochmal ohne Stick booten muss. Sowas kann man keinem unbedarften Endnutzer hinstellen.

Was auch auffällt, Luci trägt jedes mal beim Speichern als WPA Schlüssel das root passwort des Routers in die /config/wireless statt dem Passwort was man eingetippt hat. Ich glaube, das ist ein Bug.
Antworten