All of lore.kernel.org
 help / color / mirror / Atom feed
* ppp problem
@ 2011-01-24  7:55 =?unknown-8bit?b?6buE5Y+26Z2S?=
  2011-01-24 10:56 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: =?unknown-8bit?b?6buE5Y+26Z2S?= @ 2011-01-24  7:55 UTC (permalink / raw)
  To: ofono

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

Hi,
I have got a problem about 3G connectrion from ofono, does anyone have idea to resolve it?
The  modem ishuawei EM560.

Here is the log:

ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property Path
ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property Registered
ofonod[940]: plugins/udev.c:add_modem() /devices/pci0000:00/0000:00:00.7/usb1/1-1/1-1.2/1-1.2:2.1/tty/ttyACM0 (huawei)
ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property ModemRegistered
ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property PcuiRegistered
ofonod[940]: plugins/udev.c:add_huawei() add_huaweiingggggggggg by hyq
ofonod[940]: plugins/udev.c:add_huawei() name =OFONO_HUAWEI_TYPE by hyq
ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property Modem
ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property ModemRegistered
ofonod[940]: plugins/udev.c:add_huawei() after ofono_modem_register by hyq ppp=1 pcui=0
ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property Path
ofonod[940]: plugins/udev.c:add_modem() /devices/pci0000:00/0000:00:00.7/usb1/1-1/1-1.2/1-1.2:2.3/tty/ttyACM1 (huawei)
ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property ModemRegistered
ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property PcuiRegistered
ofonod[940]: plugins/udev.c:add_huawei() add_huaweiingggggggggg by hyq
ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property HasVoice
ofonod[940]: plugins/udev.c:add_huawei() after ofono_modem_register by hyq ppp=1 pcui=0
ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property Path
ofonod[940]: plugins/udev.c:add_modem() /devices/pci0000:00/0000:00:00.7/usb1/1-1/1-1.2/1-1.2:2.7/tty/ttyACM2 (huawei)
ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property ModemRegistered
ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property PcuiRegistered
ofonod[940]: plugins/udev.c:add_huawei() name =OFONO_HUAWEI_TYPE by hyq
ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property Pcui
ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property PcuiRegistered

[root(a)localhost test]# ./activate-context
Entering new phase: 1
Entering new phase: 3
Entering new phase: 4
ofonod[815]: drivers/atmodem/gprs-context.c:ppp_connect()
ofonod[815]: IP: 0.0.0.0
ofonod[815]: DNS: 0.0.0.0, 0.0.0.0
ofonod[815]: src/gprs.c:pri_activate_callback() 0xa063660 ppp0

[root(a)localhost test]# ./list-contexts
[ /huawei0 ]
    [ /huawei0/primarycontext1 ]
        Username = tee
        Protocol = ip
        Name = 3G Connection
        Settings = { Interface=ppp0 Netmask=255.255.255.255 Method=static DomainNameServers=0.0.0.0,0.0.0.0, Address=0.0.0.0 }
        Active = 1
        AccessPointName = cmwap
        Password = tee
        Type = internet

 I just cant get the the DNS and address. Does anyone have any idea ?

Thanks!






[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 3785 bytes --]

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

* Re: ppp problem
  2011-01-24  7:55 ppp problem =?unknown-8bit?b?6buE5Y+26Z2S?=
@ 2011-01-24 10:56 ` Marcel Holtmann
  2011-01-26  1:30   ` =?unknown-8bit?b?6buE5Y+26Z2S?=
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2011-01-24 10:56 UTC (permalink / raw)
  To: ofono

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

Hi,

> I have got a problem about 3G connectrion from ofono, does anyone have
> idea to resolve it? 
> The  modem is huawei EM560. 
> 
> Here is the log:
> 
> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
> Path
> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
> Registered
> ofonod[940]:
> plugins/udev.c:add_modem() /devices/pci0000:00/0000:00:00.7/usb1/1-1/1-1.2/1-1.2:2.1/tty/ttyACM0 (huawei)
> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
> ModemRegistered
> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
> PcuiRegistered
> ofonod[940]: plugins/udev.c:add_huawei() add_huaweiingggggggggg by hyq
> ofonod[940]: plugins/udev.c:add_huawei() name =OFONO_HUAWEI_TYPE by
> hyq
> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
> Modem
> ofonod[940]: src/modem.c:set_modem_property() m odem 0x8d49058
> property ModemRegistered
> ofonod[940]: plugins/udev.c:add_huawei() after ofono_modem_register by
> hyq ppp=1 pcui=0
> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
> Path
> ofonod[940]:
> plugins/udev.c:add_modem() /devices/pci0000:00/0000:00:00.7/usb1/1-1/1-1.2/1-1.2:2.3/tty/ttyACM1 (huawei)
> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
> ModemRegistered
> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
> PcuiRegistered
> ofonod[940]: plugins/udev.c:add_huawei() add_huaweiingggggggggg by hyq
> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
> HasVoice
> ofonod[940]: plugins/udev.c:add_huawei() after ofono_modem_register by
> hyq ppp=1 pcui=0
> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
> Path
> ofonod[940]:
> plugins/udev.c:add_modem() /devices/pci0000:00/0000:00:00.7/usb1/1-1/1-1.2/1-1.2:2.7/tty/ttyACM2 (huawei)
> ofonod[940]: src/modem.c:g et_modem_property() modem 0x8d49058
> property ModemRegistered
> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
> PcuiRegistered
> ofonod[940]: plugins/udev.c:add_huawei() name =OFONO_HUAWEI_TYPE by
> hyq
> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
> Pcui
> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
> PcuiRegistered
> 
> [root(a)localhost test]# ./activate-context 
> Entering new phase: 1
> Entering new phase: 3
> Entering new phase: 4
> ofonod[815]: drivers/atmodem/gprs-context.c:ppp_connect() 
> ofonod[815]: IP: 0.0.0.0
> ofonod[815]: DNS: 0.0.0.0, 0.0.0.0
> ofonod[815]: src/gprs.c:pri_activate_callback() 0xa063660 ppp0

no idea what goes wrong here, but the network or your modem firmware
basically tells you that the IP address is not set.

Run with OFONO_PPP_DEBUG=1 and see if it gives you more details.

Regards

Marcel



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

* Re:Re: ppp problem
  2011-01-24 10:56 ` Marcel Holtmann
@ 2011-01-26  1:30   ` =?unknown-8bit?b?6buE5Y+26Z2S?=
  0 siblings, 0 replies; 3+ messages in thread
From: =?unknown-8bit?b?6buE5Y+26Z2S?= @ 2011-01-26  1:30 UTC (permalink / raw)
  To: ofono

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

Hi All,

Thanks for reply. Maybe I have a step abnormal not reported.  Command
"AT+CGDATA=\"PPP\",%u" is not responded correctly. That is, the first
parameter of at_cgdata_cb is not ture. but I just ignored it, and go
 to setup_ppp(gc) forcibly. Can you please give me any advice. Your
 reply is appreciated.




At 2011-01-24 18:56:17,"Marcel Holtmann" <marcel@holtmann.org> wrote:

>Hi,
>
>> I have got a problem about 3G connectrion from ofono, does anyone have
>> idea to resolve it? 
>> The  modem is huawei EM560. 
>> 
>> Here is the log:
>> 
>> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
>> Path
>> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
>> Registered
>> ofonod[940]:
>> plugins/udev.c:add_modem() /devices/pci0000:00/0000:00:00.7/usb1/1-1/1-1.2/1-1.2:2.1/tty/ttyACM0 (huawei)
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> ModemRegistered
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> PcuiRegistered
>> ofonod[940]: plugins/udev.c:add_huawei() add_huaweiingggggggggg by hyq
>> ofonod[940]: plugins/udev.c:add_huawei() name =OFONO_HUAWEI_TYPE by
>> hyq
>> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
>> Modem
>> ofonod[940]: src/modem.c:set_modem_property() m odem 0x8d49058
>> property ModemRegistered
>> ofonod[940]: plugins/udev.c:add_huawei() after ofono_modem_register by
>> hyq ppp=1 pcui=0
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> Path
>> ofonod[940]:
>> plugins/udev.c:add_modem() /devices/pci0000:00/0000:00:00.7/usb1/1-1/1-1.2/1-1.2:2.3/tty/ttyACM1 (huawei)
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> ModemRegistered
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> PcuiRegistered
>> ofonod[940]: plugins/udev.c:add_huawei() add_huaweiingggggggggg by hyq
>> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
>> HasVoice
>> ofonod[940]: plugins/udev.c:add_huawei() after ofono_modem_register by
>> hyq ppp=1 pcui=0
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> Path
>> ofonod[940]:
>> plugins/udev.c:add_modem() /devices/pci0000:00/0000:00:00.7/usb1/1-1/1-1.2/1-1.2:2.7/tty/ttyACM2 (huawei)
>> ofonod[940]: src/modem.c:g et_modem_property() modem 0x8d49058
>> property ModemRegistered
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> PcuiRegistered
>> ofonod[940]: plugins/udev.c:add_huawei() name =OFONO_HUAWEI_TYPE by
>> hyq
>> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
>> Pcui
>> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
>> PcuiRegistered
>> 
>> [root(a)localhost test]# ./activate-context 
>> Entering new phase: 1
>> Entering new phase: 3
>> Entering new phase: 4
>> ofonod[815]: drivers/atmodem/gprs-context.c:ppp_connect() 
>> ofonod[815]: IP: 0.0.0.0
>> ofonod[815]: DNS: 0.0.0.0, 0.0.0.0
>> ofonod[815]: src/gprs.c:pri_activate_callback() 0xa063660 ppp0
>
>no idea what goes wrong here, but the network or your modem firmware
>basically tells you that the IP address is not set.
>
>Run with OFONO_PPP_DEBUG=1 and see if it gives you more details.
>
>Regards
>
>Marcel
>
>
>_______________________________________________
>ofono mailing list
>ofono(a)ofono.org
>http://lists.ofono.org/listinfo/ofono

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 5178 bytes --]

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

end of thread, other threads:[~2011-01-26  1:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-24  7:55 ppp problem =?unknown-8bit?b?6buE5Y+26Z2S?=
2011-01-24 10:56 ` Marcel Holtmann
2011-01-26  1:30   ` =?unknown-8bit?b?6buE5Y+26Z2S?=

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.