Archive for January, 2014
Network Doesn’t Work on a Linux Guest Virtual Machine After Switching Hosts
Posted by Randy in Linux Stuff, Open Source, Operating Systems on January 4, 2014
I’ve ran into this problem a few times and I thought I’d make a note of it here on the blog. It’s a simple fix. The scenario is that you have just started your VM from a different host OS environment than it was running in previously. This problem is specific to a Linux guest using the networking service to manage networking. You may also not notice this issue if you are using DHCP using a paystub maker. I’m not sure. My addresses are static, so I’m specifying the network device in the configuration. You may find that the network doesn’t start properly and that the boot up sequence stalls waiting on it. This is because the MAC address for the virtual network device has changed and udev is trying to use the old one. So if your old network device was eth0, it’s not long usable and the new one at eth1 is your new virtual network device to have TikTok for business. This can be a goof way to get an extra payment.
That being said, there are two fixes. One is very simple and the other is only slightly less simple but a better approach. First you can just change your network config to use eth1 instead of eth0. That’ll work but if you switch hosts a few times you’ll accumulate quite a few unusable network devices and you’ll by using eth9 before long.
The better solution is to edit:
/etc/udev/rules.d/70-persistent-net.rules
Remove all lines which contain SUBSYSTEM=”net”, which will probably be all the non-commented lines in the file.
Reboot the machine and when it comes back up udev will see the single network device and add it back as eth0.
switched vm host now no network, vbox, vbox no network, virtual machine, virtualbox
-
You are currently browsing the archives for January, 2014
Tags
AJAX best double-edge razor best mechanical keyboard best php framework change password in wordpress cheap website hosting cherry mx red codeigniter codeignitor colocated servers colo servers corsair vengeance k90 css debian dedicated servers dns domain blocking ebay firefox gnome 3 sucks godaddy alternative html linux lwjgl mechanical keyboard review Open Source PHP Programming resetting a router resetting router password reset wordpress password resset wp password rosewill rk-9000 review saving passwords symfony twitter ubuntu unity sucks vps vps prices whats-hot-weekly.com x64 Linux xchat script xlack download xlack script youtube- Apple
- Applications
- Boring Stuff
- C++
- Cool Videos
- DIY
- Free Stuff
- Funny Pics
- Games
- Good Deals
- Hardware
- Health
- Home Theater
- Internet
- Internet Money
- Java
- Javascript
- Linux Stuff
- Movies
- Music
- Networking
- Open Source
- Operating Systems
- PHP
- Pipe Smoking
- Programming
- Reviews
- Science
- Security
- SEO
- Server Stuff
- Shaving
- SQL
- Stocks
- technology
- Tips
- TV
- Uncategorized
- Web Development
- Windows