You are not logged in.

#1 2007-08-01 02:27:24

Alec
Member
Registered: 2007-07-27
Posts: 10

I can't get networkmanager to work...

Hi

I decided to install Arch a few days ago, and I'd have to say I'm overall impressed! smile

I'm currently trying to set up the wireless network.
I read the wiki as wiki and searched google, but it doesn't seem to work.

All sources say that I need to install the network driver (in my case ipw3945), install the networkmanager, and update rc.conf accordingly. I did that, but KNetworkManager says "No Network device found"...

Here's my rc.conf:

LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="America/New_York"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
MOD_AUTOLOAD="yes"
MOD_BLACKLIST=()
MODULES=(b44 mii ipw3945 snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
USELVM="no"
HOSTNAME="tux"
lo="lo 127.0.0.1"
eth0="dhcp"
eth1="dhcp"
eth2="dhcp"
INTERFACES=(lo !eth0 !eth1 !eth2)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
DAEMONS=(syslog-ng ipw3945d !network dhcdbd networkmanager hal netfs crond kdm)

Am I missing something?
Thanks in advance!

Offline

#2 2007-08-01 05:03:41

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: I can't get networkmanager to work...

Nope, that looks good to me (I also have an ipw3945 wifi)... however, there are known issues with the latest NetworkManager and the ipw3945.  I too can't connect with the latest version, I just keep getting prompted for the password over and over and over and over....

A workaround is to grab the previous ipw3945 package here: http://phraktured.net/archmirror/extra/ … pkg.tar.gz
Or for 64-bit version, here: http://phraktured.net/archmirror/extra/ … pkg.tar.gz

Install the downloaded package with:

# pacman -U <package-filename>

Last edited by thayer.w (2007-08-01 05:08:37)


thayer williams ~ cinderwick.ca

Offline

#3 2007-08-01 05:07:28

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: I can't get networkmanager to work...

Ah ha, perhaps I jumped the gun a bit... can you see your wifi card when you type ifconfig or iwconfig in a shell?

iwconfig should spit out something like this:

          eth1      unassociated  ESSID:"your-network" 
          Mode:Managed  Frequency=2.447 GHz  Access Point: 00:60:B3:5D:69:82   
          Bit Rate:0 kb/s   Tx-Power:16 dBm   
          Retry limit:15   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:2801   Missed beacon:0


thayer williams ~ cinderwick.ca

Offline

#4 2007-08-01 15:15:03

Alec
Member
Registered: 2007-07-27
Posts: 10

Re: I can't get networkmanager to work...

Yes I can, except it obviously does not connect to the right network (since mine's encrypted):

eth1      IEEE 802.11g  ESSID:"default"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:13:46:A2:8A:70
          Bit Rate:18 Mb/s   Tx-Power:15 dBm
          Retry limit:15   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=45/100  Signal level=-81 dBm  Noise level=-82 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:48   Missed beacon:0

So I am guesing that NetworkManager is working? Is it just KNetworkManager that doesn't? (Which would be a bit odd...)

The version of ipw3945 you gave me is the same one I'm using.

Here's what it looks like:
knm.png

Offline

#5 2007-08-01 16:13:12

Alec
Member
Registered: 2007-07-27
Posts: 10

Re: I can't get networkmanager to work...

Ok, I'm at the point where, as you said, it keeps asking me for the password over and over. tongue Which version of ipw3945 is good and where can I get it?

I reordered the daemons like this:
DAEMONS=(syslog-ng kdm ipw3945d !network hal netfs crond dhcdbd networkmanager)
and connected to the wireless once, but I can't anymore...


Also, is it this normal? When I shut down the computer, it says:

Sending SIGTERM To Processes
NetworkManager: <WARN> nm_signal_handler(): Caught signal 15, shutting down normally.

NetworkManager: <info> deactivating device eth1.

NetworkManager: <WARN> nm_hal_deinit(): libhalshutdown failed - connection is closed.

nm_dbus_signal_device_status_change: asserion `cb_data->data->dbus_connection' failed.

hal was already turned off...
Is my order still incorrect? Could you plaese post your DAEMONS line?

Last edited by Alec (2007-08-01 18:55:54)

Offline

#6 2007-08-01 20:43:11

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: I can't get networkmanager to work...

Sorry about the link I provided, I didn't notice that Phraktured is running the most current edition on his mirror.  I've uploaded the original version I had in mind (1.2.0-6) to my server:

http://www.cinderwick.ca/files/ipw3945- … pkg.tar.gz

That package is what did the trick for me when I was getting the password prompt repeatedly.  I'm now using wifi-radar under Openbox (which wasn't fun to setup mind you) instead of Networkmanager, but I do hope the issues get worked out.  I use a WPA-TKIP setup, which seems to be what some other ipw3945/networkmanager folks are having problems with.

For the record, my daemon array looks like this:

DAEMONS=(syslog-ng powersaved ipw3945d !ifplugd !@network dhcdbd networkmanager @alsa @crond @cups @fam !@netfs @ntpd @sshd)

As long as ipw3945d is before dhcdbd/networkmanager it should be fine.  And of course, dhcdbd should be before networkmanager as well. Your MODULES list (from the earlier post) looks fine too.

For more information on the subject, refer to this earlier thread: http://bbs.archlinux.org/viewtopic.php?id=34774


thayer williams ~ cinderwick.ca

Offline

#7 2007-08-01 21:45:49

Shemeta
Member
Registered: 2004-02-11
Posts: 117

Re: I can't get networkmanager to work...

networkmanager can be very frustrating. you should try WICD. it is available on AUR. it works much better than networkmanager.

Offline

#8 2007-08-01 23:38:23

pudgewacl
Member
Registered: 2007-06-08
Posts: 16

Re: I can't get networkmanager to work...

I had the exact same problem.  I just downgraded the driver and networkmager started to work.
I have since got rid of networkmanager and use the new network scripts.  The script works perfectly.  I would recomened doing the same.

Good luck.

Matt

Offline

#9 2007-08-01 23:47:59

hacosta
Member
From: Mexico
Registered: 2006-10-22
Posts: 423

Re: I can't get networkmanager to work...

@alec
check your permissions can you post the output of `groups` and also, try running both networkmanager and knetworkmanager in a shel and look for suspicious output

Offline

#10 2007-08-02 02:24:21

Alec
Member
Registered: 2007-07-27
Posts: 10

Re: I can't get networkmanager to work...

Thanks everyone for your replies!

thayer.w wrote:

Sorry about the link I provided, I didn't notice that Phraktured is running the most current edition on his mirror.  I've uploaded the original version I had in mind (1.2.0-6) to my server:

http://www.cinderwick.ca/files/ipw3945- … pkg.tar.gz

Thanks! Unfortunately, it's for kernel 2.6.21... I'll try to downgrade it tomorrow and see if it works. And if it does, would I be able to use ABS to compile the module for the latest kernel?

hacosta wrote:

check your permissions can you post the output of `groups` and also, try running both networkmanager and knetworkmanager in a shel and look for suspicious output

groups returns "network video audio optical storage users" (this is for the user)

I'll post the output tomorrow if downgrading the module doesn't do the trick

Offline

#11 2007-08-02 15:04:45

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: I can't get networkmanager to work...

Recompile the kernel to get wifi working? *shiver*

I wasn't aware of the kernel dependencies, sorry.  Hrmm.. the easiest thing might be to just setup wifi-radar at this point, especially if you're trying to connect to a WPA-TKIP network, because I could just post my settings for ya.

I'm just surprised that so few people have experienced this issue with the ipw3945 driver and networkmanager. I figured it would've been fixed weeks ago.


thayer williams ~ cinderwick.ca

Offline

#12 2007-08-02 15:30:51

Alec
Member
Registered: 2007-07-27
Posts: 10

Re: I can't get networkmanager to work...

Ok, I downgraded the ipw3945 module with the kernel, but it still doesn't like my network passphrase...

I did some research, though, and found that ipw3945 is horrible with hidden SSIDs, so I had it set to broadcast. Now it works like a charm.

Thanks everyone! big_smile


Edit: Is there a way to get rid of that message at shutdown?

Last edited by Alec (2007-08-02 15:53:28)

Offline

#13 2007-08-02 16:48:05

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: I can't get networkmanager to work...

Not that I know of...I looked into that as well.  It always spits out rubbish at shutdown, sometimes only a line or two, other times it's a full screen of error messages.


thayer williams ~ cinderwick.ca

Offline

Board footer

Powered by FluxBB