Changeset 1744
- Timestamp:
- 10/27/06 09:29:36 (2 years ago)
- Location:
- branches/6.2
- Files:
-
- 1 added
- 3 modified
-
etc/ppp/peers/pppoe (modified) (1 diff)
-
packages/blfs-bootscripts/Makefile (modified) (2 diffs)
-
packages/blfs-bootscripts/blfs-bootscripts-newpppoe-1.patch (added)
-
scripts/net-setup (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.2/etc/ppp/peers/pppoe
r887 r1744 1 1 plugin rp-pppoe.so 2 eth03 user "jdoe"4 2 noauth 5 3 hide-password -
branches/6.2/packages/blfs-bootscripts/Makefile
r1741 r1744 10 10 11 11 PATCH1=$(NM)-add-autosshd-1.patch 12 PATCH2=$(NM)-newpppoe-1.patch 12 13 13 14 # Targets … … 24 25 compile-stage2: 25 26 patch -Np1 -i ../$(PATCH1) 27 patch -Np1 -i ../$(PATCH2) 26 28 make install-service-dhcpcd 27 29 make install-service-pppoe -
branches/6.2/scripts/net-setup
r1734 r1744 236 236 setup_papsecrets; 237 237 238 # Make a backup and restore before changes, so the sed's work correctly. 239 [ -f /etc/ppp/peers/pppoe.orig ] || cp /etc/ppp/peers/pppoe{,.orig} 240 cp /etc/ppp/peers/pppoe{.orig,} 241 242 # Alter /etc/ppp/peers/pppoe file. 243 sed -i -e "s@eth0@$DEV@g" -e "s@jdoe@$F_USERNAME@g" /etc/ppp/peers/pppoe 238 # '# MC is stupid 239 240 echo "SERVICE=pppoe" >$ETHXCFG 241 echo "PPP_OPTS=\"user $F_USERNAME\"" >>$ETHXCFG 244 242 245 243 unset F_USERNAME F_PASSWORD DLG_COMMAND SELECTION … … 296 294 pppoe) 297 295 set_pppoe_cfg; 298 modprobe ppp_generic ; modprobe pppoe ; sleep 1 299 ip link set $DEV up 300 pppd call pppoe updetach 296 $IFUP $DEV 301 297 ;; 302 298 *)
