摘要: external\dhcpcd\dhcp.cL1040:修改前: /* Regardless of RFC2132, we should always send a hostname * upto the first dot (the short hostname) as otherwise * confuses some DHCP servers when updating DNS. * The FQDN option should be used if a FQDN is required. */ if (ifo->options & DHCPCD_HOSTNAME & 阅读全文
posted @ 2013-12-24 20:05 easynote 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 改进前: /** * The factory using the default JVM settings for secure connections. */ private static final SSLSocketFactory DEFAULT_FACTORY = new SSLSocketFactory(); /** * Gets an singleton instance of the SSLProtocolSocketFactory. * @return a SSLProtocolSocketFactory */ ... 阅读全文
posted @ 2013-12-24 19:54 easynote 阅读(174) 评论(0) 推荐(0) 编辑
摘要: · 修改/etc/network/interfacesauto loiface lo inet loopbackauto eth0iface eth0 inet staticaddress 192.168.1.50netmask 255.255.255.0network 192.168.1.0gateway 192.168.1.1dns-nameservers 192.168.1.1 阅读全文
posted @ 2013-12-24 15:51 easynote 阅读(129) 评论(0) 推荐(0) 编辑
摘要: · 自动挂载fstab设置# work disk/dev/sdb /home/easy/android ext3 defaults 0 0share /media/share vboxsf defaults 0 0· 挂载光盘软件不可运行1. umount /media/***2. sudo mount -t iso9660 -o ro,exec,nosuid,nodev /dev/cdrom /mnt/ 阅读全文
posted @ 2013-12-24 15:26 easynote 阅读(144) 评论(0) 推荐(0) 编辑