Change network parameters from app

bluscape
I must have the ability to change my Mini2440 network parameters from my Qt
app. I have a few questions regarding this:

1.) What would be the best way to do that? Change the contents of
/etc/network/interfaces?

2.) Does the network have to be enabled in the bootloader settings? If its
not enabled in the bootloader, how can I enable it from my Qt app? sudo
/etc/init.d/networking start? (Does ptxdist accept sudo as a command)

bluscape
Nobody got any ideas?

Juergen Beisert
If you always change the settings when your Qt app is started you can take
a look into the "ifconfig" source how to do so. If you only want to change
it once and the new setting should be persistent you should change the
"/etc/network/interfaces" content instead.

Currently root filesystems built by PTXdist have no real user management.
So, your Qt app runs as root as well and does not need any "sudo" command.
If you changed the user of your Qt app: yes, "sudo" is supported and can be
used at run-time.