Am Montag, 29. Januar 2007 20:55 schrieb Torge Szczepanek:
> Hi!
>
> > something like:
> >
> > # ip link set $dev promisc on
> >
> > doesn't work? :-)
>
> As I stated: ip command doesn't support promisc mode switching
>
> As you can see here:
>
> ip link set eth0.1 promisc on
> ip: either "dev" is duplicate, or "promisc" is a garbage.
>
> Neither is
>
> ip link set dev eth0.1 promisc on
>
> working. Both versions work fine on a
>
> I wouldn't have asked this question, if it is so trivial. ;-)

The "busybox" ip command doesn't seem to know how to set a interface in 
promisc mode. Maybe it's not possible at all, because the driver must 
support "promisc-mode" as well, but you have to use the real "ip" command 
from the iproute2 suite to use the "ip link set dev <if> promisc on" command.

The original iproute2 (ip command) package is available in freewrt, but please 
be aware that even after installing the iproute2 package the busybox ip 
command will be used if you don't use the full path of the correct ip command 
everywhere.

hope this helps a bit...

--Ralph
_______________________________________________
freewrt-users mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to