Quantcast
Channel: User Matija Nalis - Super User
Browsing latest articles
Browse All 44 View Live
ā†§

Comment by Matija Nalis on Block (nullroute?) an IPv6 hostname using /etc/hosts

@JasonR.Coombs things changed a lot since original answer in 2014, so I've updated answer now. Nowdays browsers will use IPv4 if IPv6 fails or is slower (and vice versa) due to RFC6555 (HappyEyeballs),...

View Article


Comment by Matija Nalis on Is copying a lot of files bad for the CPU or...

@MikeBrockington agreed, the thermal stretching is dangerous. I was thinking more along the lines of "if you unplug a CPU and put it in a locker for a year, it would age less then if you were running...

View Article


Comment by Matija Nalis on gpg: can't import key: "new key but contains no...

BTW for Debian, keyserver is keyring.debian.org

View Article

Comment by Matija Nalis on What's faster? Moving files from one drive to...

Also note that 3rd case will be much slower than 4th case when we're talking of rotating media as HDDs (as opposed to SSDs), due to having to seek all the time, killing performance.

View Article

Comment by Matija Nalis on Rsync root files between systems without...

@StevenLu today it is (unless you happen to have veeery old legacy system). But back in the days, it was still likely to have a system with different default. Hint: even today (for historic reasons...

View Article


Comment by Matija Nalis on Why are rDNS query responses not always an inverse...

Agreed, forward and reverse DNS entries are completely unrelated (and either of them need not exist). Although, in some situations (like DNS entries for mail servers) it is a good practice to make them...

View Article

Comment by Matija Nalis on ffmpeg: limiting to single CPU core when encoding...

The issue might be I/O (especially if bottleneck is HDD seek time); ionice (in addition to nice) might help with that.

View Article

Comment by Matija Nalis on Is 2.4 GHz Wi-Fi band shared across routers?

@TooTea thanks, I tried now to clarify/reword that carrier freq is different one from data coding frequency.

View Article


Comment by Matija Nalis on How to delete all files in a directory except some?

It would be better to use rmdir tmp in that last line instead of rm -r tmp -- that way, if previous command failed for any reason or was mistyped, you won't lose all your data.

View Article


Answer by Matija Nalis for Port 111 shows up open when I nmap 127.0.0.1

Use sudo netstat -tulpn | grep 111it is usually used by portmapper and often installed by default (it is required for NFS mounts and such). So (most probably) nothing to worry about.You can remove that...

View Article

Answer by Matija Nalis for Midnight commander file transfer "fish: storing file"

That "stupid slow operation" is actual copying over network using https://en.wikipedia.org/wiki/Files_transferred_over_shell_protocolWhat actually may be stupid (or not) is first (fast) part, which is...

View Article

Answer by Matija Nalis for How to block ad popups in web browser?

NoScript might sounds like bazooka aproach, but you can find out it stops a lot of this and other problems.Homepage https://noscript.net/ defines it asThe NoScript Firefox extension provides extra...

View Article

Answer by Matija Nalis for Unable to fetch some archives, maybe run apt-get...

Run apt-get update and make sure it doesn't report error.

View Article


Answer by Matija Nalis for How do I port forward if the public/external IP is...

You can only forward port to one IP at a timeYour laptop has one internal IP, and your main computer another internal IP. Router cannot magically choose to which one of those to forward port 443. You...

View Article

Answer by Matija Nalis for Error 403 (Forbidden) with many file requests

It sounds lime some kind of rate limiting. There are several apache modules that will do that, mod_qos being one of them. Usually they will return short body in addition to 403 forbidden code with...

View Article


Answer by Matija Nalis for How to test audio channels of headphone

And when you reverse the headset in "wrong" position; is the bass heavier on the other ear then? If not, it is ear damage (or blockage), not headphones. Otherwise it is headphones, replace them.

View Article

Answer by Matija Nalis for What does HAMP mean, computer fan context?

It is High AMPerage header connection for a fan on Asus motherboards, which can provide up to 3Ā A for powerful fans.

View Article


Answer by Matija Nalis for Difference between CD and Hard disk technology

Sure they could. But they would be slower (laser is heavier to move than tiny magnetic head) and with less capacity (magnetic disks are in range of several thousand GB, while optical disks are just few...

View Article

Answer by Matija Nalis for Can't mount FAT32 drive under Ubuntu Linux

For me, fsck.vfat /dev/sdd1 returning "Logical sector size is zero." was because it was not vfat, but rather newer exfat. So I had to install tools appropriate tools (apt-get install exfat-utils...

View Article

Answer by Matija Nalis for sudo + x11 application does not work correctly

I use gksu instead, it takes care of secure xauth forwarding

View Article

Answer by Matija Nalis for Share RAM over network

Another point of view - maybe the problem isn't the limit on system resources, but the wasteful application your friend is writing. 6 GB of RAM is awful lot of memory.Just because many of the other...

View Article


Answer by Matija Nalis for DDNS: Is a DIY solution possible? Better?

Yes it's possible host the DDNS server yourself (in fact, I've written one DynDNS compliant implementation for DJBs tinydns myself some time ago). You can use regular DynDNS client on dynamic IP to...

View Article


Answer by Matija Nalis for Copy and paste not working under rdesktop

if you don't want to logoff (as it closes all programs which may have work in them), the following solution worked for me:open the cmd prompt, and enter:taskkill.exe /f /im rdpclip.exe &...

View Article

Answer by Matija Nalis for changing timezone with dpkg-reconfigure tzdata and...

For using debconf, before calling dpkg-reconfigure, you need to also remove /etc/localtime and /etc/timezone. Also beware of possible extra space (as in your question!) which are not benign.So "debconf...

View Article

Answer by Matija Nalis for convert text file of bits to binary file

oneliner to convert 32-bit strings of ones and zeros into corresponding binary:$ perl -ne 'print pack("B32", $_)'< instructions.txt > instructions.binwhat it does:perl -ne will iterate through...

View Article


Answer by Matija Nalis for exim4 says "Warning: purging the environment" even...

exim4 -bP will only show you currently used values, including the the ones exim4 itself set up to defaults after outputing the warnings.You should check with grep -r keep_environment /etc/exim4 to see...

View Article

Answer by Matija Nalis for Generic USB IR receiver/transmitter with Linux...

No, it is not possible, as this is not what you thought it is. Read the Q&A and reviews at the amazon item page you sent.It is simple IR repeater to extend the range, and USB is there only for...

View Article

Answer by Matija Nalis for Does a Dell DRAC 4 PCI card have any use these days?

DRAC is used for out-of-band control. You would use it when regular access to machine is not possible, for example because it crashed, or you cut off access to it via local firewall on machine etc....

View Article

Answer by Matija Nalis for Why is a directory copied with the cp command...

That is because du by default shows not the size of the file(s), but the disk space that they are using. You need to use the -b option to get sum of file sizes, instead of total of disk space used. For...

View Article



Answer by Matija Nalis for Slave serial number 5 more than master DNS server

Slave only gets data from master. So if slave has serial 123456 that is because master once upon a time sent it zone with serial 123456. In other words, somebody some time in the past put the wrong...

View Article

Answer by Matija Nalis for How can Internet speed be 10 times slower without...

Also, it might be that your laptop is infected with some malware, and that firewall in router is dropping connections to/from your laptop, thus preserving all available bandwidth for your test and you...

View Article

Answer by Matija Nalis for How to make Alsa pick a preferred sound device...

Find your card with$ cat /proc/asound/cardsTo get valid ALSA card names, use aplay:$ aplay -land then create /etc/asound.conf with following:pcm.!default { type hw card 1}ctl.!default { type hw card...

View Article

Answer by Matija Nalis for Unbound DNS: Troubleshooting with ssl-upstream...

Those look like wrong options, at least ssl-service-key should specify private key of your instance (and not list of trusted CAs!), and you would always use it in combination with it's public key in...

View Article


Answer by Matija Nalis for ALSA "dmix plugin supports only playback stream"...

The CL answer (while not being too verbose and not providing example) is right; if you want to also use microphone while using dmix, you need to use asym too.Example configuration allowing both dmix...

View Article

Answer by Matija Nalis for How to understand and debug USB issues with Linux

USB status codes and possible reasons for them are to be found in your kernel source, in file Documentation/usb/error-codes.txt. In DebianĀ 9 (Stretch), that is contained in package linux-doc, which...

View Article

Answer by Matija Nalis for Debian 10 apt update suddenly stopped working...

For me, on Debian Bookworm (which deprecated apt-key add) it was file permissions. I.e. I had in my sources.list:deb [signed-by=/etc/apt/keyrings/dnsdist-18-pub.asc arch=amd64]...

View Article


Comment by Matija Nalis on Hiding public IP address while using free DynDns?

@Nelson that only apply to very small address space of 32-bit IPv4 Internet, though. If you assigned your server truly unique 128-bit IPv6 address (and not published it in DNS or made it known...

View Article


Comment by Matija Nalis on Hiding public IP address while using free DynDns?

@user253751 well, you could order from Amazon to P.O. box instead to your home address, and then go pick it up yourself later, which would hide that information. Which is what Gregory Currie suggestion...

View Article

Comment by Matija Nalis on Hiding public IP address while using free DynDns?

I was going to upvote until I got to "There's no security risk at all in your public IP address being known to anyone". That it hugely incorrect: term security covers multiple things (like e.g....

View Article
Browsing latest articles
Browse All 44 View Live