Simon P Hawkins wrote:
>Hi All,
>
>I've sent mail regarding this before, but after some testing I've discovered
>this, but here is what I've discovered.
>
>I have a speedtouch USB (frog looking) usb adsl modem connected to my BSD box.
>It's using the speedtouch 1.2 driver (which runs modem_run to upload the
>firmware and start the modem) and BSD's ppp to initiate the connection. This
>starts up on boot.
>
> The annoying thing is that if the connection drops you have to reboot the
>box. If you try and restart ppp manually, you get this in /var/log/ppp.log
>
> tun0: IPCP: deflink: Error: Unexpected IPCP in phase Authenticate (ignored)
>then after:
> tun0: Warning: ff02::%tun0/32: Change route failed: errno: Undefined error:
>0.
>
> I've googled to no avail. Many people seem to have this issue. Some say to
>disable ipv6 support in ppp.conf - done, but didn't fix it. Some say disable
>INET6 from the kernel config - done, didn't work. Others say the IPCP error
>is because there's a challenge but no response when it tries to authenticate.
>Why would that occur only if you DON'T reboot? The stupid thing is that you
>get these errors, but for some reason tun0 gets given an ipaddress, but you
>cannot ping anything by name or ip. This kinda points to routing.... but that
>authenticate error is probably the key.
>
>
Hi,
As I remember, this is just a default route problem. You have to force
ppp to set the default route to the new one.
Modifiy the line :
add default HISADDR
to
add! default HISADDR
Extract from `man ppp':
The string `HISADDR' represents the IP address of the connected
peer. If
the ``add'' command fails due to an existing route, you can
overwrite the
existing route using:
PPP ON awfulhak> add! default HISADDR
I guess you can also cleanup the routing table in the ppp.linkdown, this
should work aswell.
Regards,
--
Francois Rogler
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]