Date: Sun, 11 Jun 2006 19:41:42 -0000 (GMT) From: jhall@vandaliamo.net To: freebsd-questions@freebsd.org Subject: Re: FBSD 6.0 and ppp Message-ID: <3694.12.170.206.13.1150054902.squirrel@admintool.trueband.net>
next in thread | raw e-mail | index | archive | help
> Hello jhall! > > Sun, Jun 11, 2006 at 03:34:14AM -0000 you wrote: > >> > Hello jhall! >> > >> > Fri, Jun 09, 2006 at 06:07:26PM -0000 you wrote: >> > >> >> incoming: >> >> set device /dev/cuad0 >> >> set ifaddr 10.0.0.1 10.0.0.0/24 >> > ^ >> > Experience shows that the slightly-braindead Windows client needs a ``trigger address'' to negotiate successfully. Here's what I use (my >> net >> > is 192.168.0.x and I insist on him to be 192.168.0.3, but first I show 0.0.0.0): >> > >> > set ifaddr 192.168.0.1 192.168.0.3 255.255.255.255 0.0.0.0 >> > ^^^^^^^ >> >> /etc/ppp/ppp.secret >> >> xxxx<TAB>password<TAB>10.0.0.95 >> > ^^^^^^^^^ >> > The man page doesn't say you really have to supply an address. Try omitting it to see what happens... >> > >> >> When the connection is initially dialed, I see tun1 opened (tun0 is a DSL >> >> connection) and the PID displayed. However, the Windows system hangs with >> >> Verifying Password and will eventually report error 721. >> > >> > If all else fails, the output of ppp with `set log Phase Physical >> Debug >> > IPCP LCP' could be somewhat helpful in debugging. >> > >> >> Firewall rules are in place and allow all traffic from tun1. >> > >> > Doesn't matter, as the IP layer isn't started yet. >> > >> > HTH, >> > >> OK. If I implement the dial-in strategy on a system which does not have any tun devices in use, it works fine. When I try to implement it on a system which already has a tun device in use (e.g. for DSL), the dial in connection fails. > > I run my dial-in on the device which happens to be tun1. I use mgetty and use the following command in my configuration: > > /usr/sbin/ppp -unit 1 -direct > > I missed what you have in your /usr/local/bin/ppplogin, but I think it should look similar. > > -- > DoubleF > OK. I added the -unit to ppplogin with no luck. ppplogin now contains #!/bin/sh /usr/sbin/ppp -direct -untit1 incoming When I dial in, I am not seeing the connection even logged in /var/log/ppp.log. It looks like ppp is not opening the connection. I copied the files to another FBSD server, which does not have an active ppp connection and I am able to dial in fine. As soon as I bring up the PPP connection for the DSL, I am not able to dial in. Any ideas what I have missed? Should I be looking at multi-link ppp? Thanks, Jay
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3694.12.170.206.13.1150054902.squirrel>