void setup() { Serial.begin(9600); //It’ll not continue until you send an ‘a’ through the serial monitor Serial.println("connecting..."); system("ifup eth0"); delay(2000); //Wait for Ethernet to connect //Display ifconfig result to serial monitor system("ifconfig > /dev/ttyGS0"); } void loop() { }