LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 07-28-2004, 12:01 AM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
[OpenBSD 3.5] PPP Dial-up connection problem


I been trying to connect to the Internet. But my ppp.conf doesn't work. "ppp -auto test2" gives an error:

"warning ppp[11941]: tun0: warning: chatscript failed
using interface: tun2
warning add route failed: 0.0.0.0/0 already exists.
last message repeated 6 times
tun1 warning chat script failed."

/etc/ppp/ppp.conf:

default:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cua01
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"

test2:
set phone 021245897
set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
set timeout 120
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
enable dns

test1:
set phone 0000000
set login
set authname Name
set authkey passwd
set timeout 120
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
enable dns

"ifconfig tuno" is:

"tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 3000"

the routing table looks like this:

Routing table [netstat]:

Internet:
Destination Gateway Flags Refs Use Mtu Interface
default 10.0.0.2 UGS 0 0 - tun1
10.0.0.2 10.0.0.1 UH 1 0 - tun1
127/8 127.0.0.1 UGRS 0 0 33224 lo0
127.0.0.1 127.0.0.1 UH 1 72 33224 lo0
224/4 127.0.0.1 URS 0 0 33224 lo0

/var/log/messages gives me:

Jul 27 08:09:39 leet ppp[16772]: tun0: Warning: Chat script failed

Any help would be much appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dial-In PPP dial-in server/ Cable-modem & LAN / Setting up "dannyboyOnline" dannyboy259 Linux - Networking 2 01-12-2007 12:40 AM
PROBLEM with Dial UP Connection matteom Linux - General 1 09-01-2004 12:05 PM
problem with ppp connection jro Linux - Networking 2 08-25-2003 09:35 AM
Problem with PPP connection! warriorspot Linux - Networking 0 01-06-2002 10:52 PM
PPP Connection problem ..please help skopy Linux - Networking 2 09-22-2001 01:56 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 01:28 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