yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] othermark:
I just want to chime in and note a couple of things:

Increasing the MTU will likely have zero effect on your ping. The standard ping is like 40 bytes long, and with the ip/icmp header added it's still way under 1280. They should be the same.

Increasing the MTU could have an effect on speed test or large hunks of data because more data is transferred in less packets.

A MTU of 1280 is the minimum MTU needed for ipv6.

A low MTU is 'safe' because avoids a lot of problems that you might encounter if the connection is required to go through a tunnel. If you find your tethering or VPN not working, or are seeing connection stalling you might want to lower it.

Lastly, NAT breaks the point to point nature of the internet. Guess what the telco's do? They NAT all the phones behind an area network to an address. Although MSS and PMTU discovery allows TCP based connections to work pretty good (webpages), UDP based streaming doesn't have that tight relationship behind NAT which means icmp errors saying the packet is to big and should be fragmented may not make it. (If supported, the NAT device basically has to do deep packet inspection on the icmp error to find out which UDP stream it belonged to.) This really only applies to the APN interface or the modem.

The wireless interface (which ever interface that is on the phone) I would imagine to have 1500 by default.
[Captivate Android Development] bsc7080xsc:
Okay, now I am really confused. It was there and now its gone again. Feeling a moment of Doh! Any ideas ?
[Captivate Android Development] gabrielsalgado:
Im running Bionix 1.9.1
[Captivate Android Development] yokozuna82:
turn off wifi and pdp0 will show up ....thats what i did
[Captivate Android Development] yokozuna82:
is there another way to change the mtu to 1500 i used terminal emulator the 1st command wont work and the 2nd command wont stick can it be done using something else like root explorer and how
[Captivate Android Development] TheTodFather:
+1 on any other way to get this to stick.
[Captivate Android Development] bwolmarans:
Unrelated. A ping packet is not very big, maybe 64 bytes, so your MTU change has no effect on the size, and furthermore, MTU setting has no effect on how long bits and bytes take to get to somewhere and back, and how quickly that certain somewhere's ip stack sends out a reply.

Edit: othermark said it better.

Edit: But all this is logic, and in the world of computers logic is tempered by the quirks ... SO if anyone consistently gets faster ping times when setting a larger MTU ( apples to apples comparison please, e.g. from same tower to same server, same time of day ) that would be of interest.
[Captivate Android Development] TheTodFather:
Ok point made. I think you drove that home;however , lets not get off track here. Our goal is to get the MTU changes to stick. Unless they are being throttled from elsewhere as one commented earlier. I would like to maximize our packet size becaue most of us are not using edge anymore and 3g is perfectly capable of bigger packet size. Why not...

Main reason to increase MTU was to gain more packets period. I was wrong about ping times because i didn't realize how small those packets are and thanks for the info I'll update OP.
[Captivate Android Development] bwolmarans:
+1.

Especially when you consider the mtu only affects up-bound traffic from the phone :-) that's what the T in mtu stands for.
[Captivate Android Development] TheTodFather:
You are wrong and have been mislead because it does send up-bound info to communicate with a sever on the other end in order to negotiate how big a packet your computer is saying it can receive ex 1500 over 1280 hence the download speeds will be more robust with bigger packets so the process of sending and receiving packets are less. Because each time you receive a packet you have to acknowledge that you have received it. Then the process begins over again and again until you received all your data. A larger MTU brings greater efficiency because each packet carries more user data while protocol overheads, such as headers or underlying per-packet delays, remain fixed; the resulting higher efficiency means a slight improvement in bulk protocol throughput. A larger MTU also means processing of fewer packets for the same amount of data. In some systems, per-packet-processing can be a critical performance limitation.

Large packets can occupy a slow link for some time, causing greater delays to following packets and increasing lag and minimum latency. For example, a 1500-byte packet, the largest allowed by Ethernet at the network layer (and hence over most of the Internet), ties up a 14.4k modem for about one second.This is one of the cons because when bandwidth dries up (signal degradation) then a smaller mtu would be more optimal. Windows 7 actually has dynamic mtu that adusts on the fly and so does linux as far as I know. But android seems to be static. This is all just a test and I havent even got the mtu to stick to even test this out!!!

Hope this explains the process of how MTU works. It does effect download but it does send so in that aspect you are correct but it definitely effects download speeds.
[Captivate Android Development] sanfrenchysco:
MTU... fragmentation vs. Xfer speed

MTU as in Maximum Transmit Unit.

If Android does not have a dynamic MTU then it better be adjusted to what the (cellular) network can handle otherwiese the packets will be FRAGMENTED to the size handeled.

When packets get fragmented performance is out of the window!

Enough with the therory...practically MTU must be set by testing the packet size using ping information.

1500 is the maximum but may not applicable here.

The optimal MTU is the largest packet size that can be transfered without being fragmented!

Unfortunatly, the "busybox ping" installed on my Captivate does not have an argument to set the *Don't Fragment* option (on WinXP: "ping -f") - So can not test for now ie better leave it alone as someone said: "show me the performance increase"...

WiFi users networked with DSL should use 1492 where 1500 works best with cable.
[Captivate Android Development] sanfrenchysco:
MTU fragmentation testing

I just thought of a convoluted way to test MTU: use a PC tethered to a Captivate on a Cellular connection.

1- Set Captivate cellular MTU to 1500 (for now so we know it is not clipping packets size at 1280)

2- From the PC: ping -f www.google.com

The ping reply will tell you if the packets are fragmented.

3- Lower the MTU until packets are no longer fragmented.

There you have the best MTU for cellular connection (1280?)

Pls post test results. This should settle that question.:D
[Captivate Android Development] Kneowe:
Works now

After the media hub update tethering started working on xbox and the computer.it worked for two days really well and then stopped? Can't figure out why any suggestions.
[Captivate Android Development] Journyman16:
@aceman0455 - re: 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

I think you need to use YOUR interface name - for example mine is wlan0 that I want to change so my wifi talks nicely to my home modem. pdp0 is (I think) just his interface name so you need to find yours.
[Captivate Android Development] kikokazuma:
1400 is a safe MTU for mobile networks. Adjusting it to 1500 is going to break web applications on some mobile carriers (HTTPS, amongst other things).
[Captivate Android Development] blazin8:
I'm using terminal emulator on my lg g pad f 7(not rooted) and even though it says the mtu is 1500 it hasn't changed in my detailed network settings for my xbox one. Also how would i know which adapter is my xbox one. I believed it to be wlan0 but now im not so sure

---------- Post added at 07:34 AM ---------- Previous post was at 07:17 AM ----------

Bump
[Captivate Q&A, Help & Troubleshooting] whitesox311:
i have to wonder about you if you DONT realize how incredibly lame/awkward/gay this sounds

feel free to delete/move :)
[Captivate Q&A, Help & Troubleshooting] mesasone:
The only thing that sounds lame/awkward is your petty whinging over the term "cappy" - who cares! Also, this has nothing to do with Android Development.
[Captivate Q&A, Help & Troubleshooting] ukulele_ninja:
please go jump off a cliff

thanks.
[Captivate Q&A, Help & Troubleshooting] LGSilva:
Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy Cappy

Sorry, hehehe.

Easy to write and yeah, who cares?

+1 for not development topic
[Captivate Q&A, Help & Troubleshooting] Tinyboss:
How come we can't rate zero (or negative) stars?

Nobody cares whether you like "cappy" or not.
[Captivate Q&A, Help & Troubleshooting] Martinjv71:
and nobody cares that you don't care. I agree such a bad #$@ phone has such a girly name.
[Captivate Q&A, Help & Troubleshooting] buddy17:
i wish i was a mod so i could sticky this.....
[Captivate Q&A, Help & Troubleshooting] cheetablaze:
I'm sure that calling it a Cappy on a forum is okay, pulling it out of your pocket and referring it as a "Cappy" to all your friends.... Well that may get your pinned to the ground and teabagged repeatedly in front of Starbucks...

I can't really see a chick calling this a Cappy as well... not unless she dresses up like Rukia from Bleach every weekend just to play D&D with her 4H camp buddies...
[Captivate Q&A, Help & Troubleshooting] bfgarzilla9k:
Agreed. 5*'d.
[Captivate Q&A, Help & Troubleshooting] CLShortFuse:
capcap

cappy

captive

cappity

cavity

cavitate
[Captivate Q&A, Help & Troubleshooting] gunnyman:
cappy cappy cappy cappy cappy chameleon you come and go you come and go-o...
[Captivate Q&A, Help & Troubleshooting] buddy17:
although that is true, it is much different in person...but too bad all i can think about is someone pulling it out and calling it a cappy to my face when i read it. Hopefully people know they sound like a douchebag when they call it that on the forum as well, though. ;)
[Captivate Q&A, Help & Troubleshooting] WickedStyx:
I think everyone should put this in their sig in support of cappy
[Captivate Q&A, Help & Troubleshooting] zelendel:
Closing. The thread as not development based. It will,be once I get to my PC lol
[Captivate Q&A, Help & Troubleshooting] pongothemagnificent:
Yes cappy is mad gay...
[Captivate General] chasesavestheday:
Tried to restore from Cog 2.1 to JH7 with Rom Manager.

Failed to remember the voodoo disable thing.

After restore phone rebooted, as soon as i swipe to unlock i get force to close windows.

Just run Odin one click. Good as new.

/thread delete if wanted..
[Hero CDMA Android Development] surfline22:
I was trying to set up Google Voice on CM6 to check my voicemail, but when setting it up there was an error saying that my carrier didn't allow this, or something along those lines. How do I fix this?

Thanks.
[Hero CDMA Android Development] dpeeps74:
Once you sign into Google voice, you can then go into call settings and set it. If you've never used Google voice, go on the web version and activate your phone.
[Hero CDMA Android Development] vita10gy:
If you're on Sprint it just says it can't automatically set it up, you have to do the last steps, but it tells you what to do.
[Hero CDMA Android Development] surfline22:
Ok. I set it up on the web. Now when I try calling my phone, after a couple rings it says: "please try again" and doesn't go to any voicemail. Any suggestions?

Thanks.
[Hero CDMA Android Development] theimpaler747:
dial *28 attached to your google voice number, which can be found in settings, call settings, voicemail number.
[Hero CDMA Android Development] surfline22:
Tried that again. Still same thing. Doesn't go to voicemail.
[Hero CDMA Android Development] theimpaler747:
Well, you could always just use sprint VVM! See my signature if you want to :D
[Hero CDMA Android Development] oohoy:
i got the same message that sprint doesnt allow google voice to take place over sprint voice mail. i clicked ok and ignored it and its changed to google voice mail system anyway.
[Hero CDMA Android Development] surfline22:
Yeh, same here. But it doesn't go to voicemail when I call my phone.
[Hero CDMA Android Development] thoughtlesskyle:
its working fine for me on sprint i just had to do the *28 stuff
[Hero CDMA Android Development] Kirby Baker:
I remember when I set up my GV, the *28<number> did not work either. Came across another thread somewhere that suggested a different * number, I want to say it was something like *73 or *78? I did that, and GV works fine now, calls come in, then bounce over to GV after about 6-8 rings.
[Hero CDMA Android Development] vita10gy:
Another guy having a simmilar problem just requested a different google voice number, and did the usual setup. You could try that if your GV # isn't known to anyone anyway.
[Hero CDMA Android Development] alexthearmo:
I had this problem after the most recent update. I tried everything. Finally someone told me to go into the web page of Gvoice and go to voice settings...and change your number. I changed my number, and then reset everything up and now it works perfectly. Hope that helps!

EDIT: Woops. Didn't read the posts above mine. Sorry!
[Desire Q&A, Help & Troubleshooting] equlizer:
I just got the HTC desire (north american version) SLCD and want to be able to use the Wiimote and my BGP100 but they all say incompatable with "Sense" phones.

What do i have to do to fix this problem? change roms? Any help appreciated. 1st post in many years :)
[Desire Q&A, Help & Troubleshooting] !PANDA:
Wouldnt yoy rhink this should be in accessories section?

Sent from my beloved hTc Desire!
[Desire Q&A, Help & Troubleshooting] foxmeister:
As I understand, CyanogenMod and ROMs based on it support the Wiimote.

I can't say for sure though, as I personally couldn't be bothered to tote around a Wiimote to play games on my Desire (though I understand why others do!).

Regards,

Dave
[Desire Q&A, Help & Troubleshooting] AndroHero:
i thought the wiimote support was so you can use your device as a wiimote, not so you can use a wiimote on it :confused:
[Nexus One Accessories] garfnodie:
I finally received my little square card reader from Squareup today. I'm anxious to get a chance to use it.

I'm curious if anyone else has gotten one yet and started using it on a regular basis. What do you think of it? I'm also wondering if anyone one out there has found some other uses for it? Near as I can tell, it's a standard magnetic reader head, so there's not reason it couldn't read any magnetic striped card. I think it'd be cool of those password/credit card/bank account app could use this dongle to read your card number instead of having to type it in manually. I've already used an audio recording app and successfully swiped and recorded the audio stream that comes from the reader.

So what are your guy's thoughts, idea's, suggestions for this niftly little dongle. Will it survive, or is it destined to be another Cuecat
[Nexus One Accessories] ziekrage:
Mine came in yesterday. I'm waiting for someone braver than I to crack one open to see if there is more to it than just a magnetic read head and male headphone jack. It would be neat if we discover a microcontroller flashed with a code that pairs each device specifically to the users account. But really I'm hoping it's just a simple set of components so that I could easily fabricate a new one if mine gets lost/broken.
[Nexus One Accessories] luvit:
Can you please post your apks?

I just dont see it in market.
[Nexus One Accessories] garfnodie:
What APK's are you looking for?
[Nexus One Accessories] luvit:
Squareup apk fot credit cards
[Nexus One Accessories] garfnodie:
Sorry, stupid moment. I don't know how to pull APK off my phone. Here's a link that includes a QR code that I'm sure will you get you to the market page.

http://www.doubletwist.com/apps/android/Square/-4760093326407457649/
[Nexus One Accessories] joshuapurcell:
So I received the card reader, but I haven't been successful with using it up to this point. I have a Galaxy S Vibrant, and when I follow the instructions for swiping credit cards absolutely nothing happens in the square app. Has anyone accepted payments successfully with the card reader, and if so what are you doing differently?

EDIT: Sorry about posting on this in Nexus One section. Although I'm not currently testing on a Nexus One the problem I'm having is hopefully more related to the application or OS than it is the hardware, and this is the only discussion related to Squareup on this forum.
[Nexus One Accessories] ziekrage:
Try testing the card reader using an audio recording app like garfnodie did. If you don't get some kind of whooshing sound on your recording, then there's a chance you've got a bad reader. But if you do get sound, then I'd say it is a hardware compatibility issue with your Galaxy.

BTW, do you get the card reader icon pop up in Square when you plug/unplug your reader?

http://img508.imageshack.us/img508/7183/readeryes.png

http://img137.imageshack.us/img137/6443/readerno.png
[Nexus One Accessories] joshuapurcell:
I wasn't getting that icon in my initial tests, but I am now that I pull the card reader out of the phone just a little. There is a certain point where I leave it that the icon stays solid and the app appears like it is ready to accept a swipe, but swiping the card does not start the authorizing process. Most degrees of pulling the card reader out of this phone only results in the icon disappearing or it constantly appearing then quickly disappearing.

I tested my card reader on a Droid X today and it worked fine, so I'm assuming this issue is most likely related to using the card reader on a Samsung Vibrant. I am running a custom ROM (Bionix 1.6 at the moment) which may have an impact on audio jack functionality, but I'm not sure. I'll need to try other ROMs and see if the audio jack behavior is any different.
[Nexus One Accessories] joshuapurcell:
I've found that using a normal headset in the same way that I described with the card reader behaves identically. The app shows the icon but in either case I'm unable to successfully swipe a card.

EDIT: I've also found that the Samsung Vibrant does video out via the 3.5mm audio jack. I'm leaning towards this being the cause as to why the card reader doesn't work with this new audio jack. Here is more information:

http://www.wirefly.com/learn/wireless_news/confirmed-samsung-vibrant-tv-out-menu/

If I toggle video out on, then I can't get the Square application to see anything plugged in. If I keep video out toggled off, then I get the level of functionality described above. If it turns out that this is the reason for the issue, then I hope it can be solved via a software update on either the Android or Square side (rather than a hardware issue). I've opened a ticket with Squareup with all this information.
[Nexus One Accessories] garfnodie:
I never even noticed that the card reader uses four conductors until I read your post about your problem and took a closer look at my card reader. A standard headphone jack uses three conductors(left, right, ground), most cell phone jacks use four conductors(left, right, mic, ground). Now if the Captivate can switch that fourth conductor from mic in to video out when needed, then it certainly sounds like a software issue, just don't know whos problem it and to fix.
[Nexus One Accessories] joshuapurcell:
Someone else posted in the Vibrant forums saying they have had success in getting the card reader to work while using a specific ROM:

http://xdaforums.com/showthread.php?t=806795

So this means it may not be a hardware problem with the card reader or the Vibrant, and that the software issue may be on the OS side and fixable via changes to whatever ROM being used. I haven't done the testing yet due to time, but I will hopefully today. The updates to this issue will be in the linked thread above going forward since it seems to be isolated to the Vibrant and we now have a Square discussion in that appropriate forum.
[Nexus One Accessories] player911:
this actually looks awesome. I guess it converts what it reads into audio that the program can pick up. What the hell is the usage though?

/me thinks

I guess it would be awesome for when I work on peoples computers and websites, they can pay me right there. Pretty slick.
[Nexus One Accessories] garfnodie:
I can see this being great for swap meets, flea markets, or trade shows or anything for that matter where your selling products or services and want to be able to take and approve credit/debit card sales on the spot.
[Nexus One Accessories] player911:
Yea. Actually my friend is trying to start up a Transmission Repair shop and really fell in love with the idea of being able to accept credit cards on the go.
[Nexus One Accessories] daijizai:
Just called Square in the market...
[Nexus One Accessories] Teidullie:
Just got mine

Just got mine and I cant wait to start using it I was having problems with the icon not showing up and I just uninstalled/installed and that fixed it.
[Nexus One Accessories] player911:
I haven't received my unit yet, but has anyone had any issues with it? I've looked into it and supposedly it's capped to $100 per transaction and I think your capped on the number of times you can use it per day.

Also I heard the reader may take multiple swipes before the software actually picks up on it.

I don't think the cap will be a big issue for me, but I would trust the opinions of the people here more then random bashes on the internet.

Would be neat if you are a Craigslist whore. Not only would you be able to take credit/check cards, but you'd also get a receipt of the transaction as well.
[Nexus One Accessories] garfnodie:
Q

Here is the FAQ on Square's page about the fee's, transaction limits, etc.

https://support.squareup.com/entries/160793-frequently-asked-questions-faq#card-fees
[Nexus One Accessories] garfnodie:
Yes, the exact name is Square. Are you in the US? It's only available in the US right now.

http://www.appbrain.com/app/square/com.squareup
[Nexus One Accessories] luvit:
This absolutely does not show up in market for me. Even from links on squareup.com.

Who is rooted prior to searching for this and had succeeded to install?

I did obtain an APK, I can't remember from where, but when I click on install button it simply states "not installed"
[Nexus One Accessories] garfnodie:
Where are you located, geographically speaking?

As for root vs not rooted, I am rooted and was able to install and use it, my father is not rooted and he was also able to install and use it as well.
[Nexus One Accessories] luvit:
I have confirmed it is because I'm rooted.

It does not reject all rooted phones..

I happen to be using leaked 2.2 stock rom with hydrakernel v0.5.

What rom and kernel are you using?

Thanks.
[Nexus One Accessories] inneyeseakay:
I'm using a rooted Nexus One w/Evil's NXSense ROM and had no problems downloading or using the app...
[Nexus One Accessories] garfnodie:
I'm running CM6 nightly build 204.
[Nexus One Accessories] Kermee:
Square sent me two of the readers by accident.

Works without issue on CM Nightly 203.

Cheers,

Kermee
[Nexus One Accessories] garfnodie:
I got two readers as well, so I gave one to my Dad, and he installed and set up the app on his phone, and then he was told that his reader was on the way, so now he's going to have two, maybe three if they double up on him as well.
[Nexus One Accessories] Smokeaire:
I received two readers also.

I rooted my Nexus 1 months before I knew about Square, no problems in downloading and installing app. Running CM roms.