Open Source Telephony
 help / color / mirror / Atom feed
* [PATCH] mbmmodem: Fix ip netmask should be 255.255.255.255
@ 2010-06-23  1:06 Zhenhua Zhang
  2010-06-23  6:58 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Zhenhua Zhang @ 2010-06-23  1:06 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

Change static IP netmask to 255.255.255.255.
---
 drivers/mbmmodem/gprs-context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mbmmodem/gprs-context.c b/drivers/mbmmodem/gprs-context.c
index cca5087..2d0e4e2 100644
--- a/drivers/mbmmodem/gprs-context.c
+++ b/drivers/mbmmodem/gprs-context.c
@@ -48,7 +48,7 @@
 
 #define MAX_DNS 5
 
-#define STATIC_IP_NETMASK "255.255.255.248"
+#define STATIC_IP_NETMASK "255.255.255.255"
 
 static const char *none_prefix[] = { NULL };
 static const char *e2ipcfg_prefix[] = { "*E2IPCFG:", NULL };
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mbmmodem: Fix ip netmask should be 255.255.255.255
  2010-06-23  1:06 [PATCH] mbmmodem: Fix ip netmask should be 255.255.255.255 Zhenhua Zhang
@ 2010-06-23  6:58 ` Marcel Holtmann
  2010-06-23  7:40   ` Zhang, Zhenhua
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2010-06-23  6:58 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 844 bytes --]

Hi Zhenhua,

> Change static IP netmask to 255.255.255.255.
> ---
>  drivers/mbmmodem/gprs-context.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/mbmmodem/gprs-context.c b/drivers/mbmmodem/gprs-context.c
> index cca5087..2d0e4e2 100644
> --- a/drivers/mbmmodem/gprs-context.c
> +++ b/drivers/mbmmodem/gprs-context.c
> @@ -48,7 +48,7 @@
>  
>  #define MAX_DNS 5
>  
> -#define STATIC_IP_NETMASK "255.255.255.248"
> +#define STATIC_IP_NETMASK "255.255.255.255"
>  
>  static const char *none_prefix[] = { NULL };
>  static const char *e2ipcfg_prefix[] = { "*E2IPCFG:", NULL };

did you see a problem with this or why do you propose this change. The
old f35xx gives this netmask back when using DHCP. What does the f36xx
and later return when using DHCP?

Regards

Marcel



^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] mbmmodem: Fix ip netmask should be 255.255.255.255
  2010-06-23  6:58 ` Marcel Holtmann
@ 2010-06-23  7:40   ` Zhang, Zhenhua
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang, Zhenhua @ 2010-06-23  7:40 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1363 bytes --]

Hi Marcel,

Marcel Holtmann wrote:
> Hi Zhenhua,
> 
>> Change static IP netmask to 255.255.255.255.
>> ---
>>  drivers/mbmmodem/gprs-context.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>> 
>> diff --git a/drivers/mbmmodem/gprs-context.c
> b/drivers/mbmmodem/gprs-context.c
>> index cca5087..2d0e4e2 100644
>> --- a/drivers/mbmmodem/gprs-context.c
>> +++ b/drivers/mbmmodem/gprs-context.c
>> @@ -48,7 +48,7 @@
>> 
>>  #define MAX_DNS 5
>> 
>> -#define STATIC_IP_NETMASK "255.255.255.248"
>> +#define STATIC_IP_NETMASK "255.255.255.255"
>> 
>>  static const char *none_prefix[] = { NULL };
>>  static const char *e2ipcfg_prefix[] = { "*E2IPCFG:", NULL };
> 
> did you see a problem with this or why do you propose this change. The
> old f35xx gives this netmask back when using DHCP. What does the f36xx
> and later return when using DHCP?

I tested f3607gw again and found the netmask 255.255.255.248. Originally, I thought it should be consistent with atmodem netmask value. Why the netmask is xx.248 instead of xx.255? If I use wvdial to dial GPRS on f3607gw, the netmask is 255.255.255.255 from ifconfig output.
 
> Regards
> 
> Marcel
> 
> 
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono



Regards,
Zhenhua


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-23  7:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-23  1:06 [PATCH] mbmmodem: Fix ip netmask should be 255.255.255.255 Zhenhua Zhang
2010-06-23  6:58 ` Marcel Holtmann
2010-06-23  7:40   ` Zhang, Zhenhua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox