Laptop recognizes WiFI but fails to connect

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Monolith

Laptop recognizes WiFI but fails to connect

Post by Monolith »

I recently replaced my modem with built in wireless and since then linux will not connect.

It recognizes the WiFi, and attempts to connect, but tells me I am dissconnected. I haven't been able to repair the connection by resetting the modem, my laptop.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
PatH57

Re: Laptop recognizes WiFI but fails to connect

Post by PatH57 »

let's see.

please provide the output of ( in terminal)

Code: Select all

lsusb

Code: Select all

lspci

Code: Select all

iwconfig
Monolith

Re: Laptop recognizes WiFI but fails to connect

Post by Monolith »

Thank you for helping me!

lsusb
Bus 002 Device 003: ID 045e:00d1 Microsoft Corp. Optical Mouse with Tilt Wheel
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 001 Device 004: ID 13d3:5134 IMC Networks
Bus 001 Device 003: ID 8087:07d6 Intel Corp.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF116M [GeForce GT 560M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF116 High Definition Audio Controller (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N + WiMAX 6150 (rev 67)
04:00.0 USB controller: Fresco Logic FL1000G USB 3.0 Host Controller (rev 04)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)

iwconfig
wmx0 no wireless extensions.

eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
PatH57

Re: Laptop recognizes WiFI but fails to connect

Post by PatH57 »

can you connect to your router using Ethernet? it would make it easier for troubleshooting?
Do you see your wifi access point?
Monolith

Re: Laptop recognizes WiFI but fails to connect

Post by Monolith »

I am currently on ethernet and it does work, and yes my laptop sees the wife, but will not connect after trying
PatH57

Re: Laptop recognizes WiFI but fails to connect

Post by PatH57 »

my laptop sees the wife
mine to, just joking :lol:

ok let's do this it will give us all the information needed.
What's the name of your wifi? and does it show in network manager (network icon at the bottom of your screen)

Could you please use this? open terminal and copy paste this:

Code: Select all

sudo wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && \chmod +x wireless_script && \./wireless_script
It will download a script and create a file named wireless-info.txt or wireless-info.tar.gz in your home folder with wireless information so we can see the condition of your wireless at the time. The MAC address, WPA key and WEP key are removed for your security. Paste contents of the wireless-info.txt or wireless-info.tar.gz file at http://pastebin.ubuntu.com or alternatively http://pastebin.com/ then post the link here in your question.

and have a look here.
http://forums.linuxmint.com/viewtopic.php?f=42&t=175809
PatH57

Re: Laptop recognizes WiFI but fails to connect

Post by PatH57 »

you did send me the script not the output of it?
you have to copy paste the command I gave you, it will run and save a file, that's the one we need.
wireless-info.txt or wireless-info.tar.gz in your home folder (if you did execute it in you home directory)
turtlebay777

Re: Laptop recognizes WiFI but fails to connect

Post by turtlebay777 »

I'm not trying to interfere but merely to point out that it's possible that a PC can 'see' a wi-fi station but the station's signal is too weak to lock onto and open up the connection.
Monolith

Re: Laptop recognizes WiFI but fails to connect

Post by Monolith »

I put the script into terminal, and it made a file, I copied and pased the file.
http://pastebin.ubuntu.com/8082983/

is that not what you are asking me to do?
PatH57

Re: Laptop recognizes WiFI but fails to connect

Post by PatH57 »

did you copy paste this into terminal?

Code: Select all

sudo wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && \chmod +x wireless_script && \./wireless_script
and what is the output of terminal (highlight the text, right click with your mouse and paste it back here.
JeremyB
Level 21
Level 21
Posts: 13851
Joined: Fri Feb 21, 2014 8:17 am

Re: Re: Laptop recognizes WiFI but fails to connect

Post by JeremyB »

PatH57 wrote:did you copy paste this into terminal?

Code: Select all

sudo wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && \chmod +x wireless_script && \./wireless_script
and what is the output of terminal (highlight the text, right click with your mouse and paste it back here.

Code: Select all

sudo wget -N -t 5 -T 10 https://www.dropbox.com/s/jlohug6vfrr86lp/wireless_script2 && \chmod +x wireless_script && \./wireless_script
This one might be easier for the poster as it will upload to pastebin and return the url in terminal

If it works, I can't test from my phone
PatH57

Re: Laptop recognizes WiFI but fails to connect

Post by PatH57 »

Hi JeremyB

just tried it and it saves locally.
JeremyB
Level 21
Level 21
Posts: 13851
Joined: Fri Feb 21, 2014 8:17 am

Re: Re: Laptop recognizes WiFI but fails to connect

Post by JeremyB »

JeremyB wrote:
PatH57 wrote:did you copy paste this into terminal?

Code: Select all

sudo wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && \chmod +x wireless_script && \./wireless_script
and what is the output of terminal (highlight the text, right click with your mouse and paste it back here.

Code: Select all

sudo wget -N -t 5 -T 10 https://www.dropbox.com/s/jlohug6vfrr86lp/wireless_script2 && \chmod +x wireless_script && \./wireless_script
This one might be easier for the poster as it will upload to pastebin and return the url in terminal

If it works, I can't test from my phone
I had it working at some point
Monolith

Re: Laptop recognizes WiFI but fails to connect

Post by Monolith »

this is what came after I pasted that to terminal

--2014-08-20 14:24:53-- https://www.dropbox.com/s/jlohug6vfrr86 ... ss_script2
Resolving www.dropbox.com (www.dropbox.com)... 108.160.166.13
Connecting to www.dropbox.com (www.dropbox.com)|108.160.166.13|:443... connected.
HTTP request sent, awaiting response... 302 FOUND
Location: https://dl.dropboxusercontent.com/conte ... lN9fG5dTQu [following]
--2014-08-20 14:24:53-- https://dl.dropboxusercontent.com/conte ... lN9fG5dTQu
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 54.83.22.8, 184.73.197.56, 50.16.213.19, ...
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|54.83.22.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15693 (15K) [text/plain]
Saving to: ‘wireless_script2’

100%[======================================>] 15,693 --.-K/s in 0s

Last-modified header missing -- time-stamps turned off.
2014-08-20 14:24:54 (123 MB/s) - ‘wireless_script2’ saved [15693/15693]

chmod: changing permissions of ‘wireless_script’: Operation not permitted
Monolith

Re: Laptop recognizes WiFI but fails to connect

Post by Monolith »

this is the script is saved
http://pastebin.ubuntu.com/8100434/
PatH57

Re: Laptop recognizes WiFI but fails to connect

Post by PatH57 »

still didn't work.
chmod: changing permissions of ‘wireless_script’: Operation not permitted
try this

Code: Select all

su
then

Code: Select all

sudo wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && \chmod +x wireless_script && \./wireless_script
JeremyB
Level 21
Level 21
Posts: 13851
Joined: Fri Feb 21, 2014 8:17 am

Re: Laptop recognizes WiFI but fails to connect

Post by JeremyB »

Lets have the OP run this as well

Code: Select all

ls -l
something strange is going on
Monolith

Re: Laptop recognizes WiFI but fails to connect

Post by Monolith »

--2014-08-20 15:50:42-- http://dl.dropbox.com/u/57264241/wireless_script
Resolving dl.dropbox.com (dl.dropbox.com)... 184.73.182.121
Connecting to dl.dropbox.com (dl.dropbox.com)|184.73.182.121|:80... connected.
HTTP request sent, awaiting response... 302 FOUND
Location: http://dl.dropboxusercontent.com/u/5726 ... ess_script [following]
--2014-08-20 15:50:42-- http://dl.dropboxusercontent.com/u/5726 ... ess_script
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 54.235.196.134, 54.243.102.38, 54.225.70.39, ...
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|54.235.196.134|:80... connected.
HTTP request sent, awaiting response... 302 FOUND
Cookie coming from dl.dropboxusercontent.com attempted to set domain to dropbox.com
Cookie coming from dl.dropboxusercontent.com attempted to set domain to dropbox.com
Location: https://dl.dropboxusercontent.com/u/572 ... ess_script [following]
--2014-08-20 15:50:42-- https://dl.dropboxusercontent.com/u/572 ... ess_script
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|54.235.196.134|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7661 (7.5K) [text/plain]
Last-modified header missing -- time-stamps turned off.
--2014-08-20 15:50:42-- https://dl.dropboxusercontent.com/u/572 ... ess_script
Reusing existing connection to dl.dropboxusercontent.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 7661 (7.5K) [text/plain]
Saving to: ‘wireless_script’

100%[======================================>] 7,661 --.-K/s in 0s

2014-08-20 15:50:43 (301 MB/s) - ‘wireless_script’ saved [7661/7661]


Results archived in "/home/delta/wireless-info.tar.gz", as they exceed the 19.5 kB size limit for ".txt" files on the Ubuntu Forums.
Monolith

Re: Laptop recognizes WiFI but fails to connect

Post by Monolith »

total 2396
drwxr-xr-x 2 delta delta 4096 Aug 16 14:03 Audiobooks
drwxr-xr-x 2 delta delta 4096 Aug 18 19:39 Desktop
drwxr-xr-x 2 delta delta 4096 Aug 16 13:05 Documents
drwxr-xr-x 2 delta delta 4096 Aug 20 13:18 Downloads
-rw-r--r-- 1 delta delta 2371954 Aug 16 14:05 Firefox_wallpaper.png
drwxr-xr-x 2 delta delta 4096 Aug 16 13:05 Music
drwxr-xr-x 2 delta delta 4096 Aug 16 13:05 Pictures
drwxr-xr-x 2 delta delta 4096 Aug 16 14:03 Podcasts
drwxr-xr-x 2 delta delta 4096 Aug 16 13:05 Public
drwxr-xr-x 2 delta delta 4096 Aug 16 13:05 Templates
drwxr-xr-x 2 delta delta 4096 Aug 16 13:05 Videos
-rw-r--r-- 1 root root 5708 Aug 20 15:50 wireless-info.tar.gz
-rw-r--r-- 1 delta delta 1526 Aug 20 14:27 wireless-info.tmp
-rwxr-xr-x 1 root root 7661 Aug 20 15:50 wireless_script
-rw-r--r-- 1 root root 15693 Aug 20 14:24 wireless_script2
Locked

Return to “Networking”