| View previous topic :: View next topic |
| Author |
Message |
hypeboyz n00b

Joined: 26 Feb 2012 Posts: 8
|
Posted: Sun Feb 26, 2012 4:25 am Post subject: Get a network problem when install |
|
|
Hi
I gotta a problem when installing gentoo on my laptop. When I net-setup eth0 normally but it cannot bring up the wireless network.
Firstly I've checked ifconfig eth0 output which seems to be alright except one interrupt:19 at last line that I'm not quite sure about. But I can never ping to any IP address even my own router! I'm wondering if the problem should be blame to the wireless env or anything else
thx |
|
| Back to top |
|
 |
Kaso_da_Zmok Apprentice


Joined: 19 Aug 2004 Posts: 188 Location: Cork, Ireland
|
Posted: Sun Feb 26, 2012 7:42 am Post subject: |
|
|
Post
so you want to connect on eth0 or wlan0 or both? |
|
| Back to top |
|
 |
hypeboyz n00b

Joined: 26 Feb 2012 Posts: 8
|
Posted: Sun Feb 26, 2012 7:54 am Post subject: |
|
|
| Kaso_da_Zmok wrote: | Post
so you want to connect on eth0 or wlan0 or both? |
Sorry I got a mistake that my wifi card driver is missing in the kernel... Intel 5100.
Is there any suggests apart from "writing a driver to patch kernel"?
Thank you for your answer! |
|
| Back to top |
|
 |
Kaso_da_Zmok Apprentice


Joined: 19 Aug 2004 Posts: 188 Location: Cork, Ireland
|
Posted: Sun Feb 26, 2012 8:34 am Post subject: |
|
|
| Code: | [*] Wireless LAN --->
<M> Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) |
you only need this to get the Intel Wireless WiFi 5100AGN working.
so, check you kernel config and set this on, recompile it. |
|
| Back to top |
|
 |
The Doctor l33t


Joined: 27 Jul 2010 Posts: 947
|
Posted: Sun Feb 26, 2012 7:24 pm Post subject: |
|
|
Since this is an install, you can't really recompile you kernel. Your kernel is part of the CD. Try using a different CD. I would use the system rescue CD since its gentoo based and has X. _________________ First things first, but not necessarily in that order. |
|
| Back to top |
|
 |
hypeboyz n00b

Joined: 26 Feb 2012 Posts: 8
|
Posted: Wed Feb 29, 2012 11:45 am Post subject: |
|
|
Well much appreciated for your advice all. And I just got a cabel to start my install. But I still cannot bring up wlan0 after the successful install. Whatever I've tried with wpa_supplicant it always prints "Could not read interface wlan0 flags: No such device" and there's no wlan device in ifconfig despite that I've include the wireless driver when compiling kernel. I'm wondering why and how..
Thx |
|
| Back to top |
|
 |
iamben Apprentice

Joined: 10 May 2004 Posts: 232
|
Posted: Wed Feb 29, 2012 3:11 pm Post subject: |
|
|
| You need to enable CONFIG_IWLWIFI or CONFIG_IWLAGN (depending on kernel version), and emerge iwl5000-ucode |
|
| Back to top |
|
 |
hypeboyz n00b

Joined: 26 Feb 2012 Posts: 8
|
Posted: Wed Mar 07, 2012 12:21 pm Post subject: |
|
|
As you've told me I successfully brought up the wlan0. But due to the coexistance with windows xp I got to redistribute the harddriver. Then there goes like a disaster with wpa_supplicant.
My wifi network is set WPA2/TKIP encrypted while it always prints invalid EAPOL-Key. Therefore I changed my routes settings as WPA/AES and my configuration file:
| Code: | network={
ssid="ChinaNet-FYTG"
psk="XXXXX"
proto=WPA
} |
But it doesn't work either which prints:
WPA: CCMP is used, but EAPOL-Key descriptor version 1 is not 2. |
|
| Back to top |
|
 |
hypeboyz n00b

Joined: 26 Feb 2012 Posts: 8
|
Posted: Wed Mar 07, 2012 12:35 pm Post subject: |
|
|
I'm suspecting the reason is due to kernel which doesn't provide correct algorithm for the 4-way shakehand. But I did compile the net-gen intel wifi driver and cfg80211 as built-in. Also I've emerged iwl5000-ucode. Thus I cannot figure out where the problem is...
Thanks |
|
| Back to top |
|
 |
Kaso_da_Zmok Apprentice


Joined: 19 Aug 2004 Posts: 188 Location: Cork, Ireland
|
Posted: Wed Mar 07, 2012 9:19 pm Post subject: |
|
|
i have the same wifi card in my laptop
| Code: | | 0c:00.0 Network controller: Intel Corporation WiFi Link 5100 |
here is my kernel config i use on Dell E6400 laptop
http://pastebin.com/bsnamGpJ
maybe you can double check against what you have. |
|
| Back to top |
|
 |
hypeboyz n00b

Joined: 26 Feb 2012 Posts: 8
|
Posted: Wed Mar 28, 2012 8:23 am Post subject: |
|
|
Alright thanks for your help
I'm busy with my work nowadays that I cannot tried that yet
and sorry for replying so late  |
|
| Back to top |
|
 |
|