Difference between revisions of "Talk:SetupSquidTransparentProxy"

From WebOS Internals
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
What version of WebOS did you use for this?  On version 1.4.1, with Linux kernel version 2.6.26, when I attempt to list what's in the "nat" table I get the error:
+
What version of WebOS did you use for this?  On SDK version 1.4.1 or 1.4.5, both of which use Linux kernel version 2.6.26, when I attempt to list what's in the "nat" table I get the error:
  
 
   # iptables -t nat -L -n
 
   # iptables -t nat -L -n
Line 5: Line 5:
 
   Perhaps iptables or your kernel needs to be upgraded.
 
   Perhaps iptables or your kernel needs to be upgraded.
  
Other attempts to use iptables with "-t nat" get similar results.  I haven't followed the instructions from the beginning, but I don't see anywhere in there that it installs the required kernel module.  At the moment I don't know where to get the required kernel module.  I'll try webOS 1.4.5 and report back.
+
Other attempts to use iptables with "-t nat" get similar results.  I haven't followed the instructions from the beginning, but I don't see anywhere in there that it installs the required kernel module.  At the moment I don't know where to get the required kernel module.
 +
 
 +
(Added later) The above problem apparently happens only with the Palm SDK emulator.  A real Palm Pre seems to have NAT built inThe one I'm testing against runs Kernel version 2.6.24, not 2.6.26, and "iptables -L -n -v -t nat" works fine.
 +
 
 +
 
 +
5/5/2011 - pixxels
 +
I'm attempting this now on my original palm pre.  Is root access still required?  Or is there a preware app/package that will do this all for me now.  :)
 +
 
 +
Delta's I observed doing running process
 +
 
 +
1) 'Prepare the directories for squid'  The directory locations are different.
 +
They were opt/var/squid instead of var/cache/squid

Latest revision as of 11:11, 6 May 2011

What version of WebOS did you use for this? On SDK version 1.4.1 or 1.4.5, both of which use Linux kernel version 2.6.26, when I attempt to list what's in the "nat" table I get the error:

  # iptables -t nat -L -n
  iptables v1.4.2: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
  Perhaps iptables or your kernel needs to be upgraded.

Other attempts to use iptables with "-t nat" get similar results. I haven't followed the instructions from the beginning, but I don't see anywhere in there that it installs the required kernel module. At the moment I don't know where to get the required kernel module.

(Added later) The above problem apparently happens only with the Palm SDK emulator. A real Palm Pre seems to have NAT built in. The one I'm testing against runs Kernel version 2.6.24, not 2.6.26, and "iptables -L -n -v -t nat" works fine.


5/5/2011 - pixxels I'm attempting this now on my original palm pre. Is root access still required? Or is there a preware app/package that will do this all for me now. :)

Delta's I observed doing running process

1) 'Prepare the directories for squid' The directory locations are different. They were opt/var/squid instead of var/cache/squid