Hi everyone!
When I was changing the configuration of my GoFlex Home I was realizing that ArchLinuxARM somehow disregards settings that I changed in /etc/sysctl.conf. In my particular setup I wanted my box to ignore IPv6 autoconfiguration and router advertisements. So I added the following to /etc/sysctl.conf:
$this->bbcode_second_pass_code('', '# don’t accept IPv6 router advertisements anymore. We will need to configure our default routers, too.
net.ipv6.conf.default.accept_ra = 0
net.ipv6.conf.eth0.accept_ra = 0')
However after a reboot, when I connected to the machine via SSH, the command $this->bbcode_second_pass_code('', 'cat /proc/sys/net/ipv6/conf/default/accept_ra') still revealed a 1 and the box continued to receive autoconfigured IPv6 addresses.
I was checking, where the /etc/sysctl.conf was being loaded and this happens in the /usr/lib/initscripts/arch-sysctl which in turn is being called in /etc/rc.multi. Directly afterwards, the daemons are being launched.
The daemons in my /etc/rc.conf are:
$this->bbcode_second_pass_code('', 'DAEMONS=(hwclock syslog-ng network netfs crond sshd plugui lighttpd)')
A fix that works for me is to apply the sysctl configuration again and restart the network in my /etc/rc.local:
$this->bbcode_second_pass_code('', '# sysctl.conf seems to be ignored so we apply that stuff again (it is first called from /etc/rc.multi) :
/usr/lib/initscripts/arch-sysctl
rc.d restart network')
Somehow I think that the starting of the daemon 'network' in the first place makes it forget the sysctl settings but I don't really know how to investigate the problem further.
Do you have an idea? Thanks!
Philipp