connecting using usbnet to gumstix linux device
Hello,
I am trying to run several programs on a gumstix small linux computer. It has 2 serial ports, an mmc card port, and a usb port. I'm following directions at wiki.rungie.com/tikiwiki/tiki-index.php?page=Programming and am to the point where I need to transfer the 'hello world' example program to the gumstix.
The two ways for tranfser are through minicom and usbnet. I'm having trouble communicating through both. For usbnet, when I plug the usb cable into my desktop and the gumstix, then power the gumstix on, dmesg on my desktop says:
ohci_hcd 0000:00:07.4: remote wakeup
usb 1-1: new full speed USB device using address 2
divert: allocating divert_blk for usb0
usb0: register usbnet at usb-0000:00:07.4-1, Linux Device
usbcore: registered new driver usbnet
usb0: no IPv6 routers present
So then I can do 'ifconfig usb0 192.168.1.90 up' and my desktop does not complain. Then I login to the gumstix using minicom and do 'ifconfig usb0 192.168.1.100 up' and the gumstix doesn't complain either. However, pinging from either side does not work. The output from dmesg on the gumstix says (not on 3 consecutive lines):
usb0: Ethernet Gadget, pxa2xx, version: Bastille Day 2003
udc: USB reset
usb0: full speed config #3: Ethernet Gadget
Am I approaching this in the right way? What configuration files or commands can I look at to help figure this out? There was mention of /etc/init.d/S40network and /etc/network/interfaces on the gumstix being configured, I can paste the contents of those files if anyone thinks that would help. The directions also say that the gumstix looks for an ip address through dhcp. I have not configured that on my desktop, I hope to manually set an ip though.
The second way the directions say to transfer the files is to use minicom, but I'm not sure how to set the gumstix to receive mode. The directions say to initiate a binary zmodem file receive do "rz -b -Z", but the gumstix says "command not found". I do not understand this...
Thanks for any help on these 2 problems. Solving either of them should allow me to transfer programs.
-Nate
|