throttle firefox 局域网限速

throttle

背景

近日开发一个上传统计的插件,由于服务器在局域网,带宽太大不利于测试,需要一些限速的东西。就这样找到了firefox 的插件 throttle;

详细描述

Firefox Throttle is a small extension that allows you to cap download/upload rates and monitor current bandwidth utilization.

Features
– Limit download and upload rates for all open Firefox windows/tabs and downloads
– Bursting mode (allow short rate “bursting” after inactivity)
– Preset and custom limits
– Exclude lists for IP addresses and domains that should not be throttled
– Automatically excluded LAN IPs
– Traffic stats (for current session and historic since last reset)
– Status panel with current bandwidth utilization indicators (or traffic counters)
– Quick throttling on/off toggle on status panel

注意

需要注意的是,默认的情况下,它对局域网的IP是不做限制的。需要在需要将exclude ip Tab中的automatically exclude all local networks.取消。
下载地址:
https://addons.mozilla.org/zh-CN/firefox/addon/5917

throttle firefox 局域网限速

throttle

背景

近日开发一个上传统计的插件,由于服务器在局域网,带宽太大不利于测试,需要一些限速的东西。就这样找到了firefox 的插件 throttle;

详细描述

Firefox Throttle is a small extension that allows you to cap download/upload rates and monitor current bandwidth utilization.

Features
– Limit download and upload rates for all open Firefox windows/tabs and downloads
– Bursting mode (allow short rate “bursting” after inactivity)
– Preset and custom limits
– Exclude lists for IP addresses and domains that should not be throttled
– Automatically excluded LAN IPs
– Traffic stats (for current session and historic since last reset)
– Status panel with current bandwidth utilization indicators (or traffic counters)
– Quick throttling on/off toggle on status panel

注意

需要注意的是,默认的情况下,它对局域网的IP是不做限制的。需要在需要将exclude ip Tab中的automatically exclude all local networks.取消。
下载地址:
https://addons.mozilla.org/zh-CN/firefox/addon/5917

grup使用livecd iso文件启动

grup使用livecd iso文件启动

  1. 将livecd iso拷贝到硬盘上。
  2. 将livecd中的内核文件vmlinux etc.及initrd文件拷贝到硬盘上。
  3. 编辑grub.conf文件

eg:
title LFS LiveCD (6.3-preview)
root (hd0,0)
kernel /lfs/vmlinuz_lfs_6.3 ro root=iso:/dev/hda2:/lfs-6.3.iso
initrd /lfs/initrd_lfs_6.3

解析:
(hd0,0)是原有的boot分区。
/lfs/vmlinuz_lfs_6.3是livecd中内核文件的在boot分区中的路径。
/lfs/initrd_lfs_6.3是livecd中initrd文件的在boot分区中路径。
/dev/hda2:/lfs-6.3.iso是livecd iso文件在硬盘的路径。