################################################################# # # # For a full documentation off all options please have a look # # at /usr/share/doc/linesrv-x.xx/linesrc.conf.documentation # # ------------------------------------------------------------- # # Feel free to provide us a line-definition that works for you # # and you think it will be usefull for others too # # # ################################################################# #----------------------- # Server Port #----------------------- # Please look if the IP linesrv binds to is set correct # # for local network only (only one machine) # # 127.0.0.1 should be set # bind_to 192.168.1.1 port 16007 user_accounting yes logfile /var/log/linesrv/dialsrv.log pidfile /var/run/linesrv.pid html_status /var/lib/linesrv/htmlstatus filter_type allow filter_mask 0.0.0.0 0.0.0.0 ################ line ppp(modem) ################ script_up /sbin/ifup ppp0 script_dn /sbin/ifdown ppp0 interface ppp0 con_type netdev line_baud_up 57600 line_baud_down 57600 allow_manually no script_esc /bin/true send_throughput yes line_locking no pinger no #################### line adsl(rp-pppoe) #################### script_up /usr/sbin/adsl-start script_down /usr/sbin/adsl-stop interface ppp0 con_type netdev # For better troughput display please adjust the speed values # # the speed rate have to be given in baud (bps) # line_baud_up 768000 line_baud_down 128000 allow_manually no script_esc /bin/true send_throughput yes line_locking no pinger no ############# line isdn ############# script_up /usr/lib/linesrv/isdn_up ippp0 script_dn /usr/lib/linesrv/isdn_down ippp0 interface ippp0 con_type isdn line_baud_up 64000 line_baud_down 64000 allow_manually no script_esc /usr/lib/linesrv/isdn_restart send_throughput yes line_locking no pinger no # HiSax seems to be valid for most cases # # Please ensure that isdn_id is the same as # # imon show you as Line Id # isdn_id HiSax isdn_channel 0 isdn_channel_op /usr/lib/linesrv/isdn_2ch ################ line capiplugin ################ # Please modify it to the peer you wish. I have choosen arcor # # as it is in the distribution of the pppdcapiplugin # # "isdn/arcor" is related to /etc/ppp/peers/isdn/arcor. # # Look there to find a peer that fit your needs # script_up /usr/lib/linesrv/pppdcapi_up isdn/arcor script_dn /usr/lib/linesrv/pppdcapi_down isdn/arcor interface ppp0 con_type netdev line_baud_up 64000 line_baud_down 64000 allow_manually no script_esc /bin/true send_throughput yes line_locking no pinger no isdn_channel_op /usr/lib/linesrv/pppdcapi_2ch