Crazy man tweak

Get help and discuss anything related to tweaking your internet connection, as well as the different tools and registry patches on the site. TCP Optimizer settings and Analyzer results should be posted here.
Radio-
New Member
Posts: 14
Joined: Mon Dec 11, 2000 12:00 am
Location: Houston, TX

Post by Radio- »

Right about one thing Cablenut.. This is a crazyman's tweak =)

It sounds great, and is actually a perfectly logical Idea!!

I just tried it myself, and unfortunatly couldn't quite get it working. I managed to get the Ramdrive 'installed' just fine and the script executed and copied the files to the ramdrive, however I simply coudn't access the net, no error messages or anything.

Well, I'm gonna go back to fiddling around with this and I'll see if I can get something working. Thanks for your sharing of your experience and skill with all of us :)
KD5FTN System Administrator
kd5ftn@houston.rr.com
User avatar
cablenut
Advanced Member
Posts: 863
Joined: Fri Aug 25, 2000 12:00 am
Location: Indianapolis, IN

Post by cablenut »

Kinda weird there Prey521 how big did you make it? Make sure in your Script file you start tcpip before AFD. A question Radio are you on DHCP?
Head webcheese and geek guru @ http://www.cablenut.com
Firezap

Post by Firezap »

Originally posted by cablenut:
I just put my TCP/IP protocol driver on my ramdisk (tcpip.sys) edited the nesaccary registry values and woot the net is faster as a result but beware this is for CRAZZY people only :)
Hi!

I have a cable modem, that is a 512Kbit.
But my reseler says that its actually a 1.2 Gbit line. And the modem is "lockt" @ 512kbit. Do you (or someone else) know how to remove this block?
JediMonkey

Post by JediMonkey »

I am having the same problem Radio is. The ramdrive is there, the files are copied over and started, but there is no connection. I am using DHCP w/ the Linksys befs41.

[ 02-07-2001: Message edited by: JediMonkey ]
User avatar
RicRogue
Senior Member
Posts: 1671
Joined: Tue Nov 28, 2000 12:00 am
Location: Denton, Texas

Post by RicRogue »

Originally posted by Janne Aho:
Hi!

I have a cable modem, that is a 512Kbit.
But my reseler says that its actually a 1.2 Gbit line. And the modem is "lockt" @ 512kbit. Do you (or someone else) know how to remove this block?
Janne Aho :) Welcome to SpeedGuide :)

What you are refering to is called uncapping. We do not discuss that on this site. Please refer to this web page for more information why it is impossible.

RicRogue :p
Horizon Web Design

Are you Saved??? :confused: Click here to find out how you can be. :thumb:
User avatar
cablenut
Advanced Member
Posts: 863
Joined: Fri Aug 25, 2000 12:00 am
Location: Indianapolis, IN

Post by cablenut »

This method probably doesn't work on DHCP machines me and phillip are working more on it.
Head webcheese and geek guru @ http://www.cablenut.com
Radio-
New Member
Posts: 14
Joined: Mon Dec 11, 2000 12:00 am
Location: Houston, TX

Post by Radio- »

About your question CableNut:

Yes, I am on DHCP, I'm getting my ip from my Linksys Router acting as a DHCP server.

Yea, with playing around on this everything loads just fine and the script executes, just no internet :eek: Oh well, a surely neat little trick if ya can get it working.

Thanks for your support!
KD5FTN System Administrator
kd5ftn@houston.rr.com
User avatar
Rick
New Member
Posts: 12
Joined: Fri Nov 10, 2000 12:00 am

Post by Rick »

Very interesting. I wonder if there's a way to reduce tcp/ip boot time.
.................................

Image

~Rick E.J

[ 02-07-2001: Message edited by: Rick ]
JediMonkey

Post by JediMonkey »

I think I found a workaround to the DHCP limitation. If you goto Control Panel>Admin Tools>Services once your computer has completely boot up, and start the DHCP Client service, your connection will be back. It works fine for me.

Can anybody think of a way to automate this process?

[ 02-08-2001: Message edited by: JediMonkey ]

[ 02-08-2001: Message edited by: JediMonkey ]
User avatar
cablenut
Advanced Member
Posts: 863
Joined: Fri Aug 25, 2000 12:00 am
Location: Indianapolis, IN

Post by cablenut »

Ah yes just figured it out here is a sample script for DHCP users:

copy c:\winnt\System32\DRIVERS\tcpip.sys r:\
copy c:\winnt\System32\DRIVERS\afd.sys r:\
net start tcpip
net start afd
net start dhcp

I forgot about the DHCP service since I use static DUH oh well it's fixed...
Head webcheese and geek guru @ http://www.cablenut.com
User avatar
Philip
SG VIP
Posts: 11757
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Here is my script, just name it something.bat and add it to the "START>Programs>Startup" folder, it will execute at startup...

Code: Select all

@echo on

copy c:\winnt\System32\DRIVERS\tcpip.sys z:\
copy c:\winnt\System32\DRIVERS\afd.sys z:\

net start tcpip
net start afd
net start dhcp

ipconfig

@pause
[ 02-08-2001: Message edited by: Philip ]
User avatar
Prey521
Posts: 34932
Joined: Sat Feb 05, 2000 12:00 pm
Location: Humble, Tx

Post by Prey521 »

Didn't work for me :( I followed the guide to the T and I couldnt access the internet. I got an error saying that the RAM disk was an unrecognized file format. Did anyone else get this error? :confused: :confused:
owned by pac0z atm

User avatar
dannjr
Posts: 2233
Joined: Tue Jul 11, 2000 12:00 am
Location: Chicago

Post by dannjr »

This is perfect now instead of 4 minutes to start it takes only a couple... at least on mine..
Latency is gone from the machine at least most of it..
I'm using it with DHCP. With a .BAT file in the start menu for the commands...
The longest wait time is for TCP/IP to start once it does the rest pop on..
Time to install once you have the Ramdrive files from Microsoft takes about 15min most to configure it.
ONE LAST TIME..
MAKE SURE YOU AT LEAST BACKUP THE KEYS IN THE REGISTRY YOU RECONFIGURE :) :D

Thank you Philip & Cablenut it was great to see you guys work this together..

[ 02-08-2001: Message edited by: dannjr ]
User avatar
Prey521
Posts: 34932
Joined: Sat Feb 05, 2000 12:00 pm
Location: Humble, Tx

Post by Prey521 »

Philip & Cablenut,


will those new settings specified above fix the unrecognized file format error that I was gettin when the Ram Drive was loading from the script?
owned by pac0z atm

User avatar
Prey521
Posts: 34932
Joined: Sat Feb 05, 2000 12:00 pm
Location: Humble, Tx

Post by Prey521 »

Originally posted by cablenut:
Kinda weird there Prey521 how big did you make it?
I made it exactly like the instructions said, 1 Meg
owned by pac0z atm

User avatar
dannjr
Posts: 2233
Joined: Tue Jul 11, 2000 12:00 am
Location: Chicago

Post by dannjr »

Originally posted by Prey521:
Philip & Cablenut,


will those new settings specified above fix the unrecognized file format error that I was gettin when the Ram Drive was loading from the script?
Prey521;
Make sure that the files and the registry are pointing in the right direction..
Your registry should point at your new Ramdisk.
check it a couple of times to make sure.

the copy command in the script should copy over the files.. Make sure the files are being copied from the folder to the ramdisk in other words make sure the files are in the C:\WINNT\system32\Drivers folder. If there not there you will get that problem.
It also helps to be logged in as the Administrator when you make changes like this.
DHCP does log a little faster to... :)
Radio-
New Member
Posts: 14
Joined: Mon Dec 11, 2000 12:00 am
Location: Houston, TX

Post by Radio- »

w00t! Yep, I guess starting the DHCP service does help... way to go guys!!

So far I haven't really noticed a change in performance, but, I'll play around and try some more accurate tests and let ya know what I get..

Edit>> Also, is there a system file for the dhcp client, and can we load this to the ramdisk? I'll see if i can.. <<
Hmm, the image path for DHCP uses 'services.exe' which are used by ..well.. a ton of other services, I'm going to make a copy of services.exe (87k) onto the ramdisk and have dchp use that, while the others still use the on on the HD..

:) :)

Laterz,
Radio

[ 02-08-2001: Message edited by: Radio- ]

[ 02-08-2001: Message edited by: Radio- ]
KD5FTN System Administrator
kd5ftn@houston.rr.com
donald_k
Regular Member
Posts: 406
Joined: Tue Oct 17, 2000 12:00 am
Location: Thunder Bay, Ontario, Canada

Post by donald_k »

:D ok boys and girls firsyt I would like to thank cablenut for being so brave with this tweak as it could trash the computer if done wrong (I almost killed win2k when I attempted to get NDIS in the ram drive but my computer BSOD'd)

If you are using MS ramdisk for your ram drive and the batch file that cablenut put up this will shorten the LONG boot time big time.

Note how I have AFD start before ANY of my networking protocols. The reason before it takes so long to boot is because TCPIP is looking for the AFD driver to latch on too, but if AFD is not in memory before TCPIP loads it will hang for 3 minutes or longer. so in short AFD must start before everything else. ;)

@echo on

Echo Starting TCP/IP Services

copy c:\winnt\System32\DRIVERS\netbt.sys z:\
copy c:\winnt\System32\DRIVERS\tcpip.sys z:\
copy c:\winnt\System32\DRIVERS\afd.sys z:\
net start afd
net start netbt
net start tcpip

:D :D ;) ;)

[ 02-08-2001: Message edited by: donald_k ]
User avatar
cablenut
Advanced Member
Posts: 863
Joined: Fri Aug 25, 2000 12:00 am
Location: Indianapolis, IN

Post by cablenut »

Thank you donald_k very helpful information!
Head webcheese and geek guru @ http://www.cablenut.com
Lobo

Post by Lobo »

Woot, you loosing stars Mr. Webcheese :cool:
donald_k
Regular Member
Posts: 406
Joined: Tue Oct 17, 2000 12:00 am
Location: Thunder Bay, Ontario, Canada

Post by donald_k »

Glad I was a help. I would have posted this last night as soon as I seen this thread and had it going but I had to get to bed for school :p . So did it decrease your boot time?
User avatar
cablenut
Advanced Member
Posts: 863
Joined: Fri Aug 25, 2000 12:00 am
Location: Indianapolis, IN

Post by cablenut »

Yeah it only seems logical you should load the sub services of TCPIP before loading tcpip itself.
Head webcheese and geek guru @ http://www.cablenut.com
User avatar
Juggernaut
Senior Member
Posts: 1645
Joined: Fri Aug 11, 2000 12:00 am
Location: Parts Unknown

Post by Juggernaut »

Hey Donald, I noticed that you added the netbt in there as well...what's that one used for and if it should be added, does the reg entry have to be changed as well?
Image
It can't rain all the time...
donald_k
Regular Member
Posts: 406
Joined: Tue Oct 17, 2000 12:00 am
Location: Thunder Bay, Ontario, Canada

Post by donald_k »

Because the TCPIP stack makes calls to NETBT just to find out NETBT is disabled. I wonder if adding the DNS service may help also with DNS resolutions.....so far my ramdisk is at 1MB so I can defiantly turn it up. And CPU usage with this puppy is pratically NIL.
User avatar
cablenut
Advanced Member
Posts: 863
Joined: Fri Aug 25, 2000 12:00 am
Location: Indianapolis, IN

Post by cablenut »

CPU Usage with the TCPIP services on the RamDisk would actually go down. :)
Head webcheese and geek guru @ http://www.cablenut.com
donald_k
Regular Member
Posts: 406
Joined: Tue Oct 17, 2000 12:00 am
Location: Thunder Bay, Ontario, Canada

Post by donald_k »

yes I know..right now I am walking Jesse23 through with MS ramdisk.....and talking to some jack about the school computer network (you can guess what it is :) )
User avatar
Philip
SG VIP
Posts: 11757
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

What I'd do is change:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip]
"ImagePath"=\??\Z:\tcpip.sys

and

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD]
"ImagePath"=\??\Z:\AFD.sys


Then, add the following as a .bat file and put it in the Startup menu:

Code: Select all

@echo on

copy c:\winnt\System32\DRIVERS\tcpip.sys z:\
copy c:\winnt\System32\DRIVERS\afd.sys z:\

net start tcpip
net start afd
net start dhcp

ipconfig

@pause
That's all...
User avatar
Philip
SG VIP
Posts: 11757
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Oh, all that is with the default Ramdisk.inf settings, Drive letter is Z: by default.
User avatar
Juggernaut
Senior Member
Posts: 1645
Joined: Fri Aug 11, 2000 12:00 am
Location: Parts Unknown

Post by Juggernaut »

I just found out something bad about this...It basically disables ZoneAlarm. I have ZAPro going and it doesn't work anymore after the tweak. It doesn't show what's connecting to the net, any connection attemps coming in, and my ports aren't stealthed anymore.

Anyone else have this problem or know what to do about it?
Image
It can't rain all the time...
User avatar
Juggernaut
Senior Member
Posts: 1645
Joined: Fri Aug 11, 2000 12:00 am
Location: Parts Unknown

Post by Juggernaut »

Ok, if you shutdown ZoneAlarm after everything is loaded and it's done, and then restart ZoneAlarm, it will start to work again. Kind of a pain but it works....
Image
It can't rain all the time...
User avatar
cablenut
Advanced Member
Posts: 863
Joined: Fri Aug 25, 2000 12:00 am
Location: Indianapolis, IN

Post by cablenut »

Does ZoneAlarm run as a system service in Windows 2000? If so you might have to start it in your .bat file
Head webcheese and geek guru @ http://www.cablenut.com
User avatar
Juggernaut
Senior Member
Posts: 1645
Joined: Fri Aug 11, 2000 12:00 am
Location: Parts Unknown

Post by Juggernaut »

I'm not quite sure. The True Vector Internet Monitor runs as a service and it is set to Automatic but I notice that it says it hasn't started. The ZoneAlarm program itself starts from the Programs->Startup shortcut.
Image
It can't rain all the time...
User avatar
cablenut
Advanced Member
Posts: 863
Joined: Fri Aug 25, 2000 12:00 am
Location: Indianapolis, IN

Post by cablenut »

You could try starting that in your .bat and see if that works.
Head webcheese and geek guru @ http://www.cablenut.com
Aeric67
New Member
Posts: 15
Joined: Tue Dec 19, 2000 12:00 am
Location: Spokane, WA, USA

Post by Aeric67 »

Just curious, but how exactly does this work to increase speed?

When TCPIP loads, doesn't it load itself into RAM anyway? I can't believe that even MS would allow such a low level network component to be accessed directly from disk during use.

Maybe I am missing something here...

Aeric
User avatar
Juggernaut
Senior Member
Posts: 1645
Joined: Fri Aug 11, 2000 12:00 am
Location: Parts Unknown

Post by Juggernaut »

The path for the service is C:\WINNT\system32\ZoneLabs\vsmon.exe -service

I can't use "net start net start C:\WINNT\system32\ZoneLabs\vsmon.exe -service" on it, gives an invalid filename.
Image
It can't rain all the time...
User avatar
dannjr
Posts: 2233
Joined: Tue Jul 11, 2000 12:00 am
Location: Chicago

Post by dannjr »

Juggernaut

Try this after everything else but before pause
PATH=C:\WINNT\system32\ZoneLabs\
vsmon.exe -service
User avatar
Juggernaut
Senior Member
Posts: 1645
Joined: Fri Aug 11, 2000 12:00 am
Location: Parts Unknown

Post by Juggernaut »

still doesn't work. When I added that in, the ipconfig command didn't work in the .bat file during startup (said it wasn't an internal or external command....). This is what my .bat file looks like now.

@echo on
copy c:\winnt\System32\DRIVERS\tcpip.sys z:\
copy c:\winnt\System32\DRIVERS\afd.sys z:\
net start afd
net start tcpip
net start dhcp
PATH=C:\WINNT\system32\ZoneLabs\vsmon.exe -service
ipconfig
@pause
Image
It can't rain all the time...
User avatar
Juggernaut
Senior Member
Posts: 1645
Joined: Fri Aug 11, 2000 12:00 am
Location: Parts Unknown

Post by Juggernaut »

I don't think it's working because all the things in the .bat file are being executed after/during ZAPro is loaded. Is there a way to set this file to load before other things load?
Image
It can't rain all the time...
User avatar
dannjr
Posts: 2233
Joined: Tue Jul 11, 2000 12:00 am
Location: Chicago

Post by dannjr »

Ok heres what I tryed here but I don't have ZA on my machine so you will only know for sure if this would do it...

-------------------------------------
@echo on
copy c:\winnt\System32\DRIVERS\tcpip.sys z:\
copy c:\winnt\System32\DRIVERS\afd.sys z:\
net start afd
net start tcpip
net start dhcp
@pause
PATH=C:\WINNT\system32\ZoneLabs\vsmon.exe -service
@pause
ipconfig
@pause

---------------------------------------

Now there is a way of timing the @pause but it will have to wait till I can get to that book later today
User avatar
dannjr
Posts: 2233
Joined: Tue Jul 11, 2000 12:00 am
Location: Chicago

Post by dannjr »

Juggernaut
Here is a sample of my startup .BAT file for my ZA I was having a similar problem with it starting up..I really don't use it but I figured I would make sure since I was ahving a similar problem with my FTP server starting up...
---------------------------------------------
@echo on

Echo Starting TCP/IP Services

copy c:\winnt\System32\DRIVERS\netbt.sys z:\
copy c:\winnt\System32\DRIVERS\tcpip.sys z:\
copy c:\winnt\System32\DRIVERS\afd.sys z:\
net start afd
net start tcpip

ipconfig

@pause


Path=C:\Program Files\Zone Labs\ZoneAlarm\
zonealarm.exe
---------------------------------------------

This worked out well as I don't need to see ZA start in the BAT file I only needed the results..

[ 02-09-2001: Message edited by: dannjr ]
Post Reply