2

I have just installed ubuntu server edition in order to create a home network. But I am not able to find IP of the machine through ifconfig (showing only localhost). Then I tried

 lspci | grep -i ethernet

output:

09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 13)

lshw -C Network

Then output was *-network DISABLED

2

The command to list ip address associated with an interface was ifconfig,

To activate an interface, use ifconfig XXX up, otherwise it would shown as DISABLED

| improve this answer | |
  • ifconfig has been replaced with ip – LondonRob Jan 19 '19 at 17:01
  • @LondonRob Nope, it's just not installed by default on CentOS – daisy Jan 20 '19 at 1:36
  • Sorry! Should've added my citation. I was quoting from this answer. – LondonRob Jan 20 '19 at 19:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.