LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-15-2009, 06:19 AM   #1
JibberingJ
LQ Newbie
 
Registered: Apr 2009
Posts: 3

Rep: Reputation: 0
How do I modify wpa_supplicant.conf


I can read the content of the file, but how do I go about editing the information I need to connect to my secured network through the BASH?

JibberingJ
 
Old 04-15-2009, 06:57 AM   #2
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Rep: Reputation: 35
Hi,

First you need to be root to edit the file - either login as root, or use the "su" command to change temporarily into root.

Then use your favorite editor (vi, pico, joe, emacs) to open wpa_supplicant.conf and make the changes you need.

What to edit depends on how your access point is set up. For WPA2, my config looks like this:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
        ssid="<my ssid>"
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP TKIP
        psk="<my secret key>"
        priority=1
}
Note that you may also consider using wicd to control your wireless network connection since it automagically controls your wpa_supplicant and the likes and is configured through a gtk gui.

-y1
 
Old 04-15-2009, 08:07 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,459
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Hi,

Look at 'Configuring your network in Slackware'. Another Alien_Bob wiki to aid you in your setup.

This link and others are available from 'Slackware-Links'. More than just SlackwareŽ links!
 
  


Reply


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
wpa_supplicant.conf mount networked drive hemp4fuel Slackware 1 02-20-2009 03:29 PM
rc.inet1.conf -- wpa_supplicant with a wired network klapaucius Slackware 3 12-15-2008 01:13 PM
where is wpa_supplicant.conf? rshields9093 Ubuntu 1 09-14-2006 01:10 AM
Modify grub.conf DanielTan Linux - Newbie 9 01-02-2005 12:35 PM
Need to modify - modules.conf lowlifeboy Debian 3 02-22-2004 03:52 PM


All times are GMT -5. The time now is 03:09 PM.

Main Menu
Advertisement
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