You are not logged in.

#1 2008-06-04 00:48:01

zapyourit
Member
Registered: 2008-05-12
Posts: 46

HELP!!! Wicd is not playing nice

Hello all,

I am currently trying to get Wicd (wonderful networking tool) to run on my Arch box. However, unlike any other time that I have installed the magnificent program, the magnificent program is now a maleovelent one. Code reads as follows:

[matt@myhost ~]$ /usr/lib/wicd/gui.py
attempting to connect daemon...
daemon not running, running gksudo ./daemon.py...
You need to start the daemon before using the gui or tray.  Use the command 'sudo /etc/init.d/wicd start'.
daemon still not running, aborting.
Traceback (most recent call last):
  File "/usr/lib/wicd/gui.py", line 36, in <module>
    daemon = dbus.Interface(proxy_obj, 'org.wicd.daemon')
NameError: name 'proxy_obj' is not defined

There seem to be two problems. The first being that it's looking for /etc/init.d/wicd, which doesnt exist. Any ideas? I tried symlinking between /etc/init.d (directory I created) and /etc/rc.d, along with symlinking a folder 'wicd'  in init.d to 'wicd' in rc.d, but none of that worked...

Second, the NameError. I have no idea what it means or what it could relate to.

Any help at all would be greatly appreciated.

Thanks,
Matt

Last edited by zapyourit (2008-06-04 20:02:04)

Offline

#2 2008-06-04 13:05:59

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: HELP!!! Wicd is not playing nice

You need to start the daemon. In archlinux these can be found in /etc/rc.d/ instead of /etc/init.d/

Autostarting the daemon is done through /etc/rc.conf, but more on that you'll find in the wiki.

Zl.

Offline

#3 2008-06-04 19:58:43

zapyourit
Member
Registered: 2008-05-12
Posts: 46

Re: HELP!!! Wicd is not playing nice

I understand that. But how do I get Wicd to see the /etc/rc.d directory instead of the /etc/init.d directory (which doesn't exist)? That's my question.

Offline

#4 2008-06-05 09:30:27

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: HELP!!! Wicd is not playing nice

That's just a default message and has no consequences whatsoever. When the wicd-service is running, then the GUI will know.

Offline

#5 2008-06-05 16:55:45

zapyourit
Member
Registered: 2008-05-12
Posts: 46

Re: HELP!!! Wicd is not playing nice

But at the same time, I've also tried stopping and starting both DBus and Wicd, both saying that they had started without any problems, but I still get this message. sad

Offline

#6 2008-06-05 19:53:29

sph
Member
Registered: 2008-05-01
Posts: 63
Website

Re: HELP!!! Wicd is not playing nice

Checklist:

1. Edit your /etc/rc.conf.

If activated, deactivate the following daemons like this:

DAEMONS=(... !network ... !dhcdbd ... !networkmanager ...)

Add wicd to the list of daemons -- after dbus:

DAEMONS=(... dbus wicd ...)

2. Restart your system.

3. Open a terminal and start Wicd GUI:

/usr/lib/wicd/gui.py

4. If you you are using WPA and you have got a working /etc/wpa_supplicant.conf, you can do the following:

cd /usr/lib/wicd/encryption/templates
cp wpa wpa.orig

And edit the wpa-template according to your /etc/wpa_supplicant.conf.

Wicd in the ArchWiki: http://wiki.archlinux.org/index.php/Wicd

Last edited by sph (2008-06-05 19:58:37)

Offline

#7 2008-06-05 21:26:32

zapyourit
Member
Registered: 2008-05-12
Posts: 46

Re: HELP!!! Wicd is not playing nice

Thank you, but I know and have done everything you just mentioned. Quite literally, what seemed to have happened, is that the Wicd package was update to the newer version which is seemingly the generic version, not configured to work with Arch's rc.d files but the more common init.d files and therefore not understanding that both Wicd and DBus are running.

Offline

#8 2008-06-06 15:35:07

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: HELP!!! Wicd is not playing nice

I guees than you have to file a bug in flyspray and/or commit a patch.

Zl.

Offline

#9 2008-06-06 15:42:40

danpos
Member
Registered: 2008-01-30
Posts: 10

Re: HELP!!! Wicd is not playing nice

@zapyourit

Wicd is great (and I use it on another machine in my LAN powered with another GNU/Linux distribution), but sometimes it has some strange issues. Maybe you should give archassistant a try (I'm using right now and it's working great managing netcfg2 profiles and other stuffs - everything accessible from tray icon at my xfce4 installation).

Regards,

Danpos.

Offline

Board footer

Powered by FluxBB