You are not logged in.

#1 2007-06-08 10:23:03

matto
Member
From: Münster/germany
Registered: 2004-06-03
Posts: 88
Website

Networkmanager does not work, ifplug does!

hi
setting up my network with
dhcdbd and networkmanager (using knetworkmanager)
does not work for wlan, but
network ifplugd
works perfectly. i wonder why.. and setting up wlan manually with iwconfig and dhclient works too.

rc.conf:

...

eth0="dhcp"
wlan0="dhcp"
INTERFACES=(lo !eth0 !wlan0)

...

DAEMONS=(dbus hal syslog-ng !hotplug !pcmcia !network !netfs crond acpid alsa !powernowd powersaved dhcdbd networkmanager !ifplugd !laptop-mode bluetooth lisa kdm)

my /etc/conf.d/wireless looks like this

wlan_wlan0="ath0 essid any mode managed"
WLAN_INTERFACES=(wlan0)

and ifplugd.conf

NET_IFS="eth0 wlan0"
ARGS="-fwI -u0 -d10"
ARGS_wlan0="-fwI -u0 -d10 -mw"

greetings matto


// DAMNiAM //

Offline

#2 2007-06-08 12:55:20

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: Networkmanager does not work, ifplug does!

NetworkManager is working perfectly for me. Your problem is that for NetworkManager to work, you shouldn't have anything specified in /etc/conf.d/wireless either. So comment out the lines you have specified above in /etc/conf.d/wireless and NetworkManager should work.


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#3 2007-08-03 12:38:40

matto
Member
From: Münster/germany
Registered: 2004-06-03
Posts: 88
Website

Re: Networkmanager does not work, ifplug does!

Hi again. since networkmanager is still not working, i used ifplug for some time. but i decided to give it a new try.

i did a complete new arch-installation, but guess what? networkmanager for me still suckes a big time! it just wont connect to wireless networks!!!!!!!!! it only does the job for wired networkes...

what workes is: (it workes perfectly well and connects VERY fast!)

iwconfig wlan0 essid NETGEAR
iwconfig wlan0 key C6774663DD
dhclient wlan0

we use a very simple wep key, because there is no one around us, who could use our wlan big_smile

my archlinux is up-to-date, using current, extra and community repo. i use gnome-networkmanager with xfce4, but knetworkmanager with xfce4 has the same results. here are my config files:



#
# /etc/rc.conf - Main Configuration for Arch Linux
#

[...]

MODULES=(mii sis900 slhc ac97_bus snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-seq snd-page-alloc snd-pcm snd-rawmidi snd-timer snd snd-mpu401-uart snd-ac97-codec snd-intel8x0m snd-trident soundcore snd-util-mem ndiswrapper)

[...]

lo="lo 127.0.0.1"
#eth0="eth0 192.168.1.77 netmask 255.255.255.0 broadcast 192.168.1.255"
eth0="dhcp"
wlan0="dhcp"
INTERFACES=(lo !eth0 !wlan0)

[...]

gateway="default gw 192.168.1.1"
ROUTES=(!gateway)

[...]

DAEMONS=(syslog-ng !netfs crond dbus hal fam acpid powersaved alsa dhcdbd networkmanager)
# /etc/conf.d/wireless

#wlan_eth0="eth0 mode managed essid default"
#wlan_wlan0="wlan0 mode managed essid any"
#wlan_wlan0="wlan0 mode managed"
#WLAN_INTERFACES=(wlan0)
#
# /etc/modprobe.conf (for v2.6 kernels)
#
alias wlan0 ndiswrapper
#wpa_supplicant configuration file

[...]

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

[...]

network={
        ssid="NETGEAR"
        #psk="your_password_here"
        key_mgmt=NONE
        wep_key0=C6774663DD
        wep_tx_keyidx=0
        auth_alg=SHARED
}

i am not sure about the sens and no sens of wpa-stuff ... i just edited it a bit like i read it in the wiki.

it cant be true that networkmanager does not work for me with wlan!!!!!
thanks for anykind of help smile
greetings matto


// DAMNiAM //

Offline

Board footer

Powered by FluxBB