modprobe usbnet
ifconfig usb0 up xxx.xxx.xxx.xxx
That's how it works normally, at any rate (under Angstrom/Debian, as well as other distros not on the Z).
Thank you for your reply Capn_Fish.
Unfortunately nothing happens when doing the modprobe and ifconfig :
- In dmesg nothing is logged
- ifconfig gives the error : usb0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
usb0: ERROR while getting interface flags: No such device - lsusb list only the following : Bus 001 Device 001: ID 1d6b:0001
- When I connect or disconnect the USB cable nothing is logged in dmesg (if I put a mouse or an USB flash dmesg give me logs and the different device are recognized)
If I do a modprobe g_ether, I have the following with dmesg :
ether gadget: using random self ethernet address
ether gadget: using random host ethernet address
usb0: Ethernet Gadget, version: May Day 2005
usb0: using pxa27x_udc, OUT ep1out-bulk IN ep2in-bulk STATUS ep5in-int
usb0: MAC 46:8e:dc:59:4a:bf
usb0: HOST MAC 0e:1a:45:af:21:75
usb0: RNDIS ready
pxa2xx-udc pxa2xx-udc: UDC connecting
and lsusb gives the same result.
If I disconnect the USB cable, dmesg logs nothing.
If I reconnect the USB cable, dmesg logs :
pxa2xx-udc pxa2xx-udc: USB reset
Any idea ?