The project I am working on is to bring Archlinux ARM to an embedded device. The system is stored on a removable microSD. Therefore I can modify the system by plugging it into my PC. The board also has a microUSB interface. To improve the system and to clarify everything is working correctly I have to debug the OS in some way. The best way to do this is to run sshd on the board and connect to that over USB.I found out that there is a usbnet driver available in Linux and I started reading a few articles, but nothing helped me. How do I have to configure Archlinux on the embedded device to use USB as network device? As far as I have understood this correctly the PC to which the board is connected will then automatically detect the device as network interface. From there, everything else should be straightforward.Edit:I found an easier way to communicate with the Linux on the embedded by using the g_serial kernel module. To set it up you have to load the module and bind a console to the device /dev/ttyGS0. My question though is: How do I make sure the device node is created because by simply loading the kernel module nothing happens (obviously)? Do I have to add udev rules? What baudrate do I have to use on the PC where a serial device should be created automatically after plugging in the USB cable?
How to setup a serial connection over USB using g_serial
drivers;usb;embedded;serial console