Koozali.org: home of the SME Server

E-smith dialup0.1.1 mods

John Crisp

E-smith dialup0.1.1 mods
« on: December 03, 2002, 04:06:06 PM »
Hi,

I have a quick question regarding the e-smith-dialup.0.1-1.rpm that I use. I have an external ISDN TA that works brilliantly with dialup - changing the ISP is much easier. It didn’t much like the X3 / X4 Wait for Dial tone settings so I took them out of the chatppp0/30dialup script.

The other day, I had a big file to D/L so I went back to the 30dialup script and added &J2 / &J0 where the X3/X4 used to go, which lets me change to a single / bonded connection.

All works hunky dory – select Yes or No from the Wait for dialup to select bonded / single connection type.

Question is, how do I change the web panel to reflect this ?

I can see the file /etc/e-smith/web/functions/dialup where it generates the page but have tried to change without success :

        esmith::cgi::genWidgetRow ($q,
                  "Wait for Dial Tone",
                  $q->popup_menu(-name => 'waitfordialtone',
                           -values => ['yes', 'no'],
                       -default => $conf {'DialupWaitfordialtone'},
                       -labels => \%dialtoneLabels)),


If I change the “Wait for Dial Tone” to “Bonded / Single” or whatever, it all goes pear shaped.

Anyone give some pointers on how to change this ?

B. Rgds
John