Ubuntu Servers :: KVM On 9.10 Host And Guest - Internet Disconnects For Some Seconds
Feb 25, 2010
I run KVM on 9.10 host and guest 9.10. Both are x64. When I halt the guest os:
My host OS looses its connection with internet for 10-15 seconds and then it comes back on. Probably something goes wrong with default gateway, as it looses only external network (I still can reach it on my internal network). I've googled a lot, but cant find anything about that. I use bridged network.
I have set up my guest OS in VirtualBox so that it has a static ip and is using a bridged adapter. As a result, I can see the webserver that's hosted in guest from my host OS's web browser. However, for some reason my current setup does not allow my guest to reach the internet. What settings do I need to enable both?
I have RHEL 5 installed on VMware 6.0 and the host OS is Windows 7. My Host is connected to internet using a wireless connection and works on shared IP. Earlier when I had Windows vista as host I have managed to get the internet connection on the RHEL but do not remember how I managed it. Now I need help in setting the internet connection on RHEL. I have set up a NAT connection. But of no use.
Not sure if this post belongs here, but here it is.
Host: Win server 2003 Guest: Ubuntu server
Host: IS able to ping guest. Firewall is OFF. NOT able to access guest (which is a web-server) at browser. Guest: NOT able to ping host. Running a web server, you can check the website: (pegajosa.com) is running under that virtual Linux server.
Problem: guest needs to access host's sql database and/or any resources.
WinXP Host Ubuntu 10.04 is the guest Mysql is installed in ubuntu and it works fine in the guest (ubuntu) Internet works fine in the host and the guest. Bridged Network.
Now, here is the thing... i want to access mysql from my host to load some data into it.
I couldn't find a clear answer to this, but is the linux-image-virtual package for host machines that will contain VMs, or a VM-oriented kernel for guest OS (ubuntu)? I have some guest VMs running on Microsoft's Hyper-V, and was looking for some further optimizations.
Basically upon logging network manager will connect to my network, and most of the time it will only last 20 seconds or so before it disconnects and tries to reconnects, this tends to go on for quite a while. Logging off and logging on over and over worked once, for this post I opened pages between the 15 seconds that i was connected and after 20 minutes it has remained connected (every time it stays connected for longer than 5 minutes it will never disconnect again) I followed the HOWTO thread so forgive me if most of this information is useless
1 ) Machine Brand and Model (Laptop): Asus 52jr is the model number
2 ) Wireless Brand, Model and Wireless Chipset:
03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)is what I found from running lspci
3 ) check interface:
Code:
wlan0 Link encap:Ethernet HWaddr 1c:4b:d6:5c:61:8b inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::1e4b:d6ff:fe5c:618b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
I have a Lenovo W510 Laptop with Ubuntu 10.04. The laptop has an on board Qualcomm 3g modem. I have managed to install the Qualcomm firmware and Network Manager detects the 3g device but when I try to connect it disconnects after a few seconds. My syslog has the error
I'm currently on F11, and experienced problems with Network Manager. Whenever I to connect to a network, wired or wireless, it just seems to try to connect, and then after 2-3 seconds, it just reports "Disconnected"..
Then I switched to network, and both wired and wireless works. so I don't think there is any driver or hardware issue...
Does anyone have any idea of this problem? The network manager have worked on the live CD version ( before installed to HD).
I have servera.domain.internal which has port 80 forwarded to the web as example.com. I have serverb.domain.internal which I want to forward on port 80 as subdomain.example.com. How to Show Apache server behind an apache server? How do I setup the virtual host on the internet exposed server? This is ubuntu 8.04
I'm trying to install the Guest Additions for a VM running a guest Lucid Lynx Server. The problem I'm encountering is this: The vboxadd-install.log for vbox says it "couldn't find the sources of your current Linux kernel" and to "Specify KERN_DIR=<directory> and run Make again."
I recently bought a IOgear USB bluetooth adapter and a Sony DRBT101/BLK bluetooth headphones to use with my computer.Whenever I try to make a call using these headphones with skype, I can speak for say 10 seconds and then the headset disconnects completely from the system. I then have to reconnect the headset by switching it off and on. I do not have this problem listening to music using A2DP. It works fine with my mobile phone.When I change the profile to Telephony Duplex (HSP/HFP), it shows up as hands free, I thought it should be headset in blueman manager. My friend uses Plantronics headset with is Dell laptop with built in bluetooth and he says his comes up as headset not hands free. Could this be causing the problem?
Is it possible to read the host cpu's temperature from a virtual guest?
(1) Where host = ubuntu desktop and guest = ubuntu server, and
(2) Where host = windows xp and guest = ubuntu server?
Typically I would read the contents of /proc/acpi/thermal_zone/THRM/temperature on host ubuntu desktop. I guess its more tricky when running ubuntu on windows host. What I am trying to do is shutdown guest if host cpu temperature is greater than certain value.
I am using virtualbox 3.2.4 (virtualbox host only network (NAT)) on Windows XP Host and an ubuntu 10.04 guest. Recently installed vsFTPd on ubuntu guest and I am able to FTP from ubuntu to localhost. But when I try from the windows host I got an unknown connect error. I try with anonymous users enabled too.
I'm working in php / mssql project and I'm working on php side. I try VirtualBox to access to mssql from linux. I'm using VirtualBox 3.2.8(Downloaded from VirtualBox website) Hosted On Ubuntu 10.04, and my Guest OS is Windows 7. I followed some tutorials on how to connect from host to guest, but all failed... how to connect from ubuntu (host) to windows 7 (guest)
i am running Ubuntu on my VMWare Workstation. i cant get it work the built in file sharing that comes with VMWare Workstation(by instaling the VMWare tools). but i want to share files between my XP(host) and Ubuntu. i googled this but came up with no good results.
I'm running Ubuntu 10.10 desktop in a VirtualBox VM on a Windows 2008 host machine. The end goal is join the the Ubuntu VM to a Windows 2008 domain. I've downloaded likewilikewise-open_5.4.0.42111-2ubuntu1.2_i386.deb se-open_5.4.0.42111-2ubuntu1.2_i386.deb to get the joining of the VM to the domain. But from this point forward, I'm completely lost.
1) How do I implement this likewise package? 2) How do I get files from my Windows 2008 host to the Ubuntu guest VM?
The likewise file is burned to a DVD. When I try to read the DVD, I get the "My Disk" icon but only one file gets displayed. In other words, the DVD the likewise file is burned to has a ton of files. Ubuntu doesn't see any of them expect one .exe file. The /etc/fstab had no entry for cdrom, so I put a line in that says
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0 rebooted and that didn't do squat. There is no entry /etc/cdrom but there is directory /etc/My Disc. And I suppose that's what gets mounted because I can see one file on that disc. So then I thought, to hell with the DVD drive and I'll just get the Linux guest to see a "shared drive" on the host. I shared out a folder on the host via the Virtualbox "shared folders". But how I get the Ubuntu guest to see this shared folder is as big a mystery to me as is the creation of life.
I have a host with 4 VMs on it. How do I move them to another host? The first host is dying and I want to move the VMs to another host. I tried to copy the files under /vms from one host to another and then copy the files under /etc/libvirt/qemu to the other host. I then ran "virsh" and it does not see them.
My Windows guests see my VMware Host Only folders as \.hostShared Folders. But when I try to see them from a Linux guest, all I get is frustrated. No permutation of that seems to work. Because the Windows guests see the shared folders I know the host is doing its part in providing them. After two days of not finding an answer on the VMware Workstation forum I finally figured out that the problem really is how to look for them with Linux. With Linux I can turn off all NICs accept the Host Only NIC, put smb://172.16.138.1 into the address bar and see all the shares on the host, but not the folder designated as the host only folder. How to look for the shares with Linux?
I have installed Red Hat Eterprise Linux as a Guest OS using VirtualBox on the Host OS Windows XP SP 2 on my PC. I want to access my local / intranet web site from this Guest OS which is running on the top of on Windows XP, the Host OS. I am not sure as to what IP Settings I need to do. Though I am able to access Internet from both the OSes. The IP of this Guest OS is:
I have installed Microsoft Self Loop Adapter (Autoconfiguration IP Address: 169.254.25.129) on the Host OS Windows XP. There is another adapter: VirtualBox Host-Only Network whose IP Address is: 192.168.56.1. So, how can we access intranet web site from the Host OS to Guest OS and vice versa. I also want to access this virtual Red Hat machine /console from within windows XP using PUTTY application. From Windows XP the Red Hat machine is pinging. But when I use the IP to access the machine through PUTTY it doesn't work.
i have installed virtualbox on centos , and installed xp as a guest os. my LAN is on 10.200.2.x/24 network inorder to avoid conflict i have given centos ip as 10.200.2.191/24 and a virtual ip 192.168.56.4/24 my gateway is 10.200.2.1 i am able to ping from my guest os to host os the ip address but not the gateway inorder for internet connectivity
I don't want to use image file as disk, but would like to allocate a disk for guest os. say it's /sda6, then do I need install guest os on host os? or can I install while the system is booting and only import a guest os from that? Do I have to mount the disk?
I have been using ubuntu server and desktop on virtual box for a while now. I have come to enjoy it more than being in Windows. I would like to install it natively. I am wondering. is there any way I can take my virtual machine and apply what I have done there to a new ubuntu install?
I have a ntfs hard disk, will ubuntu resize that for me at install?
Any good apps for backing up all my my firefox data and then applying that to my firefox in ubuntu?
I need to keep windows for some stuff for work, and for some games I like.
how to connect OS "ubuntu 9:10" as the host, with Qemu as a guest.?I can not connect from the host to geust, how to connect??I use Samba to connect the host to the guest.I was able to ping from guest to host, but from host to guest can not ping .. why?
I just upgraded to the newest VirtualBox, version3.2.4.r62467 and installed Ubuntu 10.4/64 guest on an Ubuntu 9.10/64 host. I installed the guest additions and set 3 shared drives. I can see them in the "machine folders" names, paths and access modes in the "shared folders" dialog. But, when I try to write to them, I always get Permission Denied!
I mounted it as root: mount -t vboxsf tera /vb/tera It shows up in mtab: root@ubu-10:/vb# grep tera /etc/mtab tera /vb/tera vboxsf rw 0
I can see the listing: root@ubu-10:/vb# ls /vb/tera bak Recycled <snip>
But, the permissions are wrong and can not be corrected. Chmod and chown are ignored?! root@ubu-10:/vb# ll /vb | grep tera drwxr-xr-x 1 root root 12288 2010-05-04 09:42 tera/ root@ubu-10:/vb# chown brianp /vb/tera root@ubu-10:/vb# chmod 775 /vb/tera root@ubu-10:/vb# ll /vb | grep tera drwxr-xr-x 1 root root 12288 2010-05-04 09:42 tera/
I am running as root: root@ubu-10:/vb# whoami root The VB shared folders dialog, machine folders shows /tera with access Full. /etc/mtab confirms that it is rw
I own it on the host: brianp@trex:~$ ll / | grep tera drwxr-xr-x. 16 brianp root 12K 2010-05-04 09:42 tera Why can't I write to it?
My Windows guests see my VMware Host Only folders as \.hostShared Folders But when I try to see them from a Linux guest, all I get is frustrated. No permutation of that seems to work. Because the Windows guests see the shared folders I know the host is doing its part in providing them. After two days of not finding an answer on the VMware Workstation forum I finally figured out that the problem really is how to look for them with Linux. With Linux I can turn off all NICs accept the Host Only NIC, put smb://172.16.138.1 into the address bar and see all the shares on the host, but not the folder designated as the host only folder.
I have VirtualBox v3.1.0 r55467 running on f12 2.6.31.6-162.fc12.i686. The guest is Windows XP SP3. I need to enable bridged mode for the virtual network interface on the guest. Everytime I enable bridge mode the following error occurs.
Quote:
Failed to start the virtual machine Windows XP. Failed to open/create the internal network 'HostInterfaceNetworking-wlan0' (VERR_SUPDRV_COMPONENT_NOT_FOUND). One of the kernel modules was not successfully loaded. Make sure that no kernel modules from an older version of VirtualBox exist. Then try to recompile and reload the kernel modules by executing '/etc/init.d/vboxdrv setup' as root (VERR_SUPDRV_COMPONENT_NOT_FOUND). When I run '/etc/init.d/vboxdrv setup' i get the following compilation error:
Quote:
Stopping VirtualBox kernel module [ OK ] Removing old VirtualBox netadp kernel module [ OK ] Removing old VirtualBox netflt kernel module [ OK ]
[code]....
dmesg gives me nothing. I have scoured the web .. and even asked on #vbox and #fedora cant get.
I have tried a few times already the following procedures: start a new installation (each time, I create a new VBox VM) with the Fedora 12 DVD iso attached to the DVD drive of the VM. I select the default setting, like US english, US keyboard, local time (GMT +8), standard installation ... etc). The installation process had been smooth to the screen the system asking for a reboot after installing something like 1100+ packages. Then I click the reboot button offered. The VM restarted but each and every time, it came up with the following error message:
Booting from local disk... FATAL: INT18: BOOT FAILURE
There was no other error message durint the installation process. It would be very much appreciated if some one can tell me what went wrong and how to solve it. I believe even I try again the same way, it will end up with same result. Is it a software or hardware problem? In case software problem, is it Fedora or VirtualBox?