LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 01-28-2016, 01:59 AM   #1
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635
Blog Entries: 20

Rep: Reputation: 81
Help debugging problem with my ISP connection


Any help or suggestions on this issue are welcome. The problems originates quite far back and I've worker around issues in several ways so far but things seem to keep on changing on the ISP side.

The first issue I started getting was that although pppd did not detect any particular issues my isp's DNS servers stopped.
I worked around this firs issue by checking every 5 minutes if DNS was working, if not I'd have the router reinitiate ppp connection.

After some time ISP must have changed something and the new issue seems to be that ppp connection broke unexpectedly. I changed the peers setup to use persistent connection so that it would reinitiate whenever it broke along with uncapping the maxfail option.
This seems to work for a few days then another odd thing starts happening: although everything works fine from the router itself the lan masqueraded behind my router starts experiencing limited browsing capabilities. I'll explain that a little better because it's really odd:
although the I can use links on my router to browse any part of www the lan masqueraded behing my router can only reach some common places like google and my own ISP's portal ... while the rest of www is resolved but inaccessible. It looks like request is sent but now answer comes back, not sure it it never reaches destination or it nothing ever gets back. The other pdd thing is that usually I can ping the destination from the internal lan.

I've put pppd in debug mode but so far`it's not produced any interesting info (maybe I should enable also kdebug).
I'm also considering using demand instead of persist (but this would inhibit the use of port forwarding for running a web server from home).

I've assumed I could be getting some issue with iptables so I flush and restart iptables on the router but that seems to do nothing.

Up to a few days ago the only solution seemed to be resetting the modem my ISP gave me and then reinitiating ppp connection.
After some insistent complaints the ISP changed my modem free of charge but not much has changed on the issue side (same thing happens to internal lan after a few days) but now all I need to do is reinitiate ppp connection and things start working angain on the internal lan too.

Anyone know what's going on ? or have any idea how to better debug the issue ?

My setup is based on an article on docs.slackware I wrote myself:
running an access point from a slackware box

I've commented back out lcp_max_* but that still has not solved the issue.
 
Old 01-28-2016, 09:35 AM   #2
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635

Original Poster
Blog Entries: 20

Rep: Reputation: 81
While looking for possible causes I came across an interesting runtime kernel parameter:
Code:
net.ipv4.ip_dynaddr
Not sure if this will solve the issue but it costs next to nothing testing it ... and it supports some of the evidence I'm hitting when the internal lan stops surfing (possibly because masquerading aint working right any more).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help debugging ppp connection? tomva Linux - Networking 4 07-15-2007 07:38 AM
isp/adsl connection problem with earthlink photomaster Linux - Software 2 12-12-2006 12:46 AM
Help debugging PPTP connection Ph0enix2003 Linux - Software 3 06-21-2004 08:20 AM
ISP Connection Problem Kefka_DArden Linux - Networking 1 04-17-2004 11:51 PM
Internet connection problem. ISP won't accept user/pass duffboygrim Linux - General 1 12-23-2003 04:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration