This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

使用wifistar,配置信息会经过路由器的wann口传输到外网



如题,

使用wifistar,配置信息会经过路由器的wann口传输到外网

使用4G路由器耗流量巨大。

  • I think it would be worth them trying to make a quick change in NetworkUtil.java to see if that fixes the issue :-

     

    Change :-

     

                    public static String intToIp(int i) {

                                    return ((i >> 24 ) & 0xFF ) + "." +

                                                                    ((i >> 16 ) & 0xFF) + "." +

                                                                    ((i >> 8 ) & 0xFF) + "." +

                                                                    ( i & 0xFF) ;

                    }

     

    To :-

     

                    public static String intToIp(int i) {

                                    return (i & 0xFF) + "." +

                                                                    ((i >> 8 ) & 0xFF) + "." +

                                                                    ((i >> 16 ) & 0xFF) + "." +

                                                                    ((i >> 24 ) & 0xFF );

                    }

     

    I.e. swapping the gateway address around.