<SOLVED> Mint 13 xfce - wifi not connecting to network

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.
Locked
CuriousPeople

<SOLVED> Mint 13 xfce - wifi not connecting to network

Post by CuriousPeople »

I have recently installed Mint 13 xfce on an older laptop (PB Easynote MX66), but am struggling to get the wifi to connect. I'm new to Linux, but have tried various fixes suggested on the forums. Unfortunately I'm not experienced enough to pin-point the problem, so have already had to re-install once due to something I tried. Here is some information that I hope will identify the problem to someone who knows what to look for. Thanks for your suggestions.
  • The wired connection works (I'm using it now)
    I can 'see' various wifi networks, including my own. I select the applicable network, enter the WPA/WPA2-PSK password (correctly), and wait for the connection to link. After some time I'm asked for the password again. i.e. no connection
    I have tried disabling the security on the router - same result, no connection
    I can connect successfully to the same network using a Windows 7 laptop and various android devices - I'm reluctant to experiment with the router too much in case everything else stops working!
    Before I installed Mint, I had XP on this laptop, which connected using the same hardware

Code: Select all

sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
-------------------------
* I. scanning WIFI PCI devices...
-- Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
==> PCI ID = 8086:4222 (rev 02)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo no wireless extensions.

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

eth0 no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 00:18:f3:c3:c7:4a
inet addr:192.168.0.15 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fdd7:7ac6:b62d:0:218:f3ff:fec3:c74a/64 Scope:Global
inet6 addr: fe80::218:f3ff:fec3:c74a/64 Scope:Link
inet6 addr: fdd7:7ac6:b62d:0:74d5:64ee:23e8:2110/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9937 errors:0 dropped:0 overruns:0 frame:0
TX packets:8465 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10929861 (10.9 MB) TX bytes:954995 (954.9 KB)
Interrupt:16 Base address:0xd800

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:16436 Metric:1
RX packets:421 errors:0 dropped:0 overruns:0 frame:0
TX packets:421 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:49731 (49.7 KB) TX bytes:49731 (49.7 KB)

wlan0 Link encap:Ethernet HWaddr 00:18:de:37:0f:a5
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)

-------------------------
* V. querying DHCP...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service smbd reload

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the reload(8) utility, e.g. reload smbd
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server: 192.168.0.1
Address: 192.168.0.1#53

Non-authoritative answer:
Name: google.com
Address: 173.194.41.169
Name: google.com
Address: 173.194.41.174
Name: google.com
Address: 173.194.41.166
Name: google.com
Address: 173.194.41.164
Name: google.com
Address: 173.194.41.160
Name: google.com
Address: 173.194.41.162
Name: google.com
Address: 173.194.41.161
Name: google.com
Address: 173.194.41.165
Name: google.com
Address: 173.194.41.168
Name: google.com
Address: 173.194.41.167
Name: google.com
Address: 173.194.41.163

Code: Select all

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

Code: Select all

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0402:5602 ALi Corp. M5602 Video Camera Controller
Bus 002 Device 002: ID 046d:c510 Logitech, Inc. Cordless Mouse

Code: Select all

lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 3 (rev 02)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation G72M [Quadro NVS 110M/GeForce Go 7300] (rev a1)
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
06:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
06:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
06:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 01)
06:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
06:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Mint 13 xfce - wifi not connecting to network

Post by JeremyB »

Run this in terminal and post the URL that results, it should give us a lot of non-personal info without running a lot of different commands

Code: Select all

 wget -N -t 5 -T 10 https://www.dropbox.com/s/0h4ef93hjiz0dgy/wireless_script_mod && \chmod +x wireless_script_mod && \./wireless_script_mod
What is the network you want to connect to-SSID? Are there any unusual characters in your password, can you type it in terminal and view it- I think one poster here had a problem with an umlaut in a password, the same problem might exist with SSID
CuriousPeople

Re: Mint 13 xfce - wifi not connecting to network

Post by CuriousPeople »

Here is the url generated:

Code: Select all

http://pastebin.com/ncWUc9yj
The network is SSID, the password is 8 capital letters (A to Z) with no special characters. Relating to that, the only thing possibly to note is that this is a Swedish keyboard with slighly unusual layout and some extra letters. However these are not used as already noted.

For your information, the code you provided did not work for me - I had to download the script manually using a browser and managed to run it from my Downloads directory. The error I got was:

Code: Select all

wget -N -t 5 -T 10 https://www.dropbox.com/s/0h4ef93hjiz0dgy/wireless_script_mod && \chmod +x wireless_script_mod && \./wireless_script_mod
--2014-08-22 07:27:48--  https://www.dropbox.com/s/0h4ef93hjiz0dgy/wireless_script_mod
Resolving http://www.dropbox.com (http://www.dropbox.com)... failed: Connection timed out.
wget: unable to resolve host address `www.dropbox.com'
Which is strange since as I mentioned, I managed to access the file from a web browser.
Thanks.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Mint 13 xfce - wifi not connecting to network

Post by JeremyB »

First thing I would do is change the routers encryption to WPA2-AES only as it is in mixed mode now and we will set your country which appears to be GB with

Code: Select all

sudo iw reg set GB
Does your router have the latest updates?
CuriousPeople

Re: Mint 13 xfce - wifi not connecting to network

Post by CuriousPeople »

I've changed the router's encryption to WPA2-AES, and ran the code suggested. My guess at checking the results seems to confirm this:

Code: Select all

iw reg get
country GB:
	(2402 - 2482 @ 40), (N/A, 20)
	(5170 - 5250 @ 40), (N/A, 20)
	(5250 - 5330 @ 40), (N/A, 20), DFS
	(5490 - 5710 @ 40), (N/A, 27), DFS
My andoid phone picks up the new router settings, but Linux is still not talking. I'm not sure how to check the status of the current router upgrades, but I believe this should have been updated automatically by SKY. The current details are:
System Details
Manufacturer Sagemcom
Model Number F@ST2504n
Firmware Version 7.16a4N_UNI
ADSL Firmware Version A2pD038m.d24h
Strangely, I now seem to have two network icons in the system tray bottom right, always showing the same thing.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Mint 13 xfce - wifi not connecting to network

Post by JeremyB »

Well lets try

Code: Select all

sudo modprobe -rv iwl3945

Code: Select all

sudo modprobe iwlegacy bt_coex_active=N

Code: Select all

sudo modprobe iwl3945 swcrypto=1
Have you tried to use Linux Mint 17 XFCE?

If the above doesn't work, the newer kernel for LM13 might
CuriousPeople

Re: Mint 13 xfce - wifi not connecting to network

Post by CuriousPeople »

No success unfortunately. For the second command, I get

Code: Select all

FATAL: Module iwlegacy not found.
I now have this problem with the 'double' connection icons running - could this be causing a new conflict problem? Whenever the wireless asks for my password, two windows pop up. I don't know if this is something I did when running the iw reg command more than once.

I haven't tried Mint 17, but I have tried Ubuntu 14.04 which I understand should have some common elements? Same story - I can see my network but not connect. I'm willing to give Mint 17 xfce a go if you think this could be a solution.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Mint 13 xfce - wifi not connecting to network

Post by JeremyB »

CuriousPeople wrote:No success unfortunately. For the second command, I get

Code: Select all

FATAL: Module iwlegacy not found.
I now have this problem with the 'double' connection icons running - could this be causing a new conflict problem? Whenever the wireless asks for my password, two windows pop up. I don't know if this is something I did when running the iw reg command more than once.

I haven't tried Mint 17, but I have tried Ubuntu 14.04 which I understand should have some common elements? Same story - I can see my network but not connect. I'm willing to give Mint 17 xfce a go if you think this could be a solution.
Should have been

Code: Select all

sudo modprobe iwl_legacy bt_coex_active=N
Deleting the entries in network manager and just adding one might fix the double windows

The card should work in Mint 13/17/Ubuntu, I had a Sony Vaio laptop that had the same card in it. I put LM17 Cinnamon on it and it would connect without any issues to my wifi hotspot
CuriousPeople

Re: Mint 13 xfce - wifi not connecting to network

Post by CuriousPeople »

I'll give Mint 17 a go unless you have any other suggestions? The corrected legacy command didn't make any difference, but I have managed to sort out the double windows by setting the region back to global and then to GB again... :?: There was only ever a single connection in the network manager.

Would another possible solution be to buy a usb wifi dongle (i.e. is the problem linked to the internal card), or do you think the problem is on the router side?
PatH57

Re: Mint 13 xfce - wifi not connecting to network

Post by PatH57 »

Hi,

seems you are not the only one with this problem, it does happen that other drivers interfere with the iwl one.
just to double check send the output of

Code: Select all

lsmod
another wifi dongle may work.
CuriousPeople

Re: Mint 13 xfce - wifi not connecting to network

Post by CuriousPeople »

lsmod

Code: Select all

Module                  Size  Used by
rfcomm                 38139  4 
parport_pc             32114  0 
ppdev                  12849  0 
bnep                   17830  2 
bluetooth             158438  10 rfcomm,bnep
binfmt_misc            17292  1 
snd_hda_codec_si3054    12864  1 
snd_hda_codec_analog    75395  1 
joydev                 17393  0 
usbhid                 41906  0 
hid                    77367  1 usbhid
snd_hda_intel          32765  6 
snd_hda_codec         109562  3 snd_hda_codec_si3054,snd_hda_codec_analog,snd_hda_intel
snd_hwdep              13276  1 snd_hda_codec
arc4                   12473  2 
snd_pcm                80845  5 snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec
nvidia              10304303  32 
iwl3945                73111  0 
iwl_legacy             71134  1 iwl3945
mac80211              436455  2 iwl3945,iwl_legacy
gspca_m5602            51493  0 
gspca_main             27654  1 gspca_m5602
snd_seq_midi           13132  0 
snd_rawmidi            25424  1 snd_seq_midi
videodev               86588  1 gspca_main
r852                   17901  0 
sm_common              16737  1 r852
nand                   49667  2 r852,sm_common
nand_ids                8547  1 nand
snd_seq_midi_event     14475  1 snd_seq_midi
r592                   17808  0 
mtd                    35584  2 sm_common,nand
nand_bch               13003  1 nand
bch                    21757  1 nand_bch
nand_ecc               13070  1 nand
psmouse                87140  0 
serio_raw              13027  0 
memstick               15857  1 r592
snd_seq                51567  2 snd_seq_midi,snd_seq_midi_event
snd_timer              28931  2 snd_pcm,snd_seq
snd_seq_device         14172  3 snd_seq_midi,snd_rawmidi,snd_seq
video                  19068  0 
cfg80211              178679  3 iwl3945,iwl_legacy,mac80211
asus_laptop            23693  0 
sparse_keymap          13658  1 asus_laptop
input_polldev          13648  1 asus_laptop
snd                    62064  20 snd_hda_codec_si3054,snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
mac_hid                13077  0 
soundcore              14635  1 snd
snd_page_alloc         14115  2 snd_hda_intel,snd_pcm
lp                     17455  0 
parport                40930  3 parport_pc,ppdev,lp
8139too                23283  0 
8139cp                 22633  0 
firewire_ohci          40180  0 
firewire_core          56906  1 firewire_ohci
crc_itu_t              12627  1 firewire_core
sdhci_pci              18324  0 
sdhci                  28241  1 sdhci_pci
PatH57

Re: Mint 13 xfce - wifi not connecting to network

Post by PatH57 »

wild shot but let's try to blacklist know items that may interfere with the iwl driver

Code: Select all

sudo gedit /etc/modprobe.d/blacklist.conf
and add:
blacklist leds_ss4200
blacklist asus_laptop
save and reboot then try to connect again.
Also set your channel to 3 it has a bit more pep.
The emission level of your card is set to 15 dBm witch is low (windows drivers usually push them to 20) not sure if we can do it with the 3.2 kernel and driver but I will check it.
After reboot delete your existing connection and recreate one to make sure the password is correct and to refresh the wifi settings.
CuriousPeople

<SOLVED> Mint 13 xfce - wifi not connecting to network

Post by CuriousPeople »

:D Sometimes the long shots work best! The blacklist update seems to have fixed the problem (change to channel 3 was not needed).

Code: Select all

sudo gedit /etc/modprobe.d/blacklist.conf
and add:
blacklist leds_ss4200
blacklist asus_laptop
I am now connected via my wifi.Thank you very much for your help, both of you!
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Mint 13 xfce - wifi not connecting to network

Post by JeremyB »

Well after that I am going to change the wireless_script file I made modifications to to allow results for asus as asus_laptop causes issues with LM13 and asus_nm_wmi has a parameter that can solve issues in LM17. I wasn't part of making the script, the ubuntuforums members that created the script or contributed it are Wild Man, Krytarik with help from Chili555 and Varunendra

Dropbox seems to be having some issues so I don't know when the change will happen
PatH57

Re: <SOLVED> Mint 13 xfce - wifi not connecting to network

Post by PatH57 »

Chili555
comes around from time to time and is still active on the Ubuntu forums. He was the one that fixed my first ubuntu PC (1998) with the then dreaded broadcom wifi card :lol: glad we can give back some of his knowledge.
I would still use channel 3 so you have it all for you and your other machines.
Locked

Return to “Networking”