LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2018, 03:38 AM   #1
karthikreddy432
LQ Newbie
 
Registered: Aug 2018
Posts: 5

Rep: Reputation: Disabled
After Centos-minimal installation facing issues accessing internet


Recently installed centos-minimal(7.4.1708)

After installation to check the networks i used:

nmcli d

DEVICE TYPE STATE CONNECTION

ens33 ethernet unavailable -----

lo loopback unmanaged -----

I used

nmtui

to edit ens33 and

set Ipv4 and ipv6 to automatic

and selected automatically connect option as well

systemctl restart network

showed this:

job for network.service failed because the control process exited with error code look systemctl status network.service and journalctl -xe

o/p of systemctl status network.service

network.service-LSB bring up/down networking
Loaded: (/etc/rc.d/init.d/network; bad; vendor preset :disabled)

Active:failed (result: exitcode)

Process:Execstart=/etc/rc.d/init.d/network start (code=exited,status 1/failure)

localhost.localdomain systemd[1] :Failed to start LSB bring up/down networking

contents of my

/etc../ifcfg-ens33

looked ok to me

type=ethernet

bootproto=dhcp

onboot=yes

ipv4-failure-fatal=no

ipv6-failure-fatal=no

ipv6-init=yes

ipv6-autoconf=yes

Iam a newbie please help me out i tried everything what i found couldnt figure it out
 
Old 08-09-2018, 04:19 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 2,995

Rep: Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555
First, you need to use CODE tags when posting command output.

How is your network configured (eg. DHCP or static) ?

Where is the output from the "journalctl -xe" command ?
(you need to find the relevant lines in that output for the string "network")
 
1 members found this post helpful.
Old 08-09-2018, 06:03 AM   #3
karthikreddy432
LQ Newbie
 
Registered: Aug 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
jsbjsb001 thanks for your response and suggestion on using code tags

Iam running this centos in vmware
using DHCP
I changed the Network type from NAT to BRIDGE connection in vm settings
Now iam able to ping
 
Old 08-09-2018, 06:05 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 2,995

Rep: Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555
What does the following command return?

Code:
ping google.com
 
Old 08-09-2018, 06:16 AM   #5
karthikreddy432
LQ Newbie
 
Registered: Aug 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
now iam able to send and recieve data packets with out any loss

and now iam able to update my packages with yum
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After Centos-minimal installation facing issues accessing internet karthikreddy432 Linux - Newbie 3 08-10-2018 07:18 AM
[SOLVED] Need to connect centos 6.6 minimal VM to internet novicunix Linux - Networking 15 05-03-2015 11:26 AM
Installing and Running Gnome desktop on Minimal installation of CentOS 6.5 i386 OtagoHarbour Red Hat 5 04-03-2014 05:31 AM
facing ns2 installation issues in ubuntu 11.04 umair ahmed Linux - Newbie 4 03-07-2012 11:22 AM
[SOLVED] How can I create raid 1 - Centos 5.7 64 minimal installation Adil Boyun Linux - Server 5 11-20-2011 06:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration