Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ipw3945 wireless on duo-core. Lights are on... nobody home.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
yinrunning
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2005
Posts: 114
Location: KC,MO,USA

PostPosted: Sun Nov 05, 2006 12:39 am    Post subject: ipw3945 wireless on duo-core. Lights are on... nobody home. Reply with quote

So I've been doing some pretty intensive reading and experimenting for the past two weeks trying to get the intel ipw3945 wireless working on my dell inspirion 9400. No luck.

I've followed the guides and read the howto's. I've installed everything listed with no errors. The card works just fine in the dual-booted windows xp install. In gentoo, all I get is:

Code:
cat5 yinrunning # ipw3945d
ipw3945d - regulatory daemon
Copyright (C) 2005-2006 Intel Corporation. All rights reserved.
version: 1.7.18
2006-11-04 18:38:33: ERROR: Could not find Intel PRO/Wireless 3945ABG Network Connection


That's the error I get no matter how I try to start it. I've tried various hotplug fixes that I've seen, but I'm pretty much stuck. Anybody got anything?
Back to top
View user's profile Send private message
Kate Monster
Apprentice
Apprentice


Joined: 13 Jun 2006
Posts: 226
Location: Clarkston, Michigan

PostPosted: Sun Nov 05, 2006 6:26 pm    Post subject: Reply with quote

Hello,

I do not know anything about that specific wifi card, but can you get it to work with ndiswrapper?
Back to top
View user's profile Send private message
no_hope
Guru
Guru


Joined: 23 Jun 2003
Posts: 482

PostPosted: Sun Nov 05, 2006 9:07 pm    Post subject: Reply with quote

you shouldn't need ndiswrapper to get this card to work.

If you emerge ipw3945, you shouldn't have to run ipw3945d. I believe when you do modprobe ipw3945, ipw3945d will be started automatically.

What does your dmesg look like when you do the modprobe?


Last edited by no_hope on Sun Nov 05, 2006 9:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
no_hope
Guru
Guru


Joined: 23 Jun 2003
Posts: 482

PostPosted: Sun Nov 05, 2006 9:07 pm    Post subject: Reply with quote

oops
Back to top
View user's profile Send private message
yinrunning
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2005
Posts: 114
Location: KC,MO,USA

PostPosted: Mon Nov 06, 2006 12:37 am    Post subject: Reply with quote

I'll post the actual when I get back into a wired connection. ( in windoze on wireless right now ).

But basically, it tries to load the module and the 802 stack and then just.. craps out. the 802 seems to load from what I can see. But every time it gets to the ipw module... bang. error.

I've even gotten it to try to load at boot... no dice.

I almost suspect it's a hotplug issue, but I've tried several of the hotplug fixes I've seen regarding this and nothing produces any results (or difference whatsoever).
Back to top
View user's profile Send private message
no_hope
Guru
Guru


Joined: 23 Jun 2003
Posts: 482

PostPosted: Mon Nov 06, 2006 12:51 am    Post subject: Reply with quote

yinrunning wrote:
I almost suspect it's a hotplug issue, but I've tried several of the hotplug fixes I've seen regarding this and nothing produces any results (or difference whatsoever).


I'm no hotplug expert, but I don't think it comes into play for PCI-express devices like your wireless card.

Also, after you do modprobe ipw3945, also include lsmod output
Back to top
View user's profile Send private message
yinrunning
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2005
Posts: 114
Location: KC,MO,USA

PostPosted: Mon Nov 06, 2006 1:26 am    Post subject: Reply with quote

hmm... Is there anything specific I need for pci-e?

dmesg:
Code:

ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, 1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.0.5mpr
ipw3945: Copyright(c) 2003-2006 Intel Corporation


lsmod:

Code:

cat5 yinrunning # lsmod
Module                  Size  Used by
snd_hda_intel          13012  1
snd_hda_codec         141824  1 snd_hda_intel,[permanent]
snd_pcm                57540  2 snd_hda_intel,snd_hda_codec
snd_timer              15684  1 snd_pcm,[permanent]
snd                    35128  6 snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer,[permanent]
snd_page_alloc          6856  2 snd_hda_intel,snd_pcm
ipw3945                96160  0
ieee80211              25288  1 ipw3945
ieee80211_crypt         4864  1 ieee80211
Back to top
View user's profile Send private message
no_hope
Guru
Guru


Joined: 23 Jun 2003
Posts: 482

PostPosted: Mon Nov 06, 2006 1:47 am    Post subject: Reply with quote

Hm. You are running a pretty old version of the driver. Try to update? What kernel version are you running? Did you emerge ipw3945 and ipw3945d? You mentioned that you followed guides to install drivers. All you should need to do is run emerge ipw3945
Back to top
View user's profile Send private message
yinrunning
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2005
Posts: 114
Location: KC,MO,USA

PostPosted: Mon Nov 06, 2006 1:58 am    Post subject: Reply with quote

hmm... did. just yesterday actually. I'll try an emerge --sync and try again.
Back to top
View user's profile Send private message
yinrunning
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2005
Posts: 114
Location: KC,MO,USA

PostPosted: Mon Nov 06, 2006 2:52 am    Post subject: Reply with quote

well...

I seem to be getting less errors. bumped to module 1.1.0-r1 and daemon 1.7.22-r3.

now.... umm..... not sure what to do.

did ln -s net.lo net.eth1

now..... how do I get net.eth1 to be the wireless card?

I do
- modprobe ipw3945
- /etc/init.d/net.eth1 up

right? am I missing something? Here's my /etc/conf.d/net:

Code:

config_eth0=( "dhcp" )
preferred_aps=( "any" )
config_eth1=( "dhcp" )

modules=( "iwconfig" )



Code:

/etc/init.d/net.eth1 start returns:cat5 init.d # ./net.eth1 start
 * Caching service dependencies ...                                                     [ ok ]
 * Starting eth1
 *   Loading networking modules for eth1
 *     modules: apipa arping ccwgroup macchanger macnet rename netplugd iwconfig essidnet iptunnel ifconfig system dhcpcd ip6to4
 *       netplugd provides plug
 *       iwconfig provides wireless
 *       ifconfig provides interface
 *       dhcpcd provides dhcp
 *   Bringing up eth1
 *     dhcp
 *       network interface eth1 does not exist
 *       Please verify hardware or kernel module (driver)                               [ !! ]
Back to top
View user's profile Send private message
no_hope
Guru
Guru


Joined: 23 Jun 2003
Posts: 482

PostPosted: Mon Nov 06, 2006 11:33 pm    Post subject: Reply with quote

to get a file corresponding to eth1 just make a copy of net.eth0 and call it in net.eth1 (in /etc/inid.d/)

You are supposed to use two files for wireless configuration (I think). one is /etc/conf.d/net another /etc/conf.d/wireless. I am not sure what goes into which file, but you might want to look at /etc/conf.d/wireless.example

To debug the problem do the following:
Code:
iwconfig eth1 essid <essid you want> ; dhcpcd eth1 ; iwconfig eth1; ifconfig eth1


First command tells you card to connect to a certain wireless network (you can try skiping this if you are OK with your card connecting to wireless network with strongest signal). Third command will tell you if you successfully associate with an AP, last command will tell you if you got an IP or not. If you didn't get an IP address, you have more basic problems than config files. If things work, start figuring out how to write configs (I can't help you there)
Back to top
View user's profile Send private message
yinrunning
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2005
Posts: 114
Location: KC,MO,USA

PostPosted: Tue Nov 07, 2006 12:21 am    Post subject: Reply with quote

Well, I know most of that, but how do you get net.eth1 to correspond to the wireless card specifically? Every instruction I've seen assumes that it "just will". Nothing seems to deal with the possibility that it won't. And apparently in my case, it won't.
Back to top
View user's profile Send private message
no_hope
Guru
Guru


Joined: 23 Jun 2003
Posts: 482

PostPosted: Tue Nov 07, 2006 3:15 pm    Post subject: Reply with quote

net.eth1 will correspond to whatever interface is called eth1. The script will infer which interface it should control from its own name (roughly speaking). For example, Atheros-based wireless cards are called ath0, ath1, etc. When I used those, I would make a copy of net.eth0 to net.ath0 and everything would work.

If your wireless card really is called eth1 (as Intel wireless cards usually are), script net.eth1 will attempt to configure it. If that doesn't work (but the command from my previous post works), the problem is with the configuration files, /etc/conf.d/net and /etc/conf.d/wireless, not the net.eth1 script.

This is what failed last time:
Code:
network interface eth1 does not exist
This means that the script tried to configure eth1 but couldn't find it. Probably the driver didn't load properly.

I actually don't use net and wireless config files myself, so I am no expert there, but I would recommend trying the following first:

load the module, run iwconfig to make sure that eth1 exists and that's your wireless interface. If so, do the following for debugging: comment out everything pertaining to eth1 from /etc/conf.d/net and /etc/conf.d/wireless, then just run /etc/init.d/net.eth1 start. This will try bring your card up, connect it to the AP with strongest signal (I assume that would be your AP) and get an IP address. If that works, great, now try to slowly modify net and wireless so that the card associates only with your ESSID, etc. If that doesn't work, try to modify configs to fix the parts that didn't work, e.g. in wireless, tell it to connect to a specific ESSID. Speaking of which, you don't want to configure your card to connect to any AP (preferred_aps=( "any" )), you just want to tell it which network (ESSID) to connect to.

Hope this helps
Back to top
View user's profile Send private message
yinrunning
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2005
Posts: 114
Location: KC,MO,USA

PostPosted: Tue Nov 07, 2006 3:53 pm    Post subject: Reply with quote

Yes, I see what you're saying. I did alot more reading last night and even more re-reading.

And the problem is definitely before I try iwconfig, because that only sees lo and eth0.

So, my problem is still back with the driver and the physical card talking to each other. I've tried up-/down-grading udev, emerging a world update, upping the card driver version... hmm.... gotta be something else I can try. Not sure what.

At least I'm learning some stuff, right?
Back to top
View user's profile Send private message
no_hope
Guru
Guru


Joined: 23 Jun 2003
Posts: 482

PostPosted: Tue Nov 07, 2006 5:02 pm    Post subject: Reply with quote

yinrunning wrote:
At least I'm learning some stuff, right?

As long as you aren't learning to be frustrated with Gentoo :)

I guess you are back to square 1. Are you sure that eth0 isn't your card? X60 have a tiny wireless on/off switch that I tend to bump into "off" every once in a while. Might be worth checking out.

Run modprobe ipw3945 and post your dmesg :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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