On Fri, 22 Dec 2000, Rebecca Richards wrote:

> Hmm... as far as I am aware, you do __not_ need to give the NIC card used by 
> the ADSL an IP address.  Indeed, if you were watching how the techie did 
> things, he didn't put an IP address into the Windows configs for the interface 
> either.  You also do _not_ need to set the interface to use DHCP.

I only gave the card an IP address to make it trivial to ping
it... i.e. that was in the "check that stuff is working" phase.

> Works like a charm.  When I want to up the ADSL, I do "adsl-start", when I want 
> to drop the ADSL, I do "adsl-stop". Simple.  I had it all running 5 minutes 
> after the techie left (and he left behind a broken Win95 install).

I really wanted to see if I could work out how it all worked, and also
to make it an interface that starts automatically. I have an unlimited
connection, so I don't want to have to worry about connecting. I edited
/etc/network/interfaces to be:

auto lo ppp0

# loopback interface
iface lo inet loopback

# ADSL pppoe interface
iface ppp0 inet ppp
        provider provider
        pre-up ifconfig eth0 up
        post-down ifconfig eth0 down

and that works nicely.

> One other tip.  You'll notice that the SMTP server setting provided by the 
> documentation is "mail-hub" and the POP server is "pop-server" with no FQDN.  
> Set the "search" option in your /etc/resolv.conf to "vic.bigpond.net.au", and 
> mail-hub and everything else will magically start resolving :)  www will also 
> magically start resolving too.

Yeah, this one confused me for a bit, but I came up with a slightly
different solution. instead of the "search" option I used the "domain"
option, as in:

domain vic.bigpond.net.au

Which works fine, and seemed to be what the man page suggested. Should I
be using "search"? 

cheers,

Martin




-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to