Author Archives: Robins

Wireshark can’t find a solution to capture interface

After installing Wireshark, in the “Capture “-> “Options” does not have a single capture interface.
Question why
Win10 compatibility issues caused. is required to uninstall Winpcap and reinstall Win10pcap
The solution
(a) to download and install win10Pcap, download links: http://www.win10pcap.org/download/
note: prior to install Wireshark off, otherwise an error during the installation.


n>

>Link: fatal error lnk1561 and link: fatal error lnk1168: Solutions

In the VS 20XX custom project properties, select “General” on the left, “Use of MFC” on the right, and select “Use of MFC in Shared DLLs” next to it, as shown in Figure 1

Figure 1
LINK: fatal error LNK1561: cannot open E:\ test1.exe to write 1> in VS 20XX MFC; The operation to build project “test1.vcxproj” has completed – failed.
 
Solution: Change Settings: Linker ->; Advanced – & gt; Change the entry point to WinMainCRTStartup, as shown in Figure 2.

Figure 2
It’s done!! As shown in figure 3

Figure 3
Also, if a LINK: fatal error LNK1168 is reported, as shown in Figure 4

Figure 4.
This usually means that the program that was run last time did not shut down properly.
Indicate that the interface is not related, the program did not exit. Check if the task manager has a process called xx. exe, open the task manager, find the process called xx. exe, and close it. Then recompile the connection.
 
 
 
 
 
 

Solution of server startup timeout in eclipse

Eclipse Server boot timeout solution
Server Tomcat V8.5 at localhost was unable to start within 45 seconds. If the Server requires more time, try increasing the timeout in the Server editor. Server Tomcat V8.5 at localhost was unable to start within 45 seconds
Solution:

    double-click the server
    find Timeouts – start, set up the server startup time restart the server is ok
    Welcome to scan the code and follow our QQ group or log in bilibili. Follow Bing Cola and share and communicate with us about front-end, back-end and big data development

Common faults and solutions of sylixos IDE (1)

Fault description
New notebook (Lenovo new Air14), the system updated to the latest win10-1909, the new installation of IDE flagship version (3.9.10)
will be other computer normal engineering copy over, compiler report error. “Arm-sylixos-eabi-lzocom. exe application error”
after closing the error, can continue to compile, and finally can compile.



Solution:
After loading vc2010_redist_x86.exe, the problem no longer appears.
IDE later versions will no longer have this problem.

The solution of multiple markers at this line @ override

Using Eclipse for project development, adding @Override before a method in an implementation class indicates a “Multiple Markers at this line” error. The problem is described below
Multiple Markers at this line
– The Method getStudentById (String) of type StudentBeanImpl must override a superclass method
plements. Multiple Markers at this line
– The Method getStudentById (String) of type StudentBeanImpl must override a superclass method
-implements mgr.jc.student.service.IStudentBean.getStudentByID

Reason for this problem: JDK1.5 does not support this notation. Implementing interface methods requires overriding abstract methods.
The solutions to the above problems are as follows:
Method 1. Select Eclipse Window→Preferences→Java→Compiler and change the Compiler Compliance Level from 1.5 to above 1.6.

Right-click on Project and select the last Properties. Select the Java Compiler on the left, check the box inside, and change the Java Editor version to 1.6.

Method 3. Right-click the JRE System Library[javase-1.5]→Properties under Project, and select “javase-1.6 (jdk1.6.0_10)” and click OK.

All the above three methods can solve the problem mentioned in the question, you can choose the corresponding solution according to your own habits.
 

Solutions to network connection problems in Ubuntu 16.04.3

Ubuntu 16.04 network problem solving
Background:
Recently, we need to use Ubuntu16.04 version to build Huawei’s Mind Studio platform, and there is a problem of blocked network.
Solution process:
First I checked my virtual machine network Settings to see if there was anything wrong with the network Settings

Then I started looking for the problem in the Ubuntu network Settings and entered ifconfig in the terminal to see if the IP card information was working properly.

ah

VirtualBox Failed to start LSB:Bring up/down Networking problem

Background:
Static (BOOTPROTO=static # static address protocol)

When using Service Restart Network, you cannot restart the network.

Restarting network (via systemctl): Job for network.service failed. See *systemctl status network.service* and *journalctl -xn* for details.

2. According to the prompt use systemctl status network. The service to check the detailed error message:

 network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2017-03-13 23:24:37 CST; 16s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2878 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

Mar 13 23:24:37 centos7 network[2878]: RTNETLINK answers: File exists
Mar 13 23:24:37 centos7 network[2878]: RTNETLINK answers: File exists
Mar 13 23:24:37 centos7 network[2878]: RTNETLINK answers: File exists
Mar 13 23:24:37 centos7 network[2878]: RTNETLINK answers: File exists
Mar 13 23:24:37 centos7 network[2878]: RTNETLINK answers: File exists
Mar 13 23:24:37 centos7 network[2878]: RTNETLINK answers: File exists
Mar 13 23:24:37 centos7 systemd[1]: network.service: control process exited, code=exited status=1
Mar 13 23:24:37 centos7 systemd[1]: Failed to start LSB: Bring up/down networking.
Mar 13 23:24:37 centos7 systemd[1]: Unit network.service entered failed state.
Mar 13 23:24:37 centos7 systemd[1]: network.service failed.

LSB: A set of standard specifications for Linux. Can make Linux conform to software architecture, or file system architecture standard specifications.
If you make sure your network card configuration information is correct (/etc/sysconfig/network-scripts/ifcfg-xxx), and most of the methods on the web are overwritten, such as:

    Add the MAC address in the configuration file (/etc/sysconfig/network-scripts/ifcfg-xxx)

    HWADDR=08:00:27:8c:4d:46

    Close the NetworkManager configuration DNS and restart……

Try turning on the Ethernet configuration when installing Linux CentOS, as shown below:

Turn on the Internet


After the installation will find, magically effective O(∩_∩)O ha ~. (Mine is like this)