LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

what the--??!?-- blog vs forum

Posted 10-04-2016 at 10:22 AM by danrevell (Linux 001)
Updated 11-03-2016 at 09:14 PM by danrevell (addendum)

Just discovered lately that there is quite a bit more action on this blog than I thought... for the benefit of those readers who may be as drain-bamaged as myself, I submit these mystifying aspects of LQ blogs, for which I can offer no explanation.
1) Posts are in reverse chronological order. If you want to follow the line of conversation you have to start at the end and read the posts backwards, toward the top, unlike the forums, where the natural flow and chronological order is more-or-less...
Member
Posted in Uncategorized
Views 500 Comments 2 danrevell is offline
Old

nftables NAT

Posted 10-03-2016 at 05:04 PM by serafean
Updated 10-03-2016 at 05:08 PM by serafean

Finally getting around to writing the continuation of this howto. Now lets take a look at a basic router firewall.
Basic ruleset configuration is described here.
This ruleset only sets up ipv4 nating, no filtering is set up (that will be covered later)
The following is an nft configuration file. To be loaded with nft -f.
Code:
define if_wan = eth0
table ip filter {
        map tcp_nat_map {type inet_service : ipv4_addr;}
        map udp_nat_map
...
Member
Posted in nftables
Views 253 Comments 0 serafean is offline
Old

Uh-oh.... about that last....

Posted 10-03-2016 at 06:33 AM by danrevell (Linux 001)
Updated 10-04-2016 at 10:27 AM by danrevell

Upon review of a few sites, I conclude that I must be an uninformed idiot of some sort.
It appears that Winblows and Apple both still have CLIs, the syntax and language of which approximate Linux.... did EVERYTHING come from Unix?
I am hoping that some of you more well-informed Linux gods/goddesses will intervene on my behalf here, and inform us that my data is outdated, or that the CLIs (or at least Winblows') stinks like dead meat, or SOMETHING, ANYTHING, I'm dyin' out here....
Member
Posted in Uncategorized
Views 245 Comments 4 danrevell is offline
Old

Another wrap, another beginning...

Posted 10-03-2016 at 06:21 AM by danrevell (Linux 001)

Well, well, well.... my, my, my.
It seems I have blundered into the modern world, only to find my outdated education and personal perspectives to be more deleterious than helpful in getting a handle on the current circus.
Let's move the initial premise to the back burner... yes, it is still a time-saver and headache-averter, to find a "wubi.exe" (or even almost-as-easy approach) to install Linux. But that is apparently just one way, albeit a good one, to slow the approach...
Member
Posted in Uncategorized
Views 119 Comments 0 danrevell is offline
Old

Silent pulse audio output detection/indication, with bash + arecord

Posted 10-02-2016 at 04:16 AM by the dsc (linux-related notes)
Updated 10-02-2016 at 04:19 AM by the dsc

You can "grep" something at /proc or whatever that tells whether there's some sound theoretically being played, but it will give a false positive when "silent sound" is being played.

A clumsy hack along these lines can detect "silent audio" as silence:

Code:
while true ; do 
arecord -d 1 -D pulse > /dev/shm/test-audio 2>&1 
cut -c 300- /dev/shm/test-audio | grep -a [[:alpha:]] > /dev/null && echo sound
...
Member
Posted in Uncategorized
Views 129 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration