LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-14-2006, 09:28 AM   #1
slack66
Member
 
Registered: Jul 2003
Location: manila
Distribution: slackware 8 to 9
Posts: 199

Rep: Reputation: 30
knowing remote ip address


i have a remote pc connected thru internet and dynamiclly
changing ip adress is there a way to know the ip address of my pc thru hardware address? what snifer program will i use? a simple one pls
 
Old 09-14-2006, 09:41 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
The MAC address of your system (most likely your cable/DSL modem) is invisible at any level you would have access to. Your best bet is to have a periodic task which checks the IP, and sends it to some place that you can always access, such as by e-mail.

--- rod.
 
Old 09-14-2006, 10:11 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
You can sign up with a free dynamic DNS site like noip and dyndns. A client runs on the remote PC that updates the IP address. Your URL (selectable) will always point to the IP.
 
Old 09-14-2006, 10:13 AM   #4
alienmagic
Member
 
Registered: Feb 2006
Distribution: Slackware 10.2, (2.6.16.16), FC 5
Posts: 109

Rep: Reputation: 15
I've been using www.dyndns.com for awhile and have been happy with it, other than the fact that every so often you have to manually update the IP address or it quits working, which is by design for the free dynamic hosting they offer. If you don't mind doing that, I'd recommend them.
 
Old 09-14-2006, 11:29 AM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Code:
/sbin/ifconfig eth0 | grep "inet addr:" | awk -F: {'print $2'} | cut -d\  -f 1

Last edited by dive; 09-14-2006 at 12:42 PM.
 
Old 09-14-2006, 11:38 AM   #6
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
that's pretty neat command dive but it doesn't work as it's missing a space at the cut
Code:
/sbin/ifconfig eth0 | /bin/grep "inet addr:" | /bin/awk -F: {'print $2'} | /bin/cut -d\  -f 1

Last edited by raska; 09-14-2006 at 01:59 PM.
 
Old 09-14-2006, 12:41 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Strange, I did put an extra space, I guess I shoulda used code tags. Fixed

Last edited by dive; 09-14-2006 at 12:42 PM.
 
Old 09-14-2006, 01:37 PM   #8
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
never mind

Last edited by Randux; 09-14-2006 at 01:39 PM.
 
Old 09-14-2006, 01:58 PM   #9
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
yup, I thought of it as a typo error
 
  


Reply



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
Find out a remote mac address antken Linux - Networking 5 05-05-2009 03:17 PM
Getting MAC address of remote Equipment eljofi Linux - Networking 1 04-11-2006 06:00 PM
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
Peer is not authorized to use remote address fransemail Linux - General 12 05-04-2004 02:51 PM
knowing a mail server address juanb Linux - General 1 02-06-2003 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:30 PM.

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
Open Source Consulting | Domain Registration