On 11/30/2011 02:54 AM, ning ji wrote:
> 
> Hi everyone,
> I'm new to UML, having issues bring up DHCP for my uml.
> step 1:./kernel2.6.39  ubda=./debian50.rfs  mem=128M  
> eth0=tuntap,,,10.50.183.254
Have you tried using a specific tap device here? Like:
(...) eth0=tuntap,tap1,fe:f0:00:00:00:01,10.50.183.254

> so as you see,kernel: Linux (none) 2.6.39.4 #2 Thu Sep 1 11:25:36 EDT 2011 
> i686 GNU/Linuxrootfs: Debian-5.0-x86-root_fs
> step 2:After it boots,(none):/etc/init.d# /etc/init.d/networking restart
> Configuring network interfaces...Internet Systems Consortium DHCP Client 
> V3.1.1Copyright 2004-2008 Internet Systems Consortium.All rights reserved.For 
> info, please visit http://www.isc.org/sw/dhcp/
> [    3.660000] helper_wait : waitpid process 13629 failed, errno = 10[    
> 3.660000] * modprobe tun[    3.660000] * ifconfig tap0 10.50.183.254 netmask 
> 255.255.255.255 up[    3.660000] * bash -c echo 1 > 
> /proc/sys/net/ipv4/ip_forwardListening on LPF/eth0/ba:b4:8c:0a:56:95Sending 
> on   LPF/eth0/ba:b4:8c:0a:56:95Sending on   Socket/fallbackDHCPDISCOVER on 
> eth0 to 255.255.255.255 port 67 interval 3DHCPDISCOVER on eth0 to 
> 255.255.255.255 port 67 interval 7DHCPDISCOVER on eth0 to 255.255.255.255 
> port 67 interval 8
I find it impossible to read you emails as the formatting is just terrible.

> step 3:On the other hand, if i type these 2 commands,ifconfig eth0 
> 10.50.181.135 netmask 255.255.252.0 up
> route add default gw 10.50.183.254 eth0
> static ip will be up for eht0, i can do ping etc.
You aren't posting all the commands that you ran, like (re)starting the
dhcp daemon, etc.

> step 4:Note for the /etc/dhcp3/dhclient.conf, i didn't change anything from 
> the original debian_5.0 rootfs.As i compared with the one from my ubuntu 
> desktop, they look almost the same. Certainly my ubuntu works.(I'm using 
> debian rootfs as none of the ubuntu rootfs i downloaded works.)
Since you are referring to the Ubuntu filesystems that I made (from a
separate email), let me correct this statement slightly: these
filesystems work just fine, but not with UML, as stated on their
individual download page (IIRC Lucid is the last Ubuntu release that
booted ok with UML)

> Having been struggling this for 1 week, any help appreciated !
Have you tried following these instructions:
http://uml.devloop.org.uk/howto.html

Cheers
Antoine

> 
>                                         
> 
> 
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure 
> contains a definitive record of customers, application performance, 
> security threats, fraudulent activity, and more. Splunk takes this 
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> 
> 
> 
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
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