LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-09-2019, 06:13 AM   #1
honestjoe
LQ Newbie
 
Registered: Sep 2019
Posts: 5

Rep: Reputation: Disabled
Internet disrupts ever 2-3 minutes causing me to have to disconnect/reconnect for service


OS is Parrot
The connection itself maintains but my I cannot get a connection without disconnecting and reconnecting. This happens every 2-3 minutes.
I'm lost as to what could be causing this but it's highly annoying.
 
Old 09-09-2019, 06:53 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Provide more information. You have a connection, which is maintained, but it is interrupted?

A few questions you could answer (I don't claim completeness):

How do you check the connection? ping, curl, netcat, browser, ... ?
What are the symptoms?
How do you know it's maintained when it is interrupted?
What do you mean by disconnecting and reconnecting - unplugging and replugging a cable?
Have you eliminated switches, routers, other networking equipment as root causes? E.g. do you only have the problem with one computer, and with ParrotOS?
Did you try a different OS (e.g. Live DVD)?
Is it name resolution that fails, or TCP/IP in general?
 
Old 09-09-2019, 07:14 AM   #3
honestjoe
LQ Newbie
 
Registered: Sep 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
Provide more information. You have a connection, which is maintained, but it is interrupted?

A few questions you could answer (I don't claim completeness):

1 How do you check the connection? ping, curl, netcat, browser, ... ?
2 What are the symptoms?
3 How do you know it's maintained when it is interrupted?
4 What do you mean by disconnecting and reconnecting - unplugging and replugging a cable?
5 Have you eliminated switches, routers, other networking equipment as root causes? E.g. do you only have the problem with one computer, and with ParrotOS?
6 Did you try a different OS (e.g. Live DVD)?
7 Is it name resolution that fails, or TCP/IP in general?
1. curl and browser
2. wlan0 stays connected (I will post iwconfig)
wlan0 IEEE 802.11 ESSID:"Boom-Baby"
Mode:Managed Frequency:2.427 GHz Access Point:
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thrff Fragment thrff
Power Managementn
Link Quality=47/70 Signal level=-63 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:219 Missed beacon:0

the above does not disconnect or lose connection, I am, however, unable to connect to the internet from my browser or terminal until I disconnect wifi and reconnect wifi and this happens ever 2-3 minutes.
3. I know it's maintained becuase I can see the connection via ifconfig or iwconfig
4. I'm on wifi, when I click the network it disconnects and reconnects which fixes the issue.
5. yes, there is no issue with my cell phone on the same connection.
6. No, I haven't tried a different OS. I'm positive the problem is OS specific
7. How would I check this? DNS resolution also fixes the problem but only temporarily as it also disconnects and reconnects to the network?
 
Old 09-09-2019, 07:33 AM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
and you know this is not a problem at your ISP's end because...

other devices work fine?

you might be looking for a problem in the wrong place
 
Old 09-09-2019, 07:41 AM   #5
honestjoe
LQ Newbie
 
Registered: Sep 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Firerat View Post
and you know this is not a problem at your ISP's end because...

other devices work fine?

you might be looking for a problem in the wrong place
Yes other devices work fine and the IP does not go down or otherwise change.
I think it's a script in /etc/
resolv.conf is set on round-robin
parrot has Anonsurf as well as I installed Anonym8. is it possible one of those has made changes to my resolv.conf file?
if I put # in front of the script instructions, will that work or is there another way?
 
Old 09-09-2019, 07:47 AM   #6
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
I don't know what Anonsurf and Anonym8 are

if they are redirecting internet traffic to some proxy, or via vpn or over tor
That is likely your problem.

Turn those off to confirm
 
Old 09-09-2019, 07:51 AM   #7
honestjoe
LQ Newbie
 
Registered: Sep 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Firerat View Post
I don't know what Anonsurf and Anonym8 are

if they are redirecting internet traffic to some proxy, or via vpn or over tor
That is likely your problem.

Turn those off to confirm
I've turned them off and it persists. I'm sure it's a script in /etc I guess I'll have to disable everything and slowly work back through them. What would be the easist way to disable scripts in /etc? Moving them to a temporary folder?
 
Old 09-09-2019, 08:01 AM   #8
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by honestjoe View Post
I've turned them off and it persists. I'm sure it's a script in /etc I guess I'll have to disable everything and slowly work back through them. What would be the easist way to disable scripts in /etc? Moving them to a temporary folder?

why do you suspect a script?
is it something you put there, or some package you recently installed?

Code:
dpkg --listfiles  Anonsurf Anonym8
( use the real pkg names )


it might be easier to just purge the packages

Code:
sudo apt purge Anonsurf Anonym8
again, real pkg names
 
Old 09-09-2019, 08:21 AM   #9
honestjoe
LQ Newbie
 
Registered: Sep 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Firerat View Post
1 why do you suspect a script?
is it something you put there, or some package you recently installed?

Code:
dpkg --listfiles  Anonsurf Anonym8
( use the real pkg names )


it might be easier to just purge the packages

Code:
sudo apt purge Anonsurf Anonym8
again, real pkg names
Yes, I think it's a scrpt because I added this OS to my SSD and only had enough room on the live USB to add the network edition (~600mb) and then proceeded to add the programs separatately. I have roughly 150 scripts in my /etc folder now and I have not gone through them individually.

Anonsurf is a native pacakge to this OS so I don't think it's anything to do with that, but when I run --listfiles on anonym8 I get

└──╼ #dpkg --listfiles anonym8
dpkg-query: package 'anonym8' is not installed
Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.


It's definitely installed and I think it may be confilicting with anonsurf. I have $ rm -rf anonym8 in the file it was stored in. Is there anywhere else I should check to remove it completely?

<sidenote: I apologize if I don't use the correct venacular, the only training I've had on linux has been trial and error.>
 
Old 09-09-2019, 08:35 AM   #10
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
maybe you have the package name wrong
 
Old 09-09-2019, 08:48 AM   #11
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by honestjoe View Post
7. How would I check this?
Accessing IP addresses instead of domain names. For example, running ping 1.1.1.1 continuously.
 
  


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
How do i make linux-ppp reconnect on disconnect? (pptp) Timtastic Linux - Networking 1 11-29-2010 02:32 PM
How do I manually disconnect/reconnect DHCP DSL internet connection? chaz_bro1972 Linux - Networking 34 06-06-2008 01:17 AM
USB Keybooard/Mouse disconnect/reconnect issue (Genius TwinTouch Optical Office) 2Pacalypse Linux - Hardware 0 09-22-2007 05:06 AM
Mount / unmount / ejecting CD/DVD makes LAN disconnect & reconnect...! GrapefruiTgirl Slackware 9 03-06-2007 10:48 PM
i think that i will never ever ever ever switch to mac teamstatic84 General 11 01-03-2004 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:37 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