webOS Nation Forums >  Homebrew >  WebOS Internals > Debian Chroot & X11vnc
Debian Chroot & X11vnc

  Reply
 
LinkBack Thread Tools Display Modes
Old 11/03/2011, 02:46 PM   #1 (permalink)
Member
 
Join Date: Nov 2011
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default Debian Chroot & X11vnc

Good evening gentlemen,

I've got debian running on my palm pre plus! Thanks for that Great job from those palm hackers!!!
But there's one thing where I'm stuck: I want to run a VNC server on it and connect from the local wifi network to control the debian on the palm from remote.
I've tried tightvncserver and x11vnc server which both work: I could connect using a vncviewer from the palm, but I cannot connect to the palm a remote notebook in the wifi network. Network connection seems to be ok - at least I can ping the palm from the network; but I can't access these VNC ports

Am I missing something? Is there some kind of firewall on the palm???

Please help!

BR
donov4n is offline   Reply With Quote
Old 11/05/2011, 07:29 PM   #2 (permalink)
Member
 
Join Date: Nov 2011
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey, I just got this working on the touchpad.

for me is was a route issue, my home LAN is 192.168.0.0/24 (eth0) and the webos USB interface has a route 192.168.0.0/24 (usb0). I deleted the route to the usb interface and I can now get to the other hosts on my lan via the chroot.

Edit: this was done in the webos not the chroot.

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 usb0
192.168.0.0 * 255.255.255.0 U 0 0 0 usb0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 10 0 0 eth0
default 192.168.0.200 0.0.0.0 UG 40 0 0 usb0

# ping 192.168.0.3
PING 192.168.0.3 (192.168.0.3): 56 data bytes
^C
--- 192.168.0.3 ping statistics ---
12 packets transmitted, 0 packets received, 100% packet loss


# route del default gw 192.168.0.200
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 usb0
192.168.0.0 * 255.255.255.0 U 0 0 0 usb0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 10 0 0 eth0


# route del -net 192.168.0.0/24 usb0
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 usb0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 10 0 0 eth0


# ping 192.168.0.3
PING 192.168.0.3 (192.168.0.3): 56 data bytes
64 bytes from 192.168.0.3: seq=0 ttl=64 time=19.966 ms
64 bytes from 192.168.0.3: seq=1 ttl=64 time=8.460 ms
^C
--- 192.168.0.3 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 8.460/14.213/19.966 ms

Hope this helps.

Last edited by azcoffeehabit; 11/05/2011 at 07:30 PM. Reason: more info..
azcoffeehabit is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0