File gnome-applets-modemlights-smpppd.patch of Package gnome-applets
--- modemlights/modemlights.c
+++ modemlights/modemlights.c
@@ -1497,8 +1497,8 @@
mldata->device_name = g_strdup("ppp0");
- mldata->command_connect = g_strdup("pppon");
- mldata->command_disconnect = g_strdup("pppoff");
+ mldata->command_connect = g_strdup("cinternet --start");
+ mldata->command_disconnect = g_strdup("cinternet --stop");
mldata->orient = panel_applet_get_orient (applet);
/* open ip socket */
--- modemlights/modemlights.schemas.in
+++ modemlights/modemlights.schemas.in
@@ -27,7 +27,7 @@
<key>/schemas/apps/modemlights/prefs/connect</key>
<owner>modemlights_applet2</owner>
<type>string</type>
- <default>pppon</default>
+ <default>cinternet --start</default>
<locale name="C">
<short>Command executed when connecting</short>
<long>Use this command to connect the modem.</long>
@@ -38,7 +38,7 @@
<key>/schemas/apps/modemlights/prefs/disconnect</key>
<owner>modemlights_applet2</owner>
<type>string</type>
- <default>pppoff</default>
+ <default>cinternet --stop</default>
<locale name="C">
<short>Command executed when disconnecting</short>
<long>Use this command to disconnect the modem.</long>
--- modemlights/properties.c
+++ modemlights/properties.c
@@ -117,10 +117,10 @@
mldata->command_connect = panel_applet_gconf_get_string(applet, "connect", NULL);
if (!mldata->command_connect)
- mldata->command_connect = g_strdup ("pppon");
+ mldata->command_connect = g_strdup ("cinternet --start");
mldata->command_disconnect = panel_applet_gconf_get_string(applet, "disconnect", NULL);
if (!mldata->command_disconnect)
- mldata->command_disconnect = g_strdup ("pppoff");
+ mldata->command_disconnect = g_strdup ("cinternet --stop");
mldata->ask_for_confirmation = panel_applet_gconf_get_int(applet, "confirmation", NULL);
mldata->device_name = panel_applet_gconf_get_string(applet, "device", NULL);
if (!mldata->device_name)