One Method: PPP

Patrick Newberry PNewberry at habitat.org
Tue Aug 29 12:44:20 UTC 2006


Trying to get modem to connect:
Back ground: Modem worked fine with Ubuntu for two weeks, then started
dropping line as soon as it connects.
I can get Modem to work with Windows 98 machine. 
Modem is us robotics v92 external / serial
It using info below, it dials, handshakes then disconnects. (obviously,
I've changed id and password)

I did have one question is the parm remotename in the options is wrong
as I assume it should the the name of the isp which is www.pstel.net I
tired removing that parm but it did not seem to have any effect. 


 
started pppconfig
Here is my setting via pppconfig
<Properties of pstel1>
Number 99990000
ISPLogin orgin:Login
User     dontyouwish
ISPPrompt  ssword:
Password  sorry:
Speed     115200
Com       /dev/ttys0
Method    chat

</Properties>

<advanced Setting>
Modeminit ATZ
ISPCONNECT ''
pre-login 
Defaultroute  defaultroute
Ipdefault noIpdfault
Debug enabled
Demand disabled
Persist disabled
Nameservers dynamic
Add-User
Post-Login "" \d\c

</advanced>




<attempt to run>
 
goshawk at gypsyfarm:~$ pon pstel1
goshawk at gypsyfarm:~$ plog
Aug 28 20:53:19 gypsyfarm chat[4956]: ATZ^M^M
Aug 28 20:53:19 gypsyfarm chat[4956]: OK
Aug 28 20:53:19 gypsyfarm chat[4956]:  -- got it
Aug 28 20:53:19 gypsyfarm chat[4956]: send (ATDT8629000^M)
Aug 28 20:53:19 gypsyfarm chat[4956]: expect (CONNECT)
Aug 28 20:53:19 gypsyfarm chat[4956]: ^M
Aug 28 20:54:04 gypsyfarm chat[4956]: alarm
Aug 28 20:54:04 gypsyfarm chat[4956]: Failed
Aug 28 20:54:04 gypsyfarm pppd[4952]: Connect script failed
Aug 28 20:54:05 gypsyfarm pppd[4952]: Exit.
goshawk at gypsyfarm:~$





<options file for pstel1>
# This optionfile was generated by pppconfig 2.3.10. 
# 
#
hide-password 
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/pstel1"
debug
/dev/ttyS0
115200
defaultroute
noipdefault 
user "dontyouwish"
remotename pstel1
ipparam pstel1


usepeerdns

</options>


<Chat File for pstel1>
 This chatfile was generated by pppconfig 2.3.10.
# Please do not delete any of the comments.  Pppconfig needs them.
# 
# ispauth chat
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO
DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ
# ispnumber
OK-AT-OK "ATDT9999000"
# ispconnect
CONNECT ''
# prelogin

# ispname
ogin:Login: "dontyouwish"
# isppassword
ssword: "sorry"
# postlogin
'' \d\c
# end of pppconfig stuff

</chat>



<chap_secrets file>
# Secrets for authentication using CHAP
# client	server	secret			IP addresses


"dontyouwish" * "sorry"


</chap_secrets>

<pap_secrets file>
#
# /etc/ppp/pap-secrets
#
# This is a pap-secrets file to be used with the AUTO_PPP function of
# mgetty. mgetty-0.99 is preconfigured to startup pppd with the login
option
# which will cause pppd to consult /etc/passwd (and /etc/shadow in turn)
# after a user has passed this file. Don't be disturbed therefore by the
fact
# that this file defines logins with any password for users. /etc/passwd
# (again, /etc/shadow, too) will catch passwd mismatches.
#
# This file should block ALL users that should not be able to do
AUTO_PPP.
# AUTO_PPP bypasses the usual login program so it's necessary to list
all
# system userids with regular passwords here.
#
# ATTENTION: The definitions here can allow users to login without a
# password if you don't use the login option of pppd! The mgetty Debian
# package already provides this option; make sure you don't change that.

# INBOUND connections

# Every regular user can use PPP and has to use passwords from
/etc/passwd
*	hostname	""	*

# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
# other accounts that should not be able to use pppd!
root	hostname	"*"	-
guest	hostname	"*"	-
master	hostname	"*"	-
support	hostname	"*"	-
stats	hostname	"*"	-

# OUTBOUND connections

# Here you should add your userid password to connect to your providers
via
# PAP. The * means that the password is to be used for ANY host you
connect
# to. Thus you do not have to worry about the foreign machine name. Just
# replace password with your password.
# If you have different providers with different passwords then you
better
# remove the following line.

#	*	password


"dontyouwish" * "sorry"


</pap_secrets>




More information about the ubuntu-users mailing list