[Gllug] ADSL (and DHCP) woes

Matthew Thompson matt at actuality.co.uk
Mon Dec 30 21:09:27 UTC 2002


On Monday, December 30, 2002, at 08:07  pm, 
chris.wareham at btopenworld.com wrote:

> Last weekend I trod on my BT supplied modem (the fish shaped thing),  
> completely buggering it up in the process. Not a problem, as I'd been 
> looking for an excuse to relace it with a non-USB one for a while.

The flying sperm - I remember it well.

> So I've now got a D-Link DSL-300G . Quite neat in principle, just plug 
> it into an ADSL filter and connect an ethernet cable from it to the 
> computer. Configuration is via a couple of web pages, no proprietary 
> or Windows only guff.

It appears that this is simply a modem with an ethernet interface - not 
a router. As such it is a single device only option - to share the 
connection you'll need to have one device plugged into it which can 
then share the connection - either a "Broadband gateway" or one of your 
machines with a second network interface.

> But ... it uses DHCP to assign an address, netmask, gateway, etc. to 
> the connected computer. Works flawlessly on the Windows XP machine my 
> girlfriend owns, but I can't get it going under NetBSD. I've created a 
> dhclient.conf file as described in the manual pages, and it gets the 
> address from the modem. But my networking setup looks entirely 
> different under NetBSD than it does on Windows.
>
> Under Windows, the computer has the address assigned by BT Openworld, 
> which seems strange. I expected the computer to have a 192.168.0.* 
> address, and to use 192.168.0.1 (the modem's address) for both gateway 
> and name server. Or the DHCP stuff would setup the correct > nameservers.

As it's a modem and not a router I'm guessing that the single assigned 
IP address is the way these things work.

> So has anyone used this ethernet modem with Linux? I'm at a loss as to 
> what to do. I don't want to dual home a Windows machine and stick my 
> network behind that ...

Without a further purchase of either a router / firewall device to sit 
behind the D-Link modem or a combined modem and router to replace it 
I'm afraid it looks like this is what you may have to do.

M at t :o)


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list