Re: PPP tunnel problem!

2005-09-16 Thread Lowell Gilbert
Felix Chang [EMAIL PROTECTED] writes:

 Hi,
 
I am using the FreeBSD to become the NAS so that
 can provide PPPoE and PPP services to the clients
 which is worked with the Radius. I have successfully
 started the PPP and PPPoE services and connected to
 the internet with the authentication of the Radius.
 However, I face one serious problem. During the time
 the client was connecting to the internet, if the
 client unplugs the cable or shut down their PC without
 disconnection, the tunnel created was still remain in
 the NAS. This make the client cannot connect to the
 internet anymore as I set the radius not to allow any
 duplicated login. 
 
May I know is that anyway for the FreeBSD to kill
 the tunnel automatically when the client unplugs the
 cable or shutdown the PC without disconnection. I had
 tried the set timeout in the ppp.conf but I don't
 think this is the right solution.

Why isn't it the right solution?  The physical interface is still up,
so I don't see any other way to detect that the client has gone away.  

Well, maybe you could set up RADIUS to kill the first session when
(successfully) authenticating the second.  But that would likely be
tricky to set up...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PPP tunnel problem!

2005-09-15 Thread Felix Chang
Hi,

   I am using the FreeBSD to become the NAS so that
can provide PPPoE and PPP services to the clients
which is worked with the Radius. I have successfully
started the PPP and PPPoE services and connected to
the internet with the authentication of the Radius.
However, I face one serious problem. During the time
the client was connecting to the internet, if the
client unplugs the cable or shut down their PC without
disconnection, the tunnel created was still remain in
the NAS. This make the client cannot connect to the
internet anymore as I set the radius not to allow any
duplicated login. 

   May I know is that anyway for the FreeBSD to kill
the tunnel automatically when the client unplugs the
cable or shutdown the PC without disconnection. I had
tried the set timeout in the ppp.conf but I don't
think this is the right solution. Please kindly reply.
Thanks!

Regards
Felix



___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]