Hi. I am having an issue with the installation process of subnodes on my raspberry pi. It takes only a few minutes for that I am asked: "Do you wish to reboot now? [N]" and I am not prompted to name my mesh network at all. Can you kindly please help me with the issue I am having? Thank you.
This is the entire script that is shown in my terminal after running the installation script:
Selecting previously unselected package node.
dpkg: regarding node_latest_armhf.deb containing node:
nodejs-legacy conflicts with node
node (version 4.2.1-1) is to be installed.
node provides node and is to be installed.
dpkg: error processing archive node_latest_armhf.deb (--install):
conflicting packages - not installing node
Errors were encountered while processing:
node_latest_armhf.deb
Installing chat room...
./install.sh: line 155: npm: command not found
./install.sh: line 156: npm: command not found
Synchronizing state for dhcpcd.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d dhcpcd defaults
Executing /usr/sbin/update-rc.d dhcpcd disable
insserv: warning: current start runlevel(s) (empty) of script dhcpcd' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of scriptdhcpcd' overrides LSB defaults (0 1 6).
Synchronizing state for networking.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d networking defaults
Executing /usr/sbin/update-rc.d networking enable
[3;J
Configuring Access Point...
Reading package lists... Donetl, hostapd and dnsmasq...
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dns-root-data dnsmasq-base libmnl0 libnetfilter-conntrack3 libnl-route-3-200
The following NEW packages will be installed:
batctl bridge-utils dns-root-data dnsmasq dnsmasq-base hostapd libmnl0
libnetfilter-conntrack3 libnl-route-3-200
0 upgraded, 9 newly installed, 0 to remove and 233 not upgraded.
Need to get 1,096 kB of archives.
After this operation, 2,679 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libmnl0 armhf 1.0.3-5 [10.9 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libnetfilter-conntrack3 armhf 1.0.4-1 [40.0 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libnl-route-3-200 armhf 3.2.24-2 [99.5 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main bridge-utils armhf 1.5-9 [32.1 kB]
Get:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main dns-root-data all 2014060201+2 [14.9 kB]
Get:6 http://mirrordirector.raspbian.org/raspbian/ jessie/main dnsmasq-base armhf 2.72-3+deb8u2 [375 kB]
Get:7 http://mirrordirector.raspbian.org/raspbian/ jessie/main dnsmasq all 2.72-3+deb8u2 [15.8 kB]
Get:8 http://mirrordirector.raspbian.org/raspbian/ jessie/main hostapd armhf 1:2.3-1+deb8u5 [460 kB]
Get:9 http://mirrordirector.raspbian.org/raspbian/ jessie/main batctl armhf 2014.3.0-2 [48.6 kB]
Fetched 1,096 kB in 3s (312 kB/s)
Selecting previously unselected package libmnl0:armhf.
(Reading database ... 121961 files and directories currently installed.)
Preparing to unpack .../libmnl0_1.0.3-5_armhf.deb ...
Unpacking libmnl0:armhf (1.0.3-5) ...
Selecting previously unselected package libnetfilter-conntrack3:armhf.
Preparing to unpack .../libnetfilter-conntrack3_1.0.4-1_armhf.deb ...
Unpacking libnetfilter-conntrack3:armhf (1.0.4-1) ...
Selecting previously unselected package libnl-route-3-200:armhf.
Preparing to unpack .../libnl-route-3-200_3.2.24-2_armhf.deb ...
Unpacking libnl-route-3-200:armhf (3.2.24-2) ...
Selecting previously unselected package bridge-utils.
Preparing to unpack .../bridge-utils_1.5-9_armhf.deb ...
Unpacking bridge-utils (1.5-9) ...
Selecting previously unselected package dns-root-data.
Preparing to unpack .../dns-root-data_2014060201+2_all.deb ...
Unpacking dns-root-data (2014060201+2) ...
Selecting previously unselected package dnsmasq-base.
Preparing to unpack .../dnsmasq-base_2.72-3+deb8u2_armhf.deb ...
Unpacking dnsmasq-base (2.72-3+deb8u2) ...
Selecting previously unselected package dnsmasq.
Preparing to unpack .../dnsmasq_2.72-3+deb8u2_all.deb ...
Unpacking dnsmasq (2.72-3+deb8u2) ...
Selecting previously unselected package hostapd.
Preparing to unpack .../hostapd_1%3a2.3-1+deb8u5_armhf.deb ...
Unpacking hostapd (1:2.3-1+deb8u5) ...
Selecting previously unselected package batctl.
Preparing to unpack .../batctl_2014.3.0-2_armhf.deb ...
Unpacking batctl (2014.3.0-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for dbus (1.8.20-0+deb8u1) ...
Processing triggers for systemd (215-17+deb8u5) ...
Setting up libmnl0:armhf (1.0.3-5) ...
Setting up libnetfilter-conntrack3:armhf (1.0.4-1) ...
Setting up libnl-route-3-200:armhf (3.2.24-2) ...
Setting up bridge-utils (1.5-9) ...
Setting up dns-root-data (2014060201+2) ...
Setting up dnsmasq-base (2.72-3+deb8u2) ...
Setting up dnsmasq (2.72-3+deb8u2) ...
Setting up hostapd (1:2.3-1+deb8u5) ...
Setting up batctl (2014.3.0-2) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
Processing triggers for dbus (1.8.20-0+deb8u1) ...
Processing triggers for systemd (215-17+deb8u5) ...
[OK]
Creating backup of network interfaces configuration file...[OK]
Creating default hostapd file...[OK]
[3;J
Checking whether to configure mesh point or not...
[3;J
Configuring Raspberry Pi as a BATMAN-ADV mesh point...
Enabling the batman-adv kernel module...
Creating dnsmasq configuration file...[OK]
Creating new network interfaces with your settings...[OK]
Creating hostapd.conf file...[OK]
Hi. I am having an issue with the installation process of subnodes on my raspberry pi. It takes only a few minutes for that I am asked: "Do you wish to reboot now? [N]" and I am not prompted to name my mesh network at all. Can you kindly please help me with the issue I am having? Thank you.
This is the entire script that is shown in my terminal after running the installation script:
Checking that USB wifi radio is available for access point...[OK] Checking that USB wifi radio is available for mesh point...[OK] Updating apt-get and installing iw package for network interface configuration... Hit http://mirrordirector.raspbian.org jessie InRelease Hit http://archive.raspberrypi.org jessie InRelease Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB Ign http://mirrordirector.raspbian.org jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists... Done
Reading package lists... Done Building dependency tree
Reading state information... Done iw is already the newest version. iw set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 233 not upgraded.
Loading the subnodes configuration file... Installing latest Node.js for arm... --2017-11-17 19:47:16-- http://node-arm.herokuapp.com/node_latest_armhf.deb Resolving node-arm.herokuapp.com (node-arm.herokuapp.com)... 54.225.138.190, 54.225.121.197, 54.225.128.217, ... Connecting to node-arm.herokuapp.com (node-arm.herokuapp.com)|54.225.138.190|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 5617566 (5.4M) [application/x-debian-package] Saving to: ‘node_latest_armhf.deb’
node_latest_armhf.d 100%[=====================>] 5.36M 2.97MB/s in 1.8s
2017-11-17 19:47:18 (2.97 MB/s) - ‘node_latest_armhf.deb’ saved [5617566/5617566]
Selecting previously unselected package node. dpkg: regarding node_latest_armhf.deb containing node: nodejs-legacy conflicts with node node (version 4.2.1-1) is to be installed. node provides node and is to be installed.
dpkg: error processing archive node_latest_armhf.deb (--install): conflicting packages - not installing node Errors were encountered while processing: node_latest_armhf.deb
Installing chat room... ./install.sh: line 155: npm: command not found ./install.sh: line 156: npm: command not found Synchronizing state for dhcpcd.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d dhcpcd defaults Executing /usr/sbin/update-rc.d dhcpcd disable insserv: warning: current start runlevel(s) (empty) of script
dhcpcd' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script
dhcpcd' overrides LSB defaults (0 1 6). Synchronizing state for networking.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d networking defaults Executing /usr/sbin/update-rc.d networking enable [3;J Configuring Access Point...Reading package lists... Donetl, hostapd and dnsmasq... Building dependency tree
Reading state information... Done The following extra packages will be installed: dns-root-data dnsmasq-base libmnl0 libnetfilter-conntrack3 libnl-route-3-200 The following NEW packages will be installed: batctl bridge-utils dns-root-data dnsmasq dnsmasq-base hostapd libmnl0 libnetfilter-conntrack3 libnl-route-3-200 0 upgraded, 9 newly installed, 0 to remove and 233 not upgraded. Need to get 1,096 kB of archives. After this operation, 2,679 kB of additional disk space will be used. Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libmnl0 armhf 1.0.3-5 [10.9 kB] Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libnetfilter-conntrack3 armhf 1.0.4-1 [40.0 kB] Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libnl-route-3-200 armhf 3.2.24-2 [99.5 kB] Get:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main bridge-utils armhf 1.5-9 [32.1 kB] Get:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main dns-root-data all 2014060201+2 [14.9 kB] Get:6 http://mirrordirector.raspbian.org/raspbian/ jessie/main dnsmasq-base armhf 2.72-3+deb8u2 [375 kB] Get:7 http://mirrordirector.raspbian.org/raspbian/ jessie/main dnsmasq all 2.72-3+deb8u2 [15.8 kB] Get:8 http://mirrordirector.raspbian.org/raspbian/ jessie/main hostapd armhf 1:2.3-1+deb8u5 [460 kB] Get:9 http://mirrordirector.raspbian.org/raspbian/ jessie/main batctl armhf 2014.3.0-2 [48.6 kB] Fetched 1,096 kB in 3s (312 kB/s) Selecting previously unselected package libmnl0:armhf. (Reading database ... 121961 files and directories currently installed.) Preparing to unpack .../libmnl0_1.0.3-5_armhf.deb ... Unpacking libmnl0:armhf (1.0.3-5) ... Selecting previously unselected package libnetfilter-conntrack3:armhf. Preparing to unpack .../libnetfilter-conntrack3_1.0.4-1_armhf.deb ... Unpacking libnetfilter-conntrack3:armhf (1.0.4-1) ... Selecting previously unselected package libnl-route-3-200:armhf. Preparing to unpack .../libnl-route-3-200_3.2.24-2_armhf.deb ... Unpacking libnl-route-3-200:armhf (3.2.24-2) ... Selecting previously unselected package bridge-utils. Preparing to unpack .../bridge-utils_1.5-9_armhf.deb ... Unpacking bridge-utils (1.5-9) ... Selecting previously unselected package dns-root-data. Preparing to unpack .../dns-root-data_2014060201+2_all.deb ... Unpacking dns-root-data (2014060201+2) ... Selecting previously unselected package dnsmasq-base. Preparing to unpack .../dnsmasq-base_2.72-3+deb8u2_armhf.deb ... Unpacking dnsmasq-base (2.72-3+deb8u2) ... Selecting previously unselected package dnsmasq. Preparing to unpack .../dnsmasq_2.72-3+deb8u2_all.deb ... Unpacking dnsmasq (2.72-3+deb8u2) ... Selecting previously unselected package hostapd. Preparing to unpack .../hostapd_1%3a2.3-1+deb8u5_armhf.deb ... Unpacking hostapd (1:2.3-1+deb8u5) ... Selecting previously unselected package batctl. Preparing to unpack .../batctl_2014.3.0-2_armhf.deb ... Unpacking batctl (2014.3.0-2) ... Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for dbus (1.8.20-0+deb8u1) ... Processing triggers for systemd (215-17+deb8u5) ... Setting up libmnl0:armhf (1.0.3-5) ... Setting up libnetfilter-conntrack3:armhf (1.0.4-1) ... Setting up libnl-route-3-200:armhf (3.2.24-2) ... Setting up bridge-utils (1.5-9) ... Setting up dns-root-data (2014060201+2) ... Setting up dnsmasq-base (2.72-3+deb8u2) ... Setting up dnsmasq (2.72-3+deb8u2) ... Setting up hostapd (1:2.3-1+deb8u5) ... Setting up batctl (2014.3.0-2) ... Processing triggers for libc-bin (2.19-18+deb8u6) ... Processing triggers for dbus (1.8.20-0+deb8u1) ... Processing triggers for systemd (215-17+deb8u5) ... [OK] Creating backup of network interfaces configuration file...[OK] Creating default hostapd file...[OK] [3;J Checking whether to configure mesh point or not... [3;J
Configuring Raspberry Pi as a BATMAN-ADV mesh point...
Enabling the batman-adv kernel module... Creating dnsmasq configuration file...[OK] Creating new network interfaces with your settings...[OK] Creating hostapd.conf file...[OK]
Adding startup scripts to init.d... [3;J
Do you wish to reboot now? [N]