LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware - pppsetup - dial-up connection (http://www.linuxquestions.org/questions/slackware-14/slackware-pppsetup-dial-up-connection-280398/)

Sader 01-21-2005 01:15 AM

Slackware - pppsetup - dial-up connection
 
Hello,

Apologize in advance for a questions that might be stupid:

I'm trying to set up a dial up connection using Slackware "pppsetup" utility... following questions have appeared:

- How to set up DNS IP address to Dynamic IP
- How to set Domain Name to Automatic DNS

also I'm using Username & Password to connect to ISP what authentication type should I choose ?

Thanks,
Sader

gdiv 01-21-2005 09:15 AM

Re: Slackware - pppsetup - dial-up connection
 
Quote:

Originally posted by Sader
[B]Hello,

Apologize in advance for a questions that might be stupid:

I'm trying to set up a dial up connection using Slackware "pppsetup" utility... following questions have appeared:

- How to set up DNS IP address to Dynamic IP
- How to set Domain Name to Automatic DNS
Last time I checked (about six months ago) It is only the domain name and DNS IP address that you need to provide.

Domain name: aol.com or whatever

You will have to call tech support to get your DNS IP.
Example: 106.113.22.4

Quote:

also I'm using Username & Password to connect to ISP what authentication type should I choose ?
This might take trial and error to figure out. There are only four choices. PAP worked for me. If you choose PAP or CHAP, you will be prompted to enter a username and password in pppsetup, but not each time you connect.

dfowensby 01-21-2005 11:42 AM

hmm. saw your location. this is my setup in dynamic isp, from pppsetup, with a stand-alone machine using 209.244.0.3 and 209.244.0.4 as nameserver id's. my provider is access4less.net of altlanta, ga, usa and on a standalone slack-current os

some hints for the setup gui:
pick your modem link
enter your favorite host name and/or personnal domain at the prompt
enter one of the 2 (pri or sec dns as noted above) for your machine NOT the provider!
enter default script
enter the telephone number prefix wiith atdt or atdp
indicate as PAP
(i may have this out of order, i'm doing most from memory)

check /etc/ppp/pppscript (may look similar):
TIMEOUT 60
ABORT ERROR
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
"" "AT&FH0"
OK "atdt3194014"
TIMEOUT 75
CONNECT

check your /etc/ppp/resolv.conf:
nameserver 209.244.0.3
nameserver 209.244.0.4

check your /etc/ppp/options:
# General configuration options for PPPD:
lock
defaultroute
noipdefault
modem
/dev/modem
57600
crtscts
# Uncomment the line below for more verbose error reporting:
#debug
# If you have a default route already, pppd may require the other side
# to authenticate itself, which most ISPs will not do. To work around this,
# uncomment the line below. Note that this may have negative side effects
# on system security if you allow PPP dialins. See the docs in /usr/doc/ppp*
# for more information.
#noauth
passive
asyncmap 0
name "owensby"

then check your ~/options.demand:
# General configuration options for PPPD:
lock
defaultroute
noipdefault
modem
/dev/modem
57600
crtscts
# Uncomment the line below for more verbose error reporting:
#debug
# If you have a default route already, pppd may require the other side
# to authenticate itself, which most ISPs will not do. To work around this,
# uncomment the line below. Note that this may have negative side effects
# on system security if you allow PPP dialins. See the docs in /usr/doc/ppp*
# for more information.
#noauth
passive
asyncmap 0
name "owensby"
ipcp-accept-local
ipcp-accept-remote
0.0.0.0:10.10.10.10
demand
connect "/usr/sbin/chat -v -f /etc/ppp/pppscript"

check /usr/sbin to see if pppsetup generated a ppp-go and ppp-off binary to launch your dialer, if so, go to your console, <su -> , and <ppp-go>; you should hear your modem speaker squawking away, and have your dialup online in about 50 seconds.
next: download, install, and configure the firewall (http://firestarter.sourceforge.net if you have gnome2).
apologies for the length, but i hope this gets you on your way!
luck -O.


All times are GMT -5. The time now is 09:34 PM.