>> heres how i have done it: >> >> #define PROGRAM_TO_RUN "/bin/ping" >> char *argv[] = { "192.168.0.1", NULL }; > > argv[0] must point to your program that you want to run. > argv[1] is what you want to set to a ip address. > > Try that. > > greg k-h both solutions dont seem to work, i tried #define PROGRAM_TO_RUN "/bin/ping" char *argv[] = { PROGRAM_TO_RUN, "192.168.0.1", NULL }; with no success like before. earlier in the kernel thread i called exit_mm(current); to let the thread appear as own process. when i removed that line, i still got the same results as above. (at the end of the kernel thread i use to call complete_and_exit(), when replacing that with return 0, no change). thats pretty much all i could have changed with my kernel thread, there doesnt happen much more than this. any ideas? best regards, threadhead _______________________________________________________________________ Moechten Sie Ihre SMS noch ausdrucksstaerker und emotionaler gestalten? Fuegen Sie einfach ein Bild hinzu! http://freemail.web.de/?mc=021194 -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/