Quote:
If that works I am going to pay someone to smack me. |
Any update?
|
Quote:
|
Well I tried but it still errors out. After making sure no other wlan0 is running, I did the /etc/rc.d/rc.inet1 restart_wlan0 and get this output;
Successfully initialized wpa_supplicant Polling for DHCP server on interface wlan0: dhcpcd[2869]: version 6.0.5 starting dhcpcd[2869]: wlan0: waiting for carrier dhcpcd[2869]: timed out dhcpcd[2869]: allowing 8 seconds dhcpcd[2869]: timed out dhcpcd[2869]: exited My inet1.conf included this wlan0 info; IFNAME[4]="wlan0" IPADDR[4]="" NETMASK[4]="" USE_DHCP[4]="yes" DHCP_HOSTNAME[4]="" WLAN_WPA[4]="wpa_supplicant" WLAN_WPADRIVER[4]="wext" My wpa_supplicant.conf contains this (and only this); network={ ssid="linux" psk="slackwarerules" } I did indeed verify that my router is broadcasting SSID: linux with PSK: slackwarerules... The encryption is set to AUTOMATIC but can choose TKIP or AES. |
Silly question, but what is this wireless device? Please post the relevant output of '/sbin/lspci'.
I am wondering whether you have a Broadcom device that requires you to install a driver and firmware. |
Quote:
It does work in XWindows but that is not to say it in itself has drivers whereas the console does not. |
Ah, Slackware non-gui wireless! It took me two days to configure it when i did it for the first time, but it was great exercise in manpages and Slackware's documentation overall :) .
Now it takes about two minutes to configure it. And i like its simplicity. Basically, i do just these three steps: 1: Put something like this into /etc/rc.d/rc.inet1.conf Code:
IFNAME[4]="wlan0" 2: Do Code:
wpa_passphrase ESSID PASSWORD >> /etc/wpa_supplicant.conf 3: restart the inet1 daemon Code:
/etc/rc.d/rc.inet1 restart |
Quote:
|
Quote:
|
Quote:
Using Code:
wpa_passphrase linux slackwarerules Code:
network={ |
Quote:
Code:
wpa_supplicant -B -i wlan0 -D nl80211 -c /etc/wpa_supplicant.conf |
Quote:
|
Quote:
I have had routers which needed either of these two alternatives. It just depends on the firmware of your router. Eric |
Well it seems to be working now, but, for reasons I clearly do not know. When I began this expedition I, for whatever reason, was using 5GHz frequency in which everything worked fine. I tried adding my Slackware to that same SSID/freq/PK but as we no, nothing worked. Just now (using the exact information from the 5GHz) I set up the 2.4 GHz and sure enough, Slackware grabs an IP and connects wireless.
Is it possible my particular card (maybe old firmware?) just does not see/scan 5GHz? All the of information I initially gathered from various posters was indeed correct and extremely helpful as I learned about wpa_supplicant and HEX etc but the end problem seems to be the Ghz. |
That certainly explains some things... according to this, your wireless card only supports 2.4GHz.
And to try to clear up your confusion between HEX and ASCII, I'll try with my limited (read: possibly wrong) understanding of WPA. ASCII, aka passphrase, is a plain-text password that you specify for your network. This makes it easier to remember than the old WEP keys which were only HEX based. However, the password is never sent over the network and is instead coverted into a 64 character HEX using the password and SSID with an algorithm. I believe that HEX key is what's sent over the network. I don't think linux wpa_supplicant requires you to specify the HEX PSK, but allows you to do so. This is likely a security thing to prevent requiring your password to be stored in plain text on your computer (similar to how /etc/shadow just displays a hash for the system passwords instead of plain text passwords). If you're the only one using the computer or you don't care if others can find your WPA password, you're able to easily store it in plain text. If you want to hide that password, you're able to store it in HEX form, using wpa_passphrase to obscure it. Again, I might be wrong on this, but it's how I understand it. |
All times are GMT -5. The time now is 11:57 AM. |