[Ilugc] Need some help with routing on a WA1003A

  • From: arnstein87@xxxxxxxxx (Arnold Noronha)
  • Date: Fri Jul 11 18:13:14 2008

(Depending on the solution you provide this may or may not be OT :-) )

Right, I've moved to Mumbai and have a Reliance broadband connection.
They have brought an ethernet cable upto my house (I don't need a
router/modem, although they have provided some form of router/splitter
to use the telephone + plus two LAN connections over this same cable)

Now: I need to type in a username/password everytime I log in (not
PPPoE! For instance I type http://www.google.com, and it shows me a
reliance broadnet login page, like what we see at airports)

Now I'm trying to use wireless on this same connection: I can plug in
the ethernet to my old WA1003A router (from my old BSNL connection),
and turn off its DHCP server. And I can connect wirelessly to the WAN.
But now my laptop and my desktop (connected via ethernet) have
different IP addresses on the WAN (basically the WA1003A acts as a
router.. so the desktop and laptop get IP addresses from the WAN's
DHCP server)

And, two different IP addresses on this WAN, cannot use the same
reliance login at the same time! This is my problem currently.

My present solution was to use iptables on my desktop, and set my
laptop to route through it. This is an overkill since I'm now leaving
my desktop on for 24hrs. I would like to use iptables on my WA1003A
instead, and make that act as a gateway --- so that both my desktop
and laptop will have the same IP address on the WAN. And so that both
machines only depend on the WA1003A.

Well, how do I go about this? (for any router, not necessarily
WA1003A. I am ready to buy another router to achieve this. Although
should not happen that I buy a new router and have the same issues.)
My WA1003A has a small linux busybox shell, which has "iptables,"
"ifconfig," etc. But I don't know if it is possible to save any
changes to its filesystem (well, it should be, because it *can* save
settings information from the web-administration app). The web-app
allows me to create the following types of "connections" : PPPoE,
PPPoA, Bridge, Static, DHCP, CLIP. I tried DHCP, but it did not seem
to be getting an IP address from the WAN. I could try using iptables,
but I can't get the device to get an IP for itself (there doesn't seem
to be an equivalent of dhclient on the busybox shell :/ )

--Arnold

Other related posts: