LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-15-2005, 09:16 AM   #1
Rodolfo Medina
Member
 
Registered: Nov 2004
Posts: 61

Rep: Reputation: 15
ppp configuration


Hi.

I edited the file '/etc/ppp/peers/provider' as follows:

------------------------------------------------------------------------
# Speed
115200

# Use hardware flow control (i.e. RTS/CTS) to control the flow
# of data on the serial port.
crtscts

# Use the modem control lines.
modem

# Specifies that pppd should create a UUCP-style lock file for
# the serial device to ensure exclusive access to the device.
lock

# Disable Van Jacobson style TCP/IP header compression in both
# the transmit and the receive direction.
novj

# Disables the default behaviour when no local IP address is
# specified, which is to determine (if possible) the local IP
# address from the hostname.
noipdefault

# This option causes pppd to create such a default route when
# IPCP comes up, and delete it when the link is terminated.
defaultroute

disconnect '/usr/sbin/chat -e -f /etc/chatscripts/disconnect -v'
connect '/usr/sbin/chat -e -f /etc/chatscripts/provider -v'
/dev/usb/ttyACM0
user anything
password anything
#With this option, pppd will accept all control characters from the peer, including those marked in the receive asyncmap
receive-all
logfile "/var/log/pppd.log"

nobsdcomp
nodeflate
--------------------------------------------------------------------------

, and the file '/etc/chatscripts/provider' as follows:

------------------------------------------------------------
'' AT
TIMEOUT 240
OK 'AT+CGDCONT=1,"IP","web.omnitel.it"'
OK ATDT*99#
TIMEOUT 22
CONNECT ""
-------------------------------------------------------------

, but when I try to start the ppp connection with: '# pon', it says:

/usr/sbin/pppd: The remote system is required to authenticate itself
/usr/sbin/pppd: but I couldn't find any suitable secret (password) for it to use to do so.

. I'm newbie with Debian and ppp: what am I missing?
I found the above configuration in a howto.
Could anyone suggest a step by step solution?
I installed yesterday debian Sarge 3.1.

Thanks,
Rodolfo
 
Old 10-16-2005, 07:03 AM   #2
Angelhide
LQ Newbie
 
Registered: May 2004
Posts: 6

Rep: Reputation: 0
Hi,

I dont really how to resolve your question.
but usually we need to fill in /etc/ppp/pap-secrets or
/etc/ppp/chap-secrets

try the file pap-secrets and replace : (none) * password

with : username * password

your login to authenticate.
Hope it will help
 
Old 10-16-2005, 08:02 AM   #3
Rodolfo Medina
Member
 
Registered: Nov 2004
Posts: 61

Original Poster
Rep: Reputation: 15
Thanks.

The question seems to be solved since I put "noauth" in place of "auth"
in the file '/etc/ppp/options'.
Now I do: '# pon' and no error message is produced.
But when I launch Mozilla it doesn't manage to navigate,
it can't open web pages.

What am I missing??

I'm reporting what is written in the file '/var/log/pppd.log':

AT
OK
AT+CGDCONT=1,"IP","web.omnitel.it"
OK
ATDT*99#
CONNECT
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/usb/ttyACM0
PAP authentication succeeded
Cannot determine ethernet address for proxy ARP
local IP address 83.225.200.24
remote IP address 192.168.100.101
Terminating on signal 15
Connect time 0.5 minutes.
Sent 0 bytes, received 0 bytes.
Connection terminated.
disconnect script failed

. Please, any hint?
Rodolfo
 
Old 10-17-2005, 12:01 PM   #4
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 17 Xfce
Posts: 295

Rep: Reputation: 30
I suggest you to use wvdial, much simpler.

Here is a config file that works here in italy:

/etc/wvdial.conf
Code:
[Dialer Defaults]
Modem = /dev/ttyS0
Baud = 115200
Init1 = ATZ
Init2 = ATX3
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = 
Username = 
Password =
Ciao.
 
Old 04-08-2006, 08:28 AM   #5
Rodolfo Medina
Member
 
Registered: Nov 2004
Posts: 61

Original Poster
Rep: Reputation: 15
It seems to be solved, now: see

http://lists.debian.org/debian-user/.../msg00017.html

. Cheers,
Rodolfo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD ppp configuration - any howtos?? lazlow69 *BSD 0 11-13-2005 10:20 PM
Help with PPP configuration etcetera Linux - General 2 08-26-2004 08:55 PM
ppp configuration MichaelHall Slackware - Installation 1 02-27-2004 12:22 PM
ppp & Rock Linux Configuration TheBman Linux - Networking 0 12-12-2003 09:52 PM
text mode ppp configuration Racso Linux - Newbie 5 01-13-2002 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration