Monday, January 25, 2010

VNC, Self-Powered USB Hub & Squid(?) for BeagleBoard




Once the Ethernet over USB between your System and BeagleBoard is established , it is time to see the BeagleBoard Desktop first hand.

Download and install some VNC utility(Virtual Network Client) TigerVNC in my case.

Launch VNC , and in the window in which it asks for address for VNC Server , enter the IP of BeagleBoard i.e. in our case 192.168.1.1  .

Since I still don't have a Powered USB Hub in place for hooking up keyboard or mouse, after connecting the BeagleBoard through VNC, I connect the DVI-D connector to the LCD Monitor.

This arrangement is as good as it gets :)

The only bottom side is that the connection hangs up once we try to transfer a large file.


ScreenShot of VNC on Fedora Desktop


My USB Hub Attempts

Wanting to connect keyboard and mouse to BeagleBoard, the first attempts to directly plug USB Optical Mouse didn't even power up the LED on the bottom of mouse, signifying the insufficient power being supplied to the Mouse.
To supply enough juice to the Mouse, I made a small PCB , in which the USB connection coming from the BeagleBoard is connected to USB wires of the device as follows:-

USB from BeagleBoard          USB of Device               Status of the connection

GND                                     GND                               Connected
D+                                        D+                                 Connected
D-                                          D-                                  Connected
Vcc                                       Vcc                                 Not Connected

[ The Vcc of the device is powered through external 5V, and the Vcc from BeagleBoard is left unconnected] 

But unfortunately this also does not seems to produce any results apart from displaying the message

Device Not enumerated

I can only speculate here that maybe, the high Speed USB Host is not enumerating the Low Speed USB Device ?



Using Squid to provide internet Connectivity to BeagleBoard(?)

Once the connection to Laptop through USB is established, I reasoned that if I could configure my Laptop as a proxy server for the BeagleBoard , then it would be possible to provide Internet connection to BeagleBoard through my Laptop. Thinking on these lines , I found Squid Proxy Server to be a tools to do just that. After investing a lot of time making change in the config file of Squid , Now it seems that Squid can't possibly do this sort of networking , since the Laptop and BeagleBoard are on a seperate network.
Sigh !!Sigh !!  , I do have to purchase a USB dongle .


..

2 comments:

  1. Have you considered opening a web proxy port on your host PC using SSH? In the office, I use SSH to forward a port on my BeagleBoard to the office proxy server. You don't have to run the proxy service on your own machine that way. SSH port forwarding, netcat, and httptunnel should all be interesting to you as ways you might build your solution.

    ReplyDelete
  2. @Jadon , Thanks for the tip , I will try this out , hopefully something will work

    ReplyDelete