I access the internet through a modem and everything works well: www, email, ftp, news. Now I want to automize things. Just for a test, I added the following line to /etc/wvdial.conf: WVDialMon Exec = echo "This is wvdial speaking" The message doesn't appear when connecting to my ISP. Then I created /etc/ppp/ip-up.local with the line echo "This is ip-up.local speaking" and the comment doesn't appear either. What am I missing? I am working with SuSE 8.0. ------------------------------------------------- Frank Hrebabetzky Tel.: +55 / 48 / 9998 7686 Florianopolis email: frankh@terra.com.br Brazil
The 03.02.07 at 11:47, Frank Hrebabetzky wrote:
I access the internet through a modem and everything works well: www, email, ftp, news. Now I want to automize things.
I have been doing that for years... but if you have suse 8.1, you can see it in /etc/ppp/poll.tcpip.
Just for a test, I added the following line to /etc/wvdial.conf: WVDialMon Exec = echo "This is wvdial speaking" The message doesn't appear when connecting to my ISP.
I don't find any "exec" keyword on "man wvdial". :-?
Then I created /etc/ppp/ip-up.local with the line echo "This is ip-up.local speaking" and the comment doesn't appear either.
It is not output to a console: daemons have none. In any case, it would go to a log file, or most probably, nowhere. Use "logger" instead. -- Cheers.
On Mon, 10 Feb 2003, Carlos E. R. wrote:
The 03.02.07 at 11:47, Frank Hrebabetzky wrote:
WVDialMon Exec = echo "This is wvdial speaking" I don't find any "exec" keyword on "man wvdial". :-?
Ok, I don't find it either any more. It was there in version 7.2.
Then I created /etc/ppp/ip-up.local with the line echo "This is ip-up.local speaking" and the comment doesn't appear either.
It is not output to a console: daemons have none. In any case, it would go to a log file, or most probably, nowhere. Use "logger" instead.
I dived a little deeper in ip-up and found that it calls ip-up.local with redirection to /dev/null. Deleted that part. I then looked around in the www and according to some stetements there changed each 'echo ...' to '/bin/echo ... > /dev/console'. Now I get my messages. Thanks for the hint. ------------------------------------------------- Frank Hrebabetzky Tel.: +55 / 48 / 9998 7686 Florianopolis email: frankh@terra.com.br Brazil
participants (2)
-
Carlos E. R.
-
Frank Hrebabetzky