LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-16-2009, 07:17 PM   #31
DavidHindman
Member
 
Registered: Dec 2008
Distribution: Slack 13 + JWM
Posts: 101

Rep: Reputation: 23

Quote:
Originally Posted by Lufbery View Post
David,

Thanks for the heads-up. I can give that a try. Would a symlink from /usr/lib/python2.5/site-packages/ to /usr/lib/python2.6/site-packages/ work? I may give that a try.

Regards,
The problem is that wicd-1.6.6.2 installs stuff in the python2.6 directory that doesn't get removed when you removepkg. The older version wicd-1.5.9 installs stuff in the python2.5 directory. (And I'm talking about wicd-1.5.9, not the 1.5.6 that came with Slackware 12.2, the 1.5.6 never worked quite right for me.) You want to be sure that you're using the older wicd stuff. Any way you can accomplish that will be fine.

Wicd can also be installed from the source tarball. Just look at the INSTALL file. Beware, it isn't the usual configure / make / make install. The problem I had is that after you run the python setup you have to manually retrieve scripts from the tarball and put them in the right places in Slackware (specifically /etc/rc.d/rc.wicd and the startup scripts for wicd and wicd-client). But for someone who knows a little more than I do, installing directly from the wicd project's source tarball might be easier.
 
Old 10-17-2009, 08:33 AM   #32
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

I'm using 'wep-hex' without difficulty. The logs below do show that the devices were set and recognized differently. 'eth0' has not been the recognized device for wireless but for some odd reason wicd started to set the device to the wired interface. Checking the ''/etc/udev/rules.d/70-persistent-net.rules' did not seem to change.

I disabled the wireless in the BIOS then did my replacement for 'wicd 1.6.2.1' to 'wicd-1.6.2.2'. As I stated earlier the remove package for 'wicd-1.6.2.1' show some warnings with stale files left. I removed all these files. I then built my wicd.SlackBuild and installpkg. After that I copied the saved wireless-configuration to '/etc/wicd'. Re-enabled the wireless in BIOS and on the re-boot then boot to get my wireless. The difference being device assignment. ??

Code:
excerpt '/var/log/wicd/wicd.log;

2009/10/16 11:21:38 :: wicd initializing...
2009/10/16 11:21:38 :: ---------------------------
2009/10/16 11:21:38 :: wicd is version 1.6.2.1 460
2009/10/16 11:21:39 :: setting backend to external
2009/10/16 11:21:39 :: trying to load backend external
2009/10/16 11:21:40 :: successfully loaded backend external
2009/10/16 11:21:40 :: trying to load backend external
2009/10/16 11:21:40 :: successfully loaded backend external
2009/10/16 11:21:40 :: Automatically detected wireless interface eth0
2009/10/16 11:21:40 :: setting wireless interface eth1
2009/10/16 11:21:40 :: automatically detected wired interface eth1
2009/10/16 11:21:40 :: setting wired interface eth0
2009/10/16 11:21:40 :: setting wpa driver wext
2009/10/16 11:21:40 :: setting use global dns to False
2009/10/16 11:21:40 :: setting global dns
2009/10/16 11:21:40 :: global dns servers are None None None
2009/10/16 11:21:40 :: domain is None
2009/10/16 11:21:40 :: search domain is None
2009/10/16 11:21:40 :: setting automatically reconnect when connection drops True
2009/10/16 11:21:40 :: Setting dhcp client to 2
2009/10/16 11:21:40 :: Wireless configuration file found...
2009/10/16 11:21:40 :: Wired configuration file found...
2009/10/16 11:21:40 :: chmoding configuration files 0600...
2009/10/16 11:21:40 :: chowning configuration files root:root...
2009/10/16 11:21:40 :: Using wireless interface...eth
12009/10/16 11:21:40 :: Using wired interface...eth0
2009/10/16 11:21:47 :: Autoconnecting...
2009/10/16 11:21:49 :: Attempting to autoconnect with wired interface...Putting interface down

2009/10/16 11:21:49 ::
2009/10/16 11:21:49 :: Releasing DHCP leases...
2009/10/16 11:21:49 :: Setting false IP...
2009/10/16 11:21:49 :: Flushing the routing table...
2009/10/16 11:21:49 :: Putting interface up...
2009/10/16 11:21:49 :: Setting static IP : 192.168.1.19
2009/10/16 11:21:49 :: Setting default gateway : 192.168.1.1
2009/10/16 11:21:49 :: Connecting thread exiting.
2009/10/16 11:21:51 :: Sending connection attempt result Success
2009/10/16 11:28:35 :: Daemon going down, killing wicd-monitor...
2009/10/16 11:28:35 :: Removing PID file...
2009/10/16 11:28:35 :: Shutting down...
Code:
excerpt '/var/log/wicd/wicd.log;

2009/10/16 13:08:58 :: ---------------------------
2009/10/16 13:08:58 :: wicd initializing...
2009/10/16 13:08:58 :: ---------------------------
2009/10/16 13:08:58 :: wicd is version 1.6.2.2 463
2009/10/16 13:08:58 :: did not find backend in configuration, setting default external
2009/10/16 13:08:58 :: setting backend to external
2009/10/16 13:08:58 :: trying to load backend external
2009/10/16 13:08:59 :: successfully loaded backend external
2009/10/16 13:08:59 :: trying to load backend external
2009/10/16 13:08:59 :: successfully loaded backend external
2009/10/16 13:08:59 :: Automatically detected wireless interface eth0
2009/10/16 13:08:59 :: did not find wireless_interface in configuration, setting default eth0
2009/10/16 13:08:59 :: setting wireless interface eth0
2009/10/16 13:08:59 :: automatically detected wired interface eth1
2009/10/16 13:08:59 :: did not find wired_interface in configuration, setting default eth1
2009/10/16 13:08:59 :: setting wired interface eth1
2009/10/16 13:08:59 :: did not find wpa_driver in configuration, setting default wext
2009/10/16 13:08:59 :: setting wpa driver wext
2009/10/16 13:08:59 :: did not find always_show_wired_interface in configuration, setting default False
2009/10/16 13:08:59 :: did not find use_global_dns in configuration, setting default False
2009/10/16 13:08:59 :: setting use global dns to False
2009/10/16 13:08:59 :: did not find global_dns_1 in configuration, setting default None
2009/10/16 13:08:59 :: did not find global_dns_2 in configuration, setting default None
2009/10/16 13:08:59 :: did not find global_dns_3 in configuration, setting default None
2009/10/16 13:08:59 :: did not find global_dns_dom in configuration, setting default None
2009/10/16 13:08:59 :: did not find global_search_dom in configuration, setting default None
2009/10/16 13:08:59 :: setting global dns
2009/10/16 13:08:59 :: global dns servers are None None None
2009/10/16 13:08:59 :: domain is None
2009/10/16 13:08:59 :: search domain is None
2009/10/16 13:08:59 :: did not find auto_reconnect in configuration, setting default True
2009/10/16 13:08:59 :: setting automatically reconnect when connection drops True
2009/10/16 13:08:59 :: did not find debug_mode in configuration, setting default False
2009/10/16 13:08:59 :: did not find wired_connect_mode in configuration, setting default 1
2009/10/16 13:08:59 :: did not find signal_display_type in configuration, setting default 0
2009/10/16 13:08:59 :: Setting dhcp client to 2
2009/10/16 13:08:59 :: did not find link_detect_tool in configuration, setting default 0
2009/10/16 13:08:59 :: did not find flush_tool in configuration, setting default 0
2009/10/16 13:08:59 :: did not find prefer_wired in configuration, setting default False
2009/10/16 13:08:59 :: Wireless configuration file found...
2009/10/16 13:08:59 :: Wired configuration file not found, creating a default...
2009/10/16 13:08:59 :: Creating wired profile for wired-default
2009/10/16 13:08:59 :: chmoding configuration files 0600...
2009/10/16 13:08:59 :: chowning configuration files root:root...
2009/10/16 13:08:59 :: Using wireless interface...eth0
2009/10/16 13:08:59 :: Using wired interface...eth1
2009/10/16 13:09:05 :: Autoconnecting...
2009/10/16 13:09:07 :: No wired connection present, attempting to autoconnect to wireless network
2009/10/16 13:09:09 :: trying to automatically connect to...linksys
2009/10/16 13:09:09 :: Connecting to wireless network linksys
2009/10/16 13:09:10 :: Putting interface down
2009/10/16 13:09:10 :: Releasing DHCP leases...
2009/10/16 13:09:10 :: Setting false IP...
2009/10/16 13:09:10 :: Stopping wpa_supplicant
2009/10/16 13:09:10 :: Flushing the routing table...
2009/10/16 13:09:10 :: Putting interface up...
2009/10/16 13:09:10 :: Attempting to authenticate...
2009/10/16 13:09:24 :: Setting static IP : 192.168.1.18
2009/10/16 13:09:24 :: Setting default gateway : 192.168.1.1
2009/10/16 13:09:24 :: Verifying AP association
2009/10/16 13:09:24 :: Connecting thread exiting.
2009/10/16 13:09:26 :: Sending connection attempt result Success
2009/10/16 15:09:22 :: ---------------------------
2009/10/16 15:09:22 :: wicd initializing...
2009/10/16 15:09:22 :: ---------------------------
The separate log sections are for clarity.
 
Old 10-17-2009, 10:03 AM   #33
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by Lufbery View Post
Shadowsnipes, the point seems to be that the newest version doesn't connect to WEP-protected networks for some of us. I downloaded and ran the version in -current to no effect.
I understand the problem. I just mentioned the SlackBuild because it sounds like some people are using SW13 or -current packages for 12.2 (or vice versa) and wondering why files are in the wrong python folders. If you use the SlackBuild, the correct version of python will be detected and the files will go to the appropriate place.
 
Old 10-17-2009, 10:20 AM   #34
DavidHindman
Member
 
Registered: Dec 2008
Distribution: Slack 13 + JWM
Posts: 101

Rep: Reputation: 23
onebuck, thanks for the help. I'm doing one thing differently -> I'm recreating my configuration files from scratch with the 1.6.2.2 version of wicd.

Using wicd-1.6.2.2, the results from my connection attempt (from /var/log/wicd/wicd.log) are:

Code:
2009/10/17 07:05:23 :: wicd is version 1.6.2.2 463
...
2009/10/17 09:25:12 :: Connecting to wireless network eishtmo
2009/10/17 09:25:12 :: Putting interface down
2009/10/17 09:25:12 :: Releasing DHCP leases...
2009/10/17 09:25:12 :: Setting false IP...
2009/10/17 09:25:12 :: Stopping wpa_supplicant 
2009/10/17 09:25:12 :: Flushing the routing table...
2009/10/17 09:25:12 :: Putting interface up...
2009/10/17 09:25:12 :: Attempting to authenticate...
2009/10/17 09:25:48 :: wpa_supplicant authentication may have failed.
2009/10/17 09:25:48 :: Setting static IP : 192.168.2.51
2009/10/17 09:25:48 :: Setting default gateway : 192.168.2.1   
2009/10/17 09:25:48 :: Verifying AP association
2009/10/17 09:25:51 :: Connection Failed: Failed to ping the access point!
2009/10/17 09:25:51 :: exiting connection thread
2009/10/17 09:25:51 :: Sending connection attempt result association_failed
The same thing with the debug flag turned on in the Preferences -> Advanced Settings menu of wicd-client:

Code:
2009/10/17 09:35:38 :: Connecting to wireless network eishtmo
2009/10/17 09:35:38 :: /sbin/dhcpcd -k eth0
2009/10/17 09:35:38 :: ifconfig eth0 0.0.0.0
2009/10/17 09:35:38 :: /sbin/ip route flush dev eth0
2009/10/17 09:35:38 :: ifconfig eth0 down
2009/10/17 09:35:38 :: ifconfig eth0 up  
2009/10/17 09:35:38 :: Putting interface down
2009/10/17 09:35:38 :: ifconfig eth1 down
2009/10/17 09:35:38 :: iwconfig eth1
2009/10/17 09:35:38 :: Releasing DHCP leases...
2009/10/17 09:35:38 :: /sbin/dhcpcd -k eth1 
2009/10/17 09:35:38 :: Setting false IP...
2009/10/17 09:35:38 :: ifconfig eth1 0.0.0.0    
2009/10/17 09:35:38 :: Stopping wpa_supplicant
2009/10/17 09:35:38 :: wpa_cli -i eth1 terminate
2009/10/17 09:35:38 :: Flushing the routing table...
2009/10/17 09:35:38 :: /sbin/ip route flush dev eth1
2009/10/17 09:35:38 :: iwconfig eth1 mode managed
2009/10/17 09:35:38 :: Putting interface up...
2009/10/17 09:35:38 :: ifconfig eth1 up
2009/10/17 09:35:38 :: enctype is wep-hex
2009/10/17 09:35:38 :: Attempting to authenticate...
2009/10/17 09:35:38 :: ['wpa_supplicant', '-B', '-i', 'eth1', '-c', '/var/lib/w
2009/10/17 09:35:38 :: ['iwconfig', 'eth1', 'essid', 'eishtmo']
2009/10/17 09:35:38 :: iwconfig eth1 channel 5
2009/10/17 09:35:38 :: iwconfig eth1 ap 00:1C:DF:F8:51:3E
2009/10/17 09:35:38 :: WPA_CLI RESULT IS DISCONNECTED
2009/10/17 09:35:39 :: WPA_CLI RESULT IS ASSOCIATING
2009/10/17 09:35:40 :: iwconfig eth1
2009/10/17 09:35:40 :: WPA_CLI RESULT IS ASSOCIATING
2009/10/17 09:35:41 :: WPA_CLI RESULT IS ASSOCIATING
2009/10/17 09:35:42 :: WPA_CLI RESULT IS ASSOCIATING
2009/10/17 09:35:43 :: iwconfig eth1
2009/10/17 09:35:43 :: WPA_CLI RESULT IS ASSOCIATING
2009/10/17 09:35:44 :: WPA_CLI RESULT IS SCANNING
2009/10/17 09:35:45 :: iwconfig eth1
...
2009/10/17 09:36:11 :: iwconfig eth1
2009/10/17 09:36:12 :: WPA_CLI RESULT IS ASSOCIATING
2009/10/17 09:36:13 :: WPA_CLI RESULT IS ASSOCIATING   
2009/10/17 09:36:14 :: wpa_supplicant authentication may have failed.  
2009/10/17 09:36:14 :: Setting static IP : 192.168.2.51
2009/10/17 09:36:14 :: ifconfig eth1 192.168.2.51 netmask 255.255.255.0
2009/10/17 09:36:14 :: Setting default gateway : 192.168.2.1
2009/10/17 09:36:14 :: route add default gw 192.168.2.1 dev eth1
2009/10/17 09:36:14 :: Setting DNS : 24.93.41.127
2009/10/17 09:36:14 :: Setting DNS : 24.93.41.128
2009/10/17 09:36:14 :: Setting DNS : 4.2.2.1
2009/10/17 09:36:14 :: Verifying AP association
2009/10/17 09:36:14 :: ping -q -w 3 -c 1 192.168.2.1
2009/10/17 09:36:14 :: Connection Failed: Failed to ping the access point!
2009/10/17 09:36:14 :: ifconfig eth1 0.0.0.0    
2009/10/17 09:36:14 :: /sbin/ip route flush dev eth1
2009/10/17 09:36:14 :: wpa_cli -i eth1 terminate
2009/10/17 09:36:14 :: exiting connection thread
2009/10/17 09:36:14 :: Sending connection attempt result association_failed
ETA: I'm as sure as I can be that I've put in the right key, key format, etc.

Last edited by DavidHindman; 10-17-2009 at 10:26 AM.
 
Old 10-17-2009, 10:21 AM   #35
DavidHindman
Member
 
Registered: Dec 2008
Distribution: Slack 13 + JWM
Posts: 101

Rep: Reputation: 23
Quote:
Originally Posted by shadowsnipes View Post
I understand the problem. I just mentioned the SlackBuild because it sounds like some people are using SW13 or -current packages for 12.2 (or vice versa) and wondering why files are in the wrong python folders. If you use the SlackBuild, the correct version of python will be detected and the files will go to the appropriate place.
Thanks for the tip.

ETA: That works nicely. I got wicd-1.5.9.tar.gz straight from the wicd project's repository. It's in gzip format instead of the bzip2 that the slackbuild script expects. Anyway, I untar'd the slackbuild, copied in wicd-1.5.9.tar.gz, then edited wicd.Slackbuild as follows:

Code:
VERSION=${VERSION:-1.5.9}
...
BUILD=${BUILD:-custom}
...
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
...
python setup.py configure \
  --lib=/usr/lib${LIBDIRSUFFIX}/wicd \
  --kdedir=/usr/share/autostart \
  || exit 1
In other words I edited the version number, the build code, changed it to expect a gz source archive instead of a bz2, and removed the --backends and --wicdgroup options which are not supported by the wicd-1.5.9 package.

Works real fine for me. I wish I could help debug the actual problem to a lower level, but this workaround gets me by. Thanks.

Last edited by DavidHindman; 10-17-2009 at 11:59 AM. Reason: Add details
 
Old 10-17-2009, 10:23 AM   #36
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by shadowsnipes View Post
I understand the problem. I just mentioned the SlackBuild because it sounds like some people are using SW13 or -current packages for 12.2 (or vice versa) and wondering why files are in the wrong python folders. If you use the SlackBuild, the correct version of python will be detected and the files will go to the appropriate place.
Ah ha, now I see where you're going. Okay, I'll try downgrading to the older version of Wicd, but I'll use the Slackbuild script from Slackware 13, suitably modified, to build the package.

That makes sense, so I'll see how it goes.

Regards,
 
Old 10-20-2009, 01:33 PM   #37
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Interestingly, I had an ESSID problem with wicd 1.6.2.2 on Slackware 13.0. For some reason the program kept trying to connect to a network with no name (even though I was using a profile for a named network), and I could not change it manually with iwconfig! I was essentially locked until I killed wicd, and then the ESSID would change properly. If I turned wicd back on before having an IP if would lose the ESSID, but if I already had an IP then it would accept the network settings!

At the time I was trying to connect to a WEP network with a hex code. The profile I had created had the correct code and also the correct passphrase. To fix all of these issues I simply killed wicd, removed the wireless-settings.conf, restarted wicd, and manually configured my profile again. This time, however, I used wep-shared instead of wep-hex. I did not give it the passphrase, but only gave it the hex code. Now everything works fine!
 
Old 10-23-2009, 08:24 AM   #38
chexmix
Member
 
Registered: Apr 2002
Location: Arlington, MA
Distribution: Slackware, Debian, OpenBSD
Posts: 246
Blog Entries: 16

Rep: Reputation: 25
wicd upgraded in -current:

Code:
extra/wicd/wicd-1.6.2.2-i486-1.txz: Upgraded.
... good news! Looking forward to trying it out.

GB
 
  


Reply



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
Multiple SSID jonfa Linux - Wireless Networking 1 09-13-2007 06:01 PM
Question about ssid jschiwal Linux - Wireless Networking 3 11-04-2006 05:15 AM
Regarding SSID bkankur Linux - Wireless Networking 1 07-02-2006 02:25 AM
Connecting to AP with no SSID WRSpithead Linux - Wireless Networking 1 12-17-2005 11:12 AM
ssid e1000 Linux - Networking 1 11-06-2003 12:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:05 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration