you don't need a root account or root priviledges to get the IP address:
just do a

Shell "ip -4 addr show eth0 | grep inet" TO ipaddr

and just parse the IP from that line.
Note that eth0 is the name of your network interface.

Hope this helps to simplify things in your code.

Dimitris



On Mon, Oct 28, 2013 at 11:41 AM, PICCORO McKAY Lenz <mckaygerh...@gmail.com
> wrote:

> From: Jussi Lahtinen <jussi.lahti...@gmail.com>
> > Hard to say without knowing what FAuth does.
> > Can you make little runnable project to demonstrate your problem?
> not necesary, the code explint itseft..
> but thanks was my fault, i declared the result of shell as integer,
> event string...
> that's why skip dialog, ;-)
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to