I ran
~ $ curl -L hologram.io/python-update | bash
~ $ sudo apt-get install usb-modeswitch
both run without problems.
but with the next command I get:
~ $ sudo sh -c ‘echo -n 05c6 90b2 > /sys/bus/usb-serial/drivers/option1/new_id’
-bash: /sys/bus/usb-serial/drivers/option1/new_id’: Permission denied
For more context I’m running a fresh headless Pi Zero W, headless/(lite), with a LTE-M (Cat-M1) & NB-IoT (Cat-NB1) Nova with the antenna attached. It takes about 1 hour from startup for the red LED to show connected.
When I run the signal strength command I get:
~ $ sudo hologram modem signal
Signal strength: 14,99
And when I run connect command I get:
~$ sudo hologram network connect -v
INFO: Detected modem NovaM
INFO: found working port at ttyUSB1
INFO: chatscript file: /usr/local/lib/python2.7/dist-
packages/Hologram/Network/Modem/chatscripts/default-script
INFO: Instantiated a NovaM interface with device name of /dev/ttyUSB1
INFO: Connecting to cell network with timeout of 200 seconds
INFO: Checking for existing PPP sessions
INFO: Starting pppd
INFO: Failed to connect to cell network
Failed to start PPP
I can send messages to the web console successfully but not receive them.
Any assistance to point me in the right direction would be greatly appreciated.
We’ll have to do some research here but if it’s not working in that situation it’s possible that the Pi Zero W isn’t providing enough power to the USB port. You can try using it with a powered USB hub.
I’ve been experimenting with the Nova as well, and my experiance is the pi zero usb port will not power the nova. As reuben suggested, it will work if you use a powered usb hub. I have a 4 port hub, 1 port with the Nova, 1 port has wifi dongle, 1 port powers the the pi zero. The pi zero usb port is connected to the input of the hub. All works well in this configuration. It is a bummer that you can not power the Nova directly without the external hub.
I was thinking of using a Pi Zero with a Nova. It needs to fit in the Pi Zero case so I was going to remove the USB-A connector from the Nova and solder wires instead. Given that the 5V GPIO pins are connected directly to the power supply and can easily supply enough current to the Nova (Which is USB so can only draw a max of 500mA) one could connect the power pins of the Nova to pins 2 and 9 of the GPIO and the data pins of the Nova directly to the USB port of the Pi Zero.
Does that sound like something that would work?
As an aside does Hologram have any plans to produce a PHAT version of the Nova? That would be something of a holy grail for my project.