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


Closed Thread
  Search this Thread
Old 09-26-2004, 05:25 PM   #1
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Rep: Reputation: 15
How do I find my own IP address?


This is actually a couple questions first how do i go about finding my own IP address and second where do I find log files that montior whats happens over my internet connection. In windows I could use ipconfig /all or jsut check my firewall logs for this kind of information and I am assuming linux has something to this extent.
 
Old 09-26-2004, 05:28 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Open a console type in either:
ifconfig
or
su
ifconfig


And, of course, man ifconfig will give you all sorts of options.
 
Old 09-26-2004, 05:32 PM   #3
Biased turkey
Member
 
Registered: Jan 2002
Location: Canada
Distribution: redhat7.2
Posts: 169

Rep: Reputation: 30
as root, type "ifconfig"
the line that says inet addr:
is your IP adress
 
Old 09-26-2004, 06:12 PM   #4
Tap-Out
Member
 
Registered: Oct 2002
Location: Halifax, NS
Distribution: Ubuntu, Mepis, Debian
Posts: 130

Rep: Reputation: 15
Quote:
Originally posted by Biased turkey
as root, type "ifconfig"
the line that says inet addr:
is your IP adress
You don't have to be root to run the ifconfig command. The difference is when you're logged in as root all you have to do is type in ifconfig whereis if you're a normal user you have to put the full path into the command line (ie you have to type /sbin/ifconfig).
 
Old 09-26-2004, 08:26 PM   #5
Paxmaster
Member
 
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Rep: Reputation: 30
Bcast is my ISP address
 
Old 09-26-2004, 09:25 PM   #6
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
Bcast is the broadcast address of the local LAN behind your router. If you want to know your public IP address just go to http://whatismyip.com
 
Old 09-26-2004, 09:43 PM   #7
Paxmaster
Member
 
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Rep: Reputation: 30
Thanks
 
Old 09-26-2004, 09:51 PM   #8
Ausar
Member
 
Registered: Jun 2004
Location: Mays Landing, NJ
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171

Rep: Reputation: 30
You can also go to google and type in my ip and a bunch of sites will be on the results page. Your ip address might show up right on the results page too.
 
Old 09-27-2004, 01:13 AM   #9
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 209

Rep: Reputation: 30
www.ipchicken.com
 
Old 09-27-2004, 01:59 AM   #10
e4e5f4
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Rep: Reputation: 0
google 'your ip'

i've had better success googling "your ip" insteady of "my ip"
usually the first result is your ip address showing without even clicking the link...

just figured i'd add my 2 cents
(i'm a total linux noob so i have to throw in my small bit of knowledge where i can instead of where it's needed)

--b
 
Old 09-27-2004, 10:53 AM   #11
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
Well that answers the question for my own ip address but what about traffic logs for all internet activity such as the ip's of sites i visit or when i transfer files via aim or ftp or whatever?
 
Old 09-27-2004, 12:07 PM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,362

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
If logging is turned on, it's probably in the file:
/var/log/messages
although that's for RH, may be different for you.
 
  


Closed Thread


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
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
How to find IP address of a machine if I know their MAC Address dysenteryduke Linux - Networking 13 09-12-2005 10:21 AM
How to find MAC address of a specified IP address ? longtongfish Programming 1 07-12-2005 03:26 PM
way to find the address suguname Mandriva 3 01-27-2005 12:42 AM
How do I find my IP address?? Rosmo Linux - Networking 7 10-29-2004 03:55 PM


All times are GMT -5. The time now is 04:32 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