Timing Out Dialer

Peter Garrett peter.garrett at optusnet.com.au
Wed Mar 22 02:58:12 UTC 2006


On Tue, 21 Mar 2006 17:42:09 +0000
Robert Slade <ubtu at bathnetworks.com> wrote:

> On Tue, 2006-03-21 at 22:19 +0800, Romy Albano wrote:
> > > > From kppp main window:
> > > Configure -> Modems -> Device
> > > slider at bottom of window
> > > 
> > > --
> > > Alan McKinnon
> > > alan at linuxholdings dot co dot za
> > > +27 82, double three seven, one nine three five
> > 
> >  ------------------------------
> > 
> > Hello Alan (McKinnon)
> > 
> > Thank you for your advice.  Have followed it but am not having any improvement. That's where the 120 seconds time out default shows.  And, just the same, the dialer keps on continuously dialing.  
> > 
> > I must hasten to add, though, that each time I click on kppp (Internet Dial Up Tool) this message comes out:
> > 
> > "/etc/resolv.conf is missing or can't be read, etc .etc."
> > 
> > I need your comments on that one please.
> > 
> > Romy Albano
> > rpalbano at operamail.com
> 
> Romy,
> 
> /etc/resolv.conf is necessary for the network to know where to do
> nslookups. If is is missing created it, it should look something like:
> 
> search your.domain.com
> nameserver IP address of ISPs nameserver
> nameserver IP address of ISPs nameserver

I use dialup, and have two IPs in /etc/resolv.conf . You should be able to
get the numbers from your ISP - usually two of them ( DNS nameservers IP
addresses)

Alan is right that this is probably not necessary in most cases though, as
the numbers should be set automatically by the ISP. If 

ls -l /etc/resolv.conf

returns nothing, then you can create the file:

sudo touch /etc/resolv.conf

It would be surprising if it were not there - it's a pretty basic file
that should be created on install. Adding the numbers could be done with,
for example

gksudo gedit /etc/resolv.conf                   or
sudo nano /etc/resolv.conf

If the file can't be read, try

sudo chmod +r /etc/resolv.conf

Check that your user is in the dialout group ( and possibly the dip group,
although I'm not sure that is necessary)

You can see your groups by typing

groups

in a terminal as your user.

HTH

-- 
Peter Garrett




More information about the ubuntu-users mailing list