From: Net L. <net...@li...> - 2003-07-29 22:01:28
|
On Tue, 29 Jul 2003, Brian T Glenn wrote: > On Tue, Jul 29, 2003 at 04:30:06PM -0400, Alan Murrell wrote: > | From: Alan Murrell <si...@ya...> > | To: Use...@li... > | Subject: [uml-user] Failed to open /dev/net/tun, errno = 19 > | Date: Tue, 29 Jul 2003 16:30:06 -0400 (EDT) > | > | Hello, > | > | I have a slight networking problem. Netowrking does > | not come up on the guestOS. When I run > | '/etc/init.d/network retart', I get the following > | output: > | > | ----- > | [root@heineken sysconfig]# /etc/init.d/network restart > | Shutting down loopback interface: [ OK ] > | Setting network parameters: [ OK ] > | Bringing up loopback interface: [ OK ] > | Bringing up interface eth0: Failed to open > | /dev/net/tun, errno = 19 > | Failed to open /dev/net/tun, errno = 19 > | Failed to open /dev/net/tun, errno = 19 > | Failed to open /dev/net/tun, errno = 19 > | Failed to open /dev/net/tun, errno = 19 > | [FAILED] > | ----- > | > | Permissions on /dev/net/tun are: > | > | ----- > | crw-rw---- 1 root uml 10, 200 Jul 29 > | 08:30 /dev/net/tun > | ----- > | > | (I have also tried '0666', and I have also made sure > | that the user the guestOS is starting up as, > | 'heineken', is a member of the 'uml' group). > > These are the permissions on the HostOS right? > > Does /dev/net/tun exist inside the UML instance (i.e. GuestOS)? > > On my Debian sarge UML, using devfs, i have the following: > > glenn:~# ls -l /dev/net > total 0 > crw-r----- 1 root root 10, 200 Dec 31 1969 tun > > If it isn't there, either you need to mknod it, or if you are using > devfs, chances are you forgot tun/tap support inside the UML kernel. or the host kernel lacks tun support, or just doesn't have the tun module loadedf. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lonni J Friedman net...@li... Linux Step-by-step & TyGeMo http://netllama.ipfox.com |