pppoe

yellowdog-general@lists.terrasoftsolutions.com yellowdog-general@lists.terrasoftsolutions.com
Wed Feb 19 16:49:01 2003


On Wednesday, Feb 19, 2003, at 14:07 US/Pacific, Jeffrey Hergan wrote:

> Thanks for the reply!
> I have been reading that fine document for three days--in fact, I have 
> most it memorized.
> I built rp-pppoe from the source (v 3.5) and edited the 
> /etc/pppoe.conf.  Then I did the ol' adsl-start and it said I was 
> connected.  But I can't ping an ip address or a domain name and I 
> can't connect to any sites.

This sounds like a DNS issue. Check those to make sure they are correct 
in the pppoe settings. If they are correct, see if you can ping those 
IPs. If you can't then you are not connected (or they just aren't 
responding).

> I can say that I edited all sorts of other things to set my hostname 
> and so I probably borked something.  Easier to install from scratch 
> than try to retrace my wandering steps.
>
> Two questions:  how do I set the hostname from the command line (and 
> make it stick so that I don't have to reset it at every boot)?

man hostname

and look at your /etc/hosts file...
127.0.0.1	localhost localhost.localdomain
192.168.1.100	somename somname.somehost.tld

> If I leave it as is (localhost.localdomain127.0.0.1) I'm suspecting 
> that will mess up sendmail/postfix.

Probably not...but I've noticed that some mail servers on the receiving 
end of things will refuse email sent from a 'localhost' domain or IP. 
Have you looked at dyndns.org to set up a dynamic host name?

> Do I need another line with a fake addy (what addy?) and my hostname?

Line where?

Have fun :)
r.