i also tried doing
void setup() {
// put your setup code here, to run once:
system("telnetd -l /bin/sh");
system("ifconfig eth0 192.168.1.9 netmask 255.255.0.0 up");
}
void loop() {
// put your main code here, to run repeatedly:
}
The script uploaded but when i try to connect to putty through the serial i get the same error.
Using the ip-address above and telenet i get connection timed out.