Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2002 22:45:50 +0200
From:      Martin Schweizer <pcservi@spectraweb.ch>
To:        freebsd-questions@freebsd.org
Subject:   Config PopTop under FreeBSD 4.6
Message-ID:  <20020902204550.GA1407@bluewin.ch>

next in thread | raw e-mail | index | archive | help
Hello 

I installed PopTop 1.1.2 under FreeBSD 4.6. I read the hole stuff on poptop.org, 
sourceforg, google'd a lot read the hole mailing list archive but with no 
success. What I'm doing wrong?

There is allways the same error:
Sep  1 18:18:52 saturn ppp[274]: Phase: Using interface: tun0 
Sep  1 18:18:52 saturn ppp[274]: Phase: deflink: Created in closed state 
Sep  1 18:18:52 saturn ppp[274]: Warning: Bad label in /etc/ppp/ppp.conf (line 35) - missing colon 
                                 ^^^^^ I know but I have no idea how to handle
Sep  1 18:18:52 saturn ppp[274]: Phase: PPP Started (direct mode). 
Sep  1 18:18:52 saturn ppp[274]: Phase: bundle: Establish 
Sep  1 18:18:52 saturn ppp[274]: Phase: deflink: closed -> opening 
Sep  1 18:18:52 saturn ppp[274]: Phase: deflink: Connected! 
Sep  1 18:18:52 saturn ppp[274]: Phase: deflink: opening -> carrier 
Sep  1 18:18:52 saturn ppp[274]: Phase: deflink: carrier -> lcp 
Sep  1 18:18:52 saturn ppp[274]: Phase: deflink: lcp -> open 
Sep  1 18:18:52 saturn ppp[274]: Phase: bundle: Network 
Sep  1 18:18:52 saturn ppp[274]: Phase: deflink: read (0): Got zero bytes 
Sep  1 18:18:52 saturn ppp[274]: Phase: deflink: open -> lcp 
Sep  1 18:18:52 saturn ppp[274]: Phase: bundle: Terminate 
Sep  1 18:18:52 saturn ppp[274]: Phase: deflink: Disconnected! 
Sep  1 18:18:52 saturn ppp[274]: Phase: deflink: Connect time: 0 secs: 537 octets in, 389 octets out 
Sep  1 18:18:52 saturn ppp[274]: Phase: deflink: : 13 packets in, 12 packets out 
Sep  1 18:18:52 saturn ppp[274]: Phase:  total 926 bytes/sec, peak 0 bytes/sec on Sun Sep  1 18:18:52 2002 
Sep  1 18:18:52 saturn ppp[274]: Phase: deflink: lcp -> closed 
Sep  1 18:18:52 saturn ppp[274]: Phase: bundle: Dead 
Sep  1 18:18:52 saturn ppp[274]: Phase: PPP Terminated (normal). 

- I know I need ppp but under which circumtance?
- Do I need an entry pptp in ppp.conf?
- I read about more commands in options. Where are they describe?
- Are options and ppp.conf equivalent?

My configuration is as following:
Server (FreeBSD): 192.168.1.1
Client (Win95 and Win2k, tested both): 192.168.1.14

*** rc.conf
linux_enable="YES"
moused_enable="YES"
usbd_enable="YES"
isdn_enable="NO"
isdn_fsdev="NO"
lpd_enable="YES"
ppp_enable="YES"
gateway_enable="YES"
defaultrouter="192.168.2.3"
firewall_enable="YES"
firewall_script="/etc/rc.firewall"
hostname="saturn.spectraweb.ch"
keymap=swissgerman.iso.acc.kbd
font8x16=iso-8x16.fnt
ifconfig_xl0="inet 192.168.1.1 netmask 255.255.255.0"
ifconfig_xl1="inet 192.168.2.2 netmask 255.255.255.0"
natd_enable="YES"
natd_interface="xl1"
natd_flags="-f /etc/natd.conf"
******

**** ppp.conf
default:
sunrise:
 # Jeder der sich einloggt kann ppp benuetzen
 allow user *
 # Beide ISDN-Kanaele werden initialisiert
 set device /dev/i4brbch0 /dev/i4brbch1
 # auto. Geschwindigkeitsabgleich
 set speed sync
 set phone 0555550055
 set login
 set authname "pcservi"
 set authkey rffklu
 set timeout 30
 # Bekommt autom. eine IP vomo Provider zugewiesen
 set ifaddr 1.1.1.1/0 2.2.2.2/0
 # Loescht alle IP-Routen
 delete all
 add 0 0 HISADDR
 enable dns

pptp:
enable chap
enable proxy
*******


**** pptp.conf
speed 115200
option /etc/options
debug
localip 192.168.1.1
remoteip 192.168.1.2-255

**** options
debug
name 192.168.1.1
auth
require-chap
proxyarp
*****

**** chap-secrets
martin		192.168.1.1	martin		*
****
-- 

Regards

Martin Schweizer
<info@pc-service.ch>

PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020902204550.GA1407>