[Berlin-wireless] olsr zwei interfaces

smilebef at gmail.com smilebef
Fr Jan 3 19:39:56 CET 2014


Du meinst die config/network:
----------------------------------------------
config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option ifname 'eth0'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'

config interface 'olsr1'
        option _orig_ifname 'wlan0'
        option _orig_bridge 'false'
        option proto 'static'
        option ipaddr '104.xxx.xxx.xxx'
        option netmask '255.0.0.0'

config interface 'olsr2'
        option _orig_ifname 'radio1.network1'
        option _orig_bridge 'false'
        option proto 'static'
        option ipaddr '104.xxx.xxx.xxx'
        option netmask '255.0.0.0'
-------------------------------------------------

und die config/olsrd:

-------------------------------------------------


config olsrd
        option IpVersion '4'
        option FIBMetric 'flat'
        option LinkQualityLevel '2'
        option LinkQualityAlgorithm 'etx_ff'
        option OlsrPort '698'
        option Willingness '3'
        option NatThreshold '1.0'

config LoadPlugin
        option library 'olsrd_arprefresh.so.0.1'
        option ignore '0'

config LoadPlugin
        option library 'olsrd_dyn_gw.so.0.5'
        option ignore '1'

config LoadPlugin
        option library 'olsrd_httpinfo.so.0.1'
        option port '1978'
        list Net '0.0.0.0 0.0.0.0'
        option ignore '0'

config LoadPlugin
        option library 'olsrd_nameservice.so.0.3'
        option ignore '0'

config LoadPlugin
        option library 'olsrd_txtinfo.so.0.1'
        option accept '0.0.0.0'
        option ignore '0'

config InterfaceDefaults
        option Mode 'mesh'

config Interface
        option ignore '0'
        option interface 'olsr1'
        option Mode 'mesh'

config Interface
        option ignore '0'
        option interface 'olsr2'
        option Mode 'mesh'

config LoadPlugin
        option library 'olsrd_jsoninfo.so.0.0'
        option ignore '0'


-------------------------------------------------

Soviel ist da garnicht drinn.


hier noch die wireless:

----------------------------------------------------

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11ng'
        option path 'platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0'
        option htmode 'HT20'
        list ht_capab 'GF'
        list ht_capab 'SHORT-GI-20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'RX-STBC1'
        option channel '10'
        option txpower '20'
        option country '00'

config wifi-iface
        option device 'radio0'
        option encryption 'none'
        option ssid 'olsr.freifunk.net'
        option mode 'adhoc'
        option bssid '02:ca:ff:ee:ba:be'
        option network 'lan olsr1'

config wifi-device 'radio1'
        option type 'mac80211'
        option hwmode '11ng'
        option path 'platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0'
        option htmode 'HT20'
        list ht_capab 'GF'
        list ht_capab 'SHORT-GI-20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'RX-STBC1'
        option channel '10'
        option txpower '20'
        option country '00'

config wifi-iface
        option device 'radio1'
        option encryption 'none'
        option ssid 'olsr.freifunk.net'
        option mode 'adhoc'
        option bssid '02:ca:ff:ee:ba:be'
        option network 'olsr2'
----------------------------------------------------

also, das "lan" aus iface radio0 habe ich eben entfernt.





Mehr Informationen über die Mailingliste Berlin