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

gigabit mini pcie wifi card with AP mode

$
0
0

I set up a DIY router years back using a fitlet i "barebones" mini PC with a mini PCIe intel 7260 wifi card (using the iwlwifi driver) running in AP mode (bridged to the ethernet coming in from my cable modem). lots of hacks to get it to function including WPA supplicant, hostapd, etc.

unfortunately, even after lots of trial and error to get this card to work, I could never get it to function above 54mbps even though it says it's a 5ghz "dual band" card (seems 5ghz AC is only supported in client mode, and it only has one radio). this worked fine for slow 100mbps cable internet.

but I recently discovered I now have symmetric gigabit internet offered in my neighborhood and signed up.

what are my options for faster mini PCIe wifi AP adapter supported on ubuntu? is there such a thing? even 100mbps would be nice, but gigabit wifi would be awesome. alternatively, if there's a way to force the faster speed for AP mode on my current card, I'd be thrilled.

hostapd conf below (copied from https://vincent.bernat.ch/en/blog/2014-intel-7260-access-point)

auth_algs=1beacon_int=50#channel=36 #for N/5ghzchannel=11#disassoc_low_ack=1driver=nl80211# Operation mode (a = IEEE 802.11a (5 GHz), b = IEEE 802.11b (2.4 GHz), G = G# hw_mode=ahw_mode=g# wme_enabled=1# wifi N#ieee80211n=1ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40][DSSS_CCK-40][DSSS_CCK-40]#ieee80211d=1   # allow country freq onlycountry_code=US # country code#ieee80211ac=1  # 802.11ac support - this shows up as not an option?#vht_oper_centr_freq_seg0_idx=42 - also not supported?interface=wlan0bridge=br0require_ht=1ssid=magiwmm_enabled=1   # QoS supportwpa=2           # WPAv2 onlywpa_key_mgmt=WPA-PSKrsn_pairwise=CCMPwpa_passphrase=password

output of iw reg get

country US:    (2402 - 2472 @ 40), (3, 27)    (5170 - 5250 @ 40), (3, 17)    (5250 - 5330 @ 40), (3, 20), DFS    (5490 - 5600 @ 40), (3, 20), DFS    (5650 - 5710 @ 40), (3, 20), DFS    (5735 - 5835 @ 40), (3, 30)    (57240 - 63720 @ 2160), (N/A, 40)

output of iw list

Wiphy phy0    Band 1:        Capabilities: 0x11e2            HT20/HT40            Static SM Power Save            RX HT20 SGI            RX HT40 SGI            TX STBC            RX STBC 1-stream            Max AMSDU length: 3839 bytes            DSSS/CCK HT40        Maximum RX AMPDU length 65535 bytes (exponent: 0x003)        Minimum RX AMPDU time spacing: 4 usec (0x05)        HT TX/RX MCS rate indexes supported: 0-15        Frequencies:            * 2412 MHz [1] (22.0 dBm)            * 2417 MHz [2] (22.0 dBm)            * 2422 MHz [3] (22.0 dBm)            * 2427 MHz [4] (22.0 dBm)            * 2432 MHz [5] (22.0 dBm)            * 2437 MHz [6] (22.0 dBm)            * 2442 MHz [7] (22.0 dBm)            * 2447 MHz [8] (22.0 dBm)            * 2452 MHz [9] (22.0 dBm)            * 2457 MHz [10] (22.0 dBm)            * 2462 MHz [11] (22.0 dBm)            * 2467 MHz [12] (disabled)            * 2472 MHz [13] (disabled)        Bitrates (non-HT):            * 1.0 Mbps            * 2.0 Mbps (short preamble supported)            * 5.5 Mbps (short preamble supported)            * 11.0 Mbps (short preamble supported)            * 6.0 Mbps            * 9.0 Mbps            * 12.0 Mbps            * 18.0 Mbps            * 24.0 Mbps            * 36.0 Mbps            * 48.0 Mbps            * 54.0 Mbps    Band 2:        Capabilities: 0x11e2            HT20/HT40            Static SM Power Save            RX HT20 SGI            RX HT40 SGI            TX STBC            RX STBC 1-stream            Max AMSDU length: 3839 bytes            DSSS/CCK HT40        Maximum RX AMPDU length 65535 bytes (exponent: 0x003)        Minimum RX AMPDU time spacing: 4 usec (0x05)        HT TX/RX MCS rate indexes supported: 0-15        Frequencies:            * 5180 MHz [36] (17.0 dBm) (passive scanning, no IBSS)            * 5200 MHz [40] (17.0 dBm) (passive scanning, no IBSS)            * 5220 MHz [44] (17.0 dBm) (passive scanning, no IBSS)            * 5240 MHz [48] (17.0 dBm) (passive scanning, no IBSS)            * 5260 MHz [52] (20.0 dBm) (passive scanning, no IBSS, radar detection)            * 5280 MHz [56] (20.0 dBm) (passive scanning, no IBSS, radar detection)            * 5300 MHz [60] (20.0 dBm) (passive scanning, no IBSS, radar detection)            * 5320 MHz [64] (20.0 dBm) (passive scanning, no IBSS, radar detection)            * 5500 MHz [100] (20.0 dBm) (passive scanning, no IBSS, radar detection)            * 5520 MHz [104] (20.0 dBm) (passive scanning, no IBSS, radar detection)            * 5540 MHz [108] (20.0 dBm) (passive scanning, no IBSS, radar detection)            * 5560 MHz [112] (20.0 dBm) (passive scanning, no IBSS, radar detection)            * 5580 MHz [116] (20.0 dBm) (passive scanning, no IBSS, radar detection)            * 5600 MHz [120] (disabled)            * 5620 MHz [124] (disabled)            * 5640 MHz [128] (disabled)            * 5660 MHz [132] (20.0 dBm) (passive scanning, no IBSS, radar detection)            * 5680 MHz [136] (20.0 dBm) (passive scanning, no IBSS, radar detection)            * 5700 MHz [140] (20.0 dBm) (passive scanning, no IBSS, radar detection)            * 5720 MHz [144] (disabled)            * 5745 MHz [149] (22.0 dBm) (passive scanning, no IBSS)            * 5765 MHz [153] (22.0 dBm) (passive scanning, no IBSS)            * 5785 MHz [157] (22.0 dBm) (passive scanning, no IBSS)            * 5805 MHz [161] (22.0 dBm) (passive scanning, no IBSS)            * 5825 MHz [165] (22.0 dBm) (passive scanning, no IBSS)        Bitrates (non-HT):            * 6.0 Mbps            * 9.0 Mbps            * 12.0 Mbps            * 18.0 Mbps            * 24.0 Mbps            * 36.0 Mbps            * 48.0 Mbps            * 54.0 Mbps    max # scan SSIDs: 20    max scan IEs length: 425 bytes    Coverage class: 0 (up to 0m)    Supported Ciphers:        * WEP40 (00-0f-ac:1)        * WEP104 (00-0f-ac:5)        * TKIP (00-0f-ac:2)        * CCMP (00-0f-ac:4)        * CMAC (00-0f-ac:6)    Available Antennas: TX 0 RX 0    Supported interface modes:         * IBSS         * managed         * AP         * AP/VLAN         * monitor         * P2P-client         * P2P-GO         * Unknown mode (10)    software interface modes (can always be added):         * AP/VLAN         * monitor    valid interface combinations:         * #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ Unknown mode (10) } <= 1,           total <= 3, #channels <= 2    Supported commands:         * new_interface         * set_interface         * new_key         * new_beacon         * new_station         * new_mpath         * set_mesh_params         * set_bss         * authenticate         * associate         * deauthenticate         * disassociate         * join_ibss         * join_mesh         * remain_on_channel         * set_tx_bitrate_mask         * action         * frame_wait_cancel         * set_wiphy_netns         * set_channel         * set_wds_peer         * Unknown command (75)         * Unknown command (84)         * Unknown command (87)         * Unknown command (85)         * Unknown command (89)         * Unknown command (92)         * connect         * disconnect    Supported TX frame types:         * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0         * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0         * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0         * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0         * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0         * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0         * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0         * Unknown mode (10): 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0    Supported RX frame types:         * IBSS: 0x40 0xb0 0xc0 0xd0         * managed: 0x40 0xd0         * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0         * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0         * mesh point: 0xb0 0xc0 0xd0         * P2P-client: 0x40 0xd0         * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0         * Unknown mode (10): 0x40 0xd0    Device supports RSN-IBSS.    WoWLAN support:         * wake up on disconnect         * wake up on magic packet         * wake up on pattern match, up to 20 patterns of 16-128 bytes         * can do GTK rekeying         * wake up on GTK rekey failure         * wake up on EAP identity request         * wake up on 4-way handshake         * wake up on rfkill release    Device supports AP-side u-APSD.    HT Capability overrides:         * MCS: ff ff ff ff ff ff ff ff ff ff         * maximum A-MSDU length         * supported channel width         * short GI for 40 MHz         * max A-MPDU length exponent         * min MPDU start spacing    Device supports TX status socket option.    Device supports HT-IBSS.

thanks!


Unknown key bridge netplan config for KVM

$
0
0

Can not get my bridge to work for KVM, running Ubuntu. I started a VM to test but VM can not reach outside.

I get this error in debug:

/etc/netplan/50-cloud-init.yaml:20:3: Error in network definition: unknown key 'bridge'  bridge:  ^

And here is my netplan config file.

network:  version: 2  renderer: networkd  ethernets:      eno1:          addresses: [10.0.0.110/24]          gateway4: 10.0.0.1          nameservers:              addresses: [10.0.0.1, 1.1.1.1, 10.0.0.102]          dhcp4: no          dhcp6: no      eno2:          dhcp4: no          dhcp6: no  bridge:      br0:          interfaces: [eno2]          addresses: [10.0.0.111/24]          gateway4: 10.0.0.1          nameservers:              addresses: [10.0.0.1, 1.1.1.1, 10.0.0.102]          dhcp4: no          dhcp6: no

Ethernet (wired connection) is Unreachable in Ubuntu 16.04

$
0
0

I have a system dual boot with Windows 10 and Ubuntu 16.04. Windows 10 can access the internet, but Ubuntu 16.04 can't.I have checked in Windows 10 where WOL is not enabled on the ethernet.And you can see that the ethernet status (eno1) is up in Ubuntu 16.04.

Below are some results

$ ping 8.8.8.8connect: Network is unreachable

From above you can see it's not domain server problem (Indeed, before that I have tried changing /etc/resolv.conf to include line nameserver 8.8.8.8 and it does not work and I found out that it's not domain server problem)

$ ip link1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000    link/ether 18:31:bf:ce:35:39 brd ff:ff:ff:ff:ff:ff 3: enp14s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000    link/ether 18:31:bf:ce:35:3a brd ff:ff:ff:ff:ff:ff 5: br-e5e68b901b8d: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default     link/ether 02:42:bc:39:1c:1b brd ff:ff:ff:ff:ff:ff 6: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default     link/ether 02:42:90:09:22:e9 brd ff:ff:ff:ff:ff:ff
$ ifconfig -abr-e5e68b901b8d Link encap:Ethernet  HWaddr 02:42:bc:39:1c:1c            inet addr:172.18.0.1  Bcast:172.18.255.255  Mask:255.255.0.0          UP BROADCAST MULTICAST  MTU:1500  Metric:1          RX packets:0 errors:0 dropped:0 overruns:0 frame:0          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)docker0   Link encap:Ethernet  HWaddr 02:42:90:09:22:ec            inet addr:172.17.0.1  Bcast:172.17.255.255  Mask:255.255.0.0          UP BROADCAST MULTICAST  MTU:1500  Metric:1          RX packets:0 errors:0 dropped:0 overruns:0 frame:0          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)eno1      Link encap:Ethernet  HWaddr 18:31:bf:ce:35:3c            inet6 addr: fe80::fd89:7b2:8432:3e66/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:302 errors:0 dropped:0 overruns:0 frame:0          TX packets:96 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:1000           RX bytes:50635 (50.6 KB)  TX bytes:10704 (10.7 KB)          Interrupt:20 Memory:fb600000-fb620000 enp14s0   Link encap:Ethernet  HWaddr 18:31:bf:ce:35:3c            UP BROADCAST MULTICAST  MTU:1500  Metric:1          RX packets:0 errors:0 dropped:0 overruns:0 frame:0          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:1000           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)          Memory:fb300000-fb37ffff 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:37180 errors:0 dropped:0 overruns:0 frame:0          TX packets:37180 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:1000           RX bytes:14199410 (14.1 MB)  TX bytes:14199410 (14.1 MB)

Any comments is welcome and highly appreciated!

Wireless not working for certain networks

$
0
0

My laptop's wifi can connect to most networks, but it seems that for certain ones it cannot.

There is a situation where two routers are being used to two achieve better wifi coverage.

Router 1, which is connected to the main line works perfectly. Router 2, which is connected to router 1, does not. By that I mean it is not visible to my laptop, but it is visible to my android phone and a laptop running windows. DHCP has been disabled on router 1.

All my drivers are up to date, I tried bridging router 2's network over my phone with no luck. The bridged network was visible to other devices but not my laptop.

Network adapter: Qualcomm Atheros QCA6174 802.11ac
Laptop: Dell XPS 13 (2017)
OS: Ubuntu 18.04

Very confused, would appreciate any help!

wifi stops working after sometime while being connected in ubuntu 18.04

$
0
0

I noticed this problem now while using live connections that my internet is fine wifi is connected but the internet is not working.

Here is the output of lshw -C network:

  *-network                        description: Wireless interface       product: Intel Corporation       vendor: Intel Corporation       physical id: 14.3       bus info: pci@0000:00:14.3       logical name: wlo1       version: 30       serial: 1c:1b:b5:ac:17:0a       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless       configuration: broadcast=yes driver=iwlwifi driverversion=5.3.0-53-generic firmware=46.6bf1df06.0 ip=192.168.1.201 latency=0 link=yes multicast=yes wireless=IEEE 802.11       resources: irq:16 memory:a531c000-a531ffff  *-network       description: Ethernet interface       product: RTL810xE PCI Express Fast Ethernet controller       vendor: Realtek Semiconductor Co., Ltd.       physical id: 0       bus info: pci@0000:03:00.0       logical name: enp3s0       version: 0a       serial: 54:48:10:e7:31:14       capacity: 100Mbit/s       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation       configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8107e-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII       resources: irq:16 ioport:3000(size=256) memory:a5204000-a5204fff memory:a5200000-a5203fff

My network card is RTL810xE (Realtek) and i've not changed any drivers.

Thanks in advance

systemd-resolve does not forward DNS requests to stated DNS server

$
0
0

Anyone know how systemd-resolve voodo works?

192.168.1.30is the correct DNS server for my network, as returned by DHCP.

/etc/resolv.conf points to 127.0.0.53

Systemd claims to be using the correct server.

systemd-resolve --status | grep "DNS Servers"192.168.1.30

But dig indicates it is not forwarding requestsIf I specify the server I can resolve shadowbox

dig @192.168.1.30 shadowbox; <<>> DiG 9.16.1-Ubuntu <<>> @192.168.1.30 shadowbox...;; ANSWER SECTION:shadowbox.      60  IN  A   192.168.1.34...

systemd-resolve cannot

dig @127.0.0.53 shadowbox; <<>> DiG 9.16.1-Ubuntu <<>> @127.0.0.53 shadowbox; (1 server found);; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 60161;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 65494;; QUESTION SECTION:;shadowbox.         IN  A;; Query time: 0 msec;; SERVER: 127.0.0.53#53(127.0.0.53);; WHEN: Sun Jun 07 14:00:12 CEST 2020;; MSG SIZE  rcvd: 38

I have tried bouncing the server, flusching acashed and mamually setting the server

systemd-resolve --flush-cachessystemd-resolve --set-dns=192.168.1.30 --interface=enp0s31f6

I can chattr +i /etc/resolv.conf to regain control of DNS, but it would be nice to know why systemd is not working, since I loose the benefits of DHCP.

How do you connect to a windows share using a different user id?

$
0
0

I am using Ubuntu 20.04.I am also using Nemo instead of Nautilus (though I don't think it makes any difference).Having clicked on "Network" in the file manager, I am presented with a list of other PCs and Network Shares.Once I have clicked on a Network Share and entered the User ID and Password and clicked "Remember forever", how can I then 'forget' that connection and connect using a different user id ?Is there a configuration file which contains the Share configuration details ? If so, where is it ?

Realtek rtl8723de wifi not working with a new kernel

$
0
0

I was using linux kernel 5.0.4-33 generic and 5.0.4-31-generic.

But after some time i needed to reinstall the 5.0.4-33-generic kernel because it was giving me initramfs error during boot.After reinstalling the kernel boots perfectly without errors but the there is no wifi option there while wifi works perfectly for 5.0.4-31-generic kernel.

I am using Realtek8723de driver.

i tried following these instructions

https://h30434.www3.hp.com/t5/Notebook-Wireless-and-Networking/Realtek-8723DE-wifi-module-amp-Bluetooth-Linux-driver/td-p/6477307

but the latest commit of Larry Finger's rtlwifi_new repo says

"if you are running a kernel newer than 5.0, use the drivers built into your kernel."

But this is not the case it seems. There is still no option for wifi

I am using Ubuntu 20.04

I really need this to work. Thanks in advance


nm-applet gives errors

$
0
0

nm-applet always gives me a hard time when connecting to wireless. I often have to restart it and make several attempts till it connects to a network. Sometimes even restarting the computer doesn't help. This time I ran it from CLI and I got this:

** (nm-applet:2950): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-t6ky00XpYq: Connection refused    ** (nm-applet:2950): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files    (nm-applet:2950): nm-applet-WARNING **: Failed to register as an agent: (2) The name org.freedesktop.NetworkManager was not provided by any .service files    (nm-applet:2950): nm-applet-WARNING **: Failed to register as an agent: (2) The name org.freedesktop.NetworkManager was not provided by any .service files

Here is the output of lspci -knn | grep Net -A2

02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 93)    Subsystem: Intel Corporation Device [8086:5070]    Kernel driver in use: iwlwifi

Can't use Wi-Fi in Ubuntu 20.04

$
0
0

My laptop is Lenovo Legion Y530 (i7 8th - 16GB ram - GTX1050).I'm running Ubuntu 20.04 for it and I was had a trouble with Wi-Fi. When I turn on Ubuntu, Wi-Fi doesn't found any modem.

I tried:

lspci -knn | grep Net -A3; rfkill list

This outputs:

07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]    Subsystem: Lenovo ThinkPad E595 [17aa:b023]    Kernel modules: rtwpci08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)3: hci0: Bluetooth    Soft blocked: yes    Hard blocked: no

The output of sudo lshw -C network is:

*-network UNCLAIMED              description: Network controller       product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter       vendor: Realtek Semiconductor Co., Ltd.       physical id: 0       bus info: pci@0000:07:00.0       version: 00       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress bus_master cap_list       configuration: latency=0       resources: iomemory:ffffffff0-fffffffef ioport:4000(size=256) memory:a4300000-a430ffff  *-network       description: Ethernet interface       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller       vendor: Realtek Semiconductor Co., Ltd.       physical id: 0       bus info: pci@0000:08:00.0       logical name: enp8s0       version: 15       serial: e8:6a:64:ce:c7:7c       size: 1Gbit/s       capacity: 1Gbit/s       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation       configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.208 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s       resources: irq:17 ioport:3000(size=256) memory:a4204000-a4204fff memory:a4200000-a4203fff

Trying to enable USB interface for Wireless Adapter Ubuntu 16.04.1 LTS

$
0
0

I am trying to setup a wireless USB adapter on my machine and I am currently lost. I believe I installed the driver correctly based on my lsusb info below:

BUS 001 Device 002: ID 0bda:818b Realtek Semiconductor Corp.

However when I run ifconfig I do not see my wireless interface.But for some reason when I run ifconfig -a I am able to see the new interface but it appears with Link encap:Ethernet:

ifconfig -a output:

In addition when I run lshw -C network it claims USB:0 Disabled.

lshw output:

I am relatively new to Ubuntu but I think I need to enable the USB in order for my adapter to work. How can I do this? Is their an alternative solution?

Lastly my wireless extention appears when I run iwconfig. I would post a screenshot but my reputation is not high enough for more than 2 links.

Internet connection loss on Lenovo 330

$
0
0

I'm using lenovo ideapad 330 with ubuntu 18.04.My internet connection randomly goes away just on my laptop so there is not an internet provider problem. It doesn't matter if I'm using it with wifi or with cable. Any tips would be appreciated. I don't really know what to do. It's not a new issue it exists since the ubuntu got installed on my laptop.Thank you for your help in advance.

activation of the network connection failed. login screen disappeares

$
0
0

I have to Ubuntu 20.04 on a Dell PC, and I can't get the ethernet connection to work. I keep getting the "activation of network connection failed" error for the ethernet.Here is the information regarding the network:

 *-network DISABLED               description: Wireless interface       product: QCA9565 / AR9565 Wireless Network Adapter       vendor: Qualcomm Atheros       physical id: 0       bus info: pci@0000:02:00.0       logical name: wlp2s0       version: 01       serial: 4c:bb:58:e4:4a:56       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless       configuration: broadcast=yes driver=ath9k driverversion=5.4.0-28-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11       resources: irq:16 memory:90600000-9067ffff memory:90680000-9068ffff  *-network       description: Ethernet interface       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller       vendor: Realtek Semiconductor Co., Ltd.       physical id: 0       bus info: pci@0000:03:00.0       logical name: enp3s0       version: 0c       serial: 64:00:6a:43:c5:a1       size: 100Mbit/s       capacity: 1Gbit/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 1000bt-fd autonegotiation       configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 ip=10.254.205.39 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s       resources: irq:17 ioport:1000(size=256) memory:90500000-90500fff memory:90400000-90403fff

Steps which I followed to resolve the issue:

I went to settings under the wired network I clicked on the round circular button and clicked on remove connection profile. added a new one. tried again and now I have the wired connection back. This occurred yesterday and till 6 pm I had no Internet. I just wanted to know is it a with specific computers or all computers.

The second troubleshooting step which I performed was sudo service network-manager restart. Nothing happened.

I have just a wired connection no other connection. Could you suggest a better solution?

Thank you.I have changed the setting as you have suggested. I will put the system under observation and let you know if this issue reoccurs tomorrow .what I have observed is that when I turn on my computer in the morning the small network symbol on the top right hand side has three dots and after some time you can see the full network connection. else everything works fine.*=*====================================================================

when I select "link local only" the network connection icon seems to be stable but I am still not able to access internet.I turned off IPv4 and was trying IPv 6. I still get the same error. I have to turn off the computer and wait for the network connection so get stable what do I do now?

I have checked again this is the status even though I have the IPv6 turned off.

Link speed 10 MB/SIPv4 Address 10.254.105.56IPv6 fe80::9127:d1a1:93f1:2a20Hardware address :64:00:6A:43:C5:A1DNS: 103.46.233.235.43.227.192.227 8.8.8.8

can you tell me what to do now? This is a brand new hard disk. I would be waiting for a solution.

I am having this unusual problem in ubuntu 20.4. Everytime I login successfully the main menu and the desktop screen disappears for few seconds then I have a black blank screen coming up few minutes later there’s a small blinking cursor(dash) at the right end of the screen and then I see the login page again.can you help me with the solution.

I searched this website for the answer. I have followed the suggested steps:

sudo dpkg --configure -asudo apt-get updatesudo apt-get upgrade -y

I still get the same issue.any help will be appreciated.

No eth0 on OVH 18.04 server

$
0
0

I am trying to follow the step by step on OVH for setting up their vrack on Ubuntu 18.04 but it says there should be an interface called eth0 with link: detached in it's info. I have interfaces for lo, eno3, en04 and then about 20 or so named with hash string that I believe are docker networks on the box.

I googled issue and found mention of: /etc/network/interfaces. For me this file does not exist.

The server works fine over the internet, all my sites are visible, but now I need to configure local networking so I can setup a swarm.

I am just using the default Ubuntu 18.04 image from OVH. What is right thing to do?

This is docs I am following: https://docs.ovh.com/gb/en/dedicated/configuring-vrack-on-dedicated-servers/

Should I just enter this:

auto eth1iface eth1 inet static           address 192.168.0.1           netmask 255.255.0.0

Into /etc/network/interfaces?

I dont understand why eth0 isn't there. It doesn't match the docs so I am a bit lost.

Failed to start Raise network interfaces

$
0
0

Ubuntu 16 (vm) added one virtual nic ens160, working fineadded a second physical nic ens192 creating the error.

systemctl status networking.service● networking.service - Raise network interfaces   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)  Drop-In: /run/systemd/generator/networking.service.d└─50-insserv.conf-$network.conf   Active: failed (Result: exit-code) since Wed 2016-07-06 11:19:04 EDT; 8s ago     Docs: man:interfaces(5)  Process: 14290 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)  Process: 14284 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=0/SUCCESS) Main PID: 14290 (code=exited, status=1/FAILURE)Jul 06 11:19:03 gbsnort systemd[1]: Starting Raise network interfaces...Jul 06 11:19:04 gbsnort ifup[14290]: RTNETLINK answers: File existsJul 06 11:19:04 gbsnort ifup[14290]: Failed to bring up ens192.Jul 06 11:19:04 gbsnort systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILUREJul 06 11:19:04 gbsnort systemd[1]: Failed to start Raise network interfaces.Jul 06 11:19:04 gbsnort systemd[1]: networking.service: Unit entered failed state.Jul 06 11:19:04 gbsnort systemd[1]: networking.service: Failed with result 'exit-code'.  6 # The loopback network interface  7 auto lo  8 iface lo inet loopback  9  10 # The primary network interface 11 auto ens160 12 iface ens160 inet static 13         address 192.168.2.17 14         netmask 255.255.255.0 15         network 192.168.2.0 16         broadcast 192.168.2.255 17         gateway 192.168.2.40 18         # dns-* options are implemented by the resolvconf package, if installed 19         dns-nameservers 192.168.2.13 20         dns-search mydomain.com 21  22 # The monitoring interface 23 auto ens192 24 iface ens192 inet static 25         address 192.168.2.12 26         netmask 255.255.255.0 27 #       network 192.168.2.0 28 #       broadcast 192.168.2.255 29         gateway 192.168.2.40 30 #       dns-nameservers 192.168.2.13 31 #       dns-search mydomain.com 32  33 post-up ethtool -K ens192 gro off 34 post-up ethtool -K ens192 lro off

Cisco VPN not connecting to internet

$
0
0

I am trying to connect to my office vpn. When I try to connect with Cisco Anyconnect Client it does connect but it restricts only the private sites of office.

Is there some way I could open other global sites while being connected to this VPN. I saw the option of split tunneling but the problem I am facing with that is

When I try creating VPN connection in Network Connections options, there it is not able to connect to the office private sites even though it mentions being connected.

Please forgive if it still not understandable, I tried asking with as much info I have about networking.

Slower download speed compared to Windows on Ubuntu 20.04

$
0
0

I have just installed Ubuntu 20.04 and I am facing a pretty big issue. My download speeds are really low compared to the Windows 10 that I have installed on dual-boot setup.

This is the speed I'm getting in Windows.

And this is what I'm getting in Ubuntu.

My network adapter is Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller.

I have tried changing the DNS options but that doesn't help.

Device is a Lenovo Y700-15ISK Laptop.

Output lshw:

*-network DISABLED       description: Wireless interface       product: QCA9377 802.11ac Wireless Network Adapter       vendor: Qualcomm Atheros       physical id: 0       bus info: pci@0000:08:00.0       logical name: wlp8s0       version: 30       serial: cc:b0:da:b7:60:65       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless       configuration: broadcast=yes driver=ath10k_pci driverversion=5.4.0-29-generic firmware=WLAN.TF.2.1-00021-QCARMSWP-1 latency=0 link=no multicast=yes wireless=IEEE 802.11       resources: irq:142 memory:94000000-941fffff  *-network       description: Ethernet interface       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller       vendor: Realtek Semiconductor Co., Ltd.       physical id: 0       bus info: pci@0000:09:00.0       logical name: enp9s0       version: 15       serial: c8:5b:76:3e:55:50       size: 1Gbit/s       capacity: 1Gbit/s       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation       configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.048.00-NAPI duplex=full ip=192.168.100.2 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s       resources: irq:131 ioport:3000(size=256) memory:94304000-94304fff memory:94300000-94303fff

Also, the ifconfig shows a lot of dropped RX packages that are increasing as we speak:

Qualcomm Atheros QCA9377 dropping wifi

$
0
0

I am having a lot of problems with Wifi (wired connection don't have any issues). The strange thing is that happens only on my Ubuntu 18.04.4 x86_64 4.15.0-101-generic computer (I also tried to reinstall and put the 20.04 fresh, but nothing changed), all others have Windows/Android and are not affected.

What happens is that after a while browsing, I lose my internet connection, leaving the icon in the upper right corner with the question mark and getting "err_disconnected_internet", "dns_probe_finished_nxdomain" or "dns_probe_finished_no_internet" from Chrome. To "solve" I need to switch from the 2.4G network to the 5G network (and vice versa), but soon afterwards the problem occurs, often in less than 5 minutes (sometimes more, sometimes less).

I've tried several things, but all without success, I'll leave all of them here:

When viewing the dmseg -w command information, I saw that my country code (which is currently Brazil) was apparently changed to IE:

[1610.124972] wlp2s0: associated[1610.125195] ath: EEPROM regdomain: 0x804c[1610.125197] ath: EEPROM indicates we should expect a country code[1610.125200] ath: doing EEPROM country-> regdmn map search[1610.125202] ath: country maps to regdmn code: 0x3b[1610.125205] ath: Country alpha2 being used: BR[1610.125206] ath: Regpair used: 0x3b[1610.125210] ath: regdomain 0x804c dynamically updated by country IE[1610.159599] wlp2s0: Limiting TX power to 30 (30 - 0) dBm as advertised by ...

I tried to change in /etc/default/crda, but without success. Afterwards, I tried to disable powersave by changing /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf to "2", but also without success.

Note: even after the two changes above, the output of dmseg -w remains the same, but iwconfig really shows that powersave is disabled.

After that, I tried reinstall netwok-manager, use Google Public DNS, and nothing changed.

After erasing everything and placing 20.04, I thought I had solved the problem, but it come back shortly after.

I managed to get some logs just before the drop:

journalctl -u NetworkManager --follow

jun 08 00:38:26 lucius-Lenovo-ideapad-320 NetworkManager[742]: <info>  [1591587506.4061] dhcp6 (wlp2s0): state changed unknown -> boundjun 08 00:38:29 lucius-Lenovo-ideapad-320 NetworkManager[742]: <info>  [1591587509.3816] manager: NetworkManager state is now CONNECTED_GLOBAL

journalctl --follow:

jun 08 00:39:00 lucius-Lenovo-ideapad-320 systemd[1]: Starting Clean php session files...jun 08 00:39:00 lucius-Lenovo-ideapad-320 systemd[1]: phpsessionclean.service: Succeeded.jun 08 00:39:00 lucius-Lenovo-ideapad-320 systemd[1]: Finished Clean php session files.jun 08 00:39:01 lucius-Lenovo-ideapad-320 CRON[78496]: pam_unix(cron:session): session opened for user root by (uid=0)jun 08 00:39:01 lucius-Lenovo-ideapad-320 CRON[78497]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)jun 08 00:39:01 lucius-Lenovo-ideapad-320 CRON[78496]: pam_unix(cron:session): session closed for user rootjun 08 00:39:32 lucius-Lenovo-ideapad-320 systemd-resolved[700]: Using degraded feature set (UDP) for DNS server 2804:....jun 08 00:39:33 lucius-Lenovo-ideapad-320 systemd-resolved[700]: Using degraded feature set (UDP) for DNS server 2804:....

Here's some outputs:

iwconfig:

lo        no wireless extensions.docker0   no wireless extensions.wlp2s0    IEEE 802.11  ESSID:"NAME_5G"          Mode:Managed  Frequency:5.785 GHz  Access Point: ...             Bit Rate=6 Mb/s   Tx-Power=30 dBm             Retry short limit:7   RTS thr:off   Fragment thr:off          Power Management:off          Link Quality=53/70  Signal level=-57 dBm            Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0          Tx excessive retries:0  Invalid misc:154   Missed beacon:0virbr0    no wireless extensions.enp1s0    no wireless extensions.virbr0-nic  no wireless extensions.

lspci | grep -i wireless:

02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)

/etc/network/interfaces:

# interfaces(5) file used by ifup(8) and ifdown(8)auto loiface lo inet loopback

/etc/resolv.conf:

nameserver 127.0.0.53options edns0search spo.virtua.com.br

Please, I really don't know what else to do

EDIT

I forgot to mention something that may be very relevant:

Only on this particular network do I have drops, on any other I have no problems.

Router Info

HGJ310 HUMAX

TechnologyDOCSIS 3.1

Hardware Version 1.0

Software VersionBRGCAI 1.0.18

EDIT 2

I don't know how much of a coincidence this is, but apparently accessing some specific sites makes the wifi go down faster, like some W3 Schools pages, giving me the following log:

Jun 08 02:09:24 lucius-Lenovo-ideapad-320 systemd-resolved [694]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP

With some research, I stopped that this is just an alert, and it didn't cause an error in itself...

RTL8822BE 802.11a/b/g/n/ac WiFi adapter not work after upgrade to 20.04 lts

$
0
0

I have notebook Lenovo E490, which has Wi-Fi RTL8822BE 802.11a/b/g/n/ac Wi-Fi adapter, but after upgrade to 20.04 LTS, Wi-Fi not working. Has anyone experienced this problem?

  *-network       description: Ethernet interface       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller       vendor: Realtek Semiconductor Co., Ltd.       physical id: 0       bus info: pci@0000:04:00.0       logical name: enp4s0       version: 10       serial: 64:1c:67:ae:26:49       capacity: 1Gbit/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 1000bt-fd autonegotiation       configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII       resources: irq:16 ioport:3000(size=256) memory:a1204000-a1204fff memory:a1200000-a1203fff  *-generic       description: Wireless interface       product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter       vendor: Realtek Semiconductor Co., Ltd.       physical id: 0       bus info: pci@0000:05:00.0       logical name: wlp5s0       version: 00       serial: 50:5b:c2:b4:5f:29       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless       configuration: broadcast=yes driver=rtw_pci driverversion=5.3.0-51-generic firmware=N/A ip=192.168.15.20 latency=0 link=yes multicast=yes wireless=IEEE 802.11       resources: irq:131 ioport:2000(size=256) memory:a1100000-a110ffff

The icon appears in the upper corner but I cannot complete the scan of available networks to connect.

When running the command nmcli device wifi list, "No device or network" appears.

When running sudo iwlist wlp5s0 scan, the result is:

wlp5s0  No scan results

Can't get WiFi to work on Qualcomm Atheros QCA9377

$
0
0

I had my Acer Aspire E5-574g Laptop for some weeks now and use it in dualboot with Ubuntu and Windows 10. On Windows 10 WiFi is working perfectly fine, no problems at all. But it isn't working on Ubuntu or other Linuxes at all. I actually want to switch to Linux completely but of course I can't without working WiFi. I really tried everything I could. I googled for days on how to fix the problem. I didn't really find that much except for this: Qualcomm Atheros QCA9377 wireless not working on lenovo with 14.04.3Which didn't help at all for me. Sometimes WiFi is working but extreeemely slow and just for some seconds. It's connecting (or showing that it's connected) but doesn't load anything. It's actually working with a WiFi dongle but that's really only a temporary solution for me.

I already tried it with Ubuntu and Kali Linux but it never worked, so it seems to be a problem with Linux. I'm about to give up on Linux.

Viewing all 23243 articles
Browse latest View live


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