Unable to connect to ssh root@ after install cfg_gateway.sh

Hello everyone,

after installing cfg_gateway.sh as in the guide Setting up MangOH Red as Router to Cellular Gateway, I am no longer able to enter the card using the ssh root command.
I tried to follow the swiflash guide but i have the following two errors :

I am using a ubuntu vm, but from windows i can see the board connected.
How can I solve my problem?

Thanks in advance.

In cfg_gateway.sh, you need to add "iptables -I INPUT -j ACCEPT" to shutdown the firewall after “iptables --flush”

iptables --flush
if [ "$?" -ne 0 ]; then
    echo "Flush iptables failed"
    exit 1
iptables -I INPUT -j ACCEPT

Thank you jyijyi, i will do it.

My problem now is that i can’t access the board. Is it possible to reset the mangoh, or any other solution to be able to reestablish the connection through the command ssh root?

Thanks in advance.

do you see any port in the device manager in Windows?

I can see it is working fine, I can see the modem port, NMEA port, DM port and USB ECM port.

To ping the module’ ECM port, you need to
go to control panel → Network and sharing Center → change adapter setting → find the “Sierra wireless LEGATO Ethlink ECM” → right click → property → click the properties of "Internet Protocol Version 4 (TCP/IPv4) → set the IP address to, subnet mask to be

Thank you jyijyi now im able to reconnect. What was the problem?

The problem is that you need to manually set the ip address