Re: PPP & PAP
Did You put the DNS-Addresses into /etc/resolv.conf ?
Matth
Am Samstag, 30. Dezember 2000 14:37 schrieb Dieter Schicker:
> Hi,
>
> I got a problem setting up a connection to an ISP-Provider that uses PAP.
> I will attach the contents of the files that I edited. Hopefully someone
> can help me.
>
> Thanks in advance and a happy new year
> Cheers
> Dieter
>
> The modem dials in normally but when I try an URL in the browser
> it says "Unable to locate host" or something similar.
>
> ****************
>
> /etc/ppp/options
>
> dilino:/usr/sbin# egrep -v '#|^ *$' /etc/ppp/options
> asyncmap 0
> noauth
> crtscts
> hide-password
> modem
> noipdefault
> passive
>
> *****************
>
> /etc/ppp/ppp-on:
>
> TELEPHONE=XXXXXX # telephon number for the connection
> ACCOUNT='xxxxxxx' # The account name for logon (as in 'George Burns')
> PASSWORD='xxxxxxx' # The password for this account (and 'Gracie Allen')
> LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
> REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
> NETMASK=255.255.255.0 # The proper netmask if needed
>
> DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
>
> exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 57600 \
> asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
> noipdefault netmask $NETMASK defaultroute \
> connect $DIALER_SCRIPT
>
> ******************
>
> /etc/ppp/ppp-on-dialer:
>
> #!/bin/sh
> #
> # This is part 2 of the ppp-on script. It will perform the connection
> # protocol for the desired connection.
> #
> exec /usr/sbin/chat -v \
> TIMEOUT 3 \
> ABORT '\nBUSY\r' \
> ABORT '\nNO ANSWER\r' \
> ABORT '\nRINGING\r\n\r\nRINGING\r' \
> '' \rAT \
> 'OK-+++\c-OK' ATH0 \
> TIMEOUT 60 \
> OK ATDT$TELEPHONE \
> CONNECT ''
> ogin:--ogin: $ACCOUNT \
> assword: $PASSWORD
>
> *********************
>
> /etc/ppp/peers/provider:
>
> # This optionfile was generated by pppconfig 2.0.5.
> #
> #
> hide-password
> noauth
> connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
> debug
> /dev/ttyS0
> 115200
> defaultroute
> noipdefault
> user XXXXXXX
> remotename provider
> ipparam provider
> usepeerdns
>
> ****************************
>
> and I also provided 2 DNS-servers in /etc/chatscripts/provider
>
> ****************************
>
> Can anybody tell me what I'm doing wrong?
Reply to:
- References:
- PPP & PAP
- From: "Dieter Schicker" <didi@gewi.kfunigraz.ac.at>