Network Connectivity - Dog Slow!
- bqgray
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
10 Oct 2013 00:16 #39703
by bqgray
Network Connectivity - Dog Slow! was created by bqgray
Hello,
I have been working to get a new install of LinuxCNC up and running. I'm using the current release with a bread and butter/default installation.
I've got an Intel Atom D2550 system, and I'm connecting with it over ethernet with DHCP.
When I plug the ethernet cable into my mac, it is able to download from the internet at lightening speed.
When I plug the same cable into my LinuxCNC there is connectivity, but it is remarkably slow. I mean really painfully slow.
I'm not sure that might cause this issue, or even what I ought to look in to.
Suggestions much appreciated.
Thanks,
Bill
I have been working to get a new install of LinuxCNC up and running. I'm using the current release with a bread and butter/default installation.
I've got an Intel Atom D2550 system, and I'm connecting with it over ethernet with DHCP.
When I plug the ethernet cable into my mac, it is able to download from the internet at lightening speed.
When I plug the same cable into my LinuxCNC there is connectivity, but it is remarkably slow. I mean really painfully slow.
I'm not sure that might cause this issue, or even what I ought to look in to.
Suggestions much appreciated.
Thanks,
Bill
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5009
- Thank you received: 1442
11 Oct 2013 08:46 #39755
by Todd Zuercher
Replied by Todd Zuercher on topic Network Connectivity - Dog Slow!
The possibility of Linux downloading a huge number of updates in the background on new installation, eating up your bandwidth is quite high. Check to see if that might be slowing you down. (just a guess)
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 761
14 Oct 2013 22:20 - 14 Oct 2013 22:20 #39832
by ArcEye
Replied by ArcEye on topic Network Connectivity - Dog Slow!
Hi
I have not had this problem myself, but all the stuff on Ubuntu forums that has been resolved sucessfully regards slow networking in 10.04, seems to come down to the same thing, IPv6
This is a direct lift from a bug report, with details of what was done to resolve it
regards
I have not had this problem myself, but all the stuff on Ubuntu forums that has been resolved sucessfully regards slow networking in 10.04, seems to come down to the same thing, IPv6
This is a direct lift from a bug report, with details of what was done to resolve it
Warning: Spoiler!
After doing some research, I finally found out that IPv6 is causing the huge delay in resolving url's.
IPv6 is enabled by default and apparently is the first IP protocol used for which to resolv url's.
Most people aren't using IPv6 yet, so attempting to resolv over IPv6 will result in a huge delay untill the system stops trying and falling back to IPv4.
This is the reason why the connections after waiting long enough will succeed.
Also, ping uses ipv4, that's why it works (ping6 being the ipv6 counterpart).
Now,
**************** WORKAROUND ****************
Disable IPv6 entirely
In a terminal, do this: cat /proc/sys/net/ipv6/conf/all/disable_ipv6
0 means IPv6 is enabled, we want it to become 1 (disabled) and make the change permanent.
Open up the following file like this: sudo gedit /etc/sysctl.conf
And add the following lines:
#Disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Now reboot the system, and connectivity should be snappy as expected.
*******************************************************
Although these settings have to do with the kernel configuration, I think that it's up to Network Manager to figure out if resolving through IPv6 is appropriate. So flaging this as a Network Manager Bug because IPv6 is being used even if it's flagged as "Ignore" under the connection settings.
IPv6 is enabled by default and apparently is the first IP protocol used for which to resolv url's.
Most people aren't using IPv6 yet, so attempting to resolv over IPv6 will result in a huge delay untill the system stops trying and falling back to IPv4.
This is the reason why the connections after waiting long enough will succeed.
Also, ping uses ipv4, that's why it works (ping6 being the ipv6 counterpart).
Now,
**************** WORKAROUND ****************
Disable IPv6 entirely
In a terminal, do this: cat /proc/sys/net/ipv6/conf/all/disable_ipv6
0 means IPv6 is enabled, we want it to become 1 (disabled) and make the change permanent.
Open up the following file like this: sudo gedit /etc/sysctl.conf
And add the following lines:
#Disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Now reboot the system, and connectivity should be snappy as expected.
*******************************************************
Although these settings have to do with the kernel configuration, I think that it's up to Network Manager to figure out if resolving through IPv6 is appropriate. So flaging this as a Network Manager Bug because IPv6 is being used even if it's flagged as "Ignore" under the connection settings.
regards
Last edit: 14 Oct 2013 22:20 by ArcEye.
Please Log in or Create an account to join the conversation.
- bqgray
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
22 Oct 2013 22:42 #40177
by bqgray
Replied by bqgray on topic Network Connectivity - Dog Slow!
Thanks so much for the info.
I had to let the project sit for a bit while I made some parts, but when I turned the computer back on after it sat for a week, things were working much better!?
In that time, I reconfigured my router to stop using the google DNS service and use one provided by my ISP.
I suspect that the google DNS is configured so that if you want to use it temporarily to get things working it is happy, but after a while it slows down to encourage you to move to a different server.
Regardless, I disabled IPv6 everywhere, and the network is working great on the LinuxCNC box now.
Thanks again for all your help.
Bill
I had to let the project sit for a bit while I made some parts, but when I turned the computer back on after it sat for a week, things were working much better!?
In that time, I reconfigured my router to stop using the google DNS service and use one provided by my ISP.
I suspect that the google DNS is configured so that if you want to use it temporarily to get things working it is happy, but after a while it slows down to encourage you to move to a different server.
Regardless, I disabled IPv6 everywhere, and the network is working great on the LinuxCNC box now.
Thanks again for all your help.
Bill
Please Log in or Create an account to join the conversation.
Time to create page: 0.058 seconds