Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wicd?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
MrFenix
n00b
n00b


Joined: 19 Jun 2005
Posts: 25

PostPosted: Tue Sep 25, 2007 8:40 pm    Post subject: Wicd? Reply with quote

Hi..
haven't found anything with board search. Is there anyone using WICD on Gentoo?
Any docs / experiences on it? Anyone even knowing it?
Best regards,
MrFenix
Back to top
View user's profile Send private message
msears
n00b
n00b


Joined: 15 Aug 2006
Posts: 30

PostPosted: Wed Oct 10, 2007 3:04 am    Post subject: Reply with quote

I am trying to switch over to E17 fully, and wicd is an absolute necessity! networkmanager is not supported in e, and apparently (say non-gentoo users), wicd works beautifully. I second MrFenix's question; is anyone out there currently using wicd, or is a wicd ebuild in the works?
Back to top
View user's profile Send private message
msears
n00b
n00b


Joined: 15 Aug 2006
Posts: 30

PostPosted: Wed Oct 10, 2007 5:08 am    Post subject: Reply with quote

All right, so I've finally installed it on my box. It required at least these additional programs to be installed and/or updated:

pygtk
pygobject
pycairo

So make sure all your python modules are up to date.

Once you've done so, just go to the wicd homepage (http://wicd.sourceforge.net/), and download the tar.gz file. With root privileges, use Ark (or file-roller or whatever you prefer) to untar it to the folder "/" and voila! You've installed it.

To run it, start the init script:

/etc/init.d/wicd start

and then run the tray icon:

/opt/wicd/tray.py




Note: Although you will (of course) be able to untar the files correctly into / no matter what, you cannot run tray.py until you have the gtk, cairo, and gobject modules for python merged.


I'll start using it now and let you know how it goes.
Back to top
View user's profile Send private message
niceness
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2006
Posts: 86
Location: NS, Serbia

PostPosted: Wed Oct 10, 2007 7:42 pm    Post subject: Reply with quote

@msears
You could also try exalt.
Back to top
View user's profile Send private message
max-232
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2006
Posts: 105
Location: Italy

PostPosted: Wed Oct 17, 2007 6:30 pm    Post subject: Reply with quote

I written a simple (maybe too much, some developer could laugh a lot)
but it works.

bye

Massimo

net-wireless/wicd-1.3.4.ebuild
Code:
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/netscape-flash-9.0.60.0_beta100107.ebuild,v 1.1 2007/10/02 19:44:48 lack Exp $

inherit versionator

DESCRIPTION="WICD"
SRC_URI="http://downloads.sourceforge.net/wicd/wicd_1.3.4-src.tar.bz2"
HOMEPAGE="http://wicd.sourceforge.net/"
IUSE=""
SLOT="0"

KEYWORDS="-* ~x86"
LICENSE="GPL"

src_install() {
        cd ${WORKDIR} && cp -a * ../image
        insinto /
}
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Sat Dec 01, 2007 12:56 pm    Post subject: Reply with quote

add
Code:
MY_P=${PN}_${PV}-src

and change SRC_URI to
Code:
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"

also init.d/wicd should be revised, since it depends on dbus service, and maybe we could dosym to /usr/bin. as soon as I have some spare time Im going to write a new ebuild
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Sun Dec 30, 2007 12:53 pm    Post subject: Reply with quote

is wicd still not officially maintained by Gentoo?
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sun Dec 30, 2007 1:54 pm    Post subject: Reply with quote

G2k wrote:
is wicd still not officially maintained by Gentoo?

Seems not but there's a bug with a recent ebuild for it: https://bugs.gentoo.org/show_bug.cgi?id=198281
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Sun Dec 30, 2007 5:02 pm    Post subject: Reply with quote

ic, thanks

by the way Think4UrS11 who is that girl on the left?? :D
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
Bushmann
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2002
Posts: 137
Location: Germany

PostPosted: Sat Jan 05, 2008 2:02 pm    Post subject: init.d updated Reply with quote

I updated the init.d script so it now depends on dbus

https://bugs.gentoo.org/show_bug.cgi?id=198281
Back to top
View user's profile Send private message
Weedman
n00b
n00b


Joined: 17 Mar 2006
Posts: 52
Location: Tasmania, Australia

PostPosted: Fri Jan 18, 2008 6:17 am    Post subject: Reply with quote

Something interesting I've found (which i've promptly added to the Wicd listing on bugzilla):

http://users.zenwalk.org/user-accounts/gapan/wicd/ZENBUILD
The above link is a Zenwalk build script for Wicd. This includes the lines:

"# Replace dhclient with dhcpcd and ip with route
sed -i -e "s/dhclient /dhcpcd /g" /opt/wicd/networking.py
sed -i -e "s/ip route flush dev/route del dev/g" /opt/wicd/networking.py"

These lines enable the use of dhcpcd instead of dhclient.
I've tried applying these myself, and they work. It's great, no dep on dhcp!
Tested and working with the latest ebuild (1.3.8-r1) from bugzilla.
_________________
"Reality is merely an illusion, albeit a very persistent one." - Albert Einstein
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Wed Feb 27, 2008 6:13 am    Post subject: Reply with quote

I use wicd; works decently enough ... once you beat it into submission. The tray applet is a nice touch.

One thing I had to do was replace the "dhclient" commands in /opt/wicd/networking.py with "dhcpcd", since dhclient completely fails to ever obtain an IP address. No idea why; it causes wicd to fail silently. I have to tell it to use my dhcp client instead. This should be fixed in future releases; upstream added a method to check for available dhcp clients and use the first one. Fewer forced dependencies is good; dhclient is terrible. Future releases also won't depend on ethtool; they will use the standard net-tools package that every distro includes.

One other problem wicd has is that it while it connects, associates, and receives an IP address from a given ESSID, for whatever reason DNS and routing info isn't taken care of. Nothing goes through. Pinging results in the usual "unknown host: foo.com" messages, and "route" tells me that the network is unreachable. I'm pretty sure wicd is failing somewhere, as I don't have any other overriding config files on my system.

I've been updating ebuilds and information in the bug, if anyone wants to follow along.
Back to top
View user's profile Send private message
HoX
Guru
Guru


Joined: 11 Nov 2006
Posts: 385

PostPosted: Sat Mar 01, 2008 3:46 pm    Post subject: Reply with quote

Something doesn't work for me.
I'm using the ebuild posted as bug on bugs.gentoo.org (version 1.4.2, 27th February) with the init script on the same bug, but when I try to use it, it fails with this output:

Quote:
/etc/init.d/wicd start
* Caching service dependencies ... [ok]
* Starting wicd daemon ... [!!]
* ERROR: wicd failed to start


If I start the daemon without the init script it works fine. Why?
_________________
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." -- Damian Conway

Proudly member of the Torino Linux Task Force
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum