webOS Nation Forums >  Homebrew >  webOS patches > Auto-Enable IP Forwarding In Mobile Hotspot
Auto-Enable IP Forwarding In Mobile Hotspot

  Reply
 
LinkBack Thread Tools Display Modes
Old 01/23/2010, 08:00 PM   #1 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default Auto-Enable IP Forwarding In Mobile Hotspot

Done on request. Due to the controversial nature of tether and using Mobile Hotspot on non-Sprint devices, I will not be submitting this patch to Preware. And if Palm requests this patch remove from this thread, I will oblige; I'm not trying to cause any trouble.

This patch will automatically toggle IP forwarding when enabling/disabling Mobile Hotspot. Saves you from having to open freeTether to enable IP Forwarding manually before loading Mobile Hotspot.

Note: requires freeTetherD (Pre link, Pixi link, emulator link)


Enjoy!

EDIT: File removed. Updated patch can be found at post #38
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook

Last edited by Jason Robitaille; 01/24/2010 at 09:18 AM.
Jason Robitaille is offline   Reply With Quote
Old 01/23/2010, 08:01 PM   #2 (permalink)
Member
 
Join Date: Aug 2007
Posts: 54
Likes Received: 0
Thanks: 3
Thanked 2 Times in 2 Posts
Default

My god you work fast!!!!

cheaky request anyidea how to hide the freetether icon? since i don't have to open it???
pixelwix is offline   Reply With Quote
Old 01/23/2010, 08:03 PM   #3 (permalink)
Member
 
link375's Avatar
 
Join Date: Jul 2009
Location: Utah
Posts: 109
Likes Received: 0
Thanks: 3
Thanked 12 Times in 8 Posts
Default

thank you!!
link375 is offline   Reply With Quote
Old 01/23/2010, 08:08 PM   #4 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Quote:
Originally Posted by pixelwix View Post
My god you work fast!!!!

cheaky request anyidea how to hide the freetether icon? since i don't have to open it???
if you really don't need freeTether, then just delete it. The freeTetherD linux daemon is all that's needed and that's hidden by nature.
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook

Last edited by Jason Robitaille; 01/23/2010 at 08:13 PM.
Jason Robitaille is offline   Reply With Quote
Old 01/23/2010, 08:28 PM   #5 (permalink)
Member
 
Join Date: Jun 2009
Posts: 206
Likes Received: 1
Thanks: 19
Thanked 20 Times in 16 Posts
Default

Dude that is SO awesome. Do you know if they are gonna work on getting ALL this to work on FreeTether. So that FreeTether is its standalone free Tethering program, and not have to use Palms?
Hernie is offline   Reply With Quote
Old 01/23/2010, 08:30 PM   #6 (permalink)
Member
 
Join Date: Nov 2004
Posts: 1,212
Likes Received: 0
Thanks: 20
Thanked 41 Times in 24 Posts
Default

Looking at the patch, it looks like the source of this forum thread, not a patch. Or am I misssing something?
__________________
Sprint Pre, Mugen 2800mah battery
xenophonite is offline   Reply With Quote
Old 01/23/2010, 08:31 PM   #7 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Quote:
Originally Posted by Hernie View Post
Dude that is SO awesome. Do you know if they are gonna work on getting ALL this to work on FreeTether. So that FreeTether is its standalone free Tethering program, and not have to use Palms?
You'd need to ask the folks at WebOS-Internals, it's their project. Though it is open source, so other open source developers are certainly welcomed to join in development

Quote:
Originally Posted by xenophonite View Post
Looking at the patch, it looks like the source of this forum thread, not a patch. Or am I misssing something?
Not sure what you're lookinf, but it's most definitely a standard unified diff-style patch
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 01/23/2010, 08:42 PM   #8 (permalink)
Member
 
Join Date: Sep 2007
Posts: 225
Likes Received: 0
Thanks: 20
Thanked 19 Times in 14 Posts
Default

patch didnt install for me
newone757 is offline   Reply With Quote
Old 01/23/2010, 08:46 PM   #9 (permalink)
Member
 
Join Date: Jun 2009
Posts: 206
Likes Received: 1
Thanks: 19
Thanked 20 Times in 16 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
You'd need to ask the folks at WebOS-Internals, it's their project. Though it is open source, so other open source developers are certainly welcomed to join in development
Pshh....I'm that last person that could help. I tried to write my own program, as far as i got was a picture and some text underneath that said, "Hello".

Last edited by Hernie; 01/23/2010 at 08:52 PM.
Hernie is offline   Reply With Quote
Old 01/23/2010, 08:48 PM   #10 (permalink)
Member
 
trim81's Avatar
 
Join Date: Jul 2005
Location: 626, Los Angeles
Posts: 2,726
Likes Received: 0
Thanks: 381
Thanked 197 Times in 129 Posts
Default

I enabled ip forwarding, tested with an opt sym R reset, and it was disabled...

does this mean patch not working?
trim81 is offline   Reply With Quote
Old 01/23/2010, 08:49 PM   #11 (permalink)
Member
 
Join Date: Aug 2007
Posts: 85
Likes Received: 0
Thanks: 15
Thanked 11 Times in 7 Posts
Default

Patch looks perfectly normal to me. Thanks Jason.
Pupator is offline   Reply With Quote
Old 01/23/2010, 08:49 PM   #12 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Quote:
Originally Posted by xenophonite View Post
Try downloading the patch, it doesn't seem to be patch code. Looks like an html dump of this thread.
Odd, seems to download fine for me. Anyway, here's a download mirror:

http://filebin.ca/bjfzaa/auto-enable...-hotspot.patch



Quote:
Originally Posted by newone757 View Post
patch didnt install for me
What was the error? Try the mirror above? Maybe the same issue xenophonite is facing
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 01/23/2010, 08:52 PM   #13 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Quote:
Originally Posted by trim81 View Post
I enabled ip forwarding, tested with an opt sym R reset, and it was disabled...

does this mean patch not working?
no... ip forwarding resets on device reboot.


With this patch, what does happen, is when you're in Mobile Hotspot, and you turn the toggle to "On", the IP forwarding will be auto-enabled so Mobile Hotspot will be able to run without issue. And when you turn Mobile Hotspot off, IP forwarding will be turned off
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 01/23/2010, 08:54 PM   #14 (permalink)
Member
 
trim81's Avatar
 
Join Date: Jul 2005
Location: 626, Los Angeles
Posts: 2,726
Likes Received: 0
Thanks: 381
Thanked 197 Times in 129 Posts
Default

oh hell yeah, lol coool..

so in essence there is no need fo rfreetether app?
trim81 is offline   Reply With Quote
Old 01/23/2010, 08:56 PM   #15 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Quote:
Originally Posted by trim81 View Post
oh hell yeah, lol coool..

so in essence there is no need fo rfreetether app?
you'll still need freeTetherD linux daemon, but if you have no other need from the freeTether webOS app, go ahead and delete it
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 01/23/2010, 08:56 PM   #16 (permalink)
Member
 
Join Date: Nov 2004
Posts: 1,212
Likes Received: 0
Thanks: 20
Thanked 41 Times in 24 Posts
Default

OK, works if i email the patch but for some reason I can't download it.
__________________
Sprint Pre, Mugen 2800mah battery
xenophonite is offline   Reply With Quote
Old 01/23/2010, 09:01 PM   #17 (permalink)
Member
 
Join Date: Sep 2007
Posts: 225
Likes Received: 0
Thanks: 20
Thanked 19 Times in 14 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
What was the error? Try the mirror above? Maybe the same issue xenophonite is facing
I forgot the webos qi error. tried to replicate it but it works now. THANKS
newone757 is offline   Reply With Quote
Old 01/23/2010, 09:30 PM   #18 (permalink)
Member
 
Join Date: Nov 2009
Location: Essex, England
Posts: 98
Likes Received: 1
Thanks: 11
Thanked 8 Times in 7 Posts
Default

Just confirming this works with O2 UK 1.3.5.2.

Thank You.
OverlordsComing is offline   Reply With Quote
Old 01/23/2010, 10:38 PM   #19 (permalink)
Member
 
QuietStorm21A's Avatar
 
Join Date: Feb 2009
Location: Spring Valley, NY
Posts: 232
Likes Received: 0
Thanks: 79
Thanked 22 Times in 21 Posts
Default

Thank you it worked perfectly!
__________________

QuietStorm21A is offline   Reply With Quote
Old 01/23/2010, 10:59 PM   #20 (permalink)
Member
 
FuManChuu's Avatar
 
Join Date: Mar 2006
Posts: 479
Likes Received: 0
Thanks: 10
Thanked 14 Times in 12 Posts
Default

heh, im getting the non-patch, but a readout of forum text as well... from both links.
__________________
Just waiting for the day my Pre has contacts grouping, and a "speed dial" for text messaging
FuManChuu is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0