博文

目前显示的是 十一月, 2014的博文

debian gnome

aptitude search gnome|grep gir1.2-gnomebluetooth-1.0 – Introspection data for GnomeBluetooth gir1.2-gnomekeyring-1.0 – GNOME keyring services library – introspec gnome – Full GNOME Desktop Environment, with extra gnome-accessibility-themes – Accessibility themes for the GNOME desktop gnome-applets – Various applets for the GNOME panel – bina gnome-applets-data – Various applets for the GNOME panel – data gnome-backgrounds – Set of backgrounds packaged with the GNOME gnome-bluetooth – GNOME Bluetooth tools gnome-brave-icon-theme – blue variation of the GNOME-Colors icon th gnome-cards-data – data files for the GNOME card games gnome-color-manager – Color management integration for the GNOME gnome-colors-common – common icons for all GNOME-Colors icon the gnome-common – common scripts and macros to develop with gnome-contacts – Contacts manager for GNOME gnome-control-center – utili...

NTP Pool Time Servers

图片
http://support.ntp.org/bin/view/Servers/NTPPoolServers pool.ntp.org  uses DNS round robin to make a random selection from a pool of time servers who have  volunteered  to be in the pool. This is usually good enough for end-users. The minimal  ntpd  configuration file (e.g.  /etc/ntpd.conf ) for using  pool.ntp.org  is: driftfile /var/lib/ntp/ntp.driftserver 0.pool.ntp.orgserver 1.pool.ntp.orgserver 2.pool.ntp.orgserver 3.pool.ntp.org  Any questions about the pool.ntp.org server pool should be directed either to the  pool mailing list  or to the comp.protocols.time.ntp usenet newsgroup.  Time server operators are encouraged to visit the  NTP Pool  web-site to find out how they can join the NTP pool. The NTP Pool DNS system automatically picks time servers which are geographically close for you, but if you want to choose explicitly, there are sub-zones of pool.ntp.org. The “continent” ones are: Area: HostName: Worldwide pool.ntp.org Asia asia.pool.ntp.org Europe europe.pool.nt...

FreeBSD 11 on Raspberry Pi

Install FreeBSD 11 on a Raspberry Pi   It seems a nice project to try out FreeBSD on a Raspberry Pi. There are ready made images available from FreeBSD.org, so this is not very hard to accomplish. Both for FreeBSD 10 as well as for FreeBSD 11. Feeling wild, I choose for FreeBSD 11 🙂 The image can be downloaded from the FreeBSD ftp-servers. Bunzip your image and dd it to a SD-card   I got the FreeBSD-11.0-CURRENT-arm-armv6-RPI-B-20140811-r269824.img.bz2 but perhaps when you read this there are allready newer images available. On a Debian GNU/Linux laptop I ran the command: bunzip2 FreeBSD-11.0-CURRENT-arm-armv6-RPI-B-20140811-r269824.img.bz2 Followed by: dd if=FreeBSD-11.0-CURRENT-arm-armv6-RPI-B-20140811-r269824.img of=/dev/mmcblk0 bs=1M Be carefull when you issue this last command, when you got the of= part wrong, you might inreversable destroy things! Now you have a 1Gb big image on your SD card. Put the SD card in the Raspberry Pi and power up. The very first time you boot...

IPv6地址表示方法

对于一个完整的IPv6地址,需要写128位,已经被分成了8段,每段4个字符,也就是说完整地表示一个IPv6地址,需要写32个字母,这是相当长的,并且容易混淆和出错,所以IPv6在地址的表示方法上,是有讲究的,到目前为止,IPv6地址的表示方法分为三种,分别是: 1.首选格式 2.压缩表示 3.IPv4内嵌在IPv6中 下面分别详细介绍这三种IPv6地址表示方法: 1.首选格式 首选格式的表示方法其实没有任何讲究,就是将IPv6中的128位,也就是共32个字符完完整整,一个不漏地全写出来,比如下面就是一些IPv6地址的首选格式表示形式: 0000:0000:0000:0000:0000:0000:0000:0000 0000:0000:0000:0000:0000:0000:0000:0001 2001:0410:0000:1234:FB00:1400:5000:45FF 3ffe:0000:0000:0000:1010:2a2a:0000:0001 FE80:0000:0000:0000:0000:0000:0000:0009 FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF 从上面IPv6地址的首选格式表示中可以看出,每一个地址,都将32个字符全部写了出来,即使地址中有许多个0,或者有许多个F,也都一个不漏地写了出来,由此可见,首选格式只需要将地址完整写出即可,没有任何复杂的变化,但是容易出错。 2.压缩格式 从前面一个IPv6地址表示方法首选格式表示方法中可以看出,一个完整的IPv6地址中,会经常性的出现许多个0,而我们知道,许多时候,0是毫无意义的,0表示没有,写出来,也表示没有,不写,也同样表示没有,那么我们就考虑能否将不影响地址结果的0给省略不写,这样就可以大大节省时间,也方便人们阅读和书写,这样的将地址省略0的表示方法,称为压缩格式。 而压缩格式的表示中,分三种情况,下面来分别介绍三种压缩格式: 第一种情况: 在IPv6中,地址分为8个段来表示,每个段共4个字符,但是一个完整的IPv6地址会经常碰到整个段4个字符全部都为0,所以我们将整个段4个字符全部都为0的使用双冒号::来表示,如果连续多个段全都为0,那么也可以同样将多个段都使用 双冒号::来表示,如果是多个段,并不需要将双冒号写多次,只需要写一次即可,比如一个地址8个段...