2011年3月31日 星期四

Linux Fedora CentOS Ubuntu TCP/IP Config

export LANG=C 設定英文語系

"setup" 指令,即可設定網卡



 指令修改網卡設定

一、 Fedora 13

vi /etc/sysconfig/networking/devices/ifcfg-eth0

# Intel Corporation 82557/8/9/0/1 Ethernet Pro 100
DEVICE=eth0
IPADDR=172.16.0.204
NETMASK=255.255.255.0
GATEWAY=172.16.0.254
DNS1=168.95.1.1
NAME="System eth0"


二、 CentOS 5.4

vi /etc/sysconfig/network-scripts/ifcfg-eth0

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
BROADCAST=172.16.1.255
IPADDR=172.16.1.101
NETMASK=255.255.255.0
NETWORK=172.16.1.0
GATEWAY=172.16.1.254

三、 重啟網路服務

service network restart

[root@lab-linux ~]# service network restart                                               
Shutting down interface eth0:  [  OK  ]
Shutting down loopback interface:  [  OK  ]
Bringing up loopback interface:  [  OK  ]
Bringing up interface eth0:  [  OK  ]

四、確認路由

netstat -nr

[root@lab-linux ~]# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.16.1.0      0.0.0.0         255.255.255.0   U         0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
0.0.0.0            172.16.1.254    0.0.0.0         UG        0 0          0 eth0

五、Ubuntu 11

vi /etc/network/interfaces


iface eth0 inet static
        address 172.16.1.211
        netmask 255.255.255.0
        network 172.16.1.0
        broadcast 172.16.1.255
        gateway 172.16.1.254

sudo /etc/init.d/networking restart



2011年3月27日 星期日

Cisco VPN Apple Andorid Supported

Apple Devices Supported

http://www.cisco.com/en/US/docs/security/vpn_client/anyconnect/anyconnect24/release/notes/rn-ac2.4-apl4.2.html

Device  Apple iOS Release Required 
iPad               4.2.1 or later
iPhone 3G      4.1 or later
iPhone 3GS    4.1 or later
iPhone 4         4.1 or later
iPod Touch (2nd Generation or later)  4.1 or later

Download: iPhone Configuration Utility (IPCU) 3.3

Download iTunes 10

Windows 操作:
a. 連接 IPAD /Iphone 設備
b. 安裝 iPhone Configuration Utility
c. 新增 profile,config 憑證 及 AnyConnect.
d. "Install" 到 IPAD (傳送)

IPAD 操作:
a. 收到 config profile,按"安裝" (內含憑證)
b. Anyconnect 連線.

參考文件





Andorid Devices Supported

http://www.cisco.com/en/US/docs/security/asa/asa84/release/notes/asarn84.html

We now support VPN connections between Android mobile devices and ASA 5500 series devices, when using the L2TP/IPsec protocol and the native Android VPN client.

Requirements:
•Mobile devices must be using the Android 2.1, or later, operating system.
•The ASA must be running the ASA Release 8.4(1) or later.

2011年3月26日 星期六

隨手雜記

* 免費音樂MP3下載
   BearShare
   YouTube Song Downloader

* 免費在線聽歌
  鯊客
  亦歌

* 免費的「電腦時光機」,幫你輕鬆將系統做快照和還原
   COMODO Time Machine

* 25GB 的免費線上儲存空間
  SkyDrive

* 統一發票中獎號碼單
  財政部稅務入口網

* 2007 Office system 相容性套件
   FileFormatConverters.exe

* PowerPoint Viewer ( Microsoft PowerPoint 2010 向下相容 )
   PowerPointViewer.exe

* Virtual CloneDrive 「免費」虛擬光碟軟體!
  Virtual CloneDrive