| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
The cloned interfaces have to be set up befor the interface list is
created. Otherwise it's not possible to configure a cloned interface
with a `ifconfig_gifX` line.
|
|
|
|
| |
Use it throughout to start the DHCP client (dhcpcd).
|
|
|
|
| |
The dhcpcd will create the directories on its own.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following files are now provided by Newlib:
* arpa/inet.h
* net/if.h
* netinet/in.h
* netinet/tcp.h
* sys/socket.h
* sys/uio.h
* sys/un.h
The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be
used directly.
Update #2833.
|
|
|
|
|
| |
If no default route is found atfer the delay timeout set the
defaultrouter value if present.
|
|
|
|
|
|
|
|
|
|
| |
The interface alias allows extra IP addresses to be set on and
interface and it also allows the MAC address to be set.
Examples:
ifconfig_em0="inet 10.10.5.33 netmask 255.255.255.0"
ifconfig_em0_alias0="ether 10:22:33:44:55:66"
ifconfig_em0_alias1="inet 10.1.1.111 netmask 0xffffffff"
|
| |
|
|
|
|
|
|
| |
An ifconfig_ line can have other options for the interface such as
ether or hardware checksum control. Allow these to be set on the
interface.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Provide user support for rc.conf(5) so a user can create a suitable
/etc/rc.conf file to initialise libbsd.
This patch by default adds basic networking support:
cloned_interfaces
ifconfig_'interface'
defaultrouter
hostname
Refer to FreeBSD documentation for examples.
Users can make a single call to have /etc/rc.conf processed, or pass a
file name to a specific configuration file or a text string with line
feeds can be passed to the scripting version of the interface.
The rc.conf support is implemented in terms of directive handlers that
are called based on a regular expression. The design allows new handlers
to be added as needed.
Line concatenation is still to be implemented.
|