LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mageia (https://www.linuxquestions.org/questions/mageia-97/)
-   -   Can't connect to Wifi network (https://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.

future_computer 12-19-2012 09:09 AM

total 1092
drwxr-xr-x 2 root root 4096 Jan 15 2011 amd-ucode/
drwxr-xr-x 2 root root 4096 Dec 18 08:02 av7110/
-rw-r--r-- 1 root root 13424 Feb 5 2012 carl9170-1.fw
drwxr-xr-x 2 root root 4096 Dec 18 08:02 cis/
drwxr-xr-x 2 root root 4096 Dec 18 08:02 dsp56k/
drwxr-xr-x 2 root root 4096 Jan 15 2011 intel-microcode/
drwxr-xr-x 2 root root 4096 Dec 18 08:02 isci/
-rw-r--r-- 1 root root 340688 Dec 18 15:55 iwlwifi-5000-5.ucode
-rwxr-xr-x 1 root root 679436 Dec 18 15:54 iwlwifi-6000g2b-6.ucode*
drwxr-xr-x 2 root root 4096 Dec 18 08:02 keyspan_pda/
-rw-r--r-- 1 root root 2046 Dec 18 15:55 LICENSE.iwlwifi-5000-ucode
-rwxr-xr-x 1 root root 2046 Dec 18 15:54 LICENSE.iwlwifi-6000g2b-ucode*
drwxr-xr-x 2 root root 4096 Dec 18 08:02 r128/
drwxr-xr-x 2 root root 4096 Dec 18 08:02 radeon/
-rw-r--r-- 1 root root 4922 Dec 18 15:55 README.iwlwifi-5000-ucode
-rwxr-xr-x 1 root root 4796 Dec 18 15:54 README.iwlwifi-6000g2b-ucode*
-rw-r--r-- 1 root root 999 Feb 18 2012 usbduxfast_firmware.bin
-rw-r--r-- 1 root root 1770 Feb 18 2012 usbdux_firmware.bin
-rw-r--r-- 1 root root 8192 Feb 18 2012 usbduxsigma_firmware.bin

future_computer 12-19-2012 09:11 AM

uname -a

inux localhost.localdomain 3.3.6-desktop-2.mga2 #1 SMP Thu May 17 16:25:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

future_computer 12-19-2012 09:12 AM

Using network center and also mageia control center to configure, both are the same.

future_computer 12-19-2012 09:13 AM

/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 78:2B:CB:DE:DD:CD
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)
Interrupt:55 Base address:0x8000

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:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1680 (1.6 KiB) TX bytes:1680 (1.6 KiB)

wlan0 Link encap:Ethernet HWaddr BC:77:37:1A:43:4D
inet addr:10.1.1.4 Bcast:10.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::be77:37ff:fe1a:434d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1349 errors:0 dropped:0 overruns:0 frame:0
TX packets:1146 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1433596 (1.3 MiB) TX bytes:162477 (158.6 KiB)

future_computer 12-19-2012 09:14 AM

Quote:

Have you got a router? What is it's configuration? Is it a DHCP server? Have you configured DNS?
I am using 4G - Wimax service,
it is DHCP, no need Proxy settings.

---------- Post added 12-19-12 at 11:14 PM ----------

It is ipv 4 only,
so ipv 6 is not selected.

camorri 12-19-2012 09:27 AM

Quote:

I am using 4G - Wimax service
I have not had any experience with 4G Wimax. From what I can see, you have the correct kernel module, and correct firmware on your system. So, at this point, not much more I can help with.

Only thing I can suggest, is try the system in another area ( move the system ) where this service is working for others.

Possibly someone here has experience with 4G Wimax, and can suggest some more things.

I summary, next time you open a thread, provide more information up front. I would have never responded to a thread knowing I know very little about this service. Much time has been lost by both of us.

future_computer 12-19-2012 05:55 PM

I believe the driver of wifi is correct,
network setting is also correct.
right now my solution is to "disconnect and connect" whenever the connection does not work,
this solution works.
I am not sure why is it like that,
this does not happen in Ubuntu.

floppywhopper 12-25-2012 12:28 AM

while there are a lot of very competent people here to help
it sounds like this might be a mageia specific problem
may I suggest asking at the official magiea forums
https://forums.mageia.org/en/index.php
if this is still a problem

future_computer 12-25-2012 05:48 PM

I need to connect/disconnect a few times, then it works.
I consider problem solved. D


All times are GMT -5. The time now is 01:38 AM.