Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
12-23-2009, 08:04 AM
|
#46
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
Hmm, I'm not sure. Are you sure that's the correct network? Did you check the MAC address (click "Properties" for the network and then "Information")? Could you also post your config file, /etc/wicd/wireless-settings.conf? Obviously, please remove any keys present in said file.
|
|
|
12-23-2009, 08:11 AM
|
#47
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
Quote:
Originally Posted by Nylex
Hmm, I'm not sure. Are you sure that's the correct network? Did you check the MAC address (click "Properties" for the network and then "Information")? Could you also post your config file, /etc/wicd/wireless-settings.conf? Obviously, please remove any keys present in said file.
|
I am for sure that it isn't a User error, my connection has 100% signal strength while the others one don't even reach 20%.
I will go and grab that information for you. Will the password be a hash or cleartype?
EDIT: I will also check the MAC. But I think it is right.
Oh, and two things: my networks name is "Access Denied," so don't let that influence your intrepretation of the log file.
The other thing is I just confirmed that using a passphrase instad of a PSK did not change much. The connection still failed; with same error.
Thanks Again for your help; I know this is an odd case.
Last edited by lupusarcanus; 12-23-2009 at 08:15 AM.
|
|
|
12-23-2009, 08:13 AM
|
#48
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
Quote:
Originally Posted by leopard
I am for sure that it isn't a User error, my connection has 100% signal strength while the others one don't even reach 20%.
|
OK, fair enough.
Quote:
I will go and grab that information for you. Will the password be a hash or cleartype?
|
The passwords will be in plain text (which I assume you mean by "cleartype").
|
|
|
12-23-2009, 08:18 AM
|
#49
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
Quote:
Originally Posted by Nylex
OK, fair enough.
The passwords will be in plain text (which I assume you mean by "cleartype").
|
Yes that is a correct assumption, sorry.
Oh and I edited the post above; please take another glance at it, its important.
All right then, I'll be back in a minute.
Oh and let me Thank you for your hard work.
|
|
|
12-23-2009, 08:25 AM
|
#50
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
Ok, I was just using Windows for a moment to check the MAC address of my router. I'll make sure I compare that to the MAC listed in Linux
|
|
|
12-23-2009, 08:47 AM
|
#51
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
Here is the wireless settings:
Code:
[00:23:69:FF:44:DD]
afterscript = None
bssid = 00:23:69:FF:44:DD
postdisconnectscript = None
dns_domain = None
quality = 100
gateway = None
use_global_dns = 0
strength = -30
encryption = True
bitrates = 1 Mb/s
ip = None
beforescript = None
hidden = True
channel = 6
essid = <hidden>
psk = was a hash
has_profile = True
netmask = None
key = was plain text
predisconnectscript = None
enctype = wpa
dns3 = None
dns2 = None
search_domain = None
use_settings_globally = 0
use_static_dns = 0
apsk = was plain text
encryption_method = WPA2
mode = Master
automatic = True
dns1 = None
The Physical Address (looks like a MAC) that Windows System Tray Icon for WLAN -> Support -> Details is not the same one listed in this file. I don't know, however, if the Physical Address and the MAC are the same thing or not.
Just a question...
Does Slackware come with aircrack-ng?
Thanks.
|
|
|
12-23-2009, 08:54 AM
|
#52
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
What if you change "enctype = wpa" to "enctype = wpa-psk"? You may need to restart wicd for this to take effect, which you can do with "/etc/rc.d/rc.wicd restart".
Other than that, I'm not sure I'm afraid.
As for aircrack-ng, Slackware doesn't have a package for it, but you can get a SlackBuild script for it from www.slackbuilds.org. SlackBuild scripts are used to build Slackware packages.
Edit: also, perhaps report your thread and ask for it to be moved to the Slackware forum - you're likely to get better help if someone in there sees it.
Last edited by Nylex; 12-23-2009 at 08:55 AM.
|
|
|
12-23-2009, 08:58 AM
|
#53
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
Well, I was thinking of using aircrack-ng to see whether or not the MAC listed in that files is correct or not; but I forget if this wireless card supports monitor mode.
I will be sure to try changing the enctype = wpa to enctype = wpa-psk.
Also, what if I changed it to: enctype = wpa2-psk
Would that help?
|
|
|
12-23-2009, 09:01 AM
|
#54
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
The documentation (man page for wicd-wireless-settings.conf) says
Quote:
enctype = <encryption_template>
This can take the value of any encryption template shown in
/etc/wicd/encryption/templates/.
|
Since there is no file called wpa2-psk in that directory, I assume you'd get some kind of error.
|
|
|
12-23-2009, 09:03 AM
|
#55
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
Worth a shot. I'll be back in a minute
|
|
|
12-23-2009, 09:13 AM
|
#56
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
No, it didn't work :/
|
|
|
12-23-2009, 09:25 AM
|
#57
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
Unfortunately, I'm out of ideas . Hopefully when this gets moved to the Slackware forum, someone will have an idea.
Having said that, what I would do is to try and connect without wicd. So, you'll want to stop the wicd service (/etc/rc.d/rc.wicd stop). Then, you'll need to edit the config file for WPA Supplicant, /etc/wpa_supplicant.conf (in there, it tells you where you can find a sample config file to see the options you can use). Once you've done that, do
ifconfig wlan0 up
wpa_supplicant -c/etc/wpa_supplicant.conf -Dwext -iwlan0
If the wpa_supplicant command gives promising output, then do
dhcpcd wlan0
to get an IP address. You'll probably need to run dhcpcd in another terminal, because of wpa_supplicant.
|
|
|
12-23-2009, 11:07 PM
|
#58
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
Quote:
Originally Posted by Nylex
Unfortunately, I'm out of ideas . Hopefully when this gets moved to the Slackware forum, someone will have an idea.
Having said that, what I would do is to try and connect without wicd. So, you'll want to stop the wicd service (/etc/rc.d/rc.wicd stop). Then, you'll need to edit the config file for WPA Supplicant, /etc/wpa_supplicant.conf (in there, it tells you where you can find a sample config file to see the options you can use). Once you've done that, do
ifconfig wlan0 up
wpa_supplicant -c/etc/wpa_supplicant.conf -Dwext -iwlan0
If the wpa_supplicant command gives promising output, then do
dhcpcd wlan0
to get an IP address. You'll probably need to run dhcpcd in another terminal, because of wpa_supplicant.
|
I tried to do that. Every time I tried to run my script it wouldn't accept my password because it wasn't the right kind.
In the help file that the .conf file pointed me too, there was only a short snippet about using wpa_passphrase to generate the special kind of password, but it didn't say how I implement it into the script.
Last edited by lupusarcanus; 12-23-2009 at 11:09 PM.
|
|
|
12-23-2009, 11:12 PM
|
#59
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
I also tried to run dhcpcd wlan0 in a terminal while wicd ran and it hung for a long time (much longer than before) then it connected with O% signal strength, then lost the connection again. (fairly quickly).
|
|
|
12-23-2009, 11:48 PM
|
#60
|
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Original Poster
Rep:
|
Is this a can-do-with-lots-of-work or is it a straight out cant-do-period?
I can not stand using Windows anymore. Should I just use Ubuntu and wait for a new Slackware with a newer kernel to come out before I try it again?
I have tried to install Debian too, and it had similar problems.
I think these more stable, slow-to-release Linux distros just haven't got the newer kernel I need to run my system.
If this last piece of info is of any use at all, I am for sure that my Ubuntu install used the ath5k driver for wireless and atl1c for Ethernet. Thanks...
|
|
|
All times are GMT -5. The time now is 12:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|