Networking Forums

Networking Forums > Computer Networking > Linux Networking > find IP changment in real time ?

Reply
Thread Tools Display Modes

find IP changment in real time ?

 
 
Zull
Guest
Posts: n/a

 
      06-01-2004, 02:45 PM
Hi experts,

how to check if IP has changed on a interface in real time ? something
stronger than parsing ifconfig every minutes
thanks in advance.

F



 
Reply With Quote
 
 
 
 
Paul Black
Guest
Posts: n/a

 
      06-01-2004, 03:27 PM
Zull wrote:
> Hi experts,
>
> how to check if IP has changed on a interface in real time ? something
> stronger than parsing ifconfig every minutes


Asuuming you're talking about an interface that is controlled by DHCP:do
a search on /etc/dhclient-exit-hooks.

--
Paul Black mailto(E-Mail Removed)
Oxford Semiconductor Ltd http://www.oxsemi.com
25 Milton Park, Abingdon, Tel: +44 (0) 1235 824 909
Oxfordshire. OX14 4SH Fax: +44 (0) 1235 821 141
 
Reply With Quote
 
Bit Twister
Guest
Posts: n/a

 
      06-01-2004, 04:47 PM
On Tue, 1 Jun 2004 16:45:13 +0200, Zull wrote:
> Hi experts,
>
> how to check if IP has changed on a interface in real time ? something
> stronger than parsing ifconfig every minutes


read the manpage about your dhcp client. Maybe it will run a script
for you when the ip address changes.

Please read http://www.catb.org/~esr/faqs/smart-questions.html
Always provide you distro and release when posting questions.
It may help you get getter answers.

 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      06-02-2004, 02:06 AM
Zull wrote:

> Hi experts,
>
> how to check if IP has changed on a interface in real time ? something
> stronger than parsing ifconfig every minutes
> thanks in advance.


Your dhcp client may be able to run a script, whenever the address changes.
dhcpcd can.

--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Real Time Messaging Protocol (RTMP) 2Sweet Windows Networking 2 04-02-2008 01:08 PM
time dig = real 0m9.160s DEASASTER Nick name Linux Networking 1 10-27-2006 06:42 PM
real time port communication? bukovinsky@volja.net Linux Networking 2 08-03-2006 03:09 AM
Real Time HTML Dan Linux Networking 1 05-09-2005 05:15 PM
Real-Time UDP non-blocking sockets in Linux Michael Drew Linux Networking 14 02-18-2004 11:56 PM



1 2 3 4 5 6 7 8 9 10 11