So I am trying to use this to connect my headless raspberry pi to the internet via phone however I am getting an error on installation. I have the newest RPi 3 with the newest Raspian stretch installed. Below is my entire log from the installation. Any thoughts? All help is greatly appreciated!
pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease [15.0 kB]
Get:3 http://archive.raspberrypi.org/debian stretch/main armhf Packages [117 kB]
Get:4 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [26.9 kB]
Get:5 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages [11.7 MB]
Fetched 11.9 MB in 21s (554 kB/s)
Reading package lists... Done
pi@raspberrypi:~ $ sudo apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gyp libjs-inherits libjs-node-uuid libssl1.0-dev libuv1-dev node-abbrev node-ansi
node-ansi-color-table node-archy node-async node-balanced-match node-block-stream
node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-jar
node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream
node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-gyp
node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe
node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp
node-mute-stream node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once
node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json
node-request node-retry node-rimraf node-semver node-sha node-slide node-spdx-correct
node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore
node-validate-npm-package-license node-which node-wrappy node-yallist nodejs-dev
Suggested packages:
node-hawk node-aws-sign node-oauth-sign node-http-signature debhelper
The following NEW packages will be installed:
gyp libjs-inherits libjs-node-uuid libssl1.0-dev libuv1-dev node-abbrev node-ansi
node-ansi-color-table node-archy node-async node-balanced-match node-block-stream
node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-jar
node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream
node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-gyp
node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe
node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp
node-mute-stream node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once
node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json
node-request node-retry node-rimraf node-semver node-sha node-slide node-spdx-correct
node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore
node-validate-npm-package-license node-which node-wrappy node-yallist nodejs-dev npm
0 upgraded, 69 newly installed, 0 to remove and 66 not upgraded.
Need to get 2,898 kB of archives.
After this operation, 12.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrordirector.raspbian.org/raspbian stretch/main armhf gyp all 0.1+20150913git1f374df9-1 [266 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libjs-node-uuid all 1.4.0-1 [12.6 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libssl1.0-dev armhf 1.0.2l-2 [1,149 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libuv1-dev armhf 1.9.1-3 [90.8 kB]
Get:5 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-async all 0.8.0-1 [24.6 kB]
Get:6 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-builtin-modules all 1.1.1-1 [3,298 B]
Get:7 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-fs.realpath all 1.0.0-1 [5,522 B]
Get:8 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-hosted-git-info all 2.1.5-1 [5,696 B]
Get:9 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-wrappy all 1.0.2-1 [3,114 B]
Get:10 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-once all 1.4.0-2 [3,356 B]
Get:11 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-inflight all 1.0.6-1 [3,334 B]
Get:12 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-is-builtin-module all 1.0.0-1 [2,860 B]
Get:13 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-isexe all 1.1.2-1 [3,948 B]
Get:14 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-node-uuid all 1.4.0-1 [9,194 B]
Get:15 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-path-is-absolute all 1.0.0-1 [3,266 B]
Get:16 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-pseudomap all 1.0.2-1 [3,504 B]
Get:17 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-spdx-license-ids all 1.2.2-1 [4,754 B]
Get:18 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-spdx-correct all 1.0.2-1 [3,678 B]
Get:19 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-spdx-expression-parse all 1.0.4-1 [12.1 kB]
Get:20 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-underscore all 1.8.3~dfsg-1 [37.6 kB]
Get:21 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-validate-npm-package-license all 3.0.1-1 [3,442 B]
Get:22 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-yallist all 2.0.0-1 [5,362 B]
Get:23 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libjs-inherits all 2.0.3-1 [2,762 B]
Get:24 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-abbrev all 1.0.9-1 [3,668 B]
Get:25 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-ansi all 0.3.0-2 [8,608 B]
Get:26 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-ansi-color-table all 1.0.0-1 [4,408 B]
Get:27 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-archy all 1.0.0-1 [4,052 B]
Get:28 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-balanced-match all 0.4.2-1 [3,982 B]
Get:29 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-inherits all 2.0.3-1 [3,744 B]
Get:30 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-block-stream all 0.0.9-1 [4,488 B]
Get:31 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-concat-map all 0.0.1-1 [3,462 B]
Get:32 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-brace-expansion all 1.1.6-1+deb9u1 [5,788 B]
Get:33 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-delayed-stream all 0.0.5-1 [4,482 B]
Get:34 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-combined-stream all 0.0.5-1 [4,918 B]
Get:35 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-cookie-jar all 0.3.1-1 [3,570 B]
Get:36 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-forever-agent all 0.5.1-1 [3,066 B]
Get:37 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-mime all 1.3.4-1 [11.8 kB]
Get:38 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-form-data all 0.1.0-1 [6,084 B]
Get:39 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-minimatch all 3.0.3-1 [12.8 kB]
Get:40 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-glob all 7.1.1-1 [18.4 kB]
Get:41 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-rimraf all 2.5.4-2 [7,482 B]
Get:42 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-mkdirp all 0.5.0-1 [4,634 B]
Get:43 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-graceful-fs all 4.1.11-1 [10.8 kB]
Get:44 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-fstream all 1.0.10-1 [18.1 kB]
Get:45 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-fstream-ignore all 0.0.6-2 [5,536 B]
Get:46 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-github-url-from-git all 1.4.0-1 [3,730 B]
Get:47 http://mirrordirector.raspbian.org/raspbian stretch/main armhf nodejs-dev armhf 4.8.2~dfsg-1 [543 kB]
Get:48 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-nopt all 3.0.6-3 [9,538 B]
Get:49 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-npmlog all 0.0.4-1 [5,516 B]
Get:50 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-osenv all 0.1.0-1 [3,734 B]
Get:51 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-tunnel-agent all 0.3.1-1 [3,840 B]
Get:52 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-json-stringify-safe all 5.0.0-1 [3,356 B]
Get:53 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-qs all 2.2.4-1 [8,474 B]
Get:54 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-request all 2.26.1-1 [15.7 kB]
Get:55 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-semver all 5.3.0-1 [21.9 kB]
Get:56 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-tar all 2.2.1-1 [17.6 kB]
Get:57 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-which all 1.2.11-1 [4,946 B]
Get:58 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-gyp all 3.4.0-1 [28.9 kB]
Get:59 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-ini all 1.1.0-1 [4,720 B]
Get:60 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-lockfile all 0.4.1-1 [5,150 B]
Get:61 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-lru-cache all 4.0.2-1 [7,412 B]
Get:62 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-mute-stream all 0.0.7-1 [4,344 B]
Get:63 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-normalize-package-data all 2.3.5-2 [10.5 kB]
Get:64 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-read all 1.0.7-1 [4,540 B]
Get:65 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-read-package-json all 1.2.4-1 [7,740 B]
Get:66 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-retry all 0.6.0-1 [6,124 B]
Get:67 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-sha all 1.2.3-1 [4,064 B]
Get:68 http://mirrordirector.raspbian.org/raspbian stretch/main armhf node-slide all 1.1.4-1 [6,078 B]
Get:69 http://mirrordirector.raspbian.org/raspbian stretch/main armhf npm all 1.4.21+ds-2 [354 kB]
Fetched 2,898 kB in 4s (712 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package gyp.
(Reading database ... 122683 files and directories currently installed.)
Preparing to unpack .../00-gyp_0.1+20150913git1f374df9-1_all.deb ...
Unpacking gyp (0.1+20150913git1f374df9-1) ...
Selecting previously unselected package libjs-node-uuid.
Preparing to unpack .../01-libjs-node-uuid_1.4.0-1_all.deb ...
Unpacking libjs-node-uuid (1.4.0-1) ...
Selecting previously unselected package libssl1.0-dev:armhf.
Preparing to unpack .../02-libssl1.0-dev_1.0.2l-2_armhf.deb ...
Unpacking libssl1.0-dev:armhf (1.0.2l-2) ...
Selecting previously unselected package libuv1-dev:armhf.
Preparing to unpack .../03-libuv1-dev_1.9.1-3_armhf.deb ...
Unpacking libuv1-dev:armhf (1.9.1-3) ...
Selecting previously unselected package node-async.
Preparing to unpack .../04-node-async_0.8.0-1_all.deb ...
Unpacking node-async (0.8.0-1) ...
Selecting previously unselected package node-builtin-modules.
Preparing to unpack .../05-node-builtin-modules_1.1.1-1_all.deb ...
Unpacking node-builtin-modules (1.1.1-1) ...
Selecting previously unselected package node-fs.realpath.
Preparing to unpack .../06-node-fs.realpath_1.0.0-1_all.deb ...
Unpacking node-fs.realpath (1.0.0-1) ...
Selecting previously unselected package node-hosted-git-info.
Preparing to unpack .../07-node-hosted-git-info_2.1.5-1_all.deb ...
Unpacking node-hosted-git-info (2.1.5-1) ...
Selecting previously unselected package node-wrappy.
Preparing to unpack .../08-node-wrappy_1.0.2-1_all.deb ...
Unpacking node-wrappy (1.0.2-1) ...
Selecting previously unselected package node-once.
Preparing to unpack .../09-node-once_1.4.0-2_all.deb ...
Unpacking node-once (1.4.0-2) ...
Selecting previously unselected package node-inflight.
Preparing to unpack .../10-node-inflight_1.0.6-1_all.deb ...
Unpacking node-inflight (1.0.6-1) ...
Selecting previously unselected package node-is-builtin-module.
Preparing to unpack .../11-node-is-builtin-module_1.0.0-1_all.deb ...
Unpacking node-is-builtin-module (1.0.0-1) ...
Selecting previously unselected package node-isexe.
Preparing to unpack .../12-node-isexe_1.1.2-1_all.deb ...
Unpacking node-isexe (1.1.2-1) ...
Selecting previously unselected package node-node-uuid.
Preparing to unpack .../13-node-node-uuid_1.4.0-1_all.deb ...
Unpacking node-node-uuid (1.4.0-1) ...
Selecting previously unselected package node-path-is-absolute.
Preparing to unpack .../14-node-path-is-absolute_1.0.0-1_all.deb ...
Unpacking node-path-is-absolute (1.0.0-1) ...
Selecting previously unselected package node-pseudomap.
Preparing to unpack .../15-node-pseudomap_1.0.2-1_all.deb ...
Unpacking node-pseudomap (1.0.2-1) ...
Selecting previously unselected package node-spdx-license-ids.
Preparing to unpack .../16-node-spdx-license-ids_1.2.2-1_all.deb ...
Unpacking node-spdx-license-ids (1.2.2-1) ...
Selecting previously unselected package node-spdx-correct.
Preparing to unpack .../17-node-spdx-correct_1.0.2-1_all.deb ...
Unpacking node-spdx-correct (1.0.2-1) ...
Selecting previously unselected package node-spdx-expression-parse.
Preparing to unpack .../18-node-spdx-expression-parse_1.0.4-1_all.deb ...
Unpacking node-spdx-expression-parse (1.0.4-1) ...
Selecting previously unselected package node-underscore.
Preparing to unpack .../19-node-underscore_1.8.3~dfsg-1_all.deb ...
Unpacking node-underscore (1.8.3~dfsg-1) ...
Selecting previously unselected package node-validate-npm-package-license.
Preparing to unpack .../20-node-validate-npm-package-license_3.0.1-1_all.deb ...
Unpacking node-validate-npm-package-license (3.0.1-1) ...
Selecting previously unselected package node-yallist.
Preparing to unpack .../21-node-yallist_2.0.0-1_all.deb ...
Unpacking node-yallist (2.0.0-1) ...
Selecting previously unselected package libjs-inherits.
Preparing to unpack .../22-libjs-inherits_2.0.3-1_all.deb ...
Unpacking libjs-inherits (2.0.3-1) ...
Selecting previously unselected package node-abbrev.
Preparing to unpack .../23-node-abbrev_1.0.9-1_all.deb ...
Unpacking node-abbrev (1.0.9-1) ...
Selecting previously unselected package node-ansi.
Preparing to unpack .../24-node-ansi_0.3.0-2_all.deb ...
Unpacking node-ansi (0.3.0-2) ...
Selecting previously unselected package node-ansi-color-table.
Preparing to unpack .../25-node-ansi-color-table_1.0.0-1_all.deb ...
Unpacking node-ansi-color-table (1.0.0-1) ...
Selecting previously unselected package node-archy.
Preparing to unpack .../26-node-archy_1.0.0-1_all.deb ...
Unpacking node-archy (1.0.0-1) ...
Selecting previously unselected package node-balanced-match.
Preparing to unpack .../27-node-balanced-match_0.4.2-1_all.deb ...
Unpacking node-balanced-match (0.4.2-1) ...
Selecting previously unselected package node-inherits.
Preparing to unpack .../28-node-inherits_2.0.3-1_all.deb ...
Unpacking node-inherits (2.0.3-1) ...
Selecting previously unselected package node-block-stream.
Preparing to unpack .../29-node-block-stream_0.0.9-1_all.deb ...
Unpacking node-block-stream (0.0.9-1) ...
Selecting previously unselected package node-concat-map.
Preparing to unpack .../30-node-concat-map_0.0.1-1_all.deb ...
Unpacking node-concat-map (0.0.1-1) ...
Selecting previously unselected package node-brace-expansion.
Preparing to unpack .../31-node-brace-expansion_1.1.6-1+deb9u1_all.deb ...
Unpacking node-brace-expansion (1.1.6-1+deb9u1) ...
Selecting previously unselected package node-delayed-stream.
Preparing to unpack .../32-node-delayed-stream_0.0.5-1_all.deb ...
Unpacking node-delayed-stream (0.0.5-1) ...
Selecting previously unselected package node-combined-stream.
Preparing to unpack .../33-node-combined-stream_0.0.5-1_all.deb ...
Unpacking node-combined-stream (0.0.5-1) ...
Selecting previously unselected package node-cookie-jar.
Preparing to unpack .../34-node-cookie-jar_0.3.1-1_all.deb ...
Unpacking node-cookie-jar (0.3.1-1) ...
Selecting previously unselected package node-forever-agent.
Preparing to unpack .../35-node-forever-agent_0.5.1-1_all.deb ...
Unpacking node-forever-agent (0.5.1-1) ...
Selecting previously unselected package node-mime.
Preparing to unpack .../36-node-mime_1.3.4-1_all.deb ...
Unpacking node-mime (1.3.4-1) ...
Selecting previously unselected package node-form-data.
Preparing to unpack .../37-node-form-data_0.1.0-1_all.deb ...
Unpacking node-form-data (0.1.0-1) ...
Selecting previously unselected package node-minimatch.
Preparing to unpack .../38-node-minimatch_3.0.3-1_all.deb ...
Unpacking node-minimatch (3.0.3-1) ...
Selecting previously unselected package node-glob.
Preparing to unpack .../39-node-glob_7.1.1-1_all.deb ...
Unpacking node-glob (7.1.1-1) ...
Selecting previously unselected package node-rimraf.
Preparing to unpack .../40-node-rimraf_2.5.4-2_all.deb ...
Unpacking node-rimraf (2.5.4-2) ...
Selecting previously unselected package node-mkdirp.
Preparing to unpack .../41-node-mkdirp_0.5.0-1_all.deb ...
Unpacking node-mkdirp (0.5.0-1) ...
Selecting previously unselected package node-graceful-fs.
Preparing to unpack .../42-node-graceful-fs_4.1.11-1_all.deb ...
Unpacking node-graceful-fs (4.1.11-1) ...
Selecting previously unselected package node-fstream.
Preparing to unpack .../43-node-fstream_1.0.10-1_all.deb ...
Unpacking node-fstream (1.0.10-1) ...
Selecting previously unselected package node-fstream-ignore.
Preparing to unpack .../44-node-fstream-ignore_0.0.6-2_all.deb ...
Unpacking node-fstream-ignore (0.0.6-2) ...
Selecting previously unselected package node-github-url-from-git.
Preparing to unpack .../45-node-github-url-from-git_1.4.0-1_all.deb ...
Unpacking node-github-url-from-git (1.4.0-1) ...
Selecting previously unselected package nodejs-dev.
Preparing to unpack .../46-nodejs-dev_4.8.2~dfsg-1_armhf.deb ...
Unpacking nodejs-dev (4.8.2~dfsg-1) ...
Selecting previously unselected package node-nopt.
Preparing to unpack .../47-node-nopt_3.0.6-3_all.deb ...
Unpacking node-nopt (3.0.6-3) ...
Selecting previously unselected package node-npmlog.
Preparing to unpack .../48-node-npmlog_0.0.4-1_all.deb ...
Unpacking node-npmlog (0.0.4-1) ...
Selecting previously unselected package node-osenv.
Preparing to unpack .../49-node-osenv_0.1.0-1_all.deb ...
Unpacking node-osenv (0.1.0-1) ...
Selecting previously unselected package node-tunnel-agent.
Preparing to unpack .../50-node-tunnel-agent_0.3.1-1_all.deb ...
Unpacking node-tunnel-agent (0.3.1-1) ...
Selecting previously unselected package node-json-stringify-safe.
Preparing to unpack .../51-node-json-stringify-safe_5.0.0-1_all.deb ...
Unpacking node-json-stringify-safe (5.0.0-1) ...
Selecting previously unselected package node-qs.
Preparing to unpack .../52-node-qs_2.2.4-1_all.deb ...
Unpacking node-qs (2.2.4-1) ...
Selecting previously unselected package node-request.
Preparing to unpack .../53-node-request_2.26.1-1_all.deb ...
Unpacking node-request (2.26.1-1) ...
Selecting previously unselected package node-semver.
Preparing to unpack .../54-node-semver_5.3.0-1_all.deb ...
Unpacking node-semver (5.3.0-1) ...
Selecting previously unselected package node-tar.
Preparing to unpack .../55-node-tar_2.2.1-1_all.deb ...
Unpacking node-tar (2.2.1-1) ...
Selecting previously unselected package node-which.
Preparing to unpack .../56-node-which_1.2.11-1_all.deb ...
Unpacking node-which (1.2.11-1) ...
Selecting previously unselected package node-gyp.
Preparing to unpack .../57-node-gyp_3.4.0-1_all.deb ...
Unpacking node-gyp (3.4.0-1) ...
Selecting previously unselected package node-ini.
Preparing to unpack .../58-node-ini_1.1.0-1_all.deb ...
Unpacking node-ini (1.1.0-1) ...
Selecting previously unselected package node-lockfile.
Preparing to unpack .../59-node-lockfile_0.4.1-1_all.deb ...
Unpacking node-lockfile (0.4.1-1) ...
Selecting previously unselected package node-lru-cache.
Preparing to unpack .../60-node-lru-cache_4.0.2-1_all.deb ...
Unpacking node-lru-cache (4.0.2-1) ...
Selecting previously unselected package node-mute-stream.
Preparing to unpack .../61-node-mute-stream_0.0.7-1_all.deb ...
Unpacking node-mute-stream (0.0.7-1) ...
Selecting previously unselected package node-normalize-package-data.
Preparing to unpack .../62-node-normalize-package-data_2.3.5-2_all.deb ...
Unpacking node-normalize-package-data (2.3.5-2) ...
Selecting previously unselected package node-read.
Preparing to unpack .../63-node-read_1.0.7-1_all.deb ...
Unpacking node-read (1.0.7-1) ...
Selecting previously unselected package node-read-package-json.
Preparing to unpack .../64-node-read-package-json_1.2.4-1_all.deb ...
Unpacking node-read-package-json (1.2.4-1) ...
Selecting previously unselected package node-retry.
Preparing to unpack .../65-node-retry_0.6.0-1_all.deb ...
Unpacking node-retry (0.6.0-1) ...
Selecting previously unselected package node-sha.
Preparing to unpack .../66-node-sha_1.2.3-1_all.deb ...
Unpacking node-sha (1.2.3-1) ...
Selecting previously unselected package node-slide.
Preparing to unpack .../67-node-slide_1.1.4-1_all.deb ...
Unpacking node-slide (1.1.4-1) ...
Selecting previously unselected package npm.
Preparing to unpack .../68-npm_1.4.21+ds-2_all.deb ...
Unpacking npm (1.4.21+ds-2) ...
Setting up node-lockfile (0.4.1-1) ...
Setting up node-spdx-expression-parse (1.0.4-1) ...
Setting up node-qs (2.2.4-1) ...
Setting up node-osenv (0.1.0-1) ...
Setting up node-ansi (0.3.0-2) ...
Setting up libjs-node-uuid (1.4.0-1) ...
Setting up node-hosted-git-info (2.1.5-1) ...
Setting up node-delayed-stream (0.0.5-1) ...
Setting up libjs-inherits (2.0.3-1) ...
Setting up node-tunnel-agent (0.3.1-1) ...
Setting up node-balanced-match (0.4.2-1) ...
Setting up node-node-uuid (1.4.0-1) ...
Setting up node-yallist (2.0.0-1) ...
Setting up node-slide (1.1.4-1) ...
Setting up node-github-url-from-git (1.4.0-1) ...
Setting up node-pseudomap (1.0.2-1) ...
Setting up libssl1.0-dev:armhf (1.0.2l-2) ...
Setting up node-spdx-license-ids (1.2.2-1) ...
Setting up node-combined-stream (0.0.5-1) ...
Setting up node-wrappy (1.0.2-1) ...
Setting up node-mime (1.3.4-1) ...
Setting up node-abbrev (1.0.9-1) ...
Setting up node-semver (5.3.0-1) ...
Setting up node-retry (0.6.0-1) ...
Setting up node-forever-agent (0.5.1-1) ...
Setting up node-underscore (1.8.3~dfsg-1) ...
Setting up gyp (0.1+20150913git1f374df9-1) ...
Setting up node-json-stringify-safe (5.0.0-1) ...
Setting up node-inherits (2.0.3-1) ...
Setting up node-graceful-fs (4.1.11-1) ...
Setting up node-archy (1.0.0-1) ...
Setting up node-path-is-absolute (1.0.0-1) ...
Setting up node-builtin-modules (1.1.1-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up node-isexe (1.1.2-1) ...
Setting up node-spdx-correct (1.0.2-1) ...
Setting up node-async (0.8.0-1) ...
Setting up node-cookie-jar (0.3.1-1) ...
Setting up node-mute-stream (0.0.7-1) ...
Setting up node-form-data (0.1.0-1) ...
Setting up node-request (2.26.1-1) ...
Setting up node-concat-map (0.0.1-1) ...
Setting up node-ini (1.1.0-1) ...
Setting up node-mkdirp (0.5.0-1) ...
Setting up node-once (1.4.0-2) ...
Setting up node-sha (1.2.3-1) ...
Setting up node-fs.realpath (1.0.0-1) ...
Setting up libuv1-dev:armhf (1.9.1-3) ...
Setting up node-brace-expansion (1.1.6-1+deb9u1) ...
Setting up node-ansi-color-table (1.0.0-1) ...
Setting up node-npmlog (0.0.4-1) ...
Setting up node-is-builtin-module (1.0.0-1) ...
Setting up node-nopt (3.0.6-3) ...
Setting up node-which (1.2.11-1) ...
Setting up node-lru-cache (4.0.2-1) ...
Setting up node-block-stream (0.0.9-1) ...
Setting up node-validate-npm-package-license (3.0.1-1) ...
Setting up node-inflight (1.0.6-1) ...
Setting up node-read (1.0.7-1) ...
Setting up node-minimatch (3.0.3-1) ...
Setting up nodejs-dev (4.8.2~dfsg-1) ...
Setting up node-normalize-package-data (2.3.5-2) ...
Setting up node-glob (7.1.1-1) ...
Setting up node-rimraf (2.5.4-2) ...
Setting up node-read-package-json (1.2.4-1) ...
Setting up node-fstream (1.0.10-1) ...
Setting up node-fstream-ignore (0.0.6-2) ...
Setting up node-tar (2.2.1-1) ...
Setting up node-gyp (3.4.0-1) ...
Setting up npm (1.4.21+ds-2) ...
pi@raspberrypi:~ $ git clone git://git.freedesktop.org/git/NetworkManager/NetworkManager.git
Cloning into 'NetworkManager'...
remote: Counting objects: 163676, done.
remote: Compressing objects: 100% (29816/29816), done.
remote: Total 163676 (delta 134098), reused 162684 (delta 133290)
Receiving objects: 100% (163676/163676), 49.34 MiB | 3.60 MiB/s, done.
Resolving deltas: 100% (134098/134098), done.
Checking out files: 100% (1635/1635), done.
pi@raspberrypi:~ $ pip install twisted
Collecting twisted
Downloading Twisted-17.9.0.tar.bz2 (3.0MB)
100% |████████████████████████████████| 3.0MB 40kB/s
Collecting Automat>=0.3.0 (from twisted)
Downloading Automat-0.6.0-py2.py3-none-any.whl
Collecting constantly>=15.1 (from twisted)
Downloading constantly-15.1.0-py2.py3-none-any.whl
Collecting hyperlink>=17.1.1 (from twisted)
Downloading hyperlink-17.3.1-py2.py3-none-any.whl (73kB)
100% |████████████████████████████████| 81kB 878kB/s
Collecting incremental>=16.10.1 (from twisted)
Downloading incremental-17.5.0-py2.py3-none-any.whl
Collecting zope.interface>=3.6.0 (from twisted)
Downloading zope.interface-4.4.3.tar.gz (147kB)
100% |████████████████████████████████| 153kB 650kB/s
Collecting six (from Automat>=0.3.0->twisted)
Downloading six-1.11.0-py2.py3-none-any.whl
Collecting attrs (from Automat>=0.3.0->twisted)
Downloading attrs-17.2.0-py2.py3-none-any.whl
Collecting setuptools (from zope.interface>=3.6.0->twisted)
Downloading setuptools-36.6.0-py2.py3-none-any.whl (481kB)
100% |████████████████████████████████| 481kB 238kB/s
Building wheels for collected packages: twisted, zope.interface
Running setup.py bdist_wheel for twisted ... done
Stored in directory: /home/pi/.cache/pip/wheels/91/c7/95/0bb4d45bc4ed91375013e9b5f211ac3ebf4138d8858f84abbc
Running setup.py bdist_wheel for zope.interface ... done
Stored in directory: /home/pi/.cache/pip/wheels/8b/39/98/0fcb72adfb12b2547273b1164d952f093f267e0324d58b6955
Successfully built twisted zope.interface
Installing collected packages: six, attrs, Automat, constantly, hyperlink, incremental, setuptools, zope.interface, twisted
Successfully installed Automat-0.6.0 attrs-17.2.0 constantly-15.1.0 hyperlink-17.3.1 incremental-17.5.0 setuptools-36.6.0 six-1.11.0 twisted-17.9.0 zope.interface-4.4.3
pi@raspberrypi:~ $ txsockjs.factory.SockJSFactory
bash: txsockjs.factory.SockJSFactory: command not found
pi@raspberrypi:~ $ pip2 install --user twisted txsockjs jinja2 txdbus bencode
Collecting twisted
Collecting txsockjs
Downloading txsockjs-1.2.2.tar.gz
Collecting jinja2
Downloading Jinja2-2.9.6-py2.py3-none-any.whl (340kB)
100% |████████████████████████████████| 348kB 388kB/s
Collecting txdbus
Downloading txdbus-1.1.0-py2.py3-none-any.whl (44kB)
100% |████████████████████████████████| 51kB 655kB/s
Collecting bencode
Downloading bencode-1.0.tar.gz
Collecting Automat>=0.3.0 (from twisted)
Using cached Automat-0.6.0-py2.py3-none-any.whl
Collecting constantly>=15.1 (from twisted)
Using cached constantly-15.1.0-py2.py3-none-any.whl
Collecting hyperlink>=17.1.1 (from twisted)
Using cached hyperlink-17.3.1-py2.py3-none-any.whl
Collecting zope.interface>=3.6.0 (from twisted)
Collecting incremental>=16.10.1 (from twisted)
Using cached incremental-17.5.0-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from jinja2)
Downloading MarkupSafe-1.0.tar.gz
Collecting six (from txdbus)
Using cached six-1.11.0-py2.py3-none-any.whl
Collecting attrs (from Automat>=0.3.0->twisted)
Using cached attrs-17.2.0-py2.py3-none-any.whl
Collecting setuptools (from zope.interface>=3.6.0->twisted)
Using cached setuptools-36.6.0-py2.py3-none-any.whl
Building wheels for collected packages: txsockjs, bencode, MarkupSafe
Running setup.py bdist_wheel for txsockjs ... done
Stored in directory: /home/pi/.cache/pip/wheels/40/84/e4/1d15344780c920ded3ab8629bd2f7d6f429708be2a3f8f2ff5
Running setup.py bdist_wheel for bencode ... done
Stored in directory: /home/pi/.cache/pip/wheels/8a/7c/66/255998b323387a7e9b88efc0dd1a9545ae227f825293477f61
Running setup.py bdist_wheel for MarkupSafe ... done
Stored in directory: /home/pi/.cache/pip/wheels/88/a7/30/e39a54a87bcbe25308fa3ca64e8ddc75d9b3e5afa21ee32d57
Successfully built txsockjs bencode MarkupSafe
Installing collected packages: six, attrs, Automat, constantly, hyperlink, setuptools, zope.interface, incremental, twisted, txsockjs, MarkupSafe, jinja2, txdbus, bencode
Successfully installed Automat-0.6.0 MarkupSafe-1.0 attrs-17.2.0 bencode-1.0 constantly-15.1.0 hyperlink-17.3.1 incremental-17.5.0 jinja2-2.9.6 setuptools-36.6.0 six-1.11.0 twisted-17.9.0 txdbus-1.1.0 txsockjs-1.2.2 zope.interface-4.4.3
pi@raspberrypi:~ $ git clone NetworkManager-WiFi-WebUI
fatal: repository 'NetworkManager-WiFi-WebUI' does not exist
pi@raspberrypi:~ $ https://github.com/mk-fg/NetworkManager-WiFi-WebUI.git
bash: https://github.com/mk-fg/NetworkManager-WiFi-WebUI.git: No such file or directory
pi@raspberrypi:~ $ useradd nm-wifi-webui
useradd: Permission denied.
useradd: cannot lock /etc/passwd; try again later.
pi@raspberrypi:~ $ mkdir -m0700 ~nm-wifi-webui
pi@raspberrypi:~ $ chown -R nm-wifi-webui: ~nm-wifi-webui
chown: invalid spec: ‘nm-wifi-webui:’
pi@raspberrypi:~ $ git clone https://github.com/mk-fg/NetworkManager-WiFi-WebUI.git
Cloning into 'NetworkManager-WiFi-WebUI'...
remote: Counting objects: 109, done.
remote: Total 109 (delta 0), reused 0 (delta 0), pack-reused 109
Receiving objects: 100% (109/109), 327.50 KiB | 630.00 KiB/s, done.
Resolving deltas: 100% (44/44), done.
pi@raspberrypi:~ $ cd NetworkManager-WiFi-WebUI
pi@raspberrypi:~/NetworkManager-WiFi-WebUI $ ./nm-wifi-webui.py --debug
:0: UserWarning: You do not have a working installation of the service_identity module: 'No module named service_identity'. Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied. Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected.
2017-10-15 04:44:19 :: nm.core DEBUG :: WiFi state init
2017-10-15 04:44:19 :: twisted INFO :: Site starting on 8080
2017-10-15 04:44:19 :: interface.core DEBUG :: Starting...
2017-10-15 04:44:19 :: twisted INFO :: Starting factory <txdbus.client.DBusClientFactory instance at 0x769428f0>
2017-10-15 04:44:19 :: dbus.proxy DEBUG :: Connected to DBus instance (address: 'system')
2017-10-15 04:44:19 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:44:20 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:44:21 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:44:23 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:44:24 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:44:26 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:44:29 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:44:32 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:44:35 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:44:40 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:44:45 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:44:51 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:44:59 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:45:07 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:45:18 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:45:31 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:45:46 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:46:05 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:46:27 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:46:54 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:47:26 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:48:04 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:48:50 :: dbus.proxy DEBUG :: Failed to query NetworkManager dbus interface: (IntrospectionFailed) Introspection Failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
2017-10-15 04:49:45 :: dbus.proxy CRITICAL :: Exiting due to unrecoverable NM connection failure
Unhandled error in Deferred:
2017-10-15 04:49:45 :: twisted CRITICAL :: Unhandled error in Deferred:
2017-10-15 04:49:45 :: twisted CRITICAL ::
Traceback (most recent call last):
File "/home/pi/.local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1386, in _inlineCallbacks
result = g.send(result)
File "/home/pi/NetworkManager-WiFi-WebUI/nm_wifi_webui/nm.py", line 1016, in _dbus_connect
raise NMConnectionError('Failed to connect to NetworkManager dbus interface')
NMConnectionError: Failed to connect to NetworkManager dbus interface
2017-10-15 04:49:45 :: twisted INFO :: (TCP Port 8080 Closed)
2017-10-15 04:49:45 :: twisted INFO :: Stopping factory <txdbus.client.DBusClientFactory instance at 0x769428f0>
2017-10-15 04:49:45 :: twisted INFO :: Main loop terminated.
2017-10-15 04:49:45 :: interface.core DEBUG :: Finished (exit code: 1)
pi@raspberrypi:~/NetworkManager-WiFi-WebUI $