Internet disrupts ever 2-3 minutes causing me to have to disconnect/reconnect for service
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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?
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?
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?
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?
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.>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.