Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: No address anymore for 5.99.6 dhclient with 5.99.7 kernel ?



On Jan 12,  9:58pm, njoly%pasteur.fr@localhost (Nicolas Joly) wrote:
-- Subject: Re: No address anymore for 5.99.6 dhclient with 5.99.7 kernel ?

| On Mon, Jan 12, 2009 at 04:34:45PM +0000, Christos Zoulas wrote:
| > In article <20090112140814.GA26330%medusa.sis.pasteur.fr@localhost>,
| > Nicolas Joly  <njoly%pasteur.fr@localhost> wrote:
| [...]
| > Make sure you have COMPAT_50 in your kernel config, otherwise
| > getifaddrs does not work. I.e. ifconfig -a will fail with EINVAL.
| > (it is mentioned in UPDATING)
| 
| I already thought about it, and i think i have it.
| 
| njoly@lanfeust [~]> sysctl machdep.booted_kernel
| machdep.booted_kernel = netbsd
| njoly@lanfeust [~]> file /netbsd
| /netbsd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically 
linked, for NetBSD 5.99.7, not stripped
| njoly@lanfeust [~]> config -x /netbsd | grep COMPAT_50
| ###> options    COMPAT_50       # NetBSD 5.0
| 

Do you have:

compat_50_iflist
compat_50_rt_ifmsg

in your kernel? Does ifconfig -a work?

christos


Home | Main Index | Thread Index | Old Index