Dobrica Pavlinušić's random unstructured stuff
PPPoE server: Revision 3
Here are my notes how to configure pppoe-server to run as server for ADSL modem.
^ Prerequisits This list might be incomplete .pre apt-get install pppoe .pre ^ PPP configuration ^^ /etc/ppp/pppoe-server-options .pre # PPPoE server #nologin mru 1492 noreplacedefaultroute proxyarp ms-dns 192.168.1.1 .pre ^^ /etc/ppp/pap-secrets .pre # PPPoE server #client hostname <password> IP test * "test" * .pre ^^ /etc/ppp/chap-secrets .pre # client server secret IP addresses test * test * .pre ^ Configuration Setup network to start PPPoE server on (we don't really need it, but pppoe-relay requires two interfaces and we need pppoe-relay to respond to PADI requests from ADSL modem) .pre ifconfig eth0:1 10.0.0.1 up .pre ^^ PADI .pre pppoe-relay -B eth0:1 -C eth0 -n 1 -F .pre ^^ PPPoE .pre pppoe-server -I eth0:1 -T 60 -C fake -S fake -L 10.0.0.2 -R 10.0.0.10 -N 1 -F .pre ^ Debugging To sniff all traffic expect web (I guess that most ADSL modems have web interface) use something like: .pre tshark -i eth0 -f '!port 80' .pre |