SECOND SUMMARY: ifconfig during boot

From: Mario Stobbe (AST) (mario@ast.chemietechnik.uni-dortmund.de)
Date: Fri Aug 28 1998 - 10:23:29 CDT


The problem is still unsolved.
Thanks to all the people who replied to my answer (quite a lot).
Maybe the easiest ways to cope with the problem are to install the system from
scratch or leave it with the modified /etc/init.d/rootusr.

>Best way to find the cause of the problem is to modify
>/etc/init.d/rootusr, in particular echoing contents of $addr at various
>stages. Maybe modify line 1 to have #!/bin/sh -x or a "set -x" somewhere
>in the script too?
Good idea. I found out that /sbin/ifconfig works correctly after the /usr
filesystem was mounted.
I'll check the libraries used by /sbin/ifconfig (this might be libdl.so.1 only).

> you didn't mention it, so i'll ask - did you check your hostname.xxx
>file to ensure the hostname is in there correctly ?
Yes.
 At the moment it contains the IP of the host which leads to the wrong
netmask. This is fixed by an additional line I put at the end of
/etc/init.d/rootusr:
/sbin/ifconfig le0 netmask + broadcast + -trailers up

>is there any chance that the host name in /etc/hosts has a hidden character in
>it?
>I'd try deleteing the hostname and then recreating it in /etc/hosts.

Replaced it. -> Just the same.

>One other possibility which comes to mind. Is the hostname in /etc on a line
>of aliases?

No alias is used.

Mario
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         Mario Stobbe __
         Process Control Laboratory | A| __
         Department of Chemical Engineering |__|->| S| __
         University of Dortmund ^---|__|->| T|
         Emil-Figge-Str. 70 ^---|__|
         44221 Dortmund
         email: mario.stobbe@ast.chemietechnik.uni-dortmund.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:47 CDT