ts-7000
[Top] [All Lists]

[ts-7000] Re: IP address question

To:
Subject: [ts-7000] Re: IP address question
From: "marcolamonato" <>
Date: Mon, 23 Jul 2007 15:01:51 -0000
Jim,

thank you so much!

Marco




--- In  Jim Jackson <> wrote:
>
> 
> 
> 
> On Mon, 23 Jul 2007, marcolamonato wrote:
> 
> > Jim,
> >
> > the new changes in the ifcfg-etho file work if I reboot the 
system,
> > but I can't use the ifup/ifdown commands as they give:
> >
> > $ ifdown eth0
> > ifdown: /etc/network/interfaces: No such file or directory
> >
> > I have no /network/interfaces structure in my TS-7250, should I
> > create it?
> 
> Ah. Looks like my brain is frazzled. I've given you the way it's 
done on
> debian! Doh!
> 
> Ok. When using the TS supplied onboard image, you need to do
> 
>  /etc/init.d/network restart
> 
> to get the changes to happen. That script is a pretty standard sysV 
init
> script and can be given the parameters stop, start, restart. This 
is the
> script that gets run on boot up to set networking up.
> 
> sorry about that.
> Jim
> 
> 
> 
> > > > I changed the IP address from a telnet connection and I 
put "down"
> > > > and "up" the network with the ifconfig command as you 
suggested.
> > >
> > > no that won't work. "ifconfig" knows nothing about config files.
> > > You need to use the "ifdown eth0" and "ifup eth0" commands which
> > read the
> > > config files to get the configuration information.
> > >
> > >
> > > >
> > > > 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