Friday, January 23, 2009

Static ip in ubuntu

/etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0

Restart your network service and check it with ifconfig
/etc/init.d/networking restart
ifconfig

No comments:

curl and cacert

curl -v --cacert cacert.pem https://www.example/cgi-bin/f ile.xgi -I -X POST