Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Get a network problem when install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
hypeboyz
n00b
n00b


Joined: 26 Feb 2012
Posts: 8

PostPosted: Sun Feb 26, 2012 4:25 am    Post subject: Get a network problem when install Reply with quote

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
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 188
Location: Cork, Ireland

PostPosted: Sun Feb 26, 2012 7:42 am    Post subject: Reply with quote

Post
Code:
# ifconfig eth0


so you want to connect on eth0 or wlan0 or both?
Back to top
View user's profile Send private message
hypeboyz
n00b
n00b


Joined: 26 Feb 2012
Posts: 8

PostPosted: Sun Feb 26, 2012 7:54 am    Post subject: Reply with quote

Kaso_da_Zmok wrote:
Post
Code:
# ifconfig eth0


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
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 188
Location: Cork, Ireland

PostPosted: Sun Feb 26, 2012 8:34 am    Post subject: Reply with quote

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
View user's profile Send private message
The Doctor
l33t
l33t


Joined: 27 Jul 2010
Posts: 947

PostPosted: Sun Feb 26, 2012 7:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
hypeboyz
n00b
n00b


Joined: 26 Feb 2012
Posts: 8

PostPosted: Wed Feb 29, 2012 11:45 am    Post subject: Reply with quote

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
View user's profile Send private message
iamben
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 232

PostPosted: Wed Feb 29, 2012 3:11 pm    Post subject: Reply with quote

You need to enable CONFIG_IWLWIFI or CONFIG_IWLAGN (depending on kernel version), and emerge iwl5000-ucode
Back to top
View user's profile Send private message
hypeboyz
n00b
n00b


Joined: 26 Feb 2012
Posts: 8

PostPosted: Wed Mar 07, 2012 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
hypeboyz
n00b
n00b


Joined: 26 Feb 2012
Posts: 8

PostPosted: Wed Mar 07, 2012 12:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 188
Location: Cork, Ireland

PostPosted: Wed Mar 07, 2012 9:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
hypeboyz
n00b
n00b


Joined: 26 Feb 2012
Posts: 8

PostPosted: Wed Mar 28, 2012 8:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum