[Olsr-dev] integrate with new physical layer

Mark K. (spam-protected)
Tue Jan 6 17:22:27 CET 2009


Thanks for the tip, I hadn't seen that package before.  I was going to  
try tun/tap interfaces before modifying OLSR, so hopefully this will  
work.


On Jan 4, 2009, at 11:26 PM, Kelvin Chan wrote:

>> Date: Fri, 2 Jan 2009 16:39:26 -0600
>> From: "Mark K." <(spam-protected)>
>> Subject: [Olsr-dev] integrate with new physical layer
>> To: olsr-dev <(spam-protected)>
>> Message-ID: <(spam-protected)>
>> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>>
>> I'm trying to integrate OLSR with some radios and I'm having a hard
>> time with the way it uses sockets.  The radios connect via USB but I
>> can't seem to poll that interface.  Is it feasible to redirect  
>> packets
>> to an external queue or even a file that I could poll from another
>> app?  Any advice on this idea would be great.
>>
>> Looking at the source, I think I need to modify the net_output
>> function to change the output away from a traditional socket and
>> perhaps olsr_poll_sockets to inject packets back into OLSR after the
>> radio receives it.
>>
>> Thanks.
>>
> Perhaps the simplest way without having to modify the OLSRd code is to
> create a network device (netdev) on top the USB interface.
>
> Have a look at the "usbnet" driver,  http://www.linux-usb.org/usbnet/
>
> In the past, I had ran OLSR on PPP-over-RS232 by creating a PPP  
> network
> interface over the RS-232 serial device. (don't expect the speed to  
> be great).
>
> -- 
> Olsr-dev mailing list
> (spam-protected)
> http://lists.olsr.org/mailman/listinfo/olsr-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20090106/cc060b0b/attachment.html>


More information about the Olsr-dev mailing list