PPP localhost loopback issue dialing in to home

Jon Moss moss at metpro.com
Fri Mar 7 17:16:36 CST 2003


Thanks for the tip.  I logged back in and couldn't find a /etc/hostname
file.  There are a host.allow and host.deny files, but they are empty of
entries.  My hosts file contains all the relevant ip addresses for my
home network, including the 192.168.0.5 that I want assigned to dialin
ppp connections.  My resolv.conf contains the DNS server address of
192.168.0.1.  

I've got to run an errand at lunch but will be back in an hour or so.  

Thanks for the quick reply!

Jon Moss
moss at metpro.com

On Fri, 2003-03-07 at 10:48, Duane Attaway wrote:
> On Fri, 7 Mar 2003, Jon Moss wrote:
> 
> > I thought I was doing good.  Last week, I succeeded in configuring
> > mgetty and autoppp on my home linux box.  I was able to dialin in from
> > work from my linux workstation and from my WindowsXP laptop.  Both times
> > I was assigned the correct IP address (192.168.0.5).  
> > 
> > I must have changed something at home because now the home linux box
> > answers the phone, but will not establish a PPP connection.  If I dialin
> > using minicom, I am prompted to login from localhost (127.0.0.1).  I
> > can't ping to the network (192.168.0.1 is the DNS/DHCP server
> > (unfortunately it's a WindowsXP computer); 192.168.0.2 is the linux
> > computer).  
> 
> This appears to be a common event relating to name services.  DHCP has a 
> facility for automatically setting this too.  This may be what you are 
> seeing.
> 
> /etc/hostname is the usual place for storing the hostname and the init
> scripts run the "hostname" command to export it into the environment.
> 
> I would check to see if it has the name for the host you want.  I would 
> guess most dhcp scripts would try to resolve the hostname command with 
> your ISP's DNS and find its invalid and wipe out your old /etc/hostname 
> setting.  If I understand this to be the case, I would set an entry for 
> the IP address you wish to use in your /etc/hosts.
> 
> --
> "It is the duty of a patriot to protect his country from its government"
> -Thomas Paine
> http://dattaway.org    
> 
> 
-- 
Jon Moss <moss at metpro.com>




More information about the Kclug mailing list