[SOLVED]EC25-E - Can't see any ip address in output of ifconfig

Hello,
I am trying to use EC25-E.

1- I first compiled GobiNet and usbserial modules for this purpose and I insert usbserial and GobiNet modules respectively at init. Now I can see usb0 in the output of ifconfig command.

2-After that, I send AT commands to modem with using /dev/ttyUSB2.
After I send all AT commands to modem, I can see my ip address using “AT+CGPADDR” command.

But here is the problem:
When I execute ifconfig in this step, I can’t see any ip address that attached to usb0.
I also try to use udhcpc for take ip, it doesn’t work.

Here is output of some commands:

AT+COPS?
+COPS: 0,0,“vodafone TR”,7
OK

AT+CREG?
+CREG: 0,1
OK

AT+CGREG?
+CGREG: 0,1
OK

AT+CSQ
+CSQ: 29,99
OK

AT+CGDCONT?
+CGDCONT: 1,“IP”,“internet”,“0.0.0.0”,0,0,0,0
OK

AT+CGATT?
+CGATT: 1
OK

AT+CGACT?
+CGACT: 1,1
OK

AT+CGPADDR=1
+CGPADDR: 1,“10.85.48.71”
OK

output of ifconfig:

$ifconfig usb0
usb0 Link encap:Ethernet HWaddr 0E:16:B3:78:66:4F
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:12096 (11.8 KiB)

lastly here is the output of udhcpc command output.

/sbin/udhcpc -f -n -q -t 5 -i usb0
udhcpc (v1.16.2) started
Sending discover…
Sending discover…
Sending discover…
Sending discover…
Sending discover…
/usr/share/udhcpc/default.script: Lease failed:
No lease, failing

So,
Could you help me about this issue ? How can I see ip address in the output of ifconfig?

Dear Sir,
Thanks for your inquiry.
For your question, i have some information need confirm with you,

  1. For 1 step, you just insert module to your main board, right?
  2. Whether you use any dial tool to dial a data call ?
    From your description, i can not see such information. So for your question, i think you can use the tool we provided to dial a data call, when you connect to internet, it will show the IP address.Please check the following two methods to setup a data call. Hopefully it is useful to you. Thanks!
    Please click the following link to download your needed Connect Manager program. Thanks!
    https://cnquectel-my.sharepoint.com/:u:/g/personal/asean-fae_quectel_com/ESontp9bZVBKtvPHwonpCtsBDTOU4aK-kw4HUqQzjpk67A?e=d5yZUe




image


Hi Kyson,
Section 5.4 Test “AT$QCRMCALL” on GobiNet or QMI WWAN solved my problem.

Thank you very much.
Şükrü.