WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How do I make wireless persistent? [RESOLVED]  (Read 8266 times)

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: How do I make wireless persistent? [RESOLVED]
« Reply #15 on: April 01, 2009, 02:42:33 AM »
you never see the contents of wpa_supplicant.conf, not even with the id and pw removed. this makes it a lot more difficult to setup wpa_supplicant?

Offline kinsa

  • Newbie
  • *
  • Posts: 5
Re: How do I make wireless persistent? [RESOLVED]
« Reply #16 on: April 01, 2009, 03:17:43 AM »
The contents of my wpa_supplicant.conf is similar to this:

Code: [Select]
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=staff
update_config=1

network={
        ssid="WPA-TKIP"
        psk="hp5PwSRfJm40MevSJVLhGryiDQFDjIBcx"
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=TKIP
        disabled=1
        id_str=""
}

network={
        ssid="WPA-CCMP"
        psk="YL0q1EfQPppNBHVBvhVNEMEaInNhXL"
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        priority=10
        disabled=0
        id_str="default"
}

network={
        ssid="FREE"
        key_mgmt=NONE
        disabled=1
        id_str=""
}

network={
        key_mgmt=NONE
        disabled=1
        id_str="any"
}


Just set the disabled parameter to 0 of the particular network that you want to use.

You can use wpa_cli to manage this file. I haven't tried it though, I had only used wpa_gui which is the gui version on my debian setup.

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: How do I make wireless persistent? [RESOLVED]
« Reply #17 on: April 01, 2009, 03:38:44 AM »
thank you, you've given me some new things to try out.