ts-7000
[Top] [All Lists]

[ts-7000] Re: IP address question

To:
Subject: [ts-7000] Re: IP address question
From: "charliem_1216" <>
Date: Thu, 19 Jul 2007 16:54:13 -0000
Hi Marco --

The /sbin/ifconfig command (or its busybox equivalent) operates 
directly on the specified device, taking info from the command line.  
Just doing "ifconfig eth0 down" then "ifconfig eth0 up" only takes 
the device down then up again *with the same settings*; it does not 
read any device info or network settings from 
your /etc/sysconfig/ifcfg-eth0 file.

To restart the network with the new settings, try 
running "/etc/init.d/network restart".  This script reads your 
config info, then calls /sbin/ifconfig with the appropriate 
parameters.

A reboot should be just as good, and do the same thing though.  If a 
reboot does not work, then something else is going on, and we will 
have to look further.

This is not TS-7250 specific, or even TS specific;  and as Julien 
mentioned, the ip address in redboot should not affect the address 
used once the linux distro sets up the network.

regards ........ Charlie

--- In  "marcolamonato" <> wrote:
>
> Julien,
> 
> you have been very kind!
> Maybe someone else could give a 7250-oriented tip-n-trick
> 
> Thanks again,
> Marco
> 
> 

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



 
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