You are not logged in.

#1 2005-04-11 15:56:16

toffe
Member
Registered: 2003-11-20
Posts: 18

ppp and DNS problem

Hi,

I have a laptop on which I have installed Arch.
Everything works great, but I can't get ppp to work.

The laptop has an Intel i810 chipset, so I use slmodem.
Using ppp I am able to connect to my ISP, but the computer is then unable to translate domain names into IPs, so I cannot surf, I cannot check my mail, I can't do anything!

Examining messages.log I see that I get an IP and the IP of the remote host.
I can ping this remote IP just fine as well as the primary and secondary name servers of the ISP.

But if I ping a domain name like www.archlinux.org, I get unknown host!

What am I missing?

Thanks,
toffe

Offline

#2 2005-04-11 18:05:31

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,017

Re: ppp and DNS problem

Did you add DNS servers ips to /etc/resolv.conf?

Offline

#3 2005-04-11 19:14:44

toffe
Member
Registered: 2003-11-20
Posts: 18

Re: ppp and DNS problem

Thank you lucke!

I hadn't done that. It thought it was enough to have the nameservers in /etc/ppp/resolve...  :oops:

Now it works.

Two additional problems, though:
1. When I start slmodemd I get the following message:

SmartLink Soft Modem: version 2.9.9 Apr  2 2005 09:36:11
error: cannot find group 'uucp': Success
symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
modem `slamr0' created. TTY is `/dev/pts/2'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
/usr/sbin/pppd: pppd is unable to open the /dev/ppp device.
You need to create the /dev/ppp device node by
executing the following command as root:
        mknod /dev/ppp c 108 0

What can I do to avoid having to do that every time?

2. Most often when I try to connect I get

Apr 11 21:06:46 biggles pppd[4980]: pppd 2.4.3 started by root, uid 0
Apr 11 21:06:47 biggles chat[4983]: abort on (BUSY)
Apr 11 21:06:47 biggles chat[4983]: abort on (NO CARRIER)
Apr 11 21:06:47 biggles chat[4983]: abort on (VOICE)
Apr 11 21:06:47 biggles chat[4983]: abort on (NO DIALTONE)
Apr 11 21:06:47 biggles chat[4983]: abort on (NO DIAL TONE)
Apr 11 21:06:47 biggles chat[4983]: abort on (NO ANSWER)
Apr 11 21:06:47 biggles chat[4983]: abort on (DELAYED)
Apr 11 21:06:47 biggles chat[4983]: send (ATZ^M)
Apr 11 21:06:47 biggles chat[4983]: expect (OK)
Apr 11 21:06:47 biggles chat[4983]: ATZ^M^M
Apr 11 21:06:47 biggles chat[4983]: OK
Apr 11 21:06:47 biggles chat[4983]:  -- got it
Apr 11 21:06:47 biggles chat[4983]: send (ATDT09397704992^M)
Apr 11 21:06:47 biggles chat[4983]: expect (CONNECT)
Apr 11 21:06:47 biggles chat[4983]: ^M
Apr 11 21:06:47 biggles chat[4983]: ATDTxxxxxxxxxxx2^M^M
Apr 11 21:07:09 biggles chat[4983]: NO CARRIER
Apr 11 21:07:09 biggles chat[4983]:  -- failed
Apr 11 21:07:09 biggles chat[4983]: Failed (NO CARRIER)
Apr 11 21:07:09 biggles pppd[4980]: Exit.

I suppose it is bad support for my modem.
Anything I can do? It is most annoying when I might have to try to connect like 10 times before I get a carrier...

Thanks,
toffe

Offline

Board footer

Powered by FluxBB