How To: Find the hostname.

The hostname is, for many of you who will be reading this, the same as your username. This is not always true.

Why is it important? Well, if I want to connect to a box on my network, I use its hostname. For example:

ssh kgiii@kgiii-lmde.local

That means I don’t need to know the IP address of the box, I merely need to know the hostname. That, as I said, is usually your username. On the off-chance that it isn’t, it’s easy to find.

cat /proc/sys/kernel/hostname

And there you go.

Smash a Button
[Total: 0 Average: 0]
About Me: I'm just some retired dude with a little bit more free time on my hands. If you want to support the site, why not help yourself out too by ordering some inexpensive web hosting so that you can start your own site?


“Best” ‘inxi’ Command?

If you don’t know about inxi, you’re either really new to Linux or you’ve been living under a rock. It’s a tool to give you information about your computer. So, what is inxi? This is what ‘man inxi’ has to say:

inxi is a command line system information script built for for console and IRC. It is
also used for forum technical support, as a debugging tool, to quickly ascertain user
system configuration and hardware. inxi shows system hardware, CPU, drivers, Xorg,
Desktop, Kernel, GCC version(s), Processes, RAM usage, and a wide variety of other
useful information.

It’s actually fairly complicated and has a ton of options. So, what’s the best? 

Personally, I have ‘inxi’ aliased to be ‘inxi -v 5’. It gives me a great deal of information and generally has all the information I’d be looking for.

Here’s an example output from one of my older computers that I’m running VMs on:

As you can see, that’s a lot of information and that’s exactly the information I (and others) need to know to help you in many situations. So, when I ask for your inxi output, that’s exactly what I want to see.

About Me: I'm just some retired dude with a little bit more free time on my hands. If you want to support the site, why not help yourself out too by ordering some inexpensive web hosting so that you can start your own site?


Realtek RTL8192EU and Linux: It works!

Probably because I was scouring AskUbuntu and reading a number of complaints about getting their wireless device working, I decided to see exactly how difficult it was.

I have a computer that I use for testing and I mostly access it by VNC. It has an unused wireless dongle and I figured now was a good time to see if I can make it work. 

The first step was to turn it on. Believe it or not, it worked. It had a very, very weak signal even though it’s within a few feet of the router. So, I cracked open my terminal and entered:

inxi -Fc 0

Sure enough, I found this:

Device-2: Realtek RTL8192EU 802.11b/g/n WLAN Adapter type: USB

So, I turned to a search engine and entered:

Realtek RTL8192EU +Linux driver

I scanned the results and noticed that there was fairly recent (mid-2018) GitHub page here. So, I headed there to read what the author had to say.

Rather than playing around, I made sure I’d followed their directions:

sudo apt -y install linux-headers-generic build-essential dkms git

Except that’s not necessarily going to work, so I simply removed the -y.

sudo apt install linux-headers-generic build-essential dkms git

There. That’ll work. I mashed the enter button, entered my password, and I downloaded the .zip file from the top of the page while it installed. I didn’t really see any need to build it myself, nor did I want the git hurdles (even though I’d just installed it). So, I just downloaded it to /Downloads and then extracted it into its own folder.

Once that was all done, I entered the newly created directory and ran:

sudo ./install_wifi.sh

The sudo elevates my permission, the ./ tells it that I want the file in the directory I’m in, and the install_wifi.sh is the name of the script that will install the drivers automatically. It will take a few minutes, even on modern hardware, but it’s not a difficult task. If anything, it’s straightforward and intuitive.

I followed that up with a reboot and, sure enough, I was then able to use the driver and my signal strength was significantly higher. That’t it. That’s all it took. Does it seem hard? Probably. Once you’ve done it a few times, you’ll be used to it. Working in the terminal is one of the greatest things you can do with Linux. There’s no reason to be afraid of it. Just know what the commands are going to do before you go ahead and do them.

Smash a Button
[Total: 2 Average: 3.5]
About Me: I'm just some retired dude with a little bit more free time on my hands. If you want to support the site, why not help yourself out too by ordering some inexpensive web hosting so that you can start your own site?


A Short Rant…

I am not sure who I am ranting about. I am not sure who made this decision. Allow me to show you:

Google Chrome choices
Look carefully. You’ll see it.

I was playing with Manjaro (their Cinnamon edition is delightful) and was playing around with AUR software. After all, I wanted to install Google Chrome. Say what you will, but I actually like their browser. It suits my needs best and, trust me, I’ve tried all the other browsers.

It’s not the packager’s fault. It’s probably not Manjaro’s fault. It’s almost certainly Google’s fault.

Don’t see it yet? Well, look at the choices. See, I’d like Google Chrome to be a good browser. By that, I mean that I’m willing to send them crash reports. I don’t want to send them my usage statistics, even though I’m sure they’re truly anonymized and I really don’t have anything to hide. I just don’t need them knowing that much information.

I get it Google,  you’re an information company. But, for the love of all that’s holy, let us pick. Because I didn’t want to send usage stats, I am not able to send you crash reports by the proper channels. Manjaro will get crash reports when something crashes. That’s not going to make it upstream to Google. Google isn’t going to be trawling through Manjaro’s crash reports looking for data. They’re going to expect it on their channels.

Why can’t I pick one or the other, Google? You’re not making more people send you usage statistics, you’re making fewer people send you crash statistics! There’s a bit more fidelity and more choices at chrome://settings/syncSetup but not that much. In there, you can can at least choose to send less data to them.

I know, bitching about data collection with a data collection company is kinda silly – but there is data that I’d happily give them. There is data I’d let them have in exchange for making a decent browser. I’m willing to make that trade, but they need to let me pick a more granular selection than they currently allow.

Smash a Button
[Total: 0 Average: 0]
About Me: I'm just some retired dude with a little bit more free time on my hands. If you want to support the site, why not help yourself out too by ordering some inexpensive web hosting so that you can start your own site?


Installing NetSurf Browser on Ubuntu 18.04

The NetSurf Browser looked interesting to me. I was using a virtual machine with ArchBang Linux and I’m a sucker for a different browser. I have at least two dozen browsers installed at any one time, even though I regularly only use a few. Anyhow, ArchBang has a default of NetSurf and that piqued my interest.

NetSurf doesn’t do anything special. It’s just a light browser that claims to have CSS support. When I tried browsing with it, it was quite painful and it displayed sites rather poorly. Still, if you have a very old computer and want to have a browser, this may be the kind of browser you’re stuck with. It is technically a browser that’s lightweight and seems to have some basic CSS support.

As I said, I’m a sucker for browsers and have a bunch installed. In this case, I downloaded the source code and decided I didn’t really feel like building it. So, I did the ol’ ‘apt-cache search netsurf’ and nothing popped up. So, I went online and looked for a .deb that’d make it easy to install. It turns out to be more of a pain in the butt than you might think.

No matter… I’ve got you covered. Like normal, crack open  your terminal with CTRL + ALT + T. Then, enter the following:

Then, assuming all goes well, you’ll have a working NetSurf in your menu, under Internet if you use an Ubuntu flavor that uses menus like that. 

As 18.04 is the last official 32 bit Ubuntu, and official flavors, odds are good that many people will be looking for a lightweight browser to go with it. This isn’t a very good browser – but it’s a working browser, and a browser that doesn’t take a lot of resources to run. Don’t expect too much from it and you won’t be too let down.

You’re probably better off taking the performance hit and running Vivaldi

Smash a Button
[Total: 1 Average: 5]
About Me: I'm just some retired dude with a little bit more free time on my hands. If you want to support the site, why not help yourself out too by ordering some inexpensive web hosting so that you can start your own site?


Linux Tips
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
SITEMAP