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

wireless not detected in linux but works fine in windows 10

$
0
0
I want to use Ubuntu instead of windows but Ubuntu doesn't detect my wireless card. I'm attaching wireless-info.txt. My computer is an hp pavilion 590.
Attached Files

[ubuntu] Ethernet connection turned off on reboot with the VPN auto-connect option enabled

$
0
0
Hey guys I've been trying to solve this little problem most of the day to no avail. I apologize if this issue is posted elsewhere. I have searched the forums but didn't find any posts with my particular problem. I've been using Ubuntu 18.04 for a while now and just started getting into the VPN world. After some digging on Google I found the nm-connection-editor command to run in the terminal, which I was able to enable the "Automatically connect to VPN when using this connection" option under Wired Connection 1. However, after rebooting, Wired Connection 1 was turned off, as was my chosen VPN connection. when I turned the Wired Connection 1 back on the VPN connection came on with it. I've tried different things but no luck. Has anyone have any suggestions or have dealt with this in the past? I have seen one other person with this issue on another forum which goes back to 2014. Any help would be greatly appreciated.

[ubuntu] 2NIC, 2IPs but one faster connection

$
0
0
Dear All,
I have a question and I do not know if someone can help.

I work at the university and the institution limited internet speed at 10Mb per second. However, I got a new computer with two Network card and I can request two IPs.
I would like to test whether combining the two cards with two IPs, i can increase internet speed. I saw few examples in netplan examples but none of them can help me.

Can you someone help?

cheers
Luigi

[SOLVED] Reboot vs Shutdown, Wait, Start

$
0
0
Reboot vs Shutdown, Wait, Start

RE: TP-Link TL WN823N RTL8192EU
Issue: TL WN823N fails to establish wireless connection upon reboot of system

I have owned the referenced USB network adapter for a couple of years now. It is currently connected to a dual-boot machine with Xubuntu 19.04 and 19.10 installed.

Observations over the past several weeks:
Cold Boot: System starts with TL WN823N connecting wirelessly with the router/AP.
Warm Reboot: System starts with TL WN823N NOT connecting with the router/AP.
Shutdown, Wait 30-60 seconds, Boot: System starts with TL WN823N connecting wirelessly with the router/AP.

My best unscientific guess: The warm reboot does not allow time for the registers to drain to 0 volts while the cold boot and the shutdown, wait, boot sequence provides enough time for the registers to drain to 0 volts.

Any thoughts?

Code:

hugh@x1910:~$ inxi -SMBCN
System:    Host: x1910 Kernel: 5.0.0-15-generic x86_64 bits: 64 Desktop: Xfce 4.13.4
          Distro: Ubuntu 19.10 (Eoan Ermine)
Machine:  Type: Desktop System: ASUS product: All Series v: N/A serial: <root required>
          Mobo: ASUSTeK model: AM1I-A v: Rev X.0x serial: <root required>
          UEFI: American Megatrends v: 0801 date: 03/10/2016
CPU:      Topology: Quad Core model: AMD Athlon 5350 APU with Radeon R3 bits: 64 type: MCP
          L2 cache: 2048 KiB
          Speed: 798 MHz min/max: 800/2050 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 799
Network:  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
          Device-2: TP-Link TL WN823N RTL8192EU type: USB driver: rtl8xxxu
hugh@x1910:~$ lsusb | grep WN823N
Bus 001 Device 002: ID 2357:0109 TP-Link TL WN823N RTL8192EU

Cold boot and Shutdown, Wait, Start....
Code:

hugh@x1910:~$ iwconfig
lo        no wireless extensions.

enp1s0    no wireless extensions.

wlxc025e9194131  IEEE 802.11  ESSID:"cenador" 
          Mode:Managed  Frequency:2.462 GHz  Access Point: 10:86:8C:xx:xx:xx 
          Bit Rate=1 Mb/s  Tx-Power=30 dBm 
          Retry short limit:7  RTS thr=2347 B  Fragment thr:off
          Power Management:off
          Link Quality=40/70  Signal level=-70 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:1  Missed beacon:0

Warm reboot....
Code:

hugh@x1910:~$ iwconfig
lo        no wireless extensions.

wlxc025e9194131  IEEE 802.11  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated  Tx-Power=30 dBm 
          Retry short limit:7  RTS thr=2347 B  Fragment thr:off
          Power Management:off
         
enp1s0    no wireless extensions.

NO connect wireless-info.txt
https://paste.ubuntu.com/p/wPYvyWMpMV/

Connected wireless-info.txt
https://paste.ubuntu.com/p/fQrJqWJVwv/

Maybe this will help someone else.

[ubuntu] Wifi not connecting on 16.06

$
0
0
Ever since i installed ubuntu on my laptop the wifi doesnt seem to work. it displays available networks but doesnt connect. Similar problem is faced with bluetooth. My wifi chipset is Realtek RT3090. Pls help

Code:

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

Report from: 29 May 2019 16:46 IST +0530

Booted last: 29 May 2019 00:00 IST +0530

Script from: 22 Oct 2018 03:34 UTC +0000

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

Distributor ID:    Ubuntu
Description:    Ubuntu 16.04.6 LTS
Release:    16.04
Codename:    xenial

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

Linux 4.15.0-50-generic #54~16.04.1-Ubuntu SMP Wed May 8 15:50:20 UTC 2019 i686 i686 i686 GNU/Linux

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

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

Ubuntu

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

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
    Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [103c:143a]
    Kernel driver in use: r8169

03:00.0 Network controller [0280]: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe [1814:3090]
    Subsystem: Hewlett-Packard Company RT3090 Wireless 802.11n 1T/1R PCIe [103c:1453]
    Kernel driver in use: rt2800pci

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

Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 020: ID 148f:1000 Ralink Technology, Corp. Motorola BC4 Bluetooth 3.0+HS Adapter
Bus 001 Device 019: ID 5986:0149 Acer, Inc
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

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

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

0: hp-wifi: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: hp-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
8: phy1: Wireless LAN
    Soft blocked: no
    Hard blocked: no
13: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

##### secure boot #######################

'mokutil' is not installed (package "mokutil").

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

rt2800pci              16384  0
rt2800mmio            16384  1 rt2800pci
rt2800lib            110592  2 rt2800mmio,rt2800pci
rt2x00pci              16384  1 rt2800pci
rt2x00mmio            16384  2 rt2800mmio,rt2800pci
rt2x00lib              49152  5 rt2800lib,rt2x00pci,rt2800mmio,rt2x00mmio,rt2800pci
eeprom_93cx6          16384  1 rt2800pci
ath10k_pci            45056  0
ath10k_core          323584  1 ath10k_pci
ath9k                139264  0
ath9k_common          36864  1 ath9k
ath9k_hw              458752  2 ath9k,ath9k_common
ath                    24576  4 ath9k_hw,ath9k,ath10k_core,ath9k_common
b43                  397312  0
bcma                  57344  1 b43
ssb                    57344  1 b43
hp_wmi                16384  0
sparse_keymap          16384  1 hp_wmi
mac80211              684032  6 rt2800lib,rt2x00pci,b43,rt2x00lib,ath9k,ath10k_core
wmi_bmof              16384  0
cfg80211              540672  7 b43,rt2x00lib,mac80211,ath9k,ath,ath10k_core,ath9k_common
wmi                    20480  2 wmi_bmof,hp_wmi

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

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

auto wlan0
iface wlan0 inet dhcp
wpa-essid TP-LINK_88E660
wpa-psk <WPA key removed>

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

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback <MAC address> brd <MAC address>
    inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
      valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether <MAC 'enp2s0' [IF1]> brd <MAC address>
    inet 192.168.0.108/24 brd 192.168.0.255 scope global dynamic enp2s0
      valid_lft 7197sec preferred_lft 7197sec
    inet6 fe80::a538:8336:4327:aa12/64 scope link
      valid_lft forever preferred_lft forever
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether <MAC address> brd <MAC address>
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
      valid_lft forever preferred_lft forever
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether <MAC 'virbr0-nic' [IF2]> brd <MAC address>
6: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether <MAC 'wlp3s0' [IF3]> brd <MAC address>

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

virbr0-nic  no wireless extensions.

virbr0    no wireless extensions.

enp2s0    no wireless extensions.

lo        no wireless extensions.

wlp3s0    IEEE 802.11  ESSID:Off/any 
          Mode:Managed  Access Point: Not-Associated  Tx-Power=20 dBm 
          Retry short  long limit:2  RTS thr;off  Fragment thr:Off
          Power Management:On
         

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

default via 192.168.0.1 dev enp2s0  proto static  metric 100
169.254.0.0/16 dev virbr0  scope link  metric 1000 linkdown
192.168.0.0/24 dev enp2s0  proto kernel  scope link  src 192.168.0.108  metric 100
192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1 linkdown

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

[777 root '/etc/resolv.conf' -> '../run/resolvconf/resolv.conf']
nameserver 127.0.1.1

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

Installed:

    NetworkManager

Running:

root      7807    1  0 16:05 ?        00:00:01 /usr/sbin/NetworkManager --no-daemon

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

GENERAL.DEVICE:                        virbr0
GENERAL.TYPE:                          bridge
GENERAL.NM-TYPE:                        NMDeviceBridge
GENERAL.VENDOR:                       
GENERAL.PRODUCT:                       
GENERAL.DRIVER:                        bridge
GENERAL.DRIVER-VERSION:                2.3
GENERAL.FIRMWARE-VERSION:              N/A
GENERAL.HWADDR:                        <MAC address>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                        0 (No reason given)
GENERAL.UDI:                            /virtual/device/placeholder/2
GENERAL.IP-IFACE:                      virbr0
GENERAL.IS-SOFTWARE:                    yes
GENERAL.NM-MANAGED:                    yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:              no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                  --
GENERAL.CONNECTION:                    virbr0
GENERAL.CON-UUID:                      304f1812-0def-4a95-a944-109ecaf1ad75
GENERAL.CON-PATH:                      /org/freedesktop/NetworkManager/ActiveConnection/0
GENERAL.METERED:                        no (guessed)
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                    unknown
CAPABILITIES.IS-SOFTWARE:              yes
BRIDGE.SLAVES:                         
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{7}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:  304f1812-0def-4a95-a944-109ecaf1ad75 | virbr0
IP4.ADDRESS[1]:                        192.168.122.1/24
IP4.GATEWAY:                           
IP4.ROUTE[1]:                          dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP6.GATEWAY:                           

GENERAL.DEVICE:                        enp2s0
GENERAL.TYPE:                          ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                        Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT:                        RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
GENERAL.DRIVER:                        r8169
GENERAL.DRIVER-VERSION:                2.3LK-NAPI
GENERAL.FIRMWARE-VERSION:             
GENERAL.HWADDR:                        <MAC 'enp2s0' [IF1]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                        0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.0/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:                      02c81a77-f64e-3029-b1fa-cd672f153c77
GENERAL.CON-PATH:                      /org/freedesktop/NetworkManager/ActiveConnection/4
GENERAL.METERED:                        no (guessed)
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                    100 Mb/s
CAPABILITIES.IS-SOFTWARE:              no
WIRED-PROPERTIES.CARRIER:              on
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{6}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:  02c81a77-f64e-3029-b1fa-cd672f153c77 | Wired connection 1
IP4.ADDRESS[1]:                        192.168.0.108/24
IP4.GATEWAY:                            192.168.0.1
IP4.DNS[1]:                            192.168.0.1
DHCP4.OPTION[1]:                        requested_routers = 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_netbios_scope = 1
DHCP4.OPTION[8]:                        requested_wpad = 1
DHCP4.OPTION[9]:                        next_server = 0.0.0.0
DHCP4.OPTION[10]:                      expiry = 1559135774
DHCP4.OPTION[11]:                      requested_interface_mtu = 1
DHCP4.OPTION[12]:                      requested_subnet_mask = 1
DHCP4.OPTION[13]:                      dhcp_lease_time = 7200
DHCP4.OPTION[14]:                      dhcp_message_type = 5
DHCP4.OPTION[15]:                      ip_address = 192.168.0.108
DHCP4.OPTION[16]:                      requested_static_routes = 1
DHCP4.OPTION[17]:                      requested_domain_name_servers = 1
DHCP4.OPTION[18]:                      routers = 192.168.0.1
DHCP4.OPTION[19]:                      broadcast_address = 192.168.0.255
DHCP4.OPTION[20]:                      requested_ntp_servers = 1
DHCP4.OPTION[21]:                      requested_netbios_name_servers = 1
DHCP4.OPTION[22]:                      domain_name_servers = 192.168.0.1
DHCP4.OPTION[23]:                      requested_ms_classless_static_routes = 1
DHCP4.OPTION[24]:                      subnet_mask = 255.255.255.0
DHCP4.OPTION[25]:                      network_number = 192.168.0.0
DHCP4.OPTION[26]:                      requested_host_name = 1
DHCP4.OPTION[27]:                      dhcp_server_identifier = 192.168.0.1
IP6.ADDRESS[1]:                        fe80::a538:8336:4327:aa12/64
IP6.GATEWAY:                           

GENERAL.DEVICE:                        wlp3s0
GENERAL.TYPE:                          wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.VENDOR:                        Ralink corp.
GENERAL.PRODUCT:                        RT3090 Wireless 802.11n 1T/1R PCIe
GENERAL.DRIVER:                        rt2800pci
GENERAL.DRIVER-VERSION:                4.15.0-50-generic
GENERAL.FIRMWARE-VERSION:              0.34
GENERAL.HWADDR:                        <MAC 'wlp3s0' [IF3]>
GENERAL.MTU:                            0
GENERAL.STATE:                          30 (disconnected)
GENERAL.REASON:                        0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net/wlp3s0
GENERAL.IP-IFACE:                     
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:                    --
GENERAL.CON-UUID:                      --
GENERAL.CON-PATH:                      --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                    unknown
CAPABILITIES.IS-SOFTWARE:              no
WIFI-PROPERTIES.WEP:                    yes
WIFI-PROPERTIES.WPA:                    yes
WIFI-PROPERTIES.WPA2:                  yes
WIFI-PROPERTIES.TKIP:                  yes
WIFI-PROPERTIES.CCMP:                  yes
WIFI-PROPERTIES.AP:                    yes
WIFI-PROPERTIES.ADHOC:                  yes
WIFI-PROPERTIES.2GHZ:                  yes
WIFI-PROPERTIES.5GHZ:                  no
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{5,4}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:  8de896c7-f026-48a5-b7be-28763a674ea7 | NETGEAR06
CONNECTIONS.AVAILABLE-CONNECTIONS[2]:  2dff45ae-e2bf-4ceb-a7dd-8876913dcc80 | Hotspot

GENERAL.DEVICE:                        virbr0-nic
GENERAL.TYPE:                          tun
GENERAL.NM-TYPE:                        NMDeviceTun
GENERAL.VENDOR:                       
GENERAL.PRODUCT:                       
GENERAL.DRIVER:                        tun
GENERAL.DRIVER-VERSION:                1.6
GENERAL.FIRMWARE-VERSION:             
GENERAL.HWADDR:                        <MAC 'virbr0-nic' [IF2]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          10 (unmanaged)
GENERAL.REASON:                        0 (No reason given)
GENERAL.UDI:                            /virtual/device/placeholder/3
GENERAL.IP-IFACE:                      virbr0-nic
GENERAL.IS-SOFTWARE:                    yes
GENERAL.NM-MANAGED:                    no
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:              no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                  --
GENERAL.CONNECTION:                    --
GENERAL.CON-UUID:                      --
GENERAL.CON-PATH:                      --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                    unknown
CAPABILITIES.IS-SOFTWARE:              yes
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:
IP4.GATEWAY:                           
IP6.GATEWAY:                           

SSID            BSSID              MODE  CHAN  FREQ      RATE      SIGNAL  BARS  SECURITY  ACTIVE  *
NETGEAR06      <MAC 'NETGEAR06' [AN1]>  Infra  1    2412 MHz  54 Mbit/s  32      ▂▄__  WPA2      no       
Flat8          <MAC 'Flat8' [AN2]>  Infra  6    2437 MHz  54 Mbit/s  32      ▂▄__  WPA1 WPA2  no       
TP-LINK_6DC42E  <MAC 'TP-LINK_6DC42E' [AC1]>  Infra  6    2437 MHz  54 Mbit/s  25      ▂___  WPA2      no       

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

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

##### NetworkManager config #############

[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false

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

[[/etc/NetworkManager/system-connections/HUAWEI-E5776-0904]] (600 root)
[connection] id=HUAWEI-E5776-0904 | type=wifi | permissions=user:gamerwael:;
[wifi] mac-address=<MAC 'wlp3s0' [IF3]> | mac-address-blacklist= | ssid=HUAWEI-E5776-0904
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Hotspot]] (600 root)
[connection] id=Hotspot | type=wifi | autoconnect=false | permissions=
[wifi] mac-address=<MAC 'wlp3s0' [IF3]> | mac-address-blacklist= | ssid=gamerwael-HP-G62-Notebook-PC
[ipv4] method=shared
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/NETGEAR06]] (600 root)
[connection] id=NETGEAR06 | type=wifi | permissions=user:gamerwael:;
[wifi] mac-address=<MAC 'wlp3s0' [IF3]> | mac-address-blacklist= | ssid=NETGEAR06
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/TP-LINK_88E660]] (600 root)
[connection] id=TP-LINK_88E660 | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlp3s0' [IF3]> | mac-address-blacklist= | ssid=TP-LINK_88E660
[ipv4] method=auto
[ipv6] method=ignore

[[/etc/NetworkManager/system-connections/iPhone 6s+]] (600 root)
[connection] id=iPhone 6s+ | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlp3s0' [IF3]> | mac-address-blacklist= | ssid=iPhone 6s+
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Tikona_Broadband]] (600 root)
[connection] id=Tikona_Broadband | type=wifi | permissions=user:gamerwael:;
[wifi] mac-address=<MAC 'wlp3s0' [IF3]> | mac-address-blacklist= | ssid=Tikona_Broadband
[ipv4] method=auto
[ipv6] method=auto

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

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

Region: Asia/Kolkata (based on set time zone)

country 00: DFS-UNSET
    (2402 - 2472 @ 40), (N/A, 20), (N/A)
    (2457 - 2482 @ 20), (N/A, 20), (N/A), PASSIVE-SCAN
    (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
    (5170 - 5250 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
    (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, 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 ###################

virbr0-nic  no frequency information.

virbr0    no frequency information.

enp2s0    no frequency information.

lo        no frequency information.

wlp3s0    14 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

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

virbr0-nic  Interface doesn't support scanning.

virbr0    Interface doesn't support scanning.

enp2s0    Interface doesn't support scanning.

lo        Interface doesn't support scanning.

Channel occupancy:

      1  APs on  Frequency:2.437 GHz (Channel 6)
      1  APs on  Frequency:2.442 GHz (Channel 7)

wlp3s0    Scan completed :
          Cell 01 - Address: <MAC 'TP-LINK_6DC42E' [AC1]>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=25/70  Signal level=-85 dBm 
                    Encryption key:On
                    ESSID:"TP-LINK_6DC42E"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000004d846f3b4
                    Extra: Last beacon: 11648ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 02 - Address: <MAC 'TP-LINK_57FC' [AC2]>
                    Channel:7
                    Frequency:2.442 GHz (Channel 7)
                    Quality=25/70  Signal level=-85 dBm 
                    Encryption key:on
                    ESSID:"TP-LINK_57FC"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000014a2ada180
                    Extra: Last beacon: 592ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK

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

[rt2800pci]
filename:      /lib/modules/4.15.0-50-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2800pci.ko
license:        GPL
firmware:      rt2860.bin
description:    Ralink RT2800 PCI & PCMCIA Wireless LAN driver.
version:        2.3.0
author:        http://rt2x00.serialmonkey.com
srcversion:    9B5C2765C235C863C24FDE0
depends:        rt2x00lib,rt2800lib,rt2800mmio,rt2x00mmio,rt2x00pci,eeprom_93cx6
retpoline:      Y
intree:        Y
name:          rt2800pci
vermagic:      4.15.0-50-generic SMP mod_unload 686
parm:          nohwcrypt:Disable hardware encryption. (bool)

[rt2800mmio]
filename:      /lib/modules/4.15.0-50-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2800mmio.ko
license:        GPL
description:    rt2800 MMIO library
version:        2.3.0
author:        http://rt2x00.serialmonkey.com
srcversion:    2AF67DBF566ACB443136786
depends:        rt2x00mmio,rt2x00lib,rt2800lib
retpoline:      Y
intree:        Y
name:          rt2800mmio
vermagic:      4.15.0-50-generic SMP mod_unload 686

[rt2800lib]
filename:      /lib/modules/4.15.0-50-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2800lib.ko
license:        GPL
description:    Ralink RT2800 library
version:        2.3.0
author:        http://rt2x00.serialmonkey.com, Bartlomiej Zolnierkiewicz
srcversion:    E3426613D56538B49359106
depends:        mac80211,rt2x00lib
retpoline:      Y
intree:        Y
name:          rt2800lib
vermagic:      4.15.0-50-generic SMP mod_unload 686

[rt2x00pci]
filename:      /lib/modules/4.15.0-50-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00pci.ko
license:        GPL
description:    rt2x00 pci library
version:        2.3.0
author:        http://rt2x00.serialmonkey.com
srcversion:    EF62F1ED5B94FD33F012351
depends:        rt2x00lib,mac80211
retpoline:      Y
intree:        Y
name:          rt2x00pci
vermagic:      4.15.0-50-generic SMP mod_unload 686

[rt2x00mmio]
filename:      /lib/modules/4.15.0-50-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.ko
license:        GPL
description:    rt2x00 mmio library
version:        2.3.0
author:        http://rt2x00.serialmonkey.com
srcversion:    DE3F68ABAA885403D3E251A
depends:        rt2x00lib
retpoline:      Y
intree:        Y
name:          rt2x00mmio
vermagic:      4.15.0-50-generic SMP mod_unload 686

[rt2x00lib]
filename:      /lib/modules/4.15.0-50-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00lib.ko
license:        GPL
description:    rt2x00 library
version:        2.3.0
author:        http://rt2x00.serialmonkey.com
srcversion:    4B1933EC31700CF6D6056ED
depends:        mac80211,cfg80211
retpoline:      Y
intree:        Y
name:          rt2x00lib
vermagic:      4.15.0-50-generic SMP mod_unload 686

[ath10k_pci]
filename:      /lib/modules/4.15.0-50-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
firmware:      ath10k/QCA9377/hw1.0/board.bin
firmware:      ath10k/QCA9377/hw1.0/firmware-5.bin
firmware:      ath10k/QCA6174/hw3.0/board-2.bin
firmware:      ath10k/QCA6174/hw3.0/board.bin
firmware:      ath10k/QCA6174/hw3.0/firmware-6.bin
firmware:      ath10k/QCA6174/hw3.0/firmware-5.bin
firmware:      ath10k/QCA6174/hw3.0/firmware-4.bin
firmware:      ath10k/QCA6174/hw2.1/board-2.bin
firmware:      ath10k/QCA6174/hw2.1/board.bin
firmware:      ath10k/QCA6174/hw2.1/firmware-5.bin
firmware:      ath10k/QCA6174/hw2.1/firmware-4.bin
firmware:      ath10k/QCA9887/hw1.0/board-2.bin
firmware:      ath10k/QCA9887/hw1.0/board.bin
firmware:      ath10k/QCA9887/hw1.0/firmware-5.bin
firmware:      ath10k/QCA988X/hw2.0/board-2.bin
firmware:      ath10k/QCA988X/hw2.0/board.bin
firmware:      ath10k/QCA988X/hw2.0/firmware-5.bin
firmware:      ath10k/QCA988X/hw2.0/firmware-4.bin
firmware:      ath10k/QCA988X/hw2.0/firmware-3.bin
firmware:      ath10k/QCA988X/hw2.0/firmware-2.bin
license:        Dual BSD/GPL
description:    Driver support for Qualcomm Atheros 802.11ac WLAN PCIe/AHB devices
author:        Qualcomm Atheros
srcversion:    63EC35DB9BF9FC4074A002D
depends:        ath10k_core
retpoline:      Y
intree:        Y
name:          ath10k_pci
vermagic:      4.15.0-50-generic SMP mod_unload 686
parm:          irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
parm:          reset_mode:0: auto, 1: warm only (default: 0) (uint)

[ath10k_core]
filename:      /lib/modules/4.15.0-50-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_core.ko
license:        Dual BSD/GPL
description:    Core module for Qualcomm Atheros 802.11ac wireless LAN cards.
author:        Qualcomm Atheros
srcversion:    165FDC1E16C9659545F5EBF
depends:        mac80211,cfg80211,ath
retpoline:      Y
intree:        Y
name:          ath10k_core
vermagic:      4.15.0-50-generic SMP mod_unload 686
parm:          debug_mask:Debugging mask (uint)
parm:          uart_print:Uart target debugging (bool)
parm:          skip_otp:Skip otp failure for calibration in testmode (bool)
parm:          cryptmode:Crypto mode: 0-hardware, 1-software (uint)
parm:          rawmode:Use raw 802.11 frame datapath (bool)

[ath9k]
filename:      /lib/modules/4.15.0-50-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-50-generic SMP mod_unload 686
parm:          debugDebugging 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-50-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:    0340C3244B71A3EDEF1E37E
depends:        ath9k_hw,cfg80211,ath
retpoline:      Y
intree:        Y
name:          ath9k_common
vermagic:      4.15.0-50-generic SMP mod_unload 686

[ath9k_hw]
filename:      /lib/modules/4.15.0-50-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-50-generic SMP mod_unload 686

[ath]
filename:      /lib/modules/4.15.0-50-generic/kernel/drivers/net/wireless/ath/ath.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless LAN cards.
author:        Atheros Communications
srcversion:    A592EBDEEE43676A2F56015
depends:        cfg80211
retpoline:      Y
intree:        Y
name:          ath
vermagic:      4.15.0-50-generic SMP mod_unload 686

[b43]
filename:      /lib/modules/4.15.0-50-generic/kernel/drivers/net/wireless/broadcom/b43/b43.ko
firmware:      b43/ucode9.fw
firmware:      b43/ucode42.fw
firmware:      b43/ucode40.fw
firmware:      b43/ucode5.fw
firmware:      b43/ucode30_mimo.fw
firmware:      b43/ucode33_lcn40.fw
firmware:      b43/ucode29_mimo.fw
firmware:      b43/ucode26_mimo.fw
firmware:      b43/ucode25_mimo.fw
firmware:      b43/ucode25_lcn.fw
firmware:      b43/ucode24_lcn.fw
firmware:      b43/ucode16_mimo.fw
firmware:      b43/ucode16_lp.fw
firmware:      b43/ucode15.fw
firmware:      b43/ucode14.fw
firmware:      b43/ucode13.fw
firmware:      b43/ucode11.fw
license:        GPL
author:        Rafał Miłecki
author:        Gábor Stefanik
author:        Michael Buesch
author:        Stefano Brivio
author:        Martin Langer
description:    Broadcom B43 wireless driver
srcversion:    9F0109CA3DBCBC74B77ACE8
depends:        mac80211,ssb,bcma,cfg80211
retpoline:      Y
intree:        Y
name:          b43
vermagic:      4.15.0-50-generic SMP mod_unload 686
parm:          bad_frames_preempt:enable(1) / disable(0) Bad Frames Preemption (int)
parm:          fwpostfix:Postfix for the .fw files to load. (string)
parm:          hwpctl:Enable hardware-side power control (default off) (int)
parm:          nohwcrypt:Disable hardware encryption. (int)
parm:          hwtkip:Enable hardware tkip. (int)
parm:          qos:Enable QOS support (default on) (int)
parm:          btcoex:Enable Bluetooth coexistence (default on) (int)
parm:          verbose:Log message verbosity: 0=error, 1=warn, 2=info(default), 3=debug (int)
parm:          pio:Use PIO accesses by default: 0=DMA, 1=PIO (int)
parm:          allhwsupport:Enable support for all hardware (even it if overlaps with the brcmsmac driver) (int)

[bcma]
filename:      /lib/modules/4.15.0-50-generic/kernel/drivers/bcma/bcma.ko
license:        GPL
description:    Broadcom's specific AMBA driver
srcversion:    F4DB57748318105D28C557A
depends:       
retpoline:      Y
intree:        Y
name:          bcma
vermagic:      4.15.0-50-generic SMP mod_unload 686

[ssb]
filename:      /lib/modules/4.15.0-50-generic/kernel/drivers/ssb/ssb.ko
license:        GPL
description:    Sonics Silicon Backplane driver
srcversion:    12D8BAB8F43573B88998E25
depends:       
retpoline:      Y
intree:        Y
name:          ssb
vermagic:      4.15.0-50-generic SMP mod_unload 686

[mac80211]
filename:      /lib/modules/4.15.0-50-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:    10B87D6D65DDD085D1326C9
depends:        cfg80211
retpoline:      Y
intree:        Y
name:          mac80211
vermagic:      4.15.0-50-generic SMP mod_unload 686
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-50-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:        Johannes Berg
srcversion:    C615A4309BFED95CEE6CECF
depends:       
retpoline:      Y
intree:        Y
name:          cfg80211
vermagic:      4.15.0-50-generic SMP mod_unload 686
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 #################

[rt2800pci]
nohwcrypt: Y

[ath10k_pci]
irq_mode: 0
reset_mode: 0

[ath10k_core]
cryptmode: 0
debug_mask: 0
rawmode: N
skip_otp: N
uart_print: N

[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

[b43]
allhwsupport: 0
bad_frames_preempt: 0
btcoex: 1
hwpctl: 0
hwtkip: 0
nohwcrypt: 0
pio: 0
qos: 1
verbose: 2

[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 ######################

ath9k

##### 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/mlx4.conf]
softdep mlx4_core post: mlx4_en

[/etc/modprobe.d/osspd.conf]
blacklist snd-pcm-oss
blacklist snd-mixer-oss
blacklist snd-seq-oss

[/etc/modprobe.d/qemu-system-x86.conf]
options kvm_intel nested=1

[/etc/modprobe.d/rt2800pci.conf]
options rt2800pci nohwcrypt=1

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

exit 0

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

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

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

[10282.067722] r8169 0000:02:00.0 enp2s0: link down
[10285.439225] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[10285.479532] r8169 0000:02:00.0 enp2s0: link down
[10285.479633] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[10285.482050] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready (repeated 3 times)
[10343.291659] r8169 0000:02:00.0 enp2s0: link up
[10343.291673] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
[10969.937755] r8169 0000:02:00.0 enp2s0: link down
[10971.449070] r8169 0000:02:00.0 enp2s0: link up
[11157.678748] wlp3s0: authenticate with <MAC address>
[11157.692296] wlp3s0: send auth to <MAC address> (try 1/3)
[11157.743567] wlp3s0: send auth to <MAC address> (try 2/3)
[11157.771691] wlp3s0: send auth to <MAC address> (try 3/3)
[11157.813093] wlp3s0: authentication with <MAC address> timed out
[11158.990695] wlp3s0: authenticate with <MAC address>
[11159.003479] wlp3s0: send auth to <MAC address> (try 1/3)
[11159.050940] wlp3s0: send auth to <MAC address> (try 2/3)
[11159.095020] wlp3s0: send auth to <MAC address> (try 3/3)
[11159.133974] wlp3s0: authentication with <MAC address> timed out
[11160.714441] wlp3s0: authenticate with <MAC address>
[11160.726727] wlp3s0: send auth to <MAC address> (try 1/3)
[11160.750955] wlp3s0: send auth to <MAC address> (try 2/3)
[11160.792018] wlp3s0: send auth to <MAC address> (try 3/3)
[11160.857408] wlp3s0: authentication with <MAC address> timed out
[11162.934256] wlp3s0: authenticate with <MAC address>
[11162.946890] wlp3s0: send auth to <MAC address> (try 1/3)
[11162.995549] wlp3s0: send auth to <MAC address> (try 2/3)
[11163.040004] wlp3s0: send auth to <MAC address> (try 3/3)
[11163.089392] wlp3s0: authentication with <MAC address> timed out
[11175.229309] wlp3s0: authenticate with <MAC address>
[11175.241937] wlp3s0: send auth to <MAC address> (try 1/3)
[11175.286342] wlp3s0: send auth to <MAC address> (try 2/3)
[11175.306338] wlp3s0: send auth to <MAC address> (try 3/3)
[11175.347128] wlp3s0: authentication with <MAC address> timed out
[11181.965665] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[11337.266472] r8169 0000:02:00.0 enp2s0: link down
[11338.902565] r8169 0000:02:00.0 enp2s0: link up

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

[ubuntu] Bridging wireless and Ethernet on my laptop

$
0
0
Hi good people,
I have an old laptop lying around with CentOS 6 32-bit installed on it already (upgraded it from Windows XP) and am trying to bridge that laptop's wireless network connection with its Ethernet network connection. I thought it would be a breeze but apparently it isn't, so I am thinking of pulling the trick of switching distros and am considering a 32-bit Ubintu flavor.
How would I bridge wireless and Ethernet in ubuntu-12.04.5, provided it is at all possible?

Scenario:

Laptop has a wireless adapter that connects it to the Internet, address is in the range of 10.0.0.0/24, it is assigned dynamically from a router two houses away, to which I don't have access (it's somebody else's house, we are all in a gated community). Laptop also has an Ethernet adapter which will connect to a home wireless router- that wireless router will provide internet connection around my house and also keep my network devices from being accessed by my neighbors by accident (we're all on the same network as it is now and I'd be happy to separate but keep the internet connection). That wireless router will also assign network address to the Ethernet adapter of my laptop.
I need to share the internet connection from the wireless card to the Ethernet adapter. So the now- CentOS 6 and in the future Ubuntu 12.04 laptop will serve as a pasthrough of sorts.

[ubuntu] Bluetooth access by class of device

$
0
0
Hello, I have bluetooth dongle connected to Ubuntu 18.04. Is it possible to restrict incoming Bluetooth connections by device class (CoD)? Can I write a set of rules for income device in conf file /etc/bluetooth/input.conf (including CoD)?

What PID/program is this?

$
0
0
I am running the netstat command to check if there are any unwanted connections and there is a program which keeps coming up for a few seconds that I don't know about.

Here is a description : udp 0 0 0.0.0.0:44848 0.0.0.0:* 20730/host

This shows up many times but only for a short time and the other PIDs that it has shown up with are 512, 32404, 32353, 31509, 31123. The port of the local address is different also every time.
Sometimes it shows up when I connect to the internet after disconnecting and sometimes it does not.

Can you provide some information on how to detect unwanted access using netstat or some other program?

I ran a virus scan and I found nothing.

MT7612E and Ubuntu 18.04.2 LTS

UFW only allows connections in when admin is logged in

$
0
0
Hello.

I have a fresh install of Ubuntu 18.04 on a computer that I have set up with 4 accounts, one of which being an admin account. When I set up ufw under the admin account with the following commands, everything works fine; the other three users are able to log in remotely to the computer.

sudo ufw enable
sudo ufw allow to any port 22 to tcp from x.x.0.0/16 (I removed the first two numbers for privacy reasons)
sudo iptables-save
sudo ufw status numbered

However, once I log out of the admin account, the other three accounts are no longer able to log in remotely via PuTTy (or otherwise) to the computer, until I sign back into the admin account. I would like it so that the other three users are still able to log in and access the computer even while the admin account is logged out. I appreciate any help that you can provide. Thank you.

[ubuntu] Netplan Config Help for MaaS Region Controller

$
0
0
I have made this yaml for a 4 nic bond and a static IP but I need to add four VLANs to the bond. The vlans are 77, 88, 99, 333 could someone help me with this config? I also use the configuration for a KVM bridge with br0 and need that to still work.

Thank you for help in advance

https://gist.githubusercontent.com/R...nager-all.yaml

_____________________
network:
bridges:
br0:
addresses:
- 10.0.77.2/24
dhcp4: false
gateway4: 10.0.77.1
nameservers:
addresses:
- 10.0.77.1
- 8.8.8.8
interfaces:
- bond0
bonds:
bond0:
interfaces:
- eno1
- eno2
- eno3
- eno4
parameters:
mode: balance-xor
ethernets:
eno1:
addresses: []
dhcp4: false
dhcp6: false
eno2:
addresses: []
dhcp4: false
dhcp6: false
eno3:
addresses: []
dhcp4: false
dhcp6: false
eno4:
addresses: []
dhcp4: false
dhcp6: false
______________________

"Cable unplugged" error from a machine I'm viewing... ***remotely***.

$
0
0
So I connect to my Ubuntu machine remotely with nomachine and it tells me the internet cable is unplugged.

I'm not sure how to begin to trouble shoot this. Any help?

I can ping other local computers.

"no machine" circled on the top left.

Bluetooth not finding any devices

$
0
0
Hello, I'm writing here because I can't manage to pair my headphones since bluetooth doesn't find any device when scannig (tried with different devices to no avail). I have a Lenovo B50-10 that uses a Realtek RTL8723BE as its network/bluetooth adapter, wifi works fine, the bluetooth adapter is detected by the OS but when I search for devices no results show up so I can't pair my headphones (Sony WH1000xm3, don't know if it's relevant). I'm running KDE Neon but I'm posting here since the community seems more active and, as I understand it, it shouldn't make much of a difference, if it's against some rule I apologize.

Looking at other discussions on this topic it seems this should be useful:
Code:

lspci -nnk | grep -iA2 net; lsusb; hciconfig -a; dmesg | egrep -i 'blue|firm'
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 0a)
        Subsystem: Lenovo RTL810xE PCI Express Fast Ethernet controller [17aa:3830]
        Kernel driver in use: r8169
        Kernel modules: r8169
04:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
        Subsystem: XAVi Technologies Corp. RTL8723BE PCIe Wireless Network Adapter [1b9a:2485]
        Kernel driver in use: rtl8723be
        Kernel modules: rtl8723be
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 04f2:b49f Chicony Electronics Co., Ltd
Bus 002 Device 004: ID 174f:1169 Syntek
Bus 002 Device 007: ID 2a70:4ee7 
Bus 002 Device 002: ID 06a3:0ccb Saitek PLC
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
hci0:  Type: Primary  Bus: USB
        BD Address: B0:C0:90:0A:31:C6  ACL MTU: 820:8  SCO MTU: 255:16
        UP RUNNING PSCAN ISCAN
        RX bytes:44747 acl:0 sco:0 events:8011 errors:0
        TX bytes:54408 acl:0 sco:0 commands:6687 errors:0
        Features: 0xff 0xff 0xff 0xfe 0xdb 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'lorenzo-Lenovo-B50-10'
        Class: 0x1c010c
        Service Classes: Rendering, Capturing, Object Transfer
        Device Class: Computer, Laptop
        HCI Version: 4.0 (0x6)  Revision: 0xb
        LMP Version: 4.0 (0x6)  Subversion: 0x8723
        Manufacturer: Realtek Semiconductor Corporation (93)

[    0.020000] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.068376] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.307873] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    4.315707] [Firmware Bug]: No valid trip found
[    5.797325] usb 2-4: Product: Bluetooth Radio
[  10.362217] Bluetooth: Core ver 2.22
[  10.362274] Bluetooth: HCI device and connection manager initialized
[  10.362282] Bluetooth: HCI socket layer initialized
[  10.362286] Bluetooth: L2CAP socket layer initialized
[  10.362304] Bluetooth: SCO socket layer initialized
[  11.123070] rtl8723be: Using firmware rtlwifi/rtl8723befw_36.bin
[  12.131727] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  12.131730] Bluetooth: BNEP filters: protocol multicast
[  12.131737] Bluetooth: BNEP socket layer initialized
[  20.311727] Bluetooth: RFCOMM TTY layer initialized
[  20.311743] Bluetooth: RFCOMM socket layer initialized
[  20.311753] Bluetooth: RFCOMM ver 1.11

I hope you can help me and I thank you in advance.

[ubuntu] Tp Link usb device slower than Windows 10

$
0
0
So I just installed Ubuntu 18.04 along with Windows 10. I'm pretty amazed with it's speed when booting, starting apps, etc. However, the only problem so far has been Wi fi.

You'll see, since I got this laptop 2 years ago, it had wi fi issues: it identified the surrounding networks and it was able to connect with them, but not to actually use internet. I tried everything, from trying everything I found in the internet, to ask for technical support. One guy even said that the problem was windows 8, and proceeded to install windows 10, nothing changed at all. I gave up and resigned to use my ethernet cable (so i couldn't use internet out of the modem room). One day my mom brought this wireless usb device, hoping that it'd solve my problem. It came with a disk. I just ran it in my laptop, and it worked. I finally got wi fi.

That was like one and a half year ago. Back to a few days, the device wasn't working on Ubuntu. Later i realized that it was due to Ubuntu not having installed the driver that the Tp Link CD had previously installed on Windows 10. When i tried to run it again, it couldn't run the executable file. Even after properly installing wine and the executable file "running", it couldn't install the driver due to it not recognizing it.

Long story short, I had to find the driver on the internet (using my ethernet cable) and install it, thus making the usb device work again. That moment truly was glorius, or at least that's what i thought...

Recently I found that Firefox was reaaaally taking it's time to load sites. I updated it, installed chromium, but it was the same. When plugged the ethernet cable, I found out that the problem weren't the browsers.

Again, I've been looking on the web an answer, and although I see similar situations, none of the solutions works for me. The driver is TL WN-725N (V2). The drivers on the internet don't really specify the version of the driver, so i don't know where to find it. Please, I need help.

PS: The CD actually has a folder called "Linux Driver", but it only contains a .txt file, which reads "For Linux users, please visit the TP-LINK support website, find and download the compatible version of driver for your network adapter at www.tp-link.com.". According to the support site, only the V3 supports Linux. V2 supports only Windows and Mac.

A start job is running for Raise network interfaces (5min 2s) in Ubuntu 18.04

$
0
0
Problem: 5 minute delay on startup

Device: UP board, running 18.04, with a Panda PAU05 wireless USB adapter, connected via HDMI to a keyboard

Network configuration: using netplan and systemd-networkd. NetworkManager is not installed.

When the Ethernet is connected, the device boots up quickly. I can unplug the Ethernet and rely on wifi. SSH works, etc.

When the Ethernet is not connected, there's a 5 minute delay. The console says "A start job is running for Raise network interfaces (Xmin Ys / 5min 2s)" and slowly counts up to 5min 2s. I can ping the device, but ssh is refused: "ssh: connect to host rodeobot.local port 22: Connection refused". After 5 minutes the boot completes fine.

I tinkered with my netplan to make both ethernet and wifi interfaces optional, but this doesn't help. I also tried removing the ethernet interface, but that didn't help. Here's "/etc/netplan/config.yaml":

Code:

network:
  version: 2
  renderer: networkd
  #ethernets:
  enp1s0:
    optional: true  # Don't wait for Ethernet
    dhcp4: true
  wifis:
    wlx9cefd5fcb328:
      optional: true  # Don't wait for Wifi
      dhcp4: true
      access-points:
        "xxx":
          password: "yyy"

Any ideas?

[lubuntu] Multi-homed network question

$
0
0
I have Lubuntu 16.04 based system very customized.

I have a question about networking and seems there is no clear info

First:

I have a machine that must connect to two networks.

eth1 is wired ethernet with International's access.
wlan2 is Wifi that connects to a scanner direct . The scanners DHCP server MUST assign the IP address or the scanner will not work It can NOT use a fixed IP. (THIS IS THE WAY THIS SCANNER WORKS IT CAN NOT BE CHANGED!)

This scanner is shared over the network with other machines by way of a custom app, over eth1.

wlan2 is not always connected. In fact the scanner will turn itself off after a few minutes.



Sometimes when I turn on the scanner and the wifi connects to it, I lose internet access.

Interestingly enough I had another machine running ubuntu 16.04 and never had this issue when it was used as the scanner host. I do not have the network configuration from that machine.


I have tried assigning fixed IP and google DNS to the eth1 , that seems to make no difference.


Now in network settings I see that I can use DHCP addresses only on the wlan2 but I still have the issue.

Any suggestions?

useradd via ssh - struggles to make user profile to work

$
0
0
Hi.

I have currently two computers on my home network.
  • Laptop with Linux Lite 4.2
  • Desktop computer with Ubuntu Mate 19.04


I'm in the process of learning to use ssh, so I may not doing it the easiest way.
On the desktop there are currently only one user profile, and I want to make another user - using SSH when sitting in front of the laptop - ADN this user will have its home folder encrypted.
Previous to this I have make SSH to work properly, and I have already tested rsync between the computers to function just well.

Here is detailed steps of what I have done so far (Already logged in on desktop via ssh as main user) :

Adding new user
~$ sudo useradd -G lager littlebrother
~$ passwd littlebrother


Installing ecryptfs package
~$ sudo apt-get install ecryptfs-utils cryptsetup
Code:

Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following additional packages will be installed:
  cryptsetup-bin cryptsetup-initramfs cryptsetup-run keyutils libecryptfs1
Suggested packages:
  zescrow-client
The following NEW packages will be installed:
  cryptsetup cryptsetup-bin cryptsetup-initramfs cryptsetup-run ecryptfs-utils
  keyutils libecryptfs1
0 upgraded, 7 newly installed, 0 to remove and 65 not upgraded.
Need to get 481 kB of archives.
After this operation, 2 015 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://no.archive.ubuntu.com/ubuntu disco/main amd64 cryptsetup-bin amd64 2:2.1.0-1ubuntu1 [108 kB]
Get:2 http://no.archive.ubuntu.com/ubuntu disco/main amd64 cryptsetup-run amd64 2:2.1.0-1ubuntu1 [150 kB]
Get:3 http://no.archive.ubuntu.com/ubuntu disco/main amd64 cryptsetup-initramfs all 2:2.1.0-1ubuntu1 [25,5 kB]
Get:4 http://no.archive.ubuntu.com/ubuntu disco/main amd64 cryptsetup all 2:2.1.0-1ubuntu1 [4 436 B]
Get:5 http://no.archive.ubuntu.com/ubuntu disco/universe amd64 libecryptfs1 amd64 111-0ubuntu5 [42,7 kB]
Get:6 http://no.archive.ubuntu.com/ubuntu disco/main amd64 keyutils amd64 1.6-6 [44,6 kB]
Get:7 http://no.archive.ubuntu.com/ubuntu disco/universe amd64 ecryptfs-utils amd64 111-0ubuntu5 [106 kB]
Fetched 481 kB in 1s (868 kB/s)   
Preconfiguring packages ...
Selecting previously unselected package cryptsetup-bin.
(Reading database ... 243271 files and directories currently installed.)
Preparing to unpack .../0-cryptsetup-bin_2%3a2.1.0-1ubuntu1_amd64.deb ...
Unpacking cryptsetup-bin (2:2.1.0-1ubuntu1) ...
Selecting previously unselected package cryptsetup-run.
Preparing to unpack .../1-cryptsetup-run_2%3a2.1.0-1ubuntu1_amd64.deb ...
Unpacking cryptsetup-run (2:2.1.0-1ubuntu1) ...
Selecting previously unselected package cryptsetup-initramfs.
Preparing to unpack .../2-cryptsetup-initramfs_2%3a2.1.0-1ubuntu1_all.deb ...
Unpacking cryptsetup-initramfs (2:2.1.0-1ubuntu1) ...
Selecting previously unselected package cryptsetup.
Preparing to unpack .../3-cryptsetup_2%3a2.1.0-1ubuntu1_all.deb ...
Unpacking cryptsetup (2:2.1.0-1ubuntu1) ...
Selecting previously unselected package libecryptfs1.
Preparing to unpack .../4-libecryptfs1_111-0ubuntu5_amd64.deb ...
Unpacking libecryptfs1 (111-0ubuntu5) ...
Selecting previously unselected package keyutils.
Preparing to unpack .../5-keyutils_1.6-6_amd64.deb ...
Unpacking keyutils (1.6-6) ...
Selecting previously unselected package ecryptfs-utils.
Preparing to unpack .../6-ecryptfs-utils_111-0ubuntu5_amd64.deb ...
Unpacking ecryptfs-utils (111-0ubuntu5) ...
Setting up cryptsetup-bin (2:2.1.0-1ubuntu1) ...
Setting up libecryptfs1 (111-0ubuntu5) ...
Setting up cryptsetup-run (2:2.1.0-1ubuntu1) ...
Setting up keyutils (1.6-6) ...
Setting up cryptsetup-initramfs (2:2.1.0-1ubuntu1) ...
update-initramfs: deferring update (trigger activated)
Setting up cryptsetup (2:2.1.0-1ubuntu1) ...
Setting up ecryptfs-utils (111-0ubuntu5) ...
Processing triggers for systemd (240-6ubuntu5) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.29-0ubuntu2) ...
Processing triggers for initramfs-tools (0.131ubuntu19) ...
update-initramfs: Generating /boot/initrd.img-5.0.0-15-generic
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
    nor crypto modules. If that's on purpose, you may want to uninstall the
    'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
    integration and avoid this warning.
I: The initramfs will attempt to resume from /dev/sdb6
I: (UUID=333dd958-cc2f-493d-a821-019ad17e3ef4)
I: Set the RESUME variable to override this.


Trying to encrypt the new users home dir
~$ sudo ecryptfs-migrate-home -u littlebrother
Code:

INFO:  Checking disk space, this may take a few moments.  Please be patient.
du: cannot access '/home/littlebrother': No such file or directory
df: /home/littlebrother: No such file or directory
INFO:  2.5x the size your current home directory is required to perform a migration.
INFO:  Once the migration succeeds, you may recover most of this space by deleting the cleartext directory.
ERROR:  Not enough free disk space.


Sign of trouble. After some searching on internet I learned that the useradd command probably don't create a home dir for the new user. So I found a recipee on how to manually add the user home dir.
Code:

~$ sudo mkdir /home/littlebrother
~$ sudo cp -rT /etc/skel /home/littlebrother
~$ sudo chown -R littlebrother:littlebrother /home/littlebrother
~$ exit
logout
Connection to 192.168.0.14 closed.


Trying to login as the newly created user - expect this to work now, but
ssh littlebrother@192.168.0.14
Code:

littlebrother@192.168.0.14's password:
Welcome to Ubuntu 19.04 (GNU/Linux 5.0.0-15-generic x86_64)
. . . . .  strips away same lines that appear here every login
Last login: Mon Jun  3 00:17:57 2019 from 192.168.0.16
-sh: 2: [: x: unexpected operator
-sh: 2: [: x: unexpected operator
$
exit

When logged in as the other user, it seemed like any other commands other than "exit" have no effect. How comes?
Is it because there are no shell? Can this be fixed without deleting the user?

[server] Unsure where networking is defined after upgrade from LTS 16.04 > 18.04.2

$
0
0
Hello! Since upgrading my server from 16.04, I'm not entirely certain where networking is configured. I previously had two NIC's (enp6s0 and enp7s0) defined as slaves to bond0, which had a static IP address. However, somewhat recently after a reboot I was having enp6s0 getting an IP address via dhcp, and this resulting in conflicts (bond0 still got it's static IP, enp6s0 getting a dhcp IP). I commented out my existing /etc/network/interfaces setup, and just set enp6s0 to a static configuration:

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 enp6s0
#iface enp6s0 inet manual
#      bond-master bond0

#auto enp7s0
#iface enp7s0 inet manual
#      bond-master bond0
#
#auto bond0
#iface bond0 inet static
#      bond-slaves enp6s0 enp7s0
#      bond-mode 1
#      bond-miimon 100
auto enp6s0
iface enp6s0 inet static
        address 192.168.0.10
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        dns-nameservers 192.168.0.1 1.0.0.1

Curiously, after a reboot, ifconfig shows bond0 still existing and receiving an ip address (also 192.168.0.10). There is nothing in /etc/netplan, and I've never done anything with netplan. /etc/network/interfaces.d/ is empty as well.

Where else can bond0 be being defined? How can I go about tracking this down?

[ubuntu] Network not working

$
0
0
Hey
Have Ubuntu 18:04. My network stop work on one machine. Have changed cabels but stilll broken. It just says " Connection failed Activation of network connection failed " in a pop-up window. Under Settings network [ Wired, Connection - 100Mb/s ON ]. If I unplugg the network cabel, [ Cabel unplugged ] and also a pop-up windows says so. It looks like my Router give the computer an ip-adress, but I don't have ipconfig in the standard installation of 18:04. :(
How can I find the error?

Cheers /Azyx

[ubuntu] How to make VPN connect automatically after login (18.04)

$
0
0
I have a working VPN on Ubuntu 18.04.2 and GNOME shell 3.28.3.

I can't see how to make the VPN connect automatically after I login. How do I do that?

I do not want the VPN available to all users.

I want the VPN to start automatically after I log in, and I also want then to be able to control it using the standard network settings panel and have the VPN connect icon in the system tray to show that it is indeed still running.

How do I do this?
Viewing all 23300 articles
Browse latest View live