[Click] cable check
Eddie Kohler
kohler at cs.ucla.edu
Thu Feb 28 14:50:13 EST 2008
Hi Pieter,
I've just added UP_CALL and DOWN_CALL handlers to the Click linuxmodule device
elements, such as FromDevice and PollDevice and ToDevice. With these handlers
plus Script it should be able to do something like what you want.
Eddie
pieter wuytens wrote:
> Hello,
>
> is there a way to check if the cable is present in an eth0 if i plug out the cable then click should detect this and switch to an other interface eth1. how should i do this? i tried it with a ping and when the ping loses packages then switch but this is really slow. so i hope there is a way to do this faster in click
>
> thx in advance
> _________________________________________________________________
> Bekijk Yes-R's real life soap op MSN Video!
> http://video.msn.com/video.aspx?mkt=nl-nl&tab=m1192527562294&vid=8aff5b76-b78d-4b55-8b64-ef7e1d73aab2&playlist=videoByUuids:uuids:50b732c2-c105-41e9-adf0-36bd627d4eaa,0813da8c-031b-423f-a79d-35d925aee805,5cce447e-948d-43af-9862-45bb6bb9d6d8,6a39138c-f562-4254-be70-9d93343650f8,f9b8d78f-05a4-4c74-8e4b-28d20a4037ab&from=NLNL_Yes-R
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list