You are not logged in.

#1 2009-09-16 04:41:19

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 127

[solved]netcfg doesn't work

because wpa_cli doesn't work:

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

wpa_check() in the file /usr/lib/wireless/8021x terminates the wpa_supplicant process, so, I can't automagicly connect to wireless at boot time. Any fixes to the wpa_cli or should I change the script files?

my wireless card:

02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
Kernel driver in use: wl
Kernel modules: wl, ssb

edit:
http://bbs.archlinux.org/viewtopic.php?id=80239 <- no network here "DAEMONS=(@net-profiles oss @mpd syslog-ng @crond)"

Last edited by hack.augusto (2009-09-17 02:19:47)

Offline

#2 2009-09-16 10:37:17

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

Re: [solved]netcfg doesn't work

works for me. Post your config and all relevant information

http://wiki.archlinux.org/index.php/Net … o_I_do_.3F

Offline

#3 2009-09-16 17:03:55

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 127

Re: [solved]netcfg doesn't work

here it goes:

# netcfg hack
:: hack up [BUSY]
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
 - Authentication/association failed

I always get this error message from wpa_cli, even when I'm connected

# cat /etc/network.d/hack
CONNECTION="wireless"
DESCRIPTION="My wireless at home"
INTERFACE="eth0"
# tryed with and without this
# IWCONFIG="essid hack" 
# SCAN=no
SECURITY="wpa-config"
IP="dhcp"
# netcfg -v
netcfg v2.2.1
# lsmod
Module                  Size  Used by
michael_mic             2992  4 
arc4                    2192  2 
ecb                     3536  2 
sis                     7984  1 
drm                   190080  2 sis
i2c_core               26816  1 drm
sisfb                 258216  1 sis
ipv6                  336128  14 
oss_usb               124308  0 
oss_hdaudio           152292  0 
osscore               578372  2 oss_usb,oss_hdaudio
ext3                  151488  2 
jbd                    58776  1 ext3
reiserfs              259368  1 
vfat                   13520  0 
fat                    59032  1 vfat
joydev                 13312  0 
fan                     5656  0 
vboxnetflt            110476  0 
vboxdrv              1711660  1 vboxnetflt
cpufreq_powersave       1872  0 
cpufreq_ondemand        9256  0 
uvcvideo               68316  0 
videodev               42048  1 uvcvideo
v4l1_compat            18228  2 uvcvideo,videodev
v4l2_compat_ioctl32    10992  1 videodev
acpi_cpufreq           10272  0 
freq_table              4528  2 cpufreq_ondemand,acpi_cpufreq
video                  24268  0 
output                  3792  1 video
ac                      5720  0 
ssb                    54080  0 
pcmcia                 41704  1 ssb
battery                14072  0 
ohci1394               34180  0 
button                  7216  0 
thermal                17712  0 
ohci_hcd               27052  0 
pcmcia_core            41156  2 ssb,pcmcia
ieee1394               98880  1 ohci1394
processor              42128  3 acpi_cpufreq
psmouse                60404  0 
ehci_hcd               41180  0 
sdhci_pci               9200  0 
sdhci                  20116  1 sdhci_pci
mmc_core               61984  1 sdhci
led_class               5112  1 sdhci
ricoh_mmc               4624  0 
evdev                  12928  0 
pcspkr                  3088  0 
usbcore               179504  5 oss_usb,uvcvideo,ohci_hcd,ehci_hcd
sg                     33824  0 
sis_agp                 8976  1 
sis190                 21556  0 
mii                     5680  1 sis190
serio_raw               7188  0 
shpchp                 40172  0 
pci_hotplug            33376  1 shpchp
wl                   1285380  0 
lib80211_crypt_tkip    10704  0 
lib80211                7124  2 wl,lib80211_crypt_tkip
rtc_cmos               13592  0 
rtc_core               22212  1 rtc_cmos
rtc_lib                 3120  1 rtc_core
ext4                  256304  1 
mbcache                 8980  2 ext3,ext4
jbd2                   69088  1 ext4
crc16                   2096  1 ext4
sd_mod                 30696  5 
sr_mod                 19460  0 
cdrom                  41288  1 sr_mod
sata_sis                6932  4 
ata_generic             6164  0 
pata_sis               14356  1 sata_sis
pata_acpi               5744  0 
libata                192492  4 sata_sis,ata_generic,pata_sis,pata_acpi
scsi_mod              131736  4 sg,sd_mod,sr_mod,libata
# iwconfig
lo        no wireless extensions.

eth0      IEEE 802.11bg  ESSID:"hack"  Nickname:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:22:B0:3F:81:1D   
          Bit Rate=48 Mb/s   Tx-Power:32 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Power Managementmode:All packets received
          Link Quality=5/5  Signal level=-57 dBm  Noise level=-85 dBm
          Rx invalid nwid:0  Rx invalid crypt:1  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth1      no wireless extensions.

vboxnet0  no wireless extensions.

Last edited by hack.augusto (2009-09-16 17:25:37)

Offline

#4 2009-09-17 02:19:05

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 127

Re: [solved]netcfg doesn't work

figured it out, I didn't put the "ctrl_interface=DIR=/var/run/wpa_supplicant" line on my /etc/wpa_supplicant.conf so wpa_cli didn't work, duuh.

Offline

#5 2010-04-11 20:09:03

sheekeebut
Member
Registered: 2010-03-24
Posts: 16

Re: [solved]netcfg doesn't work

Hi hack.augusto,

I'd just like to ask what you typed to display the info:

Code:

02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
Kernel driver in use: wl
Kernel modules: wl, ssb

Offline

#6 2012-09-03 12:32:22

DerEnt
Member
Registered: 2012-09-03
Posts: 8

Re: [solved]netcfg doesn't work

...

Last edited by DerEnt (2012-09-03 14:38:36)

Offline

#7 2012-09-03 12:42:17

DerEnt
Member
Registered: 2012-09-03
Posts: 8

Re: [solved]netcfg doesn't work

Sorry for posting in a thread marked as [solved], won't happen again.
Repost here for further conversation smile

Last edited by DerEnt (2012-09-03 14:40:22)

Offline

Board footer

Powered by FluxBB