topic title: wicd upgrade
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#1
If you have upgraded (by choice or otherwise) wicd, you'll find that it will no longer open in the antix control centre.

This is what you should do.

1. Remove all instances of wicd.
#rm /var/lib/dpkg/info/wicd.prerm
#apt-get remove --purge wicd

Also remove the files that are left behind.

2. Remove the wicd folder and contents from /opt folder

3. Install new (Debian) version of wicd
#apt-get install wicd
Hit y to accept new changes if asked.

4. Edit antiX control centre settings (2 files)

Go to /usr/local/bin
a) edit wicdtrayicon.sh lines 9 and 10 to read:
echo"wicd-client &" >> ~/.icewm/startup
echo"wicd-client &" >> ~/.fluxbox/startup

b) edit controlcenter.sh
line 190 to read <action>wicd-client -n &</action>

5. Remove from .fluxbox/startup and .icewm/startup all references to /opt/wicd

6. You will probably need to reboot.

7. Make sure the /etc/init.d/wicd is the same as the one here, post 8:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wicd.sourceforge.net/punbb/viewtopic.php?id=187"
linktext was:"http://wicd.sourceforge.net/punbb/viewtopic.php?id=187"
====================================
" onclick="window.open(this.href);return false

This is taken from here:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wicd.net/punbb/viewtopic.php?id=209"
linktext was:"http://wicd.net/punbb/viewtopic.php?id=209"
====================================
" onclick="window.open(this.href);return false

Thanks to eriefisher.

Please add if there are any mistakes.

Edit: For step 4, I have uploaded the new files.
1. Make backup copies of controlcenter.sh and wicdtrayicon.sh in /usr/local/bin
2.

Code: Select all

#cd /usr/local/bin; wget -Nc http://www.mepisimo.com/antix/wicd-1.5-3/controlcenter.sh; chmod +x controlcenter.sh

Code: Select all

# cd /usr/local/bin; wget -Nc http://www.mepisimo.com/antix/wicd-1.5-3/wicdtrayicon.sh; chmod +x wicdtrayicon.sh 
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#2
Please post if you have trouble. we covered a lot in a short time in chat and may have missed something in the step by step. I think everything may have been ok if you accept the authors scripts instead of keeping the old during the upgrade other than the control center of course.
Posts: 12
flammen
Joined: 04 Oct 2008
#3
Haha, actually I run into a problem during the first step. It won't let me remove wicd.

root@kellen-desktop:/home/kellen# apt-get remove --purge wicd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer require
libparted1.8-9
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
wicd*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 1774kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 61388 files and directories currently installed.)
Removing wicd ...
Stopping wicd daemon...
invoke-rc.d: initscript wicd, action"stop" failed.
dpkg: error processing wicd (--purge):
subprocess pre-removal script returned error exit status 1
update-rc.d: warning: /etc/init.d/wicd missing LSB information
update-rc.d: see <
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wiki.debian.org/LSBInitScripts"
linktext was:"http://wiki.debian.org/LSBInitScripts"
====================================
>
Stopping any running daemons...
Starting wicd daemon...
Errors were encountered while processing:
wicd
E: Sub-process /usr/bin/dpkg returned an error code (1)
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#4
Try from here:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wicd.net/punbb/viewtopic.php?id=187"
linktext was:"http://wicd.net/punbb/viewtopic.php?id=187"
====================================
" onclick="window.open(this.href);return false
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#5
As root:

Code: Select all

rm /var/lib/dpkg/info/wicd.prerm
Then:

Code: Select all

apt-get remove --purge wicd
apt-get install wicd
Posts: 12
flammen
Joined: 04 Oct 2008
#6
That did the trick. Thanks guys. Wicd is working now, tray icon and all. I'm impressed with how quickly a solution was found and put out for others. Great work!
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#7
So I guess we didn't miss too much then. Good stuff.
Posts: 29
sleepyEDB
Joined: 18 Sep 2008
#8
Worked perfectly for me as well.

Many thanks to both anticapitalista and eriefisher! __{{emoticon}}__


sleepy
Posts: 29
sleepyEDB
Joined: 18 Sep 2008
#9
-Update-

I went back into antiX on my laptop yesterday for the first time since my above post, and wicd has reverted back to its pre-fix behavior...the daemon is not starting on bootup and the small black application window appears in the upper-left corner of the screen and cannot be closed, killed, etc.

I'm not posting this as a 'hey you, fix this!', or anything like that. __{{emoticon}}__ I can live with having to manually start wicd if that's what it takes. I just thought I'd report back my findings in case this issue comes back on a larger scale. I didn't really have time to troubleshoot much, so if anyone would like me to check anything specific and post back, just let me know.


sleepy
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#10
I would try running through the steps again. Make sure all the old stuff is gone and reinstall wicd.

I have seen this"black window" on my desktop a couple of times. I don't think it's related to wicd because I did not use it there. I think it may be something in the fluxbox startup.
anticapitalista
Posts: 5,956
Site Admin
Joined: 11 Sep 2007
#11
I agree with eriefisher. The black box seems to be a fluxbox issue.
Posts: 29
sleepyEDB
Joined: 18 Sep 2008
#12
eriefisher wrote:I would try running through the steps again. Make sure all the old stuff is gone and reinstall wicd.
Will do.
eriefisher wrote:I have seen this"black window" on my desktop a couple of times. I don't think it's related to wicd because I did not use it there. I think it may be something in the fluxbox startup.
That may be true, but if that is the case it must also be due to something in Icewm, because that is all I've been using for the past few weeks...I even made it my default window manager! __{{emoticon}}__


sleepy
Posts: 29
sleepyEDB
Joined: 18 Sep 2008
#13
Well, it looks like wicd has made a liar out of me.

I booted up my laptop, noticed that wicd was mentioned in the boot process, logged into IceWM...and wicd is not only running in the system tray, but has also automatically connected my to the wireless network, and the 'little black application window' is nowhere to be found. __{{emoticon}}__


I hate computers. __{{emoticon}}__ __{{emoticon}}__


sleepy
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#14
Just wanted to say thank you anticapitalista, eriefisher for the resolution to this problem, had noticed it a while back, but was able to circumvent no wicd by opening control centre > mepis network tool ,>wireless tab>manually entering the essid, apply,>interfaces>start/restart on apply>apply, not very elegant and a pita, this is much better!!!

antiX just lean and mean

cheers
oldhoghead __{{emoticon}}__
Posts: 10
gychang
Joined: 24 Jan 2009
#15
anticapitalista wrote:If you have upgraded (by choice or otherwise) wicd, you'll find that it will no longer open in the antix control centre.

This is what you should do.

1. Remove all instances of wicd.
#rm /var/lib/dpkg/info/wicd.prerm
#apt-get remove --purge wicd

Also remove the files that are left behind.

2. Remove the wicd folder and contents from /opt folder

3. Install new (Debian) version of wicd
#apt-get install wicd
Hit y to accept new changes if asked.

4. Edit antiX control centre settings (2 files)

Go to /usr/local/bin
a) edit wicdtrayicon.sh lines 9 and 10 to read:
echo"wicd-client &" >> ~/.icewm/startup
echo"wicd-client &" >> ~/.fluxbox/startup

b) edit controlcenter.sh
line 190 to read <action>wicd-client -n &</action>

5. Remove from .fluxbox/startup and .icewm/startup all references to /opt/wicd

6. You will probably need to reboot.

7. Make sure the /etc/init.d/wicd is the same as the one here, post 8:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wicd.sourceforge.net/punbb/viewtopic.php?id=187"
linktext was:"http://wicd.sourceforge.net/punbb/viewtopic.php?id=187"
====================================
" onclick="window.open(this.href);return false
I have followed the guidline and suceeded in getting the wicd back but now there is"no wireless that can be found". Before I uploaded the packages, i.e. right after installation of 7.5, it worked fine, finding the my router wireless etc.

on"lspci" my PCI card is seen, now how do I trouble shoot and get it working?

thanks in advance.

gychang