Ask Your Question

GobleSt's profile - activity

2018-04-13 01:34:16 -0600 received badge  Popular Question (source)
2018-04-13 01:34:16 -0600 received badge  Notable Question (source)
2016-12-04 15:07:14 -0600 received badge  Famous Question (source)
2016-12-04 15:07:14 -0600 received badge  Notable Question (source)
2016-12-04 15:07:14 -0600 received badge  Popular Question (source)
2015-03-03 06:34:05 -0600 marked best answer created and used /etc/rc.d/rc.local to start a vm automatically at boot. It worked great but then stopped.

Why and how to I fix?

I tried removing the file and recreating but it does not start my VM.... I don't even know what information to supply. F20 with Xen 4.33. I made no changes to the system prior to it stopped working.

2015-03-02 05:08:15 -0600 commented answer created and used /etc/rc.d/rc.local to start a vm automatically at boot. It worked great but then stopped.

I explained in answering my own question. Not sure how to mark this as answered...

2015-03-01 10:09:40 -0600 received badge  Commentator
2015-03-01 10:09:40 -0600 commented answer created and used /etc/rc.d/rc.local to start a vm automatically at boot. It worked great but then stopped.

No I mean it works because the issue I was having with the network is resolved that way. I just deleted the extra stuff that I had in there that was starting my VM (which stopped working). I was having two issues. The network thing and I wanted to start the VM at boot. I put both in that file and it was working. The network piece kept working but the VM piece stopped. VM piece is fixed with my answer to the question.

2015-03-01 10:07:44 -0600 answered a question created and used /etc/rc.d/rc.local to start a vm automatically at boot. It worked great but then stopped.

I was able to make this work by creating /etc/default/xendomains file as it was missing, with this data:

XENDOMAINS_SAVE=

XENDOMAINS_RESTORE=false

XENDOMAINS_AUTO=/etc/xen/auto

Then copied my /etc/xen/win7.sxp file to /etc/xen/auto

Reboot and viola!

2015-03-01 10:04:22 -0600 commented answer created and used /etc/rc.d/rc.local to start a vm automatically at boot. It worked great but then stopped.

virsh --connect xen:///; help did not help me. Thanks though.

2015-02-28 04:18:16 -0600 marked best answer For whatever reason, I need to run "systemctl restart network" after I login in order for everything to run smoothly. What do I need to do to automate this?

I have a XEN bridge and for my networking and VM network to work correctly I need to do this. I do not want to troubleshoot the issue just automate the running of the command.

2015-02-28 04:17:11 -0600 received badge  Nice Question (source)
2015-02-27 17:02:10 -0600 commented answer created and used /etc/rc.d/rc.local to start a vm automatically at boot. It worked great but then stopped.

It DOES work because the network issue is fixed from this question: https://ask.fedoraproject.org/en/question/62262/for-whatever-reason-i-need-to-run-systemctl-restart-network-after-i-login-in-order-for-everything-to-run-smoothly-what-do-i-need-to-do-to-automate/ but the VM portion of it does not. The file is executable.

/usr/lib/systemd/system/rc-local.service does exist.

2015-02-27 17:01:47 -0600 answered a question created and used /etc/rc.d/rc.local to start a vm automatically at boot. It worked great but then stopped.

It DOES work because the network issue is fixed from this question: https://ask.fedoraproject.org/en/question/62262/for-whatever-reason-i-need-to-run-systemctl-restart-network-after-i-login-in-order-for-everything-to-run-smoothly-what-do-i-need-to-do-to-automate/ but the VM portion of it does not. The file is executable.

/usr/lib/systemd/system/rc-local.service does exist.

2015-01-24 11:43:15 -0600 received badge  Scholar (source)
2015-01-22 08:33:39 -0600 commented question For whatever reason, I need to run "systemctl restart network" after I login in order for everything to run smoothly. What do I need to do to automate this?

work around is fine with me. I have other things to work on. :-)

2015-01-22 08:31:18 -0600 commented answer For whatever reason, I need to run "systemctl restart network" after I login in order for everything to run smoothly. What do I need to do to automate this?

Looks like that did the trick. Much better than spending any more hours troubleshooting. Thanks!

2015-01-22 08:30:30 -0600 received badge  Supporter (source)
2015-01-22 08:23:21 -0600 commented answer For whatever reason, I need to run "systemctl restart network" after I login in order for everything to run smoothly. What do I need to do to automate this?

Thanks for that. Will try now. Just FYI, when entering "systemctl enable rc-local.service" the response is: The unit files have no [Install] section....

2015-01-22 04:08:19 -0600 received badge  Student (source)
2014-11-24 06:18:31 -0600 answered a question Created a Xen bridge on F20 and networking will not start on boot...

The issue appears to be fixed by allowing network manager to handle it...

/etc/sysconfig/network-scripts/ifcfg-em1:

TYPE="Ethernet"
BOOTPROTO="none"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
NAME="em1"
UUID="5dfe2212-e3e4-485a-8290-6f6ab094080d"
ONBOOT="yes"
HWADDR="A0:D3:C1:05:20:A0"
PEERDNS="yes"
PEERROUTES="yes"
BRIDGE="xenbr0"
NM_CONTROLLED="yes"
DELAY="0"

/etc/sysconfig/network-scripts/ifcfg-xenbr0:

DEVICE="xenbr0"
TYPE="Bridge"
BOOTPROTO="none"
IPADDR="192.168.0.10"
NETMASK="255.255.0.0"
GATEWAY="192.168.0.1"
DNS1="192.168.0.1"
ONBOOT="yes"
NM_CONTROLLED="yes"
BRIDGE_STP="on

"

2014-11-17 14:41:01 -0600 answered a question How I can boot windows 8 again?

Try inserting the Windows install boot-able CD and then when it states "hit any key to boot from CD..." don't.

2014-11-13 06:10:27 -0600 commented question Created a Xen bridge on F20 and networking will not start on boot...

I added them hoping to fix because I noticed them in my other file. They make no difference. I will try removing from both but do not expect a change.

2014-11-13 06:08:33 -0600 answered a question ISO DVD does not load

CanYou try USB?

2014-11-06 05:44:48 -0600 commented question Created a Xen bridge on F20 and networking will not start on boot...

doh! I just tried "static" did not even catch the syntax error....!!! ...but alas, I tried again and still no go. Here is my CURRENT /etc/sysconfig/network-scripts/ifcfg-xenbr0:

DEVICE="xenbr0"
TYPE="Bridge"
BOOTPROTO=static
IPADDR0=192.168.0.10
PREFIX0=16
GATEWAY0=192.168.0.1
DNS1=192.168.0.1
ONBOOT=yes
DELAY=0
NM_CONTROLLED=no
BRIDGE_STP=on
2014-11-04 14:00:43 -0600 answered a question cant update fedora 20

Make sure you have a connection to the Internet.

More information is needed to assist.

2014-11-04 13:50:13 -0600 commented question Created a Xen bridge on F20 and networking will not start on boot...

I do believe that was one of the things I attempted but will try again......just tried...does not fix the issue.

2014-11-03 14:33:22 -0600 asked a question Created a Xen bridge on F20 and networking will not start on boot...

After troubleshooting I found that I need to run the following commands manually to start networking:

  • sudo ifup em1
  • sudo ifup xenbr0
  • sudo route add default gw 192.168.0.1

I want to have these run on boot so that I do not have to run them manually. How do I create a script for this?

/etc/sysconfig/network-scripts/ifcfg-em1:

TYPE="Ethernet"
BOOTPROTO=none
DEVICE="em1"
ONBOOT="yes"
HWADDR=A0:D3:C1:05:20:A0
BRIDGE=xenbr0
DELAY=0
NM_CONTROLLED=no

/etc/sysconfig/network-scripts/ifcfg-xenbr0:

DEVICE=xenbr0
TYPE=Bridge
BOOTPRO=none
IPADDR0=192.168.0.10
PREFIX0=16
GATEWAY0=192.168.0.1
DNS1=192.168.0.1
ONBOOT=yes
DELAY=0
NM_CONTROLLED=no
BRIDGE_STP=on

uname -a

Linux Sandbox 3.16.6-203.fc20.x86_64 #1 SMP Sat Oct 25 12:44:32 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
2014-10-17 04:49:57 -0600 commented question Bridged networking not working in KVM on F19

I have this happen in F20. I set the bridge to static and the issue went away.