LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-10-2010, 08:50 AM   #1
Barnaby
LQ Newbie
 
Registered: Mar 2010
Posts: 10

Rep: Reputation: 0
Need help getting WICD to work with wireless.


Hi all, need some help getting wicd to work. OR if anyone knows an easier way to do what I'm trying, that'd be find too.

Quick background, my area does not have broadband, but I am able to get 3G on my cell phone. So, I've been tethering it to my laptop when needed, but what I'd like to do is set up my Slackware 13.0 box (which is configured to run as firewall/router/dhcp server so that I can just turn on my phone's wireless router program, and then share it out over the whole network in my house.

I'm using a Gigabyte b/g wireless card, which has the RT61 chipset in it. I have NO problems at all getting the wireless card to work with just setting up rc.inet1.conf. The only problem here is when I need to take my cell phone with me, I will not be able to simply turn it back into a WAP, and have my Slackware box auto reconnect to it.

This is why I started looking into using WICD. I do NOT run X, so that's why WICD fits the bill, since it has a cli version.

first I tried installing the version that came on the CD. No dice there. I removed that package, and tried the 1.7 package that's on the mirrors under current. I used slackpkg to install it.

WICD will run, see wlan0, sees my WAP and a few others, but it fails to connect. It attempts to up the interface, and use dhcp to get an ip, but it fails everytime.

My phone's WAP program only does WEP, but I can't get WICD to get an IP with our without WEP enabled.

I made sure that my rc.inet1.conf file does not reference any interfaces.

Any idea/suggestions? Thanks in advance!

Last edited by Barnaby; 03-10-2010 at 08:52 AM.
 
Old 03-10-2010, 10:09 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,057
Blog Entries: 1

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Hi,

Welcome to LQ!

So you did revert '/etc/rc.d/rc.inet1.conf' to the original state? What about setting a static IP for the system?

When you have the Slackware system up try 'ifconfig -a', 'route -n' and post the output.

 
Old 03-10-2010, 10:40 AM   #3
Barnaby
LQ Newbie
 
Registered: Mar 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by onebuck View Post
Hi,

Welcome to LQ!

So you did revert '/etc/rc.d/rc.inet1.conf' to the original state? What about setting a static IP for the system?

When you have the Slackware system up try 'ifconfig -a', 'route -n' and post the output.

I commented out everything in rc.inet1.conf, as offhand I don't remember the original state. IIR would the 4 interfaces being uncommented, and the debug option be the original, with everything else commented?

Let me see about getting that output for you, as I have to do some trickery to get it, without connecting the wireless using rc.inet1.conf. But as a quickie, I do have eth0, eth1, loop, wlan0, wmaster in ifconfig.
 
Old 03-10-2010, 10:41 AM   #4
Barnaby
LQ Newbie
 
Registered: Mar 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Static IP is not an option with the way my WAP program works. Its dhcp or bust.
 
Old 03-10-2010, 10:59 AM   #5
Barnaby
LQ Newbie
 
Registered: Mar 2010
Posts: 10

Original Poster
Rep: Reputation: 0
eth0 Link encap:Ethernet HWaddr 00:03:47:3b:ef:d2
inet addr:192.168.4.238 Bcast:192.168.4.255 Mask:255.255.255.0
inet6 addr: 2610:60:e001:10:203:47ff:fe3b:efd2/64 Scope:Global
inet6 addr: fe80::203:47ff:fe3b:efd2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3694 errors:0 dropped:0 overruns:0 frame:0
TX packets:2218 errors:0 dropped:0 overruns:0 carrier:0
collisions:285 txqueuelen:1000
RX bytes:2100560 (2.0 MiB) TX bytes:324541 (316.9 KiB)

eth1 Link encap:Ethernet HWaddr 00:03:47:3b:ef:d3
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1340 (1.3 KiB) TX bytes:1340 (1.3 KiB)

wlan0 Link encap:Ethernet HWaddr 00:16:e6:3b:c7:10
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wmaster0 Link encap:UNSPEC HWaddr 00-16-E6-3B-C7-10-65-74-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)






Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.4.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.4.1 0.0.0.0 UG 0 0 0 eth0
 
Old 03-11-2010, 09:04 AM   #6
Barnaby
LQ Newbie
 
Registered: Mar 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Anyone have any ideas on this one?
 
Old 03-11-2010, 05:58 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,057
Blog Entries: 1

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Hi,

Sorry, I've been busy with other issues. What does your 'dmesg' show when you attempt to use the wlan device? What about the 'wicd' logs? You can look at 'wicd.net' forum for some troubleshooting aids.

 
Old 03-13-2010, 09:33 AM   #8
globaltree
Member
 
Registered: Oct 2007
Location: Oregon
Distribution: Slackware 12.2
Posts: 65

Rep: Reputation: 18
Howdy...

I've always wanted to turn my phone into a wap as well, so I would like to help. However there are a few details I was hoping you could clarify.

When you say
Quote:
I can just turn on my phone's wireless router program
, I take it that your phone has 802.11 capabilities, and when you tether your laptop, you are doing so over wi-fi, and not with any physical cables...

When you say
Quote:
and then share it out over the whole network in my house
, you are talking about your slack 13 box that acts as the firewall / dhcp server sharing it's connection to your phone with the rest of your home network. Is this also done over 802.11? or is your home network wired?

The reason I ask is because, before even getting to the wep issue, and regardless of whether or not the slack box is connecting correctly, I don't think you can use the 802.11 card in the slack box as both a client (to get internet from phone) and host ap (to share with house) simultaneously.

If you are physically tethering phone to slackbox (when I plug my phone's usb into my laptop, it acts as ethernet, and shows up as eth1, which I can then configure), then you could share your ethernet connection from phone with your wifi on the slackbox, using nat and dhcp.
 
Old 03-16-2010, 05:25 AM   #9
Barnaby
LQ Newbie
 
Registered: Mar 2010
Posts: 10

Original Poster
Rep: Reputation: 0
The routing portion of this I have already done. If I configure my slack box to connect to the wifi on my phone using rc.inet1.conf, I have no problems sharing the connection out through a 100Mb NIC. My iptables is already set up, along with dhcpd.

The only problems I'm having is getting WICD to connect to the WAP. If it helps at all, the WAP can only be a WEP enabled, ADHOC network. I have already installed the latest WICD, and wpa-supplicant packages to no avail. I'm thinking the problem with with wpa-supplicant though, as when I try to use wpa-supplicant -dd -i wlan0 -c /usr/local/wicd/configuration/00xxxxxxx (this is just off the top of my head, I can't remember without looking where wicd stores its wpa-supplicant config) it will not connect, stating that there are no valid APs found, even though it shows up in the list of WAPs it finds.

I'll try and get some logs posted in a bit, have to turn on the box, and square away some work stuff first.
 
Old 03-16-2010, 07:12 AM   #10
uppman
Member
 
Registered: Jul 2008
Location: Stockholm, Sweden
Distribution: Slackware 13.1 32-bit
Posts: 145

Rep: Reputation: 24
Quote:
Originally Posted by Barnaby View Post
The only problem here is when I need to take my cell phone with me, I will not be able to simply turn it back into a WAP, and have my Slackware box auto reconnect to it.
1.
tail -f /var/log/wicd/wicd.log
tail -f /var/log/messages
2.
Try again.
3.
Post the logs here.
 
Old 03-17-2010, 12:14 PM   #11
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
Try the -current wicd package. This new version corrected a few bugs :

http://slackware.at/data/slackware-current/extra/wicd/
 
Old 03-17-2010, 12:46 PM   #12
Barnaby
LQ Newbie
 
Registered: Mar 2010
Posts: 10

Original Poster
Rep: Reputation: 0
I already have the latest wicd package, and wpa supplicant installed.

Here are some log outputs:

wicd.log

2010/03/17 13:47:11 :: Connecting to wireless network Whapp1
2010/03/17 13:47:11 :: iwconfig wlan0
2010/03/17 13:47:11 :: /sbin/dhcpcd -k wlan0
2010/03/17 13:47:11 :: ifconfig wlan0 0.0.0.0
2010/03/17 13:47:11 :: /sbin/ip route flush dev wlan0
2010/03/17 13:47:11 :: ifconfig wlan0 down
2010/03/17 13:47:11 :: ifconfig wlan0 up
2010/03/17 13:47:11 :: wpa_cli -i wlan0 terminate
2010/03/17 13:47:11 :: /sbin/dhcpcd -k eth0
2010/03/17 13:47:11 :: ifconfig eth0 0.0.0.0
2010/03/17 13:47:11 :: /sbin/ip route flush dev eth0
2010/03/17 13:47:11 :: ifconfig eth0 down
2010/03/17 13:47:11 :: ifconfig eth0 up
2010/03/17 13:47:11 :: Putting interface down
2010/03/17 13:47:11 :: ifconfig wlan0 down
2010/03/17 13:47:11 :: Releasing DHCP leases...
2010/03/17 13:47:11 :: /sbin/dhcpcd -k wlan0
2010/03/17 13:47:11 :: Setting false IP...
2010/03/17 13:47:11 :: ifconfig wlan0 0.0.0.0
2010/03/17 13:47:11 :: Stopping wpa_supplicant
2010/03/17 13:47:11 :: wpa_cli -i wlan0 terminate
2010/03/17 13:47:11 :: Flushing the routing table...
2010/03/17 13:47:11 :: /sbin/ip route flush dev wlan0
2010/03/17 13:47:11 :: iwconfig wlan0 mode Ad-Hoc
2010/03/17 13:47:11 :: Putting interface up...
2010/03/17 13:47:11 :: ifconfig wlan0 up
2010/03/17 13:47:13 :: iwconfig wlan0
2010/03/17 13:47:13 :: enctype is wep-hex
2010/03/17 13:47:13 :: Attempting to authenticate...
2010/03/17 13:47:13 :: ['wpa_supplicant', '-B', '-i', 'wlan0', '-c', '/var/lib/wicd/configurations/0224943e1c36', '-D', 'wext']
2010/03/17 13:47:13 :: ['iwconfig', 'wlan0', 'essid', 'Whapp1']
2010/03/17 13:47:13 :: iwconfig wlan0 channel 1
2010/03/17 13:47:13 :: iwconfig wlan0 ap 02:24:94:3E:1C:36
2010/03/17 13:47:13 :: WPA_CLI RESULT IS DISCONNECTED
2010/03/17 13:47:14 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:15 :: iwconfig wlan0
2010/03/17 13:47:15 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:16 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:17 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:17 :: iwconfig wlan0
2010/03/17 13:47:18 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:19 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:19 :: iwconfig wlan0
2010/03/17 13:47:20 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:21 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:22 :: iwconfig wlan0
2010/03/17 13:47:22 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:23 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:24 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:24 :: iwconfig wlan0
2010/03/17 13:47:25 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:26 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:26 :: iwconfig wlan0
2010/03/17 13:47:27 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:28 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:28 :: iwconfig wlan0
2010/03/17 13:47:29 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:30 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:31 :: iwconfig wlan0
2010/03/17 13:47:31 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:32 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:33 :: iwconfig wlan0
2010/03/17 13:47:33 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:34 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:35 :: iwconfig wlan0
2010/03/17 13:47:35 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:36 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:37 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:38 :: iwconfig wlan0
2010/03/17 13:47:39 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:40 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:40 :: iwconfig wlan0
2010/03/17 13:47:41 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:42 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:42 :: iwconfig wlan0
2010/03/17 13:47:43 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:44 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:44 :: iwconfig wlan0
2010/03/17 13:47:45 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:46 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:47 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:47 :: iwconfig wlan0
2010/03/17 13:47:48 :: WPA_CLI RESULT IS SCANNING
2010/03/17 13:47:49 :: wpa_supplicant authentication may have failed.
2010/03/17 13:47:49 :: connect result is Failed
2010/03/17 13:47:49 :: exiting connection thread
2010/03/17 13:47:49 :: Sending connection attempt result bad_pass
2010/03/17 13:47:49 :: ifconfig eth0
2010/03/17 13:47:49 :: ifconfig wlan0
2010/03/17 13:47:49 :: iwconfig wlan0
2010/03/17 13:47:49 :: Autoconnecting...
2010/03/17 13:47:49 :: Starting wired autoconnect...
2010/03/17 13:47:49 :: found default in configuration 1
2010/03/17 13:47:49 :: Reading wired profile wired-default
2010/03/17 13:47:49 :: found afterscript in configuration None
2010/03/17 13:47:49 :: found dhcphostname in configuration sparky
2010/03/17 13:47:49 :: found postdisconnectscript in configuration None
2010/03/17 13:47:49 :: found dns_domain in configuration None
2010/03/17 13:47:49 :: found broadcast in configuration None
2010/03/17 13:47:49 :: found netmask in configuration None
2010/03/17 13:47:49 :: found predisconnectscript in configuration None
2010/03/17 13:47:49 :: found gateway in configuration None
2010/03/17 13:47:49 :: found use_global_dns in configuration False
2010/03/17 13:47:49 :: found dns3 in configuration None
2010/03/17 13:47:49 :: found dns2 in configuration None
2010/03/17 13:47:49 :: found search_domain in configuration None
2010/03/17 13:47:49 :: found lastused in configuration True
2010/03/17 13:47:49 :: found use_static_dns in configuration False
2010/03/17 13:47:49 :: found default in configuration 1
2010/03/17 13:47:49 :: found ip in configuration None
2010/03/17 13:47:49 :: found beforescript in configuration None
2010/03/17 13:47:49 :: found profilename in configuration wired-default
2010/03/17 13:47:49 :: found dns1 in configuration None
2010/03/17 13:47:49 :: /sbin/dhcpcd -k wlan0
2010/03/17 13:47:49 :: ifconfig wlan0 0.0.0.0
2010/03/17 13:47:49 :: /sbin/ip route flush dev wlan0
2010/03/17 13:47:49 :: ifconfig wlan0 down
2010/03/17 13:47:49 :: ifconfig wlan0 up
2010/03/17 13:47:49 :: wpa_cli -i wlan0 terminate

messages
Mar 17 13:50:20 sparky dhcpcd[4756]: wlan0: exiting
Mar 17 13:50:20 sparky kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 17 13:50:20 sparky dhcpcd[4762]: eth0: sending signal 1 to pid 4655
Mar 17 13:50:20 sparky dhcpcd[4655]: eth0: received SIGHUP, releasing lease
Mar 17 13:50:20 sparky dhcpcd[4655]: eth0: removing default route via 192.168.4.1 metric 0
Mar 17 13:50:20 sparky dhcpcd[4655]: eth0: removing route to 169.254.0.0/16 metric 0
Mar 17 13:50:20 sparky dhcpcd[4655]: eth0: removing IP address 192.168.4.238/24
Mar 17 13:50:20 sparky dhcpcd[4655]: eth0: exiting
Mar 17 13:50:20 sparky dhcpcd[4762]: eth0: exiting
Mar 17 13:50:20 sparky kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Mar 17 13:50:20 sparky kernel: e100: eth0 NIC Link is Up 100 Mbps Half Duplex
Mar 17 13:50:20 sparky kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Mar 17 13:50:20 sparky dhcpcd[4769]: wlan0: exiting
Mar 17 13:50:20 sparky kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 17 13:50:48 sparky ntpd[2676]: Deleting interface #3 eth0, 192.168.4.238#123, interface stats: received=0, sent=0, dropped=0, active_time=1200 secs
Mar 17 13:50:59 sparky dhcpcd[4836]: wlan0: exiting
Mar 17 13:50:59 sparky kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 17 13:50:59 sparky dhcpcd[4842]: eth0: exiting
Mar 17 13:50:59 sparky kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Mar 17 13:50:59 sparky kernel: e100: eth0 NIC Link is Up 100 Mbps Half Duplex
Mar 17 13:50:59 sparky kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Mar 17 13:50:59 sparky dhcpcd[4849]: eth0: exiting
Mar 17 13:50:59 sparky kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Mar 17 13:50:59 sparky kernel: e100: eth0 NIC Link is Up 100 Mbps Half Duplex
Mar 17 13:50:59 sparky kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Mar 17 13:51:00 sparky dhcpcd[4853]: wlan0: exiting
Mar 17 13:51:00 sparky kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 17 13:51:00 sparky kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 17 13:51:01 sparky dhcpcd[4859]: eth0: exiting
Mar 17 13:51:01 sparky kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Mar 17 13:51:01 sparky kernel: e100: eth0 NIC Link is Up 100 Mbps Half Duplex
Mar 17 13:51:01 sparky kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Mar 17 13:51:01 sparky dhcpcd[4865]: eth0: dhcpcd 3.2.3 starting
Mar 17 13:51:01 sparky dhcpcd[4865]: eth0: hardware address = 00:03:47:3b:ef:d2
Mar 17 13:51:01 sparky dhcpcd[4865]: eth0: DUID = 00:01:00:01:13:25:2a:12:00:03:47:3b:ef:d2
Mar 17 13:51:01 sparky dhcpcd[4865]: eth0: broadcasting for a lease
Mar 17 13:51:01 sparky dhcpcd[4865]: eth0: offered 192.168.4.238 from 192.168.7.50
Mar 17 13:51:01 sparky dhcpcd[4865]: eth0: checking 192.168.4.238 is available on attached networks
Mar 17 13:51:02 sparky dhcpcd[4865]: eth0: leased 192.168.4.238 for 28800 seconds
Mar 17 13:51:02 sparky dhcpcd[4865]: eth0: adding IP address 192.168.4.238/24
Mar 17 13:51:02 sparky dhcpcd[4865]: eth0: adding default route via 192.168.4.1 metric 0
Mar 17 13:51:02 sparky dhcpcd[4865]: eth0: adding route to 169.254.0.0/16 metric 0
Mar 17 13:51:02 sparky dnsmasq[2762]: reading /etc/resolv.conf
Mar 17 13:51:02 sparky dnsmasq[2762]: using nameserver 192.168.7.48#53
Mar 17 13:51:02 sparky dnsmasq[2762]: using nameserver 192.168.7.50#53
Mar 17 13:51:02 sparky dhcpcd[4865]: eth0: exiting
 
Old 03-17-2010, 12:53 PM   #13
Barnaby
LQ Newbie
 
Registered: Mar 2010
Posts: 10

Original Poster
Rep: Reputation: 0
here's what happens when I turn wep off:

2010/03/17 13:59:14 :: Connecting to wireless network Whapp1
2010/03/17 13:59:14 :: iwconfig wlan0
2010/03/17 13:59:14 :: /sbin/dhcpcd -k wlan0
err, wlan0: dhcpcd not running
2010/03/17 13:59:14 :: ifconfig wlan0 0.0.0.0
2010/03/17 13:59:14 :: /sbin/ip route flush dev wlan0
2010/03/17 13:59:14 :: ifconfig wlan0 down
2010/03/17 13:59:14 :: ifconfig wlan0 up
2010/03/17 13:59:15 :: wpa_cli -i wlan0 terminate
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
2010/03/17 13:59:15 :: /sbin/dhcpcd -k eth0
2010/03/17 13:59:15 :: ifconfig eth0 0.0.0.0
2010/03/17 13:59:15 :: /sbin/ip route flush dev eth0
2010/03/17 13:59:15 :: ifconfig eth0 down
2010/03/17 13:59:15 :: ifconfig eth0 up
2010/03/17 13:59:15 :: Putting interface down
2010/03/17 13:59:15 :: ifconfig wlan0 down
2010/03/17 13:59:15 :: Releasing DHCP leases...
2010/03/17 13:59:15 :: /sbin/dhcpcd -k wlan0
err, wlan0: dhcpcd not running
2010/03/17 13:59:15 :: Setting false IP...
2010/03/17 13:59:15 :: ifconfig wlan0 0.0.0.0
2010/03/17 13:59:15 :: Stopping wpa_supplicant
2010/03/17 13:59:15 :: wpa_cli -i wlan0 terminate
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
2010/03/17 13:59:15 :: Flushing the routing table...
2010/03/17 13:59:15 :: /sbin/ip route flush dev wlan0
2010/03/17 13:59:15 :: iwconfig wlan0 mode Ad-Hoc
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Device or resource busy.
2010/03/17 13:59:15 :: Putting interface up...
2010/03/17 13:59:15 :: ifconfig wlan0 up
2010/03/17 13:59:17 :: iwconfig wlan0
2010/03/17 13:59:17 :: enctype is None
2010/03/17 13:59:17 :: ['iwconfig', 'wlan0', 'essid', 'Whapp1']
2010/03/17 13:59:17 :: iwconfig wlan0 channel 1
2010/03/17 13:59:17 :: iwconfig wlan0 ap 02:2E:AE:74:34:69
2010/03/17 13:59:17 :: Running DHCP with hostname sparky
2010/03/17 13:59:17 :: /sbin/dhcpcd wlan0 -h sparky
2010/03/17 13:59:19 :: iwconfig wlan0
2010/03/17 13:59:21 :: iwconfig wlan0
2010/03/17 13:59:23 :: iwconfig wlan0
2010/03/17 13:59:26 :: iwconfig wlan0
2010/03/17 13:59:28 :: iwconfig wlan0
2010/03/17 13:59:30 :: iwconfig wlan0
2010/03/17 13:59:32 :: iwconfig wlan0
2010/03/17 13:59:34 :: iwconfig wlan0
2010/03/17 13:59:36 :: iwconfig wlan0
2010/03/17 13:59:37 :: err, wlan0: timed out
2010/03/17 13:59:37 ::
2010/03/17 13:59:37 :: DHCP connection failed
2010/03/17 13:59:37 :: exiting connection thread
2010/03/17 13:59:37 :: Sending connection attempt result dhcp_failed
2010/03/17 13:59:37 :: ifconfig eth0
2010/03/17 13:59:37 :: ifconfig wlan0
2010/03/17 13:59:38 :: Autoconnecting...
2010/03/17 13:59:38 :: Starting wired autoconnect...
2010/03/17 13:59:38 :: found default in configuration 1
2010/03/17 13:59:38 :: Reading wired profile wired-default
2010/03/17 13:59:38 :: found afterscript in configuration None
2010/03/17 13:59:38 :: found dhcphostname in configuration sparky
2010/03/17 13:59:38 :: found postdisconnectscript in configuration None
2010/03/17 13:59:38 :: found dns_domain in configuration None
2010/03/17 13:59:38 :: found broadcast in configuration None
2010/03/17 13:59:38 :: found netmask in configuration None
2010/03/17 13:59:38 :: found predisconnectscript in configuration None
2010/03/17 13:59:38 :: found gateway in configuration None
2010/03/17 13:59:38 :: found use_global_dns in configuration False
2010/03/17 13:59:38 :: found dns3 in configuration None
2010/03/17 13:59:38 :: found dns2 in configuration None
2010/03/17 13:59:38 :: found search_domain in configuration None
2010/03/17 13:59:38 :: found lastused in configuration True
2010/03/17 13:59:38 :: found use_static_dns in configuration False
2010/03/17 13:59:38 :: found default in configuration 1
2010/03/17 13:59:38 :: found ip in configuration None
2010/03/17 13:59:38 :: found beforescript in configuration None
2010/03/17 13:59:38 :: found profilename in configuration wired-default
2010/03/17 13:59:38 :: found dns1 in configuration None
2010/03/17 13:59:38 :: /sbin/dhcpcd -k wlan0
2010/03/17 13:59:38 :: ifconfig wlan0 0.0.0.0
2010/03/17 13:59:38 :: /sbin/ip route flush dev wlan0
2010/03/17 13:59:38 :: ifconfig wlan0 down
2010/03/17 13:59:38 :: ifconfig wlan0 up
2010/03/17 13:59:38 :: wpa_cli -i wlan0 terminate
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
2010/03/17 13:59:38 :: /sbin/dhcpcd -k eth0
err, eth0: dhcpcd not running
2010/03/17 13:59:38 :: ifconfig eth0 0.0.0.0
2010/03/17 13:59:38 :: /sbin/ip route flush dev eth0
2010/03/17 13:59:38 :: ifconfig eth0 down
2010/03/17 13:59:38 :: ifconfig eth0 up
2010/03/17 13:59:38 :: found lastused in configuration True
2010/03/17 13:59:38 :: Putting interface down
2010/03/17 13:59:38 :: ifconfig eth0 down
2010/03/17 13:59:38 :: Releasing DHCP leases...
2010/03/17 13:59:38 :: /sbin/dhcpcd -k eth0
err, eth0: dhcpcd not running
2010/03/17 13:59:38 :: Attempting to autoconnect with wired interface...
2010/03/17 13:59:38 :: Setting false IP...
2010/03/17 13:59:38 :: ifconfig eth0 0.0.0.0
2010/03/17 13:59:38 :: Flushing the routing table...
2010/03/17 13:59:38 :: /sbin/ip route flush dev eth0
2010/03/17 13:59:38 :: Putting interface up...
2010/03/17 13:59:38 :: ifconfig eth0 up
2010/03/17 13:59:39 :: iwconfig wlan0
2010/03/17 13:59:39 :: Forced disconnect on
2010/03/17 13:59:39 :: /sbin/dhcpcd -k wlan0
err, wlan0: dhcpcd not running
2010/03/17 13:59:39 :: ifconfig wlan0 0.0.0.0
2010/03/17 13:59:39 :: /sbin/ip route flush dev wlan0
2010/03/17 13:59:40 :: ifconfig wlan0 down
2010/03/17 13:59:40 :: ifconfig wlan0 up
2010/03/17 13:59:40 :: wpa_cli -i wlan0 terminate
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
2010/03/17 13:59:40 :: /sbin/dhcpcd -k eth0
err, eth0: dhcpcd not running
2010/03/17 13:59:40 :: ifconfig eth0 0.0.0.0
2010/03/17 13:59:40 :: /sbin/ip route flush dev eth0
2010/03/17 13:59:40 :: ifconfig eth0 down
2010/03/17 13:59:40 :: ifconfig eth0 up
2010/03/17 13:59:40 :: Running DHCP with hostname sparky
2010/03/17 13:59:40 :: /sbin/dhcpcd eth0 -h sparky
2010/03/17 13:59:41 ::
2010/03/17 13:59:41 :: DHCP connection successful
2010/03/17 13:59:41 :: Connecting thread exiting.
2010/03/17 13:59:41 :: ifconfig eth0
2010/03/17 13:59:41 :: IP Address is: 192.168.4.238
2010/03/17 13:59:41 :: Sending connection attempt result Success
2010/03/17 13:59:41 :: iwconfig wlan0
 
Old 03-18-2010, 09:22 AM   #14
uppman
Member
 
Registered: Jul 2008
Location: Stockholm, Sweden
Distribution: Slackware 13.1 32-bit
Posts: 145

Rep: Reputation: 24
It's a bit strange that there is a lot about WPA in the logs. Are you sure that the configuration in wicd is correct?

This also suggest that the authorization fails:
2010/03/17 13:47:49 :: Sending connection attempt result bad_pass

How does the working rc.inet1.conf look like?
 
Old 03-18-2010, 07:39 PM   #15
unclejed613
Member
 
Registered: Mar 2009
Posts: 322

Rep: Reputation: 26
i had a lot of difficulty getting WICD to work. i copied a plain vanilla rc.inet1.conf in place of the one i had and WICD began working. you can find a plain vanilla copy of it in the slackware n package group, inside inetd-(version).tgz (or .txz for slack 13, but ark won't open a .txz), in /etc/rc.d/inetd.conf.new

HTH
 
  


Reply

Tags
slackware, wicd


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
Do I need rc.inet[d,1,2], rc.pcmcia, & rc.wireless at boot if I use wicd w/wireless? agi93 Slackware 6 01-03-2010 07:07 AM
WICD tray icon says not connected, WICD manager says conneted to wired network?!?! intheshadows Linux - Newbie 1 12-24-2009 12:15 PM
[SOLVED] Atheros Wireless and WICD tronayne Slackware 8 12-24-2009 09:01 AM
cannot get wicd and ndiswrapper to work together, kylefrikkentoth Linux - Newbie 2 10-04-2009 12:03 PM
Wicd / wireless can't get IP address Innervision Slackware 23 06-05-2009 11:29 AM


All times are GMT -5. The time now is 02:45 AM.

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