SIOCSIFBRDADDR: Cannot assign requested adress

Gerard Beekmans gerard at linuxfromscratch.org
Thu Mar 1 05:25:58 PST 2001


> > I just built LFS 2.4.4, im getting a few errors at boot:
> >
> > syslogd: network logging disabled(syslog/udp service unknown).

Do you have the /etc/services and /etc/protocols files? They're part of the 
netkit-base package.

> > Bringing up the eth0 interface...SIOCSIFBRDADDR: Cannon assign requested
> > address SIOCSIFNETMASK: Cannon assign requested address
> >
> > Setting up routing for eth0 interface...SIOCADDRT: Network is
> > unreachable.
>
> I'm sure that it isn't a driver problem, since if no driver were present,
> it would say:
> SIOCSIFADDR: No such device
> eth0: unknown device

Right, the driver seems loaded. The problem is elsewhere:
SIOCSIFBRDADDR: the broadcast address you are assigning in invalid
SIOCSIFNETMASK: the netmask address you are assigning is invalid

I'm assuming your scripts are ok at this point. First check this (from 
/etc/init.d/ethnet):

#
# Obtain all the network card configuration files
#
 
        for interface in $(ls /etc/sysconfig/network-scripts/ifcfg* | \
            grep -v ifcfg-lo)
        do

Does a ifcfg* file exist in /etc/sysconfig/network-scripts ?

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list