summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2012-05-29 17:18:51 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-05-29 17:18:51 +0200
commitc037ed5e21d74b7b264b793849bab2972d6912cb (patch)
tree09b90b80d6c350d879d607c4d44a5ab9ceec0235
parenta347ed655b0163edbb724d114dc6f016726ed166 (diff)
downloadnetctl-c037ed5e21d74b7b264b793849bab2972d6912cb.tar.gz
netctl-c037ed5e21d74b7b264b793849bab2972d6912cb.tar.xz
pppoe default to noauth
pppd is a bit stupid with regard to configuration: It will always read /etc/ppp/options. This overrides the default 'auth' setting.
-rw-r--r--src/connections/pppoe1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connections/pppoe b/src/connections/pppoe
index ba9f67a..0ce123c 100644
--- a/src/connections/pppoe
+++ b/src/connections/pppoe
@@ -17,6 +17,7 @@ pppoe_up() {
echo "plugin rp-pppoe.so" >> "${cfg}"
echo "nic-${INTERFACE}" >> "${cfg}"
+ echo "noauth" >> "${cfg}"
if checkyesno ${DEFAULTROUTE:-1}; then
echo "defaultroute" >> "${cfg}"
else