DHCP client fails to get IP address (Modem EM7430)












0















O/S: Raspberry Pi running Raspbian GNU/Linux 8 (jessie)



Kernel: Linux 4.9.24-v7+



Ran ip addr and confirmed wwan0 and wwan1 interfaces are created.



wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether ce:d3:4d:fc:a7:9b brd ff:ff:ff:ff:ff:ff
inet 169.254.160.49/16 brd 169.254.255.255 scope global wwan0
valid_lft forever preferred_lft forever

wwan1: .....


Successfully started



qmi-network /dev/cdc-wdm0 start


Ran



qmicli -d /dev/cdc-wdm0 --wda-get-data-format


and got result



                        QoS flow header: no
Link layer protocol: 'raw-ip'
Uplink data aggregation protocol: 'disabled'
Downlink data aggregation protocol: 'disabled'
NDP signature: '0'
Downlink data aggregation max datagrams: '0'
Downlink data aggregation max size: '0'


Ran



qmicli -d /dev/cdc-wdm0 --nas-get-signal-strength


and got result



Current:
Network 'umts': '-103 dBm'
RSSI:
Network 'umts': '-103 dBm'
ECIO:
Network 'umts': -10.0 dBm'
IO: '-106 dBm'
SINR: (8) '9.0 dB'


Ran



dhclient -v wwan0


and got result



Internet Systems Consortium DHCP Client 4.3.1
...

Listening on LPF/wwan0/ce:d3:4d:fc:a7:9b
Sending on LPF/wwan0/ce:d3:4d:fc:a7:9b
Sending on Socket/fallback
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 8
....
....


I tried a lot of times and still cannot get the IP address.



Any help is appreciated.





Edited:



Also, I have tried to change the link layer protocol to 802-3



qmicli -d /dev/cdc-wdm0 --wda-set-data-format=802-3


The message said 'Successfully set data format', but the link layer protocol still is 'raw-ip'.










share|improve this question

























  • Run dhcpcd command

    – GAD3R
    Oct 10 '17 at 16:38











  • Installed dhcpcd and ran dhcpcd wwan0. Still cannot get the IP address.

    – aobs
    Oct 11 '17 at 2:27
















0















O/S: Raspberry Pi running Raspbian GNU/Linux 8 (jessie)



Kernel: Linux 4.9.24-v7+



Ran ip addr and confirmed wwan0 and wwan1 interfaces are created.



wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether ce:d3:4d:fc:a7:9b brd ff:ff:ff:ff:ff:ff
inet 169.254.160.49/16 brd 169.254.255.255 scope global wwan0
valid_lft forever preferred_lft forever

wwan1: .....


Successfully started



qmi-network /dev/cdc-wdm0 start


Ran



qmicli -d /dev/cdc-wdm0 --wda-get-data-format


and got result



                        QoS flow header: no
Link layer protocol: 'raw-ip'
Uplink data aggregation protocol: 'disabled'
Downlink data aggregation protocol: 'disabled'
NDP signature: '0'
Downlink data aggregation max datagrams: '0'
Downlink data aggregation max size: '0'


Ran



qmicli -d /dev/cdc-wdm0 --nas-get-signal-strength


and got result



Current:
Network 'umts': '-103 dBm'
RSSI:
Network 'umts': '-103 dBm'
ECIO:
Network 'umts': -10.0 dBm'
IO: '-106 dBm'
SINR: (8) '9.0 dB'


Ran



dhclient -v wwan0


and got result



Internet Systems Consortium DHCP Client 4.3.1
...

Listening on LPF/wwan0/ce:d3:4d:fc:a7:9b
Sending on LPF/wwan0/ce:d3:4d:fc:a7:9b
Sending on Socket/fallback
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 8
....
....


I tried a lot of times and still cannot get the IP address.



Any help is appreciated.





Edited:



Also, I have tried to change the link layer protocol to 802-3



qmicli -d /dev/cdc-wdm0 --wda-set-data-format=802-3


The message said 'Successfully set data format', but the link layer protocol still is 'raw-ip'.










share|improve this question

























  • Run dhcpcd command

    – GAD3R
    Oct 10 '17 at 16:38











  • Installed dhcpcd and ran dhcpcd wwan0. Still cannot get the IP address.

    – aobs
    Oct 11 '17 at 2:27














0












0








0








O/S: Raspberry Pi running Raspbian GNU/Linux 8 (jessie)



Kernel: Linux 4.9.24-v7+



Ran ip addr and confirmed wwan0 and wwan1 interfaces are created.



wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether ce:d3:4d:fc:a7:9b brd ff:ff:ff:ff:ff:ff
inet 169.254.160.49/16 brd 169.254.255.255 scope global wwan0
valid_lft forever preferred_lft forever

wwan1: .....


Successfully started



qmi-network /dev/cdc-wdm0 start


Ran



qmicli -d /dev/cdc-wdm0 --wda-get-data-format


and got result



                        QoS flow header: no
Link layer protocol: 'raw-ip'
Uplink data aggregation protocol: 'disabled'
Downlink data aggregation protocol: 'disabled'
NDP signature: '0'
Downlink data aggregation max datagrams: '0'
Downlink data aggregation max size: '0'


Ran



qmicli -d /dev/cdc-wdm0 --nas-get-signal-strength


and got result



Current:
Network 'umts': '-103 dBm'
RSSI:
Network 'umts': '-103 dBm'
ECIO:
Network 'umts': -10.0 dBm'
IO: '-106 dBm'
SINR: (8) '9.0 dB'


Ran



dhclient -v wwan0


and got result



Internet Systems Consortium DHCP Client 4.3.1
...

Listening on LPF/wwan0/ce:d3:4d:fc:a7:9b
Sending on LPF/wwan0/ce:d3:4d:fc:a7:9b
Sending on Socket/fallback
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 8
....
....


I tried a lot of times and still cannot get the IP address.



Any help is appreciated.





Edited:



Also, I have tried to change the link layer protocol to 802-3



qmicli -d /dev/cdc-wdm0 --wda-set-data-format=802-3


The message said 'Successfully set data format', but the link layer protocol still is 'raw-ip'.










share|improve this question
















O/S: Raspberry Pi running Raspbian GNU/Linux 8 (jessie)



Kernel: Linux 4.9.24-v7+



Ran ip addr and confirmed wwan0 and wwan1 interfaces are created.



wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether ce:d3:4d:fc:a7:9b brd ff:ff:ff:ff:ff:ff
inet 169.254.160.49/16 brd 169.254.255.255 scope global wwan0
valid_lft forever preferred_lft forever

wwan1: .....


Successfully started



qmi-network /dev/cdc-wdm0 start


Ran



qmicli -d /dev/cdc-wdm0 --wda-get-data-format


and got result



                        QoS flow header: no
Link layer protocol: 'raw-ip'
Uplink data aggregation protocol: 'disabled'
Downlink data aggregation protocol: 'disabled'
NDP signature: '0'
Downlink data aggregation max datagrams: '0'
Downlink data aggregation max size: '0'


Ran



qmicli -d /dev/cdc-wdm0 --nas-get-signal-strength


and got result



Current:
Network 'umts': '-103 dBm'
RSSI:
Network 'umts': '-103 dBm'
ECIO:
Network 'umts': -10.0 dBm'
IO: '-106 dBm'
SINR: (8) '9.0 dB'


Ran



dhclient -v wwan0


and got result



Internet Systems Consortium DHCP Client 4.3.1
...

Listening on LPF/wwan0/ce:d3:4d:fc:a7:9b
Sending on LPF/wwan0/ce:d3:4d:fc:a7:9b
Sending on Socket/fallback
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 8
....
....


I tried a lot of times and still cannot get the IP address.



Any help is appreciated.





Edited:



Also, I have tried to change the link layer protocol to 802-3



qmicli -d /dev/cdc-wdm0 --wda-set-data-format=802-3


The message said 'Successfully set data format', but the link layer protocol still is 'raw-ip'.







debian modem dhclient






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 11 '17 at 4:30







aobs

















asked Oct 10 '17 at 15:38









aobsaobs

1416




1416













  • Run dhcpcd command

    – GAD3R
    Oct 10 '17 at 16:38











  • Installed dhcpcd and ran dhcpcd wwan0. Still cannot get the IP address.

    – aobs
    Oct 11 '17 at 2:27



















  • Run dhcpcd command

    – GAD3R
    Oct 10 '17 at 16:38











  • Installed dhcpcd and ran dhcpcd wwan0. Still cannot get the IP address.

    – aobs
    Oct 11 '17 at 2:27

















Run dhcpcd command

– GAD3R
Oct 10 '17 at 16:38





Run dhcpcd command

– GAD3R
Oct 10 '17 at 16:38













Installed dhcpcd and ran dhcpcd wwan0. Still cannot get the IP address.

– aobs
Oct 11 '17 at 2:27





Installed dhcpcd and ran dhcpcd wwan0. Still cannot get the IP address.

– aobs
Oct 11 '17 at 2:27










3 Answers
3






active

oldest

votes


















0














Couldn't the problem be with the server? Did you try other devices/PCs to make sure they are getting an IP or not? The problem could possibly be with the DHCP server for some reason.
Make also sure you are not using a static IP configured on the interface. (I can see you are getting an APIPA address but what is the config in the wwan0.conf for example?






share|improve this answer
























  • I can use dhcp to get IP address for my eth0 device. So, it is working fine. I suspect the EM7430 is raw-ip only and dhcp will not work. I need to confirm this.

    – aobs
    Oct 11 '17 at 8:31



















0














Thanks all for your help.



I found out that the EM7430 does not support 802-3 and is raw ip only. It does not work with dhclient nor dhcpcd.






share|improve this answer































    0














    dhclient and dhcpcd don't seem to have support for raw-ip. I did however manage to get an IP with udhcpc. It's not available on all Linux distros though, so you're limited to Debian based distros.






    share|improve this answer








    New contributor




    Arthur C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.




















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "106"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f397253%2fdhcp-client-fails-to-get-ip-address-modem-em7430%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Couldn't the problem be with the server? Did you try other devices/PCs to make sure they are getting an IP or not? The problem could possibly be with the DHCP server for some reason.
      Make also sure you are not using a static IP configured on the interface. (I can see you are getting an APIPA address but what is the config in the wwan0.conf for example?






      share|improve this answer
























      • I can use dhcp to get IP address for my eth0 device. So, it is working fine. I suspect the EM7430 is raw-ip only and dhcp will not work. I need to confirm this.

        – aobs
        Oct 11 '17 at 8:31
















      0














      Couldn't the problem be with the server? Did you try other devices/PCs to make sure they are getting an IP or not? The problem could possibly be with the DHCP server for some reason.
      Make also sure you are not using a static IP configured on the interface. (I can see you are getting an APIPA address but what is the config in the wwan0.conf for example?






      share|improve this answer
























      • I can use dhcp to get IP address for my eth0 device. So, it is working fine. I suspect the EM7430 is raw-ip only and dhcp will not work. I need to confirm this.

        – aobs
        Oct 11 '17 at 8:31














      0












      0








      0







      Couldn't the problem be with the server? Did you try other devices/PCs to make sure they are getting an IP or not? The problem could possibly be with the DHCP server for some reason.
      Make also sure you are not using a static IP configured on the interface. (I can see you are getting an APIPA address but what is the config in the wwan0.conf for example?






      share|improve this answer













      Couldn't the problem be with the server? Did you try other devices/PCs to make sure they are getting an IP or not? The problem could possibly be with the DHCP server for some reason.
      Make also sure you are not using a static IP configured on the interface. (I can see you are getting an APIPA address but what is the config in the wwan0.conf for example?







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Oct 11 '17 at 5:38









      Amjad AbdullahAmjad Abdullah

      12




      12













      • I can use dhcp to get IP address for my eth0 device. So, it is working fine. I suspect the EM7430 is raw-ip only and dhcp will not work. I need to confirm this.

        – aobs
        Oct 11 '17 at 8:31



















      • I can use dhcp to get IP address for my eth0 device. So, it is working fine. I suspect the EM7430 is raw-ip only and dhcp will not work. I need to confirm this.

        – aobs
        Oct 11 '17 at 8:31

















      I can use dhcp to get IP address for my eth0 device. So, it is working fine. I suspect the EM7430 is raw-ip only and dhcp will not work. I need to confirm this.

      – aobs
      Oct 11 '17 at 8:31





      I can use dhcp to get IP address for my eth0 device. So, it is working fine. I suspect the EM7430 is raw-ip only and dhcp will not work. I need to confirm this.

      – aobs
      Oct 11 '17 at 8:31













      0














      Thanks all for your help.



      I found out that the EM7430 does not support 802-3 and is raw ip only. It does not work with dhclient nor dhcpcd.






      share|improve this answer




























        0














        Thanks all for your help.



        I found out that the EM7430 does not support 802-3 and is raw ip only. It does not work with dhclient nor dhcpcd.






        share|improve this answer


























          0












          0








          0







          Thanks all for your help.



          I found out that the EM7430 does not support 802-3 and is raw ip only. It does not work with dhclient nor dhcpcd.






          share|improve this answer













          Thanks all for your help.



          I found out that the EM7430 does not support 802-3 and is raw ip only. It does not work with dhclient nor dhcpcd.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 13 '17 at 2:05









          aobsaobs

          1416




          1416























              0














              dhclient and dhcpcd don't seem to have support for raw-ip. I did however manage to get an IP with udhcpc. It's not available on all Linux distros though, so you're limited to Debian based distros.






              share|improve this answer








              New contributor




              Arthur C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.

























                0














                dhclient and dhcpcd don't seem to have support for raw-ip. I did however manage to get an IP with udhcpc. It's not available on all Linux distros though, so you're limited to Debian based distros.






                share|improve this answer








                New contributor




                Arthur C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                  0












                  0








                  0







                  dhclient and dhcpcd don't seem to have support for raw-ip. I did however manage to get an IP with udhcpc. It's not available on all Linux distros though, so you're limited to Debian based distros.






                  share|improve this answer








                  New contributor




                  Arthur C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.










                  dhclient and dhcpcd don't seem to have support for raw-ip. I did however manage to get an IP with udhcpc. It's not available on all Linux distros though, so you're limited to Debian based distros.







                  share|improve this answer








                  New contributor




                  Arthur C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  Arthur C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 7 hours ago









                  Arthur CArthur C

                  1011




                  1011




                  New contributor




                  Arthur C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  Arthur C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  Arthur C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Unix & Linux Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f397253%2fdhcp-client-fails-to-get-ip-address-modem-em7430%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Histoire des bourses de valeurs

                      Why is there Russian traffic in my log files?

                      Rename multiple files to decrement number in file name?