Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Network configuration using `netctl`, see <https://wiki.archlinux.org/index.php/Netctl>:
- cp /etc/netctl/examples/ethernet-static /etc/netctl/pcextreme
- Change the config file `/etc/netctl/pcextreme` to:
- #!ini
- Description="Settings for PCextreme's Raspberry Pi Collocation"
- Interface=eth0
- Connection=ethernet
- IP=static
- Address=('582.631.871.22')
- #Routes=('192.168.0.0/24 via 192.168.1.2')
- Gateway='582.631.871.1'
- DNS=('8.8.8.8' '208.67.222.222')
- ## For IPv6 autoconfiguration
- IP6=stateless
- ## For IPv6 static address configuration
- #IP6=static
- #Address6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
- #Routes6=('abcd::1234')
- #Gateway6='1234:0:123::abcd'
- Then start, test and then enable the profile (creates a systemd startup entry):
- #!bash
- # Testing etc.:
- ip link set eth0 down; sleep 1; netctl start pcextreme
- # When everything works fine, disable RaspberryPi's standard DHCP config and enable the netctl profile:
- systemctl disable dhcpcd@eth0; netctl enable pcextreme
- You need to bring the interface down first or netctl will not take care of it. More [here](https://bbs.archlinux.org/viewtopic.php?id=161263).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement