Here's something that I've come across a few times; you create a new Linux VM (either in a player like VirtualBox or VM Player or on an ESX host), and its not connecting to the network. For most people, the first things that are check are the router/firewall to make sure it was assigned to the appropriate groups for access, maybe turn off IPTables, check the resolv.conf file and even the hosts file.
Well... what about checking to make sure that networking comes on in the first place. I've noticed that with some distributions of Linux that networking in general is off, on boot, by default (fun times). It's an easy enough fix, but annoying just the same. Here's how it's fixed.
From the command prompt enter the following:
Well... what about checking to make sure that networking comes on in the first place. I've noticed that with some distributions of Linux that networking in general is off, on boot, by default (fun times). It's an easy enough fix, but annoying just the same. Here's how it's fixed.
From the command prompt enter the following:
sudo vi /etc/ sysconfig/network-scripts/ifcfg-eth0In that fun little file, you should see a value like this:
ONBOOT=offChange that 'off' value to 'on' (no quotes), save the file and restart the system. From then on, your system should have it's networking on.
Comments
Post a Comment