显示标签为“network”的博文。显示所有博文
显示标签为“network”的博文。显示所有博文

20100307

Change Ubuntu Window Manager from Metacity to Enlightment (E)

All the information about this transition are here:
http://packages.enlightenment.org/

Problem may be met:
1. Network manager
In Gnome, default network manager's package is "nm-applet". But under E, it is not be started by default.
So you can start it in terminal by hand, or you can change to a E network manager called "emodual-exalt" (short for "exalt").
Just "apt-get install" it.

Enjoy E.

Ref:
http://packages.enlightenment.org/
http://e17-stuff.org/content/show.php/Exalt?content=62069
http://forum.enlightenment.org/comments.php?DiscussionID=44

20100304

Set DNS server in Ubuntu

DNS server IP is set in "/etc/resolv.conf", but if DHCP is used, the DNS server IP recieved from DHCP server will cover the config in "/etc/resolv.conf".

Caution: Dont define DNS server IP in "/etc/network/interfaces" like this:
===============
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1
dns-search 192.168.1.1
===============
This will make you cant connect to the website using domain name, but only using IP address will connect to the website.

Ref:
http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/
https://help.ubuntu.com/8.04/serverguide/C/network-configuration.html

20091217

开始翻墙生活

就像某个blog说的,将来,访问访问互联网也是一种投资,你不但得为每月支付上网费用,还得为每天翻墙支付一定费用。

20090322

帮助软件通过ISA验证 - NTLMAPS

在配置文件里面设置好ISA的用户名和密码,
本地运行NTLMAPS服务在后台,使用默认端口5865,
最后浏览器代理设置为127.0.0.1:5865
--------------------------------------
best regards,
Devin_Chen

20090208

httptunnel配置成功

server:运行svn server,使用8080端口,防火墙只开放80端口。IP为1.2.3.4。
Client:通过浏览器访问不了server的8080端口。

解决:

下载http://www.nocrew.org/software/httptunnel.html

把压缩包里面"cvs20040323"目录下的:
cygwin1.dll
hts.exe
htc.exe

都放到server/client的"C:\windows"下面。

Server:cmd运行"hts -F 127.0.0.1:8080 80"
Client:cmd运行"htc -F 8888 1.2.3.4:80"

这个时候用浏览器访问:http://127.0.0.1:8888就相当于访问1.2.3.4没有开放的8080端口了,也就是svn服务了。

20081010

如果你是内网用户如何轻松获取自己公网IP

如果你是内网用户(通过NAT或者Route连接因特网),那么最快获得公网IP的方式就是:
$ GET http://www.whatismyip.org/

如果你用浏览器登录www.whatismyip.org的时候,你也会发现,其实整个网站的作用就是获取你的公网IP,首页除了IP没有任何其他内容了。