LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-25-2016, 12:41 PM   #1
Changedirectory
LQ Newbie
 
Registered: Mar 2016
Posts: 5

Rep: Reputation: Disabled
when i type in ifconfig it doesn`t show me my IP address


when i type in ifconfig this happens:

root@Luke:~# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether f0:de:f1:2c:8d:99 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf2600000-f2620000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Lokale Schleife)
RX packets 9266 bytes 747268 (729.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9266 bytes 747268 (729.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.116 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::224:d7ff:fe73:a7fc prefixlen 64 scopeid 0x20<link>
ether 00:24:d7:73:a7:fc txqueuelen 1000 (Ethernet)
RX packets 144144 bytes 165015609 (157.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 90167 bytes 12051383 (11.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

root@Luke:~#
 
Old 03-25-2016, 01:09 PM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Ubuntu MATE, Mint MATE & antiX MX-15
Posts: 1,664
Blog Entries: 5

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
Changedirectory,

Welcome to LQ.

Your internal IP address is:

inet 192.168.2.116

To find your external ip address visit:

http://www.ip-details.com/
 
1 members found this post helpful.
Old 03-25-2016, 01:10 PM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,087
Blog Entries: 10

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
I believe you are misreading that information:
Quote:
Originally Posted by Changedirectory View Post
when i type in ifconfig this happens:
Code:
eth0: doesn't have an address

lo: this is the loopback interface, irrelevant

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.116  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::224:d7ff:fe73:a7fc  prefixlen 64  scopeid 0x20<link>
        ether 00:24:d7:73:a7:fc  txqueuelen 1000  (Ethernet)
        RX packets 144144  bytes 165015609 (157.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 90167  bytes 12051383 (11.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
1 members found this post helpful.
Old 03-25-2016, 01:38 PM   #4
Changedirectory
LQ Newbie
 
Registered: Mar 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
thanks for helping but by my friends the ip address is in eth0
 
Old 03-25-2016, 01:46 PM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,087
Blog Entries: 10

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Quote:
Originally Posted by Changedirectory View Post
thanks for helping but by my friends the ip address is in eth0
That interface is not connected and has no address. See the no packet counts?
 
1 members found this post helpful.
Old 03-25-2016, 01:57 PM   #6
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,307
Blog Entries: 2

Rep: Reputation: Disabled
The 'eth' in 'eth0' stands for "ethernet".
Take a look at your laptop.
Is there an ethernet cable attached?

The wlan in 'wlan0' stands for "wireless lan"...
That's what you're using, right?
 
1 members found this post helpful.
Old 03-26-2016, 05:13 AM   #7
Changedirectory
LQ Newbie
 
Registered: Mar 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Aahh ok thanks
 
  


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
ifconfig -a doesn't show a wireless lancard. corone Linux - Wireless Networking 1 08-07-2012 02:02 AM
ifconfig doesn't show virtual adapters Zafer Elbi Linux - Networking 2 05-16-2012 01:49 PM
Marvell 88E8038 doesn't show up in ifconfig if acpi is enabled Lord Estraven *BSD 3 11-06-2008 10:42 PM
eth0 doesn't show in Debian with ifconfig after dual boot with Mandrake9.2 steve1401 Linux - Networking 3 01-18-2004 06:21 PM
ifconfig doesn't show any eth devices rech Slackware 6 10-18-2003 08:04 AM


All times are GMT -5. The time now is 10:05 AM.

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