hi Stefano, I was able to configure a TUN/TAP network with the prebuilt kernel that came with Debian. However, I am facing problem when I try to boot my custom kernel. I complied my image using 2.6.15.
The booting freezes at > Configuring network interfaces: I am not able to figure out why. Pls find attached the boot log and my config. Should I beenabling anything during compilation ? thanks in advance, Nithin On 2/20/06, Stefano Melchior <[EMAIL PROTECTED]> wrote: > On Thu, Feb 16, 2006 at 01:57:34PM -0500, Nithin B R wrote: > hi All, > > I am trying to bring up networking on my UML. I am using the root > > filesytem provided here: > > http://www.coherenthosting.com/prj/uml/henrique/pool_h01/fs_deb3B_2.ex2.bz2 > > > > When I boot my vmlinux, it gives out this error message: > > Configuring network interfaces: ip: Cannot find device "eth0" > > > > And we can expect, from within UML too, it shows that the device is not > > found. > > > > The FAQs do not talk about how I can add the eth0 interface. Looks > > like this is a very minor problem. Can anyone pls provide me some > > pointers. > > you need to configure the network on both host [1] and uml image [2], for > instance: > > [1] > iface tap0 inet static > address 10.0.1.99 > netmask 255.255.255.0 > network 10.0.1.0 > broadcast 10.0.1.255 > up echo 1 > /proc/sys/net/ipv4/ip_forward > up iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE > pre-up tunctl -u <your-user> > > [2] > auto eth0 > iface eth0 inet static > address 10.0.1.100 > netmask 255.255.255.0 > network 10.0.1.0 > up route add -net 0.0.0.0 dev eth0 > up route add -net 0.0.0.0 gw <your-gateway-to-internet> > > Remember that your user must belong to the uml-net group. > > Try again and feed us back, please > > Cheers > > SteX > -- > Stefano Melchior, GPG key = D52DF829 - <[EMAIL PROTECTED]> > http://etinarcadiaego.dyndns.org -- http://www.stex.name > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (GNU/Linux) > > iQCVAwUBQ/mc0olnkxrVLfgpAQJReAP+KJ6+L7ted4NA3BvIx4DjVhXAlemDWLvp > pnXS/xSopZ8QMZ3L/lvCt+uFIsyRn+cXJJnGfExeQx1davA497onESN+7iWiHl9g > 9PYTxEbSSQwVyZQaUzGt0mAPBIcJNFpguVZK6aOh69v4Ev5qOtYYsyrsSXTqqtH/ > VMhingu2HNM= > =2ttz > -----END PGP SIGNATURE----- > > > -- -- Nithin
bootlog
Description: Binary data
.config
Description: Binary data
