Closed niemes closed 5 years ago
Hi, thx you for your work on this script
i'm trying to install the script but crash on these errors :
... Fetched 1,099 kB in 2s (527 kB/s) Selecting previously unselected package hostapd. (Reading database ... 37646 files and directories currently installed.) Preparing to unpack .../hostapd_2%3a2.7+git20190128+0c1e29f-6_armhf.deb ... Unpacking hostapd (2:2.7+git20190128+0c1e29f-6) ... Selecting previously unselected package dhcpcd. Preparing to unpack .../dhcpcd_1%3a3.2.3-11_armhf.deb ... Unpacking dhcpcd (1:3.2.3-11) ... Selecting previously unselected package dns-root-data. Preparing to unpack .../dns-root-data_2019031302_all.deb ... Unpacking dns-root-data (2019031302) ... Selecting previously unselected package dnsmasq-base. Preparing to unpack .../dnsmasq-base_2.80-1+rpt1_armhf.deb ... Unpacking dnsmasq-base (2.80-1+rpt1) ... Selecting previously unselected package dnsmasq. Preparing to unpack .../dnsmasq_2.80-1+rpt1_all.deb ... Unpacking dnsmasq (2.80-1+rpt1) ... Setting up dnsmasq-base (2.80-1+rpt1) ... Setting up dns-root-data (2019031302) ... Setting up dnsmasq (2.80-1+rpt1) ... Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq.service → /lib/systemd/system/dnsmasq.service. Setting up hostapd (2:2.7+git20190128+0c1e29f-6) ... Created symlink /etc/systemd/system/multi-user.target.wants/hostapd.service → /lib/systemd/system/hostapd.service. Job for hostapd.service failed because the control process exited with error code. See "systemctl status hostapd.service" and "journalctl -xe" for details. Created symlink /etc/systemd/system/hostapd.service → /dev/null. Setting up dhcpcd (1:3.2.3-11) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for dbus (1.12.16-1) ... Processing triggers for systemd (241-7~deb10u1+rpi1) ... bash: line 162: NO_INTERNET: unbound variable bash: line 162: NO_INTERNET: unbound variable bash: line 162: NO_INTERNET: unbound variable no crontab for pi
I'm working using a Raspberry Pi Zero W, on a fresh install of Raspbian Buster (official)
running the script with :
curl https://raw.githubusercontent.com/lukicdarkoo/rpi-wifi/master/configure | bash -s -- -a Love test -c Mywifi password
I'll Be happy if you can help me to find a solution for this. :)
The variable NO_INTERNET is not set, so you can change:
"$NO_INTERNET" to "${NO_INTERNET-}"
"$NO_INTERNET"
"${NO_INTERNET-}"
Hope this helps.
@cropd thanks. Another solution would be to remove set -o nounset
set -o nounset
Hi, thx you for your work on this script
i'm trying to install the script but crash on these errors :
I'm working using a Raspberry Pi Zero W, on a fresh install of Raspbian Buster (official)
running the script with :
I'll Be happy if you can help me to find a solution for this. :)