Re: FBSD 6.0 and ppp
> Hello jhall! > > Sun, Jun 11, 2006 at 07:03:35PM - you wrote: > >> OK. I added the -unit to ppplogin with no luck. >> >> ppplogin now contains >> >> #!/bin/sh >> /usr/sbin/ppp -direct -untit1 incoming >^ a typo? > And I don't have the ``incoming'' (the name of the system?) in my > config... > > -- > DoubleF > No virus detected in this message. Ehrm, wait a minute... > /kernel: pid 56921 (antivirus), uid 32000: exited on signal 9 > Oh yes, no virus:) > Still no luck. I am still not seeing tun1 opened when an incoming call is answered. Would it be possible for you to post a copy of your ppp.conf, /etc/gettytab and ppplogin? Thanks, Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FBSD 6.0 and ppp
> Hello jhall! > > Sun, Jun 11, 2006 at 03:34:14AM - you wrote: > >> > Hello jhall! >> > >> > Fri, Jun 09, 2006 at 06:07:26PM - 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 >> >> password10.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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: FBSD 6.0 and ppp
The modem is answering the call. However, it looks like the ppplogin script is not being called. No information for tun1 is showing up in the log file. Permissions on ppplogin are 650 and the owners are root:network. If I run ppplogin from the command line, tun1 information shows up in the log file, but other wise it doesn't. Have I done something wrong in /etc/gettytab? Jay > You have to use modem "AT" commands to tell FreeBSD modem to answer > in coming calls. > > I complete detailed write up on 'user ppp' for answering incoming > calls can be found in the install guide at www.a1poweruser.com. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > [EMAIL PROTECTED] > Sent: Friday, June 09, 2006 2:07 PM > To: freebsd-questions@freebsd.org > Subject: FBSD 6.0 and ppp > > > I am trying to setup a remote FreeBSD server to allow me to dial in > and > check the network in case the WAN link goes does. I accomplished > this > with 5.3, and cannot figure out what I am doing wrong on FBSD 6.0. > I am > dialing using WIndows XP to establish a PPP connection > > I am using the second method outlined in man ppp. > > I added the following line to /etc/gettytab. > :pp=/usr/local/bin/ppplogin:\ > > /etc/ttys was changed to > ttyd0 "/usr/libexec/getty std.38400" dialup on secure > > /usr/local/bin/ppplogin was created and permissions are 775. > > The following was added to /etc/ppp/ppp.conf > > incoming: >set device /dev/cuad0 >set ifaddr 10.0.0.1 10.0.0.0/24 >enable pap >enable chap >allow users > > /etc/ppp/ppp.secret > password10.0.0.95 > > 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. > > Firewall rules are in place and allow all traffic from tun1. > > Any suggestions would be greatly appreciated. > > Thanks, > > > > Jay > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: FBSD 6.0 and ppp
You have to use modem "AT" commands to tell FreeBSD modem to answer in coming calls. I complete detailed write up on 'user ppp' for answering incoming calls can be found in the install guide at www.a1poweruser.com. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Friday, June 09, 2006 2:07 PM To: freebsd-questions@freebsd.org Subject: FBSD 6.0 and ppp I am trying to setup a remote FreeBSD server to allow me to dial in and check the network in case the WAN link goes does. I accomplished this with 5.3, and cannot figure out what I am doing wrong on FBSD 6.0. I am dialing using WIndows XP to establish a PPP connection I am using the second method outlined in man ppp. I added the following line to /etc/gettytab. :pp=/usr/local/bin/ppplogin:\ /etc/ttys was changed to ttyd0 "/usr/libexec/getty std.38400" dialup on secure /usr/local/bin/ppplogin was created and permissions are 775. The following was added to /etc/ppp/ppp.conf incoming: set device /dev/cuad0 set ifaddr 10.0.0.1 10.0.0.0/24 enable pap enable chap allow users /etc/ppp/ppp.secret password10.0.0.95 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. Firewall rules are in place and allow all traffic from tun1. Any suggestions would be greatly appreciated. Thanks, Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"