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/
|