[LineControl-development] Help with configuration on lineserv on CentOS (SME)
Brought to you by:
sfuchs
|
From: <bro...@ne...> - 2007-05-10 15:23:14
|
I recently downloaded and compiled linesrv (linesrv-2.1.21.src.tar.bz2 <http://downloads.sourceforge.net/linecontrol/linesrv-2.1.21.src.tar.bz2?modtime=1111340335&big_mirror=0>) from sourceforge. No problems there. Then I edited the config file to fit my setup, and when the linesrv program is executed it starts up OK and displays its config. I then downloaded WLC (wlc-2.0.6-static.zip <http://linecontrol.srf.ch/down/wlc-2.0.6-static.zip>) from the linecontrol.srf.ch website and installed that on a WinXP laptop. Once I configured that, I was able to connect to the linesrv daemon on the SME box, but it won't display connection status for ppp0 (my dialup connection) and won't allow me to bring the connection up/down from WLC. My first thought was that the "service wan up" and "service wan down" commands I would normally use to connect/disconnect were the problem. I thought maybe the config file didn't like the fact that those contain spaces, so I created two basic scripts: wanup: #!/bin/sh service wan start wandown: #!/bin/sh service wan stop which I added to my /etc/ppp directory. Then I changed the two lines in my config file to point to those instead, but it didn't help... Please let me know if you need more info to troubleshoot this. I wasn't sure what the policy was on this mailing list for attached files, so I have not included my linesrv.conf file. Here is the section I think may be relevant though: line CWNet script_up /etc/ppp/wanup script_dn /etc/ppp/wandown interface ppp0 con_type netdev #mklog yes line_baud_up 53000 line_baud_down 53000 allow_manually no #script_esc /etc/ippp/isdn.hangup #con_status_file /var/lib/linesrv/con-is-up con_timeout 20 #con_down_timeout 60 send_throughput yes line_locking no TIA! Any assistance would be appreciated. -- --==From the mailbox of B. Wheeler==-- Gossip is when you hear something you like about someone you don't. |