<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: backup dial-up connection in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914206#M45902</link>
    <description>&lt;BR /&gt;your problem looks like you are trying to open xterm program which requires running X. Also you need to export DISPLAY variable for xterm to work.&lt;BR /&gt;&lt;BR /&gt;I have attached the updated script which contains suggestions for handling this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
    <pubDate>Tue, 26 Jul 2005 04:14:37 GMT</pubDate>
    <dc:creator>Gopi Sekar</dc:creator>
    <dc:date>2005-07-26T04:14:37Z</dc:date>
    <item>
      <title>backup dial-up connection</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914200#M45896</link>
      <description>Hi friends,&lt;BR /&gt;&lt;BR /&gt;One of my site have a cable connection for Internet. I want to configure a dial-up modem as a backup connetion in such a way that whenever the cable modem's link goes down, the dial-up connection should get activated automatically, and all services but mailing should stop, since the dial-up connections are low-bandwidth connections, and when the server works on dial-up modem, only mailing services ( sendmail and fetchmail) should work. Please let me know how I can get it configured successfully. cable modem is connected to Linux server through RJ-45 connection.&lt;BR /&gt;One more suggestion I want from you all, is using sendmail+ FC4+MailScanner+ ClamAV looks inferior than a qmail/ postfix based solution? I prefer to use sendmail based solution because of it's flexibility.&lt;BR /&gt;Thanks In advance.</description>
      <pubDate>Mon, 25 Jul 2005 01:14:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914200#M45896</guid>
      <dc:creator>kcpant</dc:creator>
      <dc:date>2005-07-25T01:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: backup dial-up connection</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914201#M45897</link>
      <description>I would suggest a script based solution.&lt;BR /&gt;&lt;BR /&gt;Components:&lt;BR /&gt;&lt;BR /&gt;1) Check the cable modem connection. Do the next steps only if its down.&lt;BR /&gt;&lt;BR /&gt;2) If cable modem down:&lt;BR /&gt;&lt;BR /&gt;   service sendmail stop&lt;BR /&gt;#   stops most incoming sendmail connections. Does nothing about outbound. Outbound mail will simply queue up, waiting to go out if /etc/resolv.conf does not allow for host name resolution on the dial up ip address.&lt;BR /&gt;&lt;BR /&gt;If you want the mail services to work, then the script needs to use an alternate /etc/resolv.conf file based on the host name resolution provided by the dial up provider. Alternately you can have secondary and/or teritiary entries in /etc/resolv.conf to allow resolution.&lt;BR /&gt;&lt;BR /&gt;Mail will work, slowly outbound if you have host name resolution. Thats pretty  much all sendmail is going to care about.&lt;BR /&gt;&lt;BR /&gt;For inbound mail, you would need a line in /etc/mail/sendmail.cf or your sendmail.mc file allowing the daemon to listen on the dial up ip address. Thats probably not worth the hassle, but if you want it, see this website for some sendmail.mc macro tools and scripts: &lt;A href="http://www.hpux.ws" target="_blank"&gt;http://www.hpux.ws&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 25 Jul 2005 10:00:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914201#M45897</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-07-25T10:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: backup dial-up connection</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914202#M45898</link>
      <description>&lt;BR /&gt;Write a small script which can handle this:&lt;BR /&gt;&lt;BR /&gt;* Check for cable modem availabiliy (Try pinging some known global machine) &lt;BR /&gt;* If it is down, bring up the dialup connection (use wvdial for script based dialup)&lt;BR /&gt;* Stop all services (if it is default internet gateway then disable ip_forwarding)&lt;BR /&gt;* Bring up sendmail and fetchmail services alone.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Tue, 26 Jul 2005 00:32:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914202#M45898</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-07-26T00:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: backup dial-up connection</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914203#M45899</link>
      <description>Thanks SEP &amp;amp; Gopi,&lt;BR /&gt;&lt;BR /&gt;Now I have a brief outline on how to do that. But you haven't answered my second question (required suggestion wether to use sendmail+other components or qmail/ postfix)?&lt;BR /&gt;Thanx in adv</description>
      <pubDate>Tue, 26 Jul 2005 00:41:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914203#M45899</guid>
      <dc:creator>kcpant</dc:creator>
      <dc:date>2005-07-26T00:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: backup dial-up connection</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914204#M45900</link>
      <description>&lt;BR /&gt;All the MTA's does the same job, each one has advantage over others. sendmail is more flexible interms of features and configurations but has its own drawback of speed and security (compared to other MTAs). qmail/postfix do offer better security and robustness over sendmail but they lack features(as I remember). &lt;BR /&gt;&lt;BR /&gt;So its all your call whether you want to sacrifice security and speed for feature or otherway around.&lt;BR /&gt;&lt;BR /&gt;It is same as Gnome vs KDE, both of them offer same functionality but in different ways. Gnome concentrates more on functionality and KDE towards the user interface.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
      <pubDate>Tue, 26 Jul 2005 01:11:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914204#M45900</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-07-26T01:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: backup dial-up connection</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914205#M45901</link>
      <description>Thanks Gopi,&lt;BR /&gt;&lt;BR /&gt;Now I have made a tiny script to check the connectivity through cable-modem ( forgive me if it looks bad, I don't have much experience of scripting!). If I run it through terminal , it works well, but if I make a cron entry into /etc/crontab to invoke this script every 2 minutes, I (means root) get an error-mail "TERM environment variable not set" for this entry. Please tell me what is the thing I skipped. Also suggest me to make this script better way.&lt;BR /&gt;&lt;BR /&gt;thanks in advance.&lt;BR /&gt;PS: script is attached.</description>
      <pubDate>Tue, 26 Jul 2005 03:42:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914205#M45901</guid>
      <dc:creator>kcpant</dc:creator>
      <dc:date>2005-07-26T03:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: backup dial-up connection</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914206#M45902</link>
      <description>&lt;BR /&gt;your problem looks like you are trying to open xterm program which requires running X. Also you need to export DISPLAY variable for xterm to work.&lt;BR /&gt;&lt;BR /&gt;I have attached the updated script which contains suggestions for handling this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Tue, 26 Jul 2005 04:14:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914206#M45902</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-07-26T04:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: backup dial-up connection</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914207#M45903</link>
      <description>thanks Gopi,&lt;BR /&gt;&lt;BR /&gt;Your suggestions helped me to understand what's wrong. But I want to get a display on standard output device (monitor) instead of mails. I have tried to set TERM &amp;amp; DISPLAY variables in this script , but no luck. Is there any other way round to get the disconnection error msg instantly displayed on the current display?&lt;BR /&gt;&lt;BR /&gt;thanks in advance</description>
      <pubDate>Tue, 26 Jul 2005 06:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914207#M45903</guid>
      <dc:creator>kcpant</dc:creator>
      <dc:date>2005-07-26T06:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: backup dial-up connection</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914208#M45904</link>
      <description>&lt;BR /&gt;I believe you want GUI based alert message. for that you need to have the localhost added using xhost. and also the cron job should be executed as the same user as who is logged on the X.&lt;BR /&gt;&lt;BR /&gt;if you want to send message to a particular console terminal (tty1 to 12) then you can use write command. check 'man write' for more info.&lt;BR /&gt;&lt;BR /&gt;if you want to send messages to all the terminals (including remote logins) then use wall command. check 'man wall' for information on this. run wall as root and you will get the message displayed to all the users who are logged on.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Tue, 26 Jul 2005 07:10:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914208#M45904</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-07-26T07:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: backup dial-up connection</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914209#M45905</link>
      <description>Closing threads open from a long time....</description>
      <pubDate>Wed, 04 Jan 2006 02:18:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-dial-up-connection/m-p/4914209#M45905</guid>
      <dc:creator>kcpant</dc:creator>
      <dc:date>2006-01-04T02:18:07Z</dc:date>
    </item>
  </channel>
</rss>

