:: Re: [DNG] netman GIT project
Page principale
Supprimer ce message
Répondre à ce message
Auteur: tilt!
Date:  
À: dng
Sujet: Re: [DNG] netman GIT project
Usage:

execl(full_pathname, runas, arg1, arg2, ..., NULL)

in this case:

full_pathname = /bin/ifup
runas = ifup
arg1 = eth0

Regards,
T.

Am 27. August 2015 16:40:49 MESZ, schrieb Edward Bartolo <edbarx@???>:
>I added another function to core_functions.c. It attempts to connect
>to eth0 but for some weird reason, probably a bug not from our part,
>it is failing.
>
>The function is: int connectWired(const char ethx)
>
>And the error is: (passed command to execl is "ifup eth0")
>"This command should be called as ifup, ifdown, or ifquery"
>
>Any pointers as to what is the cause are appreciated.
>
>Edward
>
> [...]