[maemo-developers] [maemo-developers] ifup eth0
From: abhijit.gupta at wipro.com abhijit.gupta at wipro.comDate: Thu Jul 6 17:48:58 EEST 2006
- Previous message: [maemo-developers] cannot compile example_libosso.c
- Next message: [maemo-developers] ifup eth0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I am developing a control panel applet and want to configure IP address from the applet using ifup eth0 command. But I am not able to execute this command as it needs root permission to execute the command. I am running the command from applet using system command. system("ifup eth0"). I also tried to execute following script from control panel applet sudo gainroot ifup eth0 but it did not work, it changes to root shell but ifup runs in old shell. Any idea, how to get avoid this permission problem ? Best Regards, Abhijit The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060706/2842be97/attachment.htm
- Previous message: [maemo-developers] cannot compile example_libosso.c
- Next message: [maemo-developers] ifup eth0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]