ts-7000
[Top] [All Lists]

[ts-7000] Re: IP address question

To:
Subject: [ts-7000] Re: IP address question
From: "marcolamonato" <>
Date: Thu, 19 Jul 2007 15:46:11 -0000
Julien,

you have been very kind!
Maybe someone else could give a 7250-oriented tip-n-trick

Thanks again,
Marco




--- In  "Julien" <> wrote:
>
> Ok Marco, that's the correct way... I don't understand why your 
> modifications are not saved (since you read a "IPADDR=192.168.0.51" 
> in the file after editing it). The solution could be there : find 
why 
> you read something different of what you write in this file.
> 
> Maybe there is a special link on the TS7250 beetween the network 
> configuration files and redboot... I can just tell you that your 
way 
> of doing things is the same of mine, and it works for me on a TS7200
>  :/
> 
> Hope someone else will help you.
> 
> Julien
> 
> --- In  "marcolamonato" <marco@> wrote:
> >
> > julien,
> > 
> > I entered the system with a telnet connection from my "command 
> > prompt" within WinXP, logged in as root with no password and 
> edited 
> > the /etc/sysconfig/ifcfg-eth0 with vi.
> > Saved end moved out with ":wq"
> > 
> > I could have done it also from a serial connection, but I prefer 
> this 
> > interface compared to the hyperterminal in WinXP
> > 
> > Marco
> > 
> > 
> > 
> > 
> > --- In  "Julien" <kaezar1@> wrote:
> > >
> > > Just another question Marco : how did you change the IP address 
> > from 
> > > your telnet connection ? What have you done ?
> > > 
> > > Thank you.
> > > 
> > > --- In  "marcolamonato" <marco@> wrote:
> > > >
> > > > Julien,
> > > > 
> > > > I changed the IP address from a telnet connection and I 
> > put "down" 
> > > > and "up" the network with the ifconfig command as you 
> suggested.
> > > > 
> > > > Then, from a serial connection I grabbed these information:
> > > > 
> > > > $ cat /etc/sysconfig/ifcfg-eth0
> > > > DEVICE=eth0
> > > > IPADDR=192.168.0.51
> > > > NETMASK=255.255.255.0
> > > > NETWORK=192.168.0.0
> > > > BROADCAST=192.168.0.255
> > > > BOOTPROTO=static
> > > > #BOOTPROTO=dhcp
> > > > ENABLE=yes
> > > > 
> > > > $ ifconfig
> > > > eth0      Link encap:Ethernet  HWaddr 00:D0:69:40:9D:6D
> > > >           inet addr:192.168.0.50  Bcast:192.168.0.255  
> > > > Mask:255.255.255.0
> > > >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > > >           RX packets:53 errors:0 dropped:0 overruns:0 frame:0
> > > >           TX packets:35 errors:0 dropped:0 overruns:0 
carrier:0
> > > >           collisions:0 txqueuelen:1000
> > > >           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> > > >           Interrupt:39
> > > > 
> > > > lo        Link encap:Local Loopback
> > > >           inet addr:127.0.0.1  Mask:255.0.0.0
> > > >           UP LOOPBACK RUNNING  MTU:16436  Metric:1
> > > >           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> > > >           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> > > >           collisions:0 txqueuelen:0
> > > >           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> > > > 
> > > > Therefore, I re-established a telnet connection with the 
> > > 192.168.0.50 
> > > > address and it was working, I tried with the 192.168.0.51 and 
> it 
> > > > didn't.
> > > > 
> > > > Usually it works when I change on RedBoot too.
> > > > 
> > > > Marco
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > --- In  "Julien" <kaezar1@> wrote:
> > > > >
> > > > > Hu ? That seems very strange to me. I mean there is no link 
> > > > beetween 
> > > > > Redboot IP (used with NFS functionality) and Linux IP (used 
> > when 
> > > > your 
> > > > > linux is running).
> > > > > 
> > > > > I have NEVER modified the Redboot IP of my TS7200 (it's 
> always 
> > > the 
> > > > > default value : 192.168.0.50 or smg like that), I always 
> > changed 
> > > > JUST 
> > > > > the IP of /etc/sysconfig/ifcfg-eth0 and it works 
> > > perfectly...after 
> > > > a 
> > > > > reboot or a "ifconfig eth0 down" then "ifconfig eth0 up".
> > > > > 
> > > > > --- In  "marcolamonato" <marco@> 
> wrote:
> > > > > >
> > > > > > Julien,
> > > > > > 
> > > > > > if I change the IP on linux and I don't on modify it 
> Reboot, 
> > I 
> > > > > can't 
> > > > > > get the new address, I mean I keep connecting on the 
older 
> IP 
> > > > (with 
> > > > > > telnet as example), it doesn't work with the new.
> > > > > > It works only changing both of them
> > > > > > 
> > > > > > Marco
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > --- In  "Julien" <kaezar1@> wrote:
> > > > > > >
> > > > > > > Hi Marco
> > > > > > > 
> > > > > > > Indeed, I would say you don't need to change anything 
in 
> > > > redboot, 
> > > > > > as 
> > > > > > > far as your application is running under linux. The 
only 
> > > > > important 
> > > > > > IP 
> > > > > > > address in this case is, as you said, the one 
> > > > > > in /etc/sysconfig/ifcfg-
> > > > > > > eth0.
> > > > > > > 
> > > > > > > The IP address under redboot has to be set for example 
> if 
> > you 
> > > > > want 
> > > > > > to 
> > > > > > > load a kernel directly by connecting and downloading it 
> > from 
> > > a 
> > > > > > server 
> > > > > > > on your network.
> > > > > > > 
> > > > > > > Julien
> > > > > > > 
> > > > > > > --- In  "marcolamonato" 
<marco@> 
> > > wrote:
> > > > > > > >
> > > > > > > > Hi all,
> > > > > > > > 
> > > > > > > > when I need to change the static ip address of my TS-
> 7250 
> > I 
> > > > > > usually 
> > > > > > > > edit the /etc/sysconfig/ifcfg-eth0 and then change 
the 
> > > > address 
> > > > > > also 
> > > > > > > > within RedBoot with the fconfig command.
> > > > > > > > 
> > > > > > > > Is there a way to change the static ip address from 
my 
> > > > > > application 
> > > > > > > > without moving to Redboot also?
> > > > > > > > 
> > > > > > > > Probably I'll need to reboot after editing some 
> network 
> > > > files, 
> > > > > > but 
> > > > > > > this 
> > > > > > > > would be a small issue, thi big one is not to enter 
> > RedBoot.
> > > > > > > > 
> > > > > > > > Same thing for changing from static to dhcp?
> > > > > > > > 
> > > > > > > > Thanks in advance,
> > > > > > > > Marco
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>




 
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