[Click] cable check
pieter wuytens
pieter_wuytens at hotmail.com
Tue Mar 4 06:05:01 EST 2008
Hi Eddie,
first off all thank you for writing the handlers.
but i have still a question.
how could i do the following. if from eth1 the cable is unplugged then the switch should switch.
change::Switch(0)
FromDevice(eth0)->Queue->change->ToDevice(eth1);
change[1]->ToDevice(eth2);
how can i use your handlers?
and also if i plug out the cable the /proc/click/FromDevice/Active keeps saying true is that correct
ik realy hope you can help me
thx a lot
----------------------------------------
> Date: Thu, 28 Feb 2008 11:50:13 -0800
> From: kohler at cs.ucla.edu
> To: pieter_wuytens at hotmail.com
> CC: click at amsterdam.lcs.mit.edu
> Subject: Re: [Click] cable check
>
> 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
_________________________________________________________________
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
More information about the click
mailing list