VNC and Network sharing with Windows

Skip to first unread message

Oct 26, 2008, 1:29:52 PM10/26/08
to Beagle Board
You will want a VNC client on your PC. A good opensource option is

connect the serial port from the beagleboard to the PC using the
beagleboard serial adapter

connect USB to PC and boot Beagleboard
the beagleboard will boot causing windows to detect the device

install the NDSIS drive per
the required .inf is linked in the documentation
and setup the network connection (IP address or your
preferred private address, and network mask )

using a terminal program (hyperterm or realterm in ansi mode) connect
to the serial port at 115200 8n1

log into beagle username and password angstrom

(you may need to be logged in as root to execute from sbin)
configure network on beagleboard with the following command
>/sbin/ifconfig usb0 netmask

now add a default route
>/sbin/route add default gw

test the connection by pinging the windows box

make sure your windows box is sharing the connection (advanced tab for
the network connection)

setup name services, edit /etc/resolv.conf
vi /etc/resolv.conf
you will have one line that points to the windows box

now you should be able to ping a nearby network address by name eg:

update the package from the beagle terminal
>opkg update

install VNC for beagle with the following
>opkg install x11vnc

now create the VNC server on the beagle board
>x11nvc -display :0 &

now connect to the vnc server using the windows vnc viewer
start->programs->ultraVNC->Ultra VNC Viewer

in the VNC Server window type the IP address and display, such as
The default setting for connection speed of LAN (>1Mbit/s) is fine,
click connect

You should see the beagleboard desktop in a window on your PC

Jason Kridner

Dec 3, 2008, 9:46:51 PM12/3/08
to Beagle Board
On Oct 26, 11:29 am, wrote:
> make sure your windows box is sharing the connection (advanced tab for
> the network connection)

I have a Windows XP machine with a Cisco VPN installed. I don't
believe it is possible, but I'd like to know if there is some way to
share a connection when this VPN is installed (doesn't have to be
currently running). I've tried some registry hacks[1] to try to turn
bridging/routing on, but that hasn't worked so far.

I can ssh into the Beagle Board from my XP machine, so it might make
sense for me to open up ports to the outside world for specific
functions, or even to a SOCKS_PROXY, but that is extremely limiting.
Below is an example for sharing a web proxy:

C:\>ssh -R ro...@
# 8080 is the port to open up on the BeagleBoard to forward to
# is the address of the web proxy
# 80 is the web proxy port
# is the IP address assigned to the BeagleBoard with

root@beagleboard:~# export http_proxy=http://localhost:8080/
root@beagleboard:~# opkg update

This works pretty well when you have a web proxy server, but only
handles web accesses. Setting up every port you might need could be a
real pain.

Reply all
Reply to author
0 new messages