LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Very specific wireless configuration on Slackware (http://www.linuxquestions.org/questions/slackware-14/very-specific-wireless-configuration-on-slackware-4175463190/)

jhdalben 05-23-2013 01:43 PM

Very specific wireless configuration on Slackware
 
Hi there, I'm trying to configure wireless networking with my university's standards, but can't figure out how to set some advanced options. Here is the specification:

Security: WPA or WPA2 Enterprise
Authentication: TLS
Internal Authentication: PAP
Certificate CA: xxx.cer (it's a file which they provide download)
Username: myusername
Password: mypassword

Is there any way to do it using only rc.inet1.conf or iwconfig?

Thank you so much for your attention.

edorig 05-23-2013 02:16 PM

You need at least ifconfig, iwconfig, wpa_supplicant and dhclient on your system.
Try to use wicd or NetworkManager (depending on which is installed).

If you have none of then and must do everything manually, you should:
1) bring the wireless interface up with ifconfig wlan0 up
2) list the available network interfaces with iwlist wlan0 ap
One you know the essid used by your university, you should start writing a wpa_supplicant.conf file.
type man 5 wpa_supplicant.conf to see example configurations and syntax. You will need to insert there
the Security, Authentication, certificate, username and info.
3) With the right WPA configuration, you should connect to your network with iwconfig wlan0 essid ...
4) after that you should use dhclient wlan0 to connect.

You may not succeed at the first try, and you may have to look at error messages in /var/log/ to understand
what went wrong.

guanx 05-23-2013 02:21 PM

In "/etc/rc.d/rc.inet1.conf" you can write something like this:
Code:

IFNAME[1]="wlan0"
USE_DHCP[1]="yes"
WLAN_MODE[1]=Managed
WLAN_WPA[1]="wpa_supplicant"

And then you need to write a "/etc/wpa_supplicant.conf" file. There are many examples in the manual pages. Try "man wpa_supplicant.conf". Maybe the IT stuff will also be glad to help you.


All times are GMT -5. The time now is 07:21 AM.