Quantcast
Channel: Active questions tagged networking - Ask Ubuntu
Viewing all 23082 articles
Browse latest View live

IP command using to 100% CPU on wakeup

$
0
0

On laptop wakeup I see a process called ip that uses 100% CPU. It won't stop on its own, I need to manually kill it every time.By looking for it in ps I could find that the command being run is ip route show.When I run it manually, the command also doesn't terminate and prints the same few lines over and over again:

default via 192.168.1.254 dev wlp59s0 proto dhcp metric 600 10.2.0.0/16 via 255.255.255.255 dev tun0 10.251.0.0/16 via 255.255.255.255 dev tun0 169.254.0.0/16 dev wlp59s0 scope link metric 1000 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown 172.18.0.0/16 dev br-c2ea5a493560 proto kernel scope link src 172.18.0.1 linkdown 172.19.0.0/16 dev br-51f86a6b837f proto kernel scope link src 172.19.0.1 linkdown 192.168.1.0/24 dev wlp59s0 proto kernel scope link src 192.168.1.92 metric 600 255.255.255.255 dev tun0 proto kernel scope link src 10.251.1.3 default via 192.168.1.254 dev wlp59s0 proto dhcp metric 600 

EDIT: the issue seems to disappear when I turn off my vpn

Ubuntu 19.10, Dell XPS-15-9570, kernel 5.3.0-41

This is really affecting my battery life. Anyone has experienced a similar issue or know how to fix it?


Huawei E3372 XUbuntu

$
0
0

I have a problem with Huawei E3372 modem.

Xubuntu 18.04.2 LTS did not detect it as a mobile broadband modem. E3372 is not detected.

I have checked lsusb, and here I can see the system detects it as 12d1:1506 Huawei Technologies Co., Ltd. but I cannot choose it in my Network Connections.It displays Mobile Broadband not enabled.

I have added

Huawei E3372

ATTR{idVendor}=="12d1", ATTR{idProduct}=="1506", RUN +="usb_modeswitch '%b/%k'"

in /lib/udev/rules.d/40-usb_modeswitch.rules.

I followed the steps in the posts

Huawei E3272 UbuntuandHuawei usb 4G modem not detected

but in vain

configPack.tar.gz does not contain 12d1:1506. hence the following command

tar xf /usr/share/usb_modeswitch/configPack.tar.gz 12d1\:1506

didn't worked. Hence I followed the same code in the post

tar xf /usr/share/usb_modeswitch/configPack.tar.gz 12d1\:14fe

and went to the folder /usr/share/usb_modeswitch/

cp 12d1:14fe 12d1:1506

and added the line in the following file

add line to file /lib/udev/rules.d/40-usb_modeswitch.rules:

ATTR{idVendor}=="12d1", ATTR{idProduct}=="1506", RUN+="usb_modeswitch '/%k'"

Still it didn't work.

Again tried, added the following to the file /lib/udev/rules.d/77-mm-usb-device-blacklist.rules:

ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14fe", ENV{ID_MM_DEVICE_IGNORE}="1"

Nothing worked so far.

Your help is much appreciated.Thanks in advance.

nmcli d

DEVICE   TYPE      STATE         CONNECTION wlp2s0   wifi      disconnected  --         enp3s0   ethernet  unmanaged     --         ttyUSB0  gsm       unmanaged     --         lo       loopback  unmanaged     -- 

lsmod | grep cdc

huawei_cdc_ncm         16384  0cdc_wdm                20480  1 huawei_cdc_ncmcdc_ncm                36864  1 huawei_cdc_ncmusbnet                 45056  2 cdc_ncm,huawei_cdc_ncm

Can't connect bluetooth on Ubuntu 19.04

$
0
0

I can't connect Bluetooth devices on Ubuntu 19.04. My USB Bluetooth dongle is Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode).

I ran the following command:

lspci -nnk | grep -iA2 net; lsusb; hciconfig -a; dmesg | egrep -i 'blue|firm'

Output:

lspci -nnk | grep -iA2 net; lsusb; hciconfig -a; dmesg | egrep -i 'blue|firm'04:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8131 Gigabit Ethernet [1969:1063] (rev c0)    Subsystem: Elitegroup Computer Systems AR8131 Gigabit Ethernet [1019:8131]    Kernel driver in use: atl1c    Kernel modules: atl1cBus 002 Device 003: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless AdapterBus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching HubBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 001 Device 012: ID 22d9:276a  Bus 001 Device 005: ID c0f3:02a1  Bus 001 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)Bus 001 Device 003: ID 15d9:0a4c Trust International B.V. USB+PS/2 Optical MouseBus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching HubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubhci0:   Type: Primary  Bus: USB    BD Address: 33:03:30:0B:D6:B2  ACL MTU: 360:4  SCO MTU: 0:0    DOWN     RX bytes:553 acl:0 sco:0 events:28 errors:0    TX bytes:368 acl:0 sco:0 commands:30 errors:0    Features: 0xff 0xff 0xcd 0xfa 0xdb 0xbf 0x7b 0x87    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3     Link policy: RSWITCH HOLD SNIFF PARK     Link mode: SLAVE ACCEPT [    0.144892] Spectre V2 : Enabling Restricted Speculation for firmware calls[    0.402250] pci 0000:04:00.0: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format)[   21.056835] Bluetooth: Core ver 2.22[   21.056859] Bluetooth: HCI device and connection manager initialized[   21.056864] Bluetooth: HCI socket layer initialized[   21.056866] Bluetooth: L2CAP socket layer initialized[   21.056869] Bluetooth: SCO socket layer initialized[   21.548112] mt7601u 2-1.3:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____[   23.288420] Bluetooth: hci0: command 0x2003 tx timeout[   23.585622] Bluetooth: BNEP (Ethernet Emulation) ver 1.3[   23.585624] Bluetooth: BNEP filters: protocol multicast[   23.585629] Bluetooth: BNEP socket layer initialized[   25.304444] Bluetooth: hci0: command 0x2007 tx timeout

Ubuntu 18.04.4 Desktop: since last upgrade : Wired unmanaged with the previous network configuration files

$
0
0

Last evening I made the requested packages upgrade for Ubuntu 18.04.4 Desktop. But now I'm not able to connect to the network anymore with the previous network configuration files.These are the packages upgraded:

enter image description here

Here's the NetworkManager.conf file content:

$ sudo nano /etc/NetworkManager/NetworkManager.conf[main]plugins=ifupdown,keyfile[ifupdown]managed=false[device]wifi.scan-rand-mac-address=no     

Following these indications: No wired connection - Wired unmanaged ubuntu 18.04

I tried to put managed=true in /etc/NetworkManager/NetworkManager.confand run

sudo service network-manager restart

followed by a system reboot.
But the problem still persists.

Modifying the 01-network-manager-all.yaml file:

$ sudo nano /etc/netplan/01-network-manager-all.yaml#Let NetworkManager manage all devices on this systemnetwork:  version: 2  #renderer: networkd  ethernets:    enp3s0:      dhcp4: no      addresses: [192.168.1.7/24]      gateway4: 192.168.1.1      nameservers:        addresses: [8.8.8.8, 8.8.4.4]

to

network:  version: 2  renderer: NetworkManager  #renderer: networkd  ethernets:    enp3s0:      dhcp4: trye      #dhcp4: no      #addresses: [192.168.1.7/24]      #gateway4: 192.168.1.1      #nameservers:      #  addresses: [8.8.8.8,8.8.4.4]

made the wired connection working again.

What happened due to this Ubuntu 18.04 package upgrade?

How to permanently add a static route and fix dns_probe_error?

$
0
0

Some time ago, I tried to change my DNS in Ubuntu 18.04 and ended messing up some system files.

Every website I tried to connect to would give me the message "DNS_Probe_Error".

After some time googling, I found I was able to fix it by executing this in terminal:

sudo ip route add default via 192.168.25.1, where the ip is my router address.

The thing is, I have to run this same command every time I reboot.

How to I permanently set it?

How to create macvlan at boot? (19.10)

$
0
0

I run Ubuntu Budgie 19.10 on an Intel based pc, dedicated as NAS. This system runs PiHole as a docker container, and within Docker, a macvlan has been created to make sure the PiHole docker receives its own dedicated IP address from the router. This all works fine.

In order to reach the PiHole webinterface from the host PC (I can already access it from any other device in my LAN), I need to create a macvlan bridge on the host PC:

ip link add mynet-shim link eno1 type macvlan  mode bridgeip addr add 192.168.88.10/24 dev mynet-shimip link set mynet-shim upip route add 192.168.88.5 dev mynet-shim

This works fine, after running these commands, I can access my PiHole (192.168.88.5/admin) webUI via the hostPC itself (192.168.88.10). Note I don't understand these commands, or macvlan, I just search the internet and try to understand as much as possible. Lots of trial and error :)

However, after a reboot, this macvlan bridge is gone. How do I make it persistent?I understand I might have to create a file /etc/network/interfaces, but I will be forced to define ALL interfaces there.. not just this thing I created manually, also virtual or real interfaces that are created automatically. I am not sure if I am capable of that.

What would be the best way to figure this out?

Docker container network bridge

$
0
0

i am using a Raspberry PI as a VPN network gateway to route all my traffic into it.so on the PI i want to set up a docker container.The appliations in the docker container should not route through the vpn tunnel.So can i use a network bridge to assign a IP address from the local DHCP server wich provide another default route ?I see there is an option called --net host Or what should i do ?

Thanks

Best Regards

Christian

Slow Wireless Reconnect After Suspend

$
0
0

I a Broadcom 4312 using the STA drivers, I reinstalled ubuntu because the b43 drivers were giving me a huge hassle along with some weird kernel issues.

My wireless speed is fine, everything works well, except upon restart of computer and after taking the computer out of suspend. It takes about 30-45 seconds for the wireless to reconnect, and I think it is a driver issue (I clicked on the network manager at the top and for about 30 seconds there are no wireless networks listed.)

I tried this advice already: http://lilserenity.wordpress.com/2007/10/31/fix-ubuntu-dropping-wireless-on-suspendhibernate-resume/which basically says to change this:

STOP_SERVICES=""

to

STOP_SERVICES="networking"

in the file

/etc/default/acpi-support

This did not help anything. Something to note is that the issue does not occur when I am logging back in after already logging in once and logging out.


36 SYNs in a row. How to limit Firefox connections to one website?

$
0
0

Often when using Firefox 73.0.1 in Xubuntu 18.04 to browse a web forum about a retrocomputing hobby,* I see 30-minute periods when all connections to that website time out but connections to other websites and non-web Internet resources continue to work. Checking through the website "Down for Everyone or Just Me?" during such an outage shows that the outage affects only me, as does asking other users on a Discord server and an IRC channel related to the website's subject matter.

Comparison of a traceroute to the server during both working and outage periods shows that my packet stops just as it leaves Cogent's network. I have evidence (from a source that I cannot disclose publicly) that the first IPv4 address after the packet leaves Cogent is the IP address of a firewall that sees a bunch of SYNs (the first packet in a TCP outgoing connection) from my IP address and blocks my home Internet connection's IP address as a measure against denial of service (DoS).

I managed to capture getting blocked using Wireshark on my laptop's WLAN interface. (It has no wired Ethernet interface.) The packet log shows 19 SYN packets from my laptop for the first page view and 17 for the second, each with a different ephemeral port, most of which it immediately closes with RST. This burst of 36 SYNs in 4 seconds appears consistent with what my source told me.

So I want to limit Firefox's rate of connection to that site and only that site. Turning off these settings in about:config did not help:

  • network.http.speculative-parallel-limit
  • network.prefetch-next

Others have suggested reducing network.http.max-persistent-connections-per-server, but I hesitate to reduce this because it would slow access to all other websites as well. Is there a way to keep Firefox from being too eager to connect to websites under a particular domain name while behaving as usual for other websites?

* I hesitate to name the website for fear of appearing to unduly promote it.

System Freeze UFW OPENVPN Network Timeouts

$
0
0

Problem

My computer randomly freezes (does not accept any input anymore, mouse pointer is frozen) or shuts down (not completely, it "hangs" so that even pushing the reset button won't restart, I then have to press the power button for a few seconds to turn it off completely).

System

Hardware

I'm using a wifi USB stick to connect to a wifi repeater, which in turn connects to a wifi router that is connected to the internet. My wifi stick is old and there are no official Linux drivers so I'm using ndiswrapper to load Windows drivers. The DHCP sits on the wifi router.

Software

I'm running KDE Neon which is based on Ubuntu. I'm new to the Linux world, forgive me if this is missing vital information. I'm using UFW firewall and connect to VPN servers through openvpn, using the NetworkManager package. I checked the syslogs for a recurring pattern before the system crashes.

Packages

uname output: Linux COMPUTER 4.15.0-88-generic #88-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux

sudo ufw version output: ufw 0.36

openvpn --version output: OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2019library versions: OpenSSL 1.1.1 11 Sep 2018, LZO 2.08

sudo NetworkManager --version output: 1.10.6

ndiswrapper -v output: utils version: '1.9', utils version needed by module: '1.9'

sudo ufw status output:

Status: activeTo                         Action      From--                         ------      ----Anywhere on tun1           ALLOW       Anywhere                  Anywhere on tun0           ALLOW       Anywhere                  [VPN SERVER IP]            ALLOW       Anywhere                  [VPN SERVER IP]            ALLOW       Anywhere                  [VPN SERVER IP]            ALLOW       Anywhere                  [VPN SERVER IP]            ALLOW       Anywhere                  [VPN SERVER IP]            ALLOW       Anywhere                  224.0.0.1                  DENY        Anywhere                  Anywhere (v6) on tun1      ALLOW       Anywhere (v6)             Anywhere (v6) on tun0      ALLOW       Anywhere (v6)             Anywhere                   ALLOW OUT   Anywhere on tun1          Anywhere                   ALLOW OUT   Anywhere on tun0          [VPN SERVER IP]            ALLOW OUT   Anywhere                  [VPN SERVER IP]            ALLOW OUT   Anywhere                  [VPN SERVER IP]            ALLOW OUT   Anywhere                  [VPN SERVER IP]            ALLOW OUT   Anywhere                  [VPN SERVER IP]            ALLOW OUT   Anywhere                  Anywhere (v6)              ALLOW OUT   Anywhere (v6) on tun1     Anywhere (v6)              ALLOW OUT   Anywhere (v6) on tun0

I'm not 100% sure about these rules but the intent is to block any traffic that isn't going through the vpn tunnel (tun1, tun0) and to specific IPs of my VPN service provider. It seems to work that if the VPN connection stops working no other traffic is possible. The 224.0.0.1 rule is there because I've read this is some signal coming from the repeater potentially causing problems, but it seems to have no effect.

ifconfig output:

enp30s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500        ether 4c:cc:6a:f9:56:9b  txqueuelen 1000  (Ethernet)        RX packets 0  bytes 0 (0.0 B)        RX errors 0  dropped 0  overruns 0  frame 0        TX packets 0  bytes 0 (0.0 B)        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536        inet 127.0.0.1  netmask 255.0.0.0        inet6 ::1  prefixlen 128  scopeid 0x10<host>        loop  txqueuelen 1000  (Local Loopback)        RX packets 12871  bytes 715172 (715.1 KB)        RX errors 0  dropped 0  overruns 0  frame 0        TX packets 12871  bytes 715172 (715.1 KB)        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500        inet 10.7.3.4  netmask 255.255.255.0  destination 10.7.3.4        inet6 fe80::f9ed:3025:72ea:6375  prefixlen 64  scopeid 0x20<link>        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100  (UNSPEC)        RX packets 36581  bytes 32163868 (32.1 MB)        RX errors 0  dropped 0  overruns 0  frame 0        TX packets 29713  bytes 3197761 (3.1 MB)        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0wlxb039564f2855: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500        inet 10.0.0.62  netmask 255.255.255.0  broadcast 10.0.0.255        inet6 fe80::21d6:bdc9:e12f:845  prefixlen 64  scopeid 0x20<link>        ether b0:39:56:4f:28:55  txqueuelen 1000  (Ethernet)        RX packets 34129  bytes 35593621 (35.5 MB)        RX errors 0  dropped 0  overruns 0  frame 0        TX packets 24056  bytes 6108772 (6.1 MB)        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Logs

Last syslog entries before each crash following below. Sorry for the giant dump, I don't know what exactly is revelant. wlxb039564f2855 is the name of my wifi USB stick. I have retracted some non-local IPs and MAC addresses.

Apr  4 20:27:00 COMPUTER wpa_supplicant[1211]: wlxb039564f2855: WPA: Group rekeying completed with 7c:ff:4d:54:ec:e1 [GTK=CCMP]Apr  4 20:27:01 COMPUTER NetworkManager[1223]: <info>  [1586024821.4117] connectivity: (wlxb039564f2855) timed outApr  4 20:27:08 COMPUTER kernel: [34548.519842] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=77 TOS=0x00 PREC=0x00 TTL=64 ID=56705 DF PROTO=UDP SPT=33191 DPT=53 LEN=57 Apr  4 20:27:43 COMPUTER kernel: [34584.317455] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=159 TOS=0x00 PREC=0x00 TTL=64 ID=43184 DF PROTO=UDP SPT=17500 DPT=17500 LEN=139 Apr  4 20:28:13 COMPUTER kernel: [34614.327670] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=159 TOS=0x00 PREC=0x00 TTL=64 ID=45127 DF PROTO=UDP SPT=17500 DPT=17500 LEN=139 Apr  4 20:28:44 COMPUTER kernel: [34644.340008] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=159 TOS=0x00 PREC=0x00 TTL=64 ID=50555 DF PROTO=UDP SPT=17500 DPT=17500 LEN=139 Apr  4 20:29:14 COMPUTER kernel: [34674.351972] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=159 TOS=0x00 PREC=0x00 TTL=64 ID=51007 DF PROTO=UDP SPT=17500 DPT=17500 LEN=139 Apr  4 20:29:44 COMPUTER kernel: [34704.361478] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=159 TOS=0x00 PREC=0x00 TTL=64 ID=53127 DF PROTO=UDP SPT=17500 DPT=17500 LEN=139 Apr  4 20:30:14 COMPUTER kernel: [34734.370823] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=159 TOS=0x00 PREC=0x00 TTL=64 ID=56443 DF PROTO=UDP SPT=17500 DPT=17500 LEN=139 Apr  4 20:30:21 COMPUTER kernel: [34742.147479] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=79 TOS=0x00 PREC=0x00 TTL=64 ID=12740 DF PROTO=UDP SPT=57803 DPT=53 LEN=59 Apr  4 20:30:21 COMPUTER kernel: [34742.147498] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=79 TOS=0x00 PREC=0x00 TTL=64 ID=12741 DF PROTO=UDP SPT=57803 DPT=53 LEN=59 Apr  4 20:30:21 COMPUTER kernel: [34742.147510] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=79 TOS=0x00 PREC=0x00 TTL=64 ID=12742 DF PROTO=UDP SPT=57803 DPT=53 LEN=59 Apr  4 20:30:26 COMPUTER kernel: [34747.152618] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=79 TOS=0x00 PREC=0x00 TTL=64 ID=13783 DF PROTO=UDP SPT=42778 DPT=53 LEN=59 Apr  4 20:31:14 COMPUTER kernel: [34794.390293] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=159 TOS=0x00 PREC=0x00 TTL=64 ID=3644 DF PROTO=UDP SPT=17500 DPT=17500 LEN=139 
Mar 31 10:27:50 COMPUTER kernel: [ 2887.807083] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=160 TOS=0x00 PREC=0x00 TTL=64 ID=18689 DF PROTO=UDP SPT=17500 DPT=17500 LEN=140 Mar 31 10:28:14 COMPUTER kernel: [ 2911.948764] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=80 TOS=0x00 PREC=0x00 TTL=64 ID=42572 DF PROTO=UDP SPT=58777 DPT=53 LEN=60 Mar 31 10:28:14 COMPUTER kernel: [ 2911.948781] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=80 TOS=0x00 PREC=0x00 TTL=64 ID=42573 DF PROTO=UDP SPT=58777 DPT=53 LEN=60 Mar 31 10:28:19 COMPUTER kernel: [ 2916.953995] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=80 TOS=0x00 PREC=0x00 TTL=64 ID=43787 DF PROTO=UDP SPT=49608 DPT=53 LEN=60 Mar 31 10:28:49 COMPUTER kernel: [ 2946.816734] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=[RETRACTED] LEN=194 TOS=0x00 PREC=0x00 TTL=1 ID=19953 DF PROTO=UDP SPT=57341 DPT=1900 LEN=174
Mar 27 18:18:14 COMPUTER kernel: [26872.215942] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=79 TOS=0x00 PREC=0x00 TTL=64 ID=15409 DF PROTO=UDP SPT=49044 DPT=53 LEN=59 Mar 27 18:18:14 COMPUTER kernel: [26872.215953] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=79 TOS=0x00 PREC=0x00 TTL=64 ID=15410 DF PROTO=UDP SPT=49044 DPT=53 LEN=59 Mar 27 18:18:14 COMPUTER kernel: [26872.215963] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=79 TOS=0x00 PREC=0x00 TTL=64 ID=15411 DF PROTO=UDP SPT=49044 DPT=53 LEN=59 Mar 27 18:18:14 COMPUTER kernel: [26872.215973] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=79 TOS=0x00 PREC=0x00 TTL=64 ID=15412 DF PROTO=UDP SPT=49044 DPT=53 LEN=59 Mar 27 18:18:29 COMPUTER systemd-resolved[969]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.Mar 27 18:18:29 COMPUTER kernel: [26886.732964] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=80 TOS=0x00 PREC=0x00 TTL=64 ID=16850 DF PROTO=UDP SPT=35329 DPT=53 LEN=60
Mar 21 09:47:07 COMPUTER nm-openvpn[2964]: AEAD Decrypt error: bad packet ID (may be a replay): [ #43467 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warningsMar 21 09:47:07 COMPUTER nm-openvpn[2964]: AEAD Decrypt error: bad packet ID (may be a replay): [ #43468 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warningsMar 21 09:47:07 COMPUTER nm-openvpn[2964]: AEAD Decrypt error: bad packet ID (may be a replay): [ #43469 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warningsMar 21 09:47:07 COMPUTER nm-openvpn[2964]: AEAD Decrypt error: bad packet ID (may be a replay): [ #43470 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warningsMar 21 09:47:07 COMPUTER nm-openvpn[2964]: AEAD Decrypt error: bad packet ID (may be a replay): [ #43471 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warningsMar 21 09:47:09 COMPUTER kernel: [ 1094.010541] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=224.0.0.251 LEN=90 TOS=0x00 PREC=0x00 TTL=255 ID=4167 DF PROTO=UDP SPT=5353 DPT=5353 LEN=70 Mar 21 09:47:10 COMPUTER kernel: [ 1095.012786] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=[RETRACTED] DST=[RETRACTED] LEN=110 TC=0 HOPLIMIT=255 FLOWLBL=82113 PROTO=UDP SPT=5353 DPT=5353 LEN=70 
Mar 14 23:25:52 COMPUTER kernel: [10214.879228] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=[RETRACTED] LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=62080 DF PROTO=TCP SPT=41466 DPT=80 WINDOW=64240 RES=0x00 SYN URGP=0 Mar 14 23:25:53 COMPUTER kernel: [10215.904175] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=[RETRACTED] LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=62081 DF PROTO=TCP SPT=41466 DPT=80 WINDOW=64240 RES=0x00 SYN URGP=0 Mar 14 23:25:55 COMPUTER kernel: [10217.920091] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=[RETRACTED] LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=62082 DF PROTO=TCP SPT=41466 DPT=80 WINDOW=64240 RES=0x00 SYN URGP=0 Mar 14 23:25:59 COMPUTER kernel: [10222.176000] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=[RETRACTED] LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=62083 DF PROTO=TCP SPT=41466 DPT=80 WINDOW=64240 RES=0x00 SYN URGP=0 Mar 14 23:26:21 COMPUTER NetworkManager[1225]: <info>  [1584224781.4104] connectivity: (wlxb039564f2855) timed outMar 14 23:26:35 COMPUTER systemd-resolved[1204]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.Mar 14 23:26:35 COMPUTER kernel: [10258.192232] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=80 TOS=0x00 PREC=0x00 TTL=64 ID=12622 DF PROTO=UDP SPT=42953 DPT=53 LEN=60 Mar 14 23:26:35 COMPUTER kernel: [10258.192251] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=80 TOS=0x00 PREC=0x00 TTL=64 ID=12623 DF PROTO=UDP SPT=42953 DPT=53 LEN=60 
Mar 12 12:15:53 COMPUTER kernel: [ 7403.683044] NMI backtrace for cpu 8Mar 12 12:15:53 COMPUTER kernel: [ 7403.683045] CPU: 8 PID: 444 Comm: systemd-journal Tainted: G      D    OE    4.15.0-88-generic #88-UbuntuMar 12 12:15:53 COMPUTER kernel: [ 7403.683046] Hardware name: MSI MS-7A33/X370 KRAIT GAMING (MS-7A33), BIOS 1.00 03/09/2017Mar 12 12:15:53 COMPUTER kernel: [ 7403.683047] RIP: 0010:native_queued_spin_lock_slowpath+0x65/0x1c0Mar 12 12:15:53 COMPUTER kernel: [ 7403.683047] RSP: 0018:ffffb0d9022cfdc0 EFLAGS: 00000002Mar 12 12:15:53 COMPUTER kernel: [ 7403.683048] RAX: 0000000000000101 RBX: 0000000000000087 RCX: 0000000000000002Mar 12 12:15:53 COMPUTER kernel: [ 7403.683049] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8d3bded1cc00Mar 12 12:15:53 COMPUTER kernel: [ 7403.683050] RBP: ffffb0d9022cfdc0 R08: ffff8d3bc079a100 R09: 0000000000000010Mar 12 12:15:53 COMPUTER kernel: [ 7403.683051] R10: ffff8d3bcaead138 R11: 0000000000000000 R12: ffff8d3bbe691d30Mar 12 12:15:53 COMPUTER kernel: [ 7403.683051] R13: ffffb0d9022cfe18 R14: 0000000000000001 R15: 0000000000000000Mar 12 12:15:53 COMPUTER kernel: [ 7403.683052] FS:  00007f03893a7940(0000) GS:ffff8d3bdee00000(0000) knlGS:0000000000000000Mar 12 12:15:53 COMPUTER kernel: [ 7403.683053] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033Mar 12 12:15:53 COMPUTER kernel: [ 7403.683053] CR2: 00000ba82159c000 CR3: 0000000402746000 CR4: 00000000003406e0Mar 12 12:15:53 COMPUTER kernel: [ 7403.683054] Call Trace:Mar 12 12:15:53 COMPUTER kernel: [ 7403.683054]  _raw_spin_lock_irqsave+0x37/0x40Mar 12 12:15:53 COMPUTER kernel: [ 7403.683055]  lock_hrtimer_base.isra.19+0x29/0x50Mar 12 12:15:53 COMPUTER kernel: [ 7403.683055]  hrtimer_try_to_cancel+0x60/0x110Mar 12 12:15:53 COMPUTER kernel: [ 7403.683056]  ? __fdget+0x13/0x20Mar 12 12:15:53 COMPUTER kernel: [ 7403.683056]  do_timerfd_settime+0xef/0x400Mar 12 12:15:53 COMPUTER kernel: [ 7403.683057]  SyS_timerfd_settime+0x5b/0xb0Mar 12 12:15:53 COMPUTER kernel: [ 7403.683057]  do_syscall_64+0x73/0x130Mar 12 12:15:53 COMPUTER kernel: [ 7403.683058]  ? do_syscall_64+0x73/0x130Mar 12 12:15:53 COMPUTER kernel: [ 7403.683058]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2Mar 12 12:15:53 COMPUTER kernel: [ 7403.683059] RIP: 0033:0x7f0388eea5daMar 12 12:15:53 COMPUTER kernel: [ 7403.683059] RSP: 002b:00007fffccf180b8 EFLAGS: 00000246 ORIG_RAX: 000000000000011eMar 12 12:15:53 COMPUTER kernel: [ 7403.683060] RAX: ffffffffffffffda RBX: 000055c2c4056f80 RCX: 00007f0388eea5daMar 12 12:15:53 COMPUTER kernel: [ 7403.683061] RDX: 00007fffccf180d0 RSI: 0000000000000001 RDI: 0000000000000010Mar 12 12:15:53 COMPUTER kernel: [ 7403.683062] RBP: 000055c2c4056f10 R08: 0005a0a676494660 R09: 00007f0388d40740Mar 12 12:15:53 COMPUTER kernel: [ 7403.683063] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0388ade880Mar 12 12:15:53 COMPUTER kernel: [ 7403.683063] R13: 00007f0388ad4ad0 R14: 00007f0388d3efe0 R15: 000055c2c258e940Mar 12 12:15:53 COMPUTER kernel: [ 7403.683064] Code: f0 0f ba 2f 08 b8 00 01 00 00 0f 42 f0 8b 07 30 e4 09 c6 f7 c6 00 ff ff ff 75 20 85 f6 75 0c b8 01 00 00 00 66 89 07 5d c3 f3 90 <8b> 07 84 c0 75 f8 b8 01 00 00 00 66 89 07 eb ec 81 e6 00 ff 00
Feb 23 17:37:39 COMPUTER kernel: [25810.537383] [UFW BLOCK] IN=wlxb039564f2855 OUT= MAC=[RETRACTED] SRC=10.0.0.138 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 Feb 23 17:37:41 COMPUTER kernel: [25812.205979] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=136.243.103.182 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=65258 DF PROTO=TCP SPT=37760 DPT=80 WINDOW=64240 RES=0x00 SYN URGP=0 Feb 23 17:38:04 COMPUTER systemd-resolved[1175]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.Feb 23 17:38:04 COMPUTER kernel: [25834.860873] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=80 TOS=0x00 PREC=0x00 TTL=64 ID=28532 DF PROTO=UDP SPT=39028 DPT=53 LEN=60 Feb 23 17:38:04 COMPUTER systemd-resolved[1175]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.Feb 23 17:38:10 COMPUTER NetworkManager[1271]: <info>  [1582475890.4437] connectivity: (wlxb039564f2855) timed outFeb 23 17:38:42 COMPUTER kernel: [25872.937034] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=160 TOS=0x00 PREC=0x00 TTL=64 ID=34883 DF PROTO=UDP SPT=17500 DPT=17500 LEN=140 Feb 23 17:39:12 COMPUTER kernel: [25902.947578] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=160 TOS=0x00 PREC=0x00 TTL=64 ID=40904 DF PROTO=UDP SPT=17500 DPT=17500 LEN=140
Feb 20 12:41:34 COMPUTER kernel: [14761.550280] radeon 0000:23:00.0: GPU lockup (current fence id 0x0000000000191b76 last fence id 0x0000000000191b7f on ring 4)Feb 20 12:41:34 COMPUTER kernel: [14761.550286] radeon 0000:23:00.0: GPU lockup (current fence id 0x000000000019cff0 last fence id 0x000000000019cffb on ring 0)Feb 20 12:41:34 COMPUTER kernel: [14761.646231] radeon 0000:23:00.0: ring 3 stalled for more than 22668msecFeb 20 12:41:34 COMPUTER kernel: [14761.646239] radeon 0000:23:00.0: GPU lockup (current fence id 0x000000000006312f last fence id 0x0000000000063194 on ring 3)Feb 20 12:41:34 COMPUTER kernel: [14762.062657] radeon 0000:23:00.0: ring 4 stalled for more than 23040msecFeb 20 12:41:34 COMPUTER kernel: [14762.062660] radeon 0000:23:00.0: ring 0 stalled for more than 23092msecFeb 20 12:41:34 COMPUTER kernel: [14762.062665] radeon 0000:23:00.0: GPU lockup (current fence id 0x000000000019cff0 last fence id 0x000000000019cffb on ring 0)Feb 20 12:41:34 COMPUTER kernel: [14762.062670] radeon 0000:23:00.0: GPU lockup (current fence id 0x0000000000191b76 last fence id 0x0000000000191b7f on ring 4)Feb 20 12:41:34 COMPUTER kernel: [14762.158202] radeon 0000:23:00.0: ring 3 stalled for more than 23180msecFeb 20 12:41:34 COMPUTER kernel: [14762.158209] radeon 0000:23:00.0: GPU lockup (current fence id 0x000000000006312f last fence id 0x0000000000063194 on ring 3)
Feb 13 15:42:41 COMPUTER NetworkManager[1184]: <info>  [1581604961.4136] connectivity: (wlxb039564f2855) timed outFeb 13 15:42:44 COMPUTER kernel: [25544.961423] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=160 TOS=0x00 PREC=0x00 TTL=64 ID=42196 DF PROTO=UDP SPT=17500 DPT=17500 LEN=140 Feb 13 15:43:14 COMPUTER kernel: [25574.971154] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=160 TOS=0x00 PREC=0x00 TTL=64 ID=43761 DF PROTO=UDP SPT=17500 DPT=17500 LEN=140 Feb 13 15:43:15 COMPUTER nm-openvpn[5169]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1602', remote='link-mtu 1634'Feb 13 15:43:15 COMPUTER nm-openvpn[5169]: WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1500', remote='tun-mtu 1532'Feb 13 15:43:17 COMPUTER systemd-resolved[827]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.Feb 13 15:43:21 COMPUTER kernel: [25581.970924] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=[RETRACTED] LEN=195 TOS=0x00 PREC=0x00 TTL=1 ID=27041 DF PROTO=UDP SPT=37814 DPT=1900 LEN=175 Feb 13 15:43:34 COMPUTER kernel: [25594.668162] [UFW BLOCK] IN=wlxb039564f2855 OUT= MAC=[RETRACTED] SRC=10.0.0.138 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 Feb 13 15:43:17 COMPUTER systemd-resolved[827]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.Feb 13 15:43:34 COMPUTER wpa_supplicant[1221]: wlxb039564f2855: WPA: Group rekeying completed with 7c:ff:4d:54:ec:e1 [GTK=CCMP]Feb 13 15:43:44 COMPUTER kernel: [25604.980133] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=160 TOS=0x00 PREC=0x00 TTL=64 ID=46829 DF PROTO=UDP SPT=17500 DPT=17500 LEN=140 Feb 13 15:44:14 COMPUTER kernel: [25634.988701] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=160 TOS=0x00 PREC=0x00 TTL=64 ID=47415 DF PROTO=UDP SPT=17500 DPT=17500 LEN=140 Feb 13 15:44:44 COMPUTER kernel: [25664.997970] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=160 TOS=0x00 PREC=0x00 TTL=64 ID=53241 DF PROTO=UDP SPT=17500 DPT=17500 LEN=140 Feb 13 15:45:14 COMPUTER kernel: [25695.006783] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=160 TOS=0x00 PREC=0x00 TTL=64 ID=56767 DF PROTO=UDP SPT=17500 DPT=17500 LEN=140 Feb 13 15:45:17 COMPUTER kernel: [25698.439197] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.138 LEN=80 TOS=0x00 PREC=0x00 TTL=64 ID=21836 DF PROTO=UDP SPT=44990 DPT=53 LEN=60 Feb 13 15:45:21 COMPUTER kernel: [25701.967992] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=[RETRACTED] LEN=195 TOS=0x00 PREC=0x00 TTL=1 ID=53378 DF PROTO=UDP SPT=34177 DPT=1900 LEN=175 Feb 13 15:45:39 COMPUTER kernel: [25719.694468] [UFW BLOCK] IN=wlxb039564f2855 OUT= MAC=[RETRACTED] SRC=10.0.0.138 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 Feb 13 15:45:44 COMPUTER kernel: [25725.016420] [UFW BLOCK] IN= OUT=wlxb039564f2855 SRC=10.0.0.62 DST=10.0.0.255 LEN=160 TOS=0x00 PREC=0x00 TTL=64 ID=57362 DF PROTO=UDP SPT=17500 DPT=17500 LEN=140

Thoughts

I have a hunch the crashes are related to network issues. They seemed to have increased since the hardware setup was changed to incorporate the wifi repeater and/or since I've set up those VPN-related firewall rules.

NetworkManager[1184]: <info> [1581604961.4136] connectivity: (wlxb039564f2855) timed out seems to happen often before freezes. And freezes occur dis-proportionally often after the computer has been idling for a while.

Any help is much appreciated!

Broken wifi on ASUS laptop 18.04

$
0
0

After many months without problems, the wifi on my ASUS Rog Strix stopped working. It's possible that it was broken after I mistakenly did sudo chmod -R g+w /. ... anyway...

In Software & Updates I now get this:

Software & Updates show a problem with "Intel Corporation" wireless device

Here's what I can tell from the terminal:

bill@bill-Strix-17-GL703GE:~$ sudo lshw -C network  *-network DISABLED               description: Wireless interface       product: Wireless-AC 9560 [Jefferson Peak]       vendor: Intel Corporation       physical id: 14.3       bus info: pci@0000:00:14.3       logical name: wlo1       version: 10       serial: 0c:54:15:7e:a0:f4       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless       configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-91-generic firmware=34.0.0 latency=0 link=no multicast=yes wireless=IEEE 802.11       resources: irq:16 memory:a451c000-a451ffff    ...bill@bill-Strix-17-GL703GE:~$ dmesg | grep iwl[    3.144965] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)[    3.150302] iwlwifi 0000:00:14.3: loaded firmware version 34.0.0 op_mode iwlmvm[    3.175171] iwlwifi 0000:00:14.3: Detected Intel(R) Dual Band Wireless AC 9560, REV=0x318[    3.229143] iwlwifi 0000:00:14.3: base HW address: 0c:54:15:7e:a0:f4[    3.306764] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'[    3.308339] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0bill@bill-Strix-17-GL703GE:~$ dmesg|grep -i firmware[    0.004000] Spectre V2 : Enabling Restricted Speculation for firmware calls[    2.943089] Bluetooth: hci0: Firmware revision 0.1 build 226 week 31 2019[    3.150302] iwlwifi 0000:00:14.3: loaded firmware version 34.0.0 op_mode iwlmvm[    3.159490] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_01.bin (v1.1)bill@bill-Strix-17-GL703GE:~$ rfkill list all 0: hci0: Bluetooth    Soft blocked: no    Hard blocked: no1: phy0: Wireless LAN    Soft blocked: no    Hard blocked: no

sudo modprobe iwlwifi returns no output

The sad thing is that if I run an Ubuntu Live USB, wifi works perfectly there.

Is it possible to fix this besides reinstalling Ubuntu? Reinstall wifi drivers are something similar?

Edit: I have downloaded the latest lib/firmware file from Intel's website iwlwifi-9000-pu-b0-jf-b0-34.ucode, but it hasn't helped.

How can I distinguish between whether I have a wifi or a bluetooth connection on 18.04

$
0
0

I'm running 18.04. My Sonic wifi is constantly dropping. Eventually, it seems to come back of it's own accord, but since this is unpredictable, I often resort in the meantime to a bluetooth connection from my phone. Once bluetooth is connected, the output from ifconfig seems to be identical, whether or not I have a Sonic wireless connection, specifically:

bnep0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500        inet 172.20.10.3  netmask 255.255.255.240  broadcast 172.20.10.15        inet6 2600:380:474d:423d:466f:a2fd:3014:b046  prefixlen 64  scopeid 0x0<global>        inet6 fe80::153:c27e:6430:2184  prefixlen 64  scopeid 0x20<link>        inet6 2600:380:474d:423d:1156:cbe3:2171:14b8  prefixlen 64  scopeid 0x0<global>        ether 40:74:e0:8f:d7:b5  txqueuelen 1000  (Ethernet)        RX packets 12478  bytes 9756657 (9.7 MB)        RX errors 0  dropped 0  overruns 0  frame 0        TX packets 10188  bytes 1898814 (1.8 MB)        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0...wlp59s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500        inet 192.168.7.91  netmask 255.255.255.0  broadcast 192.168.7.255        inet6 fe80::c002:4b73:332f:b484  prefixlen 64  scopeid 0x20<link>        ether 40:74:e0:8f:d7:b1  txqueuelen 1000  (Ethernet)        RX packets 4044460  bytes 864193290 (864.1 MB)        RX errors 0  dropped 314  overruns 0  frame 0        TX packets 4161751  bytes 1512200047 (1.5 GB)        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Obviously, I want to turn off bluetooth as soon the Sonic connection comes back up. But since ifconfig gives me no useful information, is there some other output I can condition on? As a followup question, why does ifconfig wlp59s0 give me this false positive feedback, when in fact I do not have a wifi connection, i.e., if I turn off bluetooth I have nothing? Thanks for any suggestions!

How to scan from my Epson WF-2830 all-in-one printer on Ubuntu 18.04 without error?

$
0
0

I can scan from my WF-2830 all-in-one. I have installed the imagescan-bundle-ubuntu-18.04-3.62.0.x64.deb driver from the Epson website. I edited the /etc/imagescan/imagescan.conf as follows:

myscanner.udi = esci:networkscan://10.0.0.206:1865

myscanner.vendor = Epson

myscanner.model = WF-2830

After selecting the above esci scanner from xsane's list, it accesses the scanner but gives, "Failed to set value of option x-resolution: Invalid argument," and "Failed to set value of option y-resolution: Invalid argument" when acquiring a preview.. However, after closing the error windows, it does deliver a preview image and a scanned (with xsane's scan button) image. Why the error messages? How do I get rid of them? Should it concern me that I receive them at all? Should I report a bug to Ubuntu or Xsane?

Searching the files listed by dpkg -L imagescan does not find any files containing x-resolution or y-resolution.

Looking for driver solution for Realtek RTL8821CE Wireless Network Adapter for HP

$
0
0

I'm a brand new Ubuntu user. Installed it on a new HP 14-dk0024. I'm getting "No Wi-Fi Adapter Found" and have been looking for solutions. I have disabled secure boot. I'm new to using a terminal and have tried some of the previously stated solutions but haven't had success. Are there updated drivers that I can install and how do I do that. Thank you!

How to redirect all requests within a wlan using ad-hoc to a specific address or hostname

$
0
0

I'm setting up an ubuntu embedded system as a "master" server which will then broadcast to clients using ad-hoc in a wlan. The purpose is for a client to access the wlan and then access a webapp on my local network.

But instead of having then going to my ip address or my hostname.local i want then to be redirected from all requests to the my hostname.local address in order for them to only access my webapp and nothing else.

Searching on the forum, I found dnsmasq although I'm not sure if this would work for me seeing as I need all requests * to be redirected.

Any ideas? Regards


Can't enable wifi on ubuntu 12.04 Dell Inspiron 15

$
0
0

I am new to Ubuntu and I know there were a lot of similar issues and I've tried to follow some of the answers on the web (e.g. Dell Inspiron Wifi off or How do I get an Atheros AR8162 working?), but none of them are working, or are causing more errors along the way.

Recently I bought new Dell Inspiron 15 with installed Ubuntu 12.04 on it, but there are no options were to connect to wifi. My router is working and all other devices are seeing it.

Here is some information that you might need for advice. I'll be happy to provide anything further, please help me.

 $ iwconfig eth0      no wireless extensions.lo        no wireless extensions.$ rfkill list all2: hci0: Bluetooth    Soft blocked: no    Hard blocked: noiwlist scaneth0      Interface doesn't support scanning.lo        Interface doesn't support scanning.lspci | grep Network02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)sudo lshw -class network  *-network                      description: Ethernet interface       product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller       vendor: Realtek Semiconductor Co., Ltd.       physical id: 0       bus info: pci@0000:01:00.0       logical name: eth0       version: 07       serial: 74:86:7a:4c:6c:b8       size: 100Mbit/s       capacity: 100Mbit/s       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.0.102 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s       resources: irq:61 ioport:4000(size=256) memory:c0700000-c0700fff memory:c0400000-c0403fff  *-network UNCLAIMED       description: Network controller       product: QCA9565 / AR9565 Wireless Network Adapter       vendor: Qualcomm Atheros       physical id: 0       bus info: pci@0000:02:00.0       version: 01       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress bus_master cap_list       configuration: latency=0       resources: memory:c0600000-c067ffff memory:9fb00000-9fb0ffff    lsmod | grep athath9k                 133223  0 ath9k_common           14054  1 ath9kath9k_hw              399752  2 ath9k,ath9k_commonath                    24124  3 ath9k,ath9k_common,ath9k_hwdm_multipath           23306  0 scsi_dh                14589  1 dm_multipathath3k                  12918  0 mac80211              555318  2 ath9k,b43bluetooth             212001  25 bnep,rfcomm,btusb,ath3kcfg80211              208382  4 ath9k,ath,b43,mac80211

Using these helped

`sudo apt-get install linux-backports-modules-cw-3.10-precise-generic sudo modprobe ath9k `

but not for a long time.Then I tried this advice and wifi works again:

Can't reach wi-fi signal on Ubuntu, but can do it on other OS/devices (ath9k)

WIFI Card not working dell Inspiron 17 wifi card

$
0
0

I have a Dell inspiron 17 and I installed Ubuntu yesterday and when I logged in (I was originally on windows 8) there were no WiFi connections at all...

I've tried everything and I can't seem to find a solution...

After upgrading to Ubuntu 18.04, system cannot see Wifi networks on either internal adaptor or USB adaptor

$
0
0

I'm relatively inexperienced with Linux but I've spent the past 48 hours trying every solution I could find to this problem to no avail, I even tried a full system wipe and reinstall with no luck. After upgrading to Ubuntu 18.04 my system no longer sees any wifi networks. This is happening to my external usb adapter as well despite all the drivers being in place for it and having used before on previous versions.

lshw -C network gives me this:

       description: Ethernet interface       product: RTL810xE PCI Express Fast Ethernet controller       vendor: Realtek Semiconductor Co., Ltd.       physical id: 0       bus info: pci@0000:01:00.0       logical name: enp1s0       version: 02       serial: 00:24:8c:d6:54:12       size: 100Mbit/s       capacity: 100Mbit/s       width: 64 bits       clock: 33MHz       capabilities: bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation       configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full ip=192.168.137.25 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s       resources: irq:17 ioport:e800(size=256) memory:fdfff000-fdffffff memory:fdfe0000-fdfeffff memory:feaf0000-feafffff  *-network DISABLED       description: Wireless interface       product: RT3060 Wireless 802.11n 1T/1R       vendor: Ralink corp.       physical id: 0       bus info: pci@0000:03:00.0       logical name: wlp3s0       version: 00       serial: 34:08:04:9b:27:eb       width: 32 bits       clock: 33MHz       capabilities: bus_master cap_list ethernet physical wireless       configuration: broadcast=yes driver=rt2800pci driverversion=5.3.0-45-generic firmware=0.40 latency=64 link=no maxlatency=4 mingnt=2 multicast=yes wireless=IEEE 802.11       resources: irq:20 memory:febf0000-febfffff

rfkill list gives this:

    Soft blocked: no    Hard blocked: no

inxi -n gives this:

           driver: r8169           IF: enp1s0 state: up speed: 100 Mbps duplex: full           mac: 00:24:8c:d6:54:12           Card-2: Ralink RT3060 Wireless 802.11n 1T/1R driver: rt2800pci           IF: wlp3s0 state: down mac: 34:08:04:9b:27:eb

iwconfig

lo        no wireless extensions.wlp3s0    IEEE 802.11  ESSID:off/any            Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm             Retry short  long limit:2   RTS thr:off   Fragment thr:off          Power Management:off

Let me know what other information I can give or diagnostic commands I can run to assist any diagnosis. I'm very much at the end of my tether on this one so any assistance would be very much appreciated.Thanks

Can't Access Windows 7 Shared Folders Anymore

$
0
0

I accessed Windows 7 Shared Files through the Files System in Ubuntu 16.04 and it worked fine.But, when I tried again, I can't access Windows Shared Files anymore. I have a message like:Failed to recover server shared list - Folder or File not Found (I am translated from portuguese, and maybe it's not the popup in English).

  • In cmd I tried smbclient -L TDMS-PC -U TDMS I get "Error NT_STATUS_UNSUCCESSFUL"

  • When I ping, I can reach the windows machine and vice versa

  • Both Machines have the same network masks

  • When I tried smbclient //192.168.1.23/downloads -U TDMS I get "protocol negotiation failed: ERRDOS:ERRnomem"

And it worked before (in the Files Manager).

What could be wrong?

ifdown in cron bash script fails to run

$
0
0

I have a script that is run when a server (Ubuntu 14.04) boots up using @reboot in crontab (Under the root user)

@reboot /bin/bash /root/init.sh >> /var/logs/vminit.log

The script runs a number of things, but when it reaches this line

ifdown eth1

The script exits, and ifdown does not run. (Running ifconfig still shows eth1 in the output) Enabling Verbose mode on ifdown returns nothing too.

If I manually run the script myself, it runs as expected.

I wrote a test script just to rule out any issues with init.sh

#!/bin/bashecho 'one'ifdown eth1echo 'two'

If I run it manually, I get this output (which is expected)

one<DHCP Client info>two

If I place this test script into the crontab to be run with @reboot, I get the same results as init.sh, and the output is

one

I've tested by running the cron at an exact time (Example: 25 14 * * *) to see if it's something with `@reboot', but no luck.

I've also tried delaying the script from running after boot incase something was blocking ifdown from running

@reboot /bin/sleep 60; /bin/bash /root/init.sh >> /var/log/vminit.log

A few notes: - Eth1 is an active interface, prior to running ifdown the script makes a call out of eth1 to grab a file successfully.- The script is run as root- Permissions with the script (and log) are fine. - Running init.sh or the test script manually runs as expected.

Viewing all 23082 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>