Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
TheTodFather
Old
(Last edited by TheTodFather; 18th October 2010 at 09:59 PM.)
#1  
TheTodFather's Avatar
Senior Member - OP
Thanks Meter 54
Posts: 676
Join Date: Aug 2010
Location: Huntsville
Thumbs up MTU settings fix (in progress 90%) snappier internet, xbox live connectivity.

Thanks to Angrym0use for putting this out there. I know this can be done for some reason i can't get this to set. I was hoping someone could give it a try and see if this works for you. I had it work for about 5 mins and now i can not get it to stick back. (i might of done something in terminal that I can't remember ..**** happens)

STILL CAN'T GET MTU SETTINGS TO STICK AS OF 10/18/10

Orginally I wanted to maximize the MTU(maxium transmision unit)to help with internet efficiency and speed to 1500mtu because it is locked down at a sad 1400mtu. As a added bonus as i searched for a solution to this with my limited linux networking comands. I stumbled around and found out that this fix will also enable our captivates to tether xbox live. This works because our stock setting is too low for xbox to work. Proof it works video here (http://www.youtube.com/watch?v=h02C9Zz6hG0)

Download terminal emulator.
Make sure you have root access.

While in the terminal type:

su
(that will give you root permission)
cd sys/class/net
(change directory)
cd pdp0 that is our data connection
(type LS if you want to see your all your adapters)
mtu=1500
(setting mtu)

To see if this worked type: ip link list

If that dosn't work try and type: ip link set dev pdp0 mtu 1500

I tested my mtu at http://www.speedguide.net/analyzer.p...K_PERM=1&IP_TO
 
LGSilva
Old
#2  
LGSilva's Avatar
Senior Member
Thanks Meter 54
Posts: 606
Join Date: May 2007
I guess you will have to check the source code, maybe the setting is hard-coded on the driver source or some settings file.
](¯`·._.·(¯`·._.· LGSilva ·._.·´¯)·._.·´¯)

at&t lte - rooted - fm radio - no bloat

(¯`·._.·(¯`·._.· Other Stuff ·._.·´¯)·._.·´¯)
Make your own USB "car dock" cable with audio out + charging.
Tested on the Samsung Galaxy S2 (AT&T i777)
 
TheTodFather
Old
(Last edited by TheTodFather; 24th September 2010 at 03:56 AM.)
#3  
TheTodFather's Avatar
Senior Member - OP
Thanks Meter 54
Posts: 676
Join Date: Aug 2010
Location: Huntsville
When i restart they do clear the settings,however i'm still unable to even test it at 1500. However i did for a brief second the first time i set this up i terminal Hmmm. I saw it for a sec on my laptop. I'm a linux super noob so I was kinda hoping someone with a little more skill would find this interesting. I've done all I can. I thought perhaps it was mobileAp giving it problems so i tried to disable it while setting mtu (no dice). I'm sure someone will nail it down. This would be a great bump for this phone!
 
itsjusttim
Old
#4  
itsjusttim's Avatar
Senior Member
Thanks Meter 159
Posts: 1,775
Join Date: Aug 2010
Location: SoCal

 
DONATE TO ME
I would live it if this would work..

Sent from my SGH-T959 using XDA App
 
aceman0455
Old
(Last edited by aceman0455; 24th September 2010 at 04:36 AM.)
#5  
aceman0455's Avatar
Senior Member
Thanks Meter 2
Posts: 137
Join Date: Sep 2010
Quote:
Originally Posted by TheTodFather View Post
Thanks to Angrym0use for putting this out there. I know this can be done for some reason i can't get this to set. I was hoping someone could give it a try and see if this works for you. I had it work for about 5 mins and now i can not get it to stick back. (i might of done something in terminal that I can't remember ..**** happens)

Orginally I wanted to maximize the MTU(maxium transmision unit)to help with internet efficiency and speed to 1500mtu because it is locked down at a sad 1400mtu. As a added bonus as i searched for a solution to this with my limited linux networking comands. I stumbled around and found out that this fix will also enable our captivates to tether xbox live. This works because our stock setting is too low for xbox to work. Proof it works video here (http://www.youtube.com/watch?v=h02C9Zz6hG0)

Download terminal emulator.
Make sure you have root access.

While in the terminal type:

su
(that will give you root permission)
cd sys/class/net
(change directory)
cd pdp0 that is our data connection
(type LS if you want to see your all your adapters)
mtu=1500
(setting mtu)

To see if this worked type: ip link list

If that dosn't work try and type: ip link set dev pdp0 mtu 1500

I tested my mtu at http://www.speedguide.net/analyzer.p...K_PERM=1&IP_TO
i get told it cant cd pdp0. and yes i have root access. im running cognition 2.1jh7ota if i try the other way i get either dev is duplicate or 1500 is garbage
"Victory through might. Advancement through bold action. Change through force.
Order established through vigilance. A trying situation mastered by balancing opposing forces against each other. Discipline, individual effort and endurance will turn the tide."
 
designgears
Old
(Last edited by designgears; 24th September 2010 at 04:53 AM.)
#6  
designgears's Avatar
Recognized Developer
Thanks Meter 4997
Posts: 3,961
Join Date: Feb 2010
Location: SLC
# cat mtu
1280

WOW, stock is only 1280!!

----edit

got it set and surviving reboots

MTU = 1500
MTU is fully optimized for broadband.
"haters can make like bees with no stingers, and drop dead" -Eminem

Follow me on Twitter!
 
Sportsguy15
Old
#7  
Senior Member
Thanks Meter 11
Posts: 122
Join Date: Aug 2010
Quote:
Originally Posted by designgears View Post
# cat mtu
1280

WOW, stock is only 1280!!

----edit

got it set and surviving reboots

MTU = 1500
MTU is fully optimized for broadband.
Wanna tell us what you did?
 
jhsperc
Old
#8  
Junior Member
Thanks Meter 0
Posts: 17
Join Date: Sep 2010
Location: Canton
I did this with terminal emulator.

I did vi mtu

changed value to 1500

saved and it worked.

Requires vi knowledge and knowing how to use control keys in terminal emulator.

Could probably be done with root explorer as well - probably easier that way...

:)
 
designgears
Old
(Last edited by designgears; 24th September 2010 at 05:24 AM.)
#9  
designgears's Avatar
Recognized Developer
Thanks Meter 4997
Posts: 3,961
Join Date: Feb 2010
Location: SLC
Quote:
Originally Posted by jhsperc View Post
I did this with terminal emulator.

I did vi mtu

changed value to 1500

saved and it worked.

Requires vi knowledge and knowing how to use control keys in terminal emulator.

Could probably be done with root explorer as well - probably easier that way...

:)
doesn't stick on reboot tho..

I just made a simple bash script that runs on boot.

Lowers the ping pretty nicely
"haters can make like bees with no stingers, and drop dead" -Eminem

Follow me on Twitter!
 
jhsperc
Old
#10  
Junior Member
Thanks Meter 0
Posts: 17
Join Date: Sep 2010
Location: Canton
Rebooted mine and checked my interfaces and it listed properly at 1500 - How did you mod yours?

Before your startup script?

 
Post Reply+
Tags
mtu, tether, xbox
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more