This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
synthetic ethernet
- From: Simon Kallweit <simon dot kallweit at intefo dot ch>
- To: eCos Disuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 28 Nov 2008 16:11:10 +0100
- Subject: [ECOS] synthetic ethernet
Hi
Has anyone used the synthetic ethernet driver recently? I'm a bit stuck
with the rawether utility, which does not seem to work when invoked as a
user. I've seen that the Makefile used to install the eth synth host
stuff does try to change the rawether user to root and set the suid
flag. But even using suid I still get the same permission error everytime:
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?
Simon
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss