Bug 2122 - N450 route table adds in a duplicate gateway address
Summary: N450 route table adds in a duplicate gateway address
Status: VERIFIED NOTABUG
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-configuration (show other bugs)
Version: unspecified
Hardware: Other x86_64
: Medium normal
Target Milestone: 1.3
Assignee: Saul Wold
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-03-15 08:55 UTC by Sophie Lennon
Modified: 2015-11-10 07:46 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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