Upload rate near zero with Grase

222 views
Skip to first unread message

Marko Grdinic

unread,
Jun 6, 2016, 11:45:04 AM6/6/16
to Grase Hotspot
I've tried Grase both 1.5 and 1.6 on both Ubuntu 12.04 and 14.04 and in all cases while surfing through the Hotstop works fine, the upload rate is minimal. So low that I cannot send pictures via mail and the upload portion of the speed test times out due to it being at zero. There is probably something wrong with the way the traffic gets routed outwards. One thing that I can't explain is that when I put in the server's dynamic IP in the `/etc/hosts` file like so: `10.1.0.2 192.168.13` the upload suddenly starts working, but that cannot be the correct solution to the issue.

Having encountered this error last week, I decided to finally put my foot down and learn some Linux, and after a week of constant reading, I think I have been highly successful at learning the basics of it using the Edx course and some tutorials. However, when it comes to networking stuff on pages like AboutDebian and in the Linux Network Administrators Guide that I found floating freely around the net - apart from the basics, I find the material absolutely overwhelming - so I've decided to ask again here. I am really not going to be able to solve this without somebody more experienced to give me a hand. Sadly, I am not actually getting paid to set up these hotspot apart from in food - it is too bad I can't donate that via Paypal either.

Could anybody tell me where should I start in resolving this issue? Thanks.

P.S. When I install Ubuntu 14.04 Server, the eth0 and eth1 interfaces have the p1p1 and p3p1 names instead. I've barely managed to figure out how to set Grase to recognize these new interfaces by modifying the `/etc/chilli/config` file. An improved installation for Grase and/or a note in the installation documentation about this file should be made.

Marko Grdinic

unread,
Jun 6, 2016, 11:49:23 AM6/6/16
to Grase Hotspot
P.S.S. I have this same issue on two different system actually, so it is not an isolated incident.

Marko Grdinic

unread,
Jun 7, 2016, 3:41:58 AM6/7/16
to Grase Hotspot
I am playing around with trying to set up a standard Ethernet and I figure that it is easy to share an Internet connect via LAN Ethernet in Ubuntu just by setting the method to `Shared To Other Computers` for the connection. Using this it works fine for both upload and download.

Timothy White

unread,
Jun 7, 2016, 5:02:39 AM6/7/16
to Grase Hotspot
Hi Marko

Can you confirm if slow uploads are just HTTP based uploads, or includes HTTPS and other protocols?
Can you please also use the support information collector at https://grasehotspot.org/support/collecting-support-information/ to provide us with more information of your setup.

Regards

Tim

On Tue, Jun 7, 2016 at 5:41 PM, Marko Grdinic <mra...@gmail.com> wrote:
I am playing around with trying to set up a standard Ethernet and I figure that it is easy to share an Internet connect via LAN Ethernet in Ubuntu just by setting the method to `Shared To Other Computers` for the connection. Using this it works fine for both upload and download.

--
This mailing list is for the Grase Hotspot Project http://grasehotspot.org
---
You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspo...@grasehotspot.org.
To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/5030e3f6-12e9-4671-89a5-a75185afd5e7%40grasehotspot.org.

Marko Grdinic

unread,
Jun 7, 2016, 5:34:26 AM6/7/16
to Grase Hotspot
Hi Tim, I'll do as you ask as soon as I reinstall Ubuntu Server. The 14.1 Desktop is acting insane. I can't do apt-get properly for some reason and it constantly keeps readjusting the monitor for no reason indicating some problem with the graphic driver.

Before I start on that, once I run the support information collector and route the data to a file, how should I upload it to pastebin from the command line? Using w3m or something like that?

Marko Grdinic

unread,
Jun 7, 2016, 5:58:05 AM6/7/16
to Grase Hotspot
Here is the support information. I'll get to figuring out whether only HTTP is slow or the rest as well. I haven't edited the chilli config file yet.

Marko Grdinic

unread,
Jun 7, 2016, 6:26:54 AM6/7/16
to Grase Hotspot
For some reason, right now I can't make it work normally either. I cannot get the main computer to see the Ubuntu Server. Strange.

I have no idea what is going on, the only thing I did differently was set the host name to `stanko-all-series` and turn on automatic updates during installation. Very strange. I'll try reinstalling it again. I'll try Ubuntu 12.04 this time.

Marko Grdinic

unread,
Jun 7, 2016, 8:52:10 AM6/7/16
to Grase Hotspot
Ok, after failing the installation once for some reason, I finally got this to work with Ubuntu 12.04. I tried uploading via FTP to Tele2 and what I found is that it would send around 192kb in one burst and then fall to zero. Also, here is the new support information.

This behavior is consistent with what I've experienced with trying to send a picture via Gmail. It would send 90% and then freeze. I guess if the file was less than 192kb it would have passed. I was not paying attention to file size at the time.

What should I try next?

Marko Grdinic

unread,
Jun 7, 2016, 9:47:44 AM6/7/16
to Grase Hotspot
The above makes three actually, I thought might have missed one. Email definitely uses https, the speed test is standard http, and the ftp is ftp.

Ali Farajpahlou

unread,
Jun 7, 2016, 4:33:15 PM6/7/16
to grase-...@grasehotspot.org
hey there! its been a long time since i've been here.

i had the same problem and i did solve it with turning gro off on the lan interface of the hotspot.

u can do it by installing ethtool (shell: sudo apt-get install ethtool), and using it to turn of the gro on selected interface (example: ethtool -K eth1 gro off)

hope i've helped. don't know the reason, but this worked for me.

btw. i had this problem with http, for some reason https upload was working (at least better than http!)

On Tue, Jun 7, 2016 at 6:17 PM, Marko Grdinic <mra...@gmail.com> wrote:
The above makes three actually, I thought might have missed one. Email definitely uses https, the speed test is standard http, and the ftp is ftp.

--
This mailing list is for the Grase Hotspot Project http://grasehotspot.org
---
You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspo...@grasehotspot.org.
To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.

Marko Grdinic

unread,
Jun 8, 2016, 2:03:38 AM6/8/16
to Grase Hotspot
Thank you very much! You saved me!

You suggestion worked beautifully and now that I added the command to /etc/rc.local it persists across restarts. I could not have figured this out on my own. I've been studying this for an entire week and never even heard of the gro command. I am sure glad to have gotten this issue out of the way.

Dražen Žuvela

unread,
Jun 8, 2016, 3:09:13 AM6/8/16
to grase-...@grasehotspot.org

This is interesting to me too. Never heard about "gro".

Now know bit more:

Generic Receive Offload
● GRO restricts what can be merged:
–Identical MAC header.
–Only certain IP header fields can differ.
–Only certain TCP header fields can differ.
●Merged packet can be resegmented losslessly.
●GRO reuses GSO infrastructure.

GRO Status Quo
●Supported by many (but not all) 10GbE drivers.
●Complete conversion of remaining drivers.
●Address any performance regressions.
●Eventual removal of LRO. (Large Receive Offload)

(source of above abstract: https://events.linuxfoundation.org/images/stories/slides/jls09/jls09_xu.pdf )


However, I found this related to to 10Gb NICs

What was your NIC Marko?

Dražen


Marko Grdinic

unread,
Jun 8, 2016, 6:09:14 AM6/8/16
to Grase Hotspot
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller, one which is from the mobo. They only go up to 1Gbit.
Reply all
Reply to author
Forward
0 new messages