Thank you for taking time to help me learn this. I really appreciate it.
I used a wired connection to install wpa_supplicant.tcz ... and in case you're wondering why I don't use a wired connection all the time, it's because I'm going to be running multiple computers and wifi is easier than wiring them all.
Unfortunately, after rebooting, I still don't have wifi. As a side note: before my workplace installed our new lan system, with new ssid and password and hidden ssid, I could connect the wifi from the same pc using the wifi icon, and the wifi.db had the information saved.
So here's what I've got so far:
1. Installed wpa=supplicant.tcz
2. added the following code to bootlocal.sh and saved
if config wlan0 up
wpa_supplicant -iwlan0 -c/home/wifi.cfg -Dwext -B
udhcpc -i wlan0 -t 10
I'm wondering if wlan0 (zero) is correct ... I have only whatever wifi capabilities came with the laptop. It's not a wifi chip. Would that be zero, then?
3. created a document in editor called wifi.cfg and saved it in the /home/ folder, and later to /home/tc/ as well. In it is the following script
network={
scan_ssid=1
ssid="wifiname"
psk="password"
}
and substituted my actual wifiname and password. I put the wifiname and password in quotations. Is that what I'm supposed to do, or do I leave them quotation marks off? I've tried both ways, and neither worked so far.
4. I used the code you game me earlier
sudo chown root:staff /opt/bootlocal.sh
sudo chmod 775 /opt/bootlocal.sh
Which allowed me to finally save the changes to bootlocal.sh
5. I tried manually modifying wifi.db with the new name and pw. I'm wondering now if I should delete wifi.db. Could it be conflicting somewhere?
Because rebooting and trying to run firefox still didn't get me connected ...
6. I tried running the code I posted earlier:
wpa_supplicant iwlan0 -c/home/wifi.cfg -Dwext -B
directly into terminal.
This gave me the following message:
successfully initialized wpa=supplicant
ioct1[SIOCSIWPMKSA] Operation Not Permitted
ioct1[WIOCSIWMODE] Operation not Permitted
ioct1[SIOCSIWAP] Operation Not Permitted
ioct1[SIOCSIWESSID] Operation Not Permitted
12=packet=init: socket(PF=PACKET) Operation Not Permitted
ioct1[SIOCSIWENCODEEXT] Operation Not Permitted
ioct1[SIOCSIWENCODEEXT] Operation Not Permitted
ioct1[SIOCSIWENCODEEXT] Operation Not Permitted
ioct1[SIOCSIWENCODEEXT] Operation Not Permitted
ioct1[SIOCSIWAP] Operation Not Permitted
ioct1[SIOCSIWESSID] Operation Not Permitted
could not set interface wlan0 flags (DOWN): Operation Not Permitted
Seems I have a general problem with permissions ...