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
   
  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=type=xxx 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=type=i82557


3.  Edit /lib/ndb/local with acme (or ed).

   Add an ipnet entry. My example is as follows:

ipnet=asahi-net.or.jp ip=219.121.16.20 ipmask=255.255.255.255
       dns=202.224.32.1
       dns=202.224.23.1

   Add an ip entry. My example is as follows:
     
ip=219.121.16.20 sys=ns dom=asahi-net.or.jp
       proto=tcp


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
     
     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

Reply via email to