[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] BT Voyager 200 routers
Hi John,
On Wed, 2004-08-11 at 13:08 +0100, John Brooke wrote:
> I am new to this group but I would like to know if anyone could help
> me with getting an ethernet card under Linux to connect to the Internet
> via a BT Voyager 200 router.
I don't think you've explained your problem very well - are we assuming
that the ADSL modem is connected to another PC that is effectively
"sharing" the modem, and you just want your GNU/Linux (which distro?)
computer to use the share?
> I have checked out that on the home network side of the router
> it assigns fixed addresses on a 192.168.xx private network and I can
> configure the linux ethernet card with an address of this form and login
> to MacOSX on a laptop that is connected to the router via USBshe and
> vice versa and ping the router
How did you setup your ethernet card? Did you do it manually with
"ifconfig", or did you run your distribution's configuration tool?
It sounds like you have the correct IP address set, but no good default
route set. If you wanted to do this manually, you might do:
route add default gw 192.168.x.y
... where the address above is the address of the *router*, not your
computer. It's basically saying "if you don't know where to send a
packet, send it to the router" - basically, your computer will only know
how to talk to machines on the local network by default.
If your router has DHCP enabled (i.e., it can assign addresses) then
something like "dhclient eth0" or "pump -i eth0" (you need to be root
for all these commands) should set up your network card fully, without
any fiddling.
A better bet than doing it manually would be to set it up with your
distribution's network tool though: that will make sure everything comes
up properly when you reboot.
Cheers,
Alex.
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.