Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 1996 11:21:44 +1538425 (MET)
From:      Jason Diesel <>
Subject:   PPP Server ???
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Hello Questions

I run a small internet site, with 6 machines running FreeBSD 2.0.5, and a leased line to my internet provider, etc. I have a modem connected to my main server, so that my companies, sales-guys, can dial into us and get onto the internet when they are visiting customers and so on. This modem, is really causing trouble, which maybe you can help and shed some light on for me.

Firsty, what I have done so far:

I have an mgetty running on the modem, meaning that you can dial in perfectly from the outside, you login with a name, and the telnet session works perfectly. But I need the modem to run PPP (or SLIP, but I chose PPP as it is newer and ...)So I created a special user, that has a logon script to run ppp like this:
/usr/sbin/ppp -direct
Once the user has logged on, packet mode is enabled, so you then fire up netscape or something like that. But it cannot find any names on the internet.
Here is a brief listing on how my setup is:
Nameserver: -
PPP user: -
I have compiled the tunnel device into my kernel, and my /etc/sysconfig files like this: 
ifconfig_tun0="inet netmask"
Once connected, I perform a:
netstat -ain:
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>02.60.8c.a7.72.e8        90168   142    74086     0   642
ed0   1500       90168   142    74086     0   642
lp0*  1500  <Link>                             0     0        0     0     0
lo0   16384 <Link>                          2415     0     2415     0     0
lo0   16384 127           2415     0     2415     0     0
sl0*  552   <Link>                             0     0        0     0     0
tun0  1500  <Link>                          8621     0     6959     0     0
tun0  1500  194.77.19        8621     0     6959     0     0

Then a netstat -nr:
Routing tables

Destination      Gateway            Flags     Refs     Use     Netif Expire
default       UGSc        5      107       ed0          UH          0       51       lo0     link#1             UC          0        0     2:60:8c:a1:d8:d7   UHLW        7    41168       ed0    267     2:60:8c:a7:72:e8   UHLW        1     2364       lo0     8:0:20:74:48:70    UHLW        1      158       ed0    958       UH          1      117      tun0
224              link#1             UCS         0        0 

But something is not right, the routing seems wrong as there is no true link between systems. Now the question is, what should the routing be and how should it be done?
crtscts                         # Hardware flow control
netmask         # netmask ( not required )  	# ip's of local and remote hosts
                                # local ip must be different from one
                                # you assigned to the ethernet ( or other )
                                # interface on your machine.
                                # remote IP is ip address that will be 
                                # assigned to the remote machine
domain      # your domain
passive                         # wait for LCP
cuaa1                           # modem line

 delete ALL
 add 0 0 HISADDR

So what else can I do to get the system running? I have looked around the internet, and not found too much documentation on PPP server stuff. My internet provider, as well as others I think, are all using netblazers, so this is not applicable.

Do you have any ideas that could help, it would be very much appreciated

			Jason Diesel
[]	 		Dataware Technologies GmbH
[] 			BarthStr. 24 			80339 Munich Germany 		Tel:+49-89-540-924-72

Want to link to this message? Use this URL: <>