LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Connecting to wireless internet (https://www.linuxquestions.org/questions/slackware-14/connecting-to-wireless-internet-4175433346/)

clifford227 10-21-2012 09:07 AM

Connecting to wireless internet
 
Howdy,

I've recently moved from Slack 12.2, to Slack 14.

I used to connect to my wireless router by editing two config files:

/etc/rc.d/rc.inet1.conf

and

/etc/wpa_supplicant.conf

In Slack 12.2, I could input the information for my router (ssid, psk etc) into the supplicant file. In Slackware 14, the wpa_supplicant file seems to have changed. It now shows this:

Quote:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
I think there must have been a change to the procedure.

Can anyone can advise, or direct me to an updated document on connecting to a wireless router in Slackware 14?

*edit* I'd prefer to connect through config files and not Network Manager, as the nm-applet gives me errors.

ppencho 10-21-2012 09:47 AM

/etc/rc.d/rc.inet1.conf:
Code:

IFNAME[4]="wlan1"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
WLAN_WPA[4]="wpa_supplicant"

Replace wlan1 with your wireless interface.

/etc/wpa_supplicant.conf:
Code:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
eapol_version=1
ap_scan=1
fast_reauth=1
#country=US

# WPA protected network, supply your own ESSID and WPAPSK here:
network={
  scan_ssid=0
  ssid="your-wireless-network"
  proto=WPA RSN
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  group=CCMP TKIP WEP104 WEP40
  psk="your-password-plain-text"
  priority=10
}

# Plaintext connection (no WPA, no IEEE 802.1X),
# nice for hotel/airport types of WiFi network.
network={
  key_mgmt=NONE
  priority=0
}

This should do the trick.

clifford227 10-21-2012 01:03 PM

Quote:

Originally Posted by ppencho (Post 4811402)
This should do the trick.

Thanks ppencho :)

After 4 months of having to use Windows on a laptop, I am writing this reply on my Slackware 14 desktop.

Im home :)

kingbeowulf 10-25-2012 01:39 AM

I run network manager on 2 laptops (slackware 32 and 64) without errors. You may want to investigate the cause of nm-applet errors.

For me, this is much handier when travelling and thus needing to access wifi in hotels and various coffee shops "on the fly".

Another usefull provided tool is located in [slackware dvd]/extra/wicd which is rock solid but missing some advanced features of network manager.


All times are GMT -5. The time now is 03:59 AM.