Tiny Core Base > TCB Bugs

TinyCore64 14.0 wifi.sh failures

(1/5) > >>

jim:
Wifi.sh:
ESSID:"Baymont Inn & Suites"
sh:  Suites: Input/output error
Failed to connect.

jim:
Hard to debug.
Laptop reboots if wifi is reconfigured
Posting more gets internal server error.

patrikg:
Maybe bad char "&" at ssid or password.

I think you can search about wifi.sh in this forum to investigate to have bad char in the ssid.

Search

jim:
Yes, I expect that it is a problem with '&' not being quoted or escaped correctly.

My search skills have not found much that is close yet.

No password, there is a landing page to click through though.

It appears to not produce much help with set -x, I think it is running in awk when it dies.

Rich:
Hi jim
I set the wireless SSID on my router to:

--- Code: ---Baymont Inn & Suites
--- End code ---
and got the same error.

I removed the ampersand and connected. Then I looked
at  wifi.db  in my home directory and the last entry was:

--- Code: ---Baymont\ Inn\ Suites PASSWORD WPA
--- End code ---
So the script is escaping the blank spaces. So I set the
first entry in  wifi.db  to:

--- Code: ---Baymont\ Inn\ \&\ Suites PASSWORD WPA
--- End code ---
But even with the ampersand escaped I got the following result:

--- Code: ---tc@box:~$ sudo wifi.sh -a
Found wifi device wlan0
Standby for scan of available networks...
Set to try a few times to obtain a lease.
Attempting auto connection with Baymont\ Inn\ \&\ Suites
Error for wireless request "Set ESSID" (8B1A) :
    too few arguments.
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version