Hi @naveen_kumar ,
Any success on dialing up connection on EC200U-CN?
I have found a application note mentioning use of modem manager for EC200U-CN
reference: EC200U-CN dial up
try installing network-manager modemmanager and libqmi-utils udhcpc, ignore these packages if already installed
or try using EC200 in ECM/RNDIS mode by configuring through at command AT+QCFG="usbnet"[,<net>], where net =1 is for ECM mode and 3 for RNDIS
@SpiderKenny
Thanks for your reply.
My app will write quite a lot. The device is intended to collect external data (every minute or so) and transfer the data to an MQTT broker. However, the device will always keep an internal Database (sqlite) in order to backup the sent data. Database will be about 2MB at it's maximum size.
Not sure the internal flash really is an issue with frequent writings. I always understood sd cards are more prone to errors over time. My device has a built in sd card slot if needed. If really really necessary I could therefore switch to the sd card. However, if possible, I'd like to avoid this.
@crispyoz
Thanks for the link. This is exactly what I was looking for. I'll dive into this content.
I was looking back at this for a project again. I was able to get the firmware updated. Watch out for 15.05 though, OpenSSL isn't installed on that so I couldn't use OPKG. Otherwise, I now have an up to date Onion! Thanks folks!
@SpiderKenny You can use sshpass, here's my rough notes on how to use it to deploy firmware using scp and ssh with sshpass:
// using sshpass to deploy new firmware
ssh-keygen -f "/home/chris/.ssh/known_hosts" -R "fe80::42a3:6bff:fec3:cb5b%enp0s31f6"
sshpass -ponioneer scp -6 -o StrictHostKeyChecking=no ~/source/bin/targets/ramips/mt76x8/openwrt-ramips-mt76x8-omega2p-squashfs-sysupgrade.bin root@[fe80::42a3:6bff:fec3:cb5b%enp0s31f6]:/tmp
sshpass -ponioneer ssh -6 -o StrictHostKeyChecking=no root@fe80::42a3:6bff:fec3:cb5b%enp0s31f6 sysupgrade -n /tmp/openwrt-ramips-mt76x8-omega2p-squashfs-sysupgrade.bin
fe80::42a3:6bff:fec3:cb5b
@SpiderKenny Yes fastgpio is better but I showed code that uses the file system instead as I'm not sure of your level of experience and this method is easy to implement.
@Alfonso-Blanco sh needs to be running indefinitely in the background. The command you need is probably something like sh > /dev/tty0 &
More info on running commands in the background here.
I recommend playing around with this just on the command line to get it working. Then once you've figured it out, you can add it to the rc.local so it runs at boot
@thomas166 glad you were able to resolve it, thanks for sharing the solution!
Is there anything different (OS, hardware, etc) about the new mac that works?
Looks like your connection to Community was lost, please wait while we try to reconnect.