Results 1 to 4 of 4

Thread: Dial on Demand

  1. #1

    Dial on Demand

    Senario:
    a comp running Red Hat 7.3 with internet connection via modem (56k)
    The internet connection from this machine provides internet access for clients attached to eth1 and eth0.
    Connects using ifup
    Wondering how to get it to dial automatically if it is down, when one of the clients tries to access the internet.

    Anyway ta :-)

    Its better to regret something you have done than to regret something you havent done :P

  2. #2
    JimH
    Guest

    Re:Dial on Demand

    Some options you can add to your /etc/sysconfig/network-scripts/ifcfg-ppp*

    Dial the connection when it is needed:
    DEMAND=yes|no

    Disconnect after a specified period of inactivity
    IDLETIMEOUT=<number of seconds>

    Automatically reconnect on disconnect
    PERSIST=yes|no

    Wait for specified number od seconds before trying to reconnect after being disconneted.
    DISCONNECTTIMEOUT=<number of seconds>

    Wait for the specified number of seconds before trying to reconnect after a failed connection attempt.
    RETRYTIMEOUT=<number of seconds>

    That should get you started. Replace the * in ifcfg-ppp* with the correct number. Probably 0.

    Jim H

  3. #3

    Re:Dial on Demand

    Where do u find all this ?

    Thanks alot Jim
    ;D
    Its better to regret something you have done than to regret something you havent done :P

  4. #4
    JimH
    Guest

    Re:Dial on Demand

    Back in "the old days" you had to write your own chat scripts to get online. Most of these are just equivalent to options for pppd that you used to place in your ppp options file.

    Now distributions provide connection scripts for you. Look at the script /etc/sysconfig/network-scripts/ifup-ppp

    Might also take a look at the manpage for pppd.

    Jim H

Similar Threads

  1. Dial-up networking
    By eialbur in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 01-16-2012, 08:50 PM
  2. PPP Server / DIal-in
    By imported_n00b in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 12-28-2004, 09:49 AM
  3. Dial on demand problem
    By namdn in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 08-04-2004, 12:19 PM
  4. Dial-Up with Mandrake 9.2
    By shebang in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 02-04-2004, 04:43 AM
  5. Proxys on dial up...
    By gmoreno in forum Windows - General Topics
    Replies: 4
    Last Post: 02-12-2003, 02:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •