Linux system network related problems

  • Temporarily set the IP of your eth0 network card to 192.168.1.100, how to proceed?
    ifconfig eth0 192.168.1.100
  • I want to add a routing rule to connect the domain 192.168.100.100/24 ​​with eth0, how should I issue an instruction?
    route add -net 192.l68.100.0 netmask 255.255.255.0 dev eth0
  • My network is down a lot, especially when connecting to tw.yahoo.com, so how should I check which link is wrong?
    traceroute tw.yahoo.com
  • I found that there is a weird connection on my Linux host, I want to disconnect it, what should I do?
    Run "netstat -anp |more" as root to find out the PID of the connection, and then use "kill -9 PID" to kick the connection.
  • How do you know the IP of the host green.ev.ncku.edu.tw?
    There are many methods, you can use host green.ev.ncku.edu.tw or dig green.ev.ncku.edu.tw or nslookup green.ev.ncku.edu.tw and other methods to find out
  • Please find out what should be the most appropriate MTU on your machine?
    Please use "ping -c 3 -M do -s MTU yourIP" to find out the MTU value of your IP. In fact, you can also use ip to set the larger MTU of the network card, and then perform the above actions to find the appropriate MTU in the network domain.
  • How to browse the WWW on the terminal interface? How can I download the files provided on the WWW?
    To browse you can use links or lynx, as to download use wget this software.
  • In the terminal interface, how to connect the BBS of bbs.sayya.org?
    Use telnet bbs.sayya.org to connect

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324548924&siteId=291194637