[OLSR-users] Trying to connect PC to Freifunk OLSR network

Alex Harford (spam-protected)
Sun Apr 17 01:57:47 CEST 2005


I have 2 WRT54g's running the Freifunk firmware, and I'm stuck trying
to get my PC to connect.  It was previously able to when the WRT was
acting as an AP.

The olsr network is using the 2.0.0.0 network, my specific nodes are
in 2.129.50.0

First I'd like to confirm that it can work on combined 802.11b and g
networks.  If so, read on. :)

Here is the relevent information from the internet connected WRT:

(spam-protected):~/etc# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
2.129.50.2      *               255.255.255.255 UH    1      0        0 eth1
192.168.1.0     *               255.255.255.0   U     0      0        0 br0
154.20.0.0      *               255.255.192.0   U     0      0        0 vlan1
2.0.0.0         *               255.0.0.0       U     0      0        0 eth1
default         154.20.0.254    0.0.0.0         UG    0      0        0 vlan1



(spam-protected):~/etc# iwconfig eth1
eth1      IEEE 802.11-DSF  ESSID:"olsr.bcwireless.net"
          Mode:Ad-Hoc  Channel:1  Cell: 42:76:79:C8:92:87
          Bit Rate:48Mb/s   Tx-Power=15 dBm
          Retry limit:0   RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality:5/5  Signal level:-56 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


(spam-protected):~/etc# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:0F:66:36:87:FF
          inet addr:2.129.50.1  Bcast:2.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18555 errors:0 dropped:0 overruns:0 frame:8273
          TX packets:20585 errors:3 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:2455570 (2.3 MiB)  TX bytes:3975983 (3.7 MiB)
          Interrupt:4 Base address:0x1000

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

And here is the PC:

[(spam-protected) ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
2.0.0.0         *               255.0.0.0       U     0      0        0 eth1
default         yam             0.0.0.0         UG    0      0        0 eth0

[(spam-protected) ~]# iwconfig eth1
eth1      IEEE 802.11-DS  ESSID:"olsr.bcwireless.net" 
Nickname:"ebi.bchsia.telus.net"
          Mode:Ad-Hoc  Frequency:2.412GHz  Cell: 42:76:79:C8:92:87
          Bit Rate=11Mb/s   Tx-Power=15 dBm   Sensitivity:1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:1  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[(spam-protected) ~]# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:30:BD:60:E3:04
          inet addr:2.129.50.3  Bcast:2.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::230:bdff:fe60:e304/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2612 errors:0 dropped:0 overruns:0 frame:0
          TX packets:434 errors:344 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:182228 (177.9 KiB)  TX bytes:50798 (49.6 KiB)
          Interrupt:11 Base address:0x100


when I run olsrd on the PC, I get the following messages:


 *** olsr.org - 0.4.8 ***
 Build date: Apr 16 2005
 http://www.olsr.org

Parsing file: "/etc/olsrd.conf"
 *** olsrd configuration ***
Debug Level      : 9
IpVersion        : 4
No interfaces    : ALLOWED
TOS              : 0x10
Willingness      : AUTO
IPC connections  : 0
        Host 127.0.0.1
Pollrate         : 1.00
TC redundancy    : 0
MPR coverage     : 1
LQ level         : 0
LQ window size   : 10
Clear screen     : no
Interfaces:
 dev: "eth1"
        IPv4 broadcast           : AUTO
        IPv6 addrtype            : site-local
        IPv6 multicast site/glbl : ff05::15/ff0e::1
        HELLO emission/validity  : 2.00/6.00
        TC emission/validity     : 5.00/15.00
        MID emission/validity    : 5.00/15.00
        HNA emission/validity    : 5.00/15.00
Using hysteresis:
        Scaling      : 0.50
        Thr high/low : 0.80/0.30

IP forwarding is enabled on this system
Initializing parser...
Parser: registering event for type 1
Register parse function: Added function for type 1
Parser: registering event for type 2
Register parse function: Added function for type 2
Parser: registering event for type 3
Register parse function: Added function for type 3
Parser: registering event for type 4
Register parse function: Added function for type 4
Scheduler event registered int: 20.00
Initializing APM
APM info:
        AC status 0
        Battery percentage 1077149696%

Could not read APM info - setting default willingness(3)
Using IP version 4

 ---- Interface configuration ----

Checking eth1:
        Wireless interface detected
        MTU: 1500
        Index 167854376
        Address:2.129.50.3
        Netmask:255.0.0.0
        Broadcast address:2.255.255.255
Binding socket 5 to device eth1
Adding OLSR socket entry 5
New main address: 2.129.50.3
Scheduler event registered int: 2.00
Scheduler event registered int: 5.00
Scheduler event registered int: 5.00
Scheduler event registered int: 5.00
Scheduler event registered int: 5.00
Initializing duplicatetable - hashsize 32
Scheduler event registered int: 2.00
TC: init topo
MPRS: Init
MID: init
Scheduler event registered int: 1.00
Scheduler event registered int: 1.00
Loading plugins...

Main address: 2.129.50.3

Scheduler started - polling every 1.00 seconds
Max jitter is 0.500000

        Building HELLO on interface 0
Unknown type: 202, size 28, from 2.129.50.2
Unknown type: 201, size 32, from 2.129.50.2
Unknown type: 202, size 28, from 2.129.50.1
        Building HELLO on interface 0
Unknown type: 201, size 32, from 2.129.50.1
Unknown type: 201, size 32, from 2.129.50.2
        Building HELLO on interface 0
Unknown type: 202, size 28, from 2.129.50.2
Received HNA from NON SYM neighbor 2.129.50.1
        Building HELLO on interface 0
Unknown type: 201, size 32, from 2.129.50.1
Unknown type: 201, size 32, from 2.129.50.2
        Building HELLO on interface 0
Unknown type: 202, size 28, from 2.129.50.1
Unknown type: 202, size 28, from 2.129.50.2
Unknown type: 201, size 32, from 2.129.50.2
        Building HELLO on interface 0
Unknown type: 201, size 32, from 2.129.50.1
        Building HELLO on interface 0
Unknown type: 201, size 32, from 2.129.50.2
Unknown type: 202, size 28, from 2.129.50.1
        Building HELLO on interface 0
Unknown type: 201, size 32, from 2.129.50.1
Unknown type: 202, size 28, from 2.129.50.2
Unknown type: 201, size 32, from 2.129.50.2
        Building HELLO on interface 0
Unknown type: 201, size 32, from 2.129.50.1


Any suggestions?

Thanks,
Alex



More information about the Olsr-users mailing list