Providing advanced pppd option
- From: Shakthi Prasad GS <shakthi gs87 gmail com>
- To: networkmanager-list gnome org
- Subject: Providing advanced pppd option
- Date: Fri, 13 Aug 2010 08:31:25 +0530
Hi all,
I was trying connect to internet via samsung usb modem. But I could do
the same using pon poff script.
So I checkout NM source files and found that NM is not passing all the
argument which my pon script passing. After a quick hack I could manage
NM working with my phone. (Of course I even had problem with
ModemManager)
I just added "receive-all" option to pppd command line. It worked.
But man pppd says "This option should only be needed if the peer is
buggy."
I request to provide a way to add additional pppd options to support my
connection.
-Thanks
shakthi
PS:I am a newbie, sorry if I am breaking convention of this list.
diff --git a/src/ppp-manager/nm-ppp-manager.c
b/src/ppp-manager/nm-ppp-manager.c
index 148ad2c..1a564b6 100644
--- a/src/ppp-manager/nm-ppp-manager.c
+++ b/src/ppp-manager/nm-ppp-manager.c
@@ -736,6 +736,7 @@ create_pppd_cmd_line (NMPPPManager *self,
nm_cmd_line_add_string (cmd, "nodetach");
nm_cmd_line_add_string (cmd, "lock");
+ nm_cmd_line_add_string (cmd, "receive-all");
/* NM handles setting the default route */
nm_cmd_line_add_string (cmd, "nodefaultroute");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]