<div dir="ltr">ok thanks for the feedback, let it<br>Concerning the mask 255.255.0.0 is a TA in that class and so far I have not changed, but soon it'll network.<br><br>regarding vlan, I did not change this pattern that comes with the openwrt for this router model but suggest me if I change something, I'll comment on that vlan to see if it makes a difference.<br>
<br>when the wlan router the other is that the moment they were off, but now I'm sending a new output from echo command '/ all' | nc localhost 2006<br>here is:<br><br>echo '/all' | nc localhost 2006<br>
HTTP/1.0 200 OK <br>Content-type: text/plain <br><br>Table: Links<br>Local IP Remote IP Hyst. LQ NLQ Cost<br>10.5.0.1 10.5.0.3 0.00 1.000 1.000 1.000<br>
10.5.0.1 10.5.0.2 0.00 1.000 1.000 1.000<br><br>Table: Neighbors<br>IP address SYM MPR MPRS Will. 2 Hop Neighbors<br>10.5.0.2 YES NO NO 3 1 <br>
10.5.0.3 YES NO NO 3 1 <br><br>Table: Topology<br>Dest. IP Last hop IP LQ NLQ Cost<br>10.5.0.2 10.5.0.1 1.000 1.000 1.000<br>10.5.0.3 10.5.0.1 1.000 1.000 1.000<br>
10.5.0.1 10.5.0.2 1.000 1.000 1.000<br>10.5.0.3 10.5.0.2 1.000 1.000 1.000<br>10.5.0.1 10.5.0.3 1.000 1.000 1.000<br>10.5.0.2 10.5.0.3 1.000 1.000 1.000<br>
<br>Table: HNA<br>Destination Gateway<br><a href="http://0.0.0.0/0">0.0.0.0/0</a> 10.5.0.1<br><br>Table: MID<br>IP address Aliases<br><br>Table: Routes<br>Destination Gateway IP Metric ETX Interface<br>
<a href="http://10.5.0.2/32">10.5.0.2/32</a> 10.5.0.2 1 1.000 wlan0 <br><a href="http://10.5.0.3/32">10.5.0.3/32</a> 10.5.0.3 1 1.000 wlan0 <br><br>Att<br>Anderson Junior<br><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-03-01 12:20 GMT-04:00 Chris W. <span dir="ltr"><<a href="mailto:chris-wy@web.de" target="_blank">chris-wy@web.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
well, looks good except in<br>
/etc/config/network the wan netmask might be 255.255.255.0<br>
and the vlan config seems a bit strange with the "0t" in vlan1.<br>
<br>
However, looks like there's no wlan connection amoungst the nodes. Is "ssid", "channel" and "bssid" the same on all radios? As Henning had mentioned before, each direct neighbour is pingable without olsrd running.<br>
<br>
iwconfig should show something like this, try another "wifi up" if it doesn't:<br>
wlan0 IEEE 802.11bgn ESSID:"wscmobile"<br>
Mode:Ad-Hoc Frequency:2.452 GHz Cell: f8:d1:11:56:8d:04<br>
Tx-Power=18 dBm<br>
RTS thr:off Fragment thr:off<br>
Encryption key:off<br>
Power Management:on<div><div class="h5"><br>
<br>
<br>
<br>
<br>
On 03/01/2014 02:07 PM, ANDERSON JUNIOR GADO DA SILVA wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
hello, I'll post my settings olsr to take a look:<br>
<br>
/etc/config/firewall<br>
<br>
config defaults<br>
option syn_flood '1'<br>
option input 'ACCEPT'<br>
option output 'ACCEPT'<br>
option forward 'REJECT'<br>
<br>
config zone<br>
option name 'lan'<br>
option network 'lan'<br>
option input 'ACCEPT'<br>
option output 'ACCEPT'<br>
option forward 'REJECT'<br>
<br>
config zone<br>
option name 'wlan'<br>
option network 'wlan'<br>
option input 'ACCEPT'<br>
option output 'ACCEPT'<br>
option forward 'REJECT'<br>
<br>
config zone<br>
option name 'wan'<br>
option network 'wan'<br>
option input 'REJECT'<br>
option output 'ACCEPT'<br>
option forward 'REJECT'<br>
option masq '1'<br>
<br>
config forwarding<br>
option src 'lan'<br>
option dest 'wan'<br>
<br>
config forwarding<br>
option src 'wlan'<br>
option dest 'wan'<br>
<br>
config forwarding<br>
option src 'lan'<br>
option dest 'wlan'<br>
<br>
config forwarding<br>
option src 'wlan'<br>
option dest 'lan'<br>
<br>
config rule<br>
option name 'Allow-Ping'<br>
option src 'wan'<br>
option proto 'icmp'<br>
option icmp_type 'echo-request'<br>
option family 'ipv4'<br>
option target 'ACCEPT'<br>
<br>
config rule<br>
option target 'ACCEPT'<br>
option src 'wan'<br>
option proto 'tcp'<br>
option dest_port '22'<br>
<br>
<br>
option include<br>
option path '/etc/firewall.user'<br>
<br>
/etc/config/network<br>
<br>
config interface 'loopback'<br>
option ifname 'lo'<br>
option proto 'static'<br>
option ipaddr '127.0.0.1'<br>
option netmask '255.0.0.0'<br>
<br>
config interface 'lan'<br>
option ifname 'eth0.1'<br>
option proto 'static'<br>
option ipaddr '192.168.1.1'<br>
option netmask '255.255.255.0'<br>
<br>
config interface 'wan'<br>
option _orig_ifname 'eth0.2'<br>
option _orig_bridge 'false'<br>
option ifname 'eth0.2'<br>
option proto 'static'<br>
option ipaddr '<a href="tel:192.168.254.2" value="+551921682542" target="_blank">192.168.254.2</a>'<br>
option netmask '255.255.0.0'<br>
option gateway '192.168.254.254'<br>
option dns '10.4.0.1'<br>
<br>
config switch<br>
option name 'rtl8366rb'<br>
option reset '1'<br>
option enable_vlan '1'<br>
option enable_vlan4k '1'<br>
<br>
config switch_vlan<br>
option device 'rtl8366rb'<br>
option vlan '1'<br>
option ports '0t 1 2 3 4 5t'<br>
<br>
config switch_vlan<br>
option device 'rtl8366rb'<br>
option vlan '2'<br>
option ports '0 5t'<br>
<br>
config interface 'wlan'<br>
option _orig_ifname 'wlan0'<br>
option _orig_bridge 'false'<br>
option proto 'static'<br>
option ipaddr '10.5.0.1'<br>
option netmask '255.255.0.0'<br>
option broadcast '10.5.255.255'<br>
/etc/config/wireless<br>
<br>
config wifi-device 'radio0'<br>
option type 'mac80211'<br>
option macaddr 'f8:d1:11:56:8d:04'<br>
list ht_capab 'SHORT-GI-40'<br>
list ht_capab 'DSSS_CCK-40'<br>
option channel '9'<br>
option hwmode '11b'<br>
option txpower '24'<br>
option country 'BR'<br>
<br>
config wifi-iface<br>
option device 'radio0'<br>
option encryption 'none'<br>
option ssid 'wscmobile'<br>
option mode 'adhoc'<br>
option bssid 'f8:d1:11:56:8d:04'<br>
option network 'wlan'<br>
<br>
Here the output of this command<br>
<br>
echo '/all' | nc localhost 2006<br>
HTTP/1.0 200 OK<br>
Content-type: text/plain<br>
<br>
Table: Links<br>
Local IP Remote IP Hyst. LQ NLQ Cost<br>
<br>
Table: Neighbors<br>
IP address SYM MPR MPRS Will. 2 Hop Neighbors<br>
<br>
Table: Topology<br>
Dest. IP Last hop IP LQ NLQ Cost<br>
<br>
Table: HNA<br>
Destination Gateway<br>
</div></div><a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a> <<a href="http://0.0.0.0/0" target="_blank">http://0.0.0.0/0</a>> 10.5.0.1<div class=""><br>
<br>
Table: MID<br>
IP address Aliases<br>
<br>
Table: Routes<br>
Destination Gateway IP Metric ETX Interface<br>
<br>
<br>
only one of the routers is connected, so ta ouotros not appearing in the<br>
command<br>
<br>
but this not browsing<br>
Att<br>
Anderson Junior<br>
<br>
<br>
2014-03-01 4:51 GMT-04:00 Chris W. <<a href="mailto:chris-wy@web.de" target="_blank">chris-wy@web.de</a><br></div>
<mailto:<a href="mailto:chris-wy@web.de" target="_blank">chris-wy@web.de</a>>>:<div class=""><br>
<br>
Two more settings should be taken into account,<br>
<br>
first is openwrt's firewall settings: forwarding between wan and<br>
wifi should be enabled in /etc/config/firewall<br>
<br>
config forwarding<br>
option src wlan0<br>
option dest wan<br>
<br>
second is olsrd's HNA entry to announce the way out,<br>
the olsrd_dyn_gw should take care about it. Check with<br>
echo ""/all"" | nc localhost 2006, any "<a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a><br></div>
<<a href="http://0.0.0.0/0" target="_blank">http://0.0.0.0/0</a>>" on the list?<div class=""><br>
<br>
btw. this is still without using smart gateway.<br>
<br>
greetings,<br>
Chris<br>
<br>
<br>
On 02/28/2014 01:12 PM, ANDERSON JUNIOR GADO DA SILVA wrote:<br>
<br>
hello, all devices are as adhoc and also with olsr running, my<br>
doubt is<br>
now in gatwey settings that will provide internet, I'll post the<br>
official list openwrt because I think it is an issue that refers to<br>
openwrt, I believe qu must be a mistake to share the internet to<br>
the wan<br>
wifi0<br>
<br>
Att<br>
Anderson Junior<br>
<br>
<br>
2014-02-28 5:08 GMT-04:00 Henning Rogge <<a href="mailto:hrogge@gmail.com" target="_blank">hrogge@gmail.com</a><br>
<mailto:<a href="mailto:hrogge@gmail.com" target="_blank">hrogge@gmail.com</a>><br></div>
<mailto:<a href="mailto:hrogge@gmail.com" target="_blank">hrogge@gmail.com</a> <mailto:<a href="mailto:hrogge@gmail.com" target="_blank">hrogge@gmail.com</a>>>>:<div class=""><br>
<br>
<br>
Hi,<br>
<br>
so you now have connectivity between all nodes, even if<br>
they are not<br>
all in direct range (OLSR should forward the traffic hop by<br>
hip)?<br>
<br>
Henning<br>
<br>
On Thu, Feb 27, 2014 at 5:26 PM, ANDERSON JUNIOR GADO DA SILVA<br>
<<a href="mailto:andersonscinfo@gmail.com" target="_blank">andersonscinfo@gmail.com</a> <mailto:<a href="mailto:andersonscinfo@gmail.com" target="_blank">andersonscinfo@gmail.<u></u>com</a>><br></div>
<mailto:<a href="mailto:andersonscinfo@gmail." target="_blank">andersonscinfo@gmail.</a>_<u></u>_com<div class=""><br>
<mailto:<a href="mailto:andersonscinfo@gmail.com" target="_blank">andersonscinfo@gmail.<u></u>com</a>>>> wrote:<br>
> hello, thanks for the help so far, the 3 devices are<br>
talking to<br>
each other,<br>
> were with the ips so, 10.5.0.1, 10.5.0.2 and 10.5.0.3,<br>
but still<br>
no internet<br>
> connection, I must choose one of openwrt and configure<br>
the wan,<br>
still do not<br>
> see a way out in order to use pppoe authentication or<br>
captive<br>
(hotspot)<br>
> portal.<br>
><br>
> Att<br>
> Anderson Junior<br>
><br>
><br>
> 2014-02-27 11:19 GMT-04:00 Chris W. <<a href="mailto:chris-wy@web.de" target="_blank">chris-wy@web.de</a><br>
<mailto:<a href="mailto:chris-wy@web.de" target="_blank">chris-wy@web.de</a>><br></div>
<mailto:<a href="mailto:chris-wy@web.de" target="_blank">chris-wy@web.de</a> <mailto:<a href="mailto:chris-wy@web.de" target="_blank">chris-wy@web.de</a>>>>:<div><div class="h5"><br>
<br>
><br>
>> Hello,<br>
>><br>
>> an ip-bridge is not too useful with olsr,<br>
>> the router's lan might be in a separate subnet which gets<br>
announced via<br>
>> olsrd.conf's HNA entry.<br>
>> In this case all radios are in the 192.168.2.x subnet and<br>
>> all lans are in 192.168.x.0/24 so the routing remains<br>
simple.<br>
>><br>
>><br>
>> /etc/config/network:<br>
>><br>
>> config interface 'lan'<br>
>> option ifname 'eth1'<br>
>> option proto 'static'<br>
>> option ipaddr '192.168.47.1'<br>
>> option netmask '255.255.255.0'<br>
>><br>
>> config interface 'wlan0'<br>
>> option proto 'static'<br>
>> option ipaddr '192.168.2.47'<br>
>> option netmask '255.255.255.0'<br>
>><br>
>> /etc/config/wireless:<br>
>><br>
>> config wifi-iface<br>
>> option device 'radio0'<br>
>> option mode 'adhoc'<br>
>> option ssid 'somename'<br>
>> option bssid '00:10:20:30:40:70'<br>
>> option network 'wlan0'<br>
>><br>
>> Good luck :)<br>
>><br>
>> Chris<br>
>><br>
>><br>
>><br>
>> On 02/27/2014 01:16 PM, ANDERSON JUNIOR GADO DA SILVA<br>
wrote:<br>
>>><br>
>>> Hello, researching more about the ad-hoc mode, it does not<br>
support so I<br>
>>> need to configure a bridge ip to it, I have done that<br>
and now I'm<br>
>>> conceguindo access the radio and also dribbling it,<br>
knowing now<br>
that he<br>
>>> does not accept bridge'm looking for an outlet for the mac<br>
computer that<br>
>>> will make the connection arrives on the server because the<br>
>>> authentication is via PPPoE, I'm still very confused<br>
but already<br>
>>> beginning to understand, you have any suggestions for<br>
the network<br>
>>> topology?<br>
>>><br>
>>> Att<br>
>>> Anderson Junior<br>
>>><br>
>>><br>
>>> 2014-02-27 4:07 GMT-04:00 Henning Rogge<br></div></div>
>>> <henning.rogge@fkie.__<a href="http://fraunhofer.de" target="_blank">fraunhof<u></u>er.de</a><br>
<mailto:<a href="mailto:henning.rogge@fkie.fraunhofer.de" target="_blank">henning.rogge@fkie.<u></u>fraunhofer.de</a>><br>
<mailto:<a href="mailto:henning.rogge@fkie." target="_blank">henning.rogge@fkie.</a>__<a href="http://fraunhofer.de" target="_blank">f<u></u>raunhofer.de</a><br>
<mailto:<a href="mailto:henning.rogge@fkie.fraunhofer.de" target="_blank">henning.rogge@fkie.<u></u>fraunhofer.de</a>>><br>
>>> <mailto:<a href="mailto:henning.rogge@fkie." target="_blank">henning.rogge@fkie.</a>__<a href="http://fraunhofer.de" target="_blank">f<u></u>raunhofer.de</a><br>
<mailto:<a href="mailto:henning.rogge@fkie.fraunhofer.de" target="_blank">henning.rogge@fkie.<u></u>fraunhofer.de</a>><br>
<br>
<mailto:<a href="mailto:henning.rogge@fkie." target="_blank">henning.rogge@fkie.</a>__<a href="http://fraunhofer.de" target="_blank">f<u></u>raunhofer.de</a><div><div class="h5"><br>
<mailto:<a href="mailto:henning.rogge@fkie.fraunhofer.de" target="_blank">henning.rogge@fkie.<u></u>fraunhofer.de</a>>>>>:<br>
>>><br>
>>><br>
>>> On 02/26/2014 08:58 PM, ANDERSON JUNIOR GADO DA<br>
SILVA wrote:<br>
>>> > Good afternoon, I was in doubt if I should<br>
start a new<br>
>>> conversation so<br>
>>> > I'm posting here again.<br>
>>> ><br>
>>> > without making any changes to the file<br>
connected the<br>
router and<br>
>>> > connected directly to link a computer in<br>
wireless ad-hoc<br>
>>> wireless, but<br>
>>> > when I'm by wireless concigo not ping even<br>
access the<br>
router,<br>
>>> only when<br>
>>> > connected directly by cable, any hint is well<br>
Welcome.<br>
>>><br>
>>> Even before you start the routing daemon you<br>
should be able<br>
to ping<br>
>>> your<br>
>>> direct neighbors. If this doesn't work your<br>
wifi/interface<br>
>>> configuration<br>
>>> is bugged.<br>
>>><br>
>>> So I would advise to test the connectivity of your<br>
network<br>
without<br>
>>> olsrd<br>
>>> first.<br>
>>><br>
>>> See<br>
>>><br></div></div>
<a href="http://www.olsr.org/mediawiki/__index.php/First_Mesh___Troubleshooting" target="_blank">http://www.olsr.org/mediawiki/<u></u>__index.php/First_Mesh___<u></u>Troubleshooting</a><div class=""><br>
<<a href="http://www.olsr.org/mediawiki/index.php/First_Mesh_Troubleshooting" target="_blank">http://www.olsr.org/<u></u>mediawiki/index.php/First_<u></u>Mesh_Troubleshooting</a>><br>
>>><br>
>>> Henning Rogge<br>
>>><br>
>>><br>
>>> --<br>
>>> Diplom-Informatiker Henning Rogge ,<br>
Fraunhofer-Institut für<br>
>>> Kommunikation, Informationsverarbeitung und<br>
Ergonomie FKIE<br>
>>> Kommunikationssysteme (KOM)<br>
>>> Fraunhofer Straße 20, 53343 Wachtberg, Germany<br>
>>> Telefon <a href="tel:%2B49%20228%209435-961" value="+492289435961" target="_blank">+49 228 9435-961</a><br>
<tel:%2B49%20228%209435-961> <tel:%2B49%20228%209435-961><br>
<tel:%2B49%20228%209435-961>, Fax +49 228<br>
>>> 9435 685 <tel:%2B49%20228%209435%20685><br></div>
>>> mailto:<a href="mailto:henning.rogge@fkie." target="_blank">henning.rogge@fkie.</a>__<a href="http://fraunhofer.de" target="_blank">fr<u></u>aunhofer.de</a><br>
<mailto:<a href="mailto:henning.rogge@fkie.fraunhofer.de" target="_blank">henning.rogge@fkie.<u></u>fraunhofer.de</a>><br>
<mailto:<a href="mailto:henning.rogge@fkie." target="_blank">henning.rogge@fkie.</a>__<a href="http://fraunhofer.de" target="_blank">f<u></u>raunhofer.de</a><br>
<mailto:<a href="mailto:henning.rogge@fkie.fraunhofer.de" target="_blank">henning.rogge@fkie.<u></u>fraunhofer.de</a>>><br>
>>><br>
>>> <mailto:<a href="mailto:henning.rogge@fkie." target="_blank">henning.rogge@fkie.</a>__<a href="http://fraunhofer.de" target="_blank">f<u></u>raunhofer.de</a><br>
<mailto:<a href="mailto:henning.rogge@fkie.fraunhofer.de" target="_blank">henning.rogge@fkie.<u></u>fraunhofer.de</a>><br>
<mailto:<a href="mailto:henning.rogge@fkie." target="_blank">henning.rogge@fkie.</a>__<a href="http://fraunhofer.de" target="_blank">f<u></u>raunhofer.de</a><div class=""><br>
<mailto:<a href="mailto:henning.rogge@fkie.fraunhofer.de" target="_blank">henning.rogge@fkie.<u></u>fraunhofer.de</a>>>><br>
>>> <a href="http://www.fkie.fraunhofer.de" target="_blank">http://www.fkie.fraunhofer.de</a><br>
>>><br>
>>><br>
>>> --<br>
>>> Olsr-users mailing list<br>
>>> <a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a><br>
<mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.<u></u>org</a>><br></div>
<mailto:<a href="mailto:Olsr-users@lists.olsr." target="_blank">Olsr-users@lists.olsr.</a><u></u>__org<br>
<mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.<u></u>org</a>>><br>
<mailto:<a href="mailto:Olsr-users@lists.olsr." target="_blank">Olsr-users@lists.olsr.</a><u></u>__org<br>
<mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.<u></u>org</a>><br>
<mailto:<a href="mailto:Olsr-users@lists.olsr." target="_blank">Olsr-users@lists.olsr.</a><u></u>__org<br>
<mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.<u></u>org</a>>>><br>
<br>
>>> <a href="https://lists.olsr.org/__mailman/listinfo/olsr-users" target="_blank">https://lists.olsr.org/__<u></u>mailman/listinfo/olsr-users</a><div class=""><br>
<<a href="https://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">https://lists.olsr.org/<u></u>mailman/listinfo/olsr-users</a>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>><br>
>> --<br>
>> Olsr-users mailing list<br>
>> <a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a><br>
<mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.<u></u>org</a>><br></div>
<mailto:<a href="mailto:Olsr-users@lists.olsr." target="_blank">Olsr-users@lists.olsr.</a><u></u>__org<br>
<mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.<u></u>org</a>>><br>
>> <a href="https://lists.olsr.org/__mailman/listinfo/olsr-users" target="_blank">https://lists.olsr.org/__<u></u>mailman/listinfo/olsr-users</a><div class=""><br>
<<a href="https://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">https://lists.olsr.org/<u></u>mailman/listinfo/olsr-users</a>><br>
><br>
><br>
><br>
> --<br>
> Olsr-users mailing list<br>
> <a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a><br>
<mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.<u></u>org</a>><br></div>
<mailto:<a href="mailto:Olsr-users@lists.olsr." target="_blank">Olsr-users@lists.olsr.</a><u></u>__org<br>
<mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.<u></u>org</a>>><br>
> <a href="https://lists.olsr.org/__mailman/listinfo/olsr-users" target="_blank">https://lists.olsr.org/__<u></u>mailman/listinfo/olsr-users</a><br>
<<a href="https://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">https://lists.olsr.org/mailman/listinfo/olsr-users</a>><br>
</blockquote></blockquote></div><br><div><br></div>
</div></div>