Sysctl.conf not loaded at boot? - Raspberry Pi Forums


i using raspberry pi in part ipv6 gateway, run issues launching radvd, since complains "ipv6 forwarding seems disabled". running ' sysctl -a | grep net.ipv6.conf.all.forwarding' see set '0', though have set '1' in sysctl.conf file.

running 'sudo sysctl -p' loads sysctl.conf file , set parameter '1'. suggests me sysctl.conf file not being loaded @ boot. current run level 2, changing 3 changes nothing.

right way ensure sysctl.conf loaded @ boot, such radvd start correctly?

i did in /etc/init.d/radvd

code: select all

#! /bin/sh  ### begin init info # provides:          radvd # required-start:    $syslog $remote_fs $network # required-stop:     $syslog $remote_fs $network # default-start:     2 3 4 5 # default-stop:      0 1 6 # short-description: router advertising daemon ### end init info  path=/sbin:/bin:/usr/sbin:/usr/bin daemon=/usr/sbin/radvd name=radvd desc=radvd config=/etc/radvd.conf piddir=/var/run/radvd pidfile=$piddir/radvd.pid options="-u radvd -p $pidfile" proc_sys_ip6_forwarding=/proc/sys/net/ipv6/conf/all/forwarding  . /lib/lsb/init-functions  test -x $daemon || exit 0 sysctl -p  # make sure forwarding enabled. set -e [... rest of script here ...] 
note sysctl -p line before script magic.


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support