dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
18797
share rss forum feed


ronpaul

@direcpc.com

[Networking] You can permanently turn off TurboPage and DNS Cach

downloadftp_dw7000.pl 2,452 bytes
DW**** TP/DNS Cache controller
Hi, I have figured out how to permanently turn off the TurboPage and DNS Cache feature on the DW**** Modems for HughesNET. This involves FTPing to your modem, changing the config, it's a bit risky but I made a pretty nice Perl script to do it automatically. I've tested it in Linux, yet Windows should work too if Perl is installed (www.activeperl.com).

The script just runs like this, ftp_dw7000.pl -s 192.168.0.1 -u USERNAME -p PASSWORD -t off (turns TP and DNS Cache off), and can restore them to on by using -t on. You will need to know the 'secret' password/username, it's available through a message board post that the ftp_dw7000.pl script tells you to check it, so it's out there on the web (on these boards actually).

I tested this on the dw7000, I think the rest of the dw**** modems will work too, someone also can easily look through the Perl script and figure out what's going on.

My connection has worked way better since doing this, not worse like one would believe, seems turbopage and DNS cache are the things that cause the 0.0.0.0 DNS resolving which makes the blank pages load and other horrible things (also makes it so you can use services like OpenDNS too at »www.opendns.com). So your DNS usage is freed from their servers the correct way doing this change.

Thanks,
Tom

DivineRiku

join:2006-12-10
Liberty, MS

Re: [Networking] You can permanently turn off TurboPage and DNS

So like what will this accomplish, will it stop the FAP or what.


jhorning

join:2004-08-09
Hedgesville, WV
reply to ronpaul

Is there a reason the file is encrypted?



ronpaul

@direcpc.com
reply to DivineRiku

It won't avoid the FAP, it will allow you to browse reasonably though when under the FAP (instead of the reports where it becomes unusable), because the turbopage and DNS cache seem to cause the lower speeds under the FAP to degrade the connection. It also will avoid the DNS problems that occur with the DNS cache and HughesNet DNS servers, using www.opendns.com servers in place of the HughesNet ones will improve speed of DNS lookups. When your using the TurboPage and DNS cache stuff, you can't use any other DNS servers, the modem will intercept the DNS traffic and force the use of HughesNet servers. So this will make your connection more like a 'real' internet connection, not a proxy and free your usage of DNS servers to alternative ones. Looking through these forums there's issues with the DNS resolution and Turbopage choking the connection, and this gives the capability to bypass those choking points.

I've seen the trick on using the advanced page to bypass turbopage, but this does it right, and you still are using the TCP Acceleration yet not the Turbopage servers, two different things actually.

Also with the script, studying it, people may be able to figure out more, but definitely for the more advanced users. I'm not saying it's for the light at heart, definitely a risk here, yet it should pave the road for us users to figure out ways to improve the HughesNet connection since when calling them they seem not to even have control of it themselves and say 'everyone must use the DNS caching and Turbopage servers no matter what, we can't turn it off. Well now we users can do that exact thing they claim is impossible.

Also just from my experience using the connection without the TP/DNS cache, it's a much smoother internet experience all together. I think a big problem is the DNS resolution and not realized, usually blamed on other factors like just being satellite or HughesNet all together, but it seems to be the internet address lookup of the DNS cache they use which really is the crux of the problems (and who really wants to use a 'TurboPage' server when it's just a Proxy to the internet instead of an actual connection like using DSL).

also running that script with -h or --help will show the information needed, forgot to include that, just the standard help information.

Tom



ronpaul

@direcpc.com
reply to jhorning

downloadftp_dw7000.zip 2,421 bytes
Oh I see that now, must be the attachment feature of this forum .

I attached it again here, as a zip file, hopefully that works.

Thanks,
Tom


dbirdman
Premium,MVM
join:2003-07-07
usa
kudos:5
reply to ronpaul

said by ronpaul :

who really wants to use a 'TurboPage' server when it's just a Proxy to the internet instead of an actual connection like using DSL
I hope this misunderstanding of what they proxy does, and why it is so important with satellite, isn't the reason you went to all this trouble?

The available methods (I particularly like the one that just adds an agent to the header) certainly work, and there are times when it is important to have them in your toolbox.

But to suggest that a non-proxied satellite connection will work as well on a 100-element site as a proxied one is just plain nuts! Your browsing must be to low-content sites if you don't notice the difference, or find non-proxied to be faster.
--
W2K Server|Toshiba Satellite XP Pro|HughesNet IA8/1410/7000 2-watt Business Internet on .98 meter fixed | Datastorm .98 XF2 2-watt on 1990 Blue Bird Wanderlodge "Blue Thunder" 22 tons of rolling steel!


ronpaul

@direcpc.com

It may be the DNS cache disabling improvements overshadow that. The thing is I disabled the DNS cache only firstly, and it did work, except for the porn blocking, for some reason that needed turbo page disabled too. So it may work just doing it without DNS Caching/interception, if not caring about the porn blocking part. I will make a new Perl script allowing both as separate options, so can choose them separately. I'm not sure why it works like that, where porn blocking doesn't work with TurboPage on and DNS Cache off, but seems it's the proxying thing and OpenDNS can't tell you coming from your IP (but the OpenDNS servers are still usable). If you can put your satellite modem IP into OpenDNS then it may work for both (porn blocking and normal DNS usage of OpenDNS Servers) with TurboPage on, in fact now thinking about this I'm pretty sure that's the case. I tried adding my modem, but for some reason they say I'm not coming from my modems IP so won't add the host to the list of my networks configured in OpenDNS (guess if they allow us to add that, then would be a better solution, think we'd have to tell them how it's our IP actually and a subnet of the modem (how its a /28 network so like 1.1.1.1 is the modem and 1.1.1.2 is our actual computer attached to the modem). I am not sure why it's behaved so well for me with both disabled, but I've been working for ISP's setting up DNS servers and engineering systems since 95' so definitely not naive about networks , although also having the Business Internet 2mb connection to HughesNET may make it easier for my connection to work great without TurboPage.

Thanks,
Tom



ronpaul

@direcpc.com
reply to dbirdman

downloadftp_dw7000.zip 2,525 bytes
I just re-did the ftp_dw7000.pl script, so it will turn off either dns cache and/or turbo page, so can choose to turn them off/on as separate config options at the command line.

So it uses a new syntax of...

ftp_dw7000.pl -s 192.168.0.1 -u USERNAME -p PASSWORD -t on -d off

which above will still leave turbopage on but turn off the DNS cache, allowing you to use your own DNS servers.

Here's the help output, generally how it is used...

WARNING!!! THIS IS DANGEROUS, USE AT YOUR OWN RISK!!!! There is no gurantee this will do anything at all
You first must figure out the username/password for your HughesNet Modem
Username/Password may be at: »Re: telnet login
should work on most Hughesnet DW**** modems, only tested on DW7000
check if you have the /cfg0/config/ directory and QA, QD config files if not a DW7000!
BitByteBit (C) 2007 GNU GPLed »www.gnu.org

USAGE: -s MODEMIP -u FTPUSERNAME -p FTPPASSWORD -t [on|off] -d [on|off]
FTPUSERNAME = username to login to DW**** Modem
FTPPASSWORD = password to login to DW**** Modem
MODEMIP = ip address of the DW**** Modem
[on|off] = on enables TurboPage, off disables it
[on|off] = on enables DNS Cache, off disables it

Example: ftp_dw7000.pl -s 192.168.0.1 -u myusername -p mypassword -t on -d off (turns on TP and turns DNS Cache off)

You can disable TurboPage and DNS Caching permanently, till you use this
to set them up again or HughesNet upgrades you modem software. This allows
you to fully use OpenDNS after disabling those two cache/turbo settings!

Thanks,
Tom


Belinrahs
I have an ego the size of a small planet
Premium
join:2007-09-07
Nashville, MI
Reviews:
·FreedomNet Wirel..

1 edit

Alright. Here's my results on a DW6000 modem:

"Logging in to HughesNet Modem at 192.168.0.1
Username and Password ACCEPTED
Passive mode entered successfully
Changed to the directory /cfg0/config without any trouble - DOWNLOADING Config Files QA and QD
Changed to BINARY Mode No Problem
Can not Transfer QD file Bad file descriptor
EXITING

Undefined subroutine &main::send called at C:\ftp_dw7000.pl line 147."

I want my OpenDNS! =P

Any help? I tried this with all the versions of the perl script posted in the thread all coming up with the exact same error.

(Also, some other questions.

1. What exactly is Turbo Page and how does it work?
2. When I go about disabling TP and DNS cache, how do I enable OpenDNS on all the computers on the network? Via the router? Or is it wiser to do it on each computer seperately? Or both, just for good measure =D ? I know the DNS server IP's for OpenDNS. If it matters, my router model is Linksys "Cable/DSL Router", model BEFSR81.)



ronpaul

@direcpc.com

Here's the basic thing to do, without using the script, just manually.

1. ftp 192.168.0.1
2. login to modem
3. switch to ftp binary mode (type 'bin')
4. cd /cfg0/config/
5. get QA
6. get QD
7. quit ftp
8. edit the QA file, switch the very first line to,
tpcCfEnabled=1 (1=off, 2=on). This is Turbopage, but
not necessary if you don't need the porn blocking.
9. edit th QD file, change the first line to
todnsCfProxyEnabled=1 . This is the DNS Cache,
needed to make OpenDNS work.
10. ftp 192.168.0.1
11. login to modem
12. switch to binary mode again
13. cd /cfg0/config
14. put QA
15. put QD
16. quit ftp, reboot modem

I am suspecting a DW6000 config may be in a different
location, which sucks, because I only have a DW7000 and
figured out how it works, not the DW6000. Maybe do an 'ls'
command in the /cfg0/config directory and then do a get
command for each of those files, zip them up and send them
to me (bitbytebit69@yahoo.com), I can figure out from
that what needs to be done hopefully for the DW6000. It
seems that the /cfg0/config directory does exist, but
may have different config files or something.

Also when editing those files, need to be careful in
Windows, since it can add the line feed character \r\n
instead of just \n, which is why ftp has to use binary
mode. Use Wordpad, not notepad, and save the files with
quotes around the names (as in "QA" and "QD") as a text
file, so it won't make them into QA.txt and QD.txt.

Best probably to zip the files up though and send them
to me, since I can have the script change behavior for
the modem type and make sure it is safe, doing it manually
seems more dangerous and why I wrote the script, so
everything is as deterministic as possible.

TurboPage is a forced Proxying through the modem and on to
the Cache Servers HughesNet uses, may like it better leaving
it on, depends on your experience, and if you really need
the porn blocking features (and also the stats etc...,
things requiring OpenDNS to know your real IP).

Thanks,
Tom



ronpaul

@direcpc.com

downloadftp_dw7000.zip 2,402 bytes
Also here's a revised version of the script not using the send() function, seems it may not be always available, and only used for error messages, so I removed the usage of it.


Belinrahs
I have an ego the size of a small planet
Premium
join:2007-09-07
Nashville, MI
Reviews:
·FreedomNet Wirel..

3 edits

Thanks, ronpaul, for the help. I'll be sure to try it.

EDIT: Sent ronpaul an email with the QA and QD files zipped up , fresh from "the beast".

EDIT2: Just reread your asking for the entire cfg0/config directory, and I redid the zip file, and sent it off to you. Cheers!

EDIT3: I tried your new .pl file, and it didn't work, with the following results:

isabling Turbo MODE for 192.168.0.1 using user=XXXXXXX pass=XXXXXXXX
Disabling DNS Cache for 192.168.0.1 using user=XXXXXXX pass=XXXXXXXX
Logging in to HughesNet Modem at 192.168.0.1
Username and Password ACCEPTED
Passive mode entered successfully
Changed to the directory /cfg0/config without any trouble - DOWNLOADING Configiles QA and QD
Changed to BINARY Mode No Problem
Can not Transfer QD file Bad file descriptor
EXITING"

when I retrieved those files I had to do:

get "QA"
get "QD".

the names had to have quotes around them.

Hope this helps, Beli



ronpaul

@direcpc.com

Interesting, what operating system are you using, is it Windows. I'm guessing the Perl stuff for FTP in Windows, and ftp in Windows in general needs that, so will fix the program to use those in a little bit.

I'm wondering too if it's because your local directory the perl script is using isn't writable by your user permissions in Windows, just one thought offhand I had, then it would fail for the get(). oddly just trying the quotes here in Linux it fails, I'm looking at it more still.

Also interesting looking at the configs for the DW6000, about the same but also have some more stuff that probably is just extra stuff that would work on the DW7000 too. Specifically the 'firewall' features are shown in these configs. Some of the configs have variables they leave out since not setup, which interests me because these modems can do things like port forwarding and some other odd features. Eventually with the knowledge I've learned, could in theory really do some neat stuff with these modems to setup things that they are said to not be possible to do. So thanks for those, does look like it's just simply the ftp stuff for WIndows probably requires quotes, although definitely odd/new to me but I'd believe just about anything like this looking at how Windows can be sometimes (have programmed in both Windows/Linux, so not just a linux person, but hands down Windows API/Libraries can be just loony sometimes).

Thanks,
Tom



ronpaul

@direcpc.com
reply to Belinrahs

downloadftp_dw7000.zip 2,515 bytes
I tried to make the ftp command more portable here, and also am trying to change to a directory that should be writable in Windows and also Linux.

Let me know how this goes, definitely strange after researching, seems it has to be the local directory is unwritable when in Perl Land while the script is executing.

Thanks,
Tom


Belinrahs
I have an ego the size of a small planet
Premium
join:2007-09-07
Nashville, MI
Reviews:
·FreedomNet Wirel..

2 edits
reply to ronpaul

I'm using Windows XP pro;
I'm admin, and I'm executing from the root of the drive so that's where "get" would put the files.

I managed to use your manual instructions, and it worked like a charm.

However I'm still interested in helping with this, so any question you have about the 6000, let me know and I'll try whatever.



Sabine

@direcpc.com
reply to ronpaul

Hi,
I tried about everything I can think of to get this to work. I can't download perl, download says complete, but only 500 or so kb are actually downloaded. So I guess I can't use your script. (Running windows xp)
I can't seem to get the ftp site for the modem up. I prompts me to enter user name and password, accepts that but then I only have a blank page.
Could you possibly do a step by step process (I know you have a manual input written further down the thread, but I think I am having serious blond, senior moments)I am asking for a super duper detailed instruction. Like when you mention to "get" QA, what do you mean? What do I type in? You are probably thinking... hey if she does not know what this all means, she has no business fiddling in those files. I totally understand, but I have got to do something about this speed, plus I can't log on to my company's webmail site and I am home sick and need to check that. I thought our computers at work are slow, but this beats it by a mile, I can go take a coffee break each time I want to pull up a website. I had Direcway several years ago but did not have these problems with download speed. Any help would be appreciated.
Thank you
Sabine



Belinrahs
I have an ego the size of a small planet
Premium
join:2007-09-07
Nashville, MI
Reviews:
·FreedomNet Wirel..

1 edit

Hello Sabine, here's exactly what I did:

Start > run, type cmd

type "cd .." until the prompt said C:\

type ftp 192.168.0.1

type USER (insert username here)

and enter your pasword

(if it doesn't work, try again)

type BIN

type cd /cfg0/config

type get "QA"
type get "QD"

type quit

now open an explorer window
double click on QA, open with notepad, make the needed changes as outlined by ronpaul, save it, then do the same with QD.

Start > run, type cmd

"cd .." until you are at C:\

type ftp 192.168.0.1

type USER (username here)
and type your password

type BIN

type cd /cfg0/config

type PUT "QA"

then type PUT "QD"

if all is successful, type QUIT.

At this point I recommend getting OpenDNS (www.opendns.com) and following it's simple step-by-step instructions.

When all that is done, reboot your modem (and router if you have one) and your computer.

Also, about OpenDNS, if you have a router set it up on that. If you are directly-connected to your modem, set it up on your XP machine.

Windows XP instructions for opendns: »www.opendns.com/start/windows.php

Router instructions for opendns: »www.opendns.com/start/home_router.php

Congratulations, you have successfully "freed" yourself!


laserfan

join:2005-01-14
Texas

said by Belinrahs:

Congratulations, you have successfully "freed" yourself!
Seems like a seriously hairy process, but I might be inclined to try it sometime unless someone else here with a Tivo beats me to it.

Tivo and DW/HN have never mixed, maybe with this procedure it will finally update over satellite. Now it's still using the old dialup method...
--
DW6000CEv5.4.0.20, G13/H1@127W, 1270MHz, SigTyp74, Toshiba Magnia SG10, LinksysBEFW11S4w, Airlink8portswitch, AirlinkAR410Wwireless, 10-20clients & 6+OSes


Belinrahs
I have an ego the size of a small planet
Premium
join:2007-09-07
Nashville, MI
Reviews:
·FreedomNet Wirel..

1 edit

Yeh, I've found a lot of things that now work that didn't work with TurboPage and DNS Cache on that do with them off using opendns.

And about the process, it's shorter than you think it is...you simply change a single number in the QA and QD files then put them on your modem. Simple.

Also, if you need help with the username/password to the modem's FTP, send me at belinrahs@plzdontspamme.com

replace plzdontspemme with gmail



dondude

join:2005-09-15
Lehigh Acres, FL
reply to ronpaul

My turbo page re enables itself what am i doing wrong? Open dns said welcome now it says oops? Is hughes sending a signal to my modem to renable turbopage?


laserfan

join:2005-01-14
Texas

Hmmm no help for dondude; gotta bump this thread to see if there are gotchas associated with this "hack"?


garylankford

join:2007-04-30
Utopia, TX

I also would like to hear the latest on this. Are those who have done it still satisfied with the result? Or have you reverted back to TurboPage and DNS on?
--
DW7000 83W 1370 / Router:67.142.142.140 / 1 watt / Pro / Pentium 4 2.8ghz, 500MB ram / SuSE 10.1/ Firefox 2.0.0.3


Kevinper

join:2007-09-16
Fallon, NV
reply to ronpaul

I tried this manually but it did not work for me. I would like to know how a perl script is run on a computer. It would make it easier to try again.

BTW, I can't get to the OpenDNS start page to even see how it works.


garylankford

join:2007-04-30
Utopia, TX

1 edit

Perl is a scripting language which requires you to have it's software on your computer in order to run the scripts (it is free). It's a basic part of the linux world. You should be able to find the instructions to install it at »www.perl.com/download.csp.
--
DW7000 83W 1370 / Router:67.142.142.140 / 1 watt / Pro / Pentium 4 2.8ghz, 500MB ram / SuSE 10.1/ Firefox 2.0.0.3


Kevinper

join:2007-09-16
Fallon, NV
reply to ronpaul

I didn't know that a computer could run it. I am familiar with uploading Perl scripts to my web server and have the server run it. Thanks for the link.


Kevinper

join:2007-09-16
Fallon, NV
reply to ronpaul

Well, I've downloaded and installed Perl and I still can't figure out how to run the program.


garylankford

join:2007-04-30
Utopia, TX

I'm not sure about Windows, but I'm guessing you have to run the script from the command line. In the 'Run' dialog type

cmd

to bring up a terminal window, then type

perl ftp_dw7000.pl

I'm not gonna swear that is right...
--
DW7000 83W 1370 / Router:67.142.142.140 / 1 watt / Pro / Pentium 4 2.8ghz, 500MB ram / SuSE 10.1/ Firefox 2.0.0.3


Kevinper

join:2007-09-16
Fallon, NV

You were right. I wasn't including the 'Perl' first. It downloads the two files but then stops. Can't seem to transfer it back to the modem after downloading them. I did try it manually but it didn't work.



Belinrahs
I have an ego the size of a small planet
Premium
join:2007-09-07
Nashville, MI
Reviews:
·FreedomNet Wirel..

2 edits

Alright guys. It's still working flawlessly for me...

I put the file (ftp_dw7000.pl) at the root of the C drive. I got Perl for Windows, and typed ftp_dw7000.pl -s 192.168.0.1 -u USERNAME -p PASSWORD -t off -d off.

However if you have less than a 7000, use my manual instructions.

If you have ANY questions regarding this process at all, including username/password, don't hesitate to email me at belinrahs AT spam DAWT com. Replace spam with gmail.

See? I don't like spam.


garylankford

join:2007-04-30
Utopia, TX

Ran the script. Script exits at:

Changed to BINARY Mode No Problem
Can not Transfer QD file
EXITING

Tried rebooting the modem, then running the script again. Same output.

Any help?
--
DW7000 83W 1370 / Router:67.142.142.140 / 1 watt / Pro / Pentium 4 2.8ghz, 500MB ram / SuSE 10.1/ Firefox 2.0.0.3