Author Topic: Usb Networking On Rc10 With C1k  (Read 3540 times)

Quickfry

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://www.quickfry.com
Usb Networking On Rc10 With C1k
« on: July 06, 2005, 12:03:34 am »
I was having problems with this, but the answer isn't hard.
Open a root console, and modprobe acm hid and pxa27x_bi
The host machine should now pick up the Z (you can check using lsusb)
Check on the Z, using ifconfig -a, you should see a usbd0 device.
Now you can ifconfig usbd0 192.168.129.201 and add your gw, route add default gw 192.168.129.1 or what have you. /etc/resolv.conf also needs to be edited with your dns servers.

zeno

  • Newbie
  • *
  • Posts: 3
    • View Profile
Usb Networking On Rc10 With C1k
« Reply #1 on: July 19, 2005, 05:46:43 pm »
Quote
I was having problems with this, but the answer isn't hard.
Open a root console, and modprobe acm hid and pxa27x_bi
The host machine should now pick up the Z (you can check using lsusb)
Check on the Z, using ifconfig -a, you should see a usbd0 device.
Now you can ifconfig usbd0 192.168.129.201 and add your gw, route add default gw 192.168.129.1 or what have you. /etc/resolv.conf also needs to be edited with your dns servers.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=87168\"][{POST_SNAPBACK}][/a][/div]

Thanks Quickfry for your mini-how-to. Now i can see the Z from the Pc and vice versa. Now i have another problem because i modified the file resolv.conf with my dns server but dillo and wget or others appz don't resolve any address!
Now is late for me and tomorrow is going to be a day of hard work so i'll try the internet connection in nesxt days. I'll let you know.
Bye,
zeno

Quickfry

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • http://www.quickfry.com
Usb Networking On Rc10 With C1k
« Reply #2 on: July 20, 2005, 05:05:04 pm »
First, make sure you can ping the machine your Z is connected to.
If you can't, do an ifconfig on each machine to make sure both interfaces are up, and using the correct ip addresses.
Second, make sure you can ping your dns servers.
If you can't, you may need to set up iptables on the host machine. Make sure your kernel and distrobution have support for iptables enabled. Check this thread for instructions on what to do after that.
If you can ping your dns servers, make sure your /etc/resolv.conf looks like this:
Code: [Select]
namserver 198.164.30.2

zeno

  • Newbie
  • *
  • Posts: 3
    • View Profile
Usb Networking On Rc10 With C1k
« Reply #3 on: July 20, 2005, 05:21:50 pm »
Strange day...
yesterday i connected the Z to the host PC and the output of dmesg on PC was allright... now i start the PC and the Z and dmesg output is:

Code: [Select]
usb 3-2: new full speed USB device using uhci_hcd and address 6
usb 3-2: device descriptor read/64, error -71
usb 3-2: device descriptor read/64, error -71

It's a shame, i don't have time to setup the connection because i have a lot of work to do. I hope to solve my problems during the next week-end when i will have more free time. Thanks a lot Quickfry for your interests on my problems!
Bye,
zeno