fan 的个人资料searching for hope照片日志列表 工具 帮助

ke fan

第 1 张,共 5 张
11月3日

网络配置脚本NETSH DUMP

网络配置脚本NETSH DUMP

C:\Documents and Settings\jks>netsh dump >c:\netsh.txt

C:\Documents and Settings\jks>NETSH ?

用法: NETSH [-a AliasFile] [-c Context] [-r RemoteMachine]
             [Command | -f ScriptFile]

下列指令有效:

此上下文中的命令:
?              - 显示命令列表。
add            - 在项目列表上添加一个配置项目。
bridge         - 更改到 `netsh bridge' 上下文。
delete         - 在项目列表上删除一个配置项目。
diag           - 更改到 `netsh diag' 上下文。
dump           - 显示一个配置脚本。
exec           - 运行一个脚本文件。
firewall       - 更改到 `netsh firewall' 上下文。
help           - 显示命令列表。
interface      - 更改到 `netsh interface' 上下文。
ras            - 更改到 `netsh ras' 上下文。
routing        - 更改到 `netsh routing' 上下文。
set            - 更新配置设置。
show           - 显示信息
winsock        - 更改到 `netsh winsock' 上下文。

下列的子上下文可用:
 bridge diag firewall interface ras routing winsock

若需要命令的更多帮助信息,请键入命令,
后面跟 ?。

#========================
# 接口配置
#========================
pushd interface

reset all


popd
# 接口配置结束

#========================
# 接口配置
#========================
pushd interface ipv6

uninstall


popd
# 接口配置结束

 

# ----------------------------------
# ISATAP 配置
# ----------------------------------
pushd interface ipv6 isatap

 

popd
# ISATAP 配置结束

 

# ----------------------------------
# 6to4 配置
# ----------------------------------
pushd interface ipv6 6to4

reset

 

popd
# 6to4 配置结束

#=============
# 端口代理配置
#=============
pushd interface portproxy

reset


popd
# 端口代理配置结束

 

# ---------------------------------- 
# 接口 IP 配置         
# ---------------------------------- 
pushd interface ip


# "本地连接 4" 的接口 IP  配置

set address name="本地连接 4" source=dhcp 
set dns name="本地连接 4" source=dhcp register=PRIMARY
set wins name="本地连接 4" source=dhcp


popd
# 接口 IP 配置结束


                                            
# ----------------------------------------- 
# RAS 配置                         
# ----------------------------------------- 
pushd ras

set authmode mode = standard
delete authtype type = PAP
delete authtype type = SPAP
delete authtype type = MD5CHAP
delete authtype type = MSCHAP
delete authtype type = MSCHAPv2
delete authtype type = EAP
add authtype type = MSCHAP
add authtype type = MSCHAPv2
delete link type = SWC
delete link type = LCP
add link type = SWC
add link type = LCP
delete multilink type = MULTI
delete multilink type = BACP
add multilink type = MULTI
add multilink type = BACP


set tracing component = * state = disabled

popd

#  RAS 配置结束。                  
                                             
                                             

                                            
# ----------------------------------------- 
# 远程访问 AppleTalk 配置      
# ----------------------------------------- 
pushd ras appletalk

set negotiation mode = allow
set access mode = all

popd

# 远程访问 AppleTalk 配置结束。


                                            
# ----------------------------------------- 
# RAS IP 配置                      
# ----------------------------------------- 
pushd ras ip

delete pool

set negotiation mode = allow
set access mode = all
set addrreq mode = deny
set broadcastnameresolution mode = disabled
set addrassign method = auto

popd

# RAS IP 配置结束。               
                                             

                                            
# ----------------------------------------- 
# RAS IPX 配置                      
# ----------------------------------------- 
pushd ras ipx

set negotiation mode = allow
set access mode = all
set nodereq mode = allow
set netassign method = autosame

popd

# RAS IPX 配置结束。               
                                             
                                             

                                            
# ----------------------------------------- 
# RAS NBF 配置                      
# ----------------------------------------- 
pushd ras netbeui

set negotiation mode = allow
set access mode = all

popd

#  RAS NBF 配置结束。               
                                             
                                             

                                            
# ----------------------------------------- 
# RAS AAAA 配置                    
# ----------------------------------------- 
pushd ras aaaa

set authentication provider = windows
set accounting provider = windows

delete authserver name = *
delete acctserver name = *

 

popd

# RAS AAAA 配置结束。             
                                             
                                             
# 路由配置
pushd routing
reset
popd

#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#
#                                                         #
#   在运行这个脚本之前                                    #
#                                                         #
# 要恢复 IPX 路由器配置,您必须首先从                     #
# 网络连接文件夹中卸载 IPX 然后将其重                     #
# 新安装。                                                #
#                                                         #
#   这样会删除旧的 IPX 路由器配置                         #
#   并将 IPX 路由器配置复原为默认                         #
#   值                                                    #
#                                                         #
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#

#----------------------------------------------------------
# IPX 配置
#----------------------------------------------------------

pushd routing ipx

#----------------------------------------------------------
# IPX 接口配置
#----------------------------------------------------------


#----------------------------------------------------------
# IPX 传输筛选器配置
#----------------------------------------------------------


#----------------------------------------------------------
# IPX 静态路由配置
#----------------------------------------------------------


#----------------------------------------------------------
# IPX 静态服务器配置
#----------------------------------------------------------


popd

# IPX 配置完毕

#----------------------------------------------------------
# IPX RIP 配置
#----------------------------------------------------------

pushd routing ipx rip
popd


# End of IPX RIP 配置

#----------------------------------------------------------
# IPX SAP 配置
#----------------------------------------------------------

pushd routing ipx sap
popd


# IPX SAP 配置完毕

#----------------------------------------------------------
# IPX NETBIOS 配置
#----------------------------------------------------------

pushd routing ipx netbios
popd


# IPX NB 配置完毕
# IP 配置
pushd routing ip
reset
set loglevel error
add preferenceforprotocol proto=LOCAL preflevel=1
add preferenceforprotocol proto=NetMgmt preflevel=10
add preferenceforprotocol proto=STATIC preflevel=3
add preferenceforprotocol proto=NONDOD preflevel=5
add preferenceforprotocol proto=AUTOSTATIC preflevel=7
add preferenceforprotocol proto=OSPF preflevel=110
add preferenceforprotocol proto=RIP preflevel=120
add interface name="本地连接 4" state=enable
set filter name="本地连接 4" fragcheck=disable
add interface name="环回" state=enable
set filter name="环回" fragcheck=disable
add interface name="内部" state=enable
set filter name="内部" fragcheck=disable
popd
# IP 配置的尾端

 

# ---------------------------------- 
# DNS 代理配置            
# ---------------------------------- 
pushd routing ip dnsproxy
uninstall


popd
# DNS 代理配置结束

 

# ---------------------------------- 
# IGMP 配置                 
# ---------------------------------- 
pushd routing ip igmp
uninstall


popd
# IGMP 配置结束

 

# ---------------------------------- 
# NAT 配置                  
# ---------------------------------- 
pushd routing ip nat
uninstall


popd

 


# ---------------------------------- 
# OSPF 配置                 
# ---------------------------------- 

pushd routing ip ospf
uninstall

popd
# OSPF 配置结束

 


# ---------------------------------- 
# DHCP 中继代理配置    
# ---------------------------------- 
pushd routing ip relay
uninstall


popd
# DHCP 中继配置结束

 

# ---------------------------------- 
# RIP 配置                  
# ---------------------------------- 
pushd routing ip rip
uninstall


popd
# RIP 配置结束

 

# ---------------------------------- 
# 路由器探索配置     
# ---------------------------------- 
pushd routing ip routerdiscovery
uninstall
add interface name="本地连接 4" disc=disable minint=7 maxint=10 life=30 level=0
add interface name="环回" disc=disable minint=7 maxint=10 life=30 level=0
add interface name="内部" disc=disable minint=7 maxint=10 life=30 level=0


popd


# ---------------------------------- 
# DHCP 分配器配置       
# ---------------------------------- 
pushd routing ip autodhcp
uninstall


popd
# DHCP 分配器配置结束


# ------------------------------------
# 桥配置 (不支持)
# ------------------------------------

# ------------------------------------
# 桥配置结束
# ------------------------------------

8月20日

back to china 回国了

终于可以回国了,九月三日回国,将会在上海,广州,武汉停留。

(转)You Might Be A Ricer If…

You Might Be A Ricer If…
  • You have more exhaust decibels than your engine has horsepower.
  • You have aftermarket FRONT wheels for racing but stock rear wheels.
  • Your engine makes twice as much horsepower as torque.
  • 17" rims up front, 13" out back on your FWD.
  • You ever painted your wheels to match the same color of your car.
  • You put your automatic car in neutral at every stoplight in order to roll it back and try to fool other people into thinking you have a manual transmission
  • DuPont gave up trying to figure out the shade you were asking for.
  • Your mod list includes stereo equipment, shifter handle, MOMO steering wheel, PIA driving lights, exhaust tip, but no REAL engine parts.
  • A chameleon lizard undergoes fewer shade changes than your custom paint scheme.
  • Your rims and tires are so large, that you have to install the tire / wheel from underneath the car because it simply won't fit in the wheel well going in from the side.
  • The dealer laughs when you bring your car back in for service under warranty, and you've only had it 6 months...
  • Your tires / rims stick out from the lip of your car by more than 1."
  • Your paint job is from the WRONG end of the color spectrum.
  • You installed spacers on your STOCK wheels and tires to get them to stick out past the fender.
  • You see cars like yours in a Shriner's Parade for Children and clowns are driving them.
  • You bring an empty Maxwell House coffee can with you to compare size when you shop for an aftermarket exhaust system.
  • Your Eclipse GS-T hardtop has a "SPYDER" emblem on the rear...
  • Your sum knowledge of suspension is: "the more negative camber, the better the handling."
  • You push your car through the staging lanes.  That way, maybe you can break into the 16s by keeping the motor cool between runs.
  • You add a super tall rear wing, and a hundred pounds of aftermarket ground effects, neon and stereo yet you gut the interior and yank out the rear seat for weight savings.
  • Your rear wing AND your rear window have a third mount brake light...
  • The back lighting in the gauges in your A-pillar gauge pod work long before the actual gauges are hooked up.
  • You cut 4 coil springs and scrape the chassis on the ground. Sparks are cool when you corner at normal traffic speeds!
  • You have to find a way to drive AROUND speed bumps in a parking lot.
  • You install clear corner and brake lights.
  • You install colored bulbs in your aftermarket clear lenses.
  • You ever put neon on the bottom of your car, and then busted it on the first speed bump you went over.
  • You painted the UNDERBODY of your car to match
  • If your rear spoiler is taller then you are.
  • if you can fit fist fuck your exhaust tip
  • You have more stereo WATTS than engine TORQUE!
  • If your tailpipe extension is the most expensive mod you’ve done to your engine yet.
  • Your tailpipe extension fell off during a quarter mile race and you went three tenths of a second faster due to weight savings.
  • EVERY car in your class has a turbo pushing double digits worth of boost.
  • You spent $5,000 on the engine and you can not out run a stock Camaro, Firebird, or Mustang
  • You want the 'wastegate' sound, but don't want to install a turbocharger system.
  • You think Nitrous Oxide on your Hyundai Sonata puts you in the same performance league as the Chevy Corvette.
  • The automatic version of your car runs 2 seconds slower in the 1/4mile.
  • If the 1970 Plymouth Daytona Superbird has a smaller spoiler than your car does.
  • You think the Del Sol is a sports car...
  • A torque converter does NOTHING for your car.
  • You think a deep farty noise = the sound of high performance
  • If you think that horsepower is far more important than torque
  • If you have ever claimed that switching to a cone filter has given you more than 5 HP.
  • If you have ever considered installing more than one set of fog / driving lights.
  • If you claim that the aftermarket cold air intake system you just installed doubled your horsepower or took 2 or more seconds off of your E/T.
    • Your baseball cap is always on backwards when you drive (the first sign of mental retardation, wearing your clothes backwards... BE).
    • You spent all night on the Internet trying to find a company that makes a turbocharger system for your Hyundai...
    • If you removed your side view mirrors and put them at the TOP of the door / window frame.
    • If you think the Fugees are 'speed' music.
    • MOMO is 'absolutely required' to go fast.
    • Your four cylinder has a dual exhaust system installed.
    • Your four cylinder has four exhaust pipes ("Hey, one for each cylinder!")
    • The color of your interior upholstery hurts the cones and rods in other people's eyes.
    • If you cannot drive your car in snow as the ground effects create a plow effect.
    • If you have installed driving lights to compensate for headlight blackouts / tape.
    • If you think that 180 horsepower and 185 lb/ft of torque are impressive for a ‘mildly’ modified engine.
    • If you have stickers on your car for parts that you could not point out if asked where those parts are installed.
    • You think pushrods are a bad thing…
    • Your car has more decals than you do the quarter in seconds.
    • Every Honda you EVER owned, all the way back to your 1978 Accord was either a V-Tec or a TYPE-R.
    • You took your rear seat out and gutted your interior for weight savings but you installed 400 pounds of electronics, neon, DVD, Sony, etc.
    • If you gutted the interior to save weight on a car that you will never take to the track…
    • You lean your seat so far back when you are driving, that every time you hit a bump, its your back and not your butt that hurts.
    • You have hydraulics and sixteen switches on a car you claim runs low 10s on the street and corners better than a Porsche.
    • If you can estimate that your car makes more than 250 HP without ever running it at the track or getting a dyno reading.
    • You claim that you can get a titanium block for your engine.
    • If you have ever thought Hyundai and "performance" went hand in hand
    • If you've ever gone to a parts shop or speed warehouse and asked for a 1" to 6" exhaust adapter...
    • If you've ever contemplated adding "TYPE-R" stickers to your Sonata…
    • If you've removed more than 1/2 of the coils from your springs by cutting them yourself ...
    • If you have more neon lights on your car than a strip club...
    • You put Kanji on your Ford ZX2, Ford Probe, or Mercury Cougar ...
    • You own a "TYPE-R" Hyundai or Mazda.
    • You couldn't afford headlight masking, so you just painted them with flat black Krylon and it's peeling.  Badly.
    • You claim that polishing your intake gave you 5hp.
    • You own a V-TEC Hyundai or Mazda (especially a V-TEC rotary engined Mazda RX-7)
    • You have neon INSIDE your car or in your ENGINE compartment
    • You ever claimed that high gas mileage made your car superior in performance to V8s.
    • If it takes you 8000rpm to reach 30mph from a dead stop at WOT.
    • You think yellow plastic interior trim makes your car cool
    • You spend $500 for a giant hand welded tube for a muffler with the weld marks extremely visible
    • If you paint your drum brakes to simulate Hi-po calipers
    • If you install fake hi-po caliper / disc simulators
    • You have a front wing.
    • If you lower your car and add ground effects but retain the stock 14inch wheels with disc style wheel covers
    • If you equate the sound of performance with the sound of a Weed Eater™
    • If you think bolting a fake muffler to one side to simulate dual exhaust is cool
    • If you think colored head lights work better
    • Clear tail lights and turn signals. They’re colored for a REASON!
    • If you take mom's 4 door Honda accord and do any kind of mod to it
    • You drive a Ford Escort station wagon with Kanji, wide tires, and Limp Bizkit stickers on the rear hatch
    • You claim you lost the race because you had a passenger in the car.
    • You claim how if you went from a roll you would have beat him.
    • You claim you lost because you missed a shift... and your car is an automatic.
    • You claim you lost because he must have been on the juice..
    • Flying past the person who is 10 car lengths in front of you after they have put on their brakes.. and claim a victory.
    • after losing you flip your opponent off... rev your motor and fail to break the wheels loose even around a corner.
    • Tell everyone about how you lost the cop because of your "driving skills."
    • you are a white kid driving an import.. wear baggy pants/hat turned around, walk with a fake limp and end every sentence with "yew know wha I'm sayin?  Relate."
    • Your idea of aiming a handgun is raising your arm over your head, pointing the gun away from you, and then just letting your wrist fall to the side to where the gun is almost sideways ...
    • drive around in a $20,000 import with $10,000 in mods.. and still live with your parents.
    • You can relate to every line of the song "Pretty Fly For A White Guy" by the Offspring
    • you take offense when I say.. "your sister is like your car.. small, tight and hard to get into."
    • You are a skinny, backwards hat wearing, dog chain wallet, 2 ft wide pants leg, Limp Bizkit looking white boy fag with a badly applied peroxide hair color treatment  and temporary rub-on tattoos!
    6月25日

    迈克尔杰克逊 死了

    因为注射强效杜冷丁之后就昏死过去,然后心脏再也没有恢复跳动。
    我的偶像啊,最近他来多伦多开演唱会的时候还在犹豫挣扎要不要花几百块去看,谁知道竟然再也没有机会了。从马拉多纳到杰克逊,我的偶像都是被该死的毒品给摧毁了。
    伤感中。人生就是这样吧,虽然不顺利,起码我还健康的活着。


    5月1日

    网站问题

    按了BUY后Warning: Cannot modify header information - headers already sent by (output started at /home/bestinkc/public_html/includes/languages/english.php:641) in /home/bestinkc/public_html/includes/functions/general.php on line 33

    solution:
    The problem is that many editors seem to add additional blanks (spaces) and/or empty lines at the end of a file when you edit it.
    edit includes/languages/english.php, remove the blanks at the ending.