How to change the default network configuration in EC25J QuecOpen

We are developing an LTE based special phone software using EC25J QuecOpen SDK (EC25JFAR06A05M4G_OCPU_01.003.01.003_SDK).

We want to upgarde our applications using phone resident web server in local.
So we installed an test environment using USB Ethernet dongles as below figure.

We had following error message in the PC’s web browser.
“POST http://192.168.225.1/adin/upload.php
net::ERR_UNEXPECTED_PROXY_AUTH”

We think the above error is due to incorrect address assignment in PC’s ethernet interface.
PC ethernet interface must have one of taget’s IP network addresses, but it has bridging network interface.
We also setup and test the ethernet network addresses manually, but we can’t communicate with target.

QuecOpen system may have default network settings and assign a wrong IP address using ‘dnsmasq’ process.
Please inform us how to change the default network settings in order to have following configuration.

  • eth0 has private network address instead of public IP address 169.254.4.1.
  • PC has one of IP address of eth0 network address using dnsmasq process.
  • routing & bridging configurations to access Internet from PC

Thanks in advance.
From JaeMyoung KIM

Hi Kim,
Regarding with this issue, you first need to check whether if the eth0 is under the bridge0 or not.
A test about the connection between PC and quectel module via ethernet has been done. No matter the IP address assignment was distributed by ‘dnsmasq’ process or mannual, the result is that the connection is OK .
Here I offer you some log, hope this would help you solve your problems.

// eth0 ip address distributed by 'dnsmasq’
/usrdata # ifconfig
bridge0 Link encap:Ethernet HWaddr
inet addr:192.168.225.1 Bcast:192.168.225.255 Mask:255.255.255.0
inet6 addr: fe80::1006:e3ff:fe9d:fe0d/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:425 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:31919 (31.1 KiB) TX bytes:5945 (5.8 KiB)

ecm0 Link encap:Ethernet HWaddr
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr
inet addr:169.254.4.1 Bcast:169.254.4.255 Mask:255.255.255.0
inet6 addr: fe80::280:48ff:feba:d130/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:429 errors:0 dropped:4 overruns:0 frame:0
TX packets:99 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38347 (37.4 KiB) TX bytes:8429 (8.2 KiB)
Interrupt:48

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
/usrdata # ping 192.168.225.38(PC ip address)
PING 192.168.225.38 (192.168.225.38) 56(84) bytes of data.
64 bytes from 192.168.225.38: icmp_seq=1 ttl=128 time=1.36 ms
64 bytes from 192.168.225.38: icmp_seq=2 ttl=128 time=1.77 ms
64 bytes from 192.168.225.38: icmp_seq=3 ttl=128 time=0.874 ms
64 bytes from 192.168.225.38: icmp_seq=4 ttl=128 time=1.22 ms

// eth0 ip address distributed by mannual
/usrdata # ifconfig eth0 192.168.225.2
/usrdata # ifconfig
bridge0 Link encap:Ethernet HWaddr
inet addr:192.168.225.1 Bcast:192.168.225.255 Mask:255.255.255.0
inet6 addr: fe80::1006:e3ff:fe9d:fe0d/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:14771 errors:0 dropped:0 overruns:0 frame:0
TX packets:730 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2175834 (2.0 MiB) TX bytes:48750 (47.6 KiB)

ecm0 Link encap:Ethernet HWaddr
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr
inet addr:192.168.225.2 Bcast:192.168.225.255 Mask:255.255.255.0
inet6 addr: fe80::280:48ff:feba:d130/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14264 errors:0 dropped:33 overruns:0 frame:0
TX packets:663 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2344467 (2.2 MiB) TX bytes:54529 (53.2 KiB)
Interrupt:48

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:292 (292.0 B) TX bytes:292 (292.0 B)

rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:2000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

/usrdata # brctl show
bridge name bridge id STP enabled interfaces
bridge0 8000.1206e3a00110 no ecm0
eth0
/usrdata # ping 192.168.225.38(PC ip address)
PING 192.168.225.38 (192.168.225.38) 56(84) bytes of data.
64 bytes from 192.168.225.38: icmp_seq=1 ttl=128 time=1.35 ms
64 bytes from 192.168.225.38: icmp_seq=2 ttl=128 time=1.93 ms
64 bytes from 192.168.225.38: icmp_seq=3 ttl=128 time=0.833 ms
^C
— 192.168.225.38 ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.833/1.376/1.938/0.453 ms

i do same step but an error occurred kindly guide me