Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Equipment Support » Hardware By Brand » Netgear » How is Autoexec.net Edited and Saved
Search Topic:
Uniqs:
2645
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
RO318 problems - Please help »
« Seti@home through  
page: 1 · 2 · 3 · 4
AuthorAll Replies

Jaghar

join:2001-01-30
Painesville, OH

 How is Autoexec.net Edited and Saved

I've done a little searching, but I haven't been able to find out how the Autoexec.net is edited and saved.

I opened the rom file with notepad and could read the text, but I also noticed that there were unrecognized characters which usually indicates special codes or binary information, therefore I didn't edit and save it.

The upgrade to v3.25 went flawlessly.

Thanks
Frank


wormholealien
We Come In Peace

join:2001-04-07
.au
You edit it from menu 24.8

the command is:

sys edit autoexec.net

once you have opened the editor you will see the editing commands.


SYNACK
Just Firewall It
Premium,Mod
join:2001-03-05
Venice, CA
·Comcast Formerly ..

Host:
Networking
Virtual Private Ne..
Netgear
ZyXEL
reply to Jaghar
You do this on the router in menu 24.8.

first look at it: "sys view autoexec.net"

edit it: "sys edit autoexec.net"
It is NOT a "full-screen, mouse-centric editor, but a very simple line editor. The commands are:

EDIT cmd: q(uit) x(save & exit) i(nsert after) d(elete) r(eplace) n(ext)


Basically, you press "n" until you see the existing line you want to change or after which you want to insert a new line.
type "i" followed by the new line [enter]
OR
type "r", followed by the replacement line [enter]
OR
type "d"[enter] to delete the last shown line.

continue with "n", etc.

once you are done type "x" to save and exit, or "q" to undo all changes and exit.

You don't want to write a book with this, but for a few simple lines it is sufficient. ;)


wormholealien
We Come In Peace

join:2001-04-07
.au
Good stuff SYNACK

Your post was much more helpful than mine


Sentinel
Premium
join:2001-02-07
Florida
 reply to SYNACK
Yes Synack. Once again you get my vote. I printed that out for later reference.
--
~AL~


SYNACK
Just Firewall It
Premium,Mod
join:2001-03-05
Venice, CA
·Comcast Formerly ..

Host:
Networking
Virtual Private Ne..
Netgear
ZyXEL
Yes, log ago we used to write big Fortran programs on a PDP-11 with something not much better than that zynos editor. ...but it sure was much better than the stacks of punchcards used before that

These days, everything is expected to work with a mouse click and I see people having problems even with simple key navigation in the telnet menu. e.g. who would guess a [spacebar] is the right key to toggle a menu field if you have never done anything like that before?

Jaghar

join:2001-01-30
Painesville, OH
reply to SYNACK
Ok, got it to work. Appreciate the help.

Frank


tnroroc
Let's Rock

join:2001-04-25
Matawan, NJ
 reply to Jaghar
A question from the back.... what exactly is the autoexec.net used for?
Is it similar to an autoexec.bat from the dos/windows 9x days?
What exactly can you configure/set in there?
Is there any doc?
Thanks!


SYNACK
Just Firewall It
Premium,Mod
join:2001-03-05
Venice, CA
·Comcast Formerly ..

Host:
Networking
Virtual Private Ne..
Netgear
ZyXEL
Yes it is similar to autoexec.bat.

You simply put a set of regular ZyNOS commands in it and they will be executed at bootup. I think any valid and reasonable CI command is allowed.

If somebody could post the default autoexec.net for 3.25, we could have a look and see what the commands do.


Bobcat
Premium
join:2001-02-04
Bedminster, NJ
·Verizon Online DSL

sys errctl 0
sys trcl level 5
sys trcl type 1180
sys trcp cr 96 128
sys trcl sw on
ip tcp mss 1024
ip tcp limit 2
ip tcp irtt 65000
ip tcp window 4
ip tcp ceiling 6000
ip rip activate
ip rip merge on
ip icmp disc enif0 off
ppp ipcp com off
sys mbuf debug off
sys wdog sw on
ip adjmss 1452 [I added this line]
ip anti 1

--
Earthlink/Mindspring/Covad DSL 1.5M/384k; Avg speed 1265k/325k
LET'S GO DEVILS!

dash3000

join:2000-10-31
Sacramento, CA

  Bobsled, would editing the line "ip tcp mss 1024" to "ip tcp mss 1452" achieve a permanent 1452 MSS hence 1492 MTU so as not to have to edit Menu 24-8 each time on ppoe with RT311-314 when reconnecting? I see you entered it at the end of the string but does that overwride the previous command?


bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
clubs:
·SureWest Internet


No, "ip tcp mss 1024" does NOT apply to WAN -- it only applies to router's internal http, telnet and ftp servers.

[edited to clarify] To "permanantly" change WAN MTU=1492 for PPPoE just add "ip adjmss 1452" to autoexec.net.

[text was edited by author 2001-06-08 16:23:53]

dash3000

join:2000-10-31
Sacramento, CA
Thanks bbarrera, I was hoping there might be a permanent solution to save the trouble of re-entering the adj mss in 24-8 every time there is a server change (often) with Pac-bell dsl If anyone does I haven't read it yet.


SYNACK
Just Firewall It
Premium,Mod
join:2001-03-05
Venice, CA
·Comcast Formerly ..

Host:
Networking
Virtual Private Ne..
Netgear
ZyXEL
reply to Bobcat
I can see it coming, now we will have endless thread about tweaking the autoexec.net

Most of these entries should probably only be touched if you know exactly what you are doing. Here is a stab at some of them:

sys errctl 0: According to the CI reference, you could go up to level 3. This is only useful for the developers. If set to three and the router crashes, it will dump the core to the serial port and also save it for further analysis and it will also stay in debug mode for lowlevel troubleshooting. I think most of us want it to reboot after a crash, right?

The next few commands setup some initial settings for packet tracing, e.g. sys trcp cr 96 128 reserves a buffer for internal storage of 96 entries of size 128.

Now we have some basic IP configurations. Don't know much about those.

later we turn off some (memory?) debugging and turn on the wdog.

I guess we all know what the "ip anti 1" is.


bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
clubs:
reply to dash3000
There is a solution!!! Add the line "ip adjmss 1452" to autexec.net and you'll always have MTU=1492. Works great.

dash3000

join:2000-10-31
Sacramento, CA

No synack not all of US know what the "ip anti 1" is, I thought that is why there are forums like this so people could learn from others. I asked a question because I do not have all the answers As of my last reading of FAQ's on tweaking there was NO permanent fix for the annoying. constant editing of MSS in menu 24-8 to 1452.


bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
clubs:
·SureWest Internet


reply to SYNACK
Autoexec.net - 3 possible edits

I see only 3 edits to v3.25 autoexec.net that make sense:

PPPoE tweak MTU=1492 - For PPPoE only, add the line "ip adjmss 1452" so that router always works at MTU=1492 (MSS=1452). There are rare cases of TCP headers >40 bytes (i.e. use TCP options) -- so if you have problems delete this line or change to default of "ip adjmss 1400"

Turn off stealth - Not recommended for most users. Change "ip anti 1" to "ip anti 0" to turn off stealth of TCP and UDP ports.

Speed up FTP downloads - Questionable value because it is already very fast, but for completeness I'll add this. Change two lines:
ip tcp mss 1460
ip tcp window 10
[text was edited by author 2001-06-08 17:15:46]

dash3000

join:2000-10-31
Sacramento, CA
 reply to bbarrera
Re: How is Autoexec.net Edited and Saved

Thanks very much bbarrera...


SYNACK
Just Firewall It
Premium,Mod
join:2001-03-05
Venice, CA
·Comcast Formerly ..

Host:
Networking
Virtual Private Ne..
Netgear
ZyXEL
Sorry, I was a little too brief about the "ip anti 1". This is a new 3.25 command that isn't even explained in the CI reference.
A week ago, virtually nobody would have heard of it, but it was featured prominently in quite a few recent discussions.

Unfortunately, the DSLR search engine is so buggy that a forum search of "anti" would not have produced anything. Any of you also have problems searching? I just posted the following, feel free to add your experience:
»How buggy is the DSLR forum search engine?


DrTCP
Yours truly
Premium,ExMod 1999-04
join:1999-11-09
Round Rock, TX

Yeah, search is broken and Justin (DSLR owner) is supposed to fix it some time. I remind him periodically. Perhaps you guys can drop a note to him as well.

I bookmark the threads that I think is important so it makes it a bit easy to refer to them later on.
Forums » Equipment Support » Hardware By Brand » NetgearRO318 problems - Please help »
« Seti@home through  
page: 1 · 2 · 3 · 4


Tuesday, 09-Feb 22:10:08 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10.5 years online! © 1999-2010 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [91] Verizon Wireless, Meet 4Chan
· [80] FBI Revamps Push For Two Year ISP Log Retention
· [72] Comcast Xfinity Rebranding Largely Laughed At
· [38] When MetroPCS Says 'No Contract,' They Mean 'Contract'
· [30] Fairpoint Files Bankruptcy Plan
· [25] Instat: Average Connection is 7.12 Mbps
· [22] Duh: Billing Companies Think Metered Billing 'Inevitable'
· [21] Google Lowers Nexus One ETF, Launches Phone Support
· [20] Cox Offers Free PS3s To Entire State Of Arizona
· [18] T-Mobile Owner Considering TMO IPO, Leap Acquisition
Most people now reading
· ADSL-CO/2009-261 Case update.... [TekSavvy]
· Who's the first to try Fibe 25? [Bell Canada]
· Sonic Tap will be replacing SiriusXM on DirecTV 2/9/2010 [Satellite Radio]
· Windows 7 boot manager editing questions [Microsoft Help]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· VRAD Backhaul capacity question [AT&T U-verse]
· DIR-655 New Release Firmware 1.33NA (1/28/2010) Discussion [D-Link]
· Streaming the Olympics... [TekSavvy]
· Advice for a friend! Help, electricity usage (Insane) [Home Repair & Improvement]
· Ashen Verdict Rep farming guide (ICC 10) [World of Warcraft]