日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

linux 以太网转wifi,LINUX-网络 - (以太网和WIFI无线)

發布時間:2025/3/20 50 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux 以太网转wifi,LINUX-网络 - (以太网和WIFI无线) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

ifconfig eth0 顯示一個以太網卡的配置

ifup eth0 啟用一個 'eth0' 網絡設備

ifdown eth0 禁用一個 'eth0' 網絡設備

ifconfig eth0 192.168.1.1 netmask 255.255.255.0 控制IP地址

ifconfig eth0 promisc 設置 'eth0' 成混雜模式以嗅探數據包 (sniffing)

dhclient eth0 以dhcp模式啟用 'eth0'

route -n show routing table

route add -net 0/0 gw IP_Gateway configura default gateway

route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.1.1 configure static route to reach network '192.168.0.0/16'

route del 0/0 gw IP_gateway remove static route

echo "1" > /proc/sys/net/ipv4/ip_forward activate ip routing

hostname show hostname of system

host www.example.com lookup hostname to resolve name to ip address and viceversa(1)

nslookup www.example.com lookup hostname to resolve name to ip address and viceversa(2)

ip link show show link status of all interfaces

mii-tool eth0 show link status of 'eth0'

ethtool eth0 show statistics of network card 'eth0'

netstat -tup show all active network connections and their PID

netstat -tupl show all network services listening on the system and their PID

tcpdump tcp port 80 show all HTTP traffic

iwlist scan show wireless networks

iwconfig eth1 show configuration of a wireless network card

hostname show hostname

host www.example.com lookup hostname to resolve name to ip address and viceversa

nslookup www.example.com lookup hostname to resolve name to ip address and viceversa

whois www.example.com lookup on Whois database

總結

以上是生活随笔為你收集整理的linux 以太网转wifi,LINUX-网络 - (以太网和WIFI无线)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。