Tiny Core Base > Micro Core
bootlocal.sh permission denied
Rich:
Hi kirin-rex
The first question is did you install wpa_supplicant.tcz ?
kirin-rex:
No, I haven't, but I know I saw a reference to that recently, but unfortunately, today I was working on deadlines and didn't have time to research it, but the little bit I read indicated I have a lot more research to do.
1. May I assume this is something I need to download? If so, I'm pretty sure I know how to do that.
Rich:
Hi kirin-rex
--- Quote from: kirin-rex on August 21, 2019, 09:20:24 AM --- ... 1. May I assume this is something I need to download? If so, I'm pretty sure I know how to do that. ...
--- End quote ---
Yes. Without that extension (and its dependencies) none of that will work. If you have a wired network connection available for
that machine, you can click on the Apps icon to install it.
Rich:
Hi kirin-rex
--- Quote from: kirin-rex on August 19, 2019, 10:55:11 PM ---
--- Quote from: Rich on August 19, 2019, 10:03:11 PM ---
----~ SNIP ~----
--- Quote ---I've seen screenshots where apparently you can right-click desktop, go to "TOOLS" and select "ADD to BOOTLOCAL" but I don't get that with these laptops.
--- End quote ---
Right-click desktop, go to SystemTools->ControlPanel. Click the Backup/Restore button. The Backup Maintenance app will open.
--- End quote ---
----~ SNIP ~----
I also looked at backup/restore, and opened the backup maintenance tool, but didn't see options to add something to bootlocal, but am not terribly worried since you mentioned that editor can make those changes.
--- End quote ---
That's because that answer was just plain wrong and the clown that gave it should have his keyboard taken away. ;D
kirin-rex:
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
--- Code: ---if config wlan0 up
wpa_supplicant -iwlan0 -c/home/wifi.cfg -Dwext -B
udhcpc -i wlan0 -t 10
--- End code ---
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
--- Code: ---network={
scan_ssid=1
ssid="wifiname"
psk="password"
}
--- End code ---
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
--- Code: ---sudo chown root:staff /opt/bootlocal.sh
sudo chmod 775 /opt/bootlocal.sh
--- End code ---
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:
--- Code: ---wpa_supplicant iwlan0 -c/home/wifi.cfg -Dwext -B
--- End code ---
directly into terminal.
This gave me the following message:
--- Quote ---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
--- End quote ---
Seems I have a general problem with permissions ...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version