It turns out that when I ran tunctl:

% sudo tunctl

it creates a tap0 interface owned by root. I'm running the UML
instance as martin
and I think that's why the operation was not permitted. After I ran:

% sudo tunctl -u martin

I was able to go on (I'm going through the User Mode Linux book but
the -u switch
wasn't very emphasized in the networking chapter). Looking at
/usr/share/doc/uml-utilities/ proved useful
though as it clarified that tunctl associates the interface with a
user as well as the use
of uml_net which had confused me. Thanks for pointing me.

- Martin

On Dec 27, 2007 5:05 PM, Allen Chan <[EMAIL PROTECTED]> wrote:
> On Wednesday 26 December 2007, Martin Paraskevov wrote:
> > Hi there,
> >
> > I'm new to uml and tried to set up networking but when I run the
> > command:
> >
> > [EMAIL PROTECTED] ~]# ifconfig eth0 192.168.1.253 up
> >
> > I get the following error:
> > ...
>
> If this is using the Debian uml-utilities package, try
> adding "eth0=daemon,,unix,/var/run/uml-utilities/uml_switch.ctl" to
> the command line when executing the guest kernel.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to