[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no tap0 device available while `tun' module loaded.



On Tue, 22 Feb 2005 14:48:40 -0700, Scott Edwards <supadupa@gmail.com> wrote:
> While attempting to install debian within a uml setup, I've
> encountered problems with networking.  I've narrowed the problem down
> to a missing tap0 interface on the host (the uml is fine).  The tun
> module is loaded (according to lsmod).  This kernel supports the tun
> device (CONFIG_TUN=m).

You need to also create the TUN device, e.g.

# tunctl -u david -t uml-david0

...creates a sort-of virtual crossover cable, not yet connected to
anything. I think you can treat 'uml-david0' here as an interface and
give it an IP, then you need to attach the UML to the tun/tap thing
when you start it up.

funnily enough I'm setting up UMLs now too, but I'm using bridging as
well as TUNs. I got the above line from the site
http://uml.openconsultancy.com/ which is helpful. I find
http://www.huckstep.uklinux.net/mle/uml-woody.html one of the most
succinct and mostly accurate guides on creating a user-mode-linux root
partition, if you need help with that.

-- 
Jon Dowland
http://jon.dowland.name/



Reply to: