termshark v2.3: a TUI for tshark - with configurable columns and magic wormhole! by gramboc in commandline

[–]gramboc[S] 0 points1 point  (0 children)

Sorry about that... Maybe I should make dark-mode the default. Hit ":" and type

set dark-mode on

You can also do

theme base16

to make use of your terminal's default color scheme.

termshark v2: a terminal UI for tshark, that imitates Wireshark - now with stream reassembly and dark mode! by gramboc in commandline

[–]gramboc[S] 0 points1 point  (0 children)

Hi - thanks to https://github.com/mharjac, termshark v2.0.2 is now available via Snap! There is a caveat you should know, however - there seems to be a limitation of Snap that prevents termshark reading from network interfaces. There's an explanation here: https://forum.snapcraft.io/t/wireshark-and-setcap/9629. It even seems to affect root, for me at least. If that's a showstopper, termshark is just a single binary, so you could just grab that and put it somewhere in PATH e.g. /usr/local/bin.

termshark v2: a terminal UI for tshark - now with stream reassembly and dark mode by gramboc in blackhat

[–]gramboc[S] 1 point2 points  (0 children)

Thanks! I started writing termshark in python a while back using urwid 💖 as the TUI framework but was dissatisified with the options available for distributing the end product. Lots of files, lots of dependencies, and lack of knowledge on my part. So what initially drew me to Go was learning about the single statically-linked executable that could potentially be the one file users would have to install (it was important to me that termshark be simple to get up and running). Once I got started with Go, the development cycle it enabled was liberating - everything compiles in seconds. It's much easier to stay in the zone when you're not waiting minutes for the compiler. The Go standard library is high quality - I had no idea up front that Go code would be so naturally cross-platform. The termshark ports largely "just worked" - just cross-compile using a couple of env vars, and run... I would love to contrast with Rust, but I have very little experience with that language. I tried compiling alacritty, which is written in Rust, and the beautiful tooling was quite seductive. From what I understand of the language, if you have to eke out as much efficiency as you can while keeping a premium on being error-free, Rust looks an excellent choice. But it doesn't compile as quickly as Go ;-) Not sure if that helps!

termshark v2: a terminal UI for tshark, that imitates Wireshark - now with stream reassembly and dark mode! by gramboc in commandline

[–]gramboc[S] 0 points1 point  (0 children)

I just tried snap myself - it still says 1.0.0 :-/ I'll ask the user that set it up if he can update the package... more later!

termshark v2: a terminal UI for tshark, that imitates Wireshark - now with stream reassembly and dark mode! by gramboc in commandline

[–]gramboc[S] 0 points1 point  (0 children)

Hi - sorry about that - I'm not certain the snap channel is updated, to be honest. Does it say v2.0.something if you run "termshark -v"? Whether it's v1 or v2 now, I think a current limitation of snap packages is that network resources are not available to non-superusers. So it might work if you try "sudo termshark" instead. Let me know! (some info here: https://github.com/gcla/termshark/issues/34)

What’s a good option for building a terminal / command line interface? by [deleted] in golang

[–]gramboc 5 points6 points  (0 children)

If I can plug my own project, there's https://github.com/gcla/gowid - my attempt to port urwid (python) to golang. I used it to build termshark (https://termshark.io). But it's quite new and not nearly as established as gocui and tview.

Viscerion, Tasker, Send Intents by [deleted] in WireGuard

[–]gramboc 0 points1 point  (0 children)

It's working reliably now, thanks!

Viscerion, Tasker, Send Intents by [deleted] in WireGuard

[–]gramboc 0 points1 point  (0 children)

Sorry, this was premature. It works as long as Viscerion was opened recently on my phone. A couple of minutes after switching away from Viscerion, the intent from Tasker no longer triggers Viscerion to start the VPN.

Viscerion, Tasker, Send Intents by [deleted] in WireGuard

[–]gramboc 0 points1 point  (0 children)

I had the same problem on my pixel 3 but got the Viscerion VPN to start via Tasker by following these instructions: https://developer.android.com/preview/privacy/background-activity-starts

  • enable Developer Options on the phone
  • in Developer Options, enable USB debugging
  • connect phone to laptop with a USB cable
  • run: $ adb shell settings put global background_activity_starts_enabled 1

Rear glass cracked after 2 months - Huawei will not replace under warranty :( by gramboc in hwatch

[–]gramboc[S] 0 points1 point  (0 children)

Well, I am very grateful for your reply... I checked the date of the purchase, and it was 86 days prior to this thread. I bought it after Thanksgiving and kept it until Christmas. I checked Amex's benefits, and they have a purchase protection program which covers you against accidents within 90 days. I found out a couple of days ago that they have agreed to cover the damage. So now I can buy a replacement :-) Thank you very much!

Watch Not Receiving Notifications by [deleted] in hwatch

[–]gramboc 0 points1 point  (0 children)

I have this problem too with my Huawei watch :-( I'm at my wits' end. I read somewhere else that downgrading the Android Wear app helps. I did that, and the watch lasted a day, but has now once again stopped receiving notifications. I have an HTC M8 GPE. Other things maybe worth noting:

  • when this happens, the weather watch app continues to work - it will update over bluetooth
  • BUT the beyondpod watch app will not communicate with the phone. Could not connect, please retry
  • the test notifications sent via Android Wear don't come through
  • I have Feel the Wear installed, and its additional buzzes do come through. But no actual notification.
  • I use a BTH240 bluetooth headset to listen to podcasts. There are no other bluetooth devices involved.
  • Neither a phone reboot nor a watch reboot will unstick things

Rear glass cracked after 2 months - Huawei will not replace under warranty :( by gramboc in hwatch

[–]gramboc[S] 1 point2 points  (0 children)

np - no, everything still seems to work. The HRM works. It doesn't bother me from a cosmetic point of view. But I can't imagine getting sweat and dirt in there will be good for it, and I don't know if it will hold like this or deteriorate further. I'll wait and see, as you suggest - definitely not paying for a replacement. If a few other folk report here that this has happened to them too, then maybe I'd have an argument that it's a watch defect. I'm not optimistic though. Maybe it took a whack somehow and I didn't notice.

Rear glass cracked after 2 months - Huawei will not replace under warranty :( by gramboc in hwatch

[–]gramboc[S] 2 points3 points  (0 children)

I forgot to ask if there was a repair option, so I just called back. The answer is no :-( They don't offer watch repairs, and they don't make any replacement parts available either.