Internet fails and then comes back up after 2-3 secs



  • Im having a issue from a few weeks back.

    I noticed this on YouTube videos but Ive narrowed down the problem. Basically every YouTube video would require buffering. At first I thought it was YouTube acting up.

    Then Im connected to IRC and it disconnects. It reconnects almost instantly.

    When it disconnected, I tired to ping 8.8.8.8 and didn't get a reply. Trying it the next 10 secs, it was back replying to me.

    It seems that the PPPoE connections fails/falls and automatically comes back up.

    I haven't changed anything in the configuration and I installed the 2.1.5 update just in case it fixes it but nothing. I also have power cycled my modem.

    Ive also tested this on wired and wireless connection. PCs, laptops, smartphones, etc. show the same.

    Since this can be thousands of things, what logs should I post from pfSense to show you guys and see if we can crack down on this problem?

    Thank you



  • Man, this problem is annoying sometimes…



  • Sounds like your internet sucks…  Maybe you have a problem with a line or something?



  • The problem is that there has been no changes anywhere in my house. That's why I wanted to look at pfSense's logs to see if it is some other issue.

    Phone works great.



  • A line that can carry voice MAY be able to carry data, but it can degrade and still carry analog voice but not data.



  • @kejianshi:

    A line that can carry voice MAY be able to carry data, but it can degrade and still carry analog voice but not data.

    How can it degrade without any changes? The line isn't that old either…....they physical lines only exist about 10 years ago.
    What is the best way to check the line?

    I still think the connection is at fault but since Im not sure what log to look at....



  • Wet - corrosion, age, exposure…

    Things break.  If its DSL its probably just a twisted pair of copper wires that are older than your mom.



  • @kejianshi:

    Wet - corrosion, age, exposure…

    Things break.  If its DSL its probably just a twisted pair of copper wires that are older than your mom.

    I just said that my house is younger than your sister. If this was 1990, then, yes, maybe "Wet - corrosion, age, exposure" might have something to do with it but in a modern house with modern cables and modern equipment, the chances of that being the cause are the same chances of me giving you a younger sibling.



  • Does DSL arrive over a twisted pair of phone lines or not?

    If so, that far from modern even if your house is new.

    Are the lines leading from the phone company to your home all brand new?



  • @kejianshi:

    Does DSL arrive over a twisted pair of phone lines or not?

    If so, that far from modern even if your house is new.

    Are the lines leading from the phone company to your home all brand new?

    So now you think the phone company is at fault?

    Which is it my fault or my ISP/phone company's fault?

    You haven't even asked me to check dmesg in case it is some USB LAN device disconnecting. You are automatically supposing that it is old equipment (which I again doubt; Not only is my house new but my entire block has the same age so the phone company, when they put the phone lines, went also thru, guess what, new copper wire…



  • Check your cables and network cards.  I had perfectly working connections until I moved to a new office.  Exactly same pfSense machine and cables and internet was up and down constantly.  Went to computer room and looked at the back of the pfSense machine as I wiggled the wires.  The lights for connectivity would flash.  I swapped out the cables and had the same issue.

    Changed the one network card and now all is fine again.

    Looking at the card lights while manipulating the wires is a simple and effective way to see if you've got an issue there.



  • Well - Sounds like you will have no problem solving this.  Sounds like you are well on your way.

    Glad you have some ideas of what to look at.

    You are probably right.  Mark the lines off the list of things to check.  It can't possibly be those.



  • What do the PPP logs show at the time? What does mtr to 8.8.8.8 or anything else on the Internet show at the time? Pings timing out doesn't tell you much, for all you know from that, it got well into your ISP's network and got dropped.



  • @DungaBee:

    Check your cables and network cards.  I had perfectly working connections until I moved to a new office.  Exactly same pfSense machine and cables and internet was up and down constantly.  Went to computer room and looked at the back of the pfSense machine as I wiggled the wires.  The lights for connectivity would flash.  I swapped out the cables and had the same issue.

    Changed the one network card and now all is fine again.

    Looking at the card lights while manipulating the wires is a simple and effective way to see if you've got an issue there.

    But see, your situation is different than mine. Your pfSense machine traveled. It could have hit a dump and messed up a card, a cable might have gotten worn down when you got it out of your car into the new office, etc. Those I can understand perfectly! But my pfSense has been STILL. It hasnt moved anything.

    @kejianshi:

    Well - Sounds like you will have no problem solving this.  Sounds like you are well on your way.

    Glad you have some ideas of what to look at.

    You are probably right.  Mark the lines off the list of things to check.  It can't possibly be those.

    First, I asked for logs to look at you. You automatically choose to ignore that and just say that it was my internet connection. What kind of logic is that? Second, I repeated that the cables are new, nothing has changed in my house, etc.

    Im sure your a network tech so lets see: In the last 10 years, have you ever had to replace a standard network cable in a building that itself and ALL its network equipment has less than 10 years? And sure, network cards DO die BUT guess what? LOGS can tell me if a interface is malfunctioning because it is being disconnected, packets are being lost, etc…You have yet to tell me what log to even start to look at

    @cmb:

    What do the PPP logs show at the time? What does mtr to 8.8.8.8 or anything else on the Internet show at the time? Pings timing out doesn't tell you much, for all you know from that, it got well into your ISP's network and got dropped.

    FINALLY. A good answer!

    Where can I get the full PPP log? pfSense only shows me in the web interface the last 50 entries?
    Is mtr integrated into pfSense or do I have to use http://sourceforge.net/projects/winmtr/ ?



  • You are funny man.  Good luck.

    Oh - And to answer your question:

    "Im sure your a network tech so lets see: In the last 10 years, have you ever had to replace a standard network cable in a building that itself and ALL its network equipment has less than 10 years?"

    Yes - CAT5 cable run from basement of a my new house. 5 years at the time?  Used to carry gigabit ethernet just fine, then for apparently no reason it degraded.  Would only carry 10/100 but not 1000.

    Luckily the phone line was not in use, was same exact type of cable to same face plate with RJ45 and not in use.  So I just unplugged that from phone board in basement and plugged into the switch.  Done.

    I hope that answered your question well enough?


  • Netgate

    I'm not saying that it's your lines, but just because your house is newer doesn't mean you're not running through some crappy ass old lead-wrapped copper from the 1960s somewhere between you and the RT/CO.

    Get into your DSL modem and see if there are any layer 1 or layer 2 errors or counters than you can look at.  See if it logs anything.  No, sorry, I can't tell you exactly how to do that on your modem.  Your ISP (if they give you the time of day) might be able to tell you how and maybe run a test from their gear to yours.  Chances are, like everyone else, they will blame pfSense (It could very easily be that damn apinger again, but the quality graphs and gateway logs will indicate that.)

    Other than that check out your RRD graphs for Quality and the PPPoE logs, etc.  see if you can find something that coincides with your connection dropping then work from there.



  • Derelict - My point exactly.  Even if the block is new, the infrastructure to the phone company is more than likely ancient.

    BTW - I'm also not saying its for sure the DSL lines.  Just saying its a strong possibility and worth a check.

    I suppose you could connect a computer directly to the modem to test it.

    Had very similar issues with a server in louisiana.  Eventually had to dump DSL for the only competing tech in that area. Slightly less ancient cable )-:

    At least that usually works.


  • Netgate

    When you have a line that's marginal for DSL there is little or nothing that can be done.  Especially if the "phone works great."  If this is actually your problem and you want to get it fixed.  Stop saying that.  :)



  • to dump the full log, run:  clog /var/log/ppp.log

    or change the log length on settings tab.

    mtr is available as a package, though it'd probably be better to run from a LAN host.



  • @kejianshi:

    You are funny man.  Good luck.

    Oh - And to answer your question:

    "Im sure your a network tech so lets see: In the last 10 years, have you ever had to replace a standard network cable in a building that itself and ALL its network equipment has less than 10 years?"

    Yes - CAT5 cable run from basement of a my new house. 5 years at the time?  Used to carry gigabit ethernet just fine, then for apparently no reason it degraded.  Would only carry 10/100 but not 1000.

    Luckily the phone line was not in use, was same exact type of cable to same face plate with RJ45 and not in use.  So I just unplugged that from phone board in basement and plugged into the switch.  Done.

    I hope that answered your question well enough?

    Was the CAT5 cable older than 5 years old and/or did you wire it yourself? Might be the culprit there.

    @Derelict:

    Get into your DSL modem and see if there are any layer 1 or layer 2 errors or counters than you can look at.  See if it logs anything.

    I think that is possible. Ill check that out. Didn't think of my modem's logs, thanks.

    @Derelict:

    Your ISP (if they give you the time of day) might be able to tell you how and maybe run a test from their gear to yours.  Chances are, like everyone else, they will blame pfSense (It could very easily be that damn apinger again, but the quality graphs and gateway logs will indicate that.)

    Exactly. Since kejianshi is so stubborn thinking its my "1950s" line, the best I could problably do is call up my ISP and run some tests against their modem.

    @Derelict:

    Other than that check out your RRD graphs for Quality and the PPPoE logs, etc.  see if you can find something that coincides with your connection dropping then work from there.

    There are graphs in pfSense for quality? Intresting. That's what I wanted to look at in the first place :)

    Where can I view that?

    @cmb:

    to dump the full log, run:  clog /var/log/ppp.log

    or change the log length on settings tab.

    mtr is available as a package, though it'd probably be better to run from a LAN host.

    Thank you finally for telling me where I can view some logs. Ill try these tests out and get back to guys with some information and see if we can figure this out.

    Thank you very much.



  • It was about 5 years old and wired by whatever professionals built the house.

    status > system logs > PPP?

    If you are looking for status > systom logs > some other logs they are there also.

    If there is another clearly marked menu you need help finding, just ask.



  • @kejianshi:

    If there is another clearly marked menu you need help finding, just ask.

    @riahc3:

    Where can I get the full PPP log? pfSense only shows me in the web interface the last 50 entries?

    If you need help with your reading skills or english, just ask.



  • That is the full log…  haha.

    To get a longer log you would need to adjust the length of the log to greater than 50.  (put in a number bigger than 50 but less than 50 million)

    The logs are circular so they overwrite.  Not just append to infinity.

    P.S.  Is your modem handling all the PPP for you and you just plugging into its ethernet port?

    Or is it passing through and pfsense handling PPP?

    I'd prefer to let the modem handle it unless it put you in a double NAT condition.


  • Banned

    See…. very basic questions end up in communication that is irrelevant for problem solving.

    By not knowing the product (basic skills) one ends up bitching about simple things as logs and charts.

    Instead of solving the issue.....by calling the ISP and complain about packetloss :D


  • Netgate

    @riahc3:

    There are graphs in pfSense for quality? Intresting. That's what I wanted to look at in the first place :)

    Where can I view that?

    Status->RRD Graphs->Quality
    Status->System Logs->Gateways