Recent Questions - Unix & Linux Stack Exchange |
- Wifi Repeated Disconnect & Reconnect Issue
- Sub-directory doesn't appear until I cd into it
- How to change alert sound in popos?
- docker build runs as a normal user instead of root
- Bind with RPZ broke domain forwarding?
- How to install OpenGl and SDL2 libraries on ubuntu
- Detect Frame Per Second of an LCD screen
- Custom Build - Unable to mount filesystem
- Ufw, allow in/out on enp0s3 192.168.0.0/16
- Full command line in ps -o call
- Why avoid using "&&" in bash script?
- Are USB c headsets compatible with Linux?
- Running Linux for development: pros and cons of VM vs docker?
- Is it possible to set different default gateways on a per-application basis?
- Why I can't login in my linux using my account?
- how to enable debug logs in stdout for logstash?
- network access lost when I connect to VPN
- What rd.live.image means?
- Can we use "${a:-b}" for variable assignment in bash, with "a" a command?
- Some Emojis not appearing on browser and some applications in Endeavour OS
- Extrating timestamps from filename to split mp3s
- Automatically moving forked processes in a different cgroupv2
- Ubuntu VM without iptables and without ip_tables module
- Linux Mint duplex driver for Samsung M2070
- Content of root's home directory in OSX
- How to shutdown Linux at specific datetime from terminal?
- Dual booting Ubuntu and Windows 8. w8 boots through grub shell, but not from menu
- How can ubuntu/truecrypt be configured so users can mount volumes if-and-only-if they have proper permissions on the mount-point?
- How to create /dev/null?
Wifi Repeated Disconnect & Reconnect Issue Posted: 03 Jan 2022 10:28 AM PST Only recently there has been an issue for me where on Arch my Wifi works for a few minutes, and then disconnects for 1 or 2 minutes. After that it connects back and then disconnects after a few minutes. The cycle goes on... This used to be a problem but for some reason it has grown to be even worse and I have not made many changes network wise. Everything works perfectly fine when on Windows.
I tried disabling some services but they didn't seem to do anything so I re-enabled them. Any idea what the issue might be? | ||||||||||||
Sub-directory doesn't appear until I cd into it Posted: 03 Jan 2022 10:17 AM PST There is a shared directory with sub-directories, but when I run the command ls, it doesn't appear. It only appears once I have cd into it, why is this? | ||||||||||||
How to change alert sound in popos? Posted: 03 Jan 2022 10:02 AM PST I see latest version of popos settings doesnt includes alert sound such as bark, sonar, bell. I could have install so is there any other way around to change that? | ||||||||||||
docker build runs as a normal user instead of root Posted: 03 Jan 2022 10:13 AM PST I added a user to my docker image, and my next How to fix that? Proof (that my next and I've also confirmed that from "Set current host user for docker container". and I cannot fix the problem at The problem of running which needs | ||||||||||||
Bind with RPZ broke domain forwarding? Posted: 03 Jan 2022 09:56 AM PST I wanted to take my existing internal DNS Bind servers and add some RPZ security. Previously I had split DNS with my internal view set to forward 3 specific domains to my offices internal DNS servers. Which worked great. Once I added RPZ after signing up with a transfer provider: I can see my RPZ working great, but my forwarded zone is being caught in the RPZ. (Yeah, one of many companies I have worked for that inadvertently used an internal TLD that is now on someone's naughty list). I tried making this domain a whitelist, but bind requires that my zone definition be a MASTER or SLAVE type, not a forward. I am not finding a good example of anyone that has got both features to work.. IE: Allow Bind to either look at all it's local zones first, before RPZ, or tag a whitelist so that it still looks at it's view configuration for answers if it is marked passthru. Ideas? | ||||||||||||
How to install OpenGl and SDL2 libraries on ubuntu Posted: 03 Jan 2022 10:02 AM PST I am trying to build Cube2 Sauerbraten, But I need the OpenGL and SDL2 libraries to run the makefile. (I am using ubuntu here) I tried running | ||||||||||||
Detect Frame Per Second of an LCD screen Posted: 03 Jan 2022 09:20 AM PST I am trying to find the frame per second of an LCD display in a Linux system. The display resolution is 640*480. The display is a 24 bit LCD screen and we use 32-bit frame reader driver(/dev/fb0) to draw. We tried xrandr tool but it shows the refresh rate to zero. Searched on the internet and couldn't find a clear solution. How I can find the frame per second of my LCD screen? Any help is greatly appreciated | ||||||||||||
Custom Build - Unable to mount filesystem Posted: 03 Jan 2022 09:27 AM PST So I'm building a custom Linux-based OS, and I chose to run it as a RAM disk (initramfs). Unfortunately, I keep getting a Kernel Panic during boot. Any chance this is something missing in my kernel build? Here's how I've designed the OS:
NOTES: I tried each file system one at a time, and all provide the same response, which leads me to believe that it is not an issue with the filesystem itself. I also tried both syslinux and extlinux for testing purposes. Here's how I've structured my disk: Here is my I've also enabled the following filesystem options in my kernel's | ||||||||||||
Ufw, allow in/out on enp0s3 192.168.0.0/16 Posted: 03 Jan 2022 08:05 AM PST is it possible work ufw to allow in and out on a specific interface AND ip range at the same time? ufw allow in/out from enp0s3 192.168.0.0/16 ? e.g allowing everything on local network, but only on interface enp0s3 | ||||||||||||
Full command line in ps -o call Posted: 03 Jan 2022 08:40 AM PST On Ubuntu 20.04.3, calling which is what I want except for the shortened command line. Adding | ||||||||||||
Why avoid using "&&" in bash script? Posted: 03 Jan 2022 08:18 AM PST I am writing a bash script which contains a simple if section with two conditions: A senior engineer reviewed my code and commented:
He didn't further explain. But out of curiosity, I wonder if this is true, and what is the reason for avoiding using | ||||||||||||
Are USB c headsets compatible with Linux? Posted: 03 Jan 2022 07:37 AM PST just a quick question: In the past I had problems with 3.5 because the audio worked but the microphone didn't work. I switched to a headset with USB A, where I no longer had any problems. Unfortunately, I am forced to buy a new headset. At the moment I prefer one with USB c because my laptop has this connection and it would also be advantageous for mobile devices. Is there anyone who can help me and who knows if I will have problems with usb c? A working microphone is important to me for conferences. Or should I stick with USB A? Hope I haven't forgotten any important information, of course I will update the post if I did. Thank you! | ||||||||||||
Running Linux for development: pros and cons of VM vs docker? Posted: 03 Jan 2022 07:30 AM PST My main workmachines these days are an iMac and a Macbook, because I work as a mobile app dev and for building iOS apps, you need a Mac system. That said, for the sake of fun and knowledge, I want to re-learn OS kernel dev. I've found some repos that are easily buildable on Linux (still have a PC running Debian ready). These repos require some tools that are unfortunately Linux only, so I'd like to install Linux "inside" my Mac. At the moment, not interested in dual-boot. Now I've installed Debian on VirtualBox, and so far it works OK. I wonder, though, if there's a less resource approach for running Linux: perhaps docker? What are the pros and cons? My understanding so far is docker is suited for reproducibility, to avoid the classic "this setup works OK on my machine but not sure why it crashes on yours". Not sure if it fits my case. | ||||||||||||
Is it possible to set different default gateways on a per-application basis? Posted: 03 Jan 2022 07:23 AM PST Suppose I have a machine on a network with two different valid, working gateways. Let's call On this network, users (or their administrators) could choose which gateway to use on the basis of essentially what their DHCP server tells them, or they decide to set. This is a convenience for many -- you can have slightly faster, lower-latency access to the native country's internet via gateway For a machine running linux on this network, is it possible to change routes on a per application basis? I know that we could set a specific route on a per host basis with This is obviously possible with vlans, VMs (or containers) and virtual network adapters, but I'm interested to know if there's a "bare metal" answer. | ||||||||||||
Why I can't login in my linux using my account? Posted: 03 Jan 2022 06:42 AM PST I had recently wanted to use xfce instead of gnome, so I just uninstalled gnome and installed xfce, with lightdm, later I couldn't login in my work account but was able to login in another account of mine. Later I had to uninstall xfce and lightdm, but still I couldn't login in my account using GUI, when I try to enter my password and username, it goes in the loop once again... This only happens with my work account, but on the otherhand when I try to login with my normal account it just works... I have debian 11.2 installed in my laptop, and gnome version is 3.38.6 installed. Any help is highly appreciated... | ||||||||||||
how to enable debug logs in stdout for logstash? Posted: 03 Jan 2022 06:27 AM PST I'm struggling as newbie in logstash, below is some info of my env Logstash Conf I run logstash with below command, I get error: how do I enable debug logs in logstash, outputting events, as well as message section? | ||||||||||||
network access lost when I connect to VPN Posted: 03 Jan 2022 09:51 AM PST When I connect to a VPN using forticlient I lose access to all other sites (outside of the VPN). I thought the problem was with my DNS and When I'm connected to the VPN here's what And after I disconnect from the VPN, when I can use my default DNS, etc Edit (to improve readability): and
FWIW I'm running Debian with All suggestions gratefully appreciated. | ||||||||||||
Posted: 03 Jan 2022 06:21 AM PST I've recently started to use Fedora more. I want to understand boot options. I'm currently unable to find meaning of dracut.cmdline - dracut kernel command line options mentions it only in below and an example:
| ||||||||||||
Can we use "${a:-b}" for variable assignment in bash, with "a" a command? Posted: 03 Jan 2022 08:02 AM PST I'm writing a bash script. Per this original post I have learned that I wonder if we can extend this case into assigning the output of a command to a var. For example, I have a bash command But I also want to include the case that if the output of I know that I can write vanilla | ||||||||||||
Some Emojis not appearing on browser and some applications in Endeavour OS Posted: 03 Jan 2022 08:51 AM PST I just shifted to arch from ubuntu budgie. and I am getting some issues loading/displaying emojis on some websites and applications. I have provided some screenshots of the issue. The Os I am using is Endeavour OS with KDE Plasma Desktop and my browser is Brave (stable).
| ||||||||||||
Extrating timestamps from filename to split mp3s Posted: 03 Jan 2022 08:44 AM PST I have a bunch of mp3 files in a folder. They are recorded from cassette tape, and the individual tracks need to be separated out. This is one one the filenames: You can see it has timestamps within the filename, indicating the start of each track. The first track is not timestamped since it always starts at 00:00. And the last track should always go to the end of the mp3. Somehow, I want to extract these timestamps in order to create separate files. If the file above were split correctly the output would be: I know how to loop thru files, and how to cut a file with ffmpeg, but I don't know how to extract the timestamps and track names from the filename. I'm using zsh, and here is my current code: UPDATE My spec for this problem has changed. The filename looks like this: i.e it has an Album name at the beginning, and there are hyphens in the timestamps instead of colons (filenames can't have colons in macOS). Also, I wanted to insert some mp3 tags into the files, and put the tracks for each album in its own album folder. I based my solution on Gilles one below. The script looks like this: | ||||||||||||
Automatically moving forked processes in a different cgroupv2 Posted: 03 Jan 2022 09:45 AM PST I've been using I'm now preparing a new Debian 11 server, and I'm finding out that I need to use cgroup v2 now. So I'm trying to bring my resource control solution to the new world. When I create my e.g. Is there a way to automatically classify child processes of a process in a different cgroup than the spawning process with systemd? | ||||||||||||
Ubuntu VM without iptables and without ip_tables module Posted: 03 Jan 2022 10:26 AM PST I'm using an Ubuntu 16.04 vm at a provider I haven't used before and immediately encountered a new problem. I installed the iptables package, however when I attempted to run My first response was to load the ip_tables module, however there were no modules in /lib/modules... I'm also wondering where the kernel config is, since it was not in /boot. A created a support ticket, but the provider is saying the level of support I'm seeking "requires an SLA agreement". Thoughts? | ||||||||||||
Linux Mint duplex driver for Samsung M2070 Posted: 03 Jan 2022 08:01 AM PST I'm trying to print duplex on my Samsung M2070 Printer. I installed the driver from the Samsung website with the provided install.sh and then added the printer to the system in the Printers section of the System Preferences. I see the Printer in LibreOffice Writer, and I can print with it, but there isn't a duplex function in the print window (On Win7 there is a Checkbox). Do you have any ideas? Update I clicked on "Print" in LibreOffice and then "Properties" and "Paper". I saw the disabled duplex combobox. I thought on a driver issue, so i went to CUPS administration to check my driver. It wrote, that my driver is able to print duplex. | ||||||||||||
Content of root's home directory in OSX Posted: 03 Jan 2022 09:04 AM PST What is stored in root's home directory on OSX? What happens if you delete it on accident? Here's what's in my current root home folder. Here's what's in the Library | ||||||||||||
How to shutdown Linux at specific datetime from terminal? Posted: 03 Jan 2022 06:50 AM PST It seems I can shutdown using Is there a way to specify datetime for shutdown? | ||||||||||||
Dual booting Ubuntu and Windows 8. w8 boots through grub shell, but not from menu Posted: 03 Jan 2022 10:00 AM PST I have a laptop, with installations of Ubuntu 12.10, and Windows 8. Windows 8 was first installed on the system, and Ubuntu was installed afterwards. During the Ubuntu installation, the installer recognized that there are existing partitions, but failed to see any OS on them. I created another ext4 partition in the free space, and installed Ubuntu. Initially grub only added the entry for Ubuntu, and Ubuntu works ok. Now I wanted to enter w8 settings to Grub manually, and modified The search string (second to last) I found with this command: Now after updating grub config, rebooting and selecting windows 8 entry, it complains: In Ubuntu however, if I do Now, if I press e to edit the Windows 8 entry, and then select F2 to enter grub shell, indeed if I try to run Funnily enough, if at this point I just type
Any ideas what I should do to get grub working "right out of the menu"? | ||||||||||||
Posted: 03 Jan 2022 07:01 AM PST If I add the line: If a user doesn't have sudo rights to run What's the proper way to configure the system/truecrypt so users can mount volumes in a sane/safe way? e.g. they can only mount volumes to mount-points which they own (or have write-access to)? | ||||||||||||
Posted: 03 Jan 2022 08:39 AM PST I deleted my /dev/null. How can I restore it? |
You are subscribed to email updates from Recent Questions - Unix & Linux Stack Exchange. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment