Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Fail on raspbian buster - Pi Zero W #8

Closed
niemes opened this issue Sep 21, 2019 · 2 comments
Closed

Installation Fail on raspbian buster - Pi Zero W #8

niemes opened this issue Sep 21, 2019 · 2 comments

Comments

@niemes
Copy link

niemes commented Sep 21, 2019

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. :)

@cropd
Copy link

cropd commented Sep 29, 2019

The variable NO_INTERNET is not set, so you can change:

"$NO_INTERNET"
to
"${NO_INTERNET-}"

Hope this helps.

lukicdarkoo added a commit that referenced this issue Sep 29, 2019
@lukicdarkoo
Copy link
Owner

@cropd thanks. Another solution would be to remove set -o nounset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants