Project

General

Profile

Actions

Bug #3031

closed

ofono: wrong first DNS reported in log

Added by pespin about 6 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/04/2018
Due date:
% Done:

100%

Spec Reference:

Description

I saw in a test that once the context is attached successfully, ofono prints the properties:

/sierra_2: context activated {apn='inet46', path='/sierra_2/context2', properties={AccessPointName='inet46', Active=True, AuthenticationMethod='chap', IPv6.Settings={}, Name='Internet', Password='', Protocol='ip', Settings={Address='176.16.46.1', DomainNameServers=['8.8.8.8', '8.8.8.8'], Gateway='176.16.46.2', Interface='wwan1', Method='static', Netmask='255.255.255.252'}, Type='internet', Username='ogt'}, user='ogt'}

However, osmo-ggsn config for that IP states 1st DNS server is 192.168.0.1 instead of 8.8.8.8:

 apn inet46
  gtpu-mode tun
  tun-device tun46
  type-support v4v6
  ip prefix dynamic 176.16.46.0/24
  ip dns 0 192.168.100.1
  ip dns 1 8.8.8.8
  ip ifconfig 176.16.46.0/24
  ipv6 prefix dynamic fde4:8dba:82e1:2000:0:0:0:0/56
  ipv6 dns 0 2001:4860:4860::8888
  ipv6 dns 1 2001:4860:4860::8844
  ipv6 ifconfig fde4:8dba:82e1:2000:0:0:0:0/56
  ipv6 link-local fe80::1111:1111:1111:1112/64
  no shutdown

It would be nice to check the pcap traces to see if the 1st address is announced correctly or not, then it may be an ofono/modem issue.


Files

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)