* Mon Dec 23 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-16.sme
- add kernel module support for rp-pppoe plugin [SME: 12678] will allow faster fiber connexion when using multiple queue interface (RSS) set-gateway-ip will propagate both wan and diald ip run.pppoe call an interface
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
# remote_ip = $6
|
||||
# ipparam = $7
|
||||
|
||||
if [ "$7" = "diald" ]
|
||||
if [ "$7" = "diald" ] || [ "$7" = "wan" ]
|
||||
then
|
||||
exec /sbin/e-smith/config set GatewayIP "$6"
|
||||
fi
|
||||
|
@@ -0,0 +1,3 @@
|
||||
# PPPOE needs this if using kernel space with rp-pppoe.se plugin
|
||||
/sbin/iptables -t mangle -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
|
||||
|
@@ -0,0 +1 @@
|
||||
LINUX_PLUGIN=/usr/lib64/pppd/2.4.5/rp-pppoe.so
|
@@ -0,0 +1 @@
|
||||
plugin /usr/lib64/pppd/2.4.5/rp-pppoe.so
|
@@ -0,0 +1,2 @@
|
||||
# add pppoe module
|
||||
/sbin/modprobe pppoe
|
@@ -29,4 +29,4 @@ exec \
|
||||
/usr/local/bin/softlimit -m $PPPD_MLIMIT \
|
||||
/usr/bin/setsid \
|
||||
/usr/sbin/pppd ${extaddr:+$extaddr:} \
|
||||
file pppoe.pppd.conf
|
||||
file pppoe.pppd.conf ${interface}
|
||||
|
Reference in New Issue
Block a user