RaspberryPI/WIFI-Converter
/etc/sysctl.conf
apt-get install -y dhcp-helper
---/etc/default/dhcp-helper
DHCPHELPER_OPTS="-b wlan0"
apt-get install -y parprouted
---/etc/rc.local
/sbin/ifconfig eth0 192.168.0.151 netmask 255.255.255.255
/usr/sbin/parprouted wlan0 eth0
kernel
cd /usr/src/ mkdir linux-rpi-3.6.y cd linux-rpi-3.6.y git init git fetch --depth=1 git://github.com/raspberrypi/linux.git rpi-3.6.y:refs/remotes/origin/rpi-3.6.y git checkout rpi-3.6.y cd .. tar cpf rpi-3.6.y.$(date +"%m-%d-%Y").tar linux-rpi-3.6.y ln -s linux-rpi-3.6.y linux cd linux
make bcmrpi_defconfig
make menuconfig
--- .config
CONFIG_IP_MROUTE=y
CONFIG_IPV6_MROUTE=y
make zImage modules dtbs mv /lib/modules/3.6.11+ /lib/modules/3.6.11+.dist make modules_install mv /boot/kernal.img /boot/kernel.img.dist cp arch/arm/boot/zImage /boot/kernel.img
apt-get install -y smcroute
--- /etc/modules
ipv6
---/etc/smcroute/startup.sh
smcroute -j eth0 239.255.255.250
smcroute -a eth0 192.168.0.x 239.255.255.250 wlan0
smcroute -j wlan0 239.255.255.250
smcroute -a wlan0 192.168.0.y 239.255.255.250 eth0
---/etc/network/if-up.d
/usr/sbin/service smcroute restart
---
update at 2018/07/08 13:14:59
※注:当サイトは特定環境において確認できた事象のみを記述しています。他の環境での動作は一切保証しません。