[ECOS] synthetic ethernet

Sergei Gavrikov sergei.gavrikov@gmail.com
Fri Nov 28 16:18:00 GMT 2008


On Fri, Nov 28, 2008 at 04:47:19PM +0100, Simon Kallweit wrote:
> Sergei Gavrikov wrote:
>> Simon Kallweit wrote:
>>   
>>> 0Failed to initialize /dev/net/tun, errno Operation not permitted (1)
>>>
>>> Running rawether using sudo, it actually seems to work. Now I don't   
>>> quite see where the difference between the suid and sudo method is?!? 
>>>  But I guess I miss the obvious here ...
>>>
>>> Any advice?
>>>     
>>
>> Try tunctl. man tunctl.
>>   
>
> Thanks, got it working. Might be worth to add a little note in the ecos  
> documentation.

I would prefer to exclude setuid setup at all from install rules. I
install tools with prefix --prefix=${HOME}/ecos/tools, and I hate to
type sudo make install; sudo chown -R ...

Sergei

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list