ADSL单机多次拨号获取多个ip如何利用的问题
今天用pppd命令拨号,结果多执行了2次,ifconfig -a后,里面外网ip就有3个不同的。
如何利用这3个不同的ip呢?
暂时能想到的是一些限速、限ip的ftp,但还不知道在ftp软件中如何应用。
在论坛里多个马甲同时发飙,不被管理员发现?
其他的还要多想想。
Adblock plus、FoxyProxy们可以下岗了–终极代理+广告过滤工具ADFilter出来啦
今天用到了一款极牛的工具。
ADFilter 1.1
这是Ubuntu中文论坛的一个开源项目
可以实现Adblock plus+FoxyProxy的功能,并且更强,所有浏览器都可用。
http://forum.ubuntu.org.cn/viewforum.php?f=137
由于是java开发,所以可以在任何安装了jre的操作系统中使用
功能:
* 自动过滤来源于 adblock plus(含中文过滤列表)的URL
* 自动过滤来源非主站点的 JS 脚本
* 自动过滤来源非主站点的 IFrame 页面
* 自动过滤来源 sb.google.com 的木马和钓鱼页面
* 自动过滤论坛的内嵌 IFrame 页面
* 自动后台Cache,加快页面访问速度
* 自动将无法访问的地址转向到二级代理
使用:
IE: (菜单)工具->Internet 选项->连接->局域网设置->代理服务器
勾选为LAN使用代理服务器,在地址输入:本机IP地址,端口输入:8080
Firefox: (菜单)编辑->首选项->高级->网络->手工配置代理
Http代理输入:本机IP地址,端口输入:8080
ps:8080端口如果被占用,自动递增如8081
该程序支持gui和无gui模式
无gui模式的操作参数如下:
使用说明: java -jar ADFilter.jar cli 或者 java -jar ADFilter.jar cli proxy=proxy_ip:proxy_port
完整说明: java -jar ADFilter.jar cli DEBUG=true URLFILTER=true HTMLFILTER=true ALLOWINTERNETACCESS=true PROXYTYPE=auto PROXY=127.0.0.1:9050 FORTIMEOUT=36000000 ROTIMEOUT=600000 COTIMEOUT=60000 MAXCONNECTCOUNT=200 MAXCACHEFILESIZE=1024000
监听端口: 8080
我最喜欢里面的“自动将无法访问的地址转向到二级代理”功能,拿和葱头配合使用举例:
一、首先安装好葱头,默认端口为127.0.0.1:9050
二、
1、gui界面,在主窗口代理处填写 127.0.0.1:9050,右侧选自检测,然后点应用即可
2、无gui,在终端理执行 java -jar ADFilter.jar cli proxy=127.0.0.1:9050 即可,可以自行选择添加上面的参数
这样设置好后
三、在浏览器中设置代理为127.0.0.1:8080
四、网页浏览
1、访问一般网址会直接连接;
2、当碰到一些被屏蔽的网址 ADFilter就会自动选择葱头代理连接,初次会慢一些,待连接成功后,再访问该网址其他分页就会快很多。
这样既不用设置全局代理,导致访问一般网址速度下降,又不用像 FoxyProxy这样的工具要手动设置规则,可以说是非常方便。
其他功能:
也可以像FoxyProxy那样设置特定网址用代理,只需把需要用代理的网址输入到代理名单里,然后选择手工设置就行了。
当然如果你处在一个极端恶劣的网络环境中,可以选择全部代理 。
广告过滤,谁用谁知道。嘿嘿
默认下载的过滤列表如果觉得不够,可以在黑名单里添加设置,如:www.xxx.com,该网址段就会被屏蔽
访问过程中,如果遇到部分网页无法正常显示,可以尝试 在主界面关闭HTML内容过滤或关闭URL地址过滤,一般都会得到解决。
应用范围:
个人用,方便;
公司、学校用代理服务器的话,开个squid比较麻烦、有点杀鸡用牛刀的感觉,而无论windows、linux服务器都可以使用 ADFilter.jar文件,在后台加载应用
总之,好工具就是要大家来传播嘛。
这个杀手不太冷-OpenSolaris安装篇
想学一下OpenSolaris。在下载OpenSolaris2008.5iso之前参考了些文档,主要看了硬盘分区的资料,因为这方面认为可能对于win、linux用户比较怪异。
经过硬盘安装、虚拟机安装等尝试后最后发觉,刻盘装是最实际的。
安装不说了,易用性仅次于wubi,杀手级别等级可算上等。
装上后,第一次启动慢些,以后就会快不少,但是哦,nvidia的大logo直接出来了,进去后3D直接可用。杀手等级提高20%。这点对于linux发行版有些建议,对于桌面用户如果你认为受限驱动不如默认驱动的话,那就保持当前状态。否则请直接装上最好的驱动,桌面用户基本都需要,除非不会安装(这部分用户也不少)。升级内核时,最好把驱动一起升级了。让用户方便些,不是更好么?
发现显卡驱动直接出来,当时第一感觉,这杀手厉害呀。不过,
声卡看了一下,小喇叭红叉,不能;
网卡……!网卡不能!!!
没有枪的杀手在这个时代的结局……
进别的系统,上网查方法,下载;回到OpenSolaris,u盘可以直接用,还差不多;编译,安,可以,pppoe配置那个图形网络设置里怎么没有找到?我的xbuntu xfce都行,这杀手还得手动?
ps:网卡驱动这里找找看 http://homepage2.nifty.com/mrym3/taiyodo/eng/
声卡驱动 http://www.opensound.com/download.cgi
gnome没有重启按钮,怪,每次都reboot -n。
杀手应用篇,一年后参上,也许不用这么久,也许更久。
OpenSolaris挂载分区 (转)
http://bbs.chinaunix.net/viewthread.php?tid=1032696
http://forum.java.sun.com/thread.jspa?threadID=5075637
Mount NTFS / Ext2 / Ext3 / FAT 16 / FAT 32 in Solaris
I often get queries about mounting NTFS / Ext2 / Ext3 / FAT 16 / FAT 32 partions in Solaris . Follow the below steps . Note that its only read-only support for NTFS / Ext2 / Ext3 .
* Download packages
FSWpart
FSWfsmisc
Note these are packages for x86 Solaris .
* unzip the packages and install it
root~#gzcat FSWpart.tar.gz | tar xvf -
root~#gzcat FSWfsmisc.tar.gz | tar xvf -
root~#pkgadd -d . FSWpart
root~#pkgadd -d . FSWfsmisc
* Now run the prtpart tool
root~#/usr/sbin/prtpart
It would result in following output
root~#/usr/sbin/prtpart
Fdisk information for device /dev/rdsk/c1d0p0
Block Size : 512 bytes
Controller : ide
Disk : cmdk
Capacity : 74 GB
# start block # nblocks startCylSecHd endCylSecHd OSType
1: 0000000063 0006152832 0/ 1/ 1 7e/7f/fe Diagnostic
2: 0006152895 0025173855 7f/41/ 0 ff/ff/fe WIN95 FAT32(LBA)
3: 0031328640 0052432128 ff/ff/fe ff/ff/fe Solaris x86
4: 0083760830 0072535555 ff/ff/fe ff/ff/fe DOS Extended
# start block # nblocks startCylSecHd endCylSecHd OSType
5: 0000000001 0031407012 ff/ff/fe ff/ff/fe Linux native
0: 0031407013 0001994202 ff/ff/fe ff/ff/fe DOS Extended
# start block # nblocks startCylSecHd endCylSecHd OSType
6: 0000000063 0001994139 ff/ff/fe ff/ff/fe Linux swap
0: 0033401215 0039134340 ff/ff/fe ff/ff/fe DOS Extended
# start block # nblocks startCylSecHd endCylSecHd OSType
7: 0000000063 0039134277 ff/ff/fe ff/ff/fe WIN95 FAT32(Upto 2047GB)
Now note the disk id. In the above example its “/dev/rdsk/c1d0p0″
Now run
root~#/usr/sbin/prtpart /dev/rdsk/c1d0p0 -ldevs
Fdisk information for device /dev/rdsk/c1d0p0
** NOTE **
/dev/dsk/c1d0p0 - Physical device referring to entire physical disk
/dev/dsk/c1d0p1 - p4 - Physical devices referring to the 4 primary partitions
/dev/dsk/c1d0p5 … - Virtual devices referring to logical partitions
Virtual device names can be used to access EXT2 and NTFS on logical partitions
/dev/dsk/c1d0p1 Diagnostic
/dev/dsk/c1d0p2 WIN95 FAT32(LBA)
/dev/dsk/c1d0p3 Solaris x86
/dev/dsk/c1d0p4 DOS Extended
/dev/dsk/c1d0p5 Linux native
/dev/dsk/c1d0p6 Linux swap
/dev/dsk/c1d0p7 WIN95 FAT32(Upto 2047GB)
The above command scan you hard-disk and displays all available filesystems. Note the required filesystems to be mounted.
To mount NTFS partition use
root~#mount -F ntfs /dev/dsk/c1d0p<number> /mnt/windows
To mount FAT 16 / FAT 32 partition use
root~#mount -F pcfs /dev/dsk/c1d0p<number> /mnt/windows
if the above command fails you can try the below option
root~#prtpart /dev/dsk/c1d0p0 -fat
the above command should list the available PCFS / FAT partitions in colon notation, then use the same for mounting (eg)
root~#mount -F pcfs /dev/dsk/c1d0p0:d /mnt/windows
To mount Ext2 / Ext3 partitions use
root~#mount -F ext2fs /dev/dsk/c1d0p<number> /mnt/linux
To unmount a partition use “umount <directory>”
root~#umount /mnt/linux
用了VMware 才发现Virtualbox还有很长一段路要走
因为VMware server和其他虚拟机比比较大以前都没在意,今天装了下,Virtualbox完全别比下去了。速度、易用性、功能vm都强些,还不是强些,而是强很多喽。
Virtualbox除了小,恐怕没什么了。
qemu其实功能上很不错,但就是速度太慢。
在vb没跟上来之前, VMware server和qemu首选。
下面是VMware补丁下载页,最新的内核就用最新的版本就行了
http://groups.google.com/group/vmkernelnewbies/files
