Hello,
root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko
insmod: error inserting 'g_ether.ko': -1 No such device
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod g_ether.ko
insmod: error inserting 'g_ether.ko': -1 No such device
Hi Ran,
After I analyze the log I think that the reason for the ping stopping is that you have static dhcp configuration on the usb0 interface but in the same time the dhcp client is started at the same interface usb0. When the dhcp discover retransmission times out the dhcp client clears the usb0 interface configuration (including your static settings).
I suggest you to kill the dhcp client or to change interface configuration as follow:
Open the /etc/network/interfaces file with some text editor.
Search for something like "iface usb0 inet dhcp" and comment it by #.
Then add if it is missing the following configuration:
iface usb0 inet static
address 192.168.129.201 # Change with your device IP
netmask 255.255.255.0 # Change ...
network 192.168.129.0 # Change ...
gateway 192.168.129.200 # Change ...
Save the change and then execute the command:
/etc/init.d/networking restart
Then execute 'ifconfig -a' and share the output.
If the usb0 is down or the configuration is missing configure the usb0 interface again with static configuration.
BR
Tsvetolin Shulev