Hi All,
I have the following code written in Qt to set the ethernet intefaces parameters :
void NetworkItfManager::setItfParams( QString& itfName, EthItf_t & params )
{
QString cmd = QString("ifconfig %1 %2 netmask %3 broadcast %4").arg(itfName, params.m_ip, params.m_netmask, params.m_broadcast);
QProcess bashCmd;
bashCmd.start( cmd );
while (bashCmd.waitForFinished()) ;
}
And I believe it works fine under Ubuntu when running the application with admin rights. But with Sitara SDK 5.0 I see it doesn't work. What is the right way to modify it? How should I set the permissions?
BR,
Dmitry