[Wien] jhw probleme /joe-firmware openvpn

Felix Ehritz (spam-protected)
Mo Jul 4 22:46:21 CEST 2011


ich kann im webinterface tun als schnittstelle nicht auswählen, da sie 
nicht existiert.
muss ich sie da neu erstellen und 'tun' zuordnen?

air0 hab ich nicht! sind alles nur ethernet-schnittstellen (wan + lan) 
wie unten beschrieben-

MFG


Am 04.07.2011 22:35, schrieb Erich N. Pekarek:
> Hallo!
>
> In dieser Konfiguration mußt Du beide Interfaces im olsr eintragen -
> also neben air0 auch tun.
> Wenn es mit der Subnetzmaske keine Probleme macht, kannst Du auch air0
> zur Bridge machen und "tun" zu einem Port machen. Damit brauchst Du dann
> auch das ifconfig meines Erachtens nicht, da das auf "br-air0" läuft.
>
> (Webinterface oder /etc/config/olsrd)
> Probiers einfach einmal mit olsr auf beiden Devices und starte olsrd
> oder den Router neu.
>
>
> LG
> Erich
>
>
> Am 2011-07-04 22:24, schrieb Felix Ehritz:
>> so hab jetzt die tunnel config laut joe gemacht!
>> sieht so aus:
>>
>> login as: root
>> (spam-protected)'s password:
>>
>>
>> BusyBox v1.15.3 (2011-05-28 23:14:05 CEST) built-in shell (ash)
>> Enter 'help' for a list of built-in commands.
>>
>> _______ ________ __
>> | |.-----.-----.-----.| | | |.----.| |_
>> | - || _ | -__| || | | || _|| _|
>> |_______|| __|_____|__|__||________||__| |____|
>> |__| W I R E L E S S F R E E D O M
>>
>> OxFF-Funkfeuer Freenet ---------------------------
>> * OpenWRT (backfire, r27025)
>> * LuCI (trunk, r7109)
>> * 0xFF-Snapshot r1065 by JoeSem
>> ------------------------------- Vienna, 2011-05-28
>> (spam-protected):~# cd ..
>> (spam-protected):/# cd etc
>> (spam-protected):/etc# cd config
>> (spam-protected):/etc/config# vi openvpn
>> config 'openvpn' 'to_krypta'
>> option 'dev' 'tun'
>> option 'management' '127.0.0.1 31194'
>> option 'nobind' '1'
>> option 'verb' '3'
>> option 'remote' '78.41.115.228'
>> option 'proto' 'udp'
>> option 'dev_type' 'tap'
>> option 'comp_lzo' '0'
>> option 'enable' '1'
>> option 'ifconfig' '78.41.112.81 255.255.255.000'
>> option 'port' '5031'
>>
>>
>> was fehlt? im webinteface steht tunnel gestartet, aber als nachbar
>> find ich den tunnel nicht!
>>
>> ifconfig sagt:
>>
>> (spam-protected):~# ifconfig
>> br-lan Link encap:Ethernet HWaddr 00:15:6D:C1:B7:FF
>> inet addr:78.41.112.81 Bcast:78.41.112.255 Mask:255.255.255.0
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:652 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:474497 (463.3 KiB) TX bytes:4264 (4.1 KiB)
>>
>> eth0 Link encap:Ethernet HWaddr 00:15:6D:C1:B7:FE
>> inet addr:10.0.0.15 Bcast:10.0.0.255 Mask:255.255.255.0
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:476 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:91 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:127913 (124.9 KiB) TX bytes:37373 (36.4 KiB)
>> Interrupt:4
>>
>> eth1 Link encap:Ethernet HWaddr 00:15:6D:C1:B7:FF
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:656 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:488657 (477.2 KiB) TX bytes:4264 (4.1 KiB)
>> Interrupt:5
>>
>> lo Link encap:Local Loopback
>> inet addr:127.0.0.1 Mask:255.0.0.0
>> UP LOOPBACK RUNNING MTU:16436 Metric:1
>> RX packets:24 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:1600 (1.5 KiB) TX bytes:1600 (1.5 KiB)
>>
>> tap0 Link encap:Ethernet HWaddr 56:5F:13:AF:56:F1
>> inet addr:78.41.112.81 Bcast:78.41.112.255 Mask:255.255.255.0
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:100
>> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>>
>> zusammen gefasst:
>> eth0 ist mein wan (router privat=internet)
>> eth1 ist mein lan (an dem hängt dann die andere ff-hardware)
>>
>> eth 0 spricht kein olsr (da ja am priv. router)
>> eth 1 spricht olsr
>>
>>
>>
>>
>>
>> --
>> Wien mailing list
>> (spam-protected)
>> https://lists.funkfeuer.at/mailman/listinfo/wien
>
>





Mehr Informationen über die Mailingliste Wien