Posted on 2013-09-07
Medium Priority
Last Modified: 2013-09-07
Why ipaddress not found here

root@server1 ~]# /sbin/ifconfig
lo        Link encap:Local Loopback  
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3723 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3723 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5749156 (5.4 MiB)  TX bytes:5749156 (5.4 MiB)

[root@server1 ~]#

[root@newmac ~]# /sbin/ifconfig
lo        Link encap:Local Loopback  
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3374 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3374 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5263632 (5.0 MiB)  TX bytes:5263632 (5.0 MiB)

[root@newmac ~]#
Question by:jcob_l
LVL 36

Expert Comment

by:Seth Simmons
ID: 39473803
are the interfaces active?
what linux distribution?
if rhel/centos, what happens when you run system-config-network and select device configuration?  is there an adapter listed?
LVL 31

Accepted Solution

farzanj earned 2000 total points
ID: 39473841
As mentioned above, it is very much distribution specific.

In RHEL/CentOS, you have IP address files in

/etc/sysconfig/network-scripts/  directory.  The scripts are called ifcfg-eth0, etc.
You don't appear to have those scripts.
If it is Debian/Ubuntu, you can set it up using this:
LVL 40

Expert Comment

ID: 39473899
what is your os platform? what do you get when you run

ifconfig -a

Did you configure your network while installing the os?

Author Closing Comment

ID: 39473945
fine now

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This installment of Make It Better gives Media Temple customers the latest news, plugins, and tutorials to make their Grid shared hosting experience that much smoother.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question