From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <32a656c205082800491d4c362f@mail.gmail.com> Date: Sun, 28 Aug 2005 16:49:39 +0900 From: Vester Thacker To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [9fans] A short PPPOE configuration guide Topicbox-Message-UUID: 7edae75e-ead0-11e9-9d60-3106f5b1d025 I want to show an example to those that are having problems configuring PPPOE immediately after installing Plan 9. Of course, I am assuming that rio is viewable. 1. Disable permissions checking: fossil/conf /dev/sdC0/fossil > /tmp/fossil.conf Edit /tmp/fossil.conf to look like: fsys main config /dev/sdC0/fossil fsys main -AWP -V -c 1500 =20 Then write it back to the file system: fossil/conf -w /dev/sdC0/fossil /tmp/fossil.conf 2. Edit the plan9.ini file. Run the following commands: 9fat: cd /n/9/ acme plan9.ini (for folks without rio, use the ed editor) Add an ether=3Dtype=3Dxxx entry to ensure the NIC is recognized. See plan9.ini(8) for more details ( http://zertz.plan9.ipng.wakhok.ac.jp/magic/man2html/8/plan9.ini ). The entry should look similar to: ether=3Dtype=3Di82557 3. Edit /lib/ndb/local with acme (or ed). Add an ipnet entry. My example is as follows: ipnet=3Dasahi-net.or.jp ip=3D219.121.16.20 ipmask=3D255.255.255.255 dns=3D202.224.32.1 dns=3D202.224.23.1 Add an ip entry. My example is as follows: =20 ip=3D219.121.16.20 sys=3Dns dom=3Dasahi-net.or.jp proto=3Dtcp 3. After saving the file, reboot by running 'fshalt' and turning off the computer. 4. Upon reboot, sweep (open) two windows in rio. 5. In the first window, run the following: bind -b '#l0' /net bind -a '#l0' /net ip/pppoe -d ether0 (enter the ISP provided username and password) In the second window, run the following: ndb/cs ndb/dns -r =20 Note: The windows can be closed or hidden after the procedures. Disclaimer: Following the procedure above should provide for a standard PPPOE connection for those with a static IP address and allow for dns queries, pings, ect. I don't expect this is the only way to start a pppoe connection, but I hope it is a starting point for better documentation. Good luck to all and best wishes. --vester