Date: Wed, 17 May 2006 19:07:21 -0400 From: "Michael P. Soulier" <msoulier@digitaltorque.ca> To: freebsd-questions@freebsd.org Subject: pppoe reliability Message-ID: <fb6605670605171607v3d643617g8a2ee918078db944@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, I'm trying FreeBSD as a PPPoE client for my ADSL connection. Setup was great, but I'm finding that when I lose a connection (troubles with my isp), the ppp command does not return like I would like it to. [root@kanga ~]# ppp -foreground -nat storm Working in foreground mode Using interface: tun0 tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 tun0: ID0: 0x282eed00 =3D fopen("/etc/ppp/ppp.conf", "r") tun0: Debug: ReadSystem: Checking storm (/etc/ppp/ppp.conf). tun0: Command: storm: nat enable yes tun0: Command: storm: set device PPPOE:fxp0 tun0: Command: storm: set authname msoulier@storm.ca tun0: Command: storm: set authkey ******** tun0: Command: storm: set dial tun0: Command: storm: set login tun0: Command: storm: add default HISADDR tun0: ID0: 9 =3D socket(17, 3, 0) tun0: ID0: -1 =3D write(9, data, 140) tun0: TCP/IP: rt_Set failure: tun0: TCP/IP: rt_Set: Cmd =3D Add tun0: TCP/IP: rt_Set: Dst =3D 0.0.0.0/0 tun0: TCP/IP: rt_Set: Gateway =3D 10.0.0.2 tun0: Debug: wrote -1: cmd =3D Add, dst =3D 0.0.0.0/0, gateway =3D 10.0.0.2 I just found the connection down because my modem lost sync, and the client didn't return. I was hoping that it would return so that I could script the client such that it would always retry, via supervise or runit. Any ideas? Thanks, Mike --=20 Michael P. Soulier <msoulier@digitaltorque.ca> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fb6605670605171607v3d643617g8a2ee918078db944>