Linux News

Distribution Release: TrueNAS 22.12.0 "SCALE"

DistroWatch.com - Thu, 12/15/2022 - 09:00
TrueNAS SCALE is a Deban-based network attached storage (NAS) operating system. The project's latest release, TrueNAS 22.12.0 "SCALE" introduces a bulk upgrade feature and improves upon rootless logins. "TrueNAS SCALE 22.12.0 has been released and includes many new features and improved functionality. SCALE 22.12.0 features include: Improvements to....
Categories: Distributions

How to Install and Use Nessus Security Scanner on Rocky Linux

Linux Today News - Thu, 12/15/2022 - 09:00

Nessus is an open-source network vulnerability scanner for vulnerability assessments, penetration testing, and ethical hacking. This guide describes how to install and set up Nessus Security Scanner and its CLI on the Rocky Linux server.

The post How to Install and Use Nessus Security Scanner on Rocky Linux appeared first on Linux Today.

Categories: General News

How to reset printer

Linux Questions - Thu, 12/15/2022 - 08:28
Is there a command line to reset printer?
In my browser I see about 15 print jobs - anyway to clear them all or force them to start printing?
Using an HP laser jet pro printer

using Ubuntu 20.x lts
Categories: Software and Help

LXer: Pixhawk Baseboard compatible with Raspberry Pi CM4

Linux Questions - Thu, 12/15/2022 - 08:07
Published at LXer:

The Pixhawk RPI CM4 Baseboard from Holybro is a Flight Controller platform supporting an RPi CM4 and the new Pixhawk 5X & 6X. The Baseboard provides support for Pixhawk/Ardupilot protocols (i.e. GPS, Telemetry, CAN, etc.) in addition to a Mini HDMI port, a CSI connector and dedicated power ports for the FC and the RPI [�]

Read More...
Categories: Software and Help

How to Install and Use Java JDK on Debian 11

Linux Today News - Thu, 12/15/2022 - 08:00

Java is one of the most popular programming languages. In this tutorial, we will show you how to install Java along with OpenJDK and its corresponding JRE and JDK on Debian 11.

The post How to Install and Use Java JDK on Debian 11 appeared first on Linux Today.

Categories: General News

Pixhawk Baseboard compatible with Raspberry Pi CM4

LXer Linux News - Thu, 12/15/2022 - 07:54
The Pixhawk RPI CM4 Baseboard from Holybro is a Flight Controller platform supporting an RPi CM4 and the new Pixhawk 5X & 6X. The Baseboard provides support for Pixhawk/Ardupilot protocols (i.e. GPS, Telemetry, CAN, etc.) in addition to a Mini HDMI port, a CSI connector and dedicated power ports for the FC and the RPI […]
Categories: General News

LXer: Use Django to send emails with SMTP

Linux Questions - Thu, 12/15/2022 - 06:14
Published at LXer:

Open source frameworks like Django, a Python-based web framework, allows more control for sending emails using functions and expressions.This article shows how to configure an SMTP server and send emails in Django using SMTP.

Read More...
Categories: Software and Help

Use Django to send emails with SMTP

LXer Linux News - Thu, 12/15/2022 - 06:06
Open source frameworks like Django, a Python-based web framework, allows more control for sending emails using functions and expressions.This article shows how to configure an SMTP server and send emails in Django using SMTP.
Categories: General News

How can I find the longest subsequence in a Python list built by consecutive numbers?

Linux Questions - Thu, 12/15/2022 - 04:26
I can compute the length of the longest ascending subsequence formed by consecutive numbers in a list, as well as the largest sum of any subsequence.
Code:     def longest_largest_seq(list):
     
        list = [5,6,3,8,3,4,9,8,10,12,11,99,98]
   
        largest = 0
        sum = 0
        new_list = set(list) #using set to get unique value from the list
        max_count = 0
        count = 0
   
        for num in list:
            if num - 1 not in new_list:
                sum = 0
                count = 0
                while num in new_list:
                    sum += num
                    count += 1
                    num += 1
   
                    if sum > largest:
                        largest = sum
                    if count > max_count:
                        max_count = count
        return largest, max_count
   
    print(f'Largest consecutive sum and longest consecutive subsequence', longest_largest_seq(list)) However, I'm having trouble printing out the longest subsequence with consecutive digits, as shown in this blog (e.g: 8,9,10,11,12). How am I going to do that? Should I build an empty list and overwrite the values in the new list every time the num value is checked?
Thank you in advance
Categories: Software and Help

LXer: Forlinx SoM features Rockchip RK3588 Octa-core processor

Linux Questions - Thu, 12/15/2022 - 04:24
Published at LXer:

Forlinx released this week the FET3588-C System-on-Module based on the octa-core Rockchip 3588 which also integrates the Arm Mali-G610 MP4 GPU and a 6 TOPs NPU. Forlinx is also offering a dev. board to get access to peripherals as dual GbE LAN ports, multiple display interfaces, PCIe slots and optional wireless connectivity. * The FET3588-C [�]

Read More...
Categories: Software and Help

Forlinx SoM features Rockchip RK3588 Octa-core processor

LXer Linux News - Thu, 12/15/2022 - 04:17
Forlinx released this week the FET3588-C System-on-Module based on the octa-core Rockchip 3588 which also integrates the Arm Mali-G610 MP4 GPU and a 6 TOPs NPU. Forlinx is also offering a dev. board to get access to peripherals as dual GbE LAN ports, multiple display interfaces, PCIe slots and optional wireless connectivity.   The FET3588-C […]
Categories: General News

[SOLVED] Iptables rules problem

Linux Questions - Thu, 12/15/2022 - 03:16
Hi,

i have the following rule which was always worked :

Code: -A INPUT -i virbr0 -p tcp -m tcp --dport 22 -m mac --mac-source "mac source" -j ACCEPT it permits to receive incoming connection from port 22 on the virbr0 interface and that mac address.

Now, it no longer works getting the following message:

Code: ssh: connect to host "ip" 22 : No route to host. How could i resolve it?
Regards
Categories: Software and Help

[SOLVED] Iptables rules problem

Linux Questions - Thu, 12/15/2022 - 03:00
Hi,

after last upgrade some iptables rules no longer works getting the following message:
Code: ssh: connect to host "ip" 22: No route to host. These rules always worked until now.

Any advices ?
Regards
Categories: Software and Help

LXer: Firefox 109 to Introduce New Unified Extensions Button for Managing Your Add-Ons

Linux Questions - Thu, 12/15/2022 - 02:30
Published at LXer:

With the release of Firefox 108 out the door and already hitting the desktops of millions of computer users worldwide, Mozilla has promoted the next major version of its open-source and cross-platform web browser, Firefox 109, to the beta channel for public testing.

Read More...
Categories: Software and Help

Firefox 109 to Introduce New Unified Extensions Button for Managing Your Add-Ons

LXer Linux News - Thu, 12/15/2022 - 02:29
With the release of Firefox 108 out the door and already hitting the desktops of millions of computer users worldwide, Mozilla has promoted the next major version of its open-source and cross-platform web browser, Firefox 109, to the beta channel for public testing.
Categories: General News

LXer: Experience Linux desktop nostalgia with Rox

Linux Questions - Thu, 12/15/2022 - 00:41
Published at LXer:

Rox-Filer is an open source file manager for Linux, once intended for the defunct Rox desktop but now a streamlined application for any window manager or desktop. There hasn't been much activity on the Rox project since 2014, and even then it is mostly in maintenance mode. And that's part of Rox-Filer's charm. In a way, Rox-Filer is a snapshot of an old desktop style that was progressive for its time but has given way to a more or less standardized, or at least conventional, interface.

Read More...
Categories: Software and Help

Experience Linux desktop nostalgia with Rox

LXer Linux News - Thu, 12/15/2022 - 00:40
Rox-Filer is an open source file manager for Linux, once intended for the defunct Rox desktop but now a streamlined application for any window manager or desktop. There hasn't been much activity on the Rox project since 2014, and even then it is mostly in maintenance mode. And that's part of Rox-Filer's charm. In a way, Rox-Filer is a snapshot of an old desktop style that was progressive for its time but has given way to a more or less standardized, or at least conventional, interface.
Categories: General News

Please recommend another light weight Linux version.

Linux Questions - Thu, 12/15/2022 - 00:27
Have tried BionicPup32 and BionicPup64, both of them block the connections to the websites I usually visit everyday, YouTube, New York Times, NBC news etc. BionicPup32's reason for blocking the connections is "not secure" and BionicPup64's reason is "untrusted" as they say.

Please recommend one or two Linux versions that are light and easy to operate and can use Firefox or Google Chrome and can connect to most of the major websites.

Thank you.
Categories: Software and Help

no build folder found under //lib/modules/$(uname -r)/build/ for Debian 11

Linux Questions - Wed, 12/14/2022 - 23:41
hi friends, I'm trying to build a kernel module written by my own (only for testing).

I was trying to build the module via:

make -C /lib/modules/$(uname -r)/build/ M=$(pwd)

but then I found out on Debian version, seems no build folder there. I checked the other Debian kernel complied before, also did not get the build folder.

may I ask how can I get the build folder or how shall I compile a module on Debian 11?

thanks in advance
Categories: Software and Help

LXer: Ardour 7.2 Open-Source DAW Brings Support for Compressed Ogg/Opus Audio, New MIDI Input Port

Linux Questions - Wed, 12/14/2022 - 22:54
Published at LXer:

One and a half months after Ardour 7.1, Paul Davis and the team behind this open-source, free, and cross-platform digital audio workstation (DAW) released Ardour 7.2 as a modest update to the software that brings various new features and improvements.

Read More...
Categories: Software and Help

Pages