How can I run a command at successful ethernet connect in Arch?
I have a Raspberry Pi running ArchARM, and would like to make a reverse SSH tunnel as soon as it connects to the network via ethernet.
I made an executable (+x) shell script in /usr/bin, and would like that to be run whenever the default network manager acquires an IP on the eth0 interface.
Alternatively, what is the best way I could do this without an SSH tunnel or opening a port on my router?
I have a Raspberry Pi running ArchARM, and would like to make a reverse SSH tunnel as soon as it connects to the network via ethernet.
I made an executable (+x) shell script in /usr/bin, and would like that to be run whenever the default network manager acquires an IP on the eth0 interface.
Alternatively, what is the best way I could do this without an SSH tunnel or opening a port on my router?
No comments:
Post a Comment