Menu

#3 dhcpcd fails

open
nobody
None
5
2001-09-13
2001-09-13
No

Dhcpcd fails to assign ip information and ultimately
the network interface is never initialized.

Each time it runs, I get the following message in the
/var/log/messages file.

hcpStart: socket: Address family not supported by
protocol

Thanks for your help,

Chris

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Hmm, i have seen this before , try to set a static adress
    and see if it works, i mean if the card module gets
    installed ok .

    I have tested here locally with my own dhcpserver, and it
    does actually work here, but the version i used is older
    than the released :(

    I will have a look at this and get back to you !

    Cheers ,Crixz

     
  • Nobody/Anonymous

    Logged In: NO

    Hi, Chris!

    I had the same problem. This error is due to the lack of
    af_packet module.

    The solution is to manually use "modprobe":
    modprobe af_packet

    It's important to execute this command on each boot before
    network initialization. That's why I put it in
    /etc/sysconfig/network-scripts/eth0-ifup script just before
    the place where DHCP client is called.

    After you've done it everything works just fine.

    Best regards,
    Ivan

     
  • Nobody/Anonymous

    Logged In: NO

    Hi, Chris!

    I had the same problem. This error is due to the lack of
    af_packet module.

    The solution is to manually use "modprobe":
    modprobe af_packet

    It's important to execute this command on each boot before
    network initialization. That's why I put it in
    /etc/sysconfig/network-scripts/eth0-ifup script just before
    the place where DHCP client is called.

    After you've done it everything works just fine.

    Best regards,
    Ivan

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.