On Saturday 11 February 2006 00:44, stefan wrote: > hi, > > I try to set up the networking for a 2.4.27 uml kernel ( Which is old and not recommended - but that's another story ) > via tun/tap. > when I try to call ifconig eth0 on the guest I get the following message: > > ifconfig eth0 172.20.52.192 up > SIOCSIFFLAGS: Operation not permitted > > and on the console > read_output - read of data failed, err = -35 > read_output - read of data failed, err = -35 > eration not permitted > read_output - read of data failed, err = -35 > > ll /dev/net/tun returns: > crwxrwxrwx 1 root root 10, 200 2006-02-11 01:11 /dev/net/tun > > so what could cause this problem?
Even with those permissions you need that uml_net is installed, and as setuid root. At http://user-mode-linux.sourceforge.net/ -> Virtual networking there are more detailed explainations about how to avoid having a uml_net installed as setuid root, but that's for more advanced setup for security purposes. -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive http://it.messenger.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ User-mode-linux-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
