From WebOS Internals
Revision as of 10:11, 6 May 2011 by Pixxels (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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