Quantcast
Channel: Ubuntu Forums - Networking & Wireless
Viewing all 23300 articles
Browse latest View live

[ubuntu] Atheros AR9565: No Wi-Fi Adapter found.

$
0
0
Hi all, i have installed recently Ubuntu 18.04 alongside Windows 10. The problem is that the OS is not recognizing the Wi-Fi adapter.

My notebook is an Acer Aspire E 15;
Windows 10 recognizes the Wi-Fi adapter and works fine;
Using wired internet works on Ubuntu;

I have seen another threads here and usually they ask you to run some commands on the terminal, here are the outputs from what i have seen asked:
Code:

user@user-Aspire-E5-573G:~$ lspci00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
04:00.0 3D controller: NVIDIA Corporation GK208M [GeForce 920M] (rev a1)


user@user-Aspire-E5-573G:~$ iwconfig
lo        no wireless extensions.


enp2s0    no wireless extensions.


user@user-Aspire-E5-573G:~$ sudo modprobe ath9k && dmesg | grep ath
[  21.124397] ath9k 0000:03:00.0: PCI INT A: not connected
[  21.124437] ath9k 0000:03:00.0: request_irq failed
[  21.124452] ath9k: probe of 0000:03:00.0 failed with error -107
[  66.720109] usbcore: registered new interface driver ath3k


user@user-Aspire-E5-573G:~$ dmesg | grep ath
[  21.124397] ath9k 0000:03:00.0: PCI INT A: not connected
[  21.124437] ath9k 0000:03:00.0: request_irq failed
[  21.124452] ath9k: probe of 0000:03:00.0 failed with error -107
[  66.720109] usbcore: registered new interface driver ath3k

Also, i have seen a script here called wireless-info, here is the contents of the wireless-info.txt that this script creates:

Code:



########## wireless info START ##########


Report from: 20 Jul 2018 19:08 -03 -0300


Booted last: 20 Jul 2018 00:00 -03 -0300


Script from: 10 Jan 2018 20:04 UTC +0000


##### release ###########################


Distributor ID:    Ubuntu
Description:    Ubuntu 18.04 LTS
Release:    18.04
Codename:    bionic


##### kernel ############################


Linux 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Parameters: ro, quiet, splash, vt.handoff=1


##### desktop ###########################


Ubuntu


##### lspci #############################


02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: Acer Incorporated [ALI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1025:098a]
    Kernel driver in use: r8169


03:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
    Subsystem: Lite-On Communications Inc QCA9565 / AR9565 Wireless Network Adapter [11ad:0803]
    Kernel modules: ath9k, wl


##### lsusb #############################


Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 1bcf:2c81 Sunplus Innovation Technology Inc.
Bus 001 Device 006: ID 04ca:3014 Lite-On Technology Corp.
Bus 001 Device 002: ID 046d:c530 Logitech, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


##### PCMCIA card info ##################


##### rfkill ############################


0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no


##### lsmod #############################


ath9k                151552  0
ath9k_common          36864  1 ath9k
ath9k_hw              471040  2 ath9k,ath9k_common
ath                    28672  3 ath9k_hw,ath9k,ath9k_common
mac80211              778240  1 ath9k
wl                  6447104  0
ath3k                  20480  0
bluetooth            548864  44 btrtl,btintel,bnep,btbcm,rfcomm,ath3k,btusb
cfg80211              622592  5 wl,mac80211,ath9k,ath,ath9k_common
mxm_wmi                16384  1 nouveau
wmi                    24576  2 mxm_wmi,nouveau


##### interfaces ########################


[/etc/network/interfaces]
auto lo
iface lo inet loopback


##### ifconfig ##########################


enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.201  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::30ea:9127:ec3a:ae18  prefixlen 64  scopeid 0x20<link>
        ether <MAC address>  txqueuelen 1000  (Ethernet)
        RX packets 6184  bytes 4765483 (4.7 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5286  bytes 892189 (892.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 639  bytes 51871 (51.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 639  bytes 51871 (51.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


##### iwconfig ##########################


enp2s0    no wireless extensions.


lo        no wireless extensions.


##### route #############################


Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
0.0.0.0        192.168.0.1    0.0.0.0        UG    100    0        0 enp2s0
169.254.0.0    0.0.0.0        255.255.0.0    U    1000  0        0 enp2s0
192.168.0.0    0.0.0.0        255.255.255.0  U    100    0        0 enp2s0


##### resolv.conf #######################


nameserver 127.0.0.53


##### network managers ##################


Installed:


    NetworkManager


Running:


root      717    1  0 18:42 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon


##### NetworkManager info ###############


GENERAL.DEVICE:                        enp2s0
GENERAL.TYPE:                          ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                        Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT:                        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER:                        r8169
GENERAL.DRIVER-VERSION:                2.3LK-NAPI
GENERAL.FIRMWARE-VERSION:              --
GENERAL.HWADDR:                        <MAC address>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                        0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.2/0000:02:00.0/net/enp2s0
GENERAL.IP-IFACE:                      enp2s0
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                    yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:              no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                  --
GENERAL.CONNECTION:                    Wired connection 1
GENERAL.CON-UUID:                      ca881434-476f-3f64-bce4-24cede0b0ae2
GENERAL.CON-PATH:                      /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED:                        no (guessed)
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                    100 Mb/s
CAPABILITIES.IS-SOFTWARE:              no
CAPABILITIES.SRIOV:                    no
WIRED-PROPERTIES.CARRIER:              on
IP4.ADDRESS[1]:                        192.168.0.201/24
IP4.GATEWAY:                            192.168.0.1
IP4.ROUTE[1]:                          dst = 0.0.0.0/0, nh = 192.168.0.1, mt = 100
IP4.ROUTE[2]:                          dst = 192.168.0.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]:                          dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                            8.8.8.8
IP4.DNS[2]:                            8.8.4.4
DHCP4.OPTION[1]:                        requested_host_name = 1
DHCP4.OPTION[2]:                        requested_domain_search = 1
DHCP4.OPTION[3]:                        requested_time_offset = 1
DHCP4.OPTION[4]:                        requested_domain_name = 1
DHCP4.OPTION[5]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[6]:                        requested_broadcast_address = 1
DHCP4.OPTION[7]:                        requested_wpad = 1
DHCP4.OPTION[8]:                        requested_netbios_scope = 1
DHCP4.OPTION[9]:                        next_server = 0.0.0.0
DHCP4.OPTION[10]:                      broadcast_address = 192.168.0.255
DHCP4.OPTION[11]:                      dhcp_message_type = 5
DHCP4.OPTION[12]:                      requested_subnet_mask = 1
DHCP4.OPTION[13]:                      routers = 192.168.0.1
DHCP4.OPTION[14]:                      dhcp_lease_time = 7200
DHCP4.OPTION[15]:                      ip_address = 192.168.0.201
DHCP4.OPTION[16]:                      subnet_mask = 255.255.255.0
DHCP4.OPTION[17]:                      requested_domain_name_servers = 1
DHCP4.OPTION[18]:                      requested_static_routes = 1
DHCP4.OPTION[19]:                      expiry = 1532130149
DHCP4.OPTION[20]:                      domain_name_servers = 8.8.8.8 8.8.4.4
DHCP4.OPTION[21]:                      requested_netbios_name_servers = 1
DHCP4.OPTION[22]:                      requested_ntp_servers = 1
DHCP4.OPTION[23]:                      requested_routers = 1
DHCP4.OPTION[24]:                      requested_ms_classless_static_routes = 1
DHCP4.OPTION[25]:                      requested_interface_mtu = 1
DHCP4.OPTION[26]:                      network_number = 192.168.0.0
DHCP4.OPTION[27]:                      dhcp_server_identifier = 192.168.0.1
IP6.ADDRESS[1]:                        fe80::30ea:9127:ec3a:ae18/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                          dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[2]:                          dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[3]:                          dst = fe80::/64, nh = ::, mt = 100
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{1}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:  ca881434-476f-3f64-bce4-24cede0b0ae2 | Wired connection 1


##### NetworkManager.state ##############


[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true


##### NetworkManager.conf ###############


[main]
plugins=ifupdown,keyfile


[ifupdown]
managed=false


[device]
wifi.scan-rand-mac-address=no


##### NetworkManager profiles ###########


##### Netplan config ####################


[/etc/netplan/01-network-manager-all.yaml]
network:
  version: 2
  renderer: NetworkManager


##### iw reg get ########################


Region: America/Fortaleza (based on set time zone)


global
country 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)


##### iwlist channels ###################


enp2s0    no frequency information.


lo        no frequency information.


##### iwlist scan #######################


enp2s0    Interface doesn't support scanning.


lo        Interface doesn't support scanning.


##### module infos ######################


[ath9k]
filename:      /lib/modules/4.15.0-29-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:        Atheros Communications
srcversion:    F4328CE52BA6067DD4EDE7B
depends:        mac80211,ath9k_hw,ath9k_common,cfg80211,ath
retpoline:      Y
intree:        Y
name:          ath9k
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4
parm:          debug:Debugging mask (uint)
parm:          nohwcrypt:Disable hardware encryption (int)
parm:          blink:Enable LED blink on activity (int)
parm:          led_active_high:Invert LED polarity (int)
parm:          btcoex_enable:Enable wifi-BT coexistence (int)
parm:          bt_ant_diversity:Enable WLAN/BT RX antenna diversity (int)
parm:          ps_enable:Enable WLAN PowerSave (int)
parm:          use_chanctx:Enable channel context for concurrency (int)
parm:          use_msi:Use MSI instead of INTx if possible (int)


[ath9k_common]
filename:      /lib/modules/4.15.0-29-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless 802.11n LAN cards.
author:        Atheros Communications
srcversion:    94213E6B06C24095311E862
depends:        ath9k_hw,cfg80211,ath
retpoline:      Y
intree:        Y
name:          ath9k_common
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4


[ath9k_hw]
filename:      /lib/modules/4.15.0-29-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:        Atheros Communications
srcversion:    D5984DFEF6457DDB060988E
depends:        ath
retpoline:      Y
intree:        Y
name:          ath9k_hw
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4


[ath]
filename:      /lib/modules/4.15.0-29-generic/kernel/drivers/net/wireless/ath/ath.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless LAN cards.
author:        Atheros Communications
srcversion:    555BBBB9D4FCA58A05E7C0D
depends:        cfg80211
retpoline:      Y
intree:        Y
name:          ath
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4


[mac80211]
filename:      /lib/modules/4.15.0-29-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:    1CEA5CF286EDB289C1D0BF8
depends:        cfg80211
retpoline:      Y
intree:        Y
name:          mac80211
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4
parm:          minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm:          max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:          max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:          beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:          probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:          ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)


[wl]
filename:      /lib/modules/4.15.0-29-generic/updates/dkms/wl.ko
license:        MIXED/Proprietary
srcversion:    00D38A27B7E3C7B97C238FC
depends:        cfg80211
retpoline:      Y
name:          wl
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4
parm:          passivemode:int
parm:          wl_txq_thresh:int
parm:          oneonly:int
parm:          piomode:int
parm:          instance_base:int
parm:          nompc:int
parm:          intf_name:string


[ath3k]
filename:      /lib/modules/4.15.0-29-generic/kernel/drivers/bluetooth/ath3k.ko
firmware:      ath3k-1.fw
license:        GPL
version:        1.0
description:    Atheros AR30xx firmware driver
author:        Atheros Communications
srcversion:    36C0F7AEF3B569F1798216D
depends:        bluetooth
retpoline:      Y
intree:        Y
name:          ath3k
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4


[cfg80211]
filename:      /lib/modules/4.15.0-29-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:        Johannes Berg
srcversion:    D5B0789D4C423C81CCFB437
depends:       
retpoline:      Y
intree:        Y
name:          cfg80211
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:       
sig_key:       
sig_hashalgo:  md4
parm:          bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm:          ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:          cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)


##### module parameters #################


[ath9k]
blink: 0
bt_ant_diversity: 0
btcoex_enable: 0
led_active_high: -1
nohwcrypt: 1
ps_enable: 0
use_chanctx: 0
use_msi: 0


[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500


[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00


##### /etc/modules ######################


##### modprobe options ##################


[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode


[/etc/modprobe.d/asus_nb_wmi.conf]
options asus_nb_wmi wapf=4


[/etc/modprobe.d/ath9k_htc.conf]
options ath9k_htc use_dev_fw=1


[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci


[/etc/modprobe.d/blacklist-bcm43.conf]
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma


[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac


[/etc/modprobe.d/blacklist-hp.conf]
blacklist hp_wmi


[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off


[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode


[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211


##### rc.local ##########################


grep: /etc/rc.local: No such file or directory


##### pm-utils ##########################


##### udev rules ########################


##### dmesg #############################


[  19.992405] ath9k 0000:03:00.0: PCI INT A: not connected
[  19.992444] ath9k 0000:03:00.0: request_irq failed
[  19.992459] ath9k: probe of 0000:03:00.0 failed with error -107
[  20.440224] wl: loading out-of-tree module taints kernel.
[  20.440226] wl: module license 'MIXED/Proprietary' taints kernel.
[  20.441893] wl: module verification failed: signature and/or required key missing - tainting kernel
[ 1390.263906] ath9k: ath9k: Driver unloaded
[ 1390.435855] ath9k 0000:03:00.0: PCI INT A: no GSI
[ 1390.435957] ath9k 0000:03:00.0: request_irq failed
[ 1390.435976] ath9k: probe of 0000:03:00.0 failed with error -107


########## wireless info END ############

I think it is also worth noting that, on Ubuntu 18.04 Live and 16.10 Live, the OS was also not recognizing Wi-Fi.

Any help regarding this issue is appreciated. Thanks.

Convert simple /etc/network/interfaces to netplan

$
0
0
I'm on Ubuntu 18.04.

I have this simple /etc/network/interfaces in Ubuntu 16.04:
Code:

  # This file describes the network interfaces available on your system

  # and how to activate them. For more information, see interfaces(5).
 
  source /etc/network/interfaces.d/*
 
  # The loopback network interface
  auto lo

  iface lo inet loopback
 
  # The primary network interface
  auto ens33
iface ens33 inet dhcp


What would the equivalent netplan file look like?

Is there an automatic converter "out there"?

HP laptop doesn't wifi in Kubuntu

$
0
0
Hi there, I decided to turn my hp laptop in an linux pc. I did all the installation and updates via ethernet cable, but when I finished I am seeing that the pc doesn't read any wifi connection, like the wifi card is not working. I did some researches and I got that many people using an hp computer are getting in the same issue, because ubuntu is missing the wifi drivers for hp. I tryed so run many commands this people in forum was talking abou to solve the issue, but each time the terminal is like getting freeze, so I don't know what to do to make my wifi working.

Can somebody help me?

Ubuntu 16.04 - Where is IP4.ADDRESS set and/or stored?

$
0
0
This question is related to https://ubuntuforums.org/showthread....0#post13785680

In Ubuntu 16.04 when I issue an ifconfig I get
Code:

ens33    Link encap:Ethernet  HWaddr 00:50:56:23:5e:09
          inet addr:192.168.29.205  Bcast:192.168.29.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe23:5e09/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:172509 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3246 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:17885761 (17.8 MB)  TX bytes:329267 (329.2 KB)
 
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:4393 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4393 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:1545500 (1.5 MB)  TX bytes:1545500 (1.5 MB)

And if I issue nmcli dev show ens33
Code:

GENERAL.DEVICE:                        ens33
GENERAL.TYPE:                          ethernet
GENERAL.HWADDR:                        00:50:56:23:5E:09
GENERAL.MTU:                            1500
GENERAL.STATE:                          10 (unmanaged)
GENERAL.CONNECTION:                    --
GENERAL.CON-PATH:                      --
WIRED-PROPERTIES.CARRIER:              on
IP4.ADDRESS[1]:                        192.168.29.205/24
IP4.GATEWAY:                            192.168.29.1
IP4.ROUTE[1]:                          dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP6.ADDRESS[1]:                        fe80::250:56ff:fe23:5e09/64
IP6.GATEWAY:

My /etc/network/interfaces file is
Code:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
 
source /etc/network/interfaces.d/*
 
# The loopback network interface
auto lo
iface lo inet loopback
 
# The primary network interface
auto ens33
iface ens33 inet dhcp


In my ASUS router I do port forwarding so I can host my own website from my own computer running Ubuntu 16.04.

I just don't remember what I did so as to set my ip address to 192.168.29.205.

I'm attempting to replicate this behavior in 18.04.

Help is appreciated.

[server] Odd issue - LAN works, DNS resolving, cannot Ping WAN IPs

$
0
0
I'm stuck. Can't figure out why 1 VM can't access the internet when all other VMs on the same VM host, using the same bridge, can.
I patch weekly, Saturday mornings. Have a few home servers running on KVM with manually created Linux bridges.
Have about 10 virtual machines running and only 1 has been impacted with this issue. All the others, and the KVM hostOS (Ubuntu 14.04.5 Server), aren't having any network issues. LAN and WAN all work on the other VMs.

The impacted VM is running "Ubuntu 16.04.5 LTS" according to LSB info. The problem system runs nextcloud, but only can be reached from the internal LAN. No WAN firewall ports inbound are open for it. It has outbound access like any typical home network. The router config hasn't changed in months. It doesn't seem hacked. I consider it a low risk system.

This is a wired GigE network. All static IPs configured for the servers. The WAN IPs,.29, are static too. Don't think that matters.

The firewall is minimal.
Code:

$ sudo ufw status
Status: active

To                        Action      From
--                        ------      ----
22                        ALLOW      172.22.22.0/24           
80                        ALLOW      172.22.22.0/24           
443                        ALLOW      172.22.22.0/24

No IPv6 enabled. I only use IPv4.

Nothing network-wise has changed the last year. It has been working fine all this time, just weekly patches are the only changes.
No external IPs can be pinged.
Code:

$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6047ms

But any LAN IP can be pinged.
Code:

$ ping 172.22.22.1
PING 172.22.22.1 (172.22.22.1) 56(84) bytes of data.
64 bytes from 172.22.22.1: icmp_seq=1 ttl=64 time=1.10 ms
64 bytes from 172.22.22.1: icmp_seq=2 ttl=64 time=1.28 ms
64 bytes from 172.22.22.1: icmp_seq=3 ttl=64 time=0.986 ms
64 bytes from 172.22.22.1: icmp_seq=4 ttl=64 time=0.879 ms
^C
--- 172.22.22.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 0.879/1.064/1.289/0.151 ms

So, that would mean networking is fine on the VM and all the wiring is fine. Perhaps a routing issue?
Code:

$ route -n
Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
0.0.0.0        172.22.22.1    0.0.0.0        UG    0      0        0 ens3
172.22.22.0    0.0.0.0        255.255.255.0  U    0      0        0 ens3

$ ifconfig
ens3      Link encap:Ethernet  HWaddr 52:54:00:63:f8:45 
          inet addr:172.22.22.34  Bcast:172.22.22.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:62747 errors:0 dropped:1 overruns:0 frame:0
          TX packets:25420 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8128758 (8.1 MB)  TX bytes:22392145 (22.3 MB)

I don't see anything wrong there. It matches what I expect and what other, working, VMs have configured.

Looks more like a router issue. We did have an storm that lost internet early Saturday morning for 30 minutes. Power was not impacted. All servers and networking gear are on UPS power.

Here's a ping from another VM running on the same host:
Code:

$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=119 time=28.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=119 time=26.5 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=119 time=15.6 ms
^C
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 15.644/23.606/28.592/5.692 ms

They all work. Every other VM isn't showing any network issues. Just the Nextcloud server can't ping the outside.
I claim that name resolution is working perfectly. From the nextcloud system:
Code:

$ dig google.com

; <<>> DiG 9.10.3-P4-Ubuntu <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52040
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com.                    IN      A

;; ANSWER SECTION:
google.com.            235    IN      A      64.233.177.101
google.com.            235    IN      A      64.233.177.138
google.com.            235    IN      A      64.233.177.113
google.com.            235    IN      A      64.233.177.100
google.com.            235    IN      A      64.233.177.139
google.com.            235    IN      A      64.233.177.102

It does because I'm using a LAN DNS provider. It isn't slow either. Fast as usual. The /etc/resolv.conf:
Code:

$ more /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#    DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 172.22.22.1
nameserver 1.1.1.1
nameserver 1.0.0.1

DNS runs on the router and is working.
The VM machine cannot ping 1.1.1.1
Code:

$ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
^C
--- 1.1.1.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2015ms

jp@nextcloud:~$ ping 1.0.0.1
PING 1.0.0.1 (1.0.0.1) 56(84) bytes of data.
^C
--- 1.0.0.1 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3024ms

But other VMs don't have any issues with that:
Code:

$ ping 1.0.0.1
PING 1.0.0.1 (1.0.0.1) 56(84) bytes of data.
64 bytes from 1.0.0.1: icmp_seq=1 ttl=56 time=30.4 ms
64 bytes from 1.0.0.1: icmp_seq=2 ttl=56 time=19.2 ms
^C
--- 1.0.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 19.203/24.833/30.463/5.630 ms
jp@lubuntu:~$ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
64 bytes from 1.1.1.1: icmp_seq=1 ttl=56 time=17.7 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=56 time=28.3 ms
64 bytes from 1.1.1.1: icmp_seq=3 ttl=56 time=26.6 ms
^C
--- 1.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 17.730/24.231/28.301/4.649 ms

On the VM host, the bridges are:
Code:

$ brctl show
bridge name    bridge id              STP enabled    interfaces
br0            8000.0004e2d6a6e4      no              eth1
                                                        vnet0
                                                        vnet1
                                                        vnet2
                                                        vnet3
                                                        vnet4
                                                        vnet5
                                                        vnet6
                                                        vnet7
br1            8000.000000000000      no

$ ifconfig
br0      Link encap:Ethernet  HWaddr 00:04:e2:d6:a6:e4 
          inet addr:172.22.22.4  Bcast:172.22.22.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47031793 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38997947 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:43391145533 (43.3 GB)  TX bytes:16119365345 (16.1 GB)

No errors. Plenty of xfers.

Anyways, I get RSS feeds through Nextcloud News, so I'm really missing those. I have a few things to run down still - checking the router settings now. Router seems fine. This was the first login in months.

At this point, just looking for ideas for things to check. Lacking that, I can migrate the VM to another VM host. I'm betting the issue follows the VM.

[ubuntu_mate] NetworkManager doesn't prompt for password on new connections

$
0
0
Hi all,

So, I upgraded from 16.04 to 18.04 and it seems that this has introduced some weird behaviour into nm-manager.

When I try and connect to a new secure connection, it doesn't ask me for a password. However, when I do:

sudo nmtui

and then go in through there to see the new connection (for which an entry is created), and I put the password in, then it all goes through swimmingly.

Here's an output of the log:

Jul 22 08:11:37 epsilon NetworkManager[1091]: <info> [1532257897.7217] keyfile: add connection in-memory (2a9678ba-32ef-462c-aa23-b05c0fc033fa,"NET_2G899BEB")
Jul 22 08:11:37 epsilon NetworkManager[1091]: <info> [1532257897.7260] device (wlan0): Activation: starting connection 'NET_2G899BEB' (2a9678ba-32ef-462c-aa23-b05c0fc033fa)
Jul 22 08:11:37 epsilon NetworkManager[1091]: <info> [1532257897.7487] settings-connection[0x5602ae5f1750,2a9678ba-32ef-462c-aa23-b05c0fc033fa]: write: successfully commited (keyfile: update /etc/NetworkManager/system-connections/NET_2G899BEB (2a9678ba-32ef-462c-aa23-b05c0fc033fa,"NET_2G899BEB") and persist connection)
Jul 22 08:11:37 epsilon NetworkManager[1091]: <info> [1532257897.7488] audit: op="connection-add-activate" uuid="2a9678ba-32ef-462c-aa23-b05c0fc033fa" name="NET_2G899BEB" pid=1883 uid=666 result="success"
Jul 22 08:11:37 epsilon NetworkManager[1091]: <info> [1532257897.7589] device (wlan0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jul 22 08:11:37 epsilon NetworkManager[1091]: <info> [1532257897.7592] manager: NetworkManager state is now CONNECTING
Jul 22 08:11:37 epsilon NetworkManager[1091]: <info> [1532257897.7612] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jul 22 08:11:37 epsilon NetworkManager[1091]: <info> [1532257897.7620] device (wlan0): Activation: (wifi) access point 'NET_2G899BEB' has security, but secrets are required.
Jul 22 08:11:37 epsilon NetworkManager[1091]: <info> [1532257897.7621] device (wlan0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Jul 22 08:11:37 epsilon NetworkManager[1091]: <info> [1532257897.7624] sup-iface[0x5602ae3b3190,wlan0]: wps: type pbc start...
Jul 22 08:12:02 epsilon NetworkManager[1091]: <warn> [1532257922.7944] device (wlan0): No agents were available for this request.
Jul 22 08:12:08 epsilon NetworkManager[1091]: <info> [1532257928.0014] device (wlan0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed')
Jul 22 08:12:08 epsilon NetworkManager[1091]: <info> [1532257928.0021] manager: NetworkManager state is now DISCONNECTED
Jul 22 08:12:08 epsilon NetworkManager[1091]: <warn> [1532257928.0032] device (wlan0): Activation: failed for connection 'NET_2G899BEB'
Jul 22 08:12:08 epsilon NetworkManager[1091]: <info> [1532257928.0179] device (wlan0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Jul 22 08:12:08 epsilon kernel: [ 502.869197] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready


There's a "No agents were available" warning, I suspect this has something to do with it?

I've mucked around a lot trying to get it to work, but I can't figure out what's going on for the life of me.

The user in question is in netdev and sudoers, and I've also tried with a freshly created new user and it's the same problem.

Thanks in advance!

Cheers,

- Lashi

Disable WiFi interface on boot 18.04

$
0
0
I have a 18.04 headless server that I’d like to disable the WiFi interface on boot. Using ifconfig wlp2s0 down will take it down but I’d like to disable on every boot. Researching it a bit shows I need to use netplan but can find not references on the exact netplan structure.

Thanks for any help

[ubuntu] Wireless connecting but not working on intel nuc7i7bnh

$
0
0
Installed Ubuntu 16.04.4 on NUC, configured the wireless following different sites. It is configured and connected but no layer3 connectivity apparently. Found some topics in this forum as well as en experimental script for troubleshooting. Output enclosed, can anyone help?
Thank you
Attached Files

[ubuntu] tc ingress doesn't work on ubuntu 16.04

$
0
0
Don't know whether it's OK to post this thread here.

I used
tc to limit the inbound bandwidth. It's limited but didn't keep consistent with what I set.
tc qdisc add dev eth0 ingresstc filter add dev eth0 parent ffff: protocol ip u32 match ip src 0.0.0.0/0 police rate 10mbit burst 10m drop flowid :1
And at last, I got the download speed of 2-3KB/s. The speed never changed whether I change the
rate or burst

18.04 server, Atheros AP9462 gets "Could not find udev device"

$
0
0
I have a little fanless Celeron N2930 system that until recently was running Ubuntu 14.04 LTS. I decided to reinstall, from scratch, with Ubuntu 18.40 LTS "bionic".


That all worked fine, and the ethernet works as expected, but the wifi doesn't.

Here's the wireless-info.txt info:


Code:

########## wireless info START ##########


Report from: 23 Jul 2018 14:26 EDT -0400


Booted last: 23 Jul 2018 00:00 EDT -0400


Script from: 10 Jan 2018 20:04 UTC +0000


##### release ###########################


Distributor ID: Ubuntu
Description:    Ubuntu 18.04 LTS
Release:        18.04
Codename:      bionic


##### kernel ############################


Linux 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Parameters: ro


##### desktop ###########################


sed: can't read /home/jeff/.dmrc: No such file or directory


Could not be determined.


##### lspci #############################


02:00.0 Network controller [0280]: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:0034] (rev 01)
        Subsystem: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:3117]
        Kernel driver in use: ath9k


03:00.0 Ethernet controller [0200]: Intel Corporation 82583V Gigabit Network Connection [8086:150c]
        Subsystem: Intel Corporation 82583V Gigabit Network Connection [8086:0000]
        Kernel driver in use: e1000e


04:00.0 Ethernet controller [0200]: Intel Corporation 82583V Gigabit Network Connection [8086:150c]
        Subsystem: Intel Corporation 82583V Gigabit Network Connection [8086:0000]
        Kernel driver in use: e1000e


##### lsusb #############################


Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


##### PCMCIA card info ##################


'pccardctl' is not installed (package "pcmciautils").


##### rfkill ############################


0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: phy1: Wireless LAN
        Soft blocked: no
        Hard blocked: no


##### lsmod #############################


iwlwifi              282624  0
ath9k                151552  0
ath9k_common          36864  1 ath9k
ath3k                  20480  0
ath9k_hw              471040  2 ath9k,ath9k_common
ath                    28672  3 ath9k_hw,ath9k,ath9k_common
mac80211              778240  1 ath9k
bluetooth            548864  6 btrtl,btintel,btbcm,ath3k,btusb
cfg80211              622592  5 iwlwifi,mac80211,ath9k,ath,ath9k_common


##### interfaces ########################


##### ifconfig ##########################


enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.10.39  netmask 255.255.255.0  broadcast 192.168.10.255
        inet6 fe80::230:18ff:fec9:f958  prefixlen 64  scopeid 0x20<link>
        ether <MAC address>  txqueuelen 1000  (Ethernet)
        RX packets 1340428  bytes 200126544 (200.1 MB)
        RX errors 0  dropped 32889  overruns 0  frame 0
        TX packets 40147  bytes 3216596 (3.2 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 18  memory 0xd0700000-d0720000


enp4s0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether <MAC address>  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 19  memory 0xd0600000-d0620000


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 192  bytes 15014 (15.0 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 192  bytes 15014 (15.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


wlp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether <MAC address>  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


##### iwconfig ##########################


enp4s0    no wireless extensions.


enp3s0    no wireless extensions.


lo        no wireless extensions.


wlp2s0    IEEE 802.11  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated  Tx-Power=3 dBm
          Retry short limit:7  RTS thr:off  Fragment thr:off
          Encryption key:off
          Power Management:off




##### route #############################


Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
0.0.0.0        192.168.10.1    0.0.0.0        UG    100    0        0 enp3s0
192.168.10.0    0.0.0.0        255.255.255.0  U    0      0        0 enp3s0
192.168.10.1    0.0.0.0        255.255.255.255 UH    100    0        0 enp3s0


##### resolv.conf #######################


nameserver 127.0.0.53
search intranet.seamanpaper.com


##### network managers ##################


Installed:


        None found.


Running:


        None found.


##### NetworkManager info ###############


NetworkManager is not installed (package "network-manager").


##### NetworkManager.state ##############


cat: /var/lib/NetworkManager/NetworkManager.state: No such file or directory


##### NetworkManager.conf ###############


grep: /etc/NetworkManager/NetworkManager.conf: No such file or directory


##### NetworkManager profiles ###########


No NetworkManager profiles found.


##### Netplan config ####################


[/etc/netplan/40-wifi.yaml]
network:
  renderer: networkd
  version: 2
  wifis:
    wlp2s0:
      dhcp4: yes
      dhcp6: no
      access-points:
        "myssid":
          password: "mypassword"


[/etc/netplan/50-eth.yaml]
network:
    ethernets:
        enp3s0:
            addresses: []
            dhcp4: true
            optional: true
    version: 2


##### iw reg get ########################


Region: America/New_York (based on set time zone)


global
country 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)


##### iwlist channels ###################


enp4s0    no frequency information.


enp3s0    no frequency information.


lo        no frequency information.


wlp2s0    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 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz


##### iwlist scan #######################


enp4s0    Interface doesn't support scanning.


enp3s0    Interface doesn't support scanning.


lo        Interface doesn't support scanning.


wlp2s0    Interface doesn't support scanning : Device or resource busy


##### module infos ######################


[iwlwifi]
filename:      /lib/modules/4.15.0-29-generic/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
license:        GPL
author:        Copyright(c) 2003- 2015 Intel Corporation <linuxwifi@intel.com>
description:    Intel(R) Wireless WiFi driver for Linux
firmware:      iwlwifi-100-5.ucode
firmware:      iwlwifi-1000-5.ucode
firmware:      iwlwifi-135-6.ucode
firmware:      iwlwifi-105-6.ucode
firmware:      iwlwifi-2030-6.ucode
firmware:      iwlwifi-2000-6.ucode
firmware:      iwlwifi-5150-2.ucode
firmware:      iwlwifi-5000-5.ucode
firmware:      iwlwifi-6000g2b-6.ucode
firmware:      iwlwifi-6000g2a-6.ucode
firmware:      iwlwifi-6050-5.ucode
firmware:      iwlwifi-6000-6.ucode
firmware:      iwlwifi-7265D-29.ucode
firmware:      iwlwifi-7265-17.ucode
firmware:      iwlwifi-3168-29.ucode
firmware:      iwlwifi-3160-17.ucode
firmware:      iwlwifi-7260-17.ucode
firmware:      iwlwifi-8265-34.ucode
firmware:      iwlwifi-8000C-34.ucode
firmware:      iwlwifi-9260-th-b0-jf-b0-34.ucode
firmware:      iwlwifi-9260-th-a0-jf-a0-34.ucode
firmware:      iwlwifi-9000-pu-a0-jf-b0-34.ucode
firmware:      iwlwifi-9000-pu-b0-jf-b0-34.ucode
firmware:      iwlwifi-9000-pu-a0-jf-a0-34.ucode
firmware:      iwlwifi-QuQnj-a0-hr-a0-34.ucode
firmware:      iwlwifi-QuQnj-a0-jf-b0-34.ucode
firmware:      iwlwifi-QuQnj-f0-hr-a0-34.ucode
firmware:      iwlwifi-Qu-a0-jf-b0-34.ucode
firmware:      iwlwifi-Qu-a0-hr-a0-34.ucode
srcversion:    6BA065AF04F0DFDB8D91DBF
depends:        cfg80211
retpoline:      Y
intree:        Y
name:          iwlwifi
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:
sig_key:
sig_hashalgo:  md4
parm:          swcrypto:using crypto in software (default 0 [hardware]) (int)
parm:          11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
parm:          amsdu_size:amsdu size 0: 12K for multi Rx queue devices, 4K for other devices 1:4K 2:8K 3:12K (default 0) (int)
parm:          fw_restart:restart firmware in case of error (default true) (bool)
parm:          antenna_coupling:specify antenna coupling in dB (default: 0 dB) (int)
parm:          nvm_file:NVM file name (charp)
parm:          d0i3_disable:disable d0i3 functionality (default: Y) (bool)
parm:          lar_disable:disable LAR functionality (default: N) (bool)
parm:          uapsd_disable:disable U-APSD functionality bitmap 1: BSS 2: P2P Client (default: 3) (uint)
parm:          bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
parm:          led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
parm:          power_save:enable WiFi power management (default: disable) (bool)
parm:          power_level:default power save level (range from 1 - 5, default: 1) (int)
parm:          fw_monitor:firmware monitor - to debug FW (default: false - needs lots of memory) (bool)
parm:          d0i3_timeout:Timeout to D0i3 entry when idle (ms) (uint)
parm:          disable_11ac:Disable VHT capabilities (default: false) (bool)


[ath9k]
filename:      /lib/modules/4.15.0-29-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:        Atheros Communications
srcversion:    F4328CE52BA6067DD4EDE7B
depends:        mac80211,ath9k_hw,ath9k_common,cfg80211,ath
retpoline:      Y
intree:        Y
name:          ath9k
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:
sig_key:
sig_hashalgo:  md4
parm:          debug:Debugging mask (uint)
parm:          nohwcrypt:Disable hardware encryption (int)
parm:          blink:Enable LED blink on activity (int)
parm:          led_active_high:Invert LED polarity (int)
parm:          btcoex_enable:Enable wifi-BT coexistence (int)
parm:          bt_ant_diversity:Enable WLAN/BT RX antenna diversity (int)
parm:          ps_enable:Enable WLAN PowerSave (int)
parm:          use_chanctx:Enable channel context for concurrency (int)
parm:          use_msi:Use MSI instead of INTx if possible (int)


[ath9k_common]
filename:      /lib/modules/4.15.0-29-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless 802.11n LAN cards.
author:        Atheros Communications
srcversion:    94213E6B06C24095311E862
depends:        ath9k_hw,cfg80211,ath
retpoline:      Y
intree:        Y
name:          ath9k_common
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:
sig_key:
sig_hashalgo:  md4


[ath3k]
filename:      /lib/modules/4.15.0-29-generic/kernel/drivers/bluetooth/ath3k.ko
firmware:      ath3k-1.fw
license:        GPL
version:        1.0
description:    Atheros AR30xx firmware driver
author:        Atheros Communications
srcversion:    36C0F7AEF3B569F1798216D
depends:        bluetooth
retpoline:      Y
intree:        Y
name:          ath3k
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:
sig_key:
sig_hashalgo:  md4


[ath9k_hw]
filename:      /lib/modules/4.15.0-29-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:        Atheros Communications
srcversion:    D5984DFEF6457DDB060988E
depends:        ath
retpoline:      Y
intree:        Y
name:          ath9k_hw
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:
sig_key:
sig_hashalgo:  md4


[ath]
filename:      /lib/modules/4.15.0-29-generic/kernel/drivers/net/wireless/ath/ath.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless LAN cards.
author:        Atheros Communications
srcversion:    555BBBB9D4FCA58A05E7C0D
depends:        cfg80211
retpoline:      Y
intree:        Y
name:          ath
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:
sig_key:
sig_hashalgo:  md4


[mac80211]
filename:      /lib/modules/4.15.0-29-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:    1CEA5CF286EDB289C1D0BF8
depends:        cfg80211
retpoline:      Y
intree:        Y
name:          mac80211
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:
sig_key:
sig_hashalgo:  md4
parm:          minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm:          max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:          max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:          beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:          probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:          ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)


[cfg80211]
filename:      /lib/modules/4.15.0-29-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:        Johannes Berg
srcversion:    D5B0789D4C423C81CCFB437
depends:
retpoline:      Y
intree:        Y
name:          cfg80211
vermagic:      4.15.0-29-generic SMP mod_unload
signat:        PKCS#7
signer:
sig_key:
sig_hashalgo:  md4
parm:          bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm:          ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:          cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)


##### module parameters #################


[iwlwifi]
11n_disable: 0
amsdu_size: 0
antenna_coupling: 0
bt_coex_active: Y
d0i3_disable: Y
d0i3_timeout: 1000
disable_11ac: N
fw_monitor: N
fw_restart: Y
lar_disable: N
led_mode: 0
nvm_file: (null)
power_level: 0
power_save: N
swcrypto: 0
uapsd_disable: 3


[ath9k]
blink: 0
bt_ant_diversity: 0
btcoex_enable: 0
led_active_high: -1
nohwcrypt: 0
ps_enable: 0
use_chanctx: 0
use_msi: 0


[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500


[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00


##### /etc/modules ######################


##### modprobe options ##################


[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode


[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci


[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac


[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off


[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode


[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211


[/etc/modprobe.d/mdadm.conf]
options md_mod start_ro=1


##### rc.local ##########################


/sbin/ip -4 addr | grep inet | grep -v '127.0.0' | mail -s "`hostname` up" root


##### pm-utils ##########################


##### udev rules ########################


##### dmesg #############################


[    6.178081] Bluetooth: hci0: don't support firmware rome 0x11020000
[    6.328509] ath9k 0000:02:00.0: enabling device (0000 -> 0002)
[    6.340933] ath: phy0: ASPM enabled: 0x43
[    6.340942] ath: EEPROM regdomain: 0x60
[    6.340943] ath: EEPROM indicates we should expect a direct regpair map
[    6.340946] ath: Country alpha2 being used: 00
[    6.340947] ath: Regpair used: 0x60
[    6.511577] ath9k 0000:02:00.0 wlp2s0: renamed from wlan0
[    8.203691] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[58214.340904] e1000e 0000:04:00.0 eth0: (PCI Express:2.5GT/s:Width x1) <MAC address>
[58214.340913] e1000e 0000:04:00.0 eth0: Intel(R) PRO/1000 Network Connection
[58214.341003] e1000e 0000:04:00.0 eth0: MAC: 4, PHY: 8, PBA No: FFFFFF-0FF
[58214.514794] ath: phy1: ASPM enabled: 0x43
[58214.514817] ath: EEPROM regdomain: 0x60
[58214.514819] ath: EEPROM indicates we should expect a direct regpair map
[58214.514821] ath: Country alpha2 being used: 00
[58214.514822] ath: Regpair used: 0x60
[58214.527554] ath9k 0000:02:00.0 wlp2s0: renamed from wlan0
[58214.597212] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready


########## wireless info END ############



I created /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg. The netplan file for the ethernet as follows:

Code:

network:
    ethernets:
        enp3s0:
            addresses: []
            dhcp4: true
            optional: true
    version: 2

However I've had problems with the wifi card. It doesn't get connected. (it worked under Trusty.)

I created a netplan file for the wifi as follows:

Code:

network:
  renderer: networkd
  version: 2
  wifis:
    wlp2s0:
      dhcp4: yes
      dhcp6: no
      access-points:
        "myssid":
          password: "mypassword"

Two of the lines produced by "journalctl -u systemd-networkd.service | grep wlp2s0" are:
Jul 23 00:50:40 sched1-new1 systemd-networkd[1238]: wlp2s0: Could not find udev device: No such device
Jul 23 00:50:40 sched1-new1 systemd-networkd[1238]: wlp2s0: Failed

Is there a driver I need to install ? Do I need to somehow tell it which driver to use ?

Many thanks in advance for any advice.



more info:

root@sched1-new1:~# uname -a
Linux sched1-new1 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
root@sched1-new1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic

root@sched1-new1:~# ifconfig wlp2s0
wlp2s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 48:a9:d2:86:de:95 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

root@sched1-new1:~# lspci | grep Ath
02:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)


root@sched1-new1:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@sched1-new1:~# grep ath /proc/modules
ath9k 151552 0 - Live 0xffffffffc0c38000
ath9k_common 36864 1 ath9k, Live 0xffffffffc0a3c000
ath3k 20480 0 - Live 0xffffffffc09ff000
ath9k_hw 471040 2 ath9k,ath9k_common, Live 0xffffffffc0cc7000
ath 28672 3 ath9k,ath9k_common,ath9k_hw, Live 0xffffffffc0a4f000
mac80211 778240 1 ath9k, Live 0xffffffffc0a5a000
bluetooth 548864 6 ath3k,btusb,btrtl,btbcm,btintel, Live 0xffffffffc0961000
cfg80211 622592 4 ath9k,ath9k_common,ath,mac80211, Live 0xffffffffc08a3000
multipath 16384 0 - Live 0xffffffffc0298000

root@sched1-new1:~# rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

root@sched1-new1:~# lsmod | grep ath
ath9k 151552 0
ath9k_common 36864 1 ath9k
ath3k 20480 0
ath9k_hw 471040 2 ath9k,ath9k_common
ath 28672 3 ath9k_hw,ath9k,ath9k_common
mac80211 778240 1 ath9k
bluetooth 548864 6 btrtl,btintel,btbcm,ath3k,btusb
cfg80211 622592 4 mac80211,ath9k,ath,ath9k_common
multipath 16384 0

[lubuntu] Extend IP Pool

$
0
0
For iPXE I have re-written a dhcpd.conf file in which I have added/divined an IP pool/range.
Code:

range 10.10.1.5 10.10.1.254
I would like to extend this with a complete new range.

Like adding:
Code:

range 10.10.2.2 10.10.2.254


How it is now:
(This is only the bottom part of the file)

Code:

subnet 10.10.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 10.10.1.255;
option routers 10.10.1.1;
option domain-name-servers 10.10.1.1;
range 10.10.1.5 10.10.1.254;
if exists user-class and option user-class = "iPXE" {
      filename "boot.ipxe";
  } else {
      filename "undionly.kpxe";
  }
  }


I guess I need to add a second subnet or something, but whatever I have tried nothing worked.

All tips and tricks are welcome!

Cheers Ray!

[ubuntu] Could not find Bluetooth driver for HP Notebook - 15-bs179tx for Ubuntu 16.04 LTS

$
0
0
A part of output produced by the command:
Code:

sudo lshw -html > mySpecs.html
  • id: usb:1
  • description: Bluetooth wireless interface
  • product: 802.11n WLAN Adapter
  • vendor: Realtek
  • physical id: 4
  • bus info: usb@1:4
  • version: 2.00
  • serial: 00e04c000001
  • capabilities: bluetooth usb-1.10
  • configuration:
    • driver = btusb
    • maxpower = 500mA
    • speed = 12Mbit/s

Here's a link for Laptop Specifications

[SOLVED] RTL8188CUS 802.11n WLAN Adapter, very slow wifi, Ubuntu 18.04

[xubuntu] Questions around RTL8812AE 802.11ac PCIe Wireless Network Adapter

$
0
0
I recently purchased a new PCIe wireless NIC hoping to get a/c tri-band connectivity out of it. However, I am only able to get the traditional g across 2.4Ghz. I did the following to get my current support.

- git cloned the rtlwifi-next project (https://github.com/rtlwifi-linux/rtlwifi-next)
- HACKED base.c and wifi.h to add the following: #define IEEE80211_NUM_BANDS NUM_NL80211_BANDS
- ran sudo make install
- rebooted

That seemed to get the card working, albeit limping along in g mode. Problem is, when I try to connect to a/c using 5Ghz it fails with a rather odd authentication time out issue, even though I know I am passing in the correct password. Here is what I see in dmesg:

Code:

[  750.926951] wlp12s0: authenticate with d0:17:c2:eb:41:18
[  750.927592] wlp12s0: send auth to d0:17:c2:eb:41:18 (try 1/3)
[  751.030320] wlp12s0: send auth to d0:17:c2:eb:41:18 (try 2/3)
[  751.134323] wlp12s0: send auth to d0:17:c2:eb:41:18 (try 3/3)
[  751.238325] wlp12s0: authentication with d0:17:c2:eb:41:18 timed out

Here is the device, using (lshw -C network):

Code:

      Beschreibung: Kabellose Verbindung
      Produkt: RTL8812AE 802.11ac PCIe Wireless Network Adapter
      Hersteller: Realtek Semiconductor Co., Ltd.
      Physische ID: 0
      Bus-Informationen: pci@0000:0c:00.0
      Logischer Name: wlp12s0
      Version: 01
      Seriennummer: e8:4e:06:61:83:17
      Breite: 64 bits
      Takt: 33MHz
      Fähigkeiten: pm msi pciexpress bus_master cap_list ethernet physical wireless
      Konfiguration: broadcast=yes driver=rtl8821ae driverversion=4.4.0-130-generic firmware=N/A ip=192.168.1.138 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
      Ressourcen: irq:62 ioport:a000(Größe=256) memory:fe100000-fe103fff
  *-network DEAKTIVIERT

Thoughts on getting the 5Ghz connections working? I am currently happy just getting the 2.4Ghz working again, but if I could enjoy the other channel (which I do on Windows 10, OOTB), it would be a bonus.
Please let me know if there are additional data needed.

I have the following system:

Code:

DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
NAME="Ubuntu"
VERSION="16.04.5 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.5 LTS"
VERSION_ID="16.04"

Linux oblivion 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Acer Travelmate TimelineX 8372 no Bluetooth adapter


[SOLVED] BCM4360 802.11ac not working w/ 4.15.0-29-lowlatency receint update

$
0
0
Hello All,

I just completed the updates after a fresh install of 16.04.4 64-bit on a macbook pro and found that my wireless has stopped working.
I have uninstalled and reinstalled the driver with no luck and cannot find another idea that seems to work.

Curious if anyone is having the same issue, and if there are any suggestions.

Kernel: 4.15.0-29-lowlatency
Network controller: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter (rev 03)

Thanks,
Smeddy

[xubuntu] Canon Pixma MG4250 wireless problem

$
0
0
Canon Pixma MG4250, Dell Inspiron 1520, Technicolor TG582n (plusnet), Xubuntu 18.4 /Windows 10 Home.


In Xubuntu, the Pixma prints and scans with a usb connection but I can’t get it work wirelessly.


The printer app detects the printer, searches for additional software, doesn’t find any and returns the message ‘There was an error during the CUPS operation ‘server-error-internal-error’.


The Canon website has 6 driver files to download – source, rpm and deb for printing and scanning.


I extract the deb.tar.gz file to get a deb file but trying to install using the dpkg -i command returns ‘This is not a regular deb file’.



The extracted source file contains no configure folder and the help file refers to rpmbuild command.


Any comments would be appreciated.

How to ssh into raspberry PI from within my Parallels Desktop Ubuntu distribution

$
0
0
Hello,

I have a Mac with Desktops Parallels installed, running an Ubuntu distribution.
I have no problem ssh-ing into my PI from the Mac (the two are connected via an Ethernet cable).
However, I don't know how to make the Ubuntu get access to the PI's IP address.
Can anyone provide any leads on this? I am fairly new to networking...

My Ubuntu is connected via the Default Adapter (Bridged network) so both the Ubuntu and the Mac reside on the same subnet.
This is indicated by the red rectangle in the screenshot.
However, the Mac is connected to the PI via the Apple USB Ethernet Adapter (blue rectangle in screenshot).
If I choose that adapter, Ubuntu fails to connect...

Thanks in advance

[Solved] Qualcomm Atheros AR9285 frequent disconnect and reconnect UBUNTU 18.04 lts

$
0
0
Hi guys, I just happened to solve my wireless card frequent disconnection issue. i'm using a Z570 Lenovo laptop and running UBUNTU 18.04.

1. navigate to modprobe.d directory as shown below
cd /etc/modprobe.d/

2. create a new file ath9k.conf as shown below
sudo nano ath9k.conf

3 paste the below

options ath9k nohwcrypt=1

4. run modprobe

sudo modprobe -rfv ath9k
sudo modprobe -v ath9k

Save and exit. reboot your computer.

you may try this for other Qualcomm Atheros wireless cards aswell.it wont hurt as you can always delete the file in case it doesn't solve your problem.

error processing package bcmwl-kernel-source (--configure): subprocess installed pos

$
0
0
while installing bcmwl-kernel-source I'm getting following error

Code:

##################################################################################
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/bcmwl-kernel-source.0.crash'
Error! Bad return status for module build on kernel: 4.15.0-29-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information.
dpkg: error processing package bcmwl-kernel-source (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 bcmwl-kernel-source
##########################################################################################

Please help. I'm also attaching corresponding logs.


Logs:
###########################################################################################################################
DKMS make.log for bcmwl-6.30.223.271+bdcom for kernel 4.15.0-29-generic (x86_64)
Thu Jul 26 02:21:31 IST 2018
make: Entering directory '/usr/src/linux-headers-4.15.0-29-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  CC [M]  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.o
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c: In function ‘osl_os_get_image_block’:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:1083:26: warning: passing argument 2 of ‘kernel_read’ makes pointer from integer without a cast [-Wint-conversion]
  rdlen = kernel_read(fp, fp->f_pos, buf, len);
                          ^
In file included from ./include/linux/huge_mm.h:7:0,
                from ./include/linux/mm.h:463,
                from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linuxver.h:65,
                from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:25:
./include/linux/fs.h:2858:16: note: expected ‘void *’ but argument is of type ‘loff_t {aka long long int}’
 extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
                ^
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:1083:37: warning: passing argument 3 of ‘kernel_read’ makes integer from pointer without a cast [-Wint-conversion]
  rdlen = kernel_read(fp, fp->f_pos, buf, len);
                                    ^
In file included from ./include/linux/huge_mm.h:7:0,
                from ./include/linux/mm.h:463,
                from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linuxver.h:65,
                from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:25:
./include/linux/fs.h:2858:16: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘char *’
 extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
                ^
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:1083:42: warning: passing argument 4 of ‘kernel_read’ makes pointer from integer without a cast [-Wint-conversion]
  rdlen = kernel_read(fp, fp->f_pos, buf, len);
                                          ^
In file included from ./include/linux/huge_mm.h:7:0,
                from ./include/linux/mm.h:463,
                from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/include/linuxver.h:65,
                from /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.c:25:
./include/linux/fs.h:2858:16: note: expected ‘loff_t * {aka long long int *}’ but argument is of type ‘int’
 extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
                ^
  CC [M]  /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.o
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_init_timer’:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:2359:2: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
  init_timer(&t->timer);
  ^
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:2360:10: error: ‘struct timer_list’ has no member named ‘data’
  t->timer.data = (ulong) t;
          ^
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.c:2361:20: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
  t->timer.function = wl_timer;
                    ^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.o' failed
make[1]: *** [/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_linux.o] Error 1
Makefile:1552: recipe for target '_module_/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build' failed
make: *** [_module_/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.15.0-29-generic'

################################################################################################################################################

Viewing all 23300 articles
Browse latest View live


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