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 20:15:33 -0000
--- In   wrote:
>
> By putting a zero on the left of the number, you are telling the
command to parse the number as an octal representation.
> 051 is taken as octal 51 which does convert to decimal 41.
> Get rid of your leading zero.
> 
> Larry
>
Larry,

Is a zero on the left of a number an octal indicator for other
commands' parameters too?

For grins I tried "/sbin/ifconfig eth0 192.168.000.051" so I know
you're exactly right so the following is just to learn more...

I checked the man page for ifconfig and it doesn't specifically say
octal will be used if you have a leading zero. Would you know if there
is there an assumption in  *nix documentation that when specifying
addresses a leading zero would make it octal?

TIA

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