Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: chinatefl on February 01, 2023, 07:50:00 PM
-
/usr/local/bin/wifi.sh: line 1: /usr/bin/id: not found How to solve this problem
tcebox:~s sudo wifi.sh/usr/local/bin/wifi.sh: line 1: /usr/bin/id: not foundsh: 0: unknown operandFound wifi device wlanoStandby for scan of available networks../usr/local/bin/wifi.sh: line 1: seq: not foundSet to try a few times to obtain a leaseFailed to connect .
-
Hi chinatefl
You don't say which version of Tinycore or architecture (x86 x86_64 armv6 armv7 armv7l aarch64).
You posted in the Raspberry Pi section of the forum, so I checked the armv7 version of wifi.tcz in the
TC13 repository and it looked OK.
/usr/local/bin/wifi.sh: line 1: /usr/bin/id: not found How to solve this problem ...
That sounds like your copy of wifi.sh has been modified. Line 1 should read:
#!/bin/sh
-
The hardware is raspberry pie 3B+. The system is installed with the latest image. Wifi driver is installed and gui desktop is installed through TC. Install the desktop system with TC.tcz. This problem occurs after restarting.
-sh: id: not found
sh: bad number
sh: which: not found
-sh: id: not found
-sh: /usr/bin/tty: not found
sh: tty: unknown operand
tcebox:~$ sudo wifi.sh/usr/local/bin/wifi.sh: line 1: /usr/bin/id: not found
sh: 0: unknown operand
Found wifi device wlano
Standby for scan of available networks..
/usr/local/bin/wifi.sh: line 1: seq: not found
Set to try a few times to obtain a lease
Failed to connect .
tcebox:~$startx
-sh: startx: not found
tcebox:~$ startX
-sh: startx: not found
-
When I release TC.tcz to install the desktop environment,/usr/bin/id does not exist. Does any software lose this file
Hi chinatefl
You don't say which version of Tinycore or architecture (x86 x86_64 armv6 armv7 armv7l aarch64).
You posted in the Raspberry Pi section of the forum, so I checked the armv7 version of wifi.tcz in the
TC13 repository and it looked OK.
/usr/local/bin/wifi.sh: line 1: /usr/bin/id: not found How to solve this problem ...
That sounds like your copy of wifi.sh has been modified. Line 1 should read:
#!/bin/sh
-
Hi chinatefl
I am not aware of anything that removes /usr/bin/id.
What does this command return:
version