ts-7000
[Top] [All Lists]

[ts-7000] Re: Problem changing IP address on TS-7250

To:
Subject: [ts-7000] Re: Problem changing IP address on TS-7250
From: "Andy Mercier" <>
Date: Wed, 16 Jan 2008 19:36:14 -0000
Larry beat me to it... and most likely has the root cause nailed.

My posting was ready to go out so here it is anyway.... So it can
serve to improve how we "verify".

--- In  Kevin Cozens <> wrote:
>
> I have verified the string looks ok. However, when the software
> issues builds the string "/sbin/ifconfig eth0 192.168.000.051" and
> passes it in a call to system() the boards address changes to
> 192.168.0.41. That isn't a typo.

Just a wild stab at the problem... Have you verified the string using
a hex editor? How did you verify the string?

A cheap way to verify the string may be to change the builder of the
string to produce "echo "<ipaddr>" >myip.bin" and pass that to
system(). Make sure you have the double quotes around the ipaddr
string - (as you may know, you've got to escape them with '\') Verify
the file myip.bin with the command:
od -t x1z myip.bin 

Post back to the list with results.

The only issue I can think of with my suggestion is I'm unsure how
echo handles binary data such as control characters that aren't escaped.

----
Andy




 
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