Feed aggregator

LXer: Hackable, Rockchip-based media player also offers NAS and retro gaming

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 12:24
Published at LXer:

Cloud Media’s open source “Popcorn Hour Transformer Media Computer / NAS” computer is based on Pine64’s RK3328-based Rock64 SBC, and supports Linux and Android media player, NAS, and retro gaming. Cloud Media has spun a new variant of its Popcorn Hour media player that is open source in hardware and software thanks to its mainboard....


How to change disk dividing error in GParted?

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 11:52
I made mistake and now one of my logical disk with personal datas (/dev/sdb5 - ntfs - on the picture) is within extended disc (/dev/sdb4). I must move /dev/sdb5 upper and rename it to /dev/sdb4. And other space 39.35 Gib will be unallocated to install LinuxMint and swap area.
Please help to fix my mistake. Sorry for my English.


Server process load or client process load?

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 11:24
I build a web server. It's running on a VM environment. I configured it to index the files in my directory.

Now all files are videos (.mp4) I clicked it, and it streams on my browser.

Now my question is who's the one that process the video much more? The server or the client?

I do top on my server and its 99% idle. Btw, I'm playing the video 2 instance at a time.

LXer: Opera 50 Debuts Cryptocurrency Mining Protection in Web Browser

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 10:31
Published at LXer:

New release of web browser enhances built-in VPN and adds cryptocurrency security features


Orange Pi Plus 2E now tested in -current

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 09:43

I have tested the Orange Pi Plus 2E in -current:


This device has 2GB RAM, which is nice.

and have updated the installation documentation:


I've decided not to incorporate any HDMI patches into the 4.14 Kernel since the only ones I found were for a newer branch, and we need a long term supported Kernel now (which 4.14 is scheduled to become).

LXer: Ansible: the Automation Framework That Thinks Like a Sysadmin

LinuxQuestions.org latest posts - Sat, 01/06/2018 - 08:30
Published at LXer:

I've written about and trained folks on various DevOps tools through the years, andalthough they're awesome, it's obvious that most of them are designed from themind of a developer. There's nothing wrong with that, because approachingconfiguration management programmatically is the whole point.


Looking for my first newbie linux book on-line

LinuxQuestions.org latest posts - 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


tuxmachines.org - Sat, 01/06/2018 - 08:15

read more

two providers, one LAN, one computer

LinuxQuestions.org latest posts - 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

LinuxQuestions.org latest posts - 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 make.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. And...it 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?

LinuxQuestions.org latest posts - 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.

LinuxQuestions.org latest posts - 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

LinuxQuestions.org latest posts - 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 exponentially.read more


[SOLVED] Adjust screen resolution

LinuxQuestions.org latest posts - 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

LinuxQuestions.org latest posts - 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

LinuxQuestions.org latest posts - 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?

LinuxQuestions.org latest posts - 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

LinuxQuestions.org latest posts - 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.

Syndicate content