SID-01797: VMWare Issue - Set Networking
| Status: |
Answered |
TWiki version: |
5.1.4 |
Perl version: |
|
| Category: |
CategoryInstallation |
Server OS: |
RedHat Linux |
Last update: |
11 years ago |
Hello,
I'm quite new to Linux, so downloaded the VMWare installation. At this step of the process -
Network configuration for DHCP: Login as root, edit /etc/sysconfig/network-scripts/ifcfg-eth0 and set its content to the following: DEVICE=eth0 ONBOOT=yes BOOTPROTO=dhcp
I get an error message of 'Permission denied'. I am logged in as root and managed to change the password ok, so I'm not sure what I'm doing wrong.
Thanks, Carly
--
Carly Dorbie - 2013-09-09
Discussion and Answer
Where do you get the permission denied message? What did you do just prior to that?
--
Peter Thoeny - 2013-09-10
I get it when I enter in /etc/sysconfig/network-scripts/ifcfg-eth0. I also tried it with the other - DEVICE=eth0 ONBOOT=yes BOOTPROTO=dhcp. It comes up just as soon as I hit enter.
I had changed the password just before that. I shut down the VM and logged in with the new password just to be sure it had worked.
--
Carly Dorbie - 2013-09-10
Sorry, I still do not understand, when do you get the error? At the time when you edit /etc/sysconfig/network-scripts/ifcfg-eth0? Or save that file? What editor do you use?
BTW, if you use DHCP you do not need to change the file.
--
Peter Thoeny - 2013-09-10
Hey Peter,
I get the same issue as Carly described above. After using the network restart function, i entered /etc/sysconfig/network-scripts/ifcfg-eth0 (as i'm trying to use the static ip setup) and it returned "permission denied"
--
Greg Cooperman - 2014-12-12
Greg: You need to edit this file, not execute. Do one of:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
emacs /etc/sysconfig/network-scripts/ifcfg-eth0
Google to learn how to use either vi or emacs.
--
Peter Thoeny - 2014-12-12
Not sure if the Nano editor is installed or not, it is a more intuitive editor for Windows users:
nano /etc/sysconfig/network-scripts/ifcfg-eth0
--
Peter Thoeny - 2014-12-12
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.