Re: User Mode Linux = Network Problem
From: alt (spamtrap_at_gwsn.com)
Date: 10/08/03
- Next message: Lewin A.R.W. Edwards: "Re: Wireless USB Adapter"
- Previous message: Joe Dunning: "Re: Catch-22: DNS <=> Comcast registration"
- In reply to: William Fargo: "User Mode Linux = Network Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 08 Oct 2003 19:03:50 GMT
William Fargo wrote:
> Hi,
>
> I have problems to set up the network with user-mode-linux, I can't
> set up the eth0 interface under
> UML.
> The Host system is a Debian 3.0, ip adress 192.168.1.3, kernel 2.4.10
> with tun/tap, netlink device
> emulation...
> For UML, root filesystem is Debian 3.0, ip adress 192.168.1.101,
> kernel 2.4.16
>
> To configure the network, I have done :
>
> On the host :
>
> [root @host]# tunctl -u root
> Set 'tap0' persistent and owned by uid 0
>
> [root @host]# ifconfig tap0 192.168.1.3 netmask 255.255.255.0
> broadcast 192.168.1.255
>
<much snippage>
>
> Everything is good but when I want to configure my eth0 :
>
> [root @uml]# ifconfig eth0 192.168.1.101 up
>
> tuntap_open_tramp : didn't receive a message
> Exec of 'uml_net' failed - errno = 2
> tuntap_open_tramp failed - errno = 22
> SIOCSIFFLAGS: Invalid Argument
> tuntap_open_tramp : didn't receive a message
> Exec of 'uml_net' failed - errno = 2
> tuntap_open_tramp failed - errno = 22
> SIOCSIFFLAGS: Invalid Argument
>
>
> It failed, what's going wrong, what can I do ?
>
> Thank you !
I had the same problem. Check the permissions on tunctl. You may want to
make it (tunctl) SUID (possibly a security issue there). AFAIK, you need to
be root to set the tunnels up.
-- Donovan Hill
- Next message: Lewin A.R.W. Edwards: "Re: Wireless USB Adapter"
- Previous message: Joe Dunning: "Re: Catch-22: DNS <=> Comcast registration"
- In reply to: William Fargo: "User Mode Linux = Network Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|