SUMMARY: "ifconfig: no such interface" -- error after patches applied

From: Andrew Patrick (andrew@calvin.dgbt.doc.ca)
Date: Tue Dec 10 1991 - 17:29:06 CST


The answer to this one was simple, and it was supplied by a
"sun-manager". This list is great.

It turns out this problem had nothing to do with the patches that I
applied. I was led down a garden path because I did not notice that
these messages were there before the patches were applied.

The solution is that I had a spurious "/etc/hostname.*" file that was
being picked up at boot time. You see, I recently change the hostname
and edited /etc/hostname.le0. Textedit was used for the edit and it
left a file "/etc/hostname.le0%". This file was being picked up by
ifconfig, and it was trying to configure an interface "le0%". Deleting
the backup file fixed the problem immediately.

Thanks to the following sun-managers for their replies, and Mike
Raffety <miker@sbcoc.com> for cluing me in on the solution:

        randy@santa-ynez.dazixco.ingr.com (Randy Holt)
        lee@sqlee.sq.com (Liam R. E. Quin)
        Kjell Eidem <eidem@itk.unit.no>
        Barbara Fraser <byf@cert.sei.cmu.edu>
        trudel@cs.rutgers.edu
        Mike Raffety <miker@sbcoc.com>

-----------------
Original Question
-----------------

On Dec 9, 5:12pm, Andrew Patrick wrote:
} Subject: "ifconfig: no such interface" -- error after patches applied
| I have applied some of the security-related patches to my kernal, but
| now I am getting spurious error messages at boot time. They appear to
| be harmless, but I thought I should check them out. Has anyone else
| seen these? Are they important?
|
| Architecture:
| -------------
| SPARCstation 1+, SunOS 4.1.1B
|
| Error Message:
| --------------
|
| ifconfig: ioctl (SIOCGIFFLAGS): no such interface
|
| Patches Involved:
| -----------------
|
| These messages started after I applied the following patches:
|
| Patch-ID# 100173-07
| Keywords: 4.1.1 NFS Jumbo Patch
| Synopsis: SunOS 4.1.1: NFS Jumbo Patch
| Date: 5/Nov/91
|
| Patch-ID# 100424-01
| Keywords: security, fsirand, seed, generation, nfs
| Synopsis: SunOS 4.1.1; NFS/fsirand security fix.
| Date:
|
| Patch-ID# 100383-03
| Keywords: security rdist setuid client remote distfile
| Synopsis: SunOS 4.1;4.1.1; 4.0.3: rdist security enhancement
| Date: 20-Nov-91
|
| The patches were applied in this order, with a successful build of the
| kernal after each one (where appropriate).
|
|
| Thanks
|
|
| --
| Andrew Patrick, Ph.D. Communications Research Centre, Ottawa, CANADA
| andrew@calvin.dgbt.doc.CA
| "Making computers do the things they do on television."
| "Making television do the things that computers do."
}-- End of excerpt from Andrew Patrick

-- 
Andrew Patrick, Ph.D.       Communications Research Centre, Ottawa, CANADA
andrew@calvin.dgbt.doc.CA
            "Making computers do the things they do on television."
            "Making television do the things that computers do."



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:21 CDT