V 3.050 and PPPOE

Hi all,

some questions about PPPOE :

Is the there a keep alive (or better auto reconnect) function for DSL Connections. My Provider interupts the line every 24 h (TDSL).
Every morning the PPPOE Interface is down :-(
(With 3.040 i have no problems !)

Is there an option to re-esteblish the connection on the WEB Interface ? 

I tried to restart the firewall via Webinterface, but no reaction :-( I have to switch the power off and on. 

Jörg
Parents
  • Get a look in the DAEMON log ... u've got the TTL of 900 s by default for pppoe ... see the time and wait for 15 minutes ... if after it doesn't work ... no idea. I haven't this probleme with the v 3.0.5
  • Hello everybody,

    I fixed this problem in b3.40 with
    changing some entries in 
    ../pppoe/options (sorry but I don`t
    know exactly the rigth file/path,
    because I`m preparing for b3.50).

    The chnaged entries:
    timeout 84460         # 24h for T-Online Flat Germany
    lcp-echo-interval 10  # look every 10 sec. if the server is alive
    lcp-echo-failure 3    # cut the line after 3 wrong echos


    Regards

    Udo
  • Hi,
    no problems here with T-DSL and reconnect on 3.0.50:
    Apr 23 16:38:58 (none) pppd[3156]: LCP terminated by peer
    Apr 23 16:38:58 (none) pppd[3156]: Modem hangup
    Apr 23 16:38:58 (none) pppd[3156]: Connection terminated.
    Apr 23 16:38:58 (none) pppd[3156]: Connect time 1440.1 minutes.
    Apr 23 16:38:58 (none) pppd[3156]: Sent 393895887 bytes, received 642257659 bytes.
    Apr 23 16:38:58 (none) pppd[3156]: Exit.
    Apr 23 16:39:03 (none) pppd[25324]: Can't open options file /etc/ppp/peers/DSL: No such file or directory
    Apr 23 16:39:09 (none) pppd[25601]: pppd 2.4.1 started by root, uid 0
    Apr 23 16:39:09 (none) pppd[25601]: Using interface ppp0
    Apr 23 16:39:09 (none) pppd[25601]: Connect: ppp0  /dev/ttyp0
    Apr 23 16:39:10 (none) pppd[25601]: local  IP address XX.XX.XX.XX
    Apr 23 16:39:10 (none) pppd[25601]: remote IP address XX.XX.XX.XX


    The thing with the options seems a little wrong but everything works fine..
  • In fact, I get connected with dynamic IP and Gateway set in the Interface settings (even If I have a static IP adress).
    But I have troubles with Gateway. Wich gateway may I use for the eth0 ?
    Here is my configuration :
    eth0 (LAN)
    ip : 192.168.131.10
    gw : 192.168.131.10 (??)

    eth1 (pppoe)
    ip : dynamic
    gw : dynamic

    In this configuration, the firewall can ping the NET, but my LAN can't (and can't http or ftp either)
Reply
  • In fact, I get connected with dynamic IP and Gateway set in the Interface settings (even If I have a static IP adress).
    But I have troubles with Gateway. Wich gateway may I use for the eth0 ?
    Here is my configuration :
    eth0 (LAN)
    ip : 192.168.131.10
    gw : 192.168.131.10 (??)

    eth1 (pppoe)
    ip : dynamic
    gw : dynamic

    In this configuration, the firewall can ping the NET, but my LAN can't (and can't http or ftp either)
Children
  • quote:
    Originally posted by Yoc:
    In fact, I get connected with dynamic IP and Gateway set in the Interface settings (even If I have a static IP adress).
    But I have troubles with Gateway. Wich gateway may I use for the eth0 ?
    Here is my configuration :
    eth0 (LAN)
    ip : 192.168.131.10
    gw : 192.168.131.10 (??)

    eth1 (pppoe)
    ip : dynamic
    gw : dynamic

    In this configuration, the firewall can ping the NET, but my LAN can't (and can't http or ftp either)



    1. You don't need a gateway for eth0.

    2. For your lan to reach the internet you need two things:

    a) A packet filter rule to allow traffic from eth0 network to any (either all, or specific protocols)

    b) A MASQ rule for eth0 network through to the RED NIC.