[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    [uml-user] stranger network problem
From:       "Jack" <jiangpeirong () qingdao ! gov ! cn>
Date:       2005-04-29 1:40:39
Message-ID: 20050429012640.BE32C23FC2 () mx1 ! qingdao ! cn
[Download RAW message or body]

hi ,Blaisorblade
    sorry to  send this mail stright to you . a few days ago ,i  send a mail to the \
list ,but  nobody helped me so far, and i hope you can help me . belew is the issue

     my host kernel is 2.6.10 so the guest kernel it is. and they works fine except \
the network.

     my guest system seems like after some time like an hour or a few more ,it's \
network shutdown, can't access it from the internet. but after ssh to the host ,and \
in the host send a ping packet to the  guest system , the guest system network works \
again. can you tell me the possible reasons , thank you very much.

and below is my network 
     i use the tun,tap mode ,and the server runs birdge .

     i start them with rc.locl:
below is my rc.local file:

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

####################################start bridge
echo 1 >/proc/sys/net/ipv4/ip_forward
echo 1 >/proc/sys/net/ipv4/config/all/proxy_arp
brctl addbr mybr
ifconfig mybr 211.222.222.222 netmask 255.255.255.0 up
brctl stp mybr off
brctl sethello mybr 1
brctl setfd mybr 1
ifconfig eth0 0.0.0.0 promisc up
brctl addif mybr eth0
route add default gw 211.222.222.1
####################################end

#####################################adduser test
tunctl -u test -t testeth0
ifconfig testeth0 0.0.0.0 promisc up
brctl addif mybr testeth0
screen -m -d -S test linux mem=256M ubd0=/home/test/root_fs.cow ubd1=/home/test/swap \
ubd2=/home/test/storage.test eth0=tuntap,testeth0 umid=test

##########################################end

#####################################adduser test2
tunctl -u test2 -t test2eth0
ifconfig test2eth0 0.0.0.0 promisc up
brctl addif mybr test2eth0
screen -m -d -S test2 linux mem=512M ubd0=/home/test2/root_fs.cow \
ubd1=/home/test2/swap ubd2=/home/test2/storage.koobi eth0=tuntap,test2eth0 umid=test2 \
#####################################end  

======= 2005-04-30 04:58:34 您在来信中写道:=======

> On Wednesday 27 April 2005 04:21, Jack wrote:
> > hi ,all .
> > 
> > 
> > i have a problem. i want to  start uml read-only ,but can't
> Circumvent the problem with a COW file, that way the ubd backing file won't be 
> modified, and you can throw away the COW file at will.
> > it 
> > reports :
> > 
> > Checking root filesystem
> > Disk write-protected; use the -n option to do a read-only
> > check of the device.
> > [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/ubd/0
> > fsck.ext3: Read-only file system while trying to open /dev/ubd/0
> > [FAILED]
> > 
> > *** An error occurred during the file system check.
> > *** Dropping you to a shell; the system will reboot
> > *** when you leave the shell.
> > Give root password for maintenance
> > (or type Control-D to continue):
> > 
> > 
> > any advice?
> -- 
> Paolo Giarrusso, aka Blaisorblade
> Skype user "PaoloGiarrusso"
> Linux registered user n. 292729
> http://www.user-mode-linux.org/~blaisorblade
> 
> 
> 
> 
> Powered by MessageSoft SMG 

= = = = = = = = = = = = = = = = = = = =
			

         
礼!
 
				 
        Jack
        jiangpeirong@qingdao.gov.cn
          2005-04-29

骬甸殜X'矈辵M閑禾ê(~^介hФ橺炏觠G瓎+,夯奚┹z{^0妚矧y够hJ嫬q醜濍O栯/燠M9枈$^i支u(*觑{ \
!z翻⑺Z岫0螟漴s(涽 \
嬾鉄.猖'譔a齂╱镥妠炳甪)鄸+-R谦㳠{鵥烄呵X响㈥躽+侊鐉豰稕鵥槽矉玵玷濍+-躇b藏忣标殗^⺋Щ



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic