Strange internet slowness Alix pfsense router
-
Strange as I cannot even get that darn thing to download, no matter what I do. I cannot even download those files onto my own computer from any link that I try from thinkbroadband.com
So I went with another website with a californian server and its definetly slowness through the WAN interface
/dev/null 33% of 11 MB 32 kBps
It was averaging 32k to 45k all night and day.
Any other ideas for as to what we could do? The Motorola Radio that the pfsense router is connected to is using a direct wan auto dhcp connection I suppose to avoid issues with certain customers. I am just wondering what the heck it could be slowing things down so much, could there be DNS issues somewhere here?
-
A DNS issue would not slow down a download like that, it might introduce a delay before it started downloading.
My money is still on some problem between your Motorola device and the Alix NIC. Do you have a switch you could put in between them? That would change the link negatiation and flow control. It should show up any issues.
Hard to say otherwise. :-\ Is there a forum for users of your wireless service?
Steve
-
I had to hook up my old router to post this as it the pfsense router would absolutely not give me access to the internet. Check out the log as it could not get an ip address from the ISP radio it kept going up and down up and down. The speed was pitiful. The log says something in regards to not being able to bind to dhcp address and to make sure that its not already in use and I suppose that was in regards to my laptop being on the wifi? My isp is too small there are no forums for it, I would have to contact the upport people but they would probably tell me to not even bother with the advanced security feature of a pfsense router and to go back to using my old router and be done with it. This really sucks.
May 18 12:08:02 php: rc.linkup: HOTPLUG: Configuring interface wan
May 18 12:08:03 php: rc.linkup: Shutting down Router Advertisment daemon cleanly
May 18 12:08:03 check_reload_status: Linkup starting vr1
May 18 12:08:03 kernel: vr1: link state changed to UP
May 18 12:08:03 php: rc.linkup: Clearing states to old gateway 10.XX.XX.1.
May 18 12:08:05 check_reload_status: Linkup starting vr1
May 18 12:08:05 kernel: vr1: link state changed to DOWN
May 18 12:08:05 php: rc.linkup: The command '/sbin/dhclient -c /var/etc/dhclient_wan.conf vr1 > /tmp/vr1_output 2> /tmp/vr1_error_output' returned exit code '1', the output was ''
May 18 12:08:06 check_reload_status: updating dyndns wan
May 18 12:08:07 php: rc.newwanip: rc.newwanip: Informational is starting vr1.
May 18 12:08:07 php: rc.newwanip: rc.newwanip: on (IP address: 0.0.0.0) (interface: WAN[wan]) (real interface: vr1).
May 18 12:08:07 php: rc.newwanip: rc.newwanip: Failed to update wan IP, restarting…
May 18 12:08:07 check_reload_status: Configuring interface wan
May 18 12:08:08 kernel: vr1: link state changed to UP
May 18 12:08:08 check_reload_status: Linkup starting vr1
May 18 12:08:09 php: rc.linkup: DEVD Ethernet detached event for wan
May 18 12:08:09 php: rc.interfaces_wan_configure: The command '/sbin/dhclient -c /var/etc/dhclient_wan.conf vr1 > /tmp/vr1_output 2> /tmp/vr1_error_output' returned exit code '15', the output was ''
May 18 12:08:11 php: rc.linkup: DEVD Ethernet attached event for wan
May 18 12:08:11 php: rc.linkup: HOTPLUG: Configuring interface wan
May 18 12:08:14 check_reload_status: Linkup starting vr1
May 18 12:08:14 kernel: vr1: link state changed to DOWN
May 18 12:08:14 php: rc.linkup: DEVD Ethernet detached event for wan
May 18 12:08:14 php: rc.linkup: Shutting down Router Advertisment daemon cleanly
May 18 12:08:16 check_reload_status: updating dyndns wan
May 18 12:08:16 check_reload_status: Linkup starting vr1
May 18 12:08:16 kernel: vr1: link state changed to UP
May 18 12:08:17 check_reload_status: Linkup starting vr1
May 18 12:08:17 kernel: vr1: link state changed to DOWN
May 18 12:08:17 php: rc.interfaces_wan_configure: The command '/sbin/dhclient -c /var/etc/dhclient_wan.conf vr1 > /tmp/vr1_output 2> /tmp/vr1_error_output' returned exit code '1', the output was ''
May 18 12:08:18 php: rc.linkup: DEVD Ethernet attached event for wan
May 18 12:08:18 php: rc.linkup: HOTPLUG: Configuring interface wan
May 18 12:08:18 php: rc.linkup: Shutting down Router Advertisment daemon cleanly
May 18 12:08:19 php: rc.linkup: The command '/sbin/dhclient -c /var/etc/dhclient_wan.conf vr1 > /tmp/vr1_output 2> /tmp/vr1_error_output' returned exit code '1', the output was ''
May 18 12:08:21 php: rc.linkup: DEVD Ethernet detached event for wan
May 18 12:08:21 php: rc.linkup: The command '/sbin/dhclient -c /var/etc/dhclient_wan.conf vr1 > /tmp/vr1_output 2> /tmp/vr1_error_output' returned exit code '15', the output was ''
May 18 12:08:22 check_reload_status: Linkup starting vr1
May 18 12:08:22 kernel: vr1: link state changed to UP
May 18 12:08:23 php: rc.linkup: DEVD Ethernet attached event for wan
May 18 12:08:23 php: rc.linkup: HOTPLUG: Configuring interface wan
May 18 12:08:24 kernel: vr1: link state changed to DOWN
May 18 12:08:24 check_reload_status: Linkup starting vr1
May 18 12:08:25 php: rc.linkup: DEVD Ethernet detached event for wan
May 18 12:08:26 php: rc.linkup: The command '/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid vr0 ath0_wlan0' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.2.6 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Wrote 14 leases to leases file. Listening on BPF/ath0_wlan0/00:0e:9b:99:db:f4/192.168.0.0/24 Sending on BPF/ath0_wlan0/00:0e:9b:99:db:f4/192.168.0.0/24 Listening on BPF/vr0/00:0d:b9:19:66:94/192.168.1.0/24 Sending on BPF/vr0/00:0d:b9:19:66:94/192.168.1.0/24 Can't bind to dhcp address: Address already in use Please make sure there is no other dhcp server running and that there's no entry for dhcp or bootp in /etc/inetd.conf. Also make sure you are not running HP JetAdmin software, which includes a bootp server. If you did not get this software from ftp.isc.org, please get the latest from ftp.isc.org and install that before
May 18 12:08:27 check_reload_status: updating dyndns wan
May 18 12:08:27 check_reload_status: Linkup starting vr1
May 18 12:08:27 kernel: vr1: link state changed to UP
May 18 12:08:27 check_reload_status: updating dyndns wan
May 18 12:08:28 php: rc.linkup: Shutting down Router Advertisment daemon cleanly
May 18 12:08:28 php: rc.linkup: DEVD Ethernet attached event for wan
May 18 12:08:28 php: rc.linkup: HOTPLUG: Configuring interface wan -
It's actually seeing the ethernet link go down. I strongly suggest adding a switch in between the wireless device and the pfSense WAN port.
What exactly is the Motorola equipment it's connected to?Steve
-
What kind of switch should I use? I have this simple one TP-LINK TL-SF1008D, would this suffice? I'm thinking that you are meaning a managed switch? I have my ddwrt wrt54gl that I could setup to be a switch. So I'm looking for link negotiation and flow control. So now I've been reading some things about negotiation and flow control, I should be able to find evidence of one device receiving too much information and causing a major pause in the traffic? Even though they are both set to auto negotiate. I believe this to be the issue as if I watch the main pfsense splash page the wan link will go up and down, up and down constantly trying to negotiate the connection. Then when it does its slow as molasses. I suppose if I tell my ISP to set the link speed manually on the radio to a certain speed and I also do the same on the pfsense box that might be interesting to see. Although I'm kind of doubtful that anything would happen.
*** I just realized that the ethernet errors that you are seeing were probably caused when I unplugged the power to the Motorola unit to reboot it.*** I did that frequently or else it takes forever to negotiate a connection with the pfsense box.
There is a simple ethernet cable connected to the Motorola radio that comes down from the roof to my router. So it is a direct connection.
Also I did a search on pfsense and link negotiation issues and this topic in these forums came up and do you think this is useful?
https://forum.pfsense.org/index.php?topic=8440.0
-
Yes you could try fixing the speed/duplex. It's possible the Motorola kit is using a fixed setting that causes auto negotiation to fail but I would expect to loads of errors in that case and the NIC to use its default settings (often 10Mb HD).
Yes put that switch in between the radio and the Alix. That way each device is negotiating with the switch. If you reset the radio pfSense will not see the ethernet link go down which introduces big delays as things reset.Steve
-
Ok putting the switch in between the router and the motorola unit worked perfectly. Thank you I will take this functionality and run with it for now. Thanks again!
-
Ah, that's a good result then. :)
So it could be some rare, but not unheard of, hardware incompatibility between the two NICs in which case there not much else to be done. It could be some negotiation problem that might be fixed by a firmware/driver update. It might be possible to work around it by setting both ends to 100M-FD manually. Something to consider in the future if the connection proves stable perhaps.Steve
-
I think you've misunderstood that. His connection to the WISP is wireless, his WAN is a wireless link. The fibre connection exists only on the other end of that link. 100Mbps is probably capable of whatever wireless speeds he has. ;)
Steve
-
Just going off of this but it's really irrelevant. I was just curious about what a wisp was. But of course I can just look it up:) I see what it is now though but it's not something new. it's just being said differently. wireless Internet service provider = wisp. We used to just say we get our wireless from a satellite in outer space lol. But I do know what you're saying now. Fiber goes to a node in the neighborhood and then it is distributed by wireless. Is that about right?
"I have internet from a local wisp who are attached to a fiber optic connection. I believe its a motorola 5ghz wireless terminal on my roof with auto dhcp. Here's a screenshot of the full interface page."
"I think you've misunderstood that. His connection to the WISP is wireless, his WAN is a wireless link. The fibre connection exists only on the other end of that link. 100Mbps is probably capable of whatever wireless speeds he has. ;)
Steve"
Ok sorry about that. In the interest of not confusing the thread I will remove my post.
-
But I do know what you're saying now. Fiber goes to a node in the neighborhood and then it is distributed by wireless. Is that about right?
I think so, though I confess I assumed quite bit there. ;)
Steve
-
You're okay Stephen:) I was just thinking out loud and somehow it managed to get on the boards.
Take care:)