請參考本網址
http://z-win.blogspot.tw/2011/01/vim_2987.html
這是我的工作酸甜苦辣,與大家分享,希望彼此都有收穫:) This is my working experience in my life. It is good to share with you :)
Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts
Monday, April 14, 2014
Tuesday, April 8, 2014
Ubuntu 網路IP的設定方式
要如何在Ubuntu改成固定的ip設定呢?
請先用指令看網路的編號
ifconfig
接著請用指令開啟
sudo vim /etc/network/interfaces
然後把原本加入以下的內容 (下面的eth3請依照ifconfig使用的ethernet port修正)
auto eth3
iface eth3 inet static
address 172.24.80.1xx
netmask 255.255.255.0
gateway 172.24.80.253
dns-nameservers 172.24.80.253
ps. 如果是用虛擬機器(如VirtualBox),請依照以下的方法修改
1)先按"設定值"
2)再修正NAT為網接介面卡(Bridge Interface),並在名稱(N)中選擇正確可以對外連線的網卡
auto eth3
iface eth3 inet static
address 192.168.1.1
netmask 255.255.255.0
--------
關於DHCP的設定方式
請先用指令看網路的編號
ifconfig
接著請用指令開啟
sudo vim /etc/network/interfaces
然後把原本加入以下的內容 (下面的eth3請依照ifconfig使用的ethernet port修正)
auto eth3
iface eth3 inet static
address 172.24.80.1xx
netmask 255.255.255.0
gateway 172.24.80.253
dns-nameservers 172.24.80.253
ps. 如果是用虛擬機器(如VirtualBox),請依照以下的方法修改
1)先按"設定值"
--------
除此之外,如果要設定成內網的話,可以使用以下的方式:
然後把原本加入以下的內容 (下面的eth3請依照ifconfig使用的ethernet port修正,Getway跟DNS可以不用設定)auto eth3
iface eth3 inet static
address 192.168.1.1
netmask 255.255.255.0
--------
關於DHCP的設定方式
auto eth1
iface eth1 inet dhcp
netmask 255.255.255.0
gateway 172.24.80.254
dns-nameservers 172.24.80.253 172.24.80.254
Thursday, March 20, 2014
Thursday, February 20, 2014
Capture the 802.11 frames via Wireshark on Ubuntu 12.04
Command:
sudo airmon-ng start wlan0
You can also refer to the following link
http://www.humbug.in/2012/wireless-sniffer-on-ubuntu-linux-capture-analyze-network-traffic/#.Uf3pFSHMi0w
Subscribe to:
Posts (Atom)