latest posts

Syndicate content offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.
Updated: 1 week 1 day ago

Looking for my first newbie linux book on-line

Sat, 01/06/2018 - 08:16
Hi all,
I'm just getting started with Linux I am starting with ubuntu 16.04.3. I have decided to say good-bye to windows. I have seen I can do most of what I was doing with Windows with Linux. I built a new desktop for this purpose. It's probably a little over-kill,, but I've always been a firm believer in a little over-kill. It's like when I kept fish I had a 100 gallon tank but the filtration system was for a 300 gallon tank.

Can you folks give me a link to a good beginner book on-line I can download in PDF format please?

One last thought...can you also provide me with some good webpages that talk of linux.

Thanks again
Richard Brown
Eustis FL

two providers, one LAN, one computer

Sat, 01/06/2018 - 08:07
i have two internet providers that have been connected separately to the two modems (ethernet handoff). but i want to connect them together on one LAN. their gateway addresses (the address i route to) and NAT addresses (private IPs my computers use) are different, so i think this is possible. both of them serve DHCP but if i set the computers up to not use DHCP (pre-configure the private IPs) i think the DHCP problems can be avoided. then i could also pre-configure the route table default gateway to which provider is selected for that computer.

now here is the hard part. i'd like to have one computer (running Ubuntu 16.04.3 with Linux kernel 4.4 use both providers at the same time with one connection going out via one provider and another connection to a different address on the internet going out via the other provider. there is only one network interface, but a 2nd one can be added if that would help. but there will only be a single LAN (three gigabit switches).

what setup can make this work on Linux? FYI, this is NOT bonding.

I have a video card that I've been able to install the prop AMD drivers for in Mint 17/.1/.2 but one day in 17.3 it X failed on startup and

Sat, 01/06/2018 - 08:04
Since then I've been unable to install the driver, fully. It installs amdcccle, and the 2D drivers and everything.

I'm not installing Mint 18.x because well AMD do not have drivers for the graphics adapter, a AMD Radeon HD 7850. I don't know if it's because I can't install driver version 15.302 which I wasn't running when everything went to sh*t. I've been able and know the procedure by heart and still I have an instructions.txt file in my VideoDrivers folder...I still have 15.12 there, so next time I remove fglrx entirely, I might go with that one.

What happens is installation fails at 93% when running ./amd-radeon-installer... about DKMS so I do not get openGL to work at all, I can't game and other strange things like the text under desktop icons not showing up, I have to select them so that they show up. I run Mint 17.3 MATE. Here is the install log I get :

Code: Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.

Creating symlink /var/lib/dkms/fglrx/15.302/source ->

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
cd /var/lib/dkms/fglrx/15.302/build; sh --nohints --uname_r=4.4.0-59-generic --norootcheck.......(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-15.302 with DKMS
[Error] Kernel Module : Removing fglrx-15.302 from DKMS

Deleting module version: 15.302
completely from the DKMS tree.
[Reboot] Kernel Module : update-initramfs (I was just made aware that this driver apparently doesn't work for kernels past 3.19, I have 3.19.0-80 and older ones installed...Mint 17 originally came with 3.19.0-32...although if I try to boot with this one, I can't press S to skip mounting some drives, something I always had to do, the text appears but then everything stops. didn't make a difference if I booted in 3.19.0-80 or my usual kernel. :shrug:

What I get when I type fglrxinfo :
Code: X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  157 (ATIFGLEXTENSION)
  Minor opcode of failed request:  66 ()
  Serial number of failed request:  13
  Current serial number in output stream:  13 Yet, Driver Manager sees fglrx, finds out what video adapter I have down to the manufacturer, Sapphire AMD Radeon HD7850 Pitcairn etc. This is a very confusing situation.

I've made a small partition with a brand new 17.3 iso MATE of Mint and I haven't installed a proprietary driver, but some other issues I've had with my old fav install. It will be a pain to put everything the way I like it once I get everything working fine. I still have older drivers such as 15.20 and 15.12 (not 15.302), 15.120. I believe I ran 15.20 before all of a sudden after rebooting after some updates one day, X refused to start and I could never install the driver again, I had updated to 17.3 then, I ran with it for months, even a year until some level 4 update screwed things up, I just don't remember what it was.

So...I think I've given all the info one pro would want to tell me what I can do.

Oh wait, can I install Linux Mint 17.1 on another drive without messing up grub? Maybe I have to rebuild everything from the foundation. I've been trying to fix this for a couple months now and it turns out I need help here.


Is there a way to be notify when downloading is done?

Sat, 01/06/2018 - 07:39

I use the terminal to download iso's and large video files. It gets tiring going back and forth to check if the download is done. Is there a way to get notify via a pop-up that my download is done. Thanks

[SOLVED] alias udb="/usr/libexec/locate.updatedb" , cant get alias to work.

Sat, 01/06/2018 - 06:44
hello all.

this should be easy to solve, but i cant get it to work.

my .ksh_alias has this line :
Code: alias udb="/usr/libexec/locate.updatedb" and .profile :
Code: ENV=$HOME/.ksh_alias export ENV but alias doesnt work, im stumped by this.

Code: #udb
#/bin/ksh: udb: not found
# OpenBSD 6.1

LXer: 3 flexible tools for managing hotel reservations and more

Sat, 01/06/2018 - 06:40
Published at LXer:

The tourism industry has been gaining momentum for decades. In fact, many countries' economies and political stability rely on tourism and travel industries. Macau, for example, generates $26.6 billion annually from tourism, which accounts for 44% of its GDP.*A subset of this economy, the hotel industry, is a powerful element that's expanding globally and growing more


[SOLVED] Adjust screen resolution

Sat, 01/06/2018 - 06:04

I have installed Slackware 14.2 in a brand new Dell Inspiron 13 5000 series. Slackware installation went surprisingly well with no problems, but I'm having a hard time configuring the X windows.

I was able to run startx (I use i3wm) without any specific xorg configuration file. However the default font size for all programs are too small and everything stays almost unreadable. I have googled and since it happens at all programs I open I saw that it must be a problem with the resolution of the X window. I have been googling for an hour or so trying to find how to set the resolution but I can't find an answer.

I tried to run krandrtray command to set the resolution but only the current one (1920x1080) is available.

I tried to run xorgsetup to create a .xorg but if I do when I try to call startx an error message appears saying that no screen was found.

I tried X -configure but it says that the number of screens counted is incorrect.

I tried to force startx with a --dpi argument but it makes the X session to crash.

I have run out of ideas and most of the answers I find on google are rather very old and/or confusing.

Im not sure which commands output are informative in this situation. My output to lspci -vnn is below.

Any ideas on how I could change the resolution? Thanks!

Code: 00:00.0 Host bridge [0600]: Intel Corporation Device [8086:5904] (rev 02)
        Subsystem: Dell Device [1028:0740]
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=10 <?>

00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5916] (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Dell Device [1028:0740]
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at d0000000 (64-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [100] Process Address Space ID (PASID)
        Capabilities: [200] Address Translation Service (ATS)
        Capabilities: [300] Page Request Interface (PRI)

00:04.0 Signal processing controller [1180]: Intel Corporation Device [8086:1903] (rev 02)
        Subsystem: Dell Device [1028:0740]
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at d1220000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 3
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device

00:13.0 Non-VGA unclassified device [0000]: Intel Corporation Device [8086:9d35] (rev 21)
        Subsystem: Dell Device [1028:0740]
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at d1239000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: [80] Power Management version 3

Password for the Recovery Program

Sat, 01/06/2018 - 06:03
Newbe here. A good friend talked me into converting from Windows to Linux. I like it. But a power failure corrupted my OS, Debian Jessica, and I try to run the Recovery program by hitting the 'shift' key on boot up and it ask for a password. Can't find where the PW is posted. Anybody remember the Recovery Password? Thanks Dave

Good scripts for home

Sat, 01/06/2018 - 04:58
I need your ideas guys, please help me to think what scripts is good to run in my machine at home. I have created one and that is to clear my browser cache every day.

I will appreciate your inputs. Thanks.

Dedicated hardware device to test flash drive suitability for OS use?

Sat, 01/06/2018 - 04:53
I was interesting in a dedicated hardware box for testing USB flash drives for the purposes of evaluating their use as main operating system drives.

Something like this would remove any variables related to the USB controller, operating system, CPU speed, or hardware or software bugs in the host system. Ideally allowing for maximum testing speeds.

This also would allow me to return unsuitable flash drives within the typical 30 day return times. This is so I do not buy a (sometimes expensive) flash drive thinking it is fast and later find out it is unsuitable for OS operations.

My fantasy would be that these boxes become widely available and everyone uses them and returns any garbage USB drives back to the manufacturer quickly putting them out of business and forcing the market to have only high quality flash drives.

I don't want to test from a "Linux box". Too basement-dweller for me. I want a more scientific test that can be shown in a white paper for instance. I don't want to read a wiki to find the best drive either, I want tangible proof that the drive I have in my hand is a good one.

I am envisioning the highest quality USB controller on the market connected with PCI-Express x32 running on a fast, virtually hardware-bug free ARM CPU and running software like VXworks or another Spaceship-Grade/NASA OS.

In short, I don't want to ever see another "hang" from a flash drive for as long as I am alive.

A quick search found nothing of the sort. Are we doomed to be flash drive peasants forever?

LXer: How Red Hat Is Dealing With the Spectre of the CPU Meltdown

Sat, 01/06/2018 - 04:45
Published at LXer:

Those reading media accounts published Wednesday and Thursday are probably under the impression that while Spectre affects Intel, AMD and ARM CPUs, that Meltdown affects only Intel products -- or perhaps all Intel CPUs and some ARM chips. Not so, says Red Hat's Jon Masters. Both vulnerabilities are basically architecture agnostic.


Good scripts for home

Sat, 01/06/2018 - 04:40
I need your ideas guys, please help me to think what scripts is good to run in my machine at home. I have created one and that is to clear cache every day.

I will appreciate your inputs. Thanks.

Firefox starts in Session Restore mode (Xfce 4.10)

Sat, 01/06/2018 - 04:17
I'm running:
Slackware64 14.2 (latest updates), Firefox 45.9 ESR, Xfce 4.10

Every time I start Firefox from Application Menu or from Panel in the bottom, it starts as if it was crashed the last time. But if I start using command line or from sub-menu (Internet) it starts normally.

I've created a new profile, uninstall/reintall, created a new user account ...nothing helped.

Any ideas.


How to load new Intel microcode

Sat, 01/06/2018 - 03:51
This thread started on the Latest Kernel release thread. at post 505 and continues through post 518. To avoid duplication of helpful comments please read that thread at least for the posts listed.

NOTE this only address the microcode loading issue and not the full mitigation for Meltdown or Spectre threat.

It is for the purpose of helping me understand how to load my older Intel Pentium D 820 processor on a no-longer support emachine t5224. The platform is a full install of Slackware 64 14.2 with multilib and FVWM as primary WM.

iucode_tool version 2.2 is loaded from
The man page is a great and required read to understand the tool.
This tool was loaded to discover processors signature in hopes of seeing if Intel had new microcode to overcome the Meltdown and Spectre threats.

This lead to a coversation about how Intels instructions for loading the 20171117 microcode, which does NOT have the newest microcode to address Meltdown or Spectre, but was important to read and understand what is offered, can be used to load microcode.

The installation is using LVM/LUKS and therefore requires an initrd. The initrd is re-created with each new kernel upgrade. Kernel installs are updated to either Pat's latest official release or latest release every 2 months, which ever comes first. Currently the platform is on 4.4.106 with 4.4.88 (Pat's latest official release) as the backup kernel.

The iucode_tool man page indicates that much has changed with microcode loading as of Linux kernel 4.4. The driver is now always loaded due to suspend and resume. Updating microcode earlier is safer and can should only be done at boot. It requires an uncompressed intramfs image in /kernel/x86/microcode/GenuineIntel.bin and must be the first initramfs called early initramfs. Read the man page of iucode_tool for Linux Notes section to get all the requirements.

What I need help understanding is how the iucode_tool inter works with the Intel Linux-microcode file.
I suspect that I have to unpack the file. Then use the intel_microcode SBo package to build a microcode from the /intel-ucode tar directory.

This third tool now will "2) write the microcodes to an early initramfs archive: /boot/intel-ucode.cpio" which then has to be PRE-pended to the initrd. So as Darth Vader indicated in the in the other thread a way to do that with:

Quote: Originally Posted by Darth Vader (Post 5802711) @bamunds

My solution to load the Intel microcode:
Code: # Create the base initrd.
mkinitrd -c -k "$KVERSION" -r "$ROOTDEV" -f "$ROOTFS" -m "$KMODULES" -h "$SWAPDEV" -u -M -w 5 -o /boot/initrd-${KVERSION}.gz

# Concatenate the intel-ucode.cpio and base initrd on the final initrd.
cat /boot/intel-ucode.cpio /boot/initrd-${KVERSION}.gz > /boot/initrd-${KVERSION}_ucode.gz

# Symlink the final initrd.
ln -sf initrd-${KVERSION}_ucode.gz initrd.gz I use the SBo variant of Intel microcode, for now. Final question. What have I missed?
Will this actually then override the obsolete microcode on the CPU or only that part which is causing threats.
Until I try it I quess I won't know if it causes any other microcode changes that affect other parts of the system, like the HDD, Ethernet or the USB onboard reader to stop functioning. So this weekend I'll give it a try.
OH-- how to make a backup? I would think my backbup initrd for 4.4.88 should be ok since it won't load new microcode. Right?

LXer: Learn to use Wget command with 12 examples

Sat, 01/06/2018 - 03:00
Published at LXer:

Every now & then we have to download files from internet, its easy id you are using GUI but CLI it can be a bit difficult. WGET utility makes it easy for us to...


Linux Videos

Sat, 01/06/2018 - 02:53
Can anyone give me links to sites where I can purchase some informative videos about the Linux OS, and even videos about more detailed topics like networking in it?

Hardware question

Sat, 01/06/2018 - 02:00
[Solved]I have a FantomDrive GF1000EU that I would like to use as a backup drive for Linux Mint. Any suugestions if I can and how?


Help with a simple (for you) script

Sat, 01/06/2018 - 01:57

I am pretty new to Linux, because I am now mining crypto's. Running Ubuntu 16.04 LTS.

Would like to create a simple script that will do the following when started from within a terminal:

cd /usr/local/claymore10.2/
(run a timer for 12 hours and then...)
Ctrl+C (to cancel the ETH miner)
cd /usr/local/cryptonote10.2/
(run a timer for 12 hours and then...)
Ctrl+C (to cancel the ETN miner)
(and then loop)

At least I think this is the way to approach this. Clearly my goal here is to have my mining rig switch between the ETH miner and the ETN miner every 12 hours without any involvement from me.

I built the rig myself and it's going pretty well, but I don't even know where to start with this next little phase of the project. I could probably spend many hours learning and reading how to do this, but instead here is a chance for someone to show off their Linux-scripting prowess and save me a lot of time!

Thanks in advance for your help!

Introducing Linuxdroid

Sat, 01/06/2018 - 01:18
Wazzzuuppp :)
Happy New Year to everyone!

LXer: WP Engine Raises $250M to Grow WordPress Platform

Sat, 01/06/2018 - 00:54
Published at LXer:

Open-Source WordPress based platform vendor raises new money as global adoption for the popular content management system continues to grow