OpenWrt Forum Archive

Topic: custom routing algorithm on WRT54GL

The content of this topic has been archived on 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,

I am planning to run my proposed customized routing and channel assignment algorithms on WRT54GL router and am looking for steps in implementing my proposed algorithms. I am a newbie on this forum and have absolutely no idea about how to approach this problem.

I have used NS2 simulator for implementing my protocols before and now am planning to test them on actual routers.

I plan to first run the routing algorithm, test it and then the channel assignment meaning that they both are separate algorithms.

Any suggestions, pointers, tutorials or any help in this regard would be highly appreciable.

The routing algorithm should be able to populate forwarding table and send control packets. The channel assignment algorithm should be able to read the RSSI values of the radio and based on that decide which channel to use and relay this information to neighboring nodes.

Thanks,
--Bokhari

I suggest to first attempt to setup OLSR or B.A.T.M.A.N. on OpenWrt. Those are layer 3 routing protocols which will help you to understand the following things:
- howto build and install OpenWrt
- howto install or integrate packages
- howto configure OpenWrt
- howto debug a network (or mesh I suppose)

Here are some pointers:
http://wiki.openwrt.org/inbox/mesh.olsr
http://olsr.org/?q=about
http://www.open-mesh.org/wiki/batman-adv
http://wiki.openwrt.org/doc/howto/build
http://wiki.openwrt.org/doc/devel/packages

Thanks Jow for the pointers. I will get back to you if I stumble into something else. I still haven't got my WRT54GL, hopefully will get it next week then would start working on this, but thanks anyways.

Best

The discussion might have continued from here.