Comment 15 for bug 121487

Revision history for this message
wm_eddie (wm-eddie) wrote :

Looks like it a fix wasn't as complicated as I thought. It turns out in line 114 of gnome-ppp-wvdial.c it checks for the string "--> Starting pppd". But in out cases wvdial instead responds with "Don't know what to do! Starting pppd and hoping for the best." So to fix it I changed the line to just check for "Starting pppd". Here's a diff of my change:

--- gnome-ppp-wvdial.c~ 2005-02-02 04:28:25.000000000 +0900
+++ gnome-ppp-wvdial.c 2007-10-17 01:13:41.000000000 +0900
@@ -111,7 +111,7 @@
                gtk_widget_show (gnome_ppp.connecting.window);
        }
        /* we're about to connect (pppd) */
- if (g_strrstr (line, "--> Starting pppd") != NULL) {
+ if (g_strrstr (line, "Starting pppd") != NULL) {
                gboolean minimize;

                minimize = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (gnome_ppp.setup.minimize));

The developers might like something more specific though.

Hopes this helps.

wm_eddie