I am testing the radiusdesk VM version 2 since 4 days and it is not possible to upload files on internet. In facebook, when you try to add some pictures, you have errors everytime. Also the facebook tchat can't show. Even on Gmail, Yahoo it is not possible to upload some attachments.
A lot of websites can't show properly. I make some research and i found that the bug come from coovachilli but i didn't find any solutions. The same problem occurs on Google chrome, opera and firefox.
But when i use the direct internet connection, i don't have these issues.
Any help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is weird. I've just tried on the VM using Firefox and uploading an
attachment with an email in gmail without any problems.
Perhaps you can try the following:
1.) Restarting the VM
2.) Run the VM on another host machine
3.) Try connecting to the VM from another client
I am testing the radiusdesk VM version 2 since 4 days and it is not
possible to upload files on internet. In facebook, when you try to add some
pictures, you have errors everytime. Also the facebook tchat can't show.
Even on Gmail, Yahoo it is not possible to upload some attachments.
A lot of websites can't show properly. I make some research and i found
that the bug come from coovachilli but i didn't find any solutions. The
same problem occurs on Google chrome, opera and firefox.
But when i use the direct internet connection, i don't have these issues.
i restart the VM, Run the VM on another host machine
and connect to the VM from another client but i have the same problem. AND i am not the only one --> http://coova.org/node/5109
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The WAN interface of your VM, does it have a public or private IP Address? On my test setup I have a private IP Address (192.168.1.x) which I get from my DSL router.
Wonder if a public IP Address might be a cause of problems...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
on the WAN interface the IP address is 192.168.1.111. i am using a Wimax router. I also try to change MTU from 1400 to 1500 but same problem.
So i try the live CD of easyhotspot because it's use an older version of coovachilli 1.0 and upload work nicely on facebook and yahoo. I think that the problem come from coovachilli.
i will take a snapshot of radiusdesk VM and then try to downgrade coovachilli to 1.2.5.
Last edit: KML 2014-08-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
These configurations speed up the internet speed behind radiusdesk and allow us to upload small files and pictures on Facebook and like attachment on yahoo.
But the same problem exist when i try to upload large files >= 1 Mb on yahoo or other websites.
When i will find the final solution, i will post it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This time i make some test on the WAN router, i change config from DHCP to pppoe and everything work now. The DHCP setting use proxy and firewall. Maybe that is why some tcp frames are block when sending big files.
That's why you didn't have this issue.
But i don't know how and why old linux kernel even on dhcp in WAN Router can't upload on internet.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In my test i found another thing really important. If your radiudesk server is connected with equipments which use fast ethernet card; you should use fast ethernet III in the network configuration of virtualbox.
Why?
If you server is connected on fast ethernet card in the other side (modem or wifi router) and you use the default (Gigabit 1000 MT) driver in virtualbox, you will have a lot of tcp retransmissions and timeout because autonegotiation between your server and the modem fails. That is why the upload trafic can be very slow or when you will try to send a file on internet, you will have a big error all the time.
On one side you have a gigabit card and on the other side you have a fast ethernet card. You can look your network card speed or autonegotiation config using this command in root mode (mii-tool).
I also try to force radiusdesk VM to use 100Mbits using this command: (ethtool -s eth0 speed 100 autoneg on) But it fails to apply this configuration.
So what i did?
I change the network driver in virtualbox to Pcnet Fast III and i add these lines in: /etc/rc.local
ethtool -s eth0 autoneg on
ethtool -s eth0 speed 100
ethtool -s eth0 duplex full
ethtool -s eth1 autoneg on
ethtool -s eth1 speed 100
ethtool -s eth1 duplex full
So now i don't have anymore a problem to upload something on internet.
The problem wasn't the linux kernel or coovachilli but network configuration in virtualbox and in the VM.
THANKS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Wow, that can have you running round in circles. Many thanks for the feedback. When time permits I plan to compose a Wiki Page with these nuggets for easy reference.
Kind regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am testing the radiusdesk VM version 2 since 4 days and it is not possible to upload files on internet. In facebook, when you try to add some pictures, you have errors everytime. Also the facebook tchat can't show. Even on Gmail, Yahoo it is not possible to upload some attachments.
A lot of websites can't show properly. I make some research and i found that the bug come from coovachilli but i didn't find any solutions. The same problem occurs on Google chrome, opera and firefox.
But when i use the direct internet connection, i don't have these issues.
Any help!
Hi KML,
This is weird. I've just tried on the VM using Firefox and uploading an
attachment with an email in gmail without any problems.
Perhaps you can try the following:
1.) Restarting the VM
2.) Run the VM on another host machine
3.) Try connecting to the VM from another client
Kind regards
On Fri, Aug 22, 2014 at 6:15 PM, KML kml29@users.sf.net wrote:
i restart the VM, Run the VM on another host machine
and connect to the VM from another client but i have the same problem. AND i am not the only one --> http://coova.org/node/5109
Hi,
The WAN interface of your VM, does it have a public or private IP Address? On my test setup I have a private IP Address (192.168.1.x) which I get from my DSL router.
Wonder if a public IP Address might be a cause of problems...
Which version of virtualbox do you use?
on the WAN interface the IP address is 192.168.1.111. i am using a Wimax router. I also try to change MTU from 1400 to 1500 but same problem.
So i try the live CD of easyhotspot because it's use an older version of coovachilli 1.0 and upload work nicely on facebook and yahoo. I think that the problem come from coovachilli.
i will take a snapshot of radiusdesk VM and then try to downgrade coovachilli to 1.2.5.
Last edit: KML 2014-08-25
After many headaches, i know that the problem come from the linux kernel.
When i try to upload a files on internet, the kernel reset everytime the tcp connections.
So i use these pages to tune up tcp in the linux kernel of radiusdesk VM.
http://kaivanov.blogspot.com/2010/09/linux-tcp-tuning.html
http://www.lognormal.com/blog/2012/09/27/linux-tcpip-tuning/
http://serverfault.com/questions/411629/tcp-connection-reset-in-linuxstrange-packet-loss-but-not-on-windows
These configurations speed up the internet speed behind radiusdesk and allow us to upload small files and pictures on Facebook and like attachment on yahoo.
But the same problem exist when i try to upload large files >= 1 Mb on yahoo or other websites.
When i will find the final solution, i will post it.
Hi,
Can I ask you perhaps to do a small other test (now that you mention the linux kernel)
Can you download the previous VM and see if you have the same problem. The current VM was build on a basic image:
http://virtualboxes.org/images/ubuntu-server/
This image is much smaller than a minimum install if Ubuntu 14.04 so it might be that it got crippled in some way.
Kind regards
OK problem solve.
This time i make some test on the WAN router, i change config from DHCP to pppoe and everything work now. The DHCP setting use proxy and firewall. Maybe that is why some tcp frames are block when sending big files.
That's why you didn't have this issue.
But i don't know how and why old linux kernel even on dhcp in WAN Router can't upload on internet.
In my test i found another thing really important. If your radiudesk server is connected with equipments which use fast ethernet card; you should use fast ethernet III in the network configuration of virtualbox.
Why?
If you server is connected on fast ethernet card in the other side (modem or wifi router) and you use the default (Gigabit 1000 MT) driver in virtualbox, you will have a lot of tcp retransmissions and timeout because autonegotiation between your server and the modem fails. That is why the upload trafic can be very slow or when you will try to send a file on internet, you will have a big error all the time.
On one side you have a gigabit card and on the other side you have a fast ethernet card. You can look your network card speed or autonegotiation config using this command in root mode (mii-tool).
I also try to force radiusdesk VM to use 100Mbits using this command: (ethtool -s eth0 speed 100 autoneg on) But it fails to apply this configuration.
So what i did?
I change the network driver in virtualbox to Pcnet Fast III and i add these lines in: /etc/rc.local
ethtool -s eth0 autoneg on
ethtool -s eth0 speed 100
ethtool -s eth0 duplex full
ethtool -s eth1 autoneg on
ethtool -s eth1 speed 100
ethtool -s eth1 duplex full
So now i don't have anymore a problem to upload something on internet.
The problem wasn't the linux kernel or coovachilli but network configuration in virtualbox and in the VM.
THANKS
Hi,
Wow, that can have you running round in circles. Many thanks for the feedback. When time permits I plan to compose a Wiki Page with these nuggets for easy reference.
Kind regards
Hello! If your on Linux (Ubuntu server with libvirt, not virtual box), and having similar issues, look here:
https://sourceforge.net/p/radiusdesk/discussion/help/thread/b1de03b2/