You are not logged in.

#1 2008-01-31 02:42:19

aleks
Member
From: United States / Poland
Registered: 2008-01-31
Posts: 3
Website

internet - wireless + madwifi + wpa2 + arch = failed

hey,

I tried everything (i think) so far
and it still doesn't work
without net I cant even instal KDE ;/
I really need some help
here are my config files:

rc.conf:

lo="lo 127.0.0.1"
ath0="ath0 192.168.1.5 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(lo ath0)

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

NET_PROFILES=(main)

etc/network-wireless/main:

DESCRIPTION="Default Network Profile"

# Network Settings
INTERFACE=ath0
HOSTNAME=myhost

# Interface Settings (use IFOPTS="dhcp" for DHCP)
IFOPTS="192.168.1.5 netmask 255.255.255.0 broadcast 192.168.1.255"
GATEWAY=192.168.1.1

# DNS Settings (optional)
DOMAIN=localdomain
DNS1=192.168.1.1
DNS2=192.168.1.1

# Wireless Settings (optional)
ESSID="NaszKabel"

             
USEWPA="yes"        
WPAOPTS="-Dmadwifi -i$INTERFACES -c/etc/wpa_supplicant.conf"

wpa_supplicant.conf

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


network={
     ssid="NaszKabel"
     psk=my_psk
     proto=RSN
}

when Im trying "/etc/rc.d/network restart"
it spits on the screen:

Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

iwconfig shows that Im associated with my network "NaszKabel"

EDIT:

oh and I forgot - on debian everything worked just fine
it found my AP in NetworkManager and connected with it without problems

I would appreciate any help

Last edited by aleks (2008-01-31 02:44:27)

Offline

#2 2008-01-31 08:25:56

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: internet - wireless + madwifi + wpa2 + arch = failed

Please try netcfg2, as the current network profiles system is soon to be surpassed.

http://bbs.archlinux.org/viewtopic.php?id=41897

James

Offline

#3 2008-01-31 17:55:13

aleks
Member
From: United States / Poland
Registered: 2008-01-31
Posts: 3
Website

Re: internet - wireless + madwifi + wpa2 + arch = failed

ok but there isn't any other way to fix it without installing that ??
I don't have internet connection on that computer so I would be kinda inconvenient to install it

Last edited by aleks (2008-01-31 18:04:31)

Offline

#4 2008-01-31 19:27:55

psyspy80
Member
From: London
Registered: 2008-01-26
Posts: 21

Re: internet - wireless + madwifi + wpa2 + arch = failed

Hi aleks,

this line might be wrong:

WPAOPTS="-Dmadwifi -i$INTERFACES -c/etc/wpa_supplicant.conf"

Try to put 'wext' as driver instead of 'madwifi' and see if it works. The howto at http://wiki.archlinux.org/index.php/Wpa_supplicant suggests this if you are using a kernel newer than 2.6.13 which you probably do.

edited:

you can also read this at:

http://menzonius.wordpress.com/2006/07/ … linux-way/

However, I just figgured that it works with both wext and madwifi, for me at least. There seems to be no common understanding which one to use (also look here: http://bbs.archlinux.org/viewtopic.php?id=40561).

Can someone clarify this, please?

Last edited by psyspy80 (2008-01-31 20:02:08)

Offline

#5 2008-01-31 20:41:35

aleks
Member
From: United States / Poland
Registered: 2008-01-31
Posts: 3
Website

Re: internet - wireless + madwifi + wpa2 + arch = failed

I tried with both
and for me both don't work
I just gave up for now and I going back to Debian
and then even entire arch doesn't work properly it boot in mount read only mode
I don't want spend to much time (i just don't have it) trying to fix it
so I leave it now and I'll try again later

Offline

Board footer

Powered by FluxBB