Opened 11 years ago
Closed 11 years ago
#934 closed task (fixed)
Fixup network configuration
Reported by: | Andrew Bradford | Owned by: | Andrew Bradford |
---|---|---|---|
Priority: | major | Milestone: | CLFS Embedded 1.0.0 |
Component: | BOOK | Version: | CLFS Embedded GIT |
Keywords: | Cc: |
Description
Let's just show how to do a simple dhcp client configuration.
The current book doesn't talk about making /etc/network directory or the files that should be inside, like:
- interfaces
- if-up.d
- if-down.d
- if-post-down.d
Without these ifup and ifdown will complain when used.
A simple interfaces file would be like:
auto eth0 iface eth0 inet dhcp
Change History (4)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Also worth integrating netplug into the book for ethernet cable insert/removal detection.
comment:4 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I'll open netplug as another ticket. Book has been updated as of SHA: d92670cff5916fe922b89e14f47be4fc140a1865 to have a working (although not rigorously tested) udhcpc configuration for getting IP via DHCP when using 'ifup'.
Being able to do 'ifup' like things on cable insert will be what netplug provides.
Further info, /etc/network should have something like: