Re: mdadm and whole disk array members
Gary Dale wrote: > Perhaps it only works with virgin drives? Mine had been removed from > another machine where they had been part of a different array. I zeroed > the superblocks before creating the new array. I doubt that - IMO should be either the BIOS or the drives, or a combination of both
Re: bluetooth problems Cambridge Silicon Radio
Jeremy Ardley wrote: > I have seen several references to the Cambridge Radio bug, with at least > some patches being generated back in 2013 and in 2020, none of which > seem to have made it to the kernel. > > Given how hard it is to compile packages on debian without going down > never ending rabbit holes of dependencies, it may be easier for me to > just get a USB dongle that is known to work in the current distro. > > Any suggestions on USB dongles that are known to work? Preferably V5. 1. this is the kernel - you do not have many dependencies and it is not hard to compile. 2. I have one that reports the same ID but could be V3 or V4 - I bought it many many years ago. 3. it could be this is a new generation (V5) that does not work. 4. Look forward to buy genuine one - there is a lot of crap made in China out there. Some other options pop up in my mind. Are you using it on USB3 port? Is it a LE device? there are rumors that both were causing problems?
Re: Adding wine64 to wine installation (buster)
On 26.03.2021 08:31, Rick Macdonald wrote: Thanks! I ran the wineboot --init command and it worked, and I was able to install the 64bit program with "wine app64.exe", and it launches. Is there a difference between the commands wine and wine64? Now, do I need to reinstall all my previous 32bit programs, or can I use WINEPREFIX pointing to the old .wine directory that I renamed ".wine32"? Rick "wine" command is a 32-bit ELF binary and "wine64" command is a 64-bit ELF binary. In my experience it doesn't matter which one to use, as long as you run programs inside a prefix that supports both 32-bit and 64-bit (WoW64). [1] You can use just one prefix for both 32-bit and 64-bit programs, or you can have as many prefixes as you want, each could be setup with different settings and\or DLLs, tailored specifically for some program. It is up to you how to manage them all. I use "q4wine" program (it could be installed from Debian repo) that helps to make some things easier. There is also commercial software "CrossOver" [2] from the authors of WINE project, but I've never used it. [1] https://wiki.winehq.org/Wine_User%27s_Guide#WINEARCH [2] https://www.codeweavers.com/crossover -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
Re: RTL problem
On Thu, 25 Mar 2021 19:59:04 -0400 Maureen L Thomas wrote: > So I decided to re-install debian 10. > While doing so I get to the part about the entering the needed rtl > files which I have on DVD and on USB. I tried both but neither of > them would work. I cannot get it to even come up to a command line > to do dmesg and see what the real problem may be. I take it that by "rtl files" you mean RealTek firmware blobs for RealTek devices. What I found was that Bullseye (Debian 11) wants the firmware .deb package, not the extracted firmware files. This may or may not work on Buster (Debian 10). Also it wants the file in the root directory of the USB device. You may be able to install without them if you don't need the interface they support to install. You would need some other interface either during installation, or shortly after installation to bring the firmware package in. Probably the easiest option: you might try the unofficial with-firmware installation images. Depending on your requirements, you should be able to drill down from this page: https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/ -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: mdadm and whole disk array members
On 2021-03-25 21:14, Gary Dale wrote: On 2021-03-23 08:44, deloptes wrote: deloptes wrote: A friend told me that he found out it is a problem in some BIOSes with UEFI that can not handle a boot of md UEFI partition. Perhaps it also depends how they handle the raid of a whole disk. Are you trying to boot from that raid? Forgot to ask what is in your /etc/mdadm/mdadm.conf and the IDs of the disks IMO the problem is that if it is not a partition the mdadm can not assemble as it is looking for a partition, but not sure how grub or whatever handle it when you boot off the drive. The drives use normal /dev/sd* ids. They are not being booted from. I had updated /etc/mdadm/mdadm/conf with the new information for the array after creating it. When I did exactly the same thing after creating a single FD00 partition on the drives, everything worked. When I say "the same thing", I mean creating the array from the partitions instead of the whole drives.
Re: mdadm and whole disk array members
On 2021-03-23 11:45, Reco wrote: Hi. On Tue, Mar 23, 2021 at 01:44:23PM +0100, deloptes wrote: IMO the problem is that if it is not a partition the mdadm can not assemble as it is looking for a partition, My mdadm.conf says: # by default (built-in), scan all partitions (/proc/partitions) and all # containers for MD superblocks. alternatively, specify devices to scan, # using wildcards if desired. #DEVICE partitions containers And /proc/partitions always had whole disks, their partitions, lvm volumes and whatever else can be presented as a block device by the kernel. So mdadm is perfectly capable of assembling whole disk arrays, and it does so for me for more than 10 years. but not sure how grub or whatever handle it when you boot off the drive. GRUB2 can definitely boot from mdadm's RAID1 as it has an appropriate module for this specific task. Installing GRUB2 on mdadm array made of whole disks is tricky though. UEFI itself, on the other hand - definitely can not, unless you resort to some dirty hacks. After all, UEFI requires so-called "EFI System Partition" aka ESP. Reco From what I read in looking for solutions, the problem is common. I even tried one workaround of zapping any existing partition table on the drives. Nothing worked. Perhaps it only works with virgin drives? Mine had been removed from another machine where they had been part of a different array. I zeroed the superblocks before creating the new array.
Re: mdadm and whole disk array members
On 2021-03-23 08:44, deloptes wrote: deloptes wrote: A friend told me that he found out it is a problem in some BIOSes with UEFI that can not handle a boot of md UEFI partition. Perhaps it also depends how they handle the raid of a whole disk. Are you trying to boot from that raid? Forgot to ask what is in your /etc/mdadm/mdadm.conf and the IDs of the disks IMO the problem is that if it is not a partition the mdadm can not assemble as it is looking for a partition, but not sure how grub or whatever handle it when you boot off the drive. The drives use normal /dev/sd* ids. They are not being booted from. I had updated /etc/mdadm/mdadm/conf with the new information for the array after creating it. When I did exactly the same thing after creating a single FD00 partition on the drives, everything worked.
Re: mdadm and whole disk array members
On 2021-03-23 08:29, deloptes wrote: Gary Dale wrote: It's not just me but a lot of other people have been having the same problem. It's been reported many times as I discovered after trying to use whole disks. Moreover, the fixes that I'd used in the past don't seem to work reliably without partitions. A friend told me that he found out it is a problem in some BIOSes with UEFI that can not handle a boot of md UEFI partition. Perhaps it also depends how they handle the raid of a whole disk. Are you trying to boot from that raid? No.
Minisforum X35G hangs on first boot.
Hi, I am trying to install debian buster (debian-10.8.0-amd64-netinst.iso) on minisforum X35G. This comes installed with windows 10. It has Core i3-1005G1 cpu 16GB memory and 512 PCIe nvme SSD as far as I can tell. Everything during the install goes fine (warnings about some realtec NIC firmware, but network is fine for install). However on the first reboot, it gets all the way where it complains about NIC firmware and hangs right there. The only thing I can do is to press power button and the kernel will get out of hang and shutdown and power off. Windows seem to dual boot fine. I do not know how to proceed further with debug. Any help is much appreciated. Regards Ramesh
Re: mdadm and whole disk array members
Gary Dale composed on 2021-03-25 21:19 (UTC-0400): > From what I read in looking for solutions, the problem is common. I > even tried one workaround of zapping any existing partition table on the > drives. Nothing worked. "Zapped" exactly how? GPT tables are on both ends of the disks. Wiping the first sectors won't get the job done. -- Evolution as taught in public schools, like religion, is based on faith, not on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: Adding wine64 to wine installation (buster)
Thanks! I ran the wineboot --init command and it worked, and I was able to install the 64bit program with "wine app64.exe", and it launches. Is there a difference between the commands wine and wine64? Now, do I need to reinstall all my previous 32bit programs, or can I use WINEPREFIX pointing to the old .wine directory that I renamed ".wine32"? Rick On March 25, 2021 12:10:59 p.m. MDT, "Alexander V. Makartsev" wrote: >On 25.03.2021 22:47, Rick Macdonald wrote: >> I've been running a few 32bit Windows programs with wine for many >> years, but now I need to run some 64bit programs. >> >> The Debian wine wiki says "Users on a 64-bit system should make sure >> that both wine32 and wine64 (or wine32-development and >> wine64-development) are installed". >> >> I have "deb https://dl.winehq.org/wine-builds/debian/ buster main" in > >> sources.lists. I installed "wine64". The package lists before and >> after are below. When I try to install a 64bit program using "wine >> 64bitprogram.exe", I get the message: >> >> "This program can only be installed on versions of Windows designed >> for the following processor architectures: x64". >> >> So then I ran "wine64 64bitprogram.exe" and I get the message: >> >> "wine: '/home/myacct/.wine' is a 32-bit installation, it cannot >> support 64-bit applications." >> >> Installing wine64 didn't create a .wine64 directory. It seems like >I'm >> close, but what am I missing? Something to do with WINEPREFIX? >Correction, command should be: >$ wineboot --init > > >-- >With kindest regards, Alexander. > >⢀⣴⠾⠻⢶⣦⠀ >⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system >⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org >⠈⠳⣄
Re: Running debian on WSL (windows-system-for-linux)
On Thu, Mar 25 2021 at 08:02:32 PM, Dan Hitt wrote: > Does anybody have any experience running debian on a WSL > (windows-system-for-linux) machine? > I use WSL (not the newer WSL2) on a work computer. > I need to get a machine for family use, but i would also like to be able to > also use it myself. So i would like to be able to ssh in, back up files > into it, and do other tasks, maybe even a little programming on it. (A mac > can handle all of this sort of thing quite easily, but has a huge price > tag.) > I'm assuming you have a reason for not just running debian on the computer directly. > At a job a couple of years ago i put WSL on the windows desktop machine > they gave me, but i was not in a position to be very aggressive about > remote usage, and, as i understand it, WSL has evolved since then. And, > even then, WSL was more than just a virtual machine guest. > > In particular, i would like to > (a) be able to remotely access the WSL debian just as if it were debian > box, including having ssh, rsync, and x windows As long as you get sshd running in your WSL debian, you will be able to ssh fine. X forwarding should also work, but I've never tried it myself. > (b) occasionally do the same sorts of things from its console You'll need a Windows X server installed. vcxsrv is open source and works well for me. > (c) not have to manually set up and keep alive daemons or special > services, A web search will find instructions for configuring WSL daemons to startup as Windows services. This will be a one-time process. > (d) as an extra, keep the debian and windows things on separate disks, if > possible. No idea how to do this. The debian install will go to a directory in your %LocalAppData%; I guess you could mount a separate disk to that path, but I've not tried this. > > I'm not looking for a multi-boot situation, as i want to be able to access > the WSL apparatus while the console is engaged with doing windows > operations for somebody else (and i guess the converse as well, although > i'm pretty foggy about sshing into windows). > If you set up sshd in your WSL debian, you will end up with a shell in the debian environment. You can navigate to the Windows filesystem if you need to. You could also setup an ssh server on Windows if you like. I hear OpenSSH server is available as a feature to enable in Windows. > Thanks in advance for any advice or pointers. -- regards, kushal
Re: Running debian on WSL (windows-system-for-linux)
On 3/25/21 8:23 PM, Stefan Monnier wrote: Does anybody have any experience running debian on a WSL (windows-system-for-linux) machine? I don't, sorry. I need to get a machine for family use, but i would also like to be able to also use it myself. But I do have experience with using Debian for "the family computer". same here. My wife went to Debian Mate on he laptop about 5 years ago. I set it up "user friendly" for her to readily access and use the things she wants to do. With a few minor tweaks now and again she is happy. Me too, I no longer have to figure out how to constantly fix Windows. So maybe you can just ditch the Windows part, Stefan
Re: Running debian on WSL (windows-system-for-linux)
> Does anybody have any experience running debian on a WSL > (windows-system-for-linux) machine? I don't, sorry. > I need to get a machine for family use, but i would also like to be able to > also use it myself. But I do have experience with using Debian for "the family computer". So maybe you can just ditch the Windows part, Stefan
Running debian on WSL (windows-system-for-linux)
Does anybody have any experience running debian on a WSL (windows-system-for-linux) machine? I need to get a machine for family use, but i would also like to be able to also use it myself. So i would like to be able to ssh in, back up files into it, and do other tasks, maybe even a little programming on it. (A mac can handle all of this sort of thing quite easily, but has a huge price tag.) At a job a couple of years ago i put WSL on the windows desktop machine they gave me, but i was not in a position to be very aggressive about remote usage, and, as i understand it, WSL has evolved since then. And, even then, WSL was more than just a virtual machine guest. In particular, i would like to (a) be able to remotely access the WSL debian just as if it were debian box, including having ssh, rsync, and x windows (b) occasionally do the same sorts of things from its console (c) not have to manually set up and keep alive daemons or special services, (d) as an extra, keep the debian and windows things on separate disks, if possible. I'm not looking for a multi-boot situation, as i want to be able to access the WSL apparatus while the console is engaged with doing windows operations for somebody else (and i guess the converse as well, although i'm pretty foggy about sshing into windows). Thanks in advance for any advice or pointers. dan
Button events from headphone+micro combo
My Librem mini comes with a an audio jack in the front into which I can connect the same headphones-with-micro as used typically on phones. This works fine to the extent that I can hear the audio out and it can grab the audio from the microphone, but what about the buttons (typically used to increase/decrease volume and stop/play music)? How can I capture those events to make them do something useful? Stefan
Re: MATE desktop - changing icon of a Launcher
On 3/23/21 7:26 AM, Richard Owlett wrote: I've been use MATE almost since it came out. IIRC I used to use a series of mouse clicks to determine the file name {including path} of the current icon. On my current systems {one Stretch, one Buster} if I: 1. right click on the Launcher 2. select properties 3. left click on the current icon I get a "Select Custom Icon" menu. In it I can select a directory to search and it will display a list of available icons in that directory. But I need to know the complete path to the current icon. one more step, you are really close. right click on the file, select "copy location" the full path and file name is now on your clipboard. paste = /usr/share/pixmaps/luckybackup.png does that help? I can get the desired information by opening the launcher with a text editor. {I want a "mouse click" method to obtain the information as I'm setting up a system for a very novice user.} Suggestions? TIA
Installing Debian from a hard disk with Windows to a USB stick
Hi. I'm trying to install Debian 10.8 on a USB stick, and it is not Debian Live, from a hard disk that has Windows 7 installed. Since I don't have any CD or DVD, and I need the USB stick to install Debian on it, I can't use the USB stick to put the ISO image on it. I have downloaded the first ISO DVD image, hd-media/vmlinuz and hd-media/initrd.gz. As I understand, the standalone win32-loader downloads its own Debian image, so I supposed I needed the setup.exe from the ISO image. I put debian-10.8.0-i386-DVD-1.iso, g2ldr, g2ldr.mbr (these two from the ISO), initrd.gz, setup.exe, vmlinuz and win32-loader.ini on the root of C: I modified win32-loader.ini from: [installer] kernel=linux arch=i386 i386/linux=install.386/vmlinuz i386/initrd=install.386/initrd.gz i386/gtk/linux=install.386/vmlinuz i386/gtk/initrd=install.386/gtk/initrd.gz [grub] g2ldr=g2ldr g2ldr.mbr=g2ldr.mbr to: [installer] kernel=linux arch=i386 i386/linux=vmlinuz i386/initrd=initrd.gz [grub] g2ldr=g2ldr g2ldr.mbr=g2ldr.mbr The problem is that I don't know if modifying win32-loader.ini that way I can make debian-installer boot from the files on C: instead from a CD or a DVD or an USB stick; nor I know if GRUB2 will load successfully itself and linux and the RAM disk. Please, could you help me? Thanks in advance.
Re: bluetooth problems Cambridge Silicon Radio
On 26/3/21 8:33 am, deloptes wrote: Jeremy Ardley wrote: Mar 25 15:30:46 client.bronzemail.com kernel: usb 1-3.2: new full-speed USB device number 7 using xhci_hcd Mar 25 15:30:47 client.bronzemail.com kernel: usb 1-3.2: New USB device found, idVendor=0a12, idProduct=0001, bcdDevice=88.91 Mar 25 15:30:47 client.bronzemail.com kernel: usb 1-3.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 Did you by chance read this? I wonder if it is something with the stock kernel https://askubuntu.com/questions/1098165/bluetoothctl-cant-find-default-device-but-hciconfig-hcitool-can-see-my-device https://askubuntu.com/questions/1205962/bluetooth-dongle-problem I have seen several references to the Cambridge Radio bug, with at least some patches being generated back in 2013 and in 2020, none of which seem to have made it to the kernel. Given how hard it is to compile packages on debian without going down never ending rabbit holes of dependencies, it may be easier for me to just get a USB dongle that is known to work in the current distro. Any suggestions on USB dongles that are known to work? Preferably V5. Jeremy OpenPGP_signature Description: OpenPGP digital signature
Re: bluetooth problems Cambridge Silicon Radio
Jeremy Ardley wrote: > Mar 25 15:30:46 client.bronzemail.com kernel: usb 1-3.2: new full-speed > USB device number 7 using xhci_hcd > Mar 25 15:30:47 client.bronzemail.com kernel: usb 1-3.2: New USB device > found, idVendor=0a12, idProduct=0001, bcdDevice=88.91 > Mar 25 15:30:47 client.bronzemail.com kernel: usb 1-3.2: New USB device > strings: Mfr=0, Product=2, SerialNumber=0 Did you by chance read this? I wonder if it is something with the stock kernel https://askubuntu.com/questions/1098165/bluetoothctl-cant-find-default-device-but-hciconfig-hcitool-can-see-my-device https://askubuntu.com/questions/1205962/bluetooth-dongle-problem
Re: Could a product with Chipset information for USB WiFi access dongle be advised please?
On 25/03/2021, Susmita/Rajib wrote: > I find from the Debian page that the safest chipsets are as follows: > carl9170 Atheros Communications AR9170 chipset > prism2_usb Intersil Prism 2/2.5/3 chipsets > rndis_wlan Broadcom BCM4320 chipset > rt2500usb Ralink RT2500USB/RT2571 chipset > rtl8187 Realtek chipsets (RTL8187, RTL8187B) Have searched Amazon.in with each of these strings, but except these ones listed below, none sells in India. Could be searched with these DP: B0718V34FN B07TN941V1 B07FVRKCZJ B004Y6MIXS (sells, very expensive by Indian standards) B00JESLUWQ Chin will ruin the world, it appears.
Re: WiFi Hardware not detected, during Debian NetInst Install
On Thu, Mar 25, 2021, 7:02 PM Cmdte Alpha Tigre Z wrote: > El jue, 25 mar 2021 a las 17:31, Kenneth Parker () > escribió: > > On Thu, Mar 25, 2021, 12:09 PM David Wright > wrote: > >> But it appears that I might need to point out that it's very easy and > >> quick to re-collect a failing installation log at any time if the > >> "original" ones were lost/overwritten or whatever: > >> > >> 1. Boot with the appropriate installation medium. > >> > >> 2. Proceed with expert installation in the original manner, > >> as far as the "Detect Network Hardware", which of course fails. > >> > >> 3. After the failure, and back at the Main Menu, select > >> "Save debug logs". > >> > >> 4. Insert a USB stick, switch to VC2, mount the stick and create > >> a directory on it. > >> > >> 5. Back at VC1, complete the directory name at the prompt and > >> save the logs. (ls on VC2 if you want to check them.) > >> > >> 6. Select "Abort the installation". All that should have taken > >> about five or ten minutes so far. > >> > >> 7. Read/edit/post excerpts from the logs at leisure. (That's when > >> it helps to know what strings you're looking for.) > > > > > > Since the actual logs from the Install are small, I proceeded, up to # > 6. And then, tarred the resulting directory, and sent it to the Bug Report. > > > >> That's what's lacking from the bug report. > > > > > > Hopefully, this will help. > > Thank you, Mr. Kenneth Parker. > > I noticed in the "syslog" that modprobe couldn't find the module > "rtw_8723de" > that was not listed on the "hardware-summary"; instead, lsmod shows > "rtw88_8723de". > Then, the module "r8169" tried to load the firmware but that module > belongs to the > GbE card. > > I think I'll be sending this to the bug report. > Thank you! Have a nice day. > You too. > > -- > Time zone: GMT-4 > Kenneth Parker
RTL problem
I have a Lenovo ideacenter 510A-15ABR, Amd A12-9800 that went crazy. The cmos was frozen from too many attempts to get into it so I had to open it up and play the jumper game to reset it. This went off without a hitch. Once back together it would only boot to fsckd-cancel-msg: Press CTRL+C to cancel filesystem checks in progress. The CTRL+C did not stopit and it ran forever. So I decided to re-install debian 10. While doing so I get to the part about the entering the needed rtl files which I have on DVD and on USB. I tried both but neither of them would work. I cannot get it to even come up to a command line to do dmesg and see what the real problem may be. Can anyone help? Thanks from an old lady using Debian Maureen
Re: how to record sound to mp3 [wav, for those who can]
David Wright writes: On Thu 25 Mar 2021 at 17:40:51 (+0100), Nicolas George wrote: > David Wright (12021-03-25): [...] > > To record, you could type, for example, in another xterm: > > > > $ arecord -d 10 -f cd -v -v -v -D plughw:0,0 /tmp/audiofile.wav > > This command does not record the sound being played. … on your machine. That's why I wrote "If you can't get ALSA to work…". You're a candidate for pulseaudio, I assume. Not sure about that command above (no means to try it just now), but _with_ PulseAudio, I can record the sound that is being played back just fine by means of "monitor" audio devices. E.g. I have the following command to record my screen (`0:v`), the "monitor" device (`1:a`) and a microphone (`2:a`): exec ffmpeg -video_size 1600x1200 -framerate 12 -f x11grab -i :0.0+0,0 -f pulse -ac 2 -i 0 -f pulse -i 1 -c:v libvpx-vp9 -deadline realtime -b:v 2M -c:a libvorbis -map 0:v -map 1:a -map 2:a "recording.webm" adapted from these two sources: -> https://trac.ffmpeg.org/wiki/Capture/Desktop -> https://askubuntu.com/questions/682144/capturing-only-desktop-audio-with-ffmpeg It may of course be true that the hardware _does_ support/accellerate this monitoring capability, but it does not seem to be entirely uncommon a feature? Here, it even works inside virtual machines :) Btw. the existence of monitor devices can be checked in `pavucontrol` where under "Output" it lists two monitor devices here: One for the HDMI output and one for the "Built-in Analog Stereo" Output. AFAICT, this recording facility is getting harder to find on most computers, if you're not prepared to fork out for a sound card. I've been fortunate, in that just as my ancient Pentium III expired, I have acquired a Dell Precision T3500 which has a well endowed (integrated) sound card. I'm still finding my way round it: for example, it also has HDMI playback, but I haven't yet worked out how to exploit it. The machine has one DVI output and two DisplayPorts, so I need to find a DisplayPort/HDMI adapter to see if that would yield anything. [...] As far as I can tell, DisplayPort can transport audio without the need for an HDMI adapter. Here, a Radeon Pro W5500 graphics card is connected to a Dell U2713HM display which has one HDMI, DP, VGA and DVI input each. The W5500 is connected to the DisplayPort and if I play sound to the "HDMI" output, the display outputs that sound through its headphones socket. Similar to your case, there are no HDMI ports on the graphics card. In my case, it is only DisplayPorts. HTH Linux-Fan öö pgpoa49bihnMC.pgp Description: PGP signature
Re: WiFi Hardware not detected, during Debian NetInst Install
El jue, 25 mar 2021 a las 17:31, Kenneth Parker () escribió: > On Thu, Mar 25, 2021, 12:09 PM David Wright wrote: >> But it appears that I might need to point out that it's very easy and >> quick to re-collect a failing installation log at any time if the >> "original" ones were lost/overwritten or whatever: >> >> 1. Boot with the appropriate installation medium. >> >> 2. Proceed with expert installation in the original manner, >> as far as the "Detect Network Hardware", which of course fails. >> >> 3. After the failure, and back at the Main Menu, select >> "Save debug logs". >> >> 4. Insert a USB stick, switch to VC2, mount the stick and create >> a directory on it. >> >> 5. Back at VC1, complete the directory name at the prompt and >> save the logs. (ls on VC2 if you want to check them.) >> >> 6. Select "Abort the installation". All that should have taken >> about five or ten minutes so far. >> >> 7. Read/edit/post excerpts from the logs at leisure. (That's when >> it helps to know what strings you're looking for.) > > > Since the actual logs from the Install are small, I proceeded, up to # 6. > And then, tarred the resulting directory, and sent it to the Bug Report. > >> That's what's lacking from the bug report. > > > Hopefully, this will help. Thank you, Mr. Kenneth Parker. I noticed in the "syslog" that modprobe couldn't find the module "rtw_8723de" that was not listed on the "hardware-summary"; instead, lsmod shows "rtw88_8723de". Then, the module "r8169" tried to load the firmware but that module belongs to the GbE card. I think I'll be sending this to the bug report. Have a nice day. -- Time zone: GMT-4
Re: how to record sound to mp3 [wav, for those who can]
David Wright (12021-03-25): > > > $ arecord -d 10 -f cd -v -v -v -D plughw:0,0 /tmp/audiofile.wav > > This command does not record the sound being played. > … on your machine. On no machine, unless specifically configured, which is not trivial at all. It would be helpful if people around here learned to read carefully the questions before trying to answer them. If they did, they would have noticed that the question was not to record the ambient sound but the sound BEING PLAYED. To achieve it requires either a hardware connection between the output and the input of the sound controller or the collaboration of the sound driver. Regards, -- Nicolas George signature.asc Description: PGP signature
Re: Could a product with Chipset information for USB WiFi access dongle be advised please?
On Thu, 25 Mar 2021 17:22:12 +0100, Sven Joachim wrote: > To: debian-user@lists.debian.org > Subject: Re: Could a product with Chipset information for USB WiFi > Message-id: <[🔎] 87sg4jryob@turtle.gmx.de> > Mail-followup-to: debian-user@lists.debian.org > In-reply-to: <[🔎] > CAEG4cZUzrAb=nn2iH4=l_duhgaqjvbjh_dqbpgxpaky69cz...@mail.gmail.com> > (Susmita's message of "Thu, 25 Mar 2021 18:15:16 +0530") > References: > > <[🔎] CAEG4cZUzrAb=nn2iH4=l_duhgaqjvbjh_dqbpgxpaky69cz...@mail.gmail.com> ... ... [snipped] ... ... [snipped] ... ... > > - The firmware-realtek package is required. > The post here: https://lists.debian.org/debian-user/2021/03/msg01295.html, already has all the information that the said firmware is installed. > > - The r8188eu module for the dongle is in the staging area, as it does ... ... [snipped] ... ... > re-plugged. This may or may not bother you. > > Considering the low price, I cannot really complain. ... ... [snipped] ... ... [snipped] ... ... The dongle may please be ignored. Have ordered its return. A better non-chin one should be used. Please suggest a better one from the list given in the first post. Best.
Re: how to record sound to mp3 [wav, for those who can]
On Thu 25 Mar 2021 at 17:40:51 (+0100), Nicolas George wrote: > David Wright (12021-03-25): > > > now i modify my requirement to how to use arecord to record sound being > > > played to wav file > > > To record, you could type, for example, in another xterm: > > > > $ arecord -d 10 -f cd -v -v -v -D plughw:0,0 /tmp/audiofile.wav > > This command does not record the sound being played. … on your machine. That's why I wrote "If you can't get ALSA to work…". You're a candidate for pulseaudio, I assume. AFAICT, this recording facility is getting harder to find on most computers, if you're not prepared to fork out for a sound card. I've been fortunate, in that just as my ancient Pentium III expired, I have acquired a Dell Precision T3500 which has a well endowed (integrated) sound card. I'm still finding my way round it: for example, it also has HDMI playback, but I haven't yet worked out how to exploit it. The machine has one DVI output and two DisplayPorts, so I need to find a DisplayPort/HDMI adapter to see if that would yield anything. It also has two Capture devices, and I don't know whether that means there are two independent sound paths. If so, then I should be able to record from the browser to one file, and from a TV (my UK one has headphone output) or the Roku remote control to another file at the same time. Anyway, I just recorded a bit of audio from Abbey Road (the live webcam¹, not the album), and printed the settings of all the controls (attached). AIUI at present, the critical section is at the end, specifically: Simple mixer control 'Input Source',0 Capabilities: cenum Items: 'Mic' 'Line' 'Stereo Mix' Item0: 'Stereo Mix' IOW, I'm recording from the mixer. ¹ https://www.abbeyroad.com/Crossing Cheers, David. Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 31 Mono: Playback 31 [100%] [0.00dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 39 Mono: Front Left: Playback 0 [0%] [-58.50dB] [on] Front Right: Playback 0 [0%] [-58.50dB] [on] Simple mixer control 'Speaker',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 31 Mono: Playback 0 [0%] [-46.50dB] [on] Simple mixer control 'Line',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [on] Front Right: Playback 0 [0%] [-34.50dB] [on] Simple mixer control 'Line Boost',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'Line Out',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-46.50dB] [on] Front Right: Playback 0 [0%] [-46.50dB] [on] Simple mixer control 'Mic',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Mic Boost',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'Beep',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 15 Mono: Playback 0 [0%] [-45.00dB] [off] Simple mixer control 'Auto-Mute Mode',0 Capabilities: enum Items: 'Disabled' 'Speaker Only' 'Line Out+Speaker' Item0: 'Disabled' Simple mixer control 'Independent HP',0 Capabilities: enum Items: 'Disabled' 'Enabled' Item0: 'Disabled' Simple mixer control 'Loopback Mixing',0 Capabilities: enum Items: 'Disabled' 'Enabled' Item0: 'Disabled' Simple mixer control 'Capture',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 54 Front Left: Capture 44 [81%] [7.50dB] [on] Front Right: Capture 44 [81%] [7.50dB] [on] Simple mixer control 'Capture',1 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 54 Front Left: Capture 33 [61%] [-9.00dB] [on] Front Right: Capture 33 [61%] [-9.00dB] [on] Simple mixer control 'Input Source',0 Capabilities: cenum Items: 'Mic' 'Line' 'Stereo Mix' Item0: 'Stereo Mix' Simple mixer control 'Input Source',1 Capabilities: cenum Items: 'Mic' 'Line' 'Stereo Mix' Item0: 'Line'
Re: WiFi Hardware not detected, during Debian NetInst Install
On Thu, Mar 25, 2021, 12:09 PM David Wright wrote: > On Wed 24 Mar 2021 at 22:25:42 (-0600), Charles Curley wrote: > > On Wed, 24 Mar 2021 22:52:31 -0500 David Wright wrote: > > > > > ... [W]e haven't yet been shown any direct evidence of > > > which module drives the 8723, nor of what firmware it uses. > > > (These can easily be determined from dmesg when the installed > > > system is running.) > > > > Also, more detail from /var/log/syslog while d-i is running, and > > from /var/log/installer/ after installation is complete. > > Yes, that was my very next sentence, which you snipped: "This should > allow a more focussed report from the installation logs (of which > we've seen nothing IIRC)." > > But it appears that I might need to point out that it's very easy and > quick to re-collect a failing installation log at any time if the > "original" ones were lost/overwritten or whatever: > > 1. Boot with the appropriate installation medium. > > 2. Proceed with expert installation in the original manner, > as far as the "Detect Network Hardware", which of course fails. > > 3. After the failure, and back at the Main Menu, select > "Save debug logs". > > 4. Insert a USB stick, switch to VC2, mount the stick and create > a directory on it. > > 5. Back at VC1, complete the directory name at the prompt and > save the logs. (ls on VC2 if you want to check them.) > > 6. Select "Abort the installation". All that should have taken > about five or ten minutes so far. > > 7. Read/edit/post excerpts from the logs at leisure. (That's when > it helps to know what strings you're looking for.) > Since the actual logs from the Install are small, I proceeded, up to # 6. And then, tarred the resulting directory, and sent it to the Bug Report. That's what's lacking from the bug report. > Hopefully, this will help. > > The OP wrote "The Problem is Recreated. It's hard to figure out how > to describe something so early in the Install Process." > > That's how you do it. > I overlooked the presence of the Debug Logs. > > Cheers, > David. > Kenneth Parker >
Re: how to record sound to mp3
On Thu, 25 Mar 2021 19:51:42 +0100 Nicolas George wrote: > Greg Wooledge (12021-03-25): > > However, this is NOT something you can do with MP3 files. They are not > > designed to be concatenated. (Ogg Vorbis files *are*. MP3 files aren't.) > > It's the other way around. Pure MP3 files are just a concatenation of > self-delimited packets, concatenation will just work. > > MP3 files will usually have ID3 and/or XING packets for metadata at the > beginning or the end, concatenation will include them, and the metadata > will be invalid, but it will not prevent the file from being played. > > On the other hand, Ogg files are NOT concatenable, even those that > contain only Vorbis audio. Some player will ignore the discontinuity at > the concatenation points, but not all. > > Also, let it be said that: decoding playing, recording and encoding > audio files to concatenate them is a terrible idea, because it will lose > quality both because of the decoding-encoding step and because of the > numeric-analog-numeric step. The FFmpeg wiki has some very useful information on concatenating media files where a simple 'cat' won't work - I use its 'concat demuxer' regularly to contatenate MP4 files (Android starts a new video file when a 4GB limit is hit): https://trac.ffmpeg.org/wiki/Concatenate Celejar
Re: how to record sound to mp3
Greg Wooledge (12021-03-25): > I was told *by the developer* (Monty, in #vorbis IRC long ago) that > Ogg Vorbis files were designed for this. Yes, I know concatenation is supposed to be a feature, but they messed it up. You may not know, but the expert consensus is that, although the codec Vorbis was excellent, and Opus even better, the design of the format Ogg was terrible. The non-working concatenation is not the worse part. The worse part is probably that supporting any new codec in Ogg requires code, and non-trivial code even. Look at this: http://git.videolan.org/gitweb.cgi/ffmpeg.git/?p=ffmpeg.git;a=blob;f=libavformat/oggparseopus.c Compare to what it takes to support the same codec in Matroska: http://git.videolan.org/gitweb.cgi/ffmpeg.git/?p=ffmpeg.git;a=commit;h=30549294ef0f796d48b1ffa482bd9315d4dbb83c > However, I will note that there *are* players that don't handle > chained Ogg Vorbis files properly. So, make sure you test with the > actual player you intend to use. If concatenation really did work, it would work with all players, because they would not even be able to detect it happened. But it is worse than that, it is not weird players not handling the format correctly that do not work. Concatenation works with players that play it fast and loose with the format and fails with players that support it completely, because they take the serial id of the streams into account. Regards, -- Nicolas George signature.asc Description: PGP signature
Re: WiFi Hardware not detected, during Debian NetInst Install
2021-03-25 15:01 GMT-04:00, Charles Curley : > On Wed, 24 Mar 2021 22:52:31 -0500 > David Wright wrote: > >> My newly oldest computer, an Acer TravelMate 3201XCi, >> built in 2004, contains one of these. If it's of any use to Charles, >> I can warn that this laptop has the annoying habit of booting up >> with the wifi blocked. (It has a pair of insanely placed toggling >> buttons/lights for wifi and bluetooth, and I've never figured out >> what the wifi light correlates with.) I know nothing about the R51 >> and whether there are any firmware buttons or function keys that >> would affect its wifi. > > A good thought, thank you. A careful inspection of the computer and > search of the Hardware Maintenance Manual reveal no such physical > switch. There is a function key switch which relies on OS support to > actually do anything, and I doubt that is active in d-i. I also have an Acer minilaptop. It also has a WiFi on/off hotkey (Fn+F3). The led that belongs to the WiFi state is the fourth. The difference here is that it works from startup. If the WiFi is disabled through this hotkey, Windows has no way to reenable it, though it knows that the WiFi is disabled this way.
Re: how to record sound to mp3
On Thu, Mar 25, 2021 at 07:51:42PM +0100, Nicolas George wrote: > On the other hand, Ogg files are NOT concatenable, even those that > contain only Vorbis audio. Some player will ignore the discontinuity at > the concatenation points, but not all. I was told *by the developer* (Monty, in #vorbis IRC long ago) that Ogg Vorbis files were designed for this. A few Google searches to provide supporting evidence: https://linux.die.net/man/1/oggz-merge If you want to create a file containing some Ogg files sequenced one after another, then you should simply concatenate them together using cat. In Ogg this is called "chaining". If you cat Ogg Vorbis I audio files together, then the result will also be a compliant Ogg Vorbis file. https://hydrogenaud.io/index.php?topic=114262.0 Chaining in an ogg container is as simple as it gets. Just concatenate two separate ogg files together, the result is a chained file. However, I will note that there *are* players that don't handle chained Ogg Vorbis files properly. So, make sure you test with the actual player you intend to use.
Re: WiFi Hardware not detected, during Debian NetInst Install
I agree with Mr. Charles Curley and Mr. David Wright. Following those advices will help more the "debugging" process.
Re: WiFi Hardware not detected, during Debian NetInst Install
On Wed, 24 Mar 2021 22:52:31 -0500 David Wright wrote: > My newly oldest computer, an Acer TravelMate 3201XCi, > built in 2004, contains one of these. If it's of any use to Charles, > I can warn that this laptop has the annoying habit of booting up > with the wifi blocked. (It has a pair of insanely placed toggling > buttons/lights for wifi and bluetooth, and I've never figured out > what the wifi light correlates with.) I know nothing about the R51 > and whether there are any firmware buttons or function keys that > would affect its wifi. A good thought, thank you. A careful inspection of the computer and search of the Hardware Maintenance Manual reveal no such physical switch. There is a function key switch which relies on OS support to actually do anything, and I doubt that is active in d-i. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Re: how to record sound to mp3
Greg Wooledge (12021-03-25): > However, this is NOT something you can do with MP3 files. They are not > designed to be concatenated. (Ogg Vorbis files *are*. MP3 files aren't.) It's the other way around. Pure MP3 files are just a concatenation of self-delimited packets, concatenation will just work. MP3 files will usually have ID3 and/or XING packets for metadata at the beginning or the end, concatenation will include them, and the metadata will be invalid, but it will not prevent the file from being played. On the other hand, Ogg files are NOT concatenable, even those that contain only Vorbis audio. Some player will ignore the discontinuity at the concatenation points, but not all. Also, let it be said that: decoding playing, recording and encoding audio files to concatenate them is a terrible idea, because it will lose quality both because of the decoding-encoding step and because of the numeric-analog-numeric step. Regards, -- Nicolas George signature.asc Description: PGP signature
Re: how to record sound to mp3
On Thu, Mar 25, 2021 at 06:29:43PM +, Long Wind wrote: > i ask other question: which command can merge two mp3 file?this command is > mp3 file version of DOS command "copy file1+file2 file3" The Unix version of that is: cat file1 file2 > file3 However, this is NOT something you can do with MP3 files. They are not designed to be concatenated. (Ogg Vorbis files *are*. MP3 files aren't.) I tried this: unicorn:~$ apt-cache search concatenate mp3 poc-streamer - MP3/Ogg multicast/HTTP streamer and MP3 cutting tool You can check that out, or try your own searches. Or wait for other people to respond with suggestions.
Re: Adding wine64 to wine installation (buster)
On 25.03.2021 22:47, Rick Macdonald wrote: I've been running a few 32bit Windows programs with wine for many years, but now I need to run some 64bit programs. The Debian wine wiki says "Users on a 64-bit system should make sure that both wine32 and wine64 (or wine32-development and wine64-development) are installed". I have "deb https://dl.winehq.org/wine-builds/debian/ buster main" in sources.lists. I installed "wine64". The package lists before and after are below. When I try to install a 64bit program using "wine 64bitprogram.exe", I get the message: "This program can only be installed on versions of Windows designed for the following processor architectures: x64". So then I ran "wine64 64bitprogram.exe" and I get the message: "wine: '/home/myacct/.wine' is a 32-bit installation, it cannot support 64-bit applications." Installing wine64 didn't create a .wine64 directory. It seems like I'm close, but what am I missing? Something to do with WINEPREFIX? Correction, command should be: $ wineboot --init -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
Re: Adding wine64 to wine installation (buster)
On 25.03.2021 22:47, Rick Macdonald wrote: I've been running a few 32bit Windows programs with wine for many years, but now I need to run some 64bit programs. The Debian wine wiki says "Users on a 64-bit system should make sure that both wine32 and wine64 (or wine32-development and wine64-development) are installed". I have "deb https://dl.winehq.org/wine-builds/debian/ buster main" in sources.lists. I installed "wine64". The package lists before and after are below. When I try to install a 64bit program using "wine 64bitprogram.exe", I get the message: "This program can only be installed on versions of Windows designed for the following processor architectures: x64". So then I ran "wine64 64bitprogram.exe" and I get the message: "wine: '/home/myacct/.wine' is a 32-bit installation, it cannot support 64-bit applications." Installing wine64 didn't create a .wine64 directory. It seems like I'm close, but what am I missing? Something to do with WINEPREFIX? You have to create a fresh prefix, since you have been using only 32-bit one. It could be done by moving or renaming (for backup) existing one ".wine" and running: $ wine --init This command will create a default "$HOME/.wine" prefix that will run both 32-bit and 64-bit applications. -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
Re: apt upgrade merging modified files
On 3/25/21 7:23 PM, Sven Joachim wrote: On 2021-03-25 04:39 -0400, Michael Grant wrote: When I apt-update, sometimes I update something for which I modified a config file and I get this menu: Configuration file '/etc/matrix-synapse/homeserver.yaml' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** homeserver.yaml (Y/I/N/O/D/Z) [default=N] This prompt is coming from dpkg which notes that a conffile has been changed. In Debian/dpkg jargon, a conffile is a configuration file that is shipped in a package. The dpkg program keeps a checksum for each conffile in its database and can therefore detect modifications, but it does not track the content of conffiles. Sometimes, rarely, I get a 5th option offering to try to merge the files. I don't know what causes the merge option to be available or not. These packages use a different mechanism for their configuration files based on a program called ucf. The files are _not_ shipped in the package, but created from a template in the maintainer scripts. Unlike dpkg, ucf also stores the content of these files and is therefore able to offer merge options. Is there some way I can at minimum add a 5th option to the above menu to run emacs in emerge mode with those files as args? This would save lazy me the steps of echoing the vars and starting emacs manually. I run etckeeper, it would be really sweet if this was smart enough to attempt a 3-way merge (merge with an ancestor file). I am afraid this is not easily possible. Making dpkg's conffile prompt smarter has been requested many times, but nothing has happened since bug #32877[1] and its many siblings have been filed. Yes, that bug is 22 years old. Cheers, Sven 1. https://bugs.debian.org/32877 - could meld be a useful tool ? : "meld/stable,stable 3.20.0-2 all graphical tool to diff and merge files" regards
Adding wine64 to wine installation (buster)
I've been running a few 32bit Windows programs with wine for many years, but now I need to run some 64bit programs. The Debian wine wiki says "Users on a 64-bit system should make sure that both wine32 and wine64 (or wine32-development and wine64-development) are installed". I have "deb https://dl.winehq.org/wine-builds/debian/ buster main" in sources.lists. I installed "wine64". The package lists before and after are below. When I try to install a 64bit program using "wine 64bitprogram.exe", I get the message: "This program can only be installed on versions of Windows designed for the following processor architectures: x64". So then I ran "wine64 64bitprogram.exe" and I get the message: "wine: '/home/myacct/.wine' is a 32-bit installation, it cannot support 64-bit applications." Installing wine64 didn't create a .wine64 directory. It seems like I'm close, but what am I missing? Something to do with WINEPREFIX? Before installing wine64: # dpkg --get-selections|grep wine fonts-wine install libwine:i386 install libwine-cms:i386 install libwine-gphoto2:i386 install libwine-ldap:i386 install libwine-openal:i386 install libwine-print:i386 install libwine-sane:i386 install wine-stable install wine-stable-amd64 install wine-stable-i386:i386 install winehq-stable install winetricks install After installing wine64: # dpkg --get-selections|grep wine fonts-wine install libwine:i386 install libwine-cms:i386 install libwine-gphoto2:i386 install libwine-ldap:i386 install libwine-openal:i386 install libwine-print:i386 install libwine-sane:i386 install wine-stable install wine-stable-amd64 install wine-stable-i386:i386 install winehq-stable install winetricks install Thanks, Rick
Re: apt upgrade merging modified files
On 2021-03-25 04:39 -0400, Michael Grant wrote: > When I apt-update, sometimes I update something for which I modified a config > file and I get this menu: > > Configuration file '/etc/matrix-synapse/homeserver.yaml' > ==> Modified (by you or by a script) since installation. > ==> Package distributor has shipped an updated version. >What would you like to do about it ? Your options are: > Y or I : install the package maintainer's version > N or O : keep your currently-installed version > D : show the differences between the versions > Z : start a shell to examine the situation > The default action is to keep your current version. > *** homeserver.yaml (Y/I/N/O/D/Z) [default=N] This prompt is coming from dpkg which notes that a conffile has been changed. In Debian/dpkg jargon, a conffile is a configuration file that is shipped in a package. The dpkg program keeps a checksum for each conffile in its database and can therefore detect modifications, but it does not track the content of conffiles. > Sometimes, rarely, I get a 5th option offering to try to merge the > files. I don't know what causes the merge option to be available or > not. These packages use a different mechanism for their configuration files based on a program called ucf. The files are _not_ shipped in the package, but created from a template in the maintainer scripts. Unlike dpkg, ucf also stores the content of these files and is therefore able to offer merge options. > Is there some way I can at minimum add a 5th option to the above menu > to run emacs in emerge mode with those files as args? This would save > lazy me the steps of echoing the vars and starting emacs manually. > > I run etckeeper, it would be really sweet if this was smart enough to > attempt a 3-way merge (merge with an ancestor file). I am afraid this is not easily possible. Making dpkg's conffile prompt smarter has been requested many times, but nothing has happened since bug #32877[1] and its many siblings have been filed. Yes, that bug is 22 years old. Cheers, Sven 1. https://bugs.debian.org/32877
Re: apt upgrade merging modified files
On Jo, 25 mar 21, 04:39:53, Michael Grant wrote: > When I apt-update, sometimes I update something for which I modified a config > file and I get this menu: > > Configuration file '/etc/matrix-synapse/homeserver.yaml' > ==> Modified (by you or by a script) since installation. > ==> Package distributor has shipped an updated version. >What would you like to do about it ? Your options are: > Y or I : install the package maintainer's version > N or O : keep your currently-installed version > D : show the differences between the versions > Z : start a shell to examine the situation > The default action is to keep your current version. > *** homeserver.yaml (Y/I/N/O/D/Z) [default=N] This is provided by dpkg. > Sometimes, rarely, I get a 5th option offering to try to merge the > files. I don't know what causes the merge option to be available or > not. The package is using ucf. > If this is a file which I indeed modified, what I inevitably end up > doing is using the Z option, popping into a shell, then presents me 2 > variables (without $ in front of them) which give me 2 files: current > and new. > > So what I do is manually echo the two variables out (putting a $ in > front of them) and run emacs and emerge them together. This is fine, > it's usually pretty easy. Hmm, with vim something like 'vimdiff $current $new' should work, there is no need to echo the variables firsts, and I would be surprised if emacs couldn't do something similar. > Is there some way I can at minimum add a 5th option to the above menu > to run emacs in emerge mode with those files as args? This would save > lazy me the steps of echoing the vars and starting emacs manually. That would have to be implemented in dpkg and ucf. > I run etckeeper, it would be really sweet if this was smart enough to > attempt a 3-way merge (merge with an ancestor file). Recently more and more packages have been adding support for conf.d-style directories. That way you can keep your local customizations completely separate from the default configuration and there is no prompt from dpkg or ucf. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: Creating my first LAN
On Thu, Mar 25, 2021 at 06:51:32PM +0200, Andrei POPESCU wrote: > On Jo, 25 mar 21, 05:15:46, songbird wrote: > > > > for my own needs i just use a crossover cable and skip > > WiFi entirely - probably because in more ancient times > > i've done connections between machines via null modem > > serial port cables. > > With newer hardware (Gigabit as well as some 100Mbit network cards) > regular cables should also work. > > https://en.wikipedia.org/wiki/Medium-dependent_interface#Auto_MDI-X > > Kind regards, > Andrei > -- > http://wiki.debian.org/FAQsFromDebianUser Richard, You still have he magic Mifi hotspot from T-Mobile that you were connecting to via USB. That may well have DHCP and DNS functionality built in - assuming you have wifi drivers installed on your two machines, it may well "just work" in assigning addresses, allwoing for communication between machines. That's what it's _designed_ for :-) That way, you can check that both machines work - they have something to talk to and you don't necessarily have to go back to TLDP references that may well be out of date. All best, as ever, Andy C.
Re: how to record sound to mp3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 ‐‐‐ Original Message ‐‐‐ On Thursday, March 25, 2021 10:40 AM, Nicolas George wrote: > David Wright (12021-03-25): > > > > now i modify my requirement to how to use arecord to record sound being > > > played to wav file > > > To record, you could type, for example, in another xterm: > > $ arecord -d 10 -f cd -v -v -v -D plughw:0,0 /tmp/audiofile.wav Have you tried Audacity? GUI, but works good (you need to install the mp3 library to save to mp3). -- Glenn English -BEGIN PGP SIGNATURE- Version: ProtonMail wsBzBAEBCAAGBQJgXMENACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG MYKsjDKEdwgAl0gm+YUMCCknEjtCKj3i6iZloZtoKYwoxUEcRlxPEsbWPaDe EA0AqwGH5kXz+hrgdcAIQmEiDq3Pc+cHOq0vLX9fAvTbwW9mSdcyGfCti5DU awM7S8rmEj5lDTbn8veMdEr0hnM8c9mmTFEF0hmyTtYm4krnk/RXj/73zJso a8dVHL1GvPa09xR7oQQeRcyrvCQgjvCSiu+6AygapmzWl4yHuxZcWjPciYgZ j9uL3/Hwzxy7tZVHa9AGR9O1J09IgOdM4VghepJcDowO3KVGDYJfiryjActY sjZ7XJ7PQbnGGxhGNpR/I23qyCGwfA2ebsfVfYcCn+u1euNNYoXFag== =QEOi -END PGP SIGNATURE-
Re: Creating my first LAN
On Jo, 25 mar 21, 05:15:46, songbird wrote: > > for my own needs i just use a crossover cable and skip > WiFi entirely - probably because in more ancient times > i've done connections between machines via null modem > serial port cables. With newer hardware (Gigabit as well as some 100Mbit network cards) regular cables should also work. https://en.wikipedia.org/wiki/Medium-dependent_interface#Auto_MDI-X Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: how to record sound to mp3
David Wright (12021-03-25): > > now i modify my requirement to how to use arecord to record sound being > > played to wav file > To record, you could type, for example, in another xterm: > > $ arecord -d 10 -f cd -v -v -v -D plughw:0,0 /tmp/audiofile.wav This command does not record the sound being played. Regards, -- Nicolas George signature.asc Description: PGP signature
pacpl in testing/unstable, can you test it to see if it works?
i don't often normally use this program to catch it when something breaks right away. :( it is a very handy tool if you do things with music of different kinds. currently it is giving me an error like this for any format i try to convert: = $ pacpl --to wav 1.mp4 Perl Audio Converter - 6.1.2 Converting: 1.mp4 -> wav encode failed with exit status: 1.wav: 256 Total files converted: 0, failed: 1 = thank you! :) songbird
Re: Could a product with Chipset information for USB WiFi access dongle be advised please?
On 2021-03-25 18:15 +0530, Susmita/Rajib wrote: > Could you please suggest me an USB WiFi dongle that is recommended by > Debian and available in India? > https://wiki.debian.org/WiFi#USB_Devices > and > https://wiki.debian.org/DeviceDatabase/USB > > Problem with Amazon is that the chipsets are not available with the > product. How could I find a product that would have the listed > chipset? > > I ordered these two products without any possibility for comparison > with the said Debian Pages: > > (1) > TP-Link USB WiFi Adapter for PC(TL-WN725N), N150 Wireless Network > Adapter for Desktop - Nano Size WiFi Dongle Compatible with Windows > 10/7/8/8.1/XP/ Mac OS 10.9-10.15 Linux Kernel 2.6.18-4.4.3 > > This one identifies itself on the USB port as: 0bda:8179 > The full lsusb output: > Bus 001 Device 010: ID 0bda:8179 Realtek Semiconductor Corp. > RTL8188EUS 802.11n Wireless Network Adapter I have been using that device for a few days, seems to working mostly fine. Only tested it with Linux 5.10, though (the kernel in bullseye/unstable). Some observations/caveats: - The firmware-realtek package is required. - The r8188eu module for the dongle is in the staging area, as it does not quite meet the kernel developers' standards, a problem with various Realtek drivers. In theory it might even be removed some day, but since it has been there for over seven years and the hardware is very popular this is highly unlikely to happen in practice. - The activity LED on the dongle sometimes stays on during suspend and then remains in that state after resume until the device is re-plugged. This may or may not bother you. Considering the low price, I cannot really complain. Cheers, Sven
Re: WiFi Hardware not detected, during Debian NetInst Install
On Wed 24 Mar 2021 at 22:25:42 (-0600), Charles Curley wrote: > On Wed, 24 Mar 2021 22:52:31 -0500 David Wright wrote: > > > ... [W]e haven't yet been shown any direct evidence of > > which module drives the 8723, nor of what firmware it uses. > > (These can easily be determined from dmesg when the installed > > system is running.) > > Also, more detail from /var/log/syslog while d-i is running, and > from /var/log/installer/ after installation is complete. Yes, that was my very next sentence, which you snipped: "This should allow a more focussed report from the installation logs (of which we've seen nothing IIRC)." But it appears that I might need to point out that it's very easy and quick to re-collect a failing installation log at any time if the "original" ones were lost/overwritten or whatever: 1. Boot with the appropriate installation medium. 2. Proceed with expert installation in the original manner, as far as the "Detect Network Hardware", which of course fails. 3. After the failure, and back at the Main Menu, select "Save debug logs". 4. Insert a USB stick, switch to VC2, mount the stick and create a directory on it. 5. Back at VC1, complete the directory name at the prompt and save the logs. (ls on VC2 if you want to check them.) 6. Select "Abort the installation". All that should have taken about five or ten minutes so far. 7. Read/edit/post excerpts from the logs at leisure. (That's when it helps to know what strings you're looking for.) That's what's lacking from the bug report. The OP wrote "The Problem is Recreated. It's hard to figure out how to describe something so early in the Install Process." That's how you do it. Cheers, David.
Re: Creating my first LAN
On Thu 25 Mar 2021 at 07:41:11 (-0500), Richard Owlett wrote: > On 03/25/2021 04:15 AM, songbird wrote: > > Richard Owlett wrote: > >Part 2 (Asides to be ignored: :) ) > > > >for my own needs i just use a crossover cable and skip > > WiFi entirely - probably because in more ancient times > > i've done connections between machines via null modem > > serial port cables. Chuckle. I use a crossover cable to connect this computer¹ to the wall socket. It's totally unnecessary to be crossover, but it's yellow (originally to distinguish it from blue, straight-through cables) and better fits in with the decor, I'm told. > >i don't need WiFi here and i dislike broadcasting > > anything for no reason other than to avoid a cable run. > > *CHUCKLE* The purpose of this exercise is to investigate networking > via WiFi. As to privacy issues, there will be essentially nothing on > either machine except Debian. The privacy issue is not what's running on either end, but the fact that you're broadcasting everything to the neighbourhood. I looked back and noticed that Brian had already made my suggestion of a cheap router—back in August 2019. I think Dan's suggestion was the best, though: "However, you have a history of trying to avoid the good decisions that people steer you towards, so I encourage you to give Bluetooth a miss entirely and go for an infrared LAN with a ceiling reflector." But sorry if this is all off-topic. Let's look back and see what is on-topic: "ON TOPIC references include: https://en.wikipedia.org/wiki/Wireless_ad_hoc_network https://wiki.debian.org/WiFi/AdHoc"; Richard Owlett: Sat, 3 Aug 2019 08:18:13 -0500 ¹ This AiO is a real steal: with power, and said yellow cable, it's so minimal[ist] that I'm allowed to have it in a reception room, rather than attic/basement etc. (Keyboard and mouse are wireless.) Cheers, David.
Re: how to record sound to mp3
On Thu 25 Mar 2021 at 12:20:56 (+), Long Wind wrote: > now i modify my requirement to how to use arecord to record sound being > played to wav file That makes it easier as there's less work for the CPU to do. > i use buster, how to set default sound recording source? One way is to run alsamixer in an xterm. Help is in the top-right corner. $ arecord -l will give you a list of capture devices. To record, you could type, for example, in another xterm: $ arecord -d 10 -f cd -v -v -v -D plughw:0,0 /tmp/audiofile.wav where 10 gives you ten seconds; 0 gives you infinite (^C to stop), cd gives higher quality (44100) than the default, dat would give you the more modern 48000, -v … gives a crude VU meter, 0,0 is the bit you have to determine from arecord -l ⮤ device ⮤ card (usually 0, but matters if you have, say, PCH and HDMI). While arecord is running, you can play with the sliders for levels, including monitoring with speakers/headphones, and changing the capture device with . > in early debian distro (stretch?) sound mixer can be used to set recording > source Yes, I used to use aumix, but that's OSS (passé), not ALSA. > PS: i use twm, i'm afraid that gnome recorder isn't good choice for me If you can't get ALSA to work, you might have to use pulseaudio instead. I believe that can overcome a card's limitations through software. Cheers, David.
Re: Could a product with Chipset information for USB WiFi access dongle be advised please?
On 25/03/2021, "Andrew M.A. Cater" wrote: > To: debian-user@lists.debian.org > Subject: Re: Could a product with Chipset information for USB WiFi > access dongle be advised please? > From: "Andrew M.A. Cater" > Date: Thu, 25 Mar 2021 13:24:08 +z...@mail.gmail.com> > > On Thu, Mar 25, 2021 at 06:15:16PM +0530, Susmita/Rajib wrote: ... ... [snipped] ... ... [snipped] ... ... >> I ordered these two products without any possibility for comparison >> with the said Debian Pages: >> >> (1) >> TP-Link USB WiFi Adapter for PC(TL-WN725N), N150 Wireless Network >> Adapter for Desktop - Nano Size WiFi Dongle Compatible with Windows >> 10/7/8/8.1/XP/ Mac OS 10.9-10.15 Linux Kernel 2.6.18-4.4.3 >> > Install firmware-atheros from Debian non-free repository and this one > should > work - it's a well supported (but old) USB dongle Firmware-realtek was already installed in my system. But didn't still work. >> (2) >> D-Link DWA-131 Wireless N Nano USB Adapter (Black) >> This one doesn't even register itself properly using lsusb. >> Says: >> Bus 001 Device 012: ID 2001:3319 D-Link Corp. >> This one was supposed to have been compatible by the seller (Amazon.in >> could with be searched with "B008IFXQFU" for the Product Id.) >> > firmware-realtek might make this one work ... ... [snipped] ... ... [snipped] ... ... > Hope this helps, Installed firmware-atheros, rebooted, but didn't help. It appears that your instructions for the either of the two dongles were interchanged. Understood. Intervened to rectify. Installation didn't help. My original request was different. I have already ordered for return of the two usb dongles. But thank you ...
Re: Could a product with Chipset information for USB WiFi access dongle be advised please?
On Thu, Mar 25, 2021 at 06:15:16PM +0530, Susmita/Rajib wrote: > My illustrious List Members and our Problem Solvers, Debian.org, > > This issue arose because of my need to bypass the non-accessible WiFi > network through the native card on my HP laptop. The network strength > is raed by network manager applet, but data can't be exchanged. > > Could you please suggest me an USB WiFi dongle that is recommended by > Debian and available in India? > https://wiki.debian.org/WiFi#USB_Devices > and > https://wiki.debian.org/DeviceDatabase/USB > > Problem with Amazon is that the chipsets are not available with the > product. How could I find a product that would have the listed > chipset? > > I ordered these two products without any possibility for comparison > with the said Debian Pages: > > (1) > TP-Link USB WiFi Adapter for PC(TL-WN725N), N150 Wireless Network > Adapter for Desktop - Nano Size WiFi Dongle Compatible with Windows > 10/7/8/8.1/XP/ Mac OS 10.9-10.15 Linux Kernel 2.6.18-4.4.3 > Install firmware-atheros from Debian non-free repository and this one should work - it's a well supported (but old) USB dongle > This one identifies itself on the USB port as: 0bda:8179 > The full lsusb output: > Bus 001 Device 010: ID 0bda:8179 Realtek Semiconductor Corp. > RTL8188EUS 802.11n Wireless Network Adapter > > (2) > D-Link DWA-131 Wireless N Nano USB Adapter (Black) > This one doesn't even register itself properly using lsusb. > Says: > Bus 001 Device 012: ID 2001:3319 D-Link Corp. > This one was supposed to have been compatible by the seller (Amazon.in > could with be searched with "B008IFXQFU" for the Product Id.) > firmware-realtek might make this one work > So could anyone inform me about a product based on his personal > experience please? > > I find from the Debian page that the safest chipsets are as follows: > carl9170 Atheros Communications AR9170 chipset > prism2_usb Intersil Prism 2/2.5/3 chipsets > rndis_wlan Broadcom BCM4320 chipset > rt2500usb Ralink RT2500USB/RT2571 chipset > rtl8187 Realtek chipsets (RTL8187, RTL8187B) > > Regards, > Rajib > Hope this helps, All the very best, Andy C.
Re: how to record sound to mp3
On 25/03/2021 11:37, Long Wind wrote: > i use mplayer to play sound > i urgently want a program that can record sound being played to mp3 > which package shall i install? IF you're using pulseaudio as your sound server, there are some neat solutions on the AskUbuntu site|[1]. In particular, the idea of a "combined sink" sounds good. | [1]: https://askubuntu.com/questions/60837/record-a-programs-output-with-pulseaudio > Thanks! OpenPGP_signature Description: OpenPGP digital signature
Re: Creating my first LAN
On 03/25/2021 07:35 AM, Felix Miata wrote: Richard Owlett composed on 2021-03-25 05:56 (UTC-0500): In my original post I asked: What internet search terms will lead to productive results? A private reply suggested: https://html.duckduckgo.com/html?q=home%20lan%20setup%20wireless Though the resulting links are primarily Windows-centric, I think my most productive path will be to follow them with the goal of asking better questions. https://html.duckduckgo.com/html?q=home%20lan%20setup%20wireless%20-windows or https://html.duckduckgo.com/html?q=home%20lan%20setup%20wireless%20%2Blinux%20-windows Actually some of the Windows links in the original search appeared promising.
Could a product with Chipset information for USB WiFi access dongle be advised please?
My illustrious List Members and our Problem Solvers, Debian.org, This issue arose because of my need to bypass the non-accessible WiFi network through the native card on my HP laptop. The network strength is raed by network manager applet, but data can't be exchanged. Could you please suggest me an USB WiFi dongle that is recommended by Debian and available in India? https://wiki.debian.org/WiFi#USB_Devices and https://wiki.debian.org/DeviceDatabase/USB Problem with Amazon is that the chipsets are not available with the product. How could I find a product that would have the listed chipset? I ordered these two products without any possibility for comparison with the said Debian Pages: (1) TP-Link USB WiFi Adapter for PC(TL-WN725N), N150 Wireless Network Adapter for Desktop - Nano Size WiFi Dongle Compatible with Windows 10/7/8/8.1/XP/ Mac OS 10.9-10.15 Linux Kernel 2.6.18-4.4.3 This one identifies itself on the USB port as: 0bda:8179 The full lsusb output: Bus 001 Device 010: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter (2) D-Link DWA-131 Wireless N Nano USB Adapter (Black) This one doesn't even register itself properly using lsusb. Says: Bus 001 Device 012: ID 2001:3319 D-Link Corp. This one was supposed to have been compatible by the seller (Amazon.in could with be searched with "B008IFXQFU" for the Product Id.) So could anyone inform me about a product based on his personal experience please? I find from the Debian page that the safest chipsets are as follows: carl9170 Atheros Communications AR9170 chipset prism2_usb Intersil Prism 2/2.5/3 chipsets rndis_wlan Broadcom BCM4320 chipset rt2500usb Ralink RT2500USB/RT2571 chipset rtl8187 Realtek chipsets (RTL8187, RTL8187B) Regards, Rajib
Re: Creating my first LAN
On 03/25/2021 07:09 AM, IL Ka wrote: > I have no router and the installer never prompted for an IP address. Two wireless stations could be connected using Ad-Hoc mode (so called iBSS) or using Access Point (BSS mode). If you do not have access point, you can try to configure Ad-Hoc: https://wiki.debian.org/WiFi/AdHoc That looks promising. The included links also look good. WiFi is a complex subject (much more complex than Ethernet based on copper twisted-pair cable), there is a whole book dedicated to Wifi administration: https://www.wiley.com/en-us/CWNA+Certified+Wireless+Network+Administrator+Study+Guide%3A+Exam+CWNA+107%2C+5th+Edition-p-9781119477501
Re: how to record sound to mp3
Le 25 Mar 2021, Nicolas George a écrit : I am quite sure (and certain in the case of FFmpeg) that none of them can record the sound being played. If it’s about playing a file and recording its audio to mp3, the following will work: ffmpeg -i your-file.avi your-file.mp3 Change your-file.mp3 to your-file.wav if you prefer wav output. Works with any input format ffmpeg can play. Regards, Victor
Re: Creating my first LAN
On 03/25/2021 04:15 AM, songbird wrote: Richard Owlett wrote: This is essentially a reading list request. I have never administered a LAN and believe in "learning by doing". I have two laptops with clean installs of Buster. During installation server software was installed on *ONE* of them. Communication will be via WiFi. The MATE panel's network connection icon for each laptop shows the existence of WiFi sources in the neighborhood. Any specific suggestions for reading? What internet search terms will lead to productive results? Part 1 (Answers last questions first). Google Linux WiFi Networking Overview Google Linux Wifi Networking Administration Overview if you want more general remove the word "WiFi" Those terms are very productive on DuckDuckGo and give multiple hits for tldp.org . Part 2 (Asides to be ignored: :) ) for my own needs i just use a crossover cable and skip WiFi entirely - probably because in more ancient times i've done connections between machines via null modem serial port cables. Been there ;) I date back to CPM-80 on a S-100 system. i don't need WiFi here and i dislike broadcasting anything for no reason other than to avoid a cable run. *CHUCKLE* The purpose of this exercise is to investigate networking via WiFi. As to privacy issues, there will be essentially nothing on either machine except Debian.
Re: Creating my first LAN
Richard Owlett composed on 2021-03-25 05:56 (UTC-0500): > In my original post I asked: >> What internet search terms will lead to productive results? > A private reply suggested: > https://html.duckduckgo.com/html?q=home%20lan%20setup%20wireless > Though the resulting links are primarily Windows-centric, I think my > most productive path will be to follow them with the goal of asking > better questions. https://html.duckduckgo.com/html?q=home%20lan%20setup%20wireless%20-windows -- Evolution as taught in public schools, like religion, is based on faith, not on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: kernel sources for Debian 10.6 security update kernel 4.19.0-12-amd64
On Thu, Mar 25, 2021 at 07:52:20AM +, Eerapu, Nipuna Sri wrote: > Hi Team, > > I am trying to download kernel sources for kernel 4.19.0-12-amd64 and getting > below error. > > As part of my project, I want to compile drivers for this kernel version. > > root@linux-ndeb106:/usr/src# uname -r > 4.19.0-12-amd64 > root@linux-ndeb106:/usr/src# apt-get install linux-headers-$(uname -r) > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package linux-headers-4.19.0-12-amd64 > E: Couldn't find any package by glob 'linux-headers-4.19.0-12-amd64' > E: Couldn't find any package by regex 'linux-headers-4.19.0-12-amd64' Well, you're running a kernel that's no longer on the stable mirrors, because it has been superseded. If you need the headers to match it, you will need to pull them from a source that still has them (e.g. wherever you got this kernel from). If you no longer have such a source sitting around, consider using snapshot.debian.org. You can retrieve the single package that you want by hand, or you can try to do fancy crap like using it as an apt source. The instructions are on the web page.
Re: how to record sound to mp3
On Thu, Mar 25, 2021 at 12:20:56PM +, Long Wind wrote: > Thanks to all that reply! > now i modify my requirement tohow to use arecord to record sound being played > to wav file > i use buster, how to set default sound recording source?in early debian > distro(stretch?) sound mixer can be used to set recording source > PS: i use twm, i'm afraid that gnome recorder isn't good choice for me Ah -- twm. Fond memories. I upgraded to Fvwm :-) Back on topic: I see you have a minimalistic setup. Perhaps you need alsamixer/amixer to learn about your sources and get the sound routing right. Sorry, I'm a bit tight on time, otherwise I'd play a bit around to see whether it works. If you are playing something with mplayer, perhaps you don't need a recording app at all -- (see mplayer's "-ao" option, for "audio output". Something around mplayer ... -ao "mp3:file=foo.mp3" might just work for you). Cheers - t signature.asc Description: Digital signature
Re: how to record sound to mp3
Thanks to all that reply! now i modify my requirement tohow to use arecord to record sound being played to wav file i use buster, how to set default sound recording source?in early debian distro(stretch?) sound mixer can be used to set recording source PS: i use twm, i'm afraid that gnome recorder isn't good choice for me
Re: Creating my first LAN
> I have no router and the installer never prompted for an IP address. Two wireless stations could be connected using Ad-Hoc mode (so called iBSS) or using Access Point (BSS mode). If you do not have access point, you can try to configure Ad-Hoc: https://wiki.debian.org/WiFi/AdHoc WiFi is a complex subject (much more complex than Ethernet based on copper twisted-pair cable), there is a whole book dedicated to Wifi administration: https://www.wiley.com/en-us/CWNA+Certified+Wireless+Network+Administrator+Study+Guide%3A+Exam+CWNA+107%2C+5th+Edition-p-9781119477501
Re: Creating my first LAN
On 03/25/2021 06:37 AM, to...@tuxteam.de wrote: On Thu, Mar 25, 2021 at 05:56:02AM -0500, Richard Owlett wrote: On 03/24/2021 07:43 PM, IL Ka wrote: learning by doing Theory and practice are both important. It is crucial to understand how IP networks work, so I'd start with book like "TCP/IP Network Administration" That book is not available at the local library but some chapters are on the internet. I'll spend some time with them. There is one other thing you have to take into account here: if I understood you correctly, you want two computers to "talk to each other" over WiFi, possibly without intervention of a third box. To get the TCP/IP layer working, you'll have first to get the WiFi layer working. This one is a bit strange, since it is inherently asymmetrical: each network "segment" (corresponding roughly to a bunch of computers tied to one or more network hubs in the wired world) is tied together by an "access point": they don't "talk to each other". So if you want to succeed in your two-box scenario, you'll have to convince one of your two boxes to play the role of an "access point" [1], and whether this works depends on whether your WiFi "hardware" plays along. Well. I lied somewhat above. There is also "ad hoc" [2] mode, which I have no experience with. Again, the network "hardware" has to be willing. I put network "hardware" in quotes, because your humble WiFi card is a full-fledged computer, with some operating system (called euphemistically "firmware") with some radio stuff dangling off it. The Arch Linux wiki is pretty good on such topics, the refs given below should give you some overview. [1] https://wiki.archlinux.org/index.php/software_access_point [2] https://wiki.archlinux.org/index.php/Ad-hoc_networking I had seen both and found the second encouraging as to my goals. I need to spend more time in both and their included links.
Re: how to record sound to mp3
Please install (if not already) gnome-sound-recorder and set up settings there itself. You could even record on the fastest recording option feasible for your system, and then use soundconverter to convert the sound to mp3. Best.
Re: how to record sound to mp3
On 25.03.2021 16:37, Long Wind wrote: i use mplayer to play sound i urgently want a program that can record sound being played to mp3 which package shall i install? Thanks! I recommend "audacity" sound editor. It can record audio and export to mp3 or other formats. -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
Re: how to record sound to mp3
to...@tuxteam.de (12021-03-25): > > i use mplayer to play soundi urgently want a program that can record sound > > being played to mp3 > > Command line? (from simple to complex) arecord, sox, ffmpeg > > GUI? I don't know. Perhaps snd, audacity (those are actually sound > editors, but you can /also/ do recording) I am quite sure (and certain in the case of FFmpeg) that none of them can record the sound being played. Regards, -- Nicolas George signature.asc Description: PGP signature
Re: how to record sound to mp3
On Thu, Mar 25, 2021 at 11:37:53AM +, Long Wind wrote: > i use mplayer to play soundi urgently want a program that can record sound > being played to mp3which package shall i install?Thanks! Command line? (from simple to complex) arecord, sox, ffmpeg GUI? I don't know. Perhaps snd, audacity (those are actually sound editors, but you can /also/ do recording) There are many, many programs in the Debian repository which can record sound. Which one is good for you will depend a lot on your needs and preferences. If you have a desktop environment installed, there will be some kind of "standard" sound handling app already there. For example, for Gnome there is "Gnome sound recorder" (package gnome-sound-recorder). Cheers - t signature.asc Description: Digital signature
Re: Creating my first LAN
On Thu, Mar 25, 2021 at 05:56:02AM -0500, Richard Owlett wrote: > On 03/24/2021 07:43 PM, IL Ka wrote: > >> learning by doing > > > >Theory and practice are both important. It is crucial to > >understand how IP networks work, so I'd start with book > >like "TCP/IP Network Administration" > > That book is not available at the local library but some chapters > are on the internet. I'll spend some time with them. There is one other thing you have to take into account here: if I understood you correctly, you want two computers to "talk to each other" over WiFi, possibly without intervention of a third box. To get the TCP/IP layer working, you'll have first to get the WiFi layer working. This one is a bit strange, since it is inherently asymmetrical: each network "segment" (corresponding roughly to a bunch of computers tied to one or more network hubs in the wired world) is tied together by an "access point": they don't "talk to each other". So if you want to succeed in your two-box scenario, you'll have to convince one of your two boxes to play the role of an "access point" [1], and whether this works depends on whether your WiFi "hardware" plays along. Well. I lied somewhat above. There is also "ad hoc" [2] mode, which I have no experience with. Again, the network "hardware" has to be willing. I put network "hardware" in quotes, because your humble WiFi card is a full-fledged computer, with some operating system (called euphemistically "firmware") with some radio stuff dangling off it. The Arch Linux wiki is pretty good on such topics, the refs given below should give you some overview. [1] https://wiki.archlinux.org/index.php/software_access_point [2] https://wiki.archlinux.org/index.php/Ad-hoc_networking signature.asc Description: Digital signature
Re: MATE desktop - changing icon of a Launcher
On 03/24/2021 09:10 PM, Marc Shapiro wrote: On 3/24/21 2:14 PM, Dominic Knight wrote: On Tue, 2021-03-23 at 09:26 -0500, Richard Owlett wrote: I've been use MATE almost since it came out. IIRC I used to use a series of mouse clicks to determine the file name {including path} of the current icon. On my current systems {one Stretch, one Buster} if I: I am using Bullseye and Mate, for clarity, my icons are all on taskbars, none are on the desktop. 1. right click on the Launcher 2. select properties 3. left click on the current icon I get a "Select Custom Icon" menu. In it I can select a directory to search and it will display a list of available icons in that directory. I get "Choose an icon" But I need to know the complete path to the current icon. The path to the current (icon) directory is listed above the icons you can select from. You would have to note this down as it is not possible to select it for cut and paste purposes. I can get the desired information by opening the launcher with a text editor. {I want a "mouse click" method to obtain the information as I'm setting up a system for a very novice user.} Suggestions? TIA No help I know but it does not currently seem possible to do exactly what you require. Cheers, Dom When selecting an icon from the desktop, I get the same results as Richard. If I select an icon from a taskbar, I get the same results as Dominic . You can get to the info strictly by mouse clicks for icons on the desktop by dragging the icon onto a taskbar, then follow the same steps that you listed. You can delete the icon from the taskbar afterwards, but this is probably not what you really want. It's not what I wanted. Up to now the only launchers I had created were on the taskbar. I had mistakenly assumed modifying a launcher was independent of where it was located. WRONG :< Thanks
Re: Creating my first LAN
On 03/24/2021 07:43 PM, IL Ka wrote: learning by doing Theory and practice are both important. It is crucial to understand how IP networks work, so I'd start with book like "TCP/IP Network Administration" That book is not available at the local library but some chapters are on the internet. I'll spend some time with them. During installation server software was installed on *ONE* of them. Communication will be via WiFi. Clarification: Installation was done using only the contents of the first DVD of the installation set. They have never been connected to the internet. Did they get IP addresses from the DHCP running on your wifi router or did you set IP addresses manually? I have no router and the installer never prompted for an IP address. From the rest of your post I suspect you are assuming some background I don't have. In my original post I asked: What internet search terms will lead to productive results? A private reply suggested: https://html.duckduckgo.com/html?q=home%20lan%20setup%20wireless Though the resulting links are primarily Windows-centric, I think my most productive path will be to follow them with the goal of asking better questions.
Re: Creating my first LAN
Richard Owlett wrote: > This is essentially a reading list request. > I have never administered a LAN and believe in "learning by doing". > I have two laptops with clean installs of Buster. During installation > server software was installed on *ONE* of them. Communication will be > via WiFi. The MATE panel's network connection icon for each laptop shows > the existence of WiFi sources in the neighborhood. > > Any specific suggestions for reading? > What internet search terms will lead to productive results? Part 1 (Answers last questions first). Google Linux WiFi Networking Overview Google Linux Wifi Networking Administration Overview if you want more general remove the word "WiFi" Part 2 (Asides to be ignored: :) ) for my own needs i just use a crossover cable and skip WiFi entirely - probably because in more ancient times i've done connections between machines via null modem serial port cables. i don't need WiFi here and i dislike broadcasting anything for no reason other than to avoid a cable run. songbird
apt upgrade merging modified files
When I apt-update, sometimes I update something for which I modified a config file and I get this menu: Configuration file '/etc/matrix-synapse/homeserver.yaml' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** homeserver.yaml (Y/I/N/O/D/Z) [default=N] Sometimes, rarely, I get a 5th option offering to try to merge the files. I don't know what causes the merge option to be available or not. If this is a file which I indeed modified, what I inevitably end up doing is using the Z option, popping into a shell, then presents me 2 variables (without $ in front of them) which give me 2 files: current and new. So what I do is manually echo the two variables out (putting a $ in front of them) and run emacs and emerge them together. This is fine, it's usually pretty easy. Is there some way I can at minimum add a 5th option to the above menu to run emacs in emerge mode with those files as args? This would save lazy me the steps of echoing the vars and starting emacs manually. I run etckeeper, it would be really sweet if this was smart enough to attempt a 3-way merge (merge with an ancestor file). Michael Grant signature.asc Description: PGP signature
kernel sources for Debian 10.6 security update kernel 4.19.0-12-amd64
Hi Team, I am trying to download kernel sources for kernel 4.19.0-12-amd64 and getting below error. As part of my project, I want to compile drivers for this kernel version. root@linux-ndeb106:/usr/src# uname -r 4.19.0-12-amd64 root@linux-ndeb106:/usr/src# apt-get install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-headers-4.19.0-12-amd64 E: Couldn't find any package by glob 'linux-headers-4.19.0-12-amd64' E: Couldn't find any package by regex 'linux-headers-4.19.0-12-amd64' Regards, Nipuna Sri M: +91-9035189213
Re: bluetooth problems Cambridge Silicon Radio
On 25/3/21 3:18 pm, deloptes wrote: Jeremy Ardley wrote: sudo rfkill ID TYPE DEVICE SOFT HARD 2 bluetooth hci0 unblocked unblocked what says dmesg -T when you plugin the dongle? what says syslog (journalctl)? sudo dmesg -T [Thu Mar 25 15:30:43 2021] usb 1-3.2: USB disconnect, device number 6 [Thu Mar 25 15:30:46 2021] usb 1-3.2: new full-speed USB device number 7 using xhci_hcd [Thu Mar 25 15:30:47 2021] usb 1-3.2: New USB device found, idVendor=0a12, idProduct=0001, bcdDevice=88.91 [Thu Mar 25 15:30:47 2021] usb 1-3.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [Thu Mar 25 15:30:47 2021] usb 1-3.2: Product: BT DONGLE10 (unplug and replug dongle) sudo journalctl -xe Mar 25 15:30:43 client.bronzemail.com systemd[1]: Stopped target Bluetooth. -- Subject: A stop job for unit bluetooth.target has finished -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- A stop job for unit bluetooth.target has finished. -- -- The job identifier is 7697 and the job result is done. Mar 25 15:30:43 client.bronzemail.com systemd[1]: Started Load/Save RF Kill Switch Status. -- Subject: A start job for unit systemd-rfkill.service has finished successfully -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- A start job for unit systemd-rfkill.service has finished successfully. -- -- The job identifier is 7689. Mar 25 15:30:46 client.bronzemail.com kernel: usb 1-3.2: new full-speed USB device number 7 using xhci_hcd Mar 25 15:30:47 client.bronzemail.com kernel: usb 1-3.2: New USB device found, idVendor=0a12, idProduct=0001, bcdDevice=88.91 Mar 25 15:30:47 client.bronzemail.com kernel: usb 1-3.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 Mar 25 15:30:47 client.bronzemail.com kernel: usb 1-3.2: Product: BT DONGLE10 Mar 25 15:30:47 client.bronzemail.com systemd-udevd[8630]: Process '/usr/lib/virtualbox/VBoxCreateUSBNode.sh 189 6 e0' failed with exit code 1. Mar 25 15:30:47 client.bronzemail.com systemd[1]: Reached target Bluetooth. -- Subject: A start job for unit bluetooth.target has finished successfully -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- A start job for unit bluetooth.target has finished successfully. -- -- The job identifier is 7698. Mar 25 15:30:52 client.bronzemail.com systemd[1]: systemd-rfkill.service: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- The unit systemd-rfkill.service has successfully entered the 'dead' state. -- Jeremy OpenPGP_signature Description: OpenPGP digital signature
Re: bluetooth problems Cambridge Silicon Radio
Jeremy Ardley wrote: > sudo rfkill > ID TYPE DEVICE SOFT HARD > 2 bluetooth hci0 unblocked unblocked what says dmesg -T when you plugin the dongle? what says syslog (journalctl)?
Re: bluetooth problems Cambridge Silicon Radio
On 25/3/21 2:45 pm, deloptes wrote: Jeremy Ardley wrote: Bus 001 Device 006: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) these are widely spread I have the same (at least from the usb id) Bus 002 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) what says rfkill list ??? sudo rfkill ID TYPE DEVICE SOFT HARD 2 bluetooth hci0 unblocked unblocked -- Jeremy OpenPGP_signature Description: OpenPGP digital signature