I have been busy with other things so only just yesterday had
time to get around to playing with the box and I have run into a
couple of issues.
The first issue is that I cannot easily connect. I have tested with 3 phones; Samsung S8, Samsung S4, Asus Zen2, and with a laptop. All have the same issue.
I can see the SSID and select it. The phone connects to the wifi and it opens a browser with the captive portal splash screen telling me to go to http://go. I click on the button and my phone tells me I have successfully logged on. However, no matter what I type in the browser, I can't get past the splash screen, unless I type http://connectbox. At that point it opens up the connectbox page and everything appears to function. I can access the admin page and all of the settings. I could change the password and the SSID name, etc. Everything seemed fine at that point, other than the only way to connect was to physically type in http://connectbox.
Following the directions you provided, I was able to successfully
install PHP and then I ran in to the next issue when I tried to
enable the static web page from the settings menu. I selected to
'enable' and ten 'saved' but nothing happened. I rebooted and it
still loaded to the default connectbox list interface. I check the
settings again and the static web page was back to the default
'disabled'. I went through this process a few times before it
seemed to stick. I then tried to load onto the USB a basic
index.html page. This worked ok. Then I ran out of time last
night. This morning, I am having problems with the device turning
on.
Occasionally it will not boot. When I turn on the power, the
green LED comes on, as does the red LED on the NanoPi, the the
Ethernet jack lights flash a couple of times and then the whole
thing goes black. If I power off, reseat the microSD card and
power on again it will go through the process again but after the
ethernet LEDs flash, the Orange LED illuminates, which I presume
is the wifi and it seems to be on. I could connect (but only if I
typed http://connectbox into the browser)
I wondered if my installing php or changing settings yesterday had done something to the boot process. When it was on, I selected the 'Reset' option in the setting menu and rebooted. It did reset in that the SSID name, password etc are all back to default, however, I am still having issues with it turning on. Sometimes, as I mentioned, after reseating the sdcard it comes on ok, but others not. It is currently in an 'in between' state. The green LED on the USB Hat is on steady, the orange LED next to it is on with two flashes every few seconds. The Red LED on the NanoPi is steady on and the green LED next to it is constantly flashing in an on, on, off sort of sequence. The SSID is not viewable on any device.
The first issue is that I cannot easily connect. I have tested with 3 phones; Samsung S8, Samsung S4, Asus Zen2, and with a laptop. All have the same issue.
I can see the SSID and select it. The phone connects to the wifi and it opens a browser with the captive portal splash screen telling me to go to http://go. I click on the button and my phone tells me I have successfully logged on. However, no matter what I type in the browser, I can't get past the splash screen, unless I type http://connectbox. At that point it opens up the connectbox page and everything appears to function. I can access the admin page and all of the settings. I could change the password and the SSID name, etc. Everything seemed fine at that point, other than the only way to connect was to physically type in http://connectbox.
Following the directions you provided, I was able to successfully install PHP and then I ran in to the next issue when I tried to enable the static web page from the settings menu. I selected to 'enable' and ten 'saved' but nothing happened. I rebooted and it still loaded to the default connectbox list interface. I check the settings again and the static web page was back to the default 'disabled'. I went through this process a few times before it seemed to stick. I then tried to load onto the USB a basic index.html page. This worked ok. Then I ran out of time last night. This morning, I am having problems with the device turning on.
Occasionally it will not boot. When I turn on the power, the green LED comes on, as does the red LED on the NanoPi, the the Ethernet jack lights flash a couple of times and then the whole thing goes black. If I power off, reseat the microSD card and power on again it will go through the process again but after the ethernet LEDs flash, the Orange LED illuminates, which I presume is the wifi and it seems to be on. I could connect (but only if I typed http://connectbox into the browser)
I wondered if my installing php or changing settings yesterday had done something to the boot process. When it was on, I selected the 'Reset' option in the setting menu and rebooted. It did reset in that the SSID name, password etc are all back to default, however, I am still having issues with it turning on. Sometimes, as I mentioned, after reseating the sdcard it comes on ok, but others not. It is currently in an 'in between' state. The green LED on the USB Hat is on steady, the orange LED next to it is on with two flashes every few seconds. The Red LED on the NanoPi is steady on and the green LED next to it is constantly flashing in an on, on, off sort of sequence. The SSID is not viewable on any device.
The first issue is that I cannot easily connect. I have tested with 3 phones; Samsung S8, Samsung S4, Asus Zen2, and with a laptop. All have the same issue.I can see the SSID and select it. The phone connects to the wifi and it opens a browser with the captive portal splash screen telling me to go to http://go. I click on the button and my phone tells me I have successfully logged on. However, no matter what I type in the browser, I can’t get past the splash screen, unless I type http://connectbox. At that point it opens up the connectbox page and everything appears to function.
However, no matter what I type in the browser, I can’t get past the splash screen, unless I type http://connectbox
--
You received this message because you are subscribed to the Google Groups "ConnectBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to connectbox+...@googlegroups.com.
To post to this group, send email to conne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/connectbox/1f4ec9da-a514-43ac-953a-5fe4bb3e3e43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jim,
Yes, I would have no problem swapping out the HAT board.
I will install the python code after lunch and let you know what I find.
Jeff
To view this discussion on the web visit https://groups.google.com/d/msgid/connectbox/a6941156-e9af-41c2-a964-b800419e8278%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "ConnectBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to connectbox+...@googlegroups.com.
To post to this group, send email to conne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/connectbox/169F5366-F42D-40D6-9A73-ACDD47151C02%40comcast.net.
<RW_AXP209-5.py>
On Jan 22, 2019, at 9:57 AM, jeff...@gmail.com wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/connectbox/a6941156-e9af-41c2-a964-b800419e8278%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "ConnectBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to connectbox+...@googlegroups.com.
To post to this group, send email to conne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/connectbox/169F5366-F42D-40D6-9A73-ACDD47151C02%40comcast.net.
Jim,
Got the python-smbfs library installed in the NEO and the RW_AXP209-5.py copied to the root of the Connectbox (I have changed my hostname to HopeBox via the admin panel).
However when I try to run the program I get an error.
Before I tried to run the program I ran the ls command to ensure
that the RW_AXP209-5.py file had indeed copied to the root
I have copied/pasted the session below. Any ideas
Jeff
login as: root
ro...@192.168.0.23's password:
Welcome to ARMBIAN 5.65 user-built Debian GNU/Linux 9 (stretch)
4.14.78-sunxi
System load: 0.59 0.16 0.05 Up time: 0 min
Memory usage: 38 % of 240MB IP: 192.168.0.23
CPU temp: 23°C
Usage of /: 7% of 15G
root@HopeBox:~# ls
RW_AXP209-5.py
root@HopeBox:~# python RW_AXP209-5.py
Traceback (most recent call last):
File "RW_AXP209-5.py", line 12, in <module>
bus = smbus.SMBus(0) # 0 = /dev/i2c-0 (port I2C0), 1 =
/dev/i2c-1 (port I 2C1)
IOError: [Errno 2] No such file or directory
root@HopeBox:~#
On Jan 22, 2019, at 9:57 AM, jeff...@gmail.com wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/connectbox/a6941156-e9af-41c2-a964-b800419e8278%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "ConnectBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to connectbox+...@googlegroups.com.
To post to this group, send email to conne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/connectbox/146fc6e5-dbbd-4504-9cd0-d1dc83f4d6dd%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/connectbox/12FC4D7B-D27A-420D-A318-505E29A35D28%40comcast.net.