I cannot seem to get an ADSL connection using the chroot-pppoe environment. The ISP has given us static IPs and we have done the following so far without success.
set the default router to 0.0.0.0 added the first ISP assigned IP to the ETH1 interface.
copied the dev environment from chroot-pptp to chroot-ppoe (cp -a /var/chroot-pptp/dev/* /var/chroot-pppoe/dev
added the following lines to the /etc/modules.conf file:
alias tty-ldisc-3 ppp_async
alias char-major-108 ppp_generic
alias ppp0 ppp
edited the /var/chroot-pppoe/start_pppoe.sh file and changed the line ETH=eth0 to ETH=eth1
in /var/chroot-pppoe/etc/ppp/options we have edited the file and changed the line "user" to reflect our ISP assigned username (user me@myisp.com)
in /var/chroot-pppoe/etc/ppp/pap-secrets we have edited the file and changed the line to reflect our ISP assigned username and password (me@myisp.com * myisppassword)
in /var/chroot-pppoe/etc/ppp/chap-secrets we have edited the file and changed the line to reflect our ISP assigned username and password (me@myisp.com * myisppassword)
we then updated iptables with the command:
iptables -t nat -I POSTROUTING -o ppp0 -s OUR_LOCAL_NET -j MASQUERADE
We then executed /var/chroot-pppoe/start_ppoe.sh
So far we have been unsuccessful in getting a DSL connection to work. We have seen errors stating "Couldn't attach tty to PPP unit 0: Invalid argument
pppoe: read (asyncReadFromPPP): Input/output error", "Couldn't open pty slave /dev/pts/1: No such file or directory
bash: Couldnt attach tty to PPP unit 0: Invalid argument
pppoe: read (asyncReadFromPPP): Input/output error Couldnt: No such file or directory"
Has anyone gotten past these issues and successfully established a PPOE connection with static IP addresses on ETH1?, also has anyone added a script to automatically update iptables and start the pppoe script upon boot.
Any help is appreciated. Thanks.
This thread was automatically locked due to age.