Re: Providing advanced pppd option
- From: Dan Williams <dcbw redhat com>
- To: Shakthi Prasad GS <shakthi gs87 gmail com>
- Cc: networkmanager-list gnome org
- Subject: Re: Providing advanced pppd option
- Date: Fri, 13 Aug 2010 00:19:12 -0500
On Fri, 2010-08-13 at 08:31 +0530, Shakthi Prasad GS wrote:
> 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."
Interesting. What specific modem is this, and can you provide the
output of 'lsusb' when the device is connected? (assuming it's a USB
device).
I'll try to figure out how to handle this; I don't think we need a
manual checkbox here since this is something normal users should never
have to see; we should just make this happen automatically for the
hardware. Thanks for figuring this out!
Dan
> 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");
>
>
>
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]