New Build - 11/15/2021 - r47644

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3
Author Message
MLandi
DD-WRT Guru


Joined: 04 Dec 2007
Posts: 1008

PostPosted: Thu Nov 18, 2021 23:09    Post subject: Reply with quote
Alozaros wrote:
on R9000 you can use htop instead of top...
htop has a better view as well some management stuff..
related to F10, F9 and ect.
htop looks like an old norton commander...


I must be missing something on my R9000, htop gives me "Error opening terminal: xterm-256color."

_________________
Netgear R9000
DD-WRT v3.0-r55460 std (03/25/24)
Linux 4.9.337 #715 SMP Mon Mar 25 06:15:53 +07 2024 armv7l
Gateway, AP, DNSMasq, Clock 2000MHz
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
CloudFlare, no SFE, SmartDNS, no QoS
2.4GHz: Vanilla, Airtime Fairness, NG-Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
5GHz: Vanilla, Airtime Fairness, AC/N Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
2 Netgear AX1800 WiFi Mesh Extenders
Xfinity 1.2Gbps/35Mbps
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Thu Nov 18, 2021 23:21    Post subject: Reply with quote
Is this from Linux xterm or PuTTY?
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 2028

PostPosted: Thu Nov 18, 2021 23:51    Post subject: Reply with quote
MLandi wrote:
I must be missing something on my R9000, htop gives me "Error opening terminal: xterm-256color."


I got the same on R7800 when I tried it the other day.

Installed htop - 3.0.5-1a via entware and no difference.

Code:
root@7802:~# htop -h
htop 3.0.5
(C) 2004-2019 Hisham Muhammad. (C) 2020 htop dev team.
Released under the GNU GPLv2.

-C --no-color                   Use a monochrome color scheme
-d --delay=DELAY                Set the delay between updates, in tenths of seconds
-F --filter=FILTER              Show only the commands matching the given filter
-h --help                       Print this help screen
-H --highlight-changes[=DELAY]  Highlight new and old processes
-M --no-mouse                   Disable the mouse
-p --pid=PID[,PID,PID...]       Show only the given PIDs
-s --sort-key=COLUMN            Sort by COLUMN in list view (try --sort-key=help for a list)
-t --tree                       Show the tree view (can be combined with -s)
-u --user[=USERNAME]            Show only processes for a given user (or $USER)
-U --no-unicode                 Do not use unicode but plain ASCII
-V --version                    Print version info

Long options may be passed with a single dash.

Press F1 inside htop for online help.
See 'man htop' for more information.
root@7802:~# htop -d 6
Error opening terminal: xterm-256color.
gin-n-tonic
DD-WRT User


Joined: 30 Jun 2014
Posts: 59
Location: California

PostPosted: Fri Nov 19, 2021 1:49    Post subject: Reply with quote
Works for me on XR500 (should be same as R7800) from Putty.
Code:
root@xr500_Base:~# htop -V
htop 3.0.5


Code:
htop -d 6

also worked.

And thanks, didn't about htop.
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 2028

PostPosted: Fri Nov 19, 2021 2:14    Post subject: Reply with quote
Odd. I just installed htop via entware on my R7500v2 and working.

Also installed on my another R7800 via entware and displays same error message.

Error opening terminal: xterm-256color.
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6268
Location: Texas

PostPosted: Fri Nov 19, 2021 4:17    Post subject: Reply with quote
htop aint in the WNDR3700v4 but it gives same error on EA8500
see ---> https://mrjcd.com/junk/dd-wrt/htop-command.html
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Fri Nov 19, 2021 8:02    Post subject: Reply with quote
Code:
root@DD-WRT:~# export TERM=xterm
root@DD-WRT:~# htop


has been like this for a long time
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6268
Location: Texas

PostPosted: Fri Nov 19, 2021 13:18    Post subject: Reply with quote
ho1Aetoo wrote:
Code:
root@DD-WRT:~# export TERM=xterm
root@DD-WRT:~# htop


has been like this for a long time


yeahuh, works fine on the EA8500
I edited the linked page in my previous post to show such

thanks --- nice to know I guess ...for those that care about such stuff on a router terminal Razz
MLandi
DD-WRT Guru


Joined: 04 Dec 2007
Posts: 1008

PostPosted: Fri Nov 19, 2021 13:28    Post subject: Reply with quote
ho1Aetoo wrote:
Code:
root@DD-WRT:~# export TERM=xterm
root@DD-WRT:~# htop


has been like this for a long time


Thank you! That works for me now.

_________________
Netgear R9000
DD-WRT v3.0-r55460 std (03/25/24)
Linux 4.9.337 #715 SMP Mon Mar 25 06:15:53 +07 2024 armv7l
Gateway, AP, DNSMasq, Clock 2000MHz
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
CloudFlare, no SFE, SmartDNS, no QoS
2.4GHz: Vanilla, Airtime Fairness, NG-Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
5GHz: Vanilla, Airtime Fairness, AC/N Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
2 Netgear AX1800 WiFi Mesh Extenders
Xfinity 1.2Gbps/35Mbps
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6407
Location: UK, London, just across the river..

PostPosted: Fri Nov 19, 2021 15:00    Post subject: Reply with quote
huh-puh.... on my R7000, R7800, R9000.. htop always works in colour mode, always as expected, I never had any issues with it...

on my 1043v2 i have it installed via entware and works as intended... for the record i use putty

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Molle
DD-WRT User


Joined: 13 Jan 2015
Posts: 119
Location: Finland

PostPosted: Sat Nov 20, 2021 6:47    Post subject: Reply with quote
Alozaros wrote:
htop always works in colour mode,


DD-WRT:~> TERM=vt100 htop

This shows htop in b/w but doesn't change the user environment.
giuliomagnifico
DD-WRT User


Joined: 11 Apr 2016
Posts: 454
Location: Italy

PostPosted: Mon Nov 22, 2021 9:55    Post subject: Reply with quote
egc wrote:
Maybe update the WG Apple clients?

I have no Apple clients but DDWRT client, Android and Windows client work without a problem


What a stupid!
I solved my trouble, I forgot that as and endpoint In the Wireguard config I was using my no-ip address (xxx.ddns.net:51820) and not my home IP, I don't know why I exported a new config without my no-ip url, so every router reboot it was getting a new address and WireGuard was not auto-updating it, for that was not working.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12834
Location: Netherlands

PostPosted: Mon Nov 22, 2021 13:06    Post subject: Reply with quote
Glad you solved it and thanks for reporting back
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Goto page Previous  1, 2, 3 Display posts from previous:    Page 3 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum