LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-05-2010, 03:22 AM   #1
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
Wicd in current won't connect to wireless network. Fixed it with rebuilding


After I upgraded to current(Tue Mar 2 19:07:31 UTC 2010), I could not connect to any wireless network. It will always failed in obtaining IP address. When I rebuild the package and upgrade with the new one, the problem gone. Does anyone have the same experiences?

Also I notice that the package I rebuild is different with the one on the stock tree:
Code:
..ckware-mirrors/slackware64-current% md5sum /tmp/wicd-1.7.0-x86_64-1.txz
446ff631eee4c862263ad0488e3a38be  /tmp/wicd-1.7.0-x86_64-1.txz

        grissiom 2010-03-05 17:21 @darkstar
..ckware-mirrors/slackware64-current% md5sum ./extra/wicd/wicd-1.7.0-x86_64-1.txz
921c46e085fc7a32a4f3260ade327bba  ./extra/wicd/wicd-1.7.0-x86_64-1.txz
Does anyone have some idea of this?
 
Old 03-05-2010, 08:20 PM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Worked fine for me without any rebuild.

Not sure what you mean about the packages being different. The md5sums will never match if you build a package yourself.

The md5sum I have is 921c46e085fc7a32a4f3260ade327bba which is correct according to CHECKSUMS.md5
 
Old 03-05-2010, 11:34 PM   #3
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Original Poster
Rep: Reputation: 45
Really? AFAIK, the same files will give the same md5sum. Why packages build locally will never match the ones provided by Pat?
 
Old 03-05-2010, 11:46 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
It's an interesting question indeed. I would think that MrGoBlIN is quite right -- things like binaries have meta-data in them (don't they?), for one thing, which includes stuff like build-time & date (which will definitely be different) and you've got things like different $CFLAGS on one persons system vs another, slightly different CPU optimizations on one CPU vs another, etc..

I can't put it into one clear-cut sentence as to why two identical packages on two different systems will have different checksums, but it really does seem unlikely to be able to build the same package, even on two identical systems, perhaps even the same package built at two different times on the same machine, and get the same checksum.

I'm inclined to try it!

Last edited by GrapefruiTgirl; 03-05-2010 at 11:49 PM. Reason: don't they?
 
Old 03-05-2010, 11:58 PM   #5
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Code:
574b716a5d64d96b4dc39ebcc83cfc47  testpackage1.tgz
7c6fbb3123e505a376f95a513e109040  testpackage2.tgz
2f086b41da6ae869f196c074065fe30d  testpackage3.tgz
The above are three identical packages of my WM. I made each of them in the same directory, from the same sources, by doing `make clean; make; makepkg` and as we can see, the md5sums are all different. Even though the filename doesn't affect the checksum, I re-made package #3 several times anyways, and gave it the same name over and over, and still the checksum was different each time.

Interesting..
 
Old 03-06-2010, 12:00 AM   #6
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Built wicd awhile ago
Code:
ls -la /tmp/wicd-1.7.0-x86_64-1.txz
-rw-r--r-- 1 root root 355936 2010-03-05 20:32 /tmp/wicd-1.7.0-x86_64-1.txz
bash-3.1$ md5sum /tmp/wicd-1.7.0-x86_64-1.txz
ac9042a494628beb748463d2b6e6f116  /tmp/wicd-1.7.0-x86_64-1.txz
Just rebuilt after reading GrapefruiTgirl's post
Code:
bash-3.1$ ls -la /tmp/wicd-1.7.0-x86_64-1.txz
-rw-r--r-- 1 root root 355888 2010-03-06 00:56 /tmp/wicd-1.7.0-x86_64-1.txz
bash-3.1$ md5sum /tmp/wicd-1.7.0-x86_64-1.txz
c6f18521165a58a15c06fc2522f7d38d  /tmp/wicd-1.7.0-x86_64-1.txz
Each and every time you build/rebuild a package the md5sum will change because of the time stamps.

What's really strange is the size difference. Another quick rebuild -
Code:
bash-3.1$ ls -la /tmp/wicd-1.7.0-x86_64-1.txz
-rw-r--r-- 1 root root 355816 2010-03-06 00:58 /tmp/wicd-1.7.0-x86_64-1.txz
bash-3.1$ md5sum /tmp/wicd-1.7.0-x86_64-1.txz
0b45929da87ae614edf979a77a99482b  /tmp/wicd-1.7.0-x86_64-1.txz
Notice that just a 2 minute difference produced a package with a different size and a different md5sum. Hard to explain, but easy to understand.
 
Old 03-06-2010, 12:16 AM   #7
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Original Poster
Rep: Reputation: 45
Thanks very much for explainings on this topic! The meta-data theory is a way to explain the reason. Thanks! Now I feel I understood more than before ;D
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WICD tray icon says not connected, WICD manager says conneted to wired network?!?! intheshadows Linux - Newbie 1 12-24-2009 12:15 PM
NM & WICD cannot connect to WEP/WPA 2 wireless elusive_night Linux - Newbie 3 09-28-2009 06:04 PM
problem using wicd to connect to a hidden wep network JazzItSelf Slackware 4 08-22-2009 03:46 PM
Wicd on Fedora 10 will not connect to WPA/WPA2 network after install Mikazo Linux - Wireless Networking 2 04-11-2009 12:38 PM
Cannot connect to wireless network with wicd on Zenwalk Kenny_C Linux - Wireless Networking 1 04-07-2009 02:11 PM


All times are GMT -5. The time now is 01:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration