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