Network Configurator - What files does it touch?

Network Configurator - What files does it touch?

Post by silverj.. » Thu, 10 Jun 1999 04:00:00



I did a stupid thing in X-Windows on Red Hat 5.2.  I run a linux/Win95

network and my linux box has two ethernet cards.  One for a connection

to the internet, one for a connection to my Win95 box.  I used the
Network Configurator in X-Windows to change the IP address of the card

I use to connect to my Win95 box (device is eth0).  I had been
successfully using 10.0.0.1 as my linux IP and 10.0.0.2 as my Win95
IP.  I had heard that there were problems with using these IPs on a
private network and I should use something in the 192.168 range
instead.  So, I used the Network Configurator tool to change eth0 IP
to
a 192.168 address.  Re-boot the system and it starts complaining about

SIOCADDRT: Invalid argument and route: network address doesn't match
route address .  It took about half an hour for it to finish booting
(sysklogd and smbd just sat there till they timed out).  Once it
booted
I tried using ifconfig on the command line to reset eth0's settings
back to what I previously had, but no luck.  Ifconfig showed the
changes but when I re-booted, same crap.  What files does Network
Configurator touch?  I use X-Windows from my Win95 box, so I have to
edit the settings at the console on the command line (I don't run X-
Windows on the console, but that is another story).

Any help would be greatly appreciated.

 
 
 

Network Configurator - What files does it touch?

Post by Mark Tranchan » Thu, 10 Jun 1999 04:00:00


Look in /etc/hosts. This is the trouble with "automated" tools - you
have no idea what is really going on.

Mark.


> I did a stupid thing in X-Windows on Red Hat 5.2.  I run a linux/Win95

> network and my linux box has two ethernet cards.  One for a connection

> to the internet, one for a connection to my Win95 box.  I used the
> Network Configurator in X-Windows to change the IP address of the card

> I use to connect to my Win95 box (device is eth0).  I had been
> successfully using 10.0.0.1 as my linux IP and 10.0.0.2 as my Win95
> IP.  I had heard that there were problems with using these IPs on a
> private network and I should use something in the 192.168 range
> instead.  So, I used the Network Configurator tool to change eth0 IP
> to
> a 192.168 address.  Re-boot the system and it starts complaining about

> SIOCADDRT: Invalid argument and route: network address doesn't match
> route address .  It took about half an hour for it to finish booting
> (sysklogd and smbd just sat there till they timed out).  Once it
> booted
> I tried using ifconfig on the command line to reset eth0's settings
> back to what I previously had, but no luck.  Ifconfig showed the
> changes but when I re-booted, same crap.  What files does Network
> Configurator touch?  I use X-Windows from my Win95 box, so I have to
> edit the settings at the console on the command line (I don't run X-
> Windows on the console, but that is another story).

> Any help would be greatly appreciated.


 
 
 

Network Configurator - What files does it touch?

Post by Mohamad SALE » Fri, 18 Jun 1999 04:00:00


Mark Tranchant a crit :

Quote:> Look in /etc/hosts. This is the trouble with "automated" tools - you
> have no idea what is really going on.

> Mark.

In RedHat 5.2, it is not suffichient to look at /etc/hosts. You must see
also some files under /etc/sysconfig.
Another thing : ifconfig doesn't store any thing so when you reboot you
waste configuration set by using ifconfig on line.

Mohamad

 
 
 

Network Configurator - What files does it touch?

Post by Konrad Hambri » Mon, 21 Jun 1999 04:00:00



Quote:>Mark Tranchant a crit :

>> Look in /etc/hosts. This is the trouble with "automated" tools - you
>> have no idea what is really going on.

>> Mark.

>In RedHat 5.2, it is not suffichient to look at /etc/hosts. You must see
>also some files under /etc/sysconfig.
>Another thing : ifconfig doesn't store any thing so when you reboot you
>waste configuration set by using ifconfig on line.

>Mohamad

All --

I have found it handy at times to use the find -newer argument.

Just before invoking the automated tool do:

   # # create a time stamp file:
   # touch /tmp/time-stamp-file

Invoke the tool and do your thing.  When done:

   # # use find to see what has been touched:
   # find / -newer /tmp/time-stamp-file -print 2>/dev/null |tee /tmp/file.lst
   # rm /tmp/time-stamp-file

Most times the config files will be under the /etc directory
so you could invoke:  find /etc -newer /tmp/time-stamp-file -print ...

However until you get the hang of it, it may be best to search
from the / dir.

There may be some chaff amongst the wheat but you _will_ have
a list of files changed since the time stamp file was made.

HTH.

-- kjh
--
------------------------------------------------------------

1111 Seacoast Dr.  Unit 41   |  home:   (619) 423-4451     |
Imperial Beach, CA   91932   |                             |

 
 
 

1. Network Configurator - What files does it touch?

I did a stupid thing in X-Windows on Red Hat 5.2.  I run a linux/Win95

network and my linux box has two ethernet cards.  One for a connection

to the internet, one for a connection to my Win95 box.  I used the
Network Configurator in X-Windows to change the IP address of the card

I use to connect to my Win95 box (device is eth0).  I had been
successfully using 10.0.0.1 as my linux IP and 10.0.0.2 as my Win95
IP.  I had heard that there were problems with using these IPs on a
private network and I should use something in the 192.168 range
instead.  So, I used the Network Configurator tool to change eth0 IP
to a 192.168 address.  Re-boot the system and it starts complaining
about SIOCADDRT: Invalid argument and route: network address doesn't
match route address .  It took about half an hour for it to finish
booting (sysklogd and smbd just sat there till they timed out).  Once
it booted I tried using ifconfig on the command line to reset eth0's
settings back to what I previously had, but no luck.  Ifconfig showed
the changes but when I re-booted, same crap.  What files does Network
Configurator touch?  I use X-Windows from my Win95 box, so I have to
edit the settings at the console on the command line (I don't run X-
Windows on the console, but that is another story).

Any help would be greatly appreciated.

2. Ports and FreeBSD Version

3. Setting up Linux network with X network configurator

4. Linux Printing Problem

5. touch-pad behaves like right-button when touched (Sony Vaio PCG-F490)

6. compile UNP source code under SunOS 5.6

7. Network configurator

8. opinions: #9 FX 771 vs I 128?

9. Network Configurator - ARRRRRRRRGGGGGGHHHHHH !!!

10. What is the difference between Name and Nickname in network configurator?

11. Network Configurator - ARRRRGGGGHHHHH !!!!!

12. TCP/IP Configuration Using Network Configurator (RH 5.0)

13. Configuring network configurator