ts-7000
[Top] [All Lists]

Re: [ts-7000] Change ip address from c program.

To:
Subject: Re: [ts-7000] Change ip address from c program.
From: Jim Jackson <>
Date: Wed, 23 Sep 2009 14:01:14 +0100 (BST)


On Wed, 23 Sep 2009, sagar_mit2k2 wrote:

> Dear all,
>
> I want to change IP address of TS7400 board by c program, the details is 
> as follows.
>
> My application accepts new IP address from matrix keypad or socket 
> programming. I want to assign new IP address to TS7400 board.
>
> My question.

>1. Is there is any system call which change IP address of 
> board and then I will do soft reset of my application.

How do you think "ifconfig" or "ip" do that sort of thing?
The source for these is OPEN, so down load and read :-)

> Or
>
> 2. Using exec system call I need to run a script to change IP address.

This is an option. Just call ifconfig with the right arguments.

>
> Any suggestion/ help will be highly appreciated.
>
> Thanks
> Sagar
> Pune India
>
>
>


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU