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

ERR_NAME_NOT_RESOLVED when create virtual host for wordpress website [closed]

$
0
0

I try to create virtual host on ubuntu server, but I get the message like image.

enter image description here


Can`t find wifi networks on 13 channel

$
0
0

I have turned on access point on my phone(Xiaomi Redmi 6A), i verified that I can connect on non-linux devices. But my ubuntu(20.04) laptop doesn't find my network. After that I tried to find my network in airodump-ng and found it on 13 channel with about 19 beacons in 9 minutes.Here is some useful info:

# lshw output *-network       description: Wireless interface       product: BCM43225 802.11b/g/n       vendor: Broadcom Inc. and subsidiaries       physical id: 0       bus info: pci@0000:08:00.0       logical name: wlp8s0       version: 01       serial: 78:e4:00:f1:b6:b4       width: 64 bits       clock: 33MHz       capabilities: bus_master cap_list ethernet physical wireless       configuration: broadcast=yes driver=wl0 driverversion=6.30.223.271 (r587334) latency=0 multicast=yes wireless=IEEE 802.11       resources: irq:17 memory:f1000000-f1003fff#lspci00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0)00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0)00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 1)00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 41)00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller (rev 40)00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470]01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)08:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43225 802.11b/g/n (rev 01)# iw phyWiphy phy0    max # scan SSIDs: 1    max scan IEs length: 0 bytes    max # sched scan SSIDs: 0    max # match sets: 0    max # scan plans: 1    max scan plan interval: -1    max scan plan iterations: 0    Retry short limit: 7    Retry long limit: 4    Coverage class: 0 (up to 0m)    Supported Ciphers:        * WEP40 (00-0f-ac:1)        * WEP104 (00-0f-ac:5)        * TKIP (00-0f-ac:2)        * CCMP-128 (00-0f-ac:4)        * CMAC (00-0f-ac:6)    Available Antennas: TX 0 RX 0    Supported interface modes:         * IBSS         * managed    Band 1:        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        Frequencies:            * 2412 MHz [1] (20.0 dBm)            * 2417 MHz [2] (20.0 dBm)            * 2422 MHz [3] (20.0 dBm)            * 2427 MHz [4] (20.0 dBm)            * 2432 MHz [5] (20.0 dBm)            * 2437 MHz [6] (20.0 dBm)            * 2442 MHz [7] (20.0 dBm)            * 2447 MHz [8] (20.0 dBm)            * 2452 MHz [9] (20.0 dBm)            * 2457 MHz [10] (20.0 dBm)            * 2462 MHz [11] (20.0 dBm)            * 2467 MHz [12] (20.0 dBm)            * 2472 MHz [13] (20.0 dBm)            * 2484 MHz [14] (disabled)    Band 2:        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        Frequencies:            * 5160 MHz [32] (30.0 dBm)            * 5170 MHz [34] (30.0 dBm)            * 5180 MHz [36] (30.0 dBm)            * 5190 MHz [38] (30.0 dBm)            * 5200 MHz [40] (30.0 dBm)            * 5210 MHz [42] (30.0 dBm)            * 5220 MHz [44] (30.0 dBm)            * 5230 MHz [46] (30.0 dBm)            * 5240 MHz [48] (30.0 dBm)            * 5250 MHz [50] (30.0 dBm)            * 5260 MHz [52] (30.0 dBm)            * 5270 MHz [54] (30.0 dBm)            * 5280 MHz [56] (30.0 dBm)            * 5290 MHz [58] (30.0 dBm)            * 5300 MHz [60] (30.0 dBm)            * 5310 MHz [62] (30.0 dBm)            * 5320 MHz [64] (30.0 dBm)            * 5330 MHz [66] (30.0 dBm)            * 5340 MHz [68] (30.0 dBm)            * 5350 MHz [70] (30.0 dBm)            * 5360 MHz [72] (30.0 dBm)            * 5370 MHz [74] (30.0 dBm)            * 5380 MHz [76] (30.0 dBm)            * 5390 MHz [78] (30.0 dBm)            * 5400 MHz [80] (30.0 dBm)            * 5410 MHz [82] (30.0 dBm)            * 5420 MHz [84] (30.0 dBm)            * 5430 MHz [86] (30.0 dBm)            * 5440 MHz [88] (30.0 dBm)            * 5450 MHz [90] (30.0 dBm)            * 5460 MHz [92] (30.0 dBm)            * 5470 MHz [94] (30.0 dBm)            * 5480 MHz [96] (30.0 dBm)            * 5490 MHz [98] (30.0 dBm)            * 5500 MHz [100] (30.0 dBm)            * 5510 MHz [102] (30.0 dBm)            * 5520 MHz [104] (30.0 dBm)            * 5530 MHz [106] (30.0 dBm)            * 5540 MHz [108] (30.0 dBm)            * 5550 MHz [110] (30.0 dBm)            * 5560 MHz [112] (30.0 dBm)            * 5570 MHz [114] (30.0 dBm)            * 5580 MHz [116] (30.0 dBm)            * 5590 MHz [118] (30.0 dBm)            * 5600 MHz [120] (30.0 dBm)            * 5610 MHz [122] (30.0 dBm)            * 5620 MHz [124] (30.0 dBm)            * 5630 MHz [126] (30.0 dBm)            * 5640 MHz [128] (30.0 dBm)            * 5650 MHz [130] (30.0 dBm)            * 5660 MHz [132] (30.0 dBm)            * 5670 MHz [134] (30.0 dBm)            * 5680 MHz [136] (30.0 dBm)            * 5690 MHz [138] (30.0 dBm)            * 5700 MHz [140] (30.0 dBm)            * 5710 MHz [142] (30.0 dBm)            * 5720 MHz [144] (30.0 dBm)            * 5725 MHz [145] (30.0 dBm)            * 5730 MHz [146] (30.0 dBm)            * 5735 MHz [147] (30.0 dBm)            * 5740 MHz [148] (30.0 dBm)            * 5745 MHz [149] (30.0 dBm)            * 5750 MHz [150] (30.0 dBm)            * 5755 MHz [151] (30.0 dBm)            * 5760 MHz [152] (30.0 dBm)            * 5765 MHz [153] (30.0 dBm)            * 5770 MHz [154] (30.0 dBm)            * 5775 MHz [155] (30.0 dBm)            * 5780 MHz [156] (30.0 dBm)            * 5785 MHz [157] (30.0 dBm)            * 5790 MHz [158] (30.0 dBm)            * 5795 MHz [159] (30.0 dBm)            * 5800 MHz [160] (30.0 dBm)            * 5805 MHz [161] (30.0 dBm)            * 5810 MHz [162] (30.0 dBm)            * 5815 MHz [163] (30.0 dBm)            * 5820 MHz [164] (30.0 dBm)            * 5825 MHz [165] (30.0 dBm)            * 5830 MHz [166] (30.0 dBm)            * 5840 MHz [168] (30.0 dBm)            * 5850 MHz [170] (30.0 dBm)            * 5860 MHz [172] (30.0 dBm)            * 5870 MHz [174] (30.0 dBm)            * 5880 MHz [176] (30.0 dBm)            * 5890 MHz [178] (30.0 dBm)            * 5900 MHz [180] (30.0 dBm)            * 5910 MHz [182] (30.0 dBm)            * 5920 MHz [184] (30.0 dBm)            * 5930 MHz [186] (30.0 dBm)            * 5940 MHz [188] (30.0 dBm)            * 5950 MHz [190] (30.0 dBm)            * 5960 MHz [192] (30.0 dBm)            * 5970 MHz [194] (30.0 dBm)            * 5980 MHz [196] (30.0 dBm)            * 5990 MHz [198] (30.0 dBm)            * 6000 MHz [200] (30.0 dBm)            * 6010 MHz [202] (30.0 dBm)            * 6020 MHz [204] (30.0 dBm)            * 6030 MHz [206] (30.0 dBm)            * 6040 MHz [208] (30.0 dBm)            * 6050 MHz [210] (30.0 dBm)            * 6060 MHz [212] (30.0 dBm)            * 6070 MHz [214] (30.0 dBm)            * 6080 MHz [216] (30.0 dBm)            * 6090 MHz [218] (30.0 dBm)            * 6100 MHz [220] (30.0 dBm)            * 6110 MHz [222] (30.0 dBm)            * 6120 MHz [224] (30.0 dBm)            * 6130 MHz [226] (30.0 dBm)            * 6140 MHz [228] (30.0 dBm)    Supported commands:         * set_interface         * new_key         * join_ibss         * set_pmksa         * del_pmksa         * flush_pmksa         * connect         * disconnect    software interface modes (can always be added):    interface combinations are not supported    Device supports scan flush.    Supported extended features:# iw devphy#0    Interface wlp8s0        ifindex 3        wdev 0x1        addr 78:e4:00:f1:b6:b4        type managed#iw reg getglobalcountry BY: DFS-ETSI    (2402 - 2482 @ 40), (N/A, 20), (N/A)    (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW    (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW    (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS#ubuntu-drivers devices== /sys/devices/pci0000:00/0000:00:05.0/0000:08:00.0 ==modalias : pci:v000014E4d00004357sv0000105Bsd0000E021bc02sc80i00vendor   : Broadcom Inc. and subsidiariesmodel    : BCM43225 802.11b/g/n (T77H103.00 Wireless Half-size Mini PCIe Card)driver   : bcmwl-kernel-source - distro non-free#lsmodModule                  Size  Used byrfcomm                 81920  4cmac                   16384  13algif_hash             16384  6algif_skcipher         16384  6af_alg                 24576  26 algif_hash,algif_skcipherbnep                   24576  3uvcvideo               98304  0videobuf2_vmalloc      20480  1 uvcvideoec_sys                 16384  0videobuf2_memops       20480  1 videobuf2_vmallocbtusb                  57344  0videobuf2_v4l2         24576  1 uvcvideobtrtl                  24576  1 btusbvideobuf2_common       49152  2 videobuf2_v4l2,uvcvideobtbcm                  16384  1 btusbbtintel                24576  1 btusbvideodev              225280  3 videobuf2_v4l2,uvcvideo,videobuf2_commonbluetooth             581632  33 btrtl,btintel,btbcm,bnep,btusb,rfcommmc                     53248  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_commonecdh_generic           16384  2 bluetoothecc                    28672  1 ecdh_genericxt_CHECKSUM            16384  1xt_MASQUERADE          20480  3xt_conntrack           16384  1ipt_REJECT             16384  2nf_reject_ipv4         16384  1 ipt_REJECTxt_tcpudp              20480  9ip6table_mangle        16384  1ip6table_nat           16384  1iptable_mangle         16384  1iptable_nat            16384  1nf_nat                 40960  3 ip6table_nat,iptable_nat,xt_MASQUERADEnf_conntrack          139264  3 xt_conntrack,nf_nat,xt_MASQUERADEnf_defrag_ipv6         24576  1 nf_conntracknf_defrag_ipv4         16384  1 nf_conntracklibcrc32c              16384  2 nf_conntrack,nf_natnf_tables             135168  0nfnetlink              16384  1 nf_tablesip6table_filter        16384  1ip6_tables             32768  3 ip6table_filter,ip6table_nat,ip6table_mangleiptable_filter         16384  1bpfilter               32768  0bridge                176128  0stp                    16384  1 bridgellc                    16384  2 bridge,stpaufs                  262144  0overlay               114688  0snd_seq_midi           20480  0snd_seq_midi_event     16384  1 snd_seq_midisnd_hda_codec_realtek   118784  1snd_hda_codec_hdmi     61440  1snd_hda_codec_generic    81920  1 snd_hda_codec_realtekledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtekedac_mce_amd           32768  0snd_hda_intel          53248  6snd_rawmidi            36864  1 snd_seq_midisnd_intel_dspcfg       24576  1 snd_hda_intelwl                   6455296  0joydev                 24576  0snd_hda_codec         131072  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtekinput_leds             16384  0snd_hda_core           90112  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realteksnd_hwdep              20480  1 snd_hda_codecsnd_seq                69632  2 snd_seq_midi,snd_seq_midi_eventserio_raw              20480  0acer_wmi               24576  0sparse_keymap          16384  1 acer_wmiwmi_bmof               16384  0k10temp                16384  0snd_pcm               106496  5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_coresnd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidisnd_timer              36864  2 snd_seq,snd_pcmsnd                    90112  22 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidicfg80211              704512  1 wlsoundcore              16384  1 sndmac_hid                16384  0kvm_amd                98304  0ccp                    86016  1 kvm_amdkvm                   663552  1 kvm_amdbinfmt_misc            24576  1sch_fq_codel           20480  5parport_pc             40960  0ppdev                  24576  0lp                     20480  0parport                53248  3 parport_pc,lp,ppdevip_tables              32768  3 iptable_filter,iptable_nat,iptable_manglex_tables               40960  11 ip6table_filter,xt_conntrack,iptable_filter,xt_tcpudp,xt_CHECKSUM,ip6_tables,ipt_REJECT,ip_tables,ip6table_mangle,xt_MASQUERADE,iptable_mangleautofs4                45056  2hid_logitech_hidpp     40960  0hid_logitech_dj        24576  0hid_generic            16384  0usbhid                 57344  1 hid_logitech_djhid                   131072  4 usbhid,hid_generic,hid_logitech_dj,hid_logitech_hidppradeon               1474560  24i2c_algo_bit           16384  1 radeonttm                   106496  1 radeonpata_acpi              16384  0psmouse               155648  0drm_kms_helper        184320  1 radeonpata_atiixp            16384  0syscopyarea            16384  1 drm_kms_helperi2c_piix4              28672  0sysfillrect            16384  1 drm_kms_helpersysimgblt              16384  1 drm_kms_helperbroadcom               24576  1fb_sys_fops            16384  1 drm_kms_helperbcm_phy_lib            16384  1 broadcomdrm                   491520  13 drm_kms_helper,radeon,ttmtg3                   172032  0ahci                   40960  1libahci                32768  1 ahcivideo                  49152  1 acer_wmiwmi                    32768  2 acer_wmi,wmi_bmof#iw wlp8s0 scanBSS 70:72:3c:12:de:58(on wlp8s0) # This is not my wifi    TSF: 0 usec (0d, 00:00:00)    freq: 2412    beacon interval: 100 TUs    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)    signal: -83.00 dBm    last seen: 11032 ms ago    SSID: I***    Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0     DS Parameter set: channel 1    Extended supported rates: 6.0 12.0 24.0 48.0     Country: BY Environment: Indoor/Outdoor        Channels [1 - 13] @ 20 dBm    TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x22    RSN:     * Version: 1         * Group cipher: TKIP         * Pairwise ciphers: TKIP CCMP         * Authentication suites: PSK         * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)    WPS:     * Version: 1.0         * Wi-Fi Protected Setup State: 2 (Configured)         * UUID: bc329e00-1dd8-11b2-8601-70723c12de58         * RF Bands: 0x1         * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20    ERP: <no flags>    HT capabilities:        Capabilities: 0x118e            HT20/HT40            SM Power Save disabled            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: No restriction (0x00)        HT RX MCS rate indexes supported: 0-15, 32        HT TX MCS rate indexes are undefined    HT operation:         * primary channel: 1         * secondary channel offset: above         * STA channel width: any         * RIFS: 0         * HT protection: 20 MHz         * non-GF present: 1         * OBSS non-GF present: 0         * dual beacon: 0         * dual CTS protection: 0         * STBC beacon: 0         * L-SIG TXOP Prot: 0         * PCO active: 0         * PCO phase: 0    Overlapping BSS scan params:         * passive dwell: 20 TUs         * active dwell: 10 TUs         * channel width trigger scan interval: 300 s         * scan passive total per channel: 200 TUs         * scan active total per channel: 20 TUs         * BSS width channel transition delay factor: 5         * OBSS Scan Activity Threshold: 0.25 %    Extended capabilities:         * HT Information Exchange Supported    WMM:     * Parameter version 1         * BE: CW 15-1023, AIFSN 3         * BK: CW 15-1023, AIFSN 7         * VI: CW 7-15, AIFSN 2, TXOP 3008 usec         * VO: CW 3-7, AIFSN 2, TXOP 1504 usec    BSS Load:         * station count: 2         * channel utilisation: 15/255         * available admission capacity: 31250 [*32us]#dmesg | grep wl [   10.347080] wl: loading out-of-tree module taints kernel.[   10.347088] wl: module license 'MIXED/Proprietary' taints kernel.[   10.647638] wl: module verification failed: signature and/or required key missing - tainting kernel[   10.834329] wlan0: Broadcom BCM4357 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)[   21.203824] wl 0000:08:00.0 wlp8s0: renamed from wlan0[ 2521.001083] ERROR @wl_dev_intvar_get : [ 2521.001090] ERROR @wl_cfg80211_get_tx_power : #dmesg | grep 80211[    9.948749] cfg80211: Loading compiled-in X.509 certificates for regulatory database[    9.996862] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'[ 2521.001090] ERROR @wl_cfg80211_get_tx_power : 

How to add panel devices or USB icon at taskbar on Debian? [closed]

$
0
0

Unexpectedly removed USB icon from task bar. Now if I insert any USB or Ethernet cable don't option to mount. Can anyone know solution please help me.

Network randomly reconnecting in file explorer with strange sound?

$
0
0

I am using the current version of Ubuntu 16.04 (have to use it for reasons). After changing mainboard, CPU and RAM I have the following problem (everything else works fine):Every now and then there is a strange sound from the speakers by chance. At the same moment the entries "Network" and all SMB-shares disappear from the file explorer for an extremely short time.Does anyone have an idea what it could be and what I could investigate further? Thanks!

Ubuntu 20.04 Network Performance Extremely Slow

$
0
0

I just upgraded from Ubuntu 18.04 to 20.04 on one of the Dell XPS 13 machines, and the network performance is abhorrent. Internet speed is very fast from a google speed test (>300Mb/s for both upload and download).

However, whenever I try to browse a website or even run sudo apt update the connection will often time out. My internet is very fast on all other devices and I really don't know how to debug this problem.

sudo lshw -class network -short && nmcli device status 

shows

H/W path           Device           Class          Description==============================================================/0/100/1c.6/0      wlp2s0           network        Wi-Fi 6 AX200/3                 br-96f5b790e29e  network        Ethernet interface/4                 br-15e76fb81c05  network        Ethernet interface/5                 docker0          network        Ethernet interfaceDEVICE           TYPE      STATE         CONNECTION      wlp2s0           wifi      connected     CSA HQ          br-15e76fb81c05  bridge    connected     br-15e76fb81c05 br-96f5b790e29e  bridge    connected     br-96f5b790e29e docker0          bridge    connected     docker0         p2p-dev-wlp2s0   wifi-p2p  disconnected  --              lo               loopback  unmanaged     --              gpd0             tun       unmanaged     --             

Solution:

It seems like this is a pretty common problem, and one without a definitive cause. For me, it was because Ubuntu resets the TLP configuration, and the power management went back to "on". I disabled Wi-Fi power management directly by editing:

sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Then changed the value from 3 to 2, saved changes and rebooted.

I actually got this solution from Reddit and this worked for my case specifically but it seems like it could be caused by a bunch of other things. Read all the proposed solutions below!

ufw firewall - root user can curl url but cant do apt-get update

$
0
0

I am using ufw to block all outgoing traffic by default. I am then opening up 53 to aws resolver to do dns lookups. and then in /etc/ufw/before.rules I am using:

-A ufw-before-output -p tcp -m multiport --dports 80,443 -m owner --uid-owner root -j ACCEPT

This should allow root to connect out on 80 and 443 and it does via curl but for some reason apt-get update doesn't work?

I have not seen this before. Any ideas?

TIA

Problem with DNS with OpenVPN on Ubuntu 20.04

$
0
0

I have installed the OpenVPN server and the Bind9 DNS server on the company server. The part of the server config is below. The important part is a pushing route and DHCP DNS option.

local 10.0.9.2port 1194proto udpdev tuntopology subnetserver 10.0.12.0 255.255.255.0ifconfig-pool-persist ipp.txtpush "route 10.0.9.0 255.255.255.0"push "dhcp-option DNS 10.0.9.2"

When connecting on Windows or Elementary OS, everything works great. Only traffic to the server is going through the VPN, the rest does not. If the client is forcing to pass all traffic through the VPN, the internet access works too. In both cases, when trying to access git.internal.mycompany.org it gets DNS records from my Bind9 DNS server and connects correctly.

But this does not work in Ubuntu. When passing whole traffic through VPN, a record from DNS is taken. But when only server traffic goes through VPN, then DNS is not reached and I cannot access the git server via URL. When reaching via IP, it works.

I tried also to add to the client config this.

script-security 2up /etc/openvpn/update-systemd-resolveddown /etc/openvpn/update-systemd-resolved

But this does not help. Maybe because when I try to run the script directly, I got an error /etc/openvpn/update-systemd-resolved: řádek 404: dev: unbound variable.

I don't know how to fix this. I tried to search here on AskUbuntu and others, but most suggest adding up and down to the config. Which does not work for me. It is a problem because most of my colleagues are using Ubuntu. Only few computers are using Windows or other Linux distro.


Update with applied changes

When applied changes from @heynnema, here is what is printed in console https://pastebin.com/DkjHguqE when connecting via terminal. After that, ping git.internal.mycompany.org doesn't work.

Another found facts:

  • When I added redirect-gateway def1 bypass-dhcp into config, then my public IP is IP of the server, but still cannot ping URL above.
  • When imported config into the UI of Ubuntu as mentioned https://askubuntu.com/a/1188022/972420, ping works until I uncheck Use this connection only for traffic within this network.

How to stop snapd from auto-updating?

$
0
0

I've just installed Ubuntu 18.04. After a few minutes I noticed my bandwidth is remarkably low. I installed nethogs and realized /usr/lib/snapd/snapd is consuming my internet.

Questions:

  1. How can I disable it? It really stops me from using the internet.
  2. Can I disable snap package system when installing Ubuntu?

Thanks a lot,


No Wifi Adapter Found - MSI Modern 14 A10M

$
0
0

I've looking an answer to this problem for days now and I can't seem to find it. I installed Ubuntu 18.04 LTS on my MSI Modern 14 A10M and it won't recognize my iwlwifi wifi adapter. The main problem I have is that some of the solutions I've found I can't try because this laptop has no ethernet ports, so I can't try installing packages that would fix it. I've tried installing Ubuntu 19.10 - where the WiFi adapter works just fine - but the main problem is that it has lot of trouble with temp sensors (overheating) and battery life won't go beyond an hour or two. Can anyone help me get a solution where I don't need to sudo install packages because there's no internet at all on this device

I have a bootable USB, during installation the adaptar wasn't recognized either so I don't know if there's anything that I can do with it to troubleshoot it.

Thanks in advance

EDIT: This problem doesn't happen when updating to 20.04

Network sporadicatlly freezes while performing a wifi-scan Ubuntu 20.04

$
0
0

After upgrading from Ubuntu 18.04 to 20.04 (network-manager version 1.22.10-1ubuntu2.1), I am getting sporadic WiFi network connectivity. I'm using the r88x2bu network driver from the rtl88x2bu-dkms package. I can be browsing and suddenly the connection drops for a minute or two, and then it eventually reconnects. The problem is so persistent that it makes simple tasks such as browsing almost impossible. I tried exploring different paths to debug this problem.

I don't think this problem is related to a DDos, since all of my other devices in the network are receiving about the same amount of incoming traffic.

Exploring the NetworkManager and wpa-supplicant debug logs, I see that when the issue arises, the logs look as follows. The network-manager starts a wifi-scan and network requests are blocked until the wifi-scan is successfully done.

Jun 03 16:45:35 pipemon-desktop NetworkManager[1140]: <debug> [1591217135.3233] device[2daeef8128d7ad35] (wlx74ee2af4348b): wifi-scan: scanning requested but not allowed at this timeJun 03 16:45:35 pipemon-desktop NetworkManager[1140]: <debug> [1591217135.3233] device[2daeef8128d7ad35] (wlx74ee2af4348b): wifi-scan: scheduled in 120 seconds (interval now 120 seconds)Jun 03 16:45:41 pipemon-desktop kernel: [UFW BLOCK] IN=wlx74ee2af4348b OUT= MAC=74:ee:2a:f4:34:8b:40:ce:24:74:a9:b2:08:00 SRC=18.20.245.218 DST=18.20.198.88 LEN=40 TOS=0x00 PREC=0x00 TTL=63 ID=0 DF PROTO=TCP SPT=631 DPT=34756 WINDOW=0 RES=0x00 RST URGP=0Jun 03 16:45:59 pipemon-desktop kernel: [UFW BLOCK] IN=wlx74ee2af4348b OUT= MAC=74:ee:2a:f4:34:8b:40:ce:24:74:a9:b2:08:00 SRC=5.188.210.109 DST=18.20.198.88 LEN=40 TOS=0x00 PREC=0x00 TTL=241 ID=58332 PROTO=TCP SPT=56836 DPT=8080 WINDOW=1024 RES=0x00 SYN URGP=0Jun 03 16:46:07 pipemon-desktop kernel: [UFW BLOCK] IN=wlx74ee2af4348b OUT= MAC=74:ee:2a:f4:34:8b:40:ce:24:74:a9:b2:08:00 SRC=52.114.128.10 DST=18.20.198.88 LEN=40 TOS=0x00 PREC=0x00 TTL=112 ID=18141 DF PROTO=TCP SPT=443 DPT=47960 WINDOW=0 RES=0x00 ACK RST URGP=0Jun 03 16:46:12 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: BSS: Remove id 89198 BSSID c4:6e:1f:2c:89:42 SSID 'PRG-IRCP2.4' due to wpa_bss_flush_by_ageJun 03 16:46:12 pipemon-desktop wpa_supplicant[1173]: dbus: Unregister BSS object '/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89198'Jun 03 16:46:12 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: BSS: Remove id 89199 BSSID 58:f3:9c:f0:e7:eb SSID 'eduroam' due to wpa_bss_flush_by_ageJun 03 16:46:12 pipemon-desktop wpa_supplicant[1173]: dbus: Unregister BSS object '/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89199'Jun 03 16:46:12 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: BSS: Remove id 89200 BSSID 58:f3:9c:af:d2:12 SSID 'MIT SECURE' due to wpa_bss_flush_by_ageJun 03 16:46:12 pipemon-desktop wpa_supplicant[1173]: dbus: Unregister BSS object '/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89200'Jun 03 16:46:12 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: BSS: Remove id 89201 BSSID 58:f3:9c:af:d2:13 SSID '\x00' due to wpa_bss_flush_by_ageJun 03 16:46:12 pipemon-desktop wpa_supplicant[1173]: dbus: Unregister BSS object '/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89201'Jun 03 16:46:12 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: BSS: Remove id 89202 BSSID 58:f3:9c:f0:e7:e2 SSID 'MIT SECURE' due to wpa_bss_flush_by_age...Jun 03 16:46:12 pipemon-desktop wpa_supplicant[1173]: dbus: Unregister BSS object '/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89258'Jun 03 16:46:12 pipemon-desktop wpa_supplicant[1173]: dbus: flush_object_timeout_handler: Timeout - sending changed properties of object /fi/w1/wpa_supplicant1/Interfaces/0Jun 03 16:46:24 pipemon-desktop kernel: [UFW BLOCK] IN=wlx74ee2af4348b OUT= MAC=01:00:5e:00:00:01:b4:de:31:be:26:b7:08:00 SRC=18.4.115.12 DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0xC0 TTL=1 ID=27935 PROTO=2Jun 03 16:46:26 pipemon-desktop kernel: [UFW BLOCK] IN=wlx74ee2af4348b OUT= MAC=01:00:5e:7f:ff:fa:7c:b2:7d:6f:b3:23:08:00 SRC=18.20.212.77 DST=239.255.255.250 LEN=71 TOS=0x00 PREC=0x00 TTL=1 ID=41164 PROTO=UDP SPT=5050 DPT=5050 LEN=51Jun 03 16:46:37 pipemon-desktop kernel: [UFW BLOCK] IN=wlx74ee2af4348b OUT= MAC=01:00:5e:7f:ff:fa:50:1a:c5:f0:31:b3:08:00 SRC=18.20.210.73 DST=239.255.255.250 LEN=680 TOS=0x00 PREC=0x00 TTL=1 ID=20222 PROTO=UDP SPT=62748 DPT=3702 LEN=660 Jun 03 16:46:42 pipemon-desktop colord[1291]: failed to get session [pid 262019]: No data availableJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: bgscan simple: Request a background scanJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: Add radio work 'scan'@0x564aa014b180Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: First radio work item in the queue - schedule start immediatelyJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: Starting radio work 'scan'@0x564aa014b180 after 0.000006 second waitJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: nl80211: scan requestJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: nl80211: Scan SSID MIT SECUREJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: Scan requested (ret=0) - scan timeout 30 secondsJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: nl80211: Event message availableJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlx74ee2af4348bJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: nl80211: Scan triggerJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: Event SCAN_STARTED (47) receivedJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: Own scan request started a scan in 0.000015 secondsJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: nl80211: Event message availableJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlx74ee2af4348bJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: nl80211: New scan results availableJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: nl80211: Scan probed for SSID 'MIT SECURE'Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5745 5765 5785 5805 5825Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: Event SCAN_RESULTS (3) receivedJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: Scan completed in 0.000029 secondsJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: nl80211: Received scan results (62 BSSes)Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: nl80211: Scan results indicate BSS status with 58:f3:9c:f0:e7:ed as associatedJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: BSS: Start scan result update 8833Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: BSS: Add new id 89259 BSSID c4:6e:1f:2c:89:42 SSID 'PRG-IRCP2.4' freq 2462Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: Register BSS object '/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89259'Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: WPS: Unknown Vendor Extension (Vendor ID 9442)Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: WPS: Unknown Vendor Extension (Vendor ID 9442)Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: BSS: Add new id 89260 BSSID 58:f3:9c:f0:e7:eb SSID 'eduroam' freq 5805Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: Register BSS object '/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89260'Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: BSS: Add new id 89261 BSSID 58:f3:9c:af:d2:12 SSID 'MIT SECURE' freq 2412Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: Register BSS object '/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89261'...Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: BSS: last_scan_res_used=62/64Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: New scan results available (own=1 ext=0)Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: bgscan simple: scan result notificationJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: WPS: Unknown Vendor Extension (Vendor ID 9442)Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: WPS: Unknown Vendor Extension (Vendor ID 9442)Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: WPS: Unknown Vendor Extension (Vendor ID 9442)Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: WPS: AP[0] c4:6e:1f:2c:89:42 type=0 tries=0 last_attempt=-1 sec ago blacklist=0Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: WPS: AP[1] 04:4e:5a:fc:2f:9a type=0 tries=0 last_attempt=-1 sec ago blacklist=0Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: WPS: AP[2] 78:d2:94:9a:0a:f7 type=0 tries=0 last_attempt=-1 sec ago blacklist=0Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: Radio work 'scan'@0x564aa014b180 done in 0.002779 secondsJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: radio_work_free('scan'@0x564aa014b180): num_active_works --> 0Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: Scan results matching the currently selected networkJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 1: 58:f3:9c:f0:e7:ed freq=5805 level=-58 snr=34 est_throughput=65001Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 3: 58:f3:9c:af:d2:12 freq=2412 level=-53 snr=36 est_throughput=65000Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 5: 58:f3:9c:f0:e7:e2 freq=2412 level=-57 snr=32 est_throughput=65000Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 9: 58:f3:9c:af:d2:1d freq=5220 level=-72 snr=20 est_throughput=54000Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 11: 58:f3:9c:a0:9d:72 freq=2412 level=-70 snr=19 est_throughput=54000Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 12: 10:05:ca:73:7c:42 freq=2412 level=-70 snr=19 est_throughput=54000Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 20: b0:26:80:8b:12:0d freq=5745 level=-83 snr=9 est_throughput=40501Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 23: 58:f3:9c:e5:c4:3d freq=5320 level=-80 snr=12 est_throughput=36000Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: Selecting BSS from priority group 0Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 0: c4:6e:1f:2c:89:42 ssid='PRG-IRCP2.4' wpa_ie_len=0 rsn_ie_len=20 caps=0x431 level=-57 freq=2462  wpsJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b:    skip - SSID mismatchJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 1: 58:f3:9c:f0:e7:ed ssid='MIT SECURE' wpa_ie_len=0 rsn_ie_len=20 caps=0x1111 level=-58 freq=5805Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b:    selected based on RSN IEJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b:    selected BSS 58:f3:9c:f0:e7:ed ssid='MIT SECURE'Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: RTM_NEWLINK: ifi_index=5 ifname=wlx74ee2af4348b wext ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: flush_object_timeout_handler: Timeout - sending changed properties of object /fi/w1/wpa_supplicant1/Interfaces/0Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: flush_object_timeout_handler: Timeout - sending changed properties of object /fi/w1/wpa_supplicant1/Interfaces/0/BSSs/125Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89259) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: WPS: Unknown Vendor Extension (Vendor ID 9442)Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: WPS: Unknown Vendor Extension (Vendor ID 9442)Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89260) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89261) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89262) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89263) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89264) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89265) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89266) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89267) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89268) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89269) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89270) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89271) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89272) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89273) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89274) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89275) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89276) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89277) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89278) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89279) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89280) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89281) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89282) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89283) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89284) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89285) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89286) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89287) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89288) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89289) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89290) [s]Jun 03 16:46:56 pipemon-desktop NetworkManager[1140]: <debug> [1591217216.1498] device[2daeef8128d7ad35] (wlx74ee2af4348b): failed to match hidden AP 58:F3:9C:AF:D2:13Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89291) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89292) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89293) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89294) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89295) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89296) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89297) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89298) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89299) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89300) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89301) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89302) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89303) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89304) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89305) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89306) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89307) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89308) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89309) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89310) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89311) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89312) [s]Jun 03 16:46:56 pipemon-desktop NetworkManager[1140]: <debug> [1591217216.1536] device[2daeef8128d7ad35] (wlx74ee2af4348b): failed to match hidden AP 58:F3:9C:A0:9D:73Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89313) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89314) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89315) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89316) [s]Jun 03 16:46:56 pipemon-desktop NetworkManager[1140]: <debug> [1591217216.1543] device[2daeef8128d7ad35] (wlx74ee2af4348b): failed to match hidden AP 58:F3:9C:E5:C4:33Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89317) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89318) [s]Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: dbus: org.freedesktop.DBus.Properties.GetAll (/fi/w1/wpa_supplicant1/Interfaces/0/BSSs/89319) [s]Jun 03 16:46:56 pipemon-desktop NetworkManager[1140]: <debug> [1591217216.1592] device[2daeef8128d7ad35] (wlx74ee2af4348b): failed to match hidden AP 62:45:B1:BA:00:4AJun 03 16:46:56 pipemon-desktop NetworkManager[1140]: <debug> [1591217216.1712] device[2daeef8128d7ad35] (wlx74ee2af4348b): wifi-scan: scan-done callback: successfulJun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 24: 58:f3:9c:d0:19:7d freq=5560 level=-80 snr=12 est_throughput=36000Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 27: 58:f3:9c:a0:9d:7d freq=5180 level=-82 snr=10 est_throughput=24000Jun 03 16:46:56 pipemon-desktop wpa_supplicant[1173]: wlx74ee2af4348b: 28: b0:26:80:8b:12:02 freq=2412 level=-79 snr=10 est_throughput=24000

My best guess is that this problem is a bug in the new NetworkManager, probably a blocking thread while network-manager performs a routine wifi-scan. I'm happy to provide any additional information that will help resolve this issue.

Ubuntu 18.04 does not see Windows Network

$
0
0

I have a small home network, running as a WORKGROUP with the same name. When I go to browse the network from my Ubuntu 18.04 machine from the "Files" app it sees the "Windows Network" but when I click on that, it returns "Folder is Empty". I have an old HP server running Ubuntu 15.04 (I know I should upgrade) server with several shares, and it sees none of them, I have a couple of Linux (one Ubuntu, one Mint) laptops running in the house, and nothing.

I have installed Samba, and edited it to include the "client max protocol = NT1" line as suggested in "https://ubuntuforums.org/showthread.php?t=2390873" with no success.

I would desperately like to be able to access these shares as they have content I am working on at the moment, but this forces me to you my Win10 machine.

System SpecsDual Core 3.0GHz Intel G3220 CPU8 GB DDR3 RAMusing on board Video and network.Any suggestions would help.Rod

Ubuntu avahi-daemon cannot find "raspberrypi.local"

$
0
0

I am using a ubuntu 16.04 LTS laptop. I have a raspberry pi zero I flashed raspbian onto. I enabled ssh on the raspberry pi, and set it up as an ethernet gadget so I can ssh into it from a micro-usb connection. I can ssh into the pi from my friends macbook, so the raspberry software is configured correctly.

The avahi daemon is up and running:

$ sudo service avahi-daemon status● avahi-daemon.service - Avahi mDNS/DNS-SD Stack   Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)   Active: active (running) since Thu 2018-01-04 14:22:11 EST; 42min ago Main PID: 4114 (avahi-daemon)   Status: "avahi-daemon 0.6.32-rc starting up."   CGroup: /system.slice/avahi-daemon.service├─4114 avahi-daemon: running [vivobook.local└─4122 avahi-daemon: chroot helpeJan 04 14:44:16 vivobook avahi-daemon[4114]: Interface wlp2s0.IPv6 no longer relevant for mDNS.Jan 04 14:44:16 vivobook avahi-daemon[4114]: Withdrawing address record for 172.18.94.241 on wlp2s0.Jan 04 14:44:16 vivobook avahi-daemon[4114]: Leaving mDNS multicast group on interface wlp2s0.IPv4 with address 172.18.94.241.Jan 04 14:44:16 vivobook avahi-daemon[4114]: Interface wlp2s0.IPv4 no longer relevant for mDNS.Jan 04 14:55:22 vivobook avahi-daemon[4114]: Joining mDNS multicast group on interface wlp2s0.IPv4 with address 172.18.94.241.Jan 04 14:55:22 vivobook avahi-daemon[4114]: New relevant interface wlp2s0.IPv4 for mDNS.Jan 04 14:55:22 vivobook avahi-daemon[4114]: Registering new address record for 172.18.94.241 on wlp2s0.IPv4.Jan 04 14:55:24 vivobook avahi-daemon[4114]: Joining mDNS multicast group on interface wlp2s0.IPv6 with address fe80::fc9:a526:6f49:7e33.Jan 04 14:55:24 vivobook avahi-daemon[4114]: New relevant interface wlp2s0.IPv6 for mDNS.Jan 04 14:55:24 vivobook avahi-daemon[4114]: Registering new address record for fe80::fc9:a526:6f49:7e33 on wlp2s0.*.

But I can not ping raspberrypi.local or raspberry.local.

I don't know what that 172.18.94.241 address is, but I can ping it but not ssh it, so I don't think it's the pi.

ifconfig does not show a raspberry pi connection:

sudo ifconfigdocker0   Link encap:Ethernet  HWaddr 02:42:ae:ef:4b:aa            inet addr:172.17.0.1  Bcast:0.0.0.0  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)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:18973 errors:0 dropped:0 overruns:0 frame:0          TX packets:18973 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:1000           RX bytes:14786295 (14.7 MB)  TX bytes:14786295 (14.7 MB)wlp2s0    Link encap:Ethernet  HWaddr 7c:5c:f8:b3:46:5b            inet addr:172.18.94.241  Bcast:172.18.95.255  Mask:255.255.248.0          inet6 addr: fe80::fc9:a526:6f49:7e33/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:236543 errors:0 dropped:0 overruns:0 frame:0          TX packets:26241 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:1000           RX bytes:277975117 (277.9 MB)  TX bytes:4022218 (4.0 MB)

I have tried uninstalling and reinstalling the avahi daemon, but it did not work. What am I doing wrong?

Ubuntu 18.04 WiFi Networks are not displaying even though there are 3 nearby

$
0
0

I recently installed Ubuntu 18.04 on my 2009 mac mini. I used a bootable flash drive and all is well. Initially, WiFi adapter where not found, but after going into the Software & Updates > Additional Drivers and installing and using the Broadcom 802.11 Linux STA wireless driver source from bcwl-kernel-source.

image of additional driver

However there are no visible WiFi networks even though there are at least three around me as my phone and laptop are connected to them.

Image of no visible WiFi networks

I have tried to reinstall the kernel, reinstall the network-manager, and dist-upgrade. Thank you for your help.

Edit

After running lspci -nnk | grep 0280 -A3 I get this for an output:

03:00.0 Network controller [0280]: Broadcom Limited BCM4321 802.11a/b/g/n [14e4:4328] (rev 05)Subsystem: Apple Inc. AirPort Extreme [106b:0090]Kernel driver in use: wlKernel modules: ssb, wl

And after running sudo iwlist chan I get:

    enp0s10   no frequency information.lo        no frequency information.enp0s4f1u7c4i2  no frequency information.wlp3s0    32 channels in total; available frequencies :          Channel 01 : 2.412 GHz          Channel 02 : 2.417 GHz          Channel 03 : 2.422 GHz          Channel 04 : 2.427 GHz          Channel 05 : 2.432 GHz          Channel 06 : 2.437 GHz          Channel 07 : 2.442 GHz          Channel 08 : 2.447 GHz          Channel 09 : 2.452 GHz          Channel 10 : 2.457 GHz          Channel 11 : 2.462 GHz          Channel 12 : 2.467 GHz          Channel 13 : 2.472 GHz          Channel 14 : 2.484 GHz          Channel 32 : 5.16 GHz          Channel 34 : 5.17 GHz          Channel 36 : 5.18 GHz          Channel 38 : 5.19 GHz          Channel 40 : 5.2 GHz          Channel 42 : 5.21 GHz          Channel 44 : 5.22 GHz          Channel 46 : 5.23 GHz          Channel 48 : 5.24 GHz          Channel 50 : 5.25 GHz          Channel 52 : 5.26 GHz          Channel 54 : 5.27 GHz          Channel 56 : 5.28 GHz          Channel 58 : 5.29 GHz          Channel 60 : 5.3 GHz          Channel 62 : 5.31 GHz          Channel 64 : 5.32 GHz          Channel 66 : 5.33 GHz

After running sudo iw reg get I get:

    globalcountry 00: DFS-UNSET    (2402 - 2472 @ 40), (N/A, 20), (N/A)    (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN    (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN    (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN    (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN    (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN    (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN    (57240 - 63720 @ 2160), (N/A, 0), (N/A)

Using the nmcli dev wifi list command I get:

(process:2078): libnm-WARNING **: 20:27:42.549: no object known for /org/freedesktop/NetworkManager/ActiveConnection/1IN-USE  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY 

Renew DHCP lease in systemd-networkd

$
0
0

I have my eth0 interface configured for DHCPv4 via netplan:

network:    version: 2    renderer: networkd    ethernets:        eth0:            dhcp4: true            dhcp6: true            optional: true

How do I tell systemd-networkd to renew my DHCP lease? I know with dhclient it's as simple as dhclient -r eth0 && dhclient eth0, as explained in many other answers on this site, but how do I do it for systemd-networkd?

I'm in Ubuntu 18.04 Server.

how to setup a Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

$
0
0

Bluetooth setup docs seem a bit dated; my device, but with a different chipset, is on the hardware support docs, however.

thufir@mordor:~$ thufir@mordor:~$ hciconfig hci0:   Type: BR/EDR  Bus: USB    BD Address: 00:11:22:98:76:54  ACL MTU: 1021:4  SCO MTU: 180:1    UP RUNNING PSCAN ISCAN     RX bytes:1118 acl:0 sco:0 events:39 errors:0    TX bytes:413 acl:0 sco:0 commands:37 errors:0thufir@mordor:~$ thufir@mordor:~$ hciconfig -a hci0hci0:   Type: BR/EDR  Bus: USB    BD Address: 00:11:22:98:76:54  ACL MTU: 1021:4  SCO MTU: 180:1    UP RUNNING PSCAN ISCAN     RX bytes:1118 acl:0 sco:0 events:39 errors:0    TX bytes:413 acl:0 sco:0 commands:37 errors:0    Features: 0xff 0x3e 0x09 0x76 0x80 0x01 0x00 0x80    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3     Link policy: RSWITCH HOLD SNIFF     Link mode: SLAVE ACCEPT     Name: 'mordor'    Class: 0x0c0104    Service Classes: Rendering, Capturing    Device Class: Computer, Desktop workstation    HCI Version: 2.0 (0x3)  Revision: 0x50    LMP Version: 2.0 (0x3)  Subversion: 0x3    Manufacturer: Mitel Semiconductor (16)thufir@mordor:~$ thufir@mordor:~$ lsusbBus 002 Device 003: ID 0a48:3302 I/O Interconnect Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 007 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 006 Device 002: ID 147a:e034 Formosa Industrial Computing, Inc. Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 004 Device 003: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0Bus 004 Device 002: ID 045e:00b4 Microsoft Corp. Digital Media Keyboard 1.0ABus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubthufir@mordor:~$ 

also:

thufir@mordor:~$ thufir@mordor:~$ dmesg | grep Bluetooth [ 8112.206222] Bluetooth: Core ver 2.20[ 8112.206258] Bluetooth: HCI device and connection manager initialized[ 8112.206264] Bluetooth: HCI socket layer initialized[ 8112.206267] Bluetooth: L2CAP socket layer initialized[ 8112.206276] Bluetooth: SCO socket layer initialized[ 8114.340022] Bluetooth: hci0 command 0x0c12 tx timeout[ 8132.558756] Bluetooth: BNEP (Ethernet Emulation) ver 1.3[ 8132.558761] Bluetooth: BNEP filters: protocol multicast[ 8132.558769] Bluetooth: BNEP socket layer initialized[ 8146.465549] Bluetooth: RFCOMM TTY layer initialized[ 8146.465560] Bluetooth: RFCOMM socket layer initialized[ 8146.465570] Bluetooth: RFCOMM ver 1.11thufir@mordor:~$ 

Running 15.10 wily.

How do I enable ______ so that I can access BT through the settings interface? The bluez package is installed.

I've tried a few bluetooth devices, it can't connect with any of them:

enter image description here

killing and restarting the applet:

thufir@mordor:~$ thufir@mordor:~$ killall blueman-appletthufir@mordor:~$ thufir@mordor:~$ blueman-appletblueman-applet version 2.0 startingStale PID, overwriting_________Load (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:60)['StatusIcon', 'ExitItem', 'SerialManager', 'AppIndicator', 'Headset', 'PowerManager', 'NetUsage', 'NMPANSupport', 'GameControllerWakelock', 'RecentConns', 'StandardItems', 'TransferService', 'DBusService', 'Menu', 'ShowConnected', 'Networking', 'PPPSupport', 'AuthAgent', 'DhcpClient', 'DiscvManager', 'NMDUNSupport', 'KillSwitch'] _________get_interface_version (/usr/lib/python2.7/dist-packages/blueman/bluez/BlueZInterface.py:13)Detected BlueZ 5 ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.Headset.Headset'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.Networking.Networking'> _________load_nap_settings (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/Networking.py:36)Loading NAP settings ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.StatusIcon.StatusIcon'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.DBusService.DBusService'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.NMDUNSupport.NMDUNSupport'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.Menu.Menu'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.ShowConnected.ShowConnected'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)Not loading PPPSupport because it's conflict has higher priority ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.PowerManager.PowerManager'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.KillSwitch.KillSwitch'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.AuthAgent.AuthAgent'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.ExitItem.ExitItem'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.DhcpClient.DhcpClient'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.SerialManager.SerialManager'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.AppIndicator.AppIndicator'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)Not loading NMPANSupport because it's conflict has higher priority ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.GameControllerWakelock.GameControllerWakelock'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.TransferService.TransferService'> _________get_interface_version (/usr/lib/python2.7/dist-packages/blueman/bluez/obex/Base.py:20)Detected BlueZ integrated obexd ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.DiscvManager.DiscvManager'> _________update_menuitems (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:123)warning: Adapter is None ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.RecentConns.RecentConns'> ___________load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:133)loading <class 'blueman.plugins.applet.StandardItems.StandardItems'> _________io_event (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:72)killswitch registered 0 _________io_event (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:72)State: True _________UpdatePowerState (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:159)off False foff False on True current state True new state True __________on_obex_owner_changed (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/TransferService.py:170)obex owner changed: :1.59 _________on_dbus_name_owner_change (/usr/bin/blueman-applet:94)org.bluez owner changed to :1.8 _________set_nap (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/Networking.py:65)set nap False _________update_menuitems (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:123)warning: Adapter is None _________initialize (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/RecentConns.py:144)rebuilding menu _________enumerate_connections (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/ShowConnected.py:50)Found 0 existing connections _________on_registered (/usr/lib/python2.7/dist-packages/blueman/bluez/obex/AgentManager.py:18)/org/blueman/obex_agent _________RequestPowerState (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:131)Requesting True _________on_power_state_change_requested (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:119)True _________UpdatePowerState (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:159)off True foff False on True current state True new state False _________UpdatePowerState (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:159)Signalling False _________check (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:119)callbacks done _________set_adapter_state (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:90)True 

OpenVPN does not connect via network manager plugin

$
0
0

I am trying to connect to my OpenVPN server via the network manager plugin (network-manager-openvpn), after importing the ovpn config file. However, I receive a time-out error:

$ grep VPN /var/log/syslogOct  1 11:56:05 packer NetworkManager[997]: <info> Starting VPN service 'openvpn'...Oct  1 11:56:05 packer NetworkManager[997]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 4700Oct  1 11:56:05 packer NetworkManager[997]: <info> VPN service 'openvpn' appeared; activating connectionsOct  1 11:56:05 packer NetworkManager[997]: <info> VPN plugin state changed: starting (3)Oct  1 11:56:05 packer NetworkManager[997]: <info> VPN connection 'vpnt' (Connect) reply received.Oct  1 11:56:05 packer nm-openvpn[4703]: OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec  1 2014Oct  1 11:56:46 packer NetworkManager[997]: <warn> VPN connection 'vpnt' (IP Config Get) timeout exceeded.Oct  1 11:56:51 packer NetworkManager[997]: <info> VPN service 'openvpn' disappeared

connecting via the console

sudo openvpn --config .openvpn/vpnt.ovpn

works perfectly well.

I have no idea what I am missing -- and grateful for any ideas. :)

Low Bluetooth signal with one antenna, low wifi with the other

$
0
0

I (like many others) am having problems setting up a bluetooth headset. Connecting it is unreliable and even when connecting, audio is choppy, laggy and it cuts out entirely if I merely put my hand over the headset bluetooth emitter. Blueman reports "poor" signal strength (less than 30%) even when centimetres away from my laptop. This reminded me another issue I had with connectivity: my wifi module (rtl8723be) was getting low signal and had to change the antenna number with ant_sel=2.

So the kicker is that if I select the antenna #1 with

sudo modprobe -r rtl8723besudo modprobe -v rtl8723be ant_sel=2

then bluetooth works (almost) flawlessly with strong signal, no lag and quality audio. But, of course, that leads me to have essentially no wifi, which is not acceptable. Now that I identify the issue, the obvious solution would be to somehow use both antennas, or antenna 1 for bluetooth and antenna 2 for wifi. Is there any way to do so?

I'm using elementary OS 5.1.5 (Built on Ubuntu 18.04.4)

Details: https://pastebin.com/S8f392BF

How do I access microk8s externally exposed service ip over network?

$
0
0

I am running a microk8s instance on Ubuntu server as a vanilla install, configured with MetalLB to dynamically allocate 10.0.2.1 to 10.0.2.200 and the Nginx ingress controller enabled. I've installed the wordpress helm chart on this instance (https://github.com/bitnami/charts/tree/master/bitnami/wordpress/#installing-the-chart) with the following command:

helm install wordpress \  --set wordpressUsername=admin \  --set wordpressPassword=password \  --set mariadb.mariadbRootPassword=secretpassword \  --set ingress.enabled=true \  --set ingress.hostname=wordpress.internal \    bitnami/wordpress

Service is up and running successfully, and when I run

kubectl describe services wordpress

I get the following:

Name:                     wordpressNamespace:                defaultLabels:                   app.kubernetes.io/instance=wordpress                          app.kubernetes.io/managed-by=Helm                          app.kubernetes.io/name=wordpress                          helm.sh/chart=wordpress-9.3.10Annotations:              meta.helm.sh/release-name: wordpress                          meta.helm.sh/release-namespace: defaultSelector:                 app.kubernetes.io/instance=wordpress,app.kubernetes.io/name=wordpressType:                     LoadBalancerIP:                       10.152.183.73LoadBalancer Ingress:     10.0.2.1Port:                     http  80/TCPTargetPort:               http/TCPNodePort:                 http  31799/TCPEndpoints:                10.1.70.14:8080Port:                     https  443/TCPTargetPort:               https/TCPNodePort:                 https  30087/TCPEndpoints:                10.1.70.14:8443Session Affinity:         NoneExternal Traffic Policy:  ClusterEvents:  Type    Reason        Age                  From                Message  ----    ------        ----                 ----                -------  Normal  IPAllocated   32m                  metallb-controller  Assigned IP "10.0.2.1"  Normal  nodeAssigned  6m41s (x3 over 31m)  metallb-speaker     announcing from node "k8s"

When I am SSH'ed onto the node where microk8s is installed, the instance responds as I would expect:

curl 10.0.2.1<!DOCTYPE html><html class="no-js" lang="en-US"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="profile" href="https://gmpg.org/xfn/11"><title>User&#039;s Blog! &#8211; Just another WordPress site</title>

However, when I run the same command over my networked Macbook, I'm unable to get a response:

curl 10.0.2.1curl: (7) Failed to connect to 10.0.2.1 port 80: Operation timed out

How to tell Ubuntu that a USB device is a wireless adapter?

$
0
0

I have a USB wireless network adapter that I'm trying to use with Ubuntu. It is being detected by lsusb, but not by lshw -C network or ip a. Unless I missed something obvious, there doesn't seem to be any documentation for when the device is not recognized as an adapter at all.

Here is the entry for the adapter from lsusb, the only place I could find it listed:

Bus 001 Device 007: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter

If there is any important information that I did not share, let me know and I will edit it in.

NX3031 Multifunction 1/10-Gigabit Server Adapter not detected in ubuntu 16.04

$
0
0

I installed Ubuntu server on an HP ML380 G6. Unfortunately, the embedded NIC wasn't detected.

Here is the output from lshw -class network:

  *-network:0 UNCLAIMED      description: Ethernet controller   product: NX3031 Multifunction 1/10-Gigabit Server Adapter   vendor: NetXen Incorporated   physical id: 0   bus info: pci@0000:06:00.0   version: 42   width: 64 bits   clock: 33MHz   capabilities: msix pm msi pciexpress cap_list   configuration: latency=0   resources: memory:fae00000-faffffff memory:f8000000-f9ffffff  *-network:1 UNCLAIMED   description: Ethernet controller   product: NX3031 Multifunction 1/10-Gigabit Server Adapter   vendor: NetXen Incorporated   physical id: 0.1   bus info: pci@0000:06:00.1   version: 42   width: 64 bits   clock: 33MHz   capabilities: msix pm msi pciexpress cap_list   configuration: latency=0   resources: memory:f7e00000-f7ffffff memory:f4000000-f5ffffff  *-network:2 UNCLAIMED   description: Ethernet controller   product: NX3031 Multifunction 1/10-Gigabit Server Adapter   vendor: NetXen Incorporated   physical id: 0.2   bus info: pci@0000:06:00.2   version: 42   width: 64 bits   clock: 33MHz   capabilities: msix pm msi pciexpress cap_list   configuration: latency=0   resources: memory:f3e00000-f3ffffff memory:f0000000-f1ffffff  *-network:3 UNCLAIMED   description: Ethernet controller   product: NX3031 Multifunction 1/10-Gigabit Server Adapter   vendor: NetXen Incorporated   physical id: 0.3   bus info: pci@0000:06:00.3   version: 42   width: 64 bits   clock: 33MHz   capabilities: msix pm msi pciexpress cap_list   configuration: latency=0   resources: memory:efe00000-efffffff memory:ec000000-edffffff

I installed hp-firmware-nic-netxen-5.6.3-1.1

./nxflash.bin -i p2p1 -a nic_fw/phantom_romimagenxflash error : No such devicenxflash error : No such device

uname -a returns

 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

lspci -nnk | grep 0200

 06:00.0 Ethernet controller [0200]: NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter [4040:0100] (rev 42) 06:00.1 Ethernet controller [0200]: NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter [4040:0100] (rev 42) 06:00.2 Ethernet controller [0200]: NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter [4040:0100] (rev 42) 06:00.3 Ethernet controller [0200]: NetXen Incorporated NX3031 Multifunction 1/10-Gigabit Server Adapter [4040:0100] (rev 42)

I don't know what to do ...

Viewing all 23256 articles
Browse latest View live


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