E1750 Reloaded - QMI - STATIC - DHCP - IPv4
poma
pomidorabelisima at gmail.com
Thu Aug 7 17:13:45 PDT 2014
On 07.08.2014 23:03, Dan Williams wrote:
> On Thu, 2014-08-07 at 02:28 +0200, poma wrote:
> <snip>
>
>> <info> (cdc-wdm0): Activation: Stage 3 of 5 (IP Configure Start) complete.
>> <info> (cdc-wdm0): IPv4 static configuration:
>> <info> address 01.234.56.78/30
>> <info> gateway 01.234.56.77
>> <info> DNS 8.8.8.8
>> <info> DNS 8.8.4.4
>> <debug> [430.509587] [NetworkManagerUtils.c:1425] monotonic_timestamp_get(): monotonic timestamp started counting 1.678712852 seconds ago with an offset of 314.0 seconds to CLOCK_BOOTTIME (local time is 2014-08-06 20:40:30)
>> <debug> [430.509791] [platform/nm-platform.c:1445] nm_platform_ip4_address_add(): address: adding or updating IPv4 address: 01.234.56.78/30 lft forever pref forever lifetime 1-0[4294967295,4294967295] dev wwan0 src unknown
>> <debug> [430.510184] [platform/nm-linux-platform.c:458] get_kernel_object(): get_kernel_object for type 2 returned 0x7f2db8777500
>> <debug> [430.510398] [platform/nm-platform.c:2571] log_ip4_address(): signal: address 4 added: 01.234.56.78/30 lft forever pref forever lifetime 1-0[4294967295,4294967295] dev wwan0 src kernel
>> <debug> [430.510633] [devices/nm-device.c:5889] device_ip_changed(): [0x7f2db87703b0] (cdc-wdm0): queued IP config change
>> <debug> [430.510910] [devices/nm-device.c:5080] nm_device_set_ip4_config(): [0x7f2db87703b0] (cdc-wdm0): set IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/0)
>> <debug> [430.511147] [dns-manager/nm-dns-manager.c:1013] nm_dns_manager_begin_updates(): (device_ip4_config_changed): queueing DNS updates (1)
>> <debug> [430.511366] [dns-manager/nm-dns-manager.c:1031] nm_dns_manager_end_updates(): (nm_dns_manager_end_updates): DNS configuration did not change
>> <debug> [430.511603] [dns-manager/nm-dns-manager.c:1035] nm_dns_manager_end_updates(): (device_ip4_config_changed): no DNS changes to commit (0)
>> <info> (cdc-wdm0): Activation: Stage 5 of 5 (IPv4 Configure Commit) scheduled...
>
> After NM says it's connected (even if it doesn't work) could you grab
> the output of:
>
> route -n
> ip addr
> ip link
> ip route
>
> Also, does pinging the gateway (01.234.56.77) work?
>
> Thanks,
> Dan
>
/etc/NetworkManager/system-connections/MBB
[connection]
id=MBB
uuid=12345678-1234-1234-1234-123456789abc
type=gsm
autoconnect=false
timestamp=1407274428
zone=block
[gsm]
username=username
password=password
apn=access.point.name
home-only=true
[ppp]
refuse-eap=true
refuse-chap=true
refuse-mschap=true
refuse-mschapv2=true
nobsdcomp=true
nodeflate=true
no-vj-comp=true
[ipv4]
method=auto
# nmcli connection up MBB
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/0)
# mmcli -b 0
Bearer '/org/freedesktop/ModemManager1/Bearer/0'
-------------------------
Status | connected: 'yes'
| suspended: 'no'
| interface: 'wwan0'
| IP timeout: '20'
-------------------------
Properties | apn: 'access.point.name'
| roaming: 'forbidden'
| IP type: 'ipv4v6'
| user: 'username'
| password: 'password'
| number: 'none'
| Rm protocol: 'unknown'
-------------------------
IPv4 configuration | method: 'static'
| address: '01.234.56.13'
| prefix: '30'
| gateway: '01.234.56.14'
| DNS: '8.8.8.8', '8.8.4.4'
-------------------------
IPv6 configuration | method: 'unknown'
# ifconfig wwan0
wwan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 01.234.56.13 netmask 255.255.255.252 broadcast 01.234.56.15
ether 00:01:02:03:04:05 txqueuelen 1000 (Ethernet)
RX packets 3 bytes 84 (84.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 89 bytes 6457 (6.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 01.234.56.14 0.0.0.0 UG 1024 0 0 wwan0
01.234.56.12 0.0.0.0 255.255.255.252 U 0 0 0 wwan0
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether 00:01:02:03:04:05 brd ff:ff:ff:ff:ff:ff
inet 01.234.56.13/30 brd 01.234.56.15 scope global wwan0
valid_lft forever preferred_lft forever
# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 00:01:02:03:04:05 brd ff:ff:ff:ff:ff:ff
# ip route
default via 01.234.56.14 dev wwan0 proto static metric 1024
01.234.56.12/30 dev wwan0 proto kernel scope link src 01.234.56.13
# ping -c 10 01.234.56.14
PING 01.234.56.14 (01.234.56.14) 56(84) bytes of data.
>From 01.234.56.13 icmp_seq=1 Destination Host Unreachable
>From 01.234.56.13 icmp_seq=2 Destination Host Unreachable
>From 01.234.56.13 icmp_seq=3 Destination Host Unreachable
>From 01.234.56.13 icmp_seq=4 Destination Host Unreachable
>From 01.234.56.13 icmp_seq=5 Destination Host Unreachable
>From 01.234.56.13 icmp_seq=6 Destination Host Unreachable
>From 01.234.56.13 icmp_seq=7 Destination Host Unreachable
>From 01.234.56.13 icmp_seq=8 Destination Host Unreachable
>From 01.234.56.13 icmp_seq=9 Destination Host Unreachable
>From 01.234.56.13 icmp_seq=10 Destination Host Unreachable
--- 01.234.56.14 ping statistics ---
10 packets transmitted, 0 received, +10 errors, 100% packet loss, time 9001ms
pipe 4
poma
More information about the ModemManager-devel
mailing list