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