I'm trying to establish a wifi connection on wlan1.
I've made the appropriate changes to /etc/wpa_supplicant
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
network={
ssid="TP-LINK_E71180"
psk="My ESSID password"
id_str="Downstairs"
}
also added these changes to /etc/rc.d/rc.inet1.conf
Code:
IFNAME[4]="wlan1"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
WLAN_ESSID[4]="TP-LINK_E71180"
WLAN_WPA[4]="wpa_supplicant"
when I try
Code:
/etc/rc.d/rc.inet1 wlan1_restart
I can't get wireless connection - it times out. Even if I do a full reboot.
Quote:
Polling for DHCP server on interface wlan1:
dhcpcd[2582]: version 6.0.5 starting
dhcpcd[2582]: wlan1: executing `/lib/dhcpcd/dhcpcd-run-hooks' PREINIT
dhcpcd[2582]: wlan1: waiting for carrier
dhcpcd[2582]: timed out
dhcpcd[2582]: allowing 8 seconds for IPv4LL timeout
dhcpcd[2582]: timed out
dhcpcd[2582]: exited
|
However, if in another terminal I do this
Code:
wpa_supplicant -d -c/etc/wpa_supplicant.conf -Dwext -iwlan1
and then try and get a wireless connection it works!
Quote:
Polling for DHCP server on interface wlan1:
dhcpcd[2778]: version 6.0.5 starting
dhcpcd[2778]: wlan1: soliciting an IPv6 router
dhcpcd[2778]: wlan1: soliciting a DHCP lease
dhcpcd[2778]: wlan1: offered 192.168.1.100 from 192.168.1.1
dhcpcd[2778]: wlan1: leased 192.168.1.100 for 86400 seconds
dhcpcd[2778]: wlan1: adding host route to 192.168.1.100 via 127.0.0.1
dhcpcd[2778]: wlan1: adding route to 192.168.1.0/24
dhcpcd[2778]: wlan1: adding default route via 192.168.1.1
dhcpcd[2778]: forked to background, child pid 2833
|
According to this document
http://www.slackware.com/~alien/slac...ADME.slackware
Quote:
To get your network device up and running, execute:
### /usr/sbin/wpa_supplicant -Bw -c/etc/wpa_supplicant.conf -iath0 -Dmadwifi ###
### you don't have to run the above command by hand, because it will ###
### be executed by the rc.inet1 command that you run: ###
/etc/rc.d/rc.inet1 ath0_start
|
What step have I omitted?
Alex