Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
3916 views
Beaglebone cannot connect to internet using ethernet cable
I've been trying to get my Beaglebone Black to connect to internet using an ethernet cable plugged direct into my Netgear router. I have tried many things but nothing has worked so far. Here are some relevant outputs. systemctl # Yesterday, internet not working ● networking.service loaded failed fai...
I've been trying to get my Beaglebone Black to connect to internet using an ethernet cable plugged direct into my Netgear router. I have tried many things but nothing has worked so far. Here are some relevant outputs. systemctl # Yesterday, internet not working ● networking.service loaded failed failed Raise network interfaces # Today after reflashing beaglebone, internet still not working networking.service loaded active exited Raise network interfaces ip address 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: can0: mtu 16 qdisc noop state DOWN group default qlen 10 link/can 3: can1: mtu 16 qdisc noop state DOWN group default qlen 10 link/can 4: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether a0:f6:fd:8a:ec:7e brd ff:ff:ff:ff:ff:ff inet 192.168.0.10/24 brd 192.168.0.255 scope global eth0 valid_lft forever preferred_lft forever inet 192.168.0.123/24 brd 192.168.0.255 scope global secondary eth0 valid_lft forever preferred_lft forever inet6 2600:8806:502:b00:a2f6:fdff:fe8a:ec7e/64 scope global mngtmpaddr dynamic valid_lft 86390sec preferred_lft 86390sec inet6 fe80::a2f6:fdff:fe8a:ec7e/64 scope link valid_lft forever preferred_lft forever ip route default via 192.168.0.1 dev eth0 68.105.28.11 via 192.168.0.1 dev eth0 68.105.28.12 via 192.168.0.1 dev eth0 68.105.29.11 via 192.168.0.1 dev eth0 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.10 192.168.0.1 dev eth0 scope link 192.168.6.0/30 dev usb1 proto kernel scope link src 192.168.6.2 linkdown 192.168.7.0/30 dev usb0 proto kernel scope link src 192.168.7.2 linkdown 212.227.81.55 via 192.168.0.1 dev eth0 host google.com ;; connection timed out; no servers could be reached ping www.google.com ping: www.google.com: Temporary failure in name resolution ping 192.168.0.1 (router) PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. --- 192.168.0.1 ping statistics --- 9 packets transmitted, 0 received, 100% packet loss, time 8199ms ping 192.168.0.39 (my computer, connected to same router via ethernet) PING 192.168.0.39 (192.168.0.39) 56(84) bytes of data. 64 bytes from 192.168.0.39: icmp_seq=1 ttl=64 time=0.432 ms 64 bytes from 192.168.0.39: icmp_seq=2 ttl=64 time=0.324 ms 64 bytes from 192.168.0.39: icmp_seq=3 ttl=64 time=0.389 ms 64 bytes from 192.168.0.39: icmp_seq=4 ttl=64 time=0.387 ms --- 192.168.0.39 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3004ms rtt min/avg/max/mdev = 0.324/0.383/0.432/0.038 ms I have no idea how to fix this. It started working yesterday when I started writing this question then it started working mysteriously. I rebooted this morning and it's not working again.
sscirrus (525 rep)
May 18, 2018, 07:55 PM • Last activity: Jul 24, 2025, 04:04 AM
5 votes
2 answers
3447 views
OpenVPN connects to the Server successfuly but no internet access
I want to setup an OpenVPN Server and after a week of trying day and night (no Linux Knowledge) I was able to successfully connect to the Server using OpenVPN GUI but now that I can Connect there is no ping 8.8.8.8 and the webpages won't open. Server is Running: CentOS 7 X64 Client is Running: Windo...
I want to setup an OpenVPN Server and after a week of trying day and night (no Linux Knowledge) I was able to successfully connect to the Server using OpenVPN GUI but now that I can Connect there is no ping 8.8.8.8 and the webpages won't open. Server is Running: CentOS 7 X64 Client is Running: Windows 10 Pro Build 10586.17 X64 w/ Kaspersky Internet Security This is my server Config #change with your port port 1337 #You can use udp or tcp proto udp # "dev tun" will create a routed IP tunnel. dev tun #Certificate Configuration #ca certificate ca ca.crt #Server Certificate cert server.crt #Server Key and keep this is secret key server.key #See the size a dh key in /etc/openvpn/keys/ dh dh2048.pem #Internal IP will get when already connect server 192.168.200.0 255.255.255.0 #this line will redirect all traffic through our OpenVPN push "redirect-gateway def1" #Provide DNS servers to the client, you can use goolge DNS push "dhcp-option DNS 8.8.8.8" push "dhcp-option DNS 8.8.4.4" #Enable multiple client to connect with same key duplicate-cn keepalive 20 60 comp-lzo persist-key persist-tun daemon #enable log log-append /var/log/myvpn/openvpn.log #Log Level verb 3 This is my Client Config client dev tun proto udp remote MY_SERVER_IP_ADDRESS 1337 resolv-retry infinite nobind persist-key persist-tun mute-replay-warnings comp-lzo verb 3 -----BEGIN CERTIFICATE----- XXXXXXXXXXXXXXXXXXXXXXXXX -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- XXXXXXXXXXXXXXXXXXXXXXXXX -----END CERTIFICATE----- -----BEGIN PRIVATE KEY----- XXXXXXXXXXXXXXXXXXXXXXXXX -----END PRIVATE KEY----- EDIT: so I added the below commands too. yum install iptables-services -y systemctl mask firewalld systemctl enable iptables systemctl stop firewalld systemctl start iptables iptables --flush iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE iptables-save > /etc/sysconfig/iptables nano /etc/sysctl.conf ADDEDD THIS TO sysctl.conf -> net.ipv4.ip_forward = 1 systemctl restart network.service systemctl -f enable openvpn@server.service systemctl start openvpn@server.service But still I can connect but I have no ping and can't open any website. Below is my route print after establishing the connection to my Server. Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.11 10 0.0.0.0 128.0.0.0 192.168.200.5 192.168.200.6 20 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 128.0.0.0 128.0.0.0 192.168.200.5 192.168.200.6 20 MY_SERVER_IP 255.255.255.255 192.168.1.1 192.168.1.11 10 169.254.0.0 255.255.0.0 On-link 169.254.61.91 276 169.254.61.91 255.255.255.255 On-link 169.254.61.91 276 169.254.255.255 255.255.255.255 On-link 169.254.61.91 276 192.168.1.0 255.255.255.0 On-link 192.168.1.11 266 192.168.1.11 255.255.255.255 On-link 192.168.1.11 266 192.168.1.255 255.255.255.255 On-link 192.168.1.11 266 192.168.183.0 255.255.255.0 On-link 192.168.183.1 276 192.168.183.1 255.255.255.255 On-link 192.168.183.1 276 192.168.183.255 255.255.255.255 On-link 192.168.183.1 276 192.168.200.1 255.255.255.255 192.168.200.5 192.168.200.6 20 192.168.200.4 255.255.255.252 On-link 192.168.200.6 276 192.168.200.6 255.255.255.255 On-link 192.168.200.6 276 192.168.200.7 255.255.255.255 On-link 192.168.200.6 276 192.168.230.0 255.255.255.0 On-link 192.168.230.1 276 192.168.230.1 255.255.255.255 On-link 192.168.230.1 276 192.168.230.255 255.255.255.255 On-link 192.168.230.1 276 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 192.168.1.11 266 224.0.0.0 240.0.0.0 On-link 169.254.61.91 276 224.0.0.0 240.0.0.0 On-link 192.168.200.6 276 224.0.0.0 240.0.0.0 On-link 192.168.230.1 276 224.0.0.0 240.0.0.0 On-link 192.168.183.1 276 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 192.168.1.11 266 255.255.255.255 255.255.255.255 On-link 169.254.61.91 276 255.255.255.255 255.255.255.255 On-link 192.168.200.6 276 255.255.255.255 255.255.255.255 On-link 192.168.230.1 276 255.255.255.255 255.255.255.255 On-link 192.168.183.1 276
bossModus (61 rep)
Dec 9, 2015, 09:10 PM • Last activity: Jun 23, 2025, 05:07 PM
0 votes
1 answers
1620 views
No internet connection (both ethernet & wifi) after 24.04 upgrade
I have just updated to Ubuntu 24.04 LTS on my laptop, and I seem to be having internet issues. While both Ethernet and Wi-Fi were working in the previous version, I now have no internet connection through either. When the PC starts, it shows as connected via Ethernet or Wi-Fi, but there is no intern...
I have just updated to Ubuntu 24.04 LTS on my laptop, and I seem to be having internet issues. While both Ethernet and Wi-Fi were working in the previous version, I now have no internet connection through either. When the PC starts, it shows as connected via Ethernet or Wi-Fi, but there is no internet access. The internet only works after I run this command: dhcpcd
Essam Goda (1 rep)
Aug 1, 2024, 10:51 AM • Last activity: Jun 9, 2025, 01:05 PM
4 votes
1 answers
4888 views
How can I have a systemd script wait enough to check a connection to the internet?
I've got a script that I've made into a oneshot systemd service. This runs on a raspberry pi and the point is that if it cannot connect to the internet it reconfigures the wifi adapter (?) to create an ad hoc network and reboots. The problem I'm experiencing is that when it checks it hasn't yet rece...
I've got a script that I've made into a oneshot systemd service. This runs on a raspberry pi and the point is that if it cannot connect to the internet it reconfigures the wifi adapter (?) to create an ad hoc network and reboots. The problem I'm experiencing is that when it checks it hasn't yet received an IP address and thus thinks that it cannot connect. I tried using the After= parameter to be network-online.target but that didn't change anything and I tried introducing a sleep command in the script itself but again no change. Any ideas? This is the script check_connection.sh: INTERFACE_NAME=$(iwconfig 2>/dev/null | grep -o "^\w*") sleep 5; if ifconfig $INTERFACE_NAME | grep -q "inet addr" then echo 'connected' # if connected check if it's ad hoc mode or not if iwconfig $INTERFACE_NAME | grep -q "Mode:Ad-Hoc" then echo 'start dhcp server' # if running in ad hoc mode make sure server starts sudo service isc-dhcp-server start fi else echo 'not connected' # if not connected switch settings to ad hoc and reboot sudo cp /etc/network/interfaces-adhoc /etc/network/interfaces sudo reboot fi /etc/systemd/system/check_connection.service: [Unit] Description=Check whether connected at startup After=network-online.target [Service] User=root ExecStart=/bin/bash /home/pi/check_connection.sh [Install] WantedBy=multi-user.target **EDIT** The OS I'm running is: Linux raspberrypi 4.1.7+ #817 PREEMPT Sat Sep 19 15:25:36 BST 2015 armv6l GNU/Linux
evan54 (183 rep)
Dec 18, 2016, 09:30 PM • Last activity: May 19, 2025, 06:03 PM
0 votes
1 answers
2947 views
How do I fix the low speed of Qualcomm Atheros AR9285 Wireless Network Adapter's ap0 in Debian?
Unlike Windows, I discovered that the speed of my Access Point is too slow about 50-70KB on Debian unlike Windows it is about 1.3MB which is the original full download speed of my connection. Here are the interfaces I have: > PHY Interface Driver Chipset > > phy0 ap0 ath9k Qualcomm Atheros AR9285 Wi...
Unlike Windows, I discovered that the speed of my Access Point is too slow about 50-70KB on Debian unlike Windows it is about 1.3MB which is the original full download speed of my connection. Here are the interfaces I have: > PHY Interface Driver Chipset > > phy0 ap0 ath9k Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01) > phy0 wlan0 ath9k Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01) > phy1 wlan1 rt2800usb Ralink Technology, Corp. RT2870/RT30 Unlike Windows, since I cannot use Ralink Technology, Corp. RT2870/RT3070 as AP and STA in the same time, I used Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01) yet It is slow. How do I tweak the speed?
Mohammed Mehdi TBER (23 rep)
Aug 23, 2021, 12:37 AM • Last activity: May 18, 2025, 03:10 PM
2 votes
1 answers
13012 views
Kali Linux & Metasploitable VirtualBox VMs not getting IP addresses with Bridged adapter
[![enter image description here][1]][1][![enter image description here][2]][2]I'm making a hackers lab, so I downloaded Kali Linux and Metasploitable and set them on VirtualBox running on a Windows 10 host machine. The host system is using a wired connection, which both guests also must use. The hos...
enter image description hereenter image description hereI'm making a hackers lab, so I downloaded Kali Linux and Metasploitable and set them on VirtualBox running on a Windows 10 host machine. The host system is using a wired connection, which both guests also must use. The host has full internet access. When I configure the VM network interfaces in NAT mode, they get IP addresses and access to the internet, but the lab requires using a Bridged network. When I configure them as bridged adapters, For Bridged connection I select "Realtek PCIe GbE Family Controller" with promiscuous mode set to "deny" and "Cable connected" ticked. In both systems ifconfig shows eth0 doesn't even get an IP address. Metasploitable doesn't have a GUI. Kali does not change to wired network and show me the available networks because I also use a WIFI adapter, it says wired connection 1, but does not work and the network symbol is spinning and it cannot connect to the internet. I tried changing the adapter types to all the types there are with promiscous mode: allow VMs, but still nothing worked.
TommyThe0G (21 rep)
Oct 7, 2021, 09:55 AM • Last activity: May 12, 2025, 11:06 AM
1 votes
0 answers
64 views
unable to access internet from exported vm machine either on nat or bridged
**Problem:** I’m unable to access the internet in my Red Hat 9.5 Enterprise VM, despite the VM having an IP address and being configured in VMware Workstation with NAT mode. The VM's network interface is configured correctly, but I’m unable to ping external websites or resolve DNS addresses. **Envir...
**Problem:** I’m unable to access the internet in my Red Hat 9.5 Enterprise VM, despite the VM having an IP address and being configured in VMware Workstation with NAT mode. The VM's network interface is configured correctly, but I’m unable to ping external websites or resolve DNS addresses. **Environment:** VM Software: VMware Workstation Host OS: Windows [version] VM OS: Red Hat 9.5 Enterprise Network Mode: NAT IP Range: 192.168.50.x **Additional Context:** The VM was previously hosted on a vCenter in a private network and has been exported to my local machine for use. After exporting, I noticed the VM cannot connect to the internet, though it was functioning correctly in the previous environment. Bridged Mode: When I switch the network mode to bridged, the VM gets stuck at obtaining a DHCP IP address. This might be because my company's network only allows one MAC address per IP, which could prevent the VM from receiving an IP address. **Details:** The VM has an IP address in the 192.168.50.x range. On the host machine, ipconfig shows the default gateway as 192.168.50.1. On the VM, the default gateway was initially set to 192.168.50.2, which I changed to 192.168.50.1 (matching the host’s gateway). DNS servers are configured to 8.8.8.8 and 1.1.1.1, but DNS resolution is not working. The network settings on the host machine and VMware appear to be correctly configured for NAT. **Steps Taken to Troubleshoot:** Checked the IP Address and Gateway: Verified the VM has a valid IP in the correct range. The gateway was set to 192.168.50.2, which I changed to 192.168.50.1 using ip route, to match the host's gateway. Checked DNS Configuration: Verified /etc/resolv.conf has the correct DNS servers (8.8.8.8 and 1.1.1.1). Restarted the networking service (sudo systemctl restart networking and sudo systemctl restart NetworkManager). **Tried Pinging:** Ping to gateway (192.168.50.1): Successful. Ping to external IP (e.g., 8.8.8.8): Fails. Ping to domain (e.g., google.com): Fails. **Checked VMware Settings:** Verified that VMware’s VMnet8 (NAT) is correctly configured, and it provides the expected IP range and gateway. **Checked Windows Firewall on Host:** Temporarily disabled Windows firewall on the host machine. **Checked Network Interface and Restarted:** Ensured network interface was up (sudo ifconfig ens192 up). Restarted both host machine and VM after changes. **Bridged Mode Issue:** When I switch to bridged mode, the VM is unable to get an IP address because DHCP is stuck. This could be due to my company's network allowing only one MAC address per IP address. **Expected Outcome:** The VM should be able to ping external websites, resolve domain names, and access the internet with the current network configuration. **Request for Help:** Could anyone suggest a solution to get internet access in either NAT mode or Bridged mode in this setup?
jonathan (11 rep)
Apr 16, 2025, 02:46 PM • Last activity: Apr 16, 2025, 05:43 PM
-1 votes
1 answers
77 views
Ethernet doesn't work in proxy environment
I'm trying to set up Ethernet on a university pc with Ubuntu 16.04. There are university wide proxy, and I connected 2 other windows PC's to it using .reg file, proxy adress, port and login, password, which I was provided by the university. I tried setting proxy adress and port, using gui (as I did...
I'm trying to set up Ethernet on a university pc with Ubuntu 16.04. There are university wide proxy, and I connected 2 other windows PC's to it using .reg file, proxy adress, port and login, password, which I was provided by the university. I tried setting proxy adress and port, using gui (as I did for windows) but it's just doesn't work. Firefox says "Unable to find the proxy server" or sometimes "we're having trouble finding that site" and ping 8.8.8.8 says "Network is unreachable" ping google.com says "unknown host".
says:
enp6s0    Link encap:Ethernet  HWaddr 1c:6f:65:91:3e:4a     
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1   
          RX packets:13462119 errors:0 dropped:16 overruns:0 frame:0   
          TX packets:351453 errors:0 dropped:0 overruns:0 carrier:0   
          collisions:0 txqueuelen:1000    
          RX bytes:893149471 (893.1 MB)  TX bytes:71061986 (71.0 MB)   
   
lo        Link encap:Local Loopback     
          inet addr:127.0.0.1  Mask:255.0.0.0   
          inet6 addr: ::1/128 Scope:Host   
          UP LOOPBACK RUNNING  MTU:65536  Metric:1   
          RX packets:6683368 errors:0 dropped:0 overruns:0 frame:0   
          TX packets:6683368 errors:0 dropped:0 overruns:0 carrier:0   
          collisions:0 txqueuelen:1000    
          RX bytes:494614018 (494.6 MB)  TX bytes:494614018 (494.6 MB)
All 3 PC's are connected to the same lan hub and I tried to switch ports and cables around and nothing changed, on windows internet works and on linux it doesn't. Also, for some reason connection just turnes off every couple minutes or so. Lan cable 100% works. first time Linux user, any help would be of great use. .reg file contains: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "AutoDetect"=dword:00000000 "MigrateProxy"=dword:00000001 "ProxyEnable"=dword:00000001 "ProxyServer"="my_proxy_ip:3128" "ProxyOverride"="some sites" (redacted proxy ip and override just in case)
DecOld (1 rep)
Mar 29, 2025, 09:13 AM • Last activity: Apr 16, 2025, 09:03 AM
0 votes
3 answers
8324 views
Nitrux OS: No internet despite successful WiFi connection
I installed Nitrux Os(Ubuntu Based) It's successfully connecting to Wifi or Wired connection but Internet ain't sending any traffic. Whenever I am trying to Open a website it is saying This site can't be reached. or Whenever I am trying to ping.It is saying : Ping: www.google.com: Temporary failure...
I installed Nitrux Os(Ubuntu Based) It's successfully connecting to Wifi or Wired connection but Internet ain't sending any traffic. Whenever I am trying to Open a website it is saying This site can't be reached. or Whenever I am trying to ping.It is saying : Ping: www.google.com: Temporary failure in name resolution Software Center and other Internet related applications are saying "No Internet Connection" even my system is connected to WIFI or Wired. I tried to modify /etc/resolv.conf Nameserver from 127.0.1.1 to 8.8.8.8 and 8.8.4.4 but but Whenever I am restarting Network-Manager the Value of nameserver automatically setting back to default 127.0.1.1 Thanks in advance :)
user8438226 (19 rep)
Nov 5, 2017, 07:33 AM • Last activity: Apr 15, 2025, 09:03 AM
0 votes
1 answers
1176 views
RHEL internet connection behind company proxy?
Just set up a RHEL v6.4 VDE for development but I can't seem to connect to the internet no matter what I try. I'm sitting behind a company proxy that requires authentication. Here's what I've done so far: - Put the link to my company's `.pac` file under the Automatic Proxy Configuration option in Ne...
Just set up a RHEL v6.4 VDE for development but I can't seem to connect to the internet no matter what I try. I'm sitting behind a company proxy that requires authentication. Here's what I've done so far: - Put the link to my company's .pac file under the Automatic Proxy Configuration option in Network Settings - Put export http_proxy= and export https_proxy= in my .bashrc file - Updated values for proxy, proxy_username, and proxy_password within the yum.conf file as well as enableProxy, proxyPassword, proxyUser, httpProxy, and enableProxyAuth within the up2date file After each of these steps, I've tried connecting to the internet via Konqueror (as far as I know, no other browsers were packaged with the OS). I chose "Automatically detect proxy configuration" within the browser settings but each time I try there's no response. Any suggestions are appreciated. Thanks!
user2901181 (123 rep)
Jun 30, 2015, 02:15 PM • Last activity: Feb 26, 2025, 07:27 AM
42 votes
10 answers
148972 views
Shell Scripting: Proper way to check for internet connectivity?
I found scripts that say they check for internet connectivity. Some check the IP address if the interface is up BUT it does not check for internet connectivity. I found some that uses ping like this: `if [ 'ping google.com -c 4 | grep time' != "" ]; then` but sometimes this may be unreliable as ping...
I found scripts that say they check for internet connectivity. Some check the IP address if the interface is up BUT it does not check for internet connectivity. I found some that uses ping like this: if [ 'ping google.com -c 4 | grep time' != "" ]; then but sometimes this may be unreliable as ping itself may hang for some reason (e.g. waiting for some stuck IO). Any suggestions on the proper/reliable way to check for internet connectivity using scripts? Do I have to use some packages? It needs to be able to check periodically with cron for example, then, do something when the connection goes down like invoke ifup --force [interface]
Aloha (2171 rep)
Mar 16, 2015, 03:28 PM • Last activity: Feb 13, 2025, 05:47 AM
3 votes
6 answers
10641 views
How can I block access to certain websites on Ubuntu?
I would like to block certain websites to improve productivity and avoid distraction. I have found BlockSite (Brave browser extension) to be a very good tool but it has one fatal flaw in that it can be disabled ***very*** easily via the taskbar at the top. I would like a more sturdy solution. I init...
I would like to block certain websites to improve productivity and avoid distraction. I have found BlockSite (Brave browser extension) to be a very good tool but it has one fatal flaw in that it can be disabled ***very*** easily via the taskbar at the top. I would like a more sturdy solution. I initially used the method outlined here but I found that this method did not emulate the functionality of BlockSite, the latter of which would block every page on Facebook or Twitter (for example), this method of editing the /etc/hosts file only ended up blocking twitter.com and not all pages associated with Twitter (I could still access, for example, Joe Biden's or Donald Trump's Twitter pages) What is the best way to completely block certain websites on ubuntu in a way that makes it difficult to unblock them?
user440418 (31 rep)
Nov 4, 2020, 12:12 PM • Last activity: Jan 25, 2025, 09:52 PM
24 votes
5 answers
214256 views
ping displays "Name or service not known"
I am running Arch Linux on a Raspberry Pi. Suddenly: 1. I am unable to ping to a website. 2. I am unable to access a website from the browser. I have two more computers (all running Arch Linux) connected to the Internet, where I can ping and use the Internet. Also, `/etc/resolv.conf` is identical on...
I am running Arch Linux on a Raspberry Pi. Suddenly: 1. I am unable to ping to a website. 2. I am unable to access a website from the browser. I have two more computers (all running Arch Linux) connected to the Internet, where I can ping and use the Internet. Also, /etc/resolv.conf is identical on the other computers:
nameserver 10.230.252.252
nameserver 203.147.88.2
nameserver 8.8.8.8
search domain.name
I can use VNC. I can also ping to 8.8.8.8. When trying to access DuckDuckGo on Chromium I get:
This site can’t be reached
duckduckgo.com’s server IP address could not be found.
DNS_PROBE_FINISHED_NXDOMAIN
I have an active Internet connection. What's wrong?
15 Volts (2149 rep)
May 10, 2019, 03:52 PM • Last activity: Jan 25, 2025, 03:37 PM
0 votes
0 answers
17 views
"modem hangup," "connect script failed," and "timeout sending config-requests" or a process locking my modem what do I do?
I am working on a project to: 1. Use the SIM7600X 4G HAT to enable internet access on a Raspberry Pi 4B. 2. Configure the Raspberry Pi as a Wi-Fi hotspot to then share the 4G internet with other devices. The Internet connection has been working fine and I was looking into making the Pi an hotspot un...
I am working on a project to: 1. Use the SIM7600X 4G HAT to enable internet access on a Raspberry Pi 4B. 2. Configure the Raspberry Pi as a Wi-Fi hotspot to then share the 4G internet with other devices. The Internet connection has been working fine and I was looking into making the Pi an hotspot until recently, I started having issues like "modem hangup," "connect script failed," and "timeout sending config-requests" or a process locking my modem
Mofiyinfoluwa Joshua (1 rep)
Dec 20, 2024, 09:03 AM • Last activity: Dec 20, 2024, 09:06 AM
-1 votes
2 answers
87 views
Internet on USB to Ethernet adapter in a multi port Linux PC
Linux version : Ubuntu 22.04 server minimal This box has 3 NIC cards and all those three NIC cards will be configured with static addresses by configuring in file ```/etc/netplan/00-installer-config.yaml``` as below. network: ethernets: eno1: dhcp4: false addresses: [172.16.0.23/16] gateway4: 172.16...
Linux version : Ubuntu 22.04 server minimal This box has 3 NIC cards and all those three NIC cards will be configured with static addresses by configuring in file
/etc/netplan/00-installer-config.yaml
as below. network: ethernets: eno1: dhcp4: false addresses: [172.16.0.23/16] gateway4: 172.16.1.1 eno2: dhcp4: true eno3: dhcp4: true enx00e04c682cb3: dhcp4: true version: 2 Ethernet
is a usb to ethernet dongle bought from amazon here . Without configuring netplan, I am able to install packages. Here is the output of
route
command: ngapadmin@asrsimplex:/etc/netplan$ ip route default via 10.228.233.1 dev enx00e04c682cb3 proto dhcp src 10.228.233.77 metric 100 10.228.226.36 via 10.228.233.1 dev enx00e04c682cb3 proto dhcp src 10.228.233.77 metric 100 10.228.226.37 via 10.228.233.1 dev enx00e04c682cb3 proto dhcp src 10.228.233.77 metric 100 10.228.233.0/25 dev enx00e04c682cb3 proto kernel scope link src 10.228.233.77 metric 100 10.228.233.1 dev enx00e04c682cb3 proto dhcp scope link src 10.228.233.77 metric 100 10.229.208.36 via 10.228.233.1 dev enx00e04c682cb3 proto dhcp src 10.228.233.77 metric 100 After I configure netplan, I am not able to install packages. Output of
route
command: ngapadmin@asrsimplex:/etc/netplan$ ip route default via 172.16.1.1 dev eno1 proto static default via 10.228.233.1 dev enx00e04c682cb3 proto dhcp src 10.228.233.77 metric 100 10.228.226.36 via 10.228.233.1 dev enx00e04c682cb3 proto dhcp src 10.228.233.77 metric 100 10.228.226.37 via 10.228.233.1 dev enx00e04c682cb3 proto dhcp src 10.228.233.77 metric 100 10.228.233.0/25 dev enx00e04c682cb3 proto kernel scope link src 10.228.233.77 metric 100 10.228.233.1 dev enx00e04c682cb3 proto dhcp scope link src 10.228.233.77 metric 100 10.229.208.36 via 10.228.233.1 dev enx00e04c682cb3 proto dhcp src 10.228.233.77 metric 100 172.16.0.0/16 dev eno1 proto kernel scope link src 172.16.0.23 Below is the error: ngapadmin@asrsimplex:/etc/netplan$ sudo apt install chrony Reading package lists... Done Building dependency tree... Done Reading state information... Done Suggested packages: dnsutils The following packages will be REMOVED: systemd-timesyncd The following NEW packages will be installed: chrony 0 upgraded, 1 newly installed, 1 to remove and 147 not upgraded. Need to get 290 kB of archives. After this operation, 361 kB of additional disk space will be used. Do you want to continue? [Y/n] y Err:1 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 chrony amd64 4.2-2ubuntu2 Cannot initiate the connection to ubuntu-mirror-1.ps6.canonical.com:80 (2620:2d:4002:1::101). - connect (101: Network is unreachable) Could not connect to ubuntu-mirror-1.ps6.canonical.com:80 (91.189.91.81). - connect (113: No route to host) Cannot initiate the connection to ubuntu-mirror-3.ps6.canonical.com:80 (2620:2d:4002:1::103). - connect (101: Network is unreachable) Could not connect to ubuntu-mirror-3.ps6.canonical.com:80 (91.189.91.83). - connect (113: No route to host) Cannot initiate the connection to ubuntu-mirror-1.ps5.canonical.com:80 (2620:2d:4000:1::101). - connect (101: Network is unreachable) Could not connect to ubuntu-mirror-1.ps5.canonical.com:80 (185.125.190.81). - connect (113: No route to host) Cannot initiate the connection to ubuntu-mirror-2.ps5.canonical.com:80 (2620:2d:4000:1::102). - connect (101: Network is unreachable) Could not connect to ubuntu-mirror-2.ps5.canonical.com:80 (185.125.190.82). - connect (113: No route to host) Cannot initiate the connection to ubuntu-mirror-3.ps5.canonical.com:80 (2620:2d:4000:1::103). - connect (101: Network is unreachable) Could not connect to ubuntu-mirror-3.ps5.canonical.com:80 (185.125.190.83). - connect (113: No route to host) Cannot initiate the connection to us.archive.ubuntu.com:80 (2620:2d:4002:1::103). - connect (101: Network is unreachable) Cannot initiate the connection to us.archive.ubuntu.com:80 (2620:2d:4002:1::101). - connect (101: Network is unreachable) E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/c/chrony/chrony_4.2-2ubuntu2_amd64.deb Cannot initiate the connection to ubuntu-mirror-1.ps6.canonical.com:80 (2620:2d:4002:1::101). - connect (101: Network is unreachable) Could not connect to ubuntu-mirror-1.ps6.canonical.com:80 (91.189.91.81). - connect (113: No route to host) Cannot initiate the connection to ubuntu-mirror-3.ps6.canonical.com:80 (2620:2d:4002:1::103). - connect (101: Network is unreachable) Could not connect to ubuntu-mirror-3.ps6.canonical.com:80 (91.189.91.83). - connect (113: No route to host) Cannot initiate the connection to ubuntu-mirror-1.ps5.canonical.com:80 (2620:2d:4000:1::101). - connect (101: Network is unreachable) Could not connect to ubuntu-mirror-1.ps5.canonical.com:80 (185.125.190.81). - connect (113: No route to host) Cannot initiate the connection to ubuntu-mirror-2.ps5.canonical.com:80 (2620:2d:4000:1::102). - connect (101: Network is unreachable) Could not connect to ubuntu-mirror-2.ps5.canonical.com:80 (185.125.190.82). - connect (113: No route to host) Cannot initiate the connection to ubuntu-mirror-3.ps5.canonical.com:80 (2620:2d:4000:1::103). - connect (101: Network is unreachable) Could not connect to ubuntu-mirror-3.ps5.canonical.com:80 (185.125.190.83). - connect (113: No route to host) Cannot initiate the connection to us.archive.ubuntu.com:80 (2620:2d:4002:1::103). - connect (101: Network is unreachable) Cannot initiate the connection to us.archive.ubuntu.com:80 (2620:2d:4002:1::101). - connect (101: Network is unreachable) E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? How do I setup the usb to ethernet dongle for package installations only and remaining all other network traffic from onboard NIC cards. I understand I have to configure metrics to NICS using
command but need help if that's right approach and what should be the metrics.
Srikanth Chilivery (1 rep)
Oct 29, 2024, 08:33 PM • Last activity: Oct 30, 2024, 03:23 PM
0 votes
1 answers
273 views
Create fixed suffix ipv6 with advertised prefix and ifupdown vs NetworkManager
The question of how to create a static ipv6 but with advertised prefix has already been asked here (the solution appears to be set token), but I'd like to understand exactly what is happening in my setup. My system natively uses NetworkManager, but I'd like to implement the changes through ifupdown....
The question of how to create a static ipv6 but with advertised prefix has already been asked here (the solution appears to be set token), but I'd like to understand exactly what is happening in my setup. My system natively uses NetworkManager, but I'd like to implement the changes through ifupdown. I created a /etc/network/interfaces file with the following config > auto wlp2s0 > allow-hotplug wlp2s0 > > iface wlp2s0 inet dhcp > > iface wlp2s0 inet6 auto > address ::be70:f1ic:a1a1:d502/64 > accept_ra 2 > > privext 0 When I start the networking daemon after creating this file, two addresses are added to the wlp2s0 interface, one global dynamic mngtmpaddr and one global dynamic mngtmpaddr noprefixroute (in addition to the original ones, which include on global dynamic, one privacy extension and the link one), neither of which has the prefix I wanted to fix. Furthermore, in this stage I am not able to access internet (actually, it appears that existing connections keep working while new ones cannot be stablished). And if I reboot the system (I believe restarting NetworkManager may be enough but am not sure) my wireless adapter is not even able to start (the wlp2s0 interface stays down with no carrier). Now, to my questions: 1) I know that the proper way to do what I want is with a token, but why exactly does my config does not fix an IP to have my suffix? 2) Why do I get two new addresses, one with noprefixroute and one without, instead of only one? 3) Why rebooting the kernel kills the interface? I appreciate any insights!
GaloisFan (105 rep)
Oct 20, 2024, 12:59 AM • Last activity: Oct 28, 2024, 05:52 AM
0 votes
0 answers
589 views
Wi-Fi network is not working on Fedora 32 - connection times out
I am running Fedora 32 on a used HP Z420 workstation. My internet connection worked all OK when I was using an Ethernet connection, but after I moved to an apartment that did not have an Ethernet output and I had to use Wi-Fi instead, I can't get the Wi-Fi connection on the computer to work. The pro...
I am running Fedora 32 on a used HP Z420 workstation. My internet connection worked all OK when I was using an Ethernet connection, but after I moved to an apartment that did not have an Ethernet output and I had to use Wi-Fi instead, I can't get the Wi-Fi connection on the computer to work. The problem is not in the Wi-Fi connection itself, as the Windows 10 laptop I have been using for remote work is able to connect to the Wi-Fi all OK. I am using a TP-Link TL-WN823N USB Wi-Fi adapter plugged in to the computer's USB port. When I run lsusb it shows the adapter as:
001 Device 003: ID 2357:0109 TP-Link TL-WN823N v2/v3 [Realtek RTL8192EU]
When I boot up the computer and log in to Fedora, the system is able to find the Wi-Fi network as its name shows up when I click on the network icon on the taskbar, along with several other Wi-Fi networks (that belong to other people and whose passwords I don't know). When I click on the network name, Fedora asks me for a network password. When I type it and click "Connect", nothing happens. I don't get connected and I don't even get a message about a wrong password or anything. Here is what appears when I run dmesg:
[  622.856644] iwlwifi: unknown parameter 'wd_disable' ignored
[  622.856648] iwlwifi: unknown parameter 'bt_coex_acrive' ignored
[  622.856707] Intel(R) Wireless WiFi driver for Linux
[  640.346741] wlp0s26u1u3: authenticate with 9e:0e:8b:55:27:c7
[  640.365595] wlp0s26u1u3: send auth to 9e:0e:8b:55:27:c7 (try 1/3)
[  640.569164] wlp0s26u1u3: send auth to 9e:0e:8b:55:27:c7 (try 2/3)
[  640.777145] wlp0s26u1u3: send auth to 9e:0e:8b:55:27:c7 (try 3/3)
[  640.985121] wlp0s26u1u3: authentication with 9e:0e:8b:55:27:c7 timed out
I have read this SuperUser StackExchange post: https://superuser.com/questions/911635/wifi-authentication-times-out and tried the solution. It didn't work. It seems Fedora is ignoring the "wd_disable" parameter. It is also ignoring another parameter "bt_coex_acrive" (yes, it is really spelled "acrive" in the dmesg output, not "active") that I don't know where it comes from. It does not appear in any file in the directory /etc/modprobe.d. I am able to type this StackExchange post because I'm currently at work in my company's office where there is a working internet connection. Does anyone have an idea what is causing this and how I can fix it? I can provide more details if needed, but there is a lag because I have to switch between my home computer (to diagnose the problem) and my work computer (to report it to StackExchange). If the solution involves installing more software with dnf then I don't know how that would work as to be able to use dnf I would need an internet connection in the first place. Update 6 November 2021: I have installed the rtl8192eu kernel module found here: https://github.com/Mange/rtl8192eu-linux-driver That did not help. Nothing changed. The Wi-Fi adapter recognizes the network, but is unable to connect to it. Here is what I found on dmesg output:
[   15.561144] usb 1-1.3: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0
[   15.561150] usb 1-1.3: RTL8192EU MAC: d0:37:45:e0:a6:34
[   15.561154] usb 1-1.3: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[   15.620484] usb 1-1.3: Firmware revision 19.0 (signature 0x92e1)
[   15.625336] do the RAM reset
[   15.716296] audit: type=1130 audit(1636220825.389:87): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-journal-flush comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   15.862600] audit: type=1130 audit(1636220825.536:88): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=lvm2-pvscan@8:35 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   15.866219] audit: type=1130 audit(1636220825.539:89): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=lvm2-monitor comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   16.628660] usbcore: registered new interface driver rtl8xxxu
[   16.705001] 8192eu: loading out-of-tree module taints kernel.
[   16.706111] 8192eu: module verification failed: signature and/or required key missing - tainting kernel
[   16.729951] RTW: module init start
[   16.729953] RTW: rtl8192eu v5.2.19.1_25633.20171222_COEX20171113-0047
[   16.729954] RTW: build time: Nov  6 2021 19:39:30
[   16.729956] RTW: rtl8192eu BT-Coex version = COEX20171113-0047
[   16.729968] RTW: rtw_inetaddr_notifier_register
[   16.730006] usbcore: registered new interface driver rtl8192eu
[   16.730008] RTW: module init ret=0
[   16.751606] rtl8xxxu 1-1.3:1.0 wlp0s26u1u3: renamed from wlan0
[ 1246.417272] usb 1-1.3: new high-speed USB device number 6 using ehci-pci
[ 1246.496419] usb 1-1.3: New USB device found, idVendor=2357, idProduct=0109, bcdDevice= 2.00
[ 1246.496422] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1246.496423] usb 1-1.3: Product: 802.11n NIC 
[ 1246.496424] usb 1-1.3: Manufacturer: Realtek 
[ 1246.496425] usb 1-1.3: SerialNumber: 00e04c000001
[ 1246.664668] usb 1-1.3: Vendor: Realtek
[ 1246.664670] usb 1-1.3: Product: \x03802.11n NI
[ 1246.664671] usb 1-1.3: Serial: 
[ 1246.664672] usb 1-1.3: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes):
[ 1246.664674] usb 1-1.3: 00: 29 81 00 7c 01 40 03 00
[ 1246.664675] usb 1-1.3: 08: 40 74 04 50 14 00 00 00
[ 1246.664676] usb 1-1.3: 10: 25 25 26 28 28 28 28 28
[ 1246.664677] usb 1-1.3: 18: 29 2a 2a f2 ef ef ff ff
[ 1246.664678] usb 1-1.3: 20: ff ff ff ff ff ff ff ff
[ 1246.664678] usb 1-1.3: 28: ff ff ff ff ff ff ff ff
[ 1246.664679] usb 1-1.3: 30: ff ff ff ff ff ff ff ff
[ 1246.664680] usb 1-1.3: 38: ff ff 2b 2b 2a 2b 2b 2b
[ 1246.664681] usb 1-1.3: 40: 2d 2d 2c 2b 2b f2 ef ef
[ 1246.664682] usb 1-1.3: 48: ff ff ff ff ff ff ff ff
[ 1246.664682] usb 1-1.3: 50: ff ff ff ff ff ff ff ff
[ 1246.664683] usb 1-1.3: 58: ff ff ff ff ff ff ff ff
[ 1246.664684] usb 1-1.3: 60: ff ff ff ff ff ff ff ff
[ 1246.664685] usb 1-1.3: 68: ff ff ff ff ff ff ff ff
[ 1246.664686] usb 1-1.3: 70: ff ff ff ff ff ff ff ff
[ 1246.664686] usb 1-1.3: 78: ff ff ff ff ff ff ff ff
[ 1246.664687] usb 1-1.3: 80: ff ff ff ff ff ff ff ff
[ 1246.664688] usb 1-1.3: 88: ff ff ff ff ff ff ff ff
[ 1246.664689] usb 1-1.3: 90: ff ff ff ff ff ff ff ff
[ 1246.664689] usb 1-1.3: 98: ff ff ff ff ff ff ff ff
[ 1246.664690] usb 1-1.3: a0: ff ff ff ff ff ff ff ff
[ 1246.664691] usb 1-1.3: a8: ff ff ff ff ff ff ff ff
[ 1246.664692] usb 1-1.3: b0: ff ff ff ff ff ff ff ff
[ 1246.664693] usb 1-1.3: b8: a1 1f 1f 00 00 00 ff ff
[ 1246.664693] usb 1-1.3: c0: ff 01 00 10 00 00 00 ff
[ 1246.664694] usb 1-1.3: c8: 00 00 ff ff ff ff ff ff
[ 1246.664695] usb 1-1.3: d0: 57 23 09 01 e7 47 02 d0
[ 1246.664696] usb 1-1.3: d8: 37 45 e0 a6 34 0a 03 52
[ 1246.664697] usb 1-1.3: e0: 65 61 6c 74 65 6b 20 0e
[ 1246.664697] usb 1-1.3: e8: 03 38 30 32 2e 31 31 6e
[ 1246.664698] usb 1-1.3: f0: 20 4e 49 43 20 00 00 ff
[ 1246.664699] usb 1-1.3: f8: ff ff ff ff ff ff ff ff
[ 1246.664700] usb 1-1.3: 100: ff ff ff ff ff ff ff ff
[ 1246.664701] usb 1-1.3: 108: ff ff ff ff ff ff ff ff
[ 1246.664701] usb 1-1.3: 110: ff ff ff ff ff ff ff 0d
[ 1246.664702] usb 1-1.3: 118: 03 00 05 00 30 00 00 00
[ 1246.664703] usb 1-1.3: 120: 00 93 ff ff ff ff ff ff
[ 1246.664704] usb 1-1.3: 128: ff ff ff ff ff ff ff ff
[ 1246.664705] usb 1-1.3: 130: f6 a8 98 2d 03 92 98 00
[ 1246.664705] usb 1-1.3: 138: fc 8c 00 11 9b 44 02 0a
[ 1246.664706] usb 1-1.3: 140: ff ff ff ff ff ff ff ff
[ 1246.664707] usb 1-1.3: 148: ff ff ff ff ff ff ff ff
[ 1246.664708] usb 1-1.3: 150: ff ff ff ff ff ff ff ff
[ 1246.664708] usb 1-1.3: 158: ff ff ff ff ff ff ff ff
[ 1246.664709] usb 1-1.3: 160: ff ff ff ff ff ff ff ff
[ 1246.664710] usb 1-1.3: 168: ff ff ff ff ff ff ff ff
[ 1246.664711] usb 1-1.3: 170: ff ff ff ff ff ff ff ff
[ 1246.664712] usb 1-1.3: 178: ff ff ff ff ff ff ff ff
[ 1246.664712] usb 1-1.3: 180: ff ff ff ff ff ff ff ff
[ 1246.664713] usb 1-1.3: 188: ff ff ff ff ff ff ff ff
[ 1246.664714] usb 1-1.3: 190: ff ff ff ff ff ff ff ff
[ 1246.664715] usb 1-1.3: 198: ff ff ff ff ff ff ff ff
[ 1246.664716] usb 1-1.3: 1a0: ff ff ff ff ff ff ff ff
[ 1246.664716] usb 1-1.3: 1a8: ff ff ff ff ff ff ff ff
[ 1246.664717] usb 1-1.3: 1b0: ff ff ff ff ff ff ff ff
[ 1246.664718] usb 1-1.3: 1b8: ff ff ff ff ff ff ff ff
[ 1246.664719] usb 1-1.3: 1c0: ff ff ff ff ff ff ff ff
[ 1246.664720] usb 1-1.3: 1c8: ff ff ff ff ff ff ff ff
[ 1246.664720] usb 1-1.3: 1d0: ff ff ff ff ff ff ff ff
[ 1246.664721] usb 1-1.3: 1d8: ff ff ff ff ff ff ff ff
[ 1246.664722] usb 1-1.3: 1e0: ff ff ff ff ff ff ff ff
[ 1246.664723] usb 1-1.3: 1e8: ff ff ff ff ff ff ff ff
[ 1246.664723] usb 1-1.3: 1f0: ff ff ff ff ff ff ff ff
[ 1246.664724] usb 1-1.3: 1f8: ff ff ff ff ff ff ff ff
[ 1246.664725] usb 1-1.3: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0
[ 1246.664727] usb 1-1.3: RTL8192EU MAC: d0:37:45:e0:a6:34
[ 1246.664729] usb 1-1.3: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[ 1246.664907] usb 1-1.3: Firmware revision 19.0 (signature 0x92e1)
[ 1247.564794] usb 1-1.3: rtl8192eu_rx_iqk_path_b: Path B RX IQK failed!
[ 1247.597043] usb 1-1.3: rtl8192eu_rx_iqk_path_b: Path B RX IQK failed!
[ 1247.646418] usb 1-1.3: rtl8192eu_rx_iqk_path_a: Path A RX IQK failed!
[ 1247.678543] usb 1-1.3: rtl8192eu_rx_iqk_path_a: Path A RX IQK failed!
[ 1247.840911] rtl8xxxu 1-1.3:1.0 wlp0s26u1u3: renamed from wlan0
[ 1256.125789] wlp0s26u1u3: authenticate with e2:31:6b:57:db:55
[ 1256.147605] wlp0s26u1u3: send auth to e2:31:6b:57:db:55 (try 1/3)
[ 1256.352156] wlp0s26u1u3: send auth to e2:31:6b:57:db:55 (try 2/3)
[ 1256.560135] wlp0s26u1u3: send auth to e2:31:6b:57:db:55 (try 3/3)
[ 1256.768132] wlp0s26u1u3: authentication with e2:31:6b:57:db:55 timed out
user53739 (155 rep)
Nov 1, 2021, 04:14 PM • Last activity: Oct 17, 2024, 08:42 AM
6 votes
3 answers
14009 views
How to run a script every 5 seconds only when connected to internet
I have a script that updates my google drive. I made a systemd unit to run this script, and a timer that runs the unit every 10 seconds, which both work. However, when I get disconnected from internet, the script fails and systemd stops running the it even if the internet comes back on. Is there any...
I have a script that updates my google drive. I made a systemd unit to run this script, and a timer that runs the unit every 10 seconds, which both work. However, when I get disconnected from internet, the script fails and systemd stops running the it even if the internet comes back on. Is there any way I can make systemd keep on running the script, or is there a way to have systemd run the script only if there is an internet connection? Here are the files /etc/systemd/system/grive.service: [Unit] Description=Syncronize google drive folder [Service] User=my_name ExecStart=/home/my_name/bin/update-grive /etc/systemd/system/grive.timer: [Unit] Description=Timer for how often to syncronize google drive folder [Timer] OnUnitActiveSec=10s OnBootSec=10s [Install] WantedBy=timers.target /home/my_name/bin/update-grive: #!/usr/bin/env bash cd /home/my_name/gdrive grive
Vityou (299 rep)
Mar 30, 2017, 02:42 AM • Last activity: Sep 17, 2024, 03:11 PM
0 votes
0 answers
65 views
Bad internet connection only in video games (EndeavourOS)
I encounter internet connection issues only while playing video games (Tekken 8 and VRChat, GTA V online works fine). Outside the game, the internet connection is normal and stable even if it is running but the game itself have trouble connecting to the internet. In Windows 10 they work fine. Behavi...
I encounter internet connection issues only while playing video games (Tekken 8 and VRChat, GTA V online works fine). Outside the game, the internet connection is normal and stable even if it is running but the game itself have trouble connecting to the internet. In Windows 10 they work fine. Behavior: - Tekken 8: slow loading speeds when internet is connected and disconnections when the match is over. Demo works fine. - VRChat:Worlds and avatars downloads are slow, they stop at a certain percentage or they don’t even start (stays at 0%). I have tried: - Disabling the firewall - Changing to Proton Experimental, hotfix and GE Proton - Add gamemoderun %command% and HOST_LC_ALL=**_**.UTF-8 %command% in Launch Options - Updating packages and rebooting the computer - Changing DNS from Google’s to Cloudflare’s Hardware: - TUF GAMING B550-PLUS as motherboard - Ethernet connection - RX6600 as Graphics Card Edit: Proton's log produced by PROTON_LOG=1 Steam.log Edit 2: Issue also reported here Tekken 8 Unable to Connect to Other Players
HiJ (1 rep)
Sep 14, 2024, 09:43 PM • Last activity: Sep 15, 2024, 06:12 AM
-2 votes
1 answers
125 views
Running CIS Benchmark broke my connection to the Internet?
On my Ubuntu machine, after running the CIS Benchmark, I can no longer connect to the Internet.
On my Ubuntu machine, after running the CIS Benchmark, I can no longer connect to the Internet.
SuperDialga (95 rep)
Jul 15, 2024, 04:25 PM
Showing page 1 of 20 total questions