This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: synthetic ethernet


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]