I have spent alot of time lkooking arround for how to set this up but I cannot seem to find a guide for what I am looking for. I tried to go off of what I found and tried to modify it to what I am trying to do, but without luck.
Here are what my files look like:
wpa_supplicant.conf
Code:
# See /usr/doc/wpa_supplicant-0.5.10/wpa_supplicant.conf.sample
# for many more options that you can use in this file.
# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
scan_ssid=1
ssid="Zebis_Loaner_Wireless"
proto=WPA2
key_mgmt=WPA-EAP
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
eap=TTLS
identity="test"
password="test"
}
# Plaintext connection (no WPA, no IEEE 802.1X),
# nice for hotel/airport types of WiFi network.
network={
key_mgmt=NONE
priority=0
}
rc.local
Code:
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
set -x
/etc/rc.d/rc.wifi_wpa
rc.wifi_wpa
Code:
#!/bin/sh
set -x
wpa_supplicant -ieth0 -Dwext -c/etc/wpa_supplicant.conf -Bw
sleep 10
wpa_cli -ieth0 add network
wpa_cli -ieth0 enable_network 0
route add default gw 192.168.4.105 dev eth0 &
sleep 3
rc.inet1.conf
Code:
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.
# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.
# =============================================================================
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
WLAN_WPA[1]="wpa_supplicant"
WLAN_WPADRIVER[1]="wext"
WLAN_WPACONF[1]="/etc/wpa_supplicant"
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""
# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""
# Default gateway IP address:
GATEWAY=""
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"
I am unable to connect to my WAP. If I run wpa_gui I can see that the status stays at scanning indefinately. Also most recently I noticed something that was odd... I restarted MY pc after it locked up and I again launched wpa_gui and again it was showeing scanning and not changing. However it showed me as having an IP address of 192.168.15.153 which is a valid address given the networks we have available here. It is an unsecured network and I was not actually connected to it as I was unable to ping anything or do any network related tasks. Strange.