![]() |
|
|||||||
| Be & O2 Box Chat For technical discussion of the Be/O2 Box (585/716/780) |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I think it's a good idea to list a few useful CLI commands for our lovely BeBox [img]/forum/emoticons/lol.gif[/img]
here are the ones I collected so far: #These 3 make your bebox poll a group of NTP servers to keep the time accurate sntp add name=uk.pool.ntp.org version=3 sntp config poll=60 pollpresync=60 sntp config state=enabled #This one corrects the grouping operator and decimal place symbol for the en_GB locale. system locale dec_symbol=. group_symbol=, #enable ping responder: service system ifadd name=PING_RESPONDER group=wan #disable telnet , HTTPs and FTP on WAN (close ports) service system ifdelete name=TELNET group=wan service system ifdelete name=FTP group=wan service system ifdelete name=HTTPs group=wan #enable SNMP (e.g. for PRTG Traffic Grapher) service system modify name=SNMP_AGENT state=enabled snmp community add securityname=RWCommunity communityname=public #enable nat loopback (access external IP from inside): ip config natloopback=enabled #fix against TCP timeouts firewall config tcpchecks none #disable DHCP server on LAN side (thanks Zadkiel) dhcp server config state=disabled Don't forget this command at the end to permanently save your settings if everything works as expected: (otherwise all new settings are lost after the next restart) saveall yesyes (not a command ... [img]/forum/emoticons/lol.gif[/img] ) Post Edited (yesyes) : 24/09/2006 21:26:09 GMT |
|
#2
|
|||
|
|||
|
Hi
I tried the snmp commands on the BeBox (speedtouch 716). the snmp service was enabeld however when setting the RWcommunity name to public, it shows the community name to _DEV_XXXXX (some 16 digit hexnumber) and gives the follwing message: No priviledge to set read-write SNMP community name when I run the PRTG I get the message: Sorry no MIB2 compatible ports were found on the device I will be olbliged for any ideas, or tips on how to overcome this Thanks |
|
#3
|
|||
|
|||
|
Use the ROCommunity instead. The newer firmwares don't appear to allow the use of the Read-Write SNMP.
DLMatthews LNSTF Exchange Status Checker</font> SNR,Att,Time Un limited</font> 24(17.5)Mbps/1.3Mbps 6, 22, 0yrex-Bulldog</font> 8Mbps/512Kbps 13, 16, 2mth ex-plus</font>net</font> 2Mbps/256Kbps 30, 20, 1yr ex-Virgin.net</font> 512Kbps, 5yr</font> |
|
#4
|
|||
|
|||
|
Thanks DLMatthews, I have done that and it then I get the PRTG errors.
My previus router had SNMP monitorable ports, giving both IN and OUT traffic graphs per sensor. When I try the 'snmp walk' CLI on speedtouch I get nearly a hundred OIDs of VB_gauge and VB_integer types with the last one being VB_integer .1.3.6.1.2.1.11.30.0 1 noSuchName End of walk, no more objects {Administrator}[snmp]=> I don't exatly know what the OID's represent and which one if any is queryable I will be grateful if any one can tell which OID resprent the DSL port and each of the Ethernet ports Thanks Regards |
|
#5
|
|||
|
|||
|
|
|
#6
|
|||
|
|||
|
Thanks
I have tried the oid's - I get a steady value for the .10.501 - should I take the delta or the absolute value. Also is there a way to get two channels per sensor, for ethernet ports? Regards |
|
#7
|
|||
|
|||
|
<u>Fix for slow downloads caused by interception checks</u> (only needed if using Parental Control)
:dsd config State=disabled DLMatthews LNSTF Exchange Status Checker</font> SNR,Att,Time Un limited</font> 24(17.5)Mbps/1.3Mbps 6, 22, 0yrex-Bulldog</font> 8Mbps/512Kbps 13, 16, 2mth ex-plus</font>net</font> 2Mbps/256Kbps 30, 20, 1yr ex-Virgin.net</font> 512Kbps, 5yr</font> |
|
#8
|
|||
|
|||
|
<u>Setting Different DNS Server Addresses within the Router</u> (if Be*'s DNS servers are too slow, and you would rather not reconfigure each of your PCs)
Flushing DNS Servers assigned by DHCP (and any you have previously added manually):- :dns server route flush Setting Primary & Secondary DNS servers:- :dns server route add dns=[Insert Primary DNS Server Address here] metric=1 intf=RoutedEthoA :dns server route add dns=[Insert Secondary DNS Server Address here] metric=1 intf=RoutedEthoA When the router contacts DHCP again, the DNS addresses allocated will be below those you have added above (so your choice of DNS will be used first - if both your DNS servers are offline, then it should attempt to use the Be* DNS). To view the DNS servers:- :dns server route list DLMatthews LNSTF Exchange Status Checker</font> SNR,Att,Time Un limited</font> 24(17.5)Mbps/1.3Mbps 6, 22, 0yrex-Bulldog</font> 8Mbps/512Kbps 13, 16, 2mth ex-plus</font>net</font> 2Mbps/256Kbps 30, 20, 1yr ex-Virgin.net</font> 512Kbps, 5yr</font> Post Edited (DLMatthews) : 25/05/2006 11:51:37 GMT |
|
#9
|
||||
|
||||
|
Should the metric not be 1 2 etc - presumably you can add as many DNS servers as you want?
Irksome Forum Administrator IT at Home |
|
#10
|
|||
|
|||
|
Quote:
Lets say you had 2 DNS servers entered with metric 1, and then you renew the DHCP and get 2 more DNS servers with metric 1; it will use them in the order listed. Then, say you want to add a new super-duper DNS server as the primary whilst keeping the existing entries as back-ups, then you could enter this as metric 0. If I added my two DNS servers as metric 1 & metric 2, then when DHCP assigned the 2 Be* servers with metric 1, it would put my secondary DNS back into 4th in the list (unless I ran dhcp client ifrelease intf=RoutedEthoA, dhcp client ifconfig intf=RoutedEthoA dns=disabled, dhcp client ifrenew intf=RoutedEthoA - this would stop the router asking DHCP for DNS allocation) To show which DNS servers are actually being used as primary & secondary, you can check on the web interface. DLMatthews LNSTF Exchange Status Checker</font> SNR,Att,Time Un limited</font> 24(17.5)Mbps/1.3Mbps 6, 22, 0yrex-Bulldog</font> 8Mbps/512Kbps 13, 16, 2mth ex-plus</font>net</font> 2Mbps/256Kbps 30, 20, 1yr ex-Virgin.net</font> 512Kbps, 5yr</font> Post Edited (DLMatthews) : 25/05/2006 13:13:37 GMT |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| bebox keeps lossing saved sip account and anyone help with the cli commands | leeontop@bluebottle.com | Telephony | 2 | 12th August 2007 01:40 PM |
| CLS Commands for closing Ports | BenH | Be Discussion | 2 | 7th September 2006 07:48 PM |
| Need help with bebox commands for version 6 firmware | smsmasters | Be & O2 Box Chat | 1 | 27th June 2006 01:20 PM |