Bug 2122

Summary: N450 route table adds in a duplicate gateway address
Product: [Build System, Metadata & Runtime] BSPs Reporter: Sophie Lennon <sophie.lennon>
Component: bsps-configurationAssignee: Saul Wold <sgw>
Status: VERIFIED NOTABUG QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium CC: bogdanx.a.voiculescu, dexuan.cui, jessica.zhang, sgw, yp.bsp.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.3   
Hardware: Other   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Sophie Lennon 2012-03-15 08:55:18 UTC
I have built an N450 image from the download BSP. I have added modified the /etc/network/interfaces file to add a static ip address. When I restart the service the route table holds the correct values. after a 5 minute wait the route table will have a duplicate gateway address added to it.(below) 


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         *               0.0.0.0         U     0      0        0 eth0
Comment 1 Bruce Ashfield 2012-03-15 12:36:42 UTC
Not sure if this is a Tom or Darren thing, but I'm sending it along for better triage. 
This likely isn't specific to the BSP or the kernel, and needs another home with
someone familiar with the network startup scripts.
Comment 2 Saul Wold 2012-03-15 22:24:46 UTC
Did you disable connman?, Could you try to use connman to make static settings?

Editing the interfaces file with connman running can have strage results as you have seen.
Comment 3 Sophie Lennon 2012-04-04 07:40:12 UTC
I have disabled connman and removed it from the starting scripts. The route table is no longer changed.
Comment 4 Saul Wold 2012-04-20 00:35:31 UTC
I think we still need some additional information from you about this:

Did you try to use connman to make the static changes in the properties, instead of hardcoding them in the /etc/network/interfaces file?


It seems you are seeing an interaction between hardcoding the network and having connman running.
Comment 5 Saul Wold 2012-05-04 21:50:50 UTC
This sounds like not a bug, as manual editing and using connman are not compatible, if this is not the case, please re-open this bug
Comment 6 Bogdan Alexandru Voiculescu 2015-11-10 07:46:11 UTC
verified closed - not a bug