Skip to content

Commit

Permalink
Merge pull request #3 from kouak/lithium
Browse files Browse the repository at this point in the history
Bug #27: Add 'enable-ipv6' option to pppoe connections
  • Loading branch information
dmbaturin committed Nov 9, 2014
2 parents a7afb44 + a216a7e commit 07f3271
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
# Configuration template for the .../pppoe/node.tag/enable-ipv6 parameter
#
#
# This parameter has no "value" associated with it. If the parameter
# exists, then ipv6 is enabled in pppd options.
#
# If the parameter does not exist, then ipv6 will
# be disabled in pppd.

help: Activate IPv6 support on this connection

update: sudo sed -i '/^+ipv6/d' /etc/ppp/peers/pppoe$VAR(../@)
sudo sh -c "echo +ipv6 >> /etc/ppp/peers/pppoe$VAR(../@)"

delete: sudo sed -i '/^+ipv6/d' /etc/ppp/peers/pppoe$VAR(../@)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
# Configuration template for the .../pppoe/node.tag/enable-ipv6 parameter
#
#
# This parameter has no "value" associated with it. If the parameter
# exists, then ipv6 is enabled in pppd options.
#
# If the parameter does not exist, then ipv6 will
# be disabled in pppd.

help: Activate IPv6 support on this connection

update: sudo sed -i '/^+ipv6/d' /etc/ppp/peers/pppoe$VAR(../@)
sudo sh -c "echo +ipv6 >> /etc/ppp/peers/pppoe$VAR(../@)"

delete: sudo sed -i '/^+ipv6/d' /etc/ppp/peers/pppoe$VAR(../@)

0 comments on commit 07f3271

Please sign in to comment.