Tags:
create new tag
view all tags

SID-01797: VMWare Issue - Set Networking

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title VMWare Issue - Set Networking
SupportCategory CategoryInstallation
TWiki version 5.1.4
Server OS RedHat Linux
Web server

Perl version

Browser & version

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2014-12-12 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.