Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Interface Section

  2. Specify interface name.
    (Leave it default)

  3. Operation Mode: PPPoE
    PPPoE: This interface will be used by the PPPoE
                daemon, thus no ip information is needed.

  4. Leave the rest of the option DEFAULT

  5. End of configuration, exit and save

  6. Download Roaring Penguin PPPoE Stack : 

rp-pppoe-3.4.tar.gz -  README 

  1. Start Wanpipe:  

wanrouter start

...

- /dev/ttyWPX             :X is TTY_MINOR number.
- /etc/ppp/options         
- /etc/ppp/peers/isp_wanpipeX     :X is a wanpipe device number (1-16)

  1. Device /dev/ttyWP(0,1,2..)

To interface a PPPD daemon to the WANPIPE TTY driver a 
/dev/ttyWPX X={0,1,3...) device must be created.
eg: 
mknod -m 666 /dev/ttyWP0 c 240 0
mknod -m 666 /dev/ttyWP1 c 240 1
mknod -m 666 /dev/ttyWP2 c 240 2 
...
Note: 240 is the Major Number and 0,1,2... are the Minor Numbers

  1. File /etc/ppp/options

-------CUT HERE ----------------------
persist            #If connection goes down try to connect again
defaultroute   #This interface will set default route
asyncmap 0
sync                #Use Synchronous PPP 

lcp-echo-interval 1
lcp-echo-failure 3
 
#Following options disable compression.
#Lot of Telco equipment doesnt support it
nobsdcomp
nodeflate
nopcomp
novj
novjccomp
noaccomp -am

multilink       #Enable Multilink

#silent          #On some CISCO routers we must be in silent mode
#nodetach     #DEBUG Should be commented out in production
#debug          #Should be commented out in production
#kdebug 2      #Should be commented out in production
-------CUT HERE ----------------------

  1. File /etc/ppp/peers/isp_wanpipeX (X=1 to 16)

-------CUT HERE----------------------

ttyWP0          #Bind to WANPIPE device wanpipe1

#If IP address is commented out PPPD will attempt to
#get the IP address dynamically. 
#Some PPP servers only negotiate single IP p-to-p address
#in such cases one must specify a their own Local:PtoP IP addresses.
#1.1.1.1:1.1.1.2       

#MULTILINK NOTE: 
#Each peer interface must have same IP configuration

#Set user name and password if running with PAP/CHAP
#Uncomment next two parameters if needed
#user <username>
#password <password>

-------CUT HERE----------------------

  1. For more information on PPPD configuration view 

README.pppd

  1. Start PPPD based on configuration above:

pppd call isp_wanpipe1 <enter>
pppd call isp_wanpipe2 <enter>
...
For all wanpipe devices configured.
Where isp_wanpipe1 is the master device that contains IP information, and the rest of wanpipe devices have "noip" config options in peers/isp_wanpipeX filex.

...