FreeBSD Problems

From Exterior Memory
Revision as of 11:27, 30 August 2014 by MacFreek (Talk | contribs) (Created page with "This page contains miscellaneous problems I've encountered. I list them here, or [https://forums.freebsd.org/search.php?author_id=29648 post them at the FreeBSD forum], in hop...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page contains miscellaneous problems I've encountered. I list them here, or post them at the FreeBSD forum, in hope they are useful for others.

DHCP client configuration error

Problem

# dhclient -d em1
/etc/dhclient.conf line 9: expecting a statement.
option
^

The /etc/dhclient.conf file contains:

option vendor-specific-info code 43 = string;
option vendor-class-identifier code 60 = string;
interface "em1" {
    send vendor-specific-info 03:05:4d:35:34:30:0a:1f:04:20:20:20:20:04:08:41:6d:69:4e:45:54:20:20:05:0c:32:2e:37:2e:32:20:20:20:20:20:20:20;
    send vendor-class-identifier "AMINOx4x";
}

Cause

FreeBSD uses the OpenBSD dhclient. This client does not support the feature to add custom options to a DHCP packet.

Solution

Install the ISC dhcp client:

pkg install isc-dhcp43-server


See also FreeBSD Bugs