Manuel Kasper wrote:
> /usr/local/sbin/choparp <bsdlanifname> auto 10.0.0.128/30 &
>
> If it works, you can add it to config.xml as a <shellcmd>. Anyway,
> I'll consider adding an interface selection box for proxy ARP.
Ran into difficulties there, even though I though to have properly
escaped the trailing "&" to send choparp to the background:
<system>
<hostname>m0n0wall</hostname>
...
<dnsserver>10.0.0.1</dnsserver>
<shellcmd>/usr/local/sbin/choparp fxp0 auto
10.0.0.128/30 &</shellcmd>
</system>
<interfaces>
After restoring this modified config.xml, the command line interpreter
on the console does not come up anymore, until I press Ctrl-C.
But m0n0wall including choparp runs fine, and choparp continues to run
even after the Ctrl-C.
Also, when executing this command line via in the /exec.php page, I
noticed that the command does not return, e.g. the browser "hangs" until
it times out.
What am I doing wrong there?
Rolf |