DHCP client fails to get IP address (Modem EM7430)
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
add a comment |
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
Rundhcpcdcommand
– 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
add a comment |
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
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
debian modem dhclient
edited Oct 11 '17 at 4:30
aobs
asked Oct 10 '17 at 15:38
aobsaobs
1416
1416
Rundhcpcdcommand
– 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
add a comment |
Rundhcpcdcommand
– 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
add a comment |
3 Answers
3
active
oldest
votes
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?
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
add a comment |
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.
add a comment |
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.
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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?
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
add a comment |
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?
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
add a comment |
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?
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?
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
add a comment |
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
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Oct 13 '17 at 2:05
aobsaobs
1416
1416
add a comment |
add a comment |
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.
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.
add a comment |
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.
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.
add a comment |
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.
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.
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.
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.
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Run
dhcpcdcommand– 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