WiFi peculiar behaviour

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

WiFi peculiar behaviour

Post by Miar » Sat Jan 27, 2018 1:23 am

Issues -
When I remove the ethernet cable, the internet stops working even though the network manager says that it is connected to the WIFI.
Sometimes network manager gets stuck on connecting to wifi and does not successfully connect.
Sometimes wifi works successfully but stops after a couple of minutes.

The following terminal commands were run when connected via both wifi and ethernet.

Code: Select all

pratyush@pratyush-HP-Pavilion-15-Notebook-PC ~ $ uname -a
Linux pratyush-HP-Pavilion-15-Notebook-PC 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

pratyush@pratyush-HP-Pavilion-15-Notebook-PC ~ $ inxi -Fxz
System:    Host: pratyush-HP-Pavilion-15-Notebook-PC Kernel: 4.13.0-32-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine:   System: Hewlett-Packard (portable) product: HP Pavilion 15 Notebook PC v: 0897100000304100000610100
           Mobo: Hewlett-Packard model: 2166 v: 29.42 Bios: Insyde v: F.71 date: 03/13/2017
CPU:       Dual core Intel Core i5-4200U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9178
           clock speeds: max: 2600 MHz 1: 2294 MHz 2: 2294 MHz 3: 2294 MHz 4: 2294 MHz
Graphics:  Card-1: Intel Haswell-ULT Integrated Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GK208M [GeForce GT 740M] bus-ID: 0a:00.0
           Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1366x768@60.03hz
           GLX Renderer: GeForce GT 740M/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.111 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Haswell-ULT HD Audio Controller driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k4.13.0-32-generic
Network:   Card-1: Ralink RT3290 Wireless 802.11n 1T/1R PCIe driver: rt2800pci v: 2.3.0 bus-ID: 08:00.0
           IF: wlo1 state: up mac: <filter>
           Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 4000 bus-ID: 09:00.0
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1000.2GB (3.6% used) ID-1: /dev/sda model: HGST_HTS541010A9 size: 1000.2GB
Partition: ID-1: / size: 137G used: 27G (21%) fs: ext4 dev: /dev/sda5
           ID-2: swap-1 size: 8.35GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 51.0C mobo: N/A gpu: 0.0:50C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 188 Uptime: 2:14 Memory: 2043.9/7753.3MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 

Code: Select all

pratyush@pratyush-HP-Pavilion-15-Notebook-PC ~ $ iwconfig
wlo1      IEEE 802.11  ESSID:"Use your own wifi"  
          Mode:Managed  Frequency:2.432 GHz  Access Point: 1C:5F:2B:4C:9E:C6   
          Bit Rate=65 Mb/s   Tx-Power=20 dBm   
          Retry short  long limit:2   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=67/70  Signal level=-43 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:47  Invalid misc:405   Missed beacon:0

lo        no wireless extensions.

eno1      no wireless extensions.

Code: Select all

pratyush@pratyush-HP-Pavilion-15-Notebook-PC ~ $ dpkg -l | grep network-manager
ii  network-manager                                          1.2.6-0ubuntu0.16.04.2                       amd64        network management framework (daemon and userspace tools)
ii  network-manager-gnome                                    1.2.6-0ubuntu0.16.04.4                       amd64        network management framework (GNOME frontend)
ii  network-manager-openvpn                                  1.1.93-1ubuntu1.1                            amd64        network management framework (OpenVPN plugin core)
ii  network-manager-openvpn-gnome                            1.1.93-1ubuntu1.1                            amd64        network management framework (OpenVPN plugin GNOME GUI)
ii  network-manager-pptp                                     1.1.93-1ubuntu1                              amd64        network management framework (PPTP plugin core)
ii  network-manager-pptp-gnome                               1.1.93-1ubuntu1                              amd64        network management framework (PPTP plugin GNOME GUI)



Steps taken to fix -
  • Installed WICD - Did not connect to WIFI network
    Installed linux-firmware
    Manually added WIFI password in network settings
    Restarted network-manager
    Disabled WiFi power management
    Changed WiFi router to just WPA2
    Disabled IPv6
    Removed spaces in WiFi name
    Set Country code
    Disabled Firewall
    Set WiFi on channel 3 instead of auto
Last edited by Miar on Thu Feb 15, 2018 7:35 am, edited 9 times in total.

JeremyB
Level 18
Level 18
Posts: 8831
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi says connected but does not work.

Post by JeremyB » Sat Jan 27, 2018 7:39 am

Run the following command to disable wifi power management and reboot

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: Wifi says connected but does not work.

Post by Miar » Sat Jan 27, 2018 9:06 am

JeremyB wrote:Run the following command to disable wifi power management and reboot

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
Same issue.

JeremyB
Level 18
Level 18
Posts: 8831
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi says connected but does not work.

Post by JeremyB » Sat Jan 27, 2018 9:07 am

See the wireless script link in my signature and post results

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: Wifi says connected but does not work.

Post by Miar » Sat Jan 27, 2018 9:22 am

Code: Select all

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

Report from: 27 Jan 2018 18:50 IST +0530

Booted last: 27 Jan 2018 00:00 IST +0530

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

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

Distributor ID:	LinuxMint
Description:	Linux Mint 18.3 Sylvia
Release:	18.3
Codename:	sylvia

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

Linux 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

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

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

Cinnamon

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

08:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290]
	DeviceName: Ralink WLAN Ralink RT3290LE Roma 802.11bgn 1x1Wi-Fi + BT4.0 combo HMC
	Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter [103c:18ec]

09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 08)
	DeviceName: Realtek PCIe FE Family Controller
	Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [103c:2166]

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

Bus 001 Device 002: ID 8087:8000 Intel Corp. 
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 003: ID 0bda:571a Realtek Semiconductor Corp. 
Bus 002 Device 002: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

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

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

0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

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

hp_wmi                 16384  0
wmi_bmof               16384  0
sparse_keymap          16384  1 hp_wmi
rt2800pci              16384  0
rt2800mmio             16384  1 rt2800pci
rt2800lib             110592  2 rt2800mmio,rt2800pci
rt2x00pci              16384  1 rt2800pci
rt2x00mmio             16384  2 rt2800mmio,rt2800pci
rt2x00lib              53248  5 rt2800lib,rt2x00pci,rt2800mmio,rt2x00mmio,rt2800pci
mac80211              782336  3 rt2800lib,rt2x00pci,rt2x00lib
cfg80211              614400  2 rt2x00lib,mac80211
eeprom_93cx6           16384  1 rt2800pci
wmi                    24576  2 wmi_bmof,hp_wmi

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

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

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

eno1      Link encap:Ethernet  HWaddr <MAC 'eno1' [IF1]>  
          inet addr:192.168.0.5  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::8d2a:df69:20ae:9c82/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:123366 errors:0 dropped:0 overruns:0 frame:0
          TX packets:67286 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:179098737 (179.0 MB)  TX bytes:5603418 (5.6 MB)

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:436 errors:0 dropped:0 overruns:0 frame:0
          TX packets:436 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:67503 (67.5 KB)  TX bytes:67503 (67.5 KB)

wlo1      Link encap:Ethernet  HWaddr <MAC 'wlo1' [IF2]>  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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

lo        no wireless extensions.

eno1      no wireless extensions.

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

##### 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 eno1
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eno1
192.168.0.0     0.0.0.0         255.255.255.0   U     100    0        0 eno1

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

nameserver 127.0.1.1

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

Installed:

	NetworkManager

Running:

root       882     1  0 18:34 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon

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

GENERAL.DEVICE:                         eno1
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 'eno1' [IF1]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.3/0000:09:00.0/net/eno1
GENERAL.IP-IFACE:                       eno1
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:                       a10e52c3-7d01-3a85-987f-b002abe53caa
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
WIRED-PROPERTIES.CARRIER:               on
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{5}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   a10e52c3-7d01-3a85-987f-b002abe53caa | Wired connection 1
IP4.ADDRESS[1]:                         192.168.0.5/24
IP4.GATEWAY:                            192.168.0.1
IP4.ROUTE[1]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
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 = 1517144703
DHCP4.OPTION[11]:                       requested_interface_mtu = 1
DHCP4.OPTION[12]:                       requested_subnet_mask = 1
DHCP4.OPTION[13]:                       dhcp_lease_time = 86400
DHCP4.OPTION[14]:                       dhcp_message_type = 5
DHCP4.OPTION[15]:                       ip_address = 192.168.0.5
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 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::8d2a:df69:20ae:9c82/64
IP6.GATEWAY:                            

GENERAL.DEVICE:                         wlo1
GENERAL.TYPE:                           wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.VENDOR:                         Ralink corp.
GENERAL.PRODUCT:                        RT3290 Wireless 802.11n 1T/1R PCIe (Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter)
GENERAL.DRIVER:                         rt2800pci
GENERAL.DRIVER-VERSION:                 4.13.0-32-generic
GENERAL.FIRMWARE-VERSION:               N/A
GENERAL.HWADDR:                         <MAC 'wlo1' [IF2]>
GENERAL.MTU:                            0
GENERAL.STATE:                          30 (disconnected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.2/0000:08:00.0/net/wlo1
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/{2}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   36179477-d067-4542-8c42-3fa16abaae0a | Use your own wifi

SSID               BSSID              MODE   CHAN  FREQ      RATE       SIGNAL  BARS  SECURITY   ACTIVE  * 
Use your own wifi  <MAC 'Use your own wifi' [AC1]>  Infra  5     2432 MHz  54 Mbit/s  100     ▂▄▆█  WPA1 WPA2  no        
mitu               <MAC 'mitu' [AC2]>  Infra  1     2412 MHz  54 Mbit/s  17      ▂___  WPA1 WPA2  no        
D-Link_DIR-615     <MAC 'D-Link_DIR-615' [AC3]>  Infra  8     2447 MHz  54 Mbit/s  14      ▂___  WPA1 WPA2  no        

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

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

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

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

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

[[/etc/NetworkManager/system-connections/Auto Spandan_2]] (600 root)
[connection] id=Auto Spandan_2 | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlo1' [IF2]> | mac-address-blacklist= | ssid=Spandan_2
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Auto JioNet@IEM]] (600 root)
[connection] id=Auto JioNet@IEM | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlo1' [IF2]> | mac-address-blacklist= | ssid=JioNet@IEM
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Auto Pratyush’s iPhone]] (600 root)
[connection] id=Auto Pratyush’s iPhone | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlo1' [IF2]> | mac-address-blacklist= | ssid=80;114;97;116;121;117;115;104;226;128;153;115;32;105;80;104;111;110;101;
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Auto BSH]] (600 root)
[connection] id=Auto BSH | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlo1' [IF2]> | mac-address-blacklist= | ssid=BSH
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Use your own wifi]] (600 root)
[connection] id=Use your own wifi | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlo1' [IF2]> | mac-address-blacklist= | ssid=Use your own wifi
[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 @ 40), (N/A, 20), (N/A), NO-IR
	(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
	(5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
	(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR
	(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
	(5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
	(57240 - 63720 @ 2160), (N/A, 0), (N/A)

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

lo        no frequency information.

eno1      no frequency information.

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

lo        Interface doesn't support scanning.

eno1      Interface doesn't support scanning.

Channel occupancy:

      1   APs on   Frequency:2.412 GHz (Channel 1)
      1   APs on   Frequency:2.432 GHz (Channel 5)
      1   APs on   Frequency:2.437 GHz (Channel 6)
      1   APs on   Frequency:2.447 GHz (Channel 8)

wlo1      Scan completed :
          Cell 01 - Address: <MAC 'Use your own wifi' [AC1]>
                    Channel:5
                    Frequency:2.432 GHz (Channel 5)
                    Quality=69/70  Signal level=-41 dBm  
                    Encryption key:on
                    ESSID:"Use your own wifi"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000007a9ee75f58
                    Extra: Last beacon: 12ms ago
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
          Cell 02 - Address: <MAC 'mitu' [AC2]>
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=18/70  Signal level=-92 dBm  
                    Encryption key:on
                    ESSID:"mitu"
                    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=000000007d5d8e66
                    Extra: Last beacon: 12ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
          Cell 03 - Address: <MAC 'D-Link_DIR-615' [AC3]>
                    Channel:8
                    Frequency:2.447 GHz (Channel 8)
                    Quality=18/70  Signal level=-92 dBm  
                    Encryption key:on
                    ESSID:"D-Link_DIR-615"
                    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=0000007bc58f217e
                    Extra: Last beacon: 19476ms ago
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 04 - Address: <MAC 'MINDTRACKER' [AC4]>
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:on
                    ESSID:"MINDTRACKER"
                    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=000000023ffb917e
                    Extra: Last beacon: 688ms ago
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    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.13.0-32-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:     176059D7095A3B58027BD3C
depends:        rt2x00lib,rt2800lib,rt2800mmio,rt2x00mmio,rt2x00pci,eeprom_93cx6
intree:         Y
name:           rt2800pci
vermagic:       4.13.0-32-generic SMP mod_unload 
parm:           nohwcrypt:Disable hardware encryption. (bool)

[rt2800mmio]
filename:       /lib/modules/4.13.0-32-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:     1C5080ED2AE9064401835D4
depends:        rt2x00mmio,rt2x00lib,rt2800lib
intree:         Y
name:           rt2800mmio
vermagic:       4.13.0-32-generic SMP mod_unload 

[rt2800lib]
filename:       /lib/modules/4.13.0-32-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:     9B1F2560B6FE8E2EB380CC8
depends:        mac80211,rt2x00lib
intree:         Y
name:           rt2800lib
vermagic:       4.13.0-32-generic SMP mod_unload 

[rt2x00pci]
filename:       /lib/modules/4.13.0-32-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:     F9C67B4D1B9EDC1B32C33D1
depends:        rt2x00lib,mac80211
intree:         Y
name:           rt2x00pci
vermagic:       4.13.0-32-generic SMP mod_unload 

[rt2x00mmio]
filename:       /lib/modules/4.13.0-32-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:     92DA3136049729CCC34AB02
depends:        rt2x00lib
intree:         Y
name:           rt2x00mmio
vermagic:       4.13.0-32-generic SMP mod_unload 

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

[mac80211]
filename:       /lib/modules/4.13.0-32-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:     B8F500F2EE3AF9C7436BAEE
depends:        cfg80211
intree:         Y
name:           mac80211
vermagic:       4.13.0-32-generic SMP mod_unload 
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.13.0-32-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
srcversion:     A5EDD7467E172A70410EBCD
depends:        
intree:         Y
name:           cfg80211
vermagic:       4.13.0-32-generic SMP mod_unload 
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: N

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

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

exit 0

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

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

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

[   24.569694] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[   24.569726] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt3290.bin'
[   24.874247] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.37
[   25.000892] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[   25.007413] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
[   25.054178] r8169 0000:09:00.0 eno1: link down (repeated 2 times)
[   25.054333] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
[   25.554059] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[   27.313379] r8169 0000:09:00.0 eno1: link up
[   27.313388] IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
[   27.652522] wlo1: authenticate with <MAC 'Use your own wifi' [AC1]>
[   27.655469] wlo1: send auth to <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   27.656845] wlo1: authenticated
[   27.660098] wlo1: associate with <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   27.663808] wlo1: RX AssocResp from <MAC 'Use your own wifi' [AC1]> (capab=0x431 status=0 aid=2)
[   27.663868] wlo1: associated
[   27.663906] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[   34.535078] wlo1: deauthenticated from <MAC 'Use your own wifi' [AC1]> (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[   35.708702] wlo1: authenticate with <MAC 'Use your own wifi' [AC1]>
[   35.711424] wlo1: send auth to <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   35.712841] wlo1: authenticated
[   35.716063] wlo1: associate with <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   35.721014] wlo1: RX AssocResp from <MAC 'Use your own wifi' [AC1]> (capab=0x431 status=0 aid=2)
[   35.721073] wlo1: associated
[   42.534823] wlo1: deauthenticated from <MAC 'Use your own wifi' [AC1]> (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[   43.741920] wlo1: authenticate with <MAC 'Use your own wifi' [AC1]>
[   43.744655] wlo1: send auth to <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   43.748396] wlo1: authenticated
[   43.749430] wlo1: associate with <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   43.755541] wlo1: RX AssocResp from <MAC 'Use your own wifi' [AC1]> (capab=0x431 status=0 aid=2)
[   43.755600] wlo1: associated
[   50.230807] wlo1: deauthenticated from <MAC 'Use your own wifi' [AC1]> (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[   51.433859] wlo1: authenticate with <MAC 'Use your own wifi' [AC1]>
[   51.436639] wlo1: send auth to <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   51.438696] wlo1: authenticated
[   51.441218] wlo1: associate with <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   51.444954] wlo1: RX AssocResp from <MAC 'Use your own wifi' [AC1]> (capab=0x431 status=0 aid=2)
[   51.445029] wlo1: associated
[   52.007211] wlo1: deauthenticating from <MAC 'Use your own wifi' [AC1]> by local choice (Reason: 3=DEAUTH_LEAVING)
[   52.082149] wlo1: authenticate with <MAC 'Use your own wifi' [AC1]>
[   52.083825] wlo1: send auth to <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   52.085219] wlo1: authenticated
[   52.089537] wlo1: associate with <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   52.094163] wlo1: RX AssocResp from <MAC 'Use your own wifi' [AC1]> (capab=0x431 status=0 aid=2)
[   52.094224] wlo1: associated
[   58.543730] wlo1: deauthenticated from <MAC 'Use your own wifi' [AC1]> (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[   71.880115] wlo1: authenticate with <MAC 'Use your own wifi' [AC1]>
[   71.882699] wlo1: send auth to <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   71.884183] wlo1: authenticated
[   71.887443] wlo1: associate with <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   71.891205] wlo1: RX AssocResp from <MAC 'Use your own wifi' [AC1]> (capab=0x431 status=0 aid=2)
[   71.891270] wlo1: associated
[   77.027111] wlo1: deauthenticating from <MAC 'Use your own wifi' [AC1]> by local choice (Reason: 3=DEAUTH_LEAVING)
[   78.191094] wlo1: authenticate with <MAC 'Use your own wifi' [AC1]>
[   78.195341] wlo1: send auth to <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   78.196796] wlo1: authenticated
[   78.199030] wlo1: associate with <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   78.205723] wlo1: RX AssocResp from <MAC 'Use your own wifi' [AC1]> (capab=0x431 status=0 aid=2)
[   78.205810] wlo1: associated
[   84.918103] wlo1: deauthenticated from <MAC 'Use your own wifi' [AC1]> (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[   98.277116] wlo1: authenticate with <MAC 'Use your own wifi' [AC1]>
[   98.279849] wlo1: send auth to <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   98.281331] wlo1: authenticated
[   98.284509] wlo1: associate with <MAC 'Use your own wifi' [AC1]> (try 1/3)
[   98.291590] wlo1: RX AssocResp from <MAC 'Use your own wifi' [AC1]> (capab=0x431 status=0 aid=2)
[   98.291646] wlo1: associated
[  102.034250] wlo1: deauthenticating from <MAC 'Use your own wifi' [AC1]> by local choice (Reason: 3=DEAUTH_LEAVING)
[  102.131571] wlo1: authenticate with <MAC 'Use your own wifi' [AC1]>
[  102.134619] wlo1: send auth to <MAC 'Use your own wifi' [AC1]> (try 1/3)
[  102.136032] wlo1: authenticated
[  102.138511] wlo1: associate with <MAC 'Use your own wifi' [AC1]> (try 1/3)
[  102.142185] wlo1: RX AssocResp from <MAC 'Use your own wifi' [AC1]> (capab=0x431 status=0 aid=2)
[  102.142262] wlo1: associated
[  108.517687] wlo1: deauthenticated from <MAC 'Use your own wifi' [AC1]> (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[  121.802731] wlo1: authenticate with <MAC 'Use your own wifi' [AC1]>
[  121.804951] wlo1: send auth to <MAC 'Use your own wifi' [AC1]> (try 1/3)
[  121.806440] wlo1: authenticated
[  121.810027] wlo1: associate with <MAC 'Use your own wifi' [AC1]> (try 1/3)
[  121.813705] wlo1: RX AssocResp from <MAC 'Use your own wifi' [AC1]> (capab=0x431 status=0 aid=2)
[  121.813772] wlo1: associated
[  127.047858] wlo1: deauthenticating from <MAC 'Use your own wifi' [AC1]> by local choice (Reason: 3=DEAUTH_LEAVING)

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

JeremyB
Level 18
Level 18
Posts: 8831
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi says connected but does not work.

Post by JeremyB » Sat Jan 27, 2018 10:10 am

Can you change the encryption on the wifi router to WPA2 only?

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: Wifi says connected but does not work.

Post by Miar » Sat Jan 27, 2018 10:23 am

JeremyB wrote:Can you change the encryption on the wifi router to WPA2 only?
Did. Rebooted. Same issue.

JeremyB
Level 18
Level 18
Posts: 8831
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi says connected but does not work.

Post by JeremyB » Sat Jan 27, 2018 10:38 am

I would then change the name to eliminate spaces and go into Network Manager settings for the connection and disable IPv6

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: Wifi says connected but does not work.

Post by Miar » Sat Jan 27, 2018 10:47 am

JeremyB wrote:I would then change the name to eliminate spaces and go into Network Manager settings for the connection and disable IPv6
Still facing the same issue.

JeremyB
Level 18
Level 18
Posts: 8831
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi peculiar behaviour

Post by JeremyB » Sat Jan 27, 2018 10:52 am

Reboot with the ethernet unplugged, attempt to connect to wifi, then run

Code: Select all

./wireless-info
Connect with ethernet and post the results from the new wireless-info.txt

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Sat Jan 27, 2018 11:41 am

Code: Select all

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

Report from: 27 Jan 2018 21:09 IST +0530

Booted last: 27 Jan 2018 00:00 IST +0530

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

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

Distributor ID:	LinuxMint
Description:	Linux Mint 18.3 Sylvia
Release:	18.3
Codename:	sylvia

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

Linux 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

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

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

Cinnamon

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

08:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290]
	DeviceName: Ralink WLAN Ralink RT3290LE Roma 802.11bgn 1x1Wi-Fi + BT4.0 combo HMC
	Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter [103c:18ec]

09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 08)
	DeviceName: Realtek PCIe FE Family Controller
	Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [103c:2166]

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

Bus 001 Device 002: ID 8087:8000 Intel Corp. 
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 003: ID 0bda:571a Realtek Semiconductor Corp. 
Bus 002 Device 002: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

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

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

0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

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

hp_wmi                 16384  0
sparse_keymap          16384  1 hp_wmi
wmi_bmof               16384  0
rt2800pci              16384  0
rt2800mmio             16384  1 rt2800pci
rt2800lib             110592  2 rt2800mmio,rt2800pci
rt2x00pci              16384  1 rt2800pci
rt2x00mmio             16384  2 rt2800mmio,rt2800pci
rt2x00lib              53248  5 rt2800lib,rt2x00pci,rt2800mmio,rt2x00mmio,rt2800pci
mac80211              782336  3 rt2800lib,rt2x00pci,rt2x00lib
cfg80211              614400  2 rt2x00lib,mac80211
eeprom_93cx6           16384  1 rt2800pci
wmi                    24576  2 wmi_bmof,hp_wmi

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

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

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

eno1      Link encap:Ethernet  HWaddr <MAC 'eno1' [IF1]>  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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:290 errors:0 dropped:0 overruns:0 frame:0
          TX packets:290 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:22036 (22.0 KB)  TX bytes:22036 (22.0 KB)

wlo1      Link encap:Ethernet  HWaddr <MAC 'wlo1' [IF2]>  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:113 (113.0 B)  TX bytes:155 (155.0 B)

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

eno1      no wireless extensions.

lo        no wireless extensions.

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

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

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

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

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

Installed:

	NetworkManager

Running:

root       992     1  0 21:07 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon

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

GENERAL.DEVICE:                         wlo1
GENERAL.TYPE:                           wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.VENDOR:                         Ralink corp.
GENERAL.PRODUCT:                        RT3290 Wireless 802.11n 1T/1R PCIe (Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter)
GENERAL.DRIVER:                         rt2800pci
GENERAL.DRIVER-VERSION:                 4.13.0-32-generic
GENERAL.FIRMWARE-VERSION:               N/A
GENERAL.HWADDR:                         <MAC 'wlo1' [IF2]>
GENERAL.MTU:                            0
GENERAL.STATE:                          30 (disconnected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.2/0000:08:00.0/net/wlo1
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}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   696ca7c5-50ba-42e1-9302-a0ae5da7fa3e | Auto Useyourownwifi

GENERAL.DEVICE:                         eno1
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 'eno1' [IF1]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.REASON:                         2 (Device is now managed)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.3/0000:09:00.0/net/eno1
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:            yes
CAPABILITIES.SPEED:                     unknown
CAPABILITIES.IS-SOFTWARE:               no
WIRED-PROPERTIES.CARRIER:               off
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: 

SSID            BSSID              MODE   CHAN  FREQ      RATE       SIGNAL  BARS  SECURITY   ACTIVE  * 
Useyourownwifi  <MAC 'Useyourownwifi' [AN1]>  Infra  12    2467 MHz  54 Mbit/s  100     ▂▄▆█  WPA2       no        
KUMARJIT        <MAC 'KUMARJIT' [AN2]>  Infra  9     2452 MHz  54 Mbit/s  17      ▂___  WPA1       no        
MINDTRACKER     <MAC 'MINDTRACKER' [AN3]>  Infra  6     2437 MHz  54 Mbit/s  14      ▂___  WPA1 WPA2  no        
D-Link_DIR-615  <MAC 'D-Link_DIR-615' [AN4]>  Infra  8     2447 MHz  54 Mbit/s  14      ▂___  WPA1 WPA2  no        
mitu            <MAC 'mitu' [AN5]>  Infra  1     2412 MHz  54 Mbit/s  10      ▂___  WPA1 WPA2  no        

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

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

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

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

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

[[/etc/NetworkManager/system-connections/Auto Spandan_2]] (600 root)
[connection] id=Auto Spandan_2 | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlo1' [IF2]> | mac-address-blacklist= | ssid=Spandan_2
[ipv4] method=auto
[ipv6] method=auto

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

[[/etc/NetworkManager/system-connections/Auto JioNet@IEM]] (600 root)
[connection] id=Auto JioNet@IEM | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlo1' [IF2]> | mac-address-blacklist= | ssid=JioNet@IEM
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Auto Pratyush’s iPhone]] (600 root)
[connection] id=Auto Pratyush’s iPhone | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlo1' [IF2]> | mac-address-blacklist= | ssid=80;114;97;116;121;117;115;104;226;128;153;115;32;105;80;104;111;110;101;
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Auto BSH]] (600 root)
[connection] id=Auto BSH | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlo1' [IF2]> | mac-address-blacklist= | ssid=BSH
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Use your own wifi]] (600 root)
[connection] id=Use your own wifi | type=wifi | permissions=
[wifi] mac-address=<MAC 'wlo1' [IF2]> | mac-address-blacklist= | ssid=Use your own wifi
[ipv4] method=auto
[ipv6] method=ignore

##### 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 @ 40), (N/A, 20), (N/A), NO-IR
	(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
	(5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
	(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR
	(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
	(5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
	(57240 - 63720 @ 2160), (N/A, 0), (N/A)

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

eno1      no frequency information.

lo        no frequency information.

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

eno1      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

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

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

[rt2800pci]
filename:       /lib/modules/4.13.0-32-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:     176059D7095A3B58027BD3C
depends:        rt2x00lib,rt2800lib,rt2800mmio,rt2x00mmio,rt2x00pci,eeprom_93cx6
intree:         Y
name:           rt2800pci
vermagic:       4.13.0-32-generic SMP mod_unload 
parm:           nohwcrypt:Disable hardware encryption. (bool)

[rt2800mmio]
filename:       /lib/modules/4.13.0-32-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:     1C5080ED2AE9064401835D4
depends:        rt2x00mmio,rt2x00lib,rt2800lib
intree:         Y
name:           rt2800mmio
vermagic:       4.13.0-32-generic SMP mod_unload 

[rt2800lib]
filename:       /lib/modules/4.13.0-32-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:     9B1F2560B6FE8E2EB380CC8
depends:        mac80211,rt2x00lib
intree:         Y
name:           rt2800lib
vermagic:       4.13.0-32-generic SMP mod_unload 

[rt2x00pci]
filename:       /lib/modules/4.13.0-32-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:     F9C67B4D1B9EDC1B32C33D1
depends:        rt2x00lib,mac80211
intree:         Y
name:           rt2x00pci
vermagic:       4.13.0-32-generic SMP mod_unload 

[rt2x00mmio]
filename:       /lib/modules/4.13.0-32-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:     92DA3136049729CCC34AB02
depends:        rt2x00lib
intree:         Y
name:           rt2x00mmio
vermagic:       4.13.0-32-generic SMP mod_unload 

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

[mac80211]
filename:       /lib/modules/4.13.0-32-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:     B8F500F2EE3AF9C7436BAEE
depends:        cfg80211
intree:         Y
name:           mac80211
vermagic:       4.13.0-32-generic SMP mod_unload 
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.13.0-32-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
srcversion:     A5EDD7467E172A70410EBCD
depends:        
intree:         Y
name:           cfg80211
vermagic:       4.13.0-32-generic SMP mod_unload 
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: N

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

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

exit 0

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

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

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

[   25.389221] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[   25.389252] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt3290.bin'
[   25.503791] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.37
[   25.639074] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[   25.643453] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
[   25.706671] r8169 0000:09:00.0 eno1: link down
[   25.706730] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
[   25.838365] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[   76.984279] wlo1: authenticate with <MAC 'Useyourownwifi' [AN1]>
[   76.987051] wlo1: send auth to <MAC 'Useyourownwifi' [AN1]> (try 1/3)
[   77.005548] wlo1: authenticated
[   77.007760] wlo1: associate with <MAC 'Useyourownwifi' [AN1]> (try 1/3)
[   77.011459] wlo1: RX AssocResp from <MAC 'Useyourownwifi' [AN1]> (capab=0x431 status=0 aid=1)
[   77.011533] wlo1: associated
[   77.011592] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[   84.076173] wlo1: deauthenticated from <MAC 'Useyourownwifi' [AN1]> (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[   85.276202] wlo1: authenticate with <MAC 'Useyourownwifi' [AN1]>
[   85.278998] wlo1: send auth to <MAC 'Useyourownwifi' [AN1]> (try 1/3)
[   85.280404] wlo1: authenticated
[   85.283653] wlo1: associate with <MAC 'Useyourownwifi' [AN1]> (try 1/3)
[   85.288698] wlo1: RX AssocResp from <MAC 'Useyourownwifi' [AN1]> (capab=0x431 status=0 aid=1)
[   85.288769] wlo1: associated
[   89.076291] wlo1: deauthenticated from <MAC 'Useyourownwifi' [AN1]> (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[   96.140395] wlo1: authenticate with <MAC 'Useyourownwifi' [AN1]>
[   96.142444] wlo1: send auth to <MAC 'Useyourownwifi' [AN1]> (try 1/3)
[   96.146462] wlo1: authenticated
[   96.147573] wlo1: associate with <MAC 'Useyourownwifi' [AN1]> (try 1/3)
[   96.151217] wlo1: RX AssocResp from <MAC 'Useyourownwifi' [AN1]> (capab=0x431 status=0 aid=1)
[   96.151285] wlo1: associated
[  103.075829] wlo1: deauthenticated from <MAC 'Useyourownwifi' [AN1]> (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[  104.296124] wlo1: authenticate with <MAC 'Useyourownwifi' [AN1]>
[  104.298829] wlo1: send auth to <MAC 'Useyourownwifi' [AN1]> (try 1/3)
[  104.300309] wlo1: authenticated
[  104.303515] wlo1: associate with <MAC 'Useyourownwifi' [AN1]> (try 1/3)
[  104.307602] wlo1: RX AssocResp from <MAC 'Useyourownwifi' [AN1]> (capab=0x431 status=0 aid=1)
[  104.307670] wlo1: associated
[  111.083758] wlo1: deauthenticated from <MAC 'Useyourownwifi' [AN1]> (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[  123.492773] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready

########## wireless info END ############
This time when i try to connect to the wifi I keep getting authentication required popups.

JeremyB
Level 18
Level 18
Posts: 8831
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi peculiar behaviour

Post by JeremyB » Sat Jan 27, 2018 11:46 am

Can you type your wifi password in terminal and see if it displays properly as it might be an issue with the password itself

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Sat Jan 27, 2018 11:47 am

JeremyB wrote:Can you type your wifi password in terminal and see if it displays properly as it might be an issue with the password itself
Tried it. My password is shown normally when typed into the terminal.

JeremyB
Level 18
Level 18
Posts: 8831
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi peculiar behaviour

Post by JeremyB » Sat Jan 27, 2018 12:00 pm

Does the password have upper and lower case letters mixed?

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Sat Jan 27, 2018 12:01 pm

JeremyB wrote:Does the password have upper and lower case letters mixed?
No. Lower case letters and numbers.

JeremyB
Level 18
Level 18
Posts: 8831
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi peculiar behaviour

Post by JeremyB » Sat Jan 27, 2018 1:56 pm

Will it connect if you turn encryption off and use it unsecured for a test?

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Sat Jan 27, 2018 2:02 pm

JeremyB wrote:Will it connect if you turn encryption off and use it unsecured for a test?
Just tried. Stuck at connecting.

JeremyB
Level 18
Level 18
Posts: 8831
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi peculiar behaviour

Post by JeremyB » Sat Jan 27, 2018 2:10 pm

Lets try a module option

Code: Select all

echo "options rt2800pci nohwcrypt=Y" | sudo tee /etc/modprobe.d/rt2800pci.conf
Reboot
Your country code isn't set, what country are you in?

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Sat Jan 27, 2018 11:19 pm

JeremyB wrote:Lets try a module option

Code: Select all

echo "options rt2800pci nohwcrypt=Y" | sudo tee /etc/modprobe.d/rt2800pci.conf
Reboot
Your country code isn't set, what country are you in?
It is working now! Thanks!
I am from India.

Miar
Level 1
Level 1
Posts: 18
Joined: Sat Jan 27, 2018 12:49 am

Re: WiFi peculiar behaviour

Post by Miar » Sun Jan 28, 2018 9:58 am

Stuck at connecting again.

Post Reply

Return to “Wireless”