LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mageia (http://www.linuxquestions.org/questions/mageia-97/)
-   -   Can't connect to Wifi network (http://www.linuxquestions.org/questions/mageia-97/cant-connect-to-wifi-network-4175441975/)

future_computer 12-18-2012 09:30 AM

Can't connect to Wifi network
 
I am using mageia 2.0 on an external HDD,
it boots up well,
the LAN port is working,
my wifi is Intel® Centrino® Wireless-N 1030,
I download the driver and put it in /lib/firmware,
the wifi network can be detected, a few names of wifi were displayed,
I choose my network, and
I key in password, but when I click connect, it says connection error.

camorri 12-18-2012 04:36 PM

Quote:

I download the driver and put it in /lib/firmware
This is not the normal location to put a kernel driver. What exactly did you download? Please supply a link so we know what you did.

This card is supported by the iwlwifi driver since kernel version 2.6.36.

Open a konsole, as root run the command 'lspci -v'. This will dump out many lines of information. look through the lines, and find the ones for your wireless card. Copy and paste all the lines here. The last line should show the kernel driver you have loaded.

I would expect this driver would be part of Magia 2. You should not have to download it. Most drivers found this way are source code, and you have to compile the source to get the binary file to load with the modprobe command.

Is this what you did?

future_computer 12-18-2012 06:43 PM

I did not setup my wifi during installation.
so I download from
http://intellinuxwireless.org/?n=downloads
choose
1. 6030 Images – for Intel Centrino Advanced-N 6230, Wireless-N 1030, Wireless-N 130 and Advanced-N 6235
iwlwifi-6000g2b-ucode-18.168.6.1.tgz 01-20-12 17:46:20 R L
But this does not work
2. It prompts me for this
5000 Images - for Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
iwlwifi-5000-ucode-8.83.5.1-1.tar.gz 12-08-11 14:38:00 R L

It works, I can see my wifi name.
I enter password, and connect, but failed.

future_computer 12-18-2012 06:49 PM

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
Subsystem: Dell Device 04b0
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: f5000000-f60fffff
Prefetchable memory behind bridge: 00000000e0000000-00000000f1ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Dell Device 04ca
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at f6400000 (64-bit, non-prefetchable) [size=4M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Dell Device 04b0
Flags: bus master, fast devsel, latency 0, IRQ 54
Memory at f7b0a000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: mei

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
Subsystem: Dell Device 04b0
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at f7b08000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
Subsystem: Dell Device 04b0
Flags: bus master, fast devsel, latency 0, IRQ 56
Memory at f7b00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=04, sec-latency=0
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=06, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Prefetchable memory behind bridge: 00000000f3200000-00000000f32fffff
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=09, subordinate=0a, sec-latency=0
Memory behind bridge: f7a00000-f7afffff
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0b, subordinate=0c, sec-latency=0
Memory behind bridge: f7900000-f79fffff
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=11, subordinate=1f, sec-latency=0
I/O behind bridge: 0000b000-0000cfff
Memory behind bridge: f6800000-f78fffff
Prefetchable memory behind bridge: 00000000f2100000-00000000f31fffff
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI])
Subsystem: Dell Device 04b0
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at f7b07000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC Controller (rev 05)
Subsystem: Dell Device 04b0
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>

00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
Subsystem: Dell Device 04b0
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 47
I/O ports at f0b0 [size=8]
I/O ports at f0a0 [size=4]
I/O ports at f090 [size=8]
I/O ports at f080 [size=4]
I/O ports at f060 [size=32]
Memory at f7b06000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
Subsystem: Dell Device 04b0
Flags: medium devsel, IRQ 18
Memory at f7b05000 (64-bit, non-prefetchable) [size=256]
I/O ports at f040 [size=32]

01:00.0 VGA compatible controller: nVidia Corporation Device 0df5 (rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell Device 04ca
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
Expansion ROM at f6000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nouveau

01:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1)
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at f6080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
Subsystem: Dell Device 04b0
Flags: bus master, fast devsel, latency 0, IRQ 53
I/O ports at d000 [size=256]
Memory at f3204000 (64-bit, prefetchable) [size=4K]
Memory at f3200000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169

09:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 (rev 34)
Subsystem: Intel Corporation Centrino Wireless-N 1030 BGN
Flags: bus master, fast devsel, latency 0, IRQ 55
Memory at f7a00000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi

0b:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: Dell Device 04b0
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at f7900000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd

future_computer 12-18-2012 06:50 PM

This one.


09:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 (rev 34)
Subsystem: Intel Corporation Centrino Wireless-N 1030 BGN
Flags: bus master, fast devsel, latency 0, IRQ 55
Memory at f7a00000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi

future_computer 12-18-2012 06:52 PM

Good NEWS, it works now.



05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
Subsystem: Dell Device 04b0
Flags: bus master, fast devsel, latency 0, IRQ 53
I/O ports at d000 [size=256]
Memory at f3204000 (64-bit, prefetchable) [size=4K]
Memory at f3200000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169

09:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 (rev 34)
Subsystem: Intel Corporation Centrino Wireless-N 1030 BGN
Flags: bus master, fast devsel, latency 0, IRQ 55
Memory at f7a00000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi

camorri 12-18-2012 06:54 PM

Quote:

iwlwifi-6000g2b-ucode-18.168.6.1.tgz 01-20-12 17:46:20 R
This is the firmware, not the driver. Did you unpack it? This is a tar archive. Note the .tgz extension.

You have the driver loaded, your last post shows "Kernel driver in use: iwlwifi". iwlwifi is the driver.

camorri 12-18-2012 07:24 PM

Quote:

Good NEWS, it works now.
Would you please post what you did to fix it? Could you mark the thread 'Solved'? Only the original posted can do that. If you scroll to the top of the thread, click on Thread Tools, there is an option there to mark the thread 'Solved'.

future_computer 12-18-2012 09:02 PM

Quote:

Originally Posted by camorri (Post 4852329)
This is the firmware, not the driver. Did you unpack it? This is a tar archive. Note the .tgz extension.

You have the driver loaded, your last post shows "Kernel driver in use: iwlwifi". iwlwifi is the driver.

yes I unpacked it, and copy the driver to lib/firmware

future_computer 12-18-2012 09:04 PM

NO, it is not solved yet,
it just connected by itself,
but there is still a problem,
after using internet for a few minutes, suddenly it can not surf the net,
though the WIFI is still connected.

I do not why?

I disconnect the wifi, and use the LAN cable, it works, so it is not my modem problem.

Very weird.

future_computer 12-18-2012 09:05 PM

Quote:

Originally Posted by camorri (Post 4852329)
This is the firmware, not the driver. Did you unpack it? This is a tar archive. Note the .tgz extension.

You have the driver loaded, your last post shows "Kernel driver in use: iwlwifi". iwlwifi is the driver.

You are wrong as me, I unpack this but the system does not recognize it,
so I use the other one, and it recognized.

camorri 12-19-2012 08:37 AM

Quote:

You are wrong as me, I unpack this but the system does not recognize it,
so I use the other one, and it recognized.
This statement is confusing. I understand you unpacked the firmware, and placed it in the /lib/firmware directory.

What is "the other one"??? I can not see your system, you need to be specific.

To make this card work, you need the iwlwifi driver loaded in the kernel. You can tell if it is loaded by the command '/sbin/lsmod | grep iwlwifi' or by looking at '/sbin/lspci -v' and the last line of the hardware information will show the kernel module loaded. All commands without the quotes. You need the ucode file in /lib/firmware. As far as I can tell, this file
Quote:

iwlwifi-6000g2b-5.ucode
is the firmware you need.

If you have those conditions met, the rest becomes configuration.

What distro, version and release?

Are you using Network Manager, or WICD to configure it?

What is the output of the command '/sbin/ifconfig' ?

Have you got a router? What is it's configuration? Is it a DHCP server? Have you configured DNS?

future_computer 12-19-2012 08:43 AM

I mean I download this one and unpack,
Quote:

5000 Images - for Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
iwlwifi-5000-ucode-8.83.5.1-1.tar.gz 12-08-11 14:38:00 R L
my wifi unstable, it is connected but can't open webpage after 10minutes,
I have to disconnect it, and reconnect.

future_computer 12-19-2012 08:44 AM

I setup by clicking the network icon on the taskbar,
it opens a setting windows, i can choose my wifi and key in the password to connect.

camorri 12-19-2012 09:03 AM

Quote:

iwlwifi-5000-ucode-8.83.5.1-1.tar.gz
From what I can see, you have the wrong ucode. Can open up the /lib/firmware directory, run a ls-l command, copy and paste any file you have there. It will look something like this:

Quote:

iwlwifi-100-5.ucode
-rw-r--r-- 1 root root 335056 Aug 7 2009 iwlwifi-1000-3.ucode
-rw-r--r-- 1 root root 149816 Oct 20 2008 iwlwifi-3945-1.ucode
-rw-r--r-- 1 root root 150100 Apr 23 2009 iwlwifi-3945-2.ucode
-rw-r--r-- 1 root root 187608 Jul 2 2008 iwlwifi-4965-1.ucode
-rw-r--r-- 1 root root 187972 Jun 23 2009 iwlwifi-4965-2.ucode
-rw-r--r-- 1 root root 345008 Jun 2 2008 iwlwifi-5000-1.ucode
-rw-r--r-- 1 root root 353240 Apr 23 2009 iwlwifi-5000-2.ucode
-rw-r--r-- 1 root root 340696 Dec 2 2010 iwlwifi-5000-5.ucode
-rw-r--r-- 1 root root 337400 May 14 2009 iwlwifi-5150-2.ucode
-rw-r--r-- 1 root root 454608 Jun 2 2010 iwlwifi-6000-4.ucode
-rw-r--r-- 1 root root 444128 Feb 10 2011 iwlwifi-6000g2a-5.ucode
-rw-r--r-- 1 root root 460912 Feb 10 2011 iwlwifi-6000g2b-5.ucode
-rw-r--r-- 1 root root 469780 Dec 8 2010 iwlwifi-6050-5.ucode
Could you please answer the other questions I asked? If you do not know, then just say so.


All times are GMT -5. The time now is 04:12 PM.