libpcap & vim & network

 

sudo apt-get install libpcap-dev

sudo apt-get install vim vim-scripts vim-doc vim-latexsuite vim-gui-common vim-gnome
/etc/init.d/networking {stop|start|restart}
# ifconfig eth0 192.168.1.5 netmask 255.255.255.0 up
# ifconfig eth0

auto eth0
iface eth0 inet static
        address 192.168.1.100
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章