View Single Post
Old 01-31-2012, 10:57 PM   #4
j0534ng31
Connoisseur
j0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheese
 
Posts: 83
Karma: 1224
Join Date: Dec 2011
Location: Gijon (Spain)
Device: Sony PRS-T1 black
Quote:
Originally Posted by Thor View Post
Edit /system/etc/firewall.sh with root explorer (mount system as read/write) and comment out the line
Code:
iptables -P INPUT   DROP
to e.g.
Code:
# iptables -P INPUT   DROP
Then you are able to use Samba directly after a reboot without entering the iptables-command in a terminal as written in the first post.
You can also do:

Code:
adb remount
adb shell "busybox sed -i '/INPUT[[:space:]][[:space:]][[:space:]]DROP/ s/^/#/' /etc/firewall.sh"
(at PC command prompt, if you have ADB enabled and Android SDK installed)

And it's possible that you don't have to reboot if you add:

Code:
adb shell "/etc/firewall.sh flush; /etc/firewall.sh"

Last edited by j0534ng31; 01-31-2012 at 11:09 PM.
j0534ng31 is offline   Reply With Quote