Wednesday, October 27, 2010

Got Access Port and Ethernet working from Chumby

This evening I added a USB to Ethernet adapter and reset the control panel to interface through it. I was surprised that the ethernet connection showed up because I thought that I might have trouble with the type of cable. I used a cheap ($34.99), generic USB to Ethernet adapter [Intellinet 503686 Hi-speed USB 2.0 to Fast Ethernet Adapter] and it seemed to work just fine. I also re-added the /psp/start_ap file and rebooted and the access port came up just fine. So now I have another access port to play around with. In this case, I wanted the access port because I need it to play point of contact for my robot.

I have the Ethernet adapter plugged into the non-powered USB hub along with the lifecam camera. Now I need to search for a driver to allow the camera to work with the Chumby in preparation for porting the ROS.

The Ethernet address chosen by my home system is 192.168.0.135 and the wi-fi access port address is 10.0.50.1, which is probably a default. I noted from a check of what daemons were running that a dhcp server is also running. When I connected to the AP via my laptop it gave me an ip address of 10.0.50.199, again probably a default. Everything works much as an AP would, I was able to get to the internet through firefox and other programs. I was also able to go into the SSH server at 10.0.50.1, so I am pretty much assured that it works correctly. The dhcp server appears to be udhcpc. On my laptop the resolv.conf has a nameserver address of 10.0.50.1 and the Chumby shows my home nameserver and Domain name. I gotta hand it to the Chumby guys, they did a nice job with this.

Getting some video from my lifecam might be a bit of a trip though. I did determine that a USB drive would post and come up mounted correctly. I put a USB drive into the hub and it came up as /dev/sda1 and mounted as /mnt/usb-0000-0484. I then recompiled the lighttpd web server to the usb drive. I followed the commands at Chumby_as_a_web_server. Since I had gone through the process once before, I knew that it would come out correct. I now have a web server that I will test on another night.

No comments:

Post a Comment