XEN / Ubuntu 14.04 64bit network issues - switched to CentOS 7


Recommended Posts

Is anybody else having network issues trying to install or use Ubuntu 14.04?  I left it overnight and woke up to a "Restart" but it's missing tons of dependencies and libraries.

 

One thing I noticed is my network connection gets paused/disconnected for a while, is there any trick to get good reliable network on Ubuntu 14.04?  (i.e. changing MAC & nic MODEL under .cfg/.xml files?)

Link to comment

Are you installing from an iso or netboot or what?

 

ISO + Network Update checkbox selected.  I am having network issues while installing and after installed it pauses/disconnects my network connection randomly.  It resumes but sometimes it times out and renders any download.

 

Here is my .cfg file:

builder = 'hvm'
vcpus = '4'
memory = '1000'
device_model_version="qemu-xen-traditional"
disk = [
        'file:/mnt/cache/custom/Ubuntu14.img,hda,w',
#        'phy:/dev/vg1/winDATA,hdb,w',
        'file:/mnt/user0/Data/Install/Operating Systems/Linux/ubuntu-14.04.1-desktop-amd64.iso,hdc:cdrom,r'
]
name = 'Ubuntu14'
vif = [ 'mac=00:16:3e:31:d5:4b,bridge=br0,model=e1000' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
boot = 'dc'
acpi = '1'
apic = '1'
viridian = '1'
xen_platform_pci='1'
sdl = '0'
vnc = '1'
vnclisten = '192.168.25.2'
vncdisplay = '2'
vncpasswd = 'XXXXXXXX'
stdvga = '0'
usb = '1'
usbdevice = 'tablet'
#pci = ['01:00.0','01:00.1','00:1d.0']

 

My Windows 8 works flawlessly.  Except unsupported USB-To-Serial adapters I have, need to get a newer/modern one that will work on Windows 8 so I can do USB passthrough for my X10 CM11A controller.

Link to comment

I've been running Ubuntu 14.04 Server on Xen.  The only network issue I came across was recently I had to disable IPv6 as I otherwise couldn't connect to the Ubuntu archive during updates. This issue arose after a recent update.  My ISP hasn't activate IPv6 as of yet.

 

Hi, can you post your vif info?  I have a feeling it's my .cfg file.  My IPv6 shows disabled....well I have it set to ignore.  And I edited the sysctl in /etc to disable_ipv6 = 1 on 4 of the settings.

Link to comment
  • 2 months later...

I've been running Ubuntu 14.04 Server on Xen.  The only network issue I came across was recently I had to disable IPv6 as I otherwise couldn't connect to the Ubuntu archive during updates. This issue arose after a recent update.  My ISP hasn't activate IPv6 as of yet.

 

Please post how you resolved this ? I too am having this issue.

Link to comment
  • 2 months later...

Bump.  Anybody have a good, working vif from .cfg or .xml that would like to share?

 

I've had very good luck running vm's in the unRAID xen system so far. I had not tried Ubuntu 14.04 yet but I have installed Debian and CentOS and didn't have any issues. So I just now installed Ubuntu 14.04 server, updated it and played with it for a few hours. It seems rock solid to me--no networking issues on my install.

 

My basic .cfg for Linux has a few differences from yours--here is mine, pre-installation:

 

name = 'ubuntu1404'
builder = 'hvm'
memory = 2048
vcpus = 1
disk = ['qcow2:/mnt/cache/VMs/ubuntu1404/ubuntu1404.qcow2,hda,w' , 'file:/mnt/cache/VMs/iso_store/ubuntu-14.04-server-amd64.iso,hdc:cdrom,r']
boot = 'dc'
vif = ['mac=00:16:3e:00:00:05,bridge=br0']
vnc = 1
vnclisten = '192.168.254.198'
stdvga = '1'
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'

 

This is the config which I installed from; I comment out the cdrom iso mount after installation is complete. I think you have some items in your config which are probably only useful to run a Windows OS:

 

acpi = '1'
apic = '1'
viridian = '1'
xen_platform_pci='1'
sdl = '0'
stdvga = '0'
usb = '1'
usbdevice = 'tablet'

 

I personally include these settings for Windows VM's but not for Linux. I have two Windows server 2008R2 VM's, Asterisk (CentOS), Debian and now Ubuntu installed in my home unRAID xen system and they all run very predictably, flawlessly and fast.

 

I'm not sure about the vif setting you use of "model=e1000"---I've never used any setting there and I'm not sure what the outcome intended is. Unless you're trying some kind of hardware pass-through or something like that, you might try putting nothing there after "bridge=br0".

 

I have to say that I'm very pleased and impressed with how the xen integration is working out with unRAID. I've very grateful to those who have worked to make this happen. It fits a very real need that I was wishing for and it wasn't all that hard to figure out. It would be nice at some point to have a definitive guide put together here for how to install all the major OS's in the unRAID xen host. I had to look in several places to get all the pieces of info I needed.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.