To make it possible for E2 to perform SyncML in Ubuntu. E2 is flushed to 49 P, and the mobile phone supports USB net connection. After the driver is installed in WINDOWS, WINDOWS can smoothly connect to E2 through USB net, but cannot use the same settings, make it work in UbuntuLINUX. In WINDOWS, the network connection automatically obtains the IP address 192.168.16.1 and the mobile phone IP address 192.168.16.2, which can be pinged. Under Ubuntu,
To make it possible for E2 to perform SyncML in Ubuntu. E2 is flushed to 49 P, and the mobile phone supports usb net connection. After the driver is installed in WINDOWS, WINDOWS can smoothly connect to E2 with usb net, but cannot use the same settings, make it work in Ubuntu LINUX.
In WINDOWS, the network connection automatically obtains the IP address 192.168.16.1 and the mobile phone IP address 192.168.16.2, which can be pinged. In Ubuntu, the driver is not required to be installed, and the usb network can be loaded to connect to usb 0, but the IP address cannot be automatically obtained. Modify/etc/network/interfaces and set the IP address of USB 0 to 192.168.16.1:
Auto USB 0
Iface usb0 inet static
Address 192.168.16.1
Netmask 255.255.255.248
Unfortunately, you cannot PING 192.168.16.2.
After studying the E2 file system, we found that the/etc/hotplug/network_fd.agent file contains the following section:
# Did we get an IP address during enumeration?
If ["$ IP "! = "0.0.0.0"]; then
Echo-n "get an IP addr during enumeration! "
Ifconfig $ INTERFACE $ IP up
# Default to a static IP
Else
Ifconfig $ INTERFACE 192.168.1.2 up
Fi
That is to say, when E2 cannot automatically obtain the IP address, it will set the IP address to 192.168.1.2.
To further confirm, run ifconfig>/mmc/mma1/ifconfig.txt on E2 to export the IP Address Configuration when connecting to LINUX, Which is 192.168.1.2.
The Ubuntu IP address ifconfig usb0 192.168.1.1 is set. The PING test is successful!
However, the default MTU value is 1500, which may be abnormal during samba access. You can change the mtu value to 1468.
MTU Value Determination Method: ping-l 1500 192.168.1.2 in windows, ping-s 1500192.168.1.2 in linux, and modify the MTU value to 1500 until the maximum PING value is reached.
Then use MutiSync to synchronize E2 on the computer.