LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-21-2006, 01:28 PM   #1
erpe
Member
 
Registered: Sep 2005
Distribution: OpenSuse 10.2
Posts: 114

Rep: Reputation: 15
How to find my ip adress?


I have my laptop and desktop pc connected to a router. In order to run NFS I need to know it's ip adress. I used ifconfig to do this, unfortunatly this gives a wrong ip adress for my /etc/exports file. I could find the right adress in /var/log syslog. How do I find the correct ip adress in Debian?
 
Old 10-21-2006, 01:55 PM   #2
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Rep: Reputation: 32
you want to find the routers internal IP?
it is the same as your gateway IP
 
Old 10-21-2006, 02:16 PM   #3
The Seeker 11
Member
 
Registered: Apr 2004
Location: Buxton, UK
Distribution: Slackware
Posts: 48

Rep: Reputation: 18
IP Chicken
 
Old 10-21-2006, 02:19 PM   #4
erpe
Member
 
Registered: Sep 2005
Distribution: OpenSuse 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ZaphyR
you want to find the routers internal IP?
it is the same as your gateway IP
I would like to find the ip of the laptop (for NFS) which differs from my pc ip. I thought I find it with ifconfig but this gives me the wrong ip

P.S. nice distro choice . Mine is exact the same.
 
Old 10-21-2006, 04:24 PM   #5
erpe
Member
 
Registered: Sep 2005
Distribution: OpenSuse 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
I found the command:
Code:
ip addr
This reveals two inet adresses and of these is correct. How can it be that there are two inet displayed?
 
  


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
Using 2 computers with 1 Ip adress dasy2k1 Linux - Networking 3 12-01-2005 03:16 PM
View IP-adress pernestor Linux - Networking 2 09-29-2004 08:16 AM
Is it possible to find an IP address from a MAC-adress? TheSpork Linux - Networking 1 06-30-2004 02:48 AM
Reporting IP adress eclapton1 Programming 1 06-27-2004 11:34 PM
Mac and ip adress kater0000 Linux - Networking 15 04-05-2004 06:04 PM


All times are GMT -5. The time now is 10:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration