Welcome to the CSIR Meraka Institute's "COIN" Blog

Thursday, October 28, 2004

How to set up Linksys as a RIP2 router with client mode

How to set up Linksys as a RIP2 router with client mode

1. Load Alchemy pre-release 5.2.3 onto the linksys

2. Set the Linksys Wireless interface to Client mode and set SSID to "pta-mesh"

Using the web interface select Wireless - Basic Settings
Wireless Mode : Client
SSID: pta-mesh
Select Save Settings - continue

3. Choose your IP addresses for the Wireless interface and the LAN interface

I chose the following
WAN interface:
LAN interface:

Using the Web interface select Setup - Basic Setup
Internet Connection Type: Static IP
Internet IP Address:
Subnet Mask:
Router Name: Something you like eg. david_home
Local IP Address:
Subnet Mask:

Select Save Settings - continue

4. Add router configuration files to the target directory

Enter the router directory ($LINKSYS/src/router)
# cd /mipsel-uclibc/target
# mkdir /usr/local
# mkdir /usr/local/etc

Download my RIP configuration files for linksys

Copy these files to $LINKSYS/src/router/mipsel-uclibc/target/usr/local/etc

Download my image making script which will build files in the code.bin image

Copy this script to $LINKSYS/src/router
Run the script

You should now have a code.bin with the router config files in /usr/local/etc
Upload this new firmware to the linksys

5. Add commands to rc_startup to startup RIP, Flush iptables (so that RIP messages can arrive on RIP port) and remove NAT

zebra -d -f /usr/local/etc/zebra.conf
ripd -d -f /usr/local/etc/ripd.conf
iptables -F
iptables -F -t nat

8. You should now have a rip enabled linksys client - Try ping the network connected to the wireless interface from a machine connected to the LAN

Things to improve in this recipe
1. Don't flush all iptables - just enable the port for RIP routing
2. Find location in Makefile where the code.bin image is made - don't need my custom script


alena said...

Hey, I have enjoyed...your blog is informative - even entertaining.

I have a halloween sites. They pretty much covers costumes and masks related stuff.

Thanks again and I'll be sure to bookmark you.

job opportunitya said...

Suitable blog, its very good. I liked the site its
from so much I have to visit it again! I surf the web
for blogs like yours in my spare time.
Hey why don't you peep my plastic surgery cost blog site.

job opportunitya said...

Prodigious blog. Loved it so much I went to it
again! Just go online and search for blogs that are
worth the value as yours.
Stop by and visiit my plastic surgery florida blog!

job opportunitya said...

I surf the web looking for blogs like this one.
Your site was on point and will be back again! Awesome
I'm looking at the possibility of checking your american board of plastic surgery blog.