Re: apparmors extra profiles.
Le 18/08/2021 à 21:32, Georgios a écrit : Hi! Im trying to install debian 11 on virtual machine manager in order to prepare my self for moving my laptop to debian 11. Default install leaves unconfined a lot of apps so I tried to install extra profiles. According to documentation it supposed to install extra profiles at /usr/share/apparmor/extra-profiles/ but there is no apparmor folder. only apparmor-features. I would like to ask if anyone knows where apparmor-profiles-extra install its profiles? Thanks in advance George Hello, I have "/usr/share/apparmor/extra-profiles" on my system. It is created by the "apparmor-profiles" package: $ dpkg -S /usr/share/apparmor/extra-profiles/ apparmor-profiles: /usr/share/apparmor/extra-profiles I guess you can just create it yourself. All the best.
Re: Your Thoughts on Printer Replacement
Le 18/09/2021 à 17:20, James H. H. Lampert a écrit : On 9/18/21 2:00 AM, Jonathan Dowland wrote: The direction of travel for printing is entirely driverless, so this is less important than it used to be. Really? If true, that is exceptionally good news. The last time I looked at new printers, the "direction of travel" was entirely driver-dependent, RIPping the PostScript, PCL, or straight ASCII in the driver, rather than in the printer's own processor and firmware, and anything that could RIP a PostScript data stream directly would have cost a fortune. -- JHHL Hi, I second this, I had to change my printer in a hurry recently and I couldn't find anything I liked locally, so had to settle on an Epson (ink). I had very bad experiences with this brand in the past driver wise, but this time I saw CUPS use automatically the "driver-less" stack and I was printing seconds after plugging the machine in. Maybe it doesn't provide advanced features, but for a simple printer (not "all-in-one" scan/print/whatnot) it works very well, even for image printing.
Re: Identity Theft
Le 21/12/2021 à 14:24, Eike Lantzsch ZP6CGE a écrit : On Dienstag, 21. Dezember 2021 09:43:42 -03 Kenneth Parker wrote: On Tue, Dec 21, 2021, 3:15 AM local10 wrote: Dec 21, 2021, 02:13 by jer...@ardley.org: You can mitigate XSS by having a single browser that is used solely to> access high value sites. e.g. if you routinely run Firefox, have a copy of Vivaldi that you use to access your banks - one at a time. Installing NoScript also may help as it has an option to sanitize cross-site suspicious requests. NoScript also speeds up the browser by disabling all the tracking and spying scripts many sites load nowadays. Just make sure to disable all the garbage it has enabled by default after the installation. +1 on NoScript. I particularly like the White List capabilities, where you can allow Scripts by Website, and even only one time. I only know it to work with Firefox, at this time. Kenneth Parker Is this *No-Script Suite Lite by AdblockLite[1]* (this one has a whitelist feature) or *NoScript Security Suite by Giorgio Maone[2]* (has a whitelist feature too) or other? I'm using Privicy Badger among other means like limiting and redirecting DNS requests. But that does not avoid JS. Cheers Eike [1] https://addons.mozilla.org/en-US/firefox/user/11285580/ [2] https://addons.mozilla.org/en-US/firefox/user/143/ It is the second one, "Noscript" in one word [1]. Several look-alike have spawn over the years. I also use Umatrix [2], but it is more complex. For Firefox: [1] https://addons.mozilla.org/fr/firefox/addon/noscript/ [2] https://addons.mozilla.org/fr/firefox/addon/umatrix/ At least one of those is packaged in Debian.
Re: Identity Theft
Le 21/12/2021 à 14:24, Eike Lantzsch ZP6CGE a écrit : On Dienstag, 21. Dezember 2021 09:43:42 -03 Kenneth Parker wrote: On Tue, Dec 21, 2021, 3:15 AM local10 wrote: Dec 21, 2021, 02:13 by jer...@ardley.org: You can mitigate XSS by having a single browser that is used solely to> access high value sites. e.g. if you routinely run Firefox, have a copy of Vivaldi that you use to access your banks - one at a time. Installing NoScript also may help as it has an option to sanitize cross-site suspicious requests. NoScript also speeds up the browser by disabling all the tracking and spying scripts many sites load nowadays. Just make sure to disable all the garbage it has enabled by default after the installation. +1 on NoScript. I particularly like the White List capabilities, where you can allow Scripts by Website, and even only one time. I only know it to work with Firefox, at this time. Kenneth Parker Is this *No-Script Suite Lite by AdblockLite[1]* (this one has a whitelist feature) or *NoScript Security Suite by Giorgio Maone[2]* (has a whitelist feature too) or other? I'm using Privicy Badger among other means like limiting and redirecting DNS requests. But that does not avoid JS. Cheers Eike [1] https://addons.mozilla.org/en-US/firefox/user/11285580/ [2] https://addons.mozilla.org/en-US/firefox/user/143/ To follow up on myself, shamelessly ;-) , noscript and umatrix are packaged in Debian (depending on your version), and both protect from cross site scripting. Packages are "webext-umatrix" and "webext-noscript".
Re: Identity Theft
Le 21/12/2021 à 16:20, Richmond a écrit : Jeremy Ardley writes: On 21/12/21 9:59 am, rhkra...@gmail.com wrote: On Monday, December 20, 2021 02:28:13 PM Brian wrote: On Mon 20 Dec 2021 at 10:32:31 -0500, rhkra...@gmail.com wrote: My identity has been stolen, and although it has nothing to do with [...] May we know the URL of the financial website you contacted and the help number you phoned. The website is troweprice.com, and the phone number is 855/654-5324. It looks like I didn't record the actual URL that I was on, but I don't think you could see that exact page in any case as it was an https page and one that showed my account numbers and balances. There is a type of attack called cross-site scripting (XSS). It's mostly been eliminated by latest version browsers, but there are always zero-day vulnerabilities. The effect is that if you are vulnerable and have two tabs open, one to the legitimate site, and one to a bad guy site, the bad guy can alter your trusted site and for instance change a valid link into something malicious, or change a displayed phone number. More at https://owasp.org/www-community/attacks/xss/ That doesn't explain how the phone log showed the correct number had been dialled. I suppose it is possible a call was in progress or came in at the exact moment that the number was dialled. But then how did the number get logged as a call? One possiblity is that the target (recipient of the call) company internal communication network was compromised. That happens quite often, not as much as mail servers but it is still not unknown.
Re: Vulkan with Radeon RX 5700 XT
Le 09/07/2021 à 23:44, The Wanderer a écrit : (Warning, this is fairly long, and the situation involved includes a fair number of potentially-moving pieces.) I've recently built a new computer, installed Debian, configured it to largely match my previous setup, and migrated my data across. Now, I'm trying to take advantage of one of the hardware improvements over the system I migrated away from: a newer, better-performing GPU. In particular, I want to run software which makes use of the Vulkan API for improved graphics performance. Hi, Debian unstable with bits of experimental here (because of the freeze I pull some newer packages from experimental). Same graphic card (5700XT), mesa drivers (21.1.4 at this precise moment, from experimental). Here vulkan works afaik. vulkaninfo reports my card as: "Group 1: Properties: physicalDevices: count = 1 AMD RADV NAVI10 (ACO) (ID: 0) subsetAllocation = 0 Present Capabilities: AMD RADV NAVI10 (ACO) (ID: 0): Can present images from the following devices: count = 1 AMD RADV NAVI10 (ACO) (ID: 0) " If you want a G.U.I. vulkan test app you can use "goverlay", if you want vulkan related info displayed in another game/programm you can try "mangohud". For wine you probably want to install i386 (32bits) vulkan libraries too alongside the amd64 ones. Here my sons (with the same setup, radeon 5700XT and Vega56 cards) use the Steam "Proton" implementation of wine happily, vulkan games run fine. Linux native games run in vulkan mode too. I have given up on trying to get anything to run with plain wine years ago, so can't help with this, but Steam "Proton" version or "GloriousEggroll" (yes it's a real thing) run almost any Windows games my kids throw at it, in vulkan mode when available, sometime much better than native Linux versions (sadly). If I can help narrow down what package or version is causing you trouble, I'll do. All the best.
Re: Vulkan with Radeon RX 5700 XT
Le 10/07/2021 à 13:51, Brian Thompson a écrit : On Sat, 2021-07-10 at 13:43 +0200, tv.deb...@googlemail.com wrote: Hi, Debian unstable with bits of experimental here Is it (usually) wise to intermix different suites? I guess it wouldn't matter that much for bits and pieces of experimental in unstable since you are already in agreeance with having an unstable system to begin with. I wanted to do the same thing with getting testing security updates into unstable, but I didn't think that was wise (plus it's the other way direction). This is not the point of the OP message, so let's not derail, I mention it because packages versions could be relevant to the OP problems. There are plenty of threads and post around to tell you not to do that, and they are right. I am "mixing" since Debian 4, all my stations are "hybrids" of some sorts, sometimes it breaks, I fix it. I don't recommend or advocate it, but I do it without much problem and for new hardware it is often mandatory, unless you'd rather switch to another distribution. Me on Debian "melting pot", free to walk the wire. Who needs a big corporation to botch updates and ruin your system when you can do it yourself? ;-)
Re: Didn't mean to derail (Vulkan with Radeon RX 5700 XT)
Le 10/07/2021 à 15:13, Brian Thompson a écrit : On Sat, 2021-07-10 at 14:57 +0200, tv.deb...@googlemail.com wrote: This is not the point of the OP message, so let's not derail I apologize for accidentally derailing. I should have started a new thread. I'm still relatively new to the Debian community. Don't worry, I am not from the list police! Lately I think a good 2/3 of all thread ended up really far the original subject, sometimes with complete disregard for the original person and his/her need for assistance. Maybe it's fun & free, maybe it's abusive and disrespectful, depends on your culture and standards I guess. So, back to Vulkan, let's help The Wanderer get its setup up and running.
Re: Vulkan with Radeon RX 5700 XT
Le 11/07/2021 à 01:10, The Wanderer a écrit : On 2021-07-10 at 19:08, The Wanderer wrote: On 2021-07-10 at 17:36, idiotei...@gmail.com wrote: There you go, some packages are at the same version in Testing and Unstable, so you will see them in both. (Just to confirm, are you the person who responded above under the name Brian Thompson and with the E-mail address tv.deb...@googlemail.com? Because the E-mail address is different, and I don't want to make assumptions in either direction.) Argh. I checked this three times, and still managed to misread my previous-mails list. The above name and E-mail address correspond to different people; they're clearly not both you. Sorry, my bad, I answered from a different device and screwed-up the "from" field. It's an old address I retired when some unsavory (to my taste) people adopted close enough aliases that I started getting abusive or threatening messages that even gmail spam filter couldn't parse... But Brian is a completely different person.
Re: Vulkan with Radeon RX 5700 XT
Le 11/07/2021 à 20:25, The Wanderer a écrit : [...]cut Mere minutes after filing a bug report with the Mesa tracker, I thought of something new (of course), and checked it. Sure enough: if I run vulkaninfo as root, it detects the GPU just fine. The issue turns out to have been that /dev/dri/renderD128 is owned by group render, and my user was not a member of that group. I don't know of anything which should have told me that it needed to be. I've added myself to that group, shut down to the (console) login prompt, and brought things back up, and now vulkaninfo detects the GPU as my ordinary user as well. There was no need for me to have pulled in packages from sid and experimental, but it doesn't seem to have done any harm in this instance, especially as testing is due to be released as stable (which should free up packages to migrate from sid to testing, and let packages in experimental which have non-release-safe changes safely enter sid) in the fairly near future. I don't remember adding my user to the render group, and my bash history confirms that, but it is the same here. And /dev/dri/card0 belongs to root:video, so both video and render groups are necessary. Right now with the deep freeze unstable packages are probably safer than usual, there is much less turnaround. experimental is another story and some of the packages there will break a system if you pull them on their own. Using experimental requires knowing quite a bit about packages co-dependencies (ie: if I pull mesa, do I need to update llvm too? Is this version of systemd working with my current initramfs-tools?...), reading changelogs, keeping backups and a bootable flash disk around. You seem to check all of those boxes but other reading this might not. Regarding your original problem, it seems that you are down to your gpu not being recognized by or accessible to vulkan related processes? Or do you have problems with other graphical applications too? On stock Debian like my kids are running (linux-image-5.10.0-8-amd64) it's working fine, and so is it on my custom upstream kernel. So I don't think packages version numbers are the problem. They use the firmware package available in Debian unstable, I pulled mine from git.kernel.org, and we are all doing fine, no noticeable difference. Let me know if I can test anything or provide additional info.
Re: Radeon 6800 XT: 100% GPU core usage & 74 Watts when idle
Hello, Le 24/07/2021 à 01:07, piorunz a écrit : On 23/07/2021 23:44, The Wanderer wrote: https://bbs.archlinux.org/viewtopic.php?id=267503 (from just a few weeks ago) reports that this is fixed in kernel 5.12.14. Debian testing, being frozen, is still on 5.10.x: $ uname -r 5.10.0-8-amd64 5.10.0-7 didn't exhibit this behavior, but anything newer is on a Radeon Vega 56. Self compiled kernel with Debian kernel config doesn't have this bug either. Many commits touch AMD "powerplay" features in 5.10.0-8. Yes, that's what I use. The release is AFAIK less than two weeks away (barring delays), and after that it's likely that a newer version will pass into testing. Once a newer-enough version is available, it should resolve this. For additional reference, https://forums.lenovo.com/topic/view/27/5085655 has another report of the issue, and links to https://gitlab.freedesktop.org/drm/amd/-/issues/1632 as being an upstream(?) bug report which covers it. Not sure how directly applicable those are, but just in case... Thanks! Looks like someone found one particular commit which causes this. They say, that fixed commit will be in kernel 5.13. I hope this will be imported to Debian's 5.10 LTS as well, so I can continue to use 5.10? Should I report it somewhere as Debian bug, to make sure its being backported? Pinning 5.10.0-7 resolves the issue for me, as is compiling a newer upstream kernel (5.13.4 currently). -- With kindest regards, piorunz. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
Re: Radeon 6800 XT: 100% GPU core usage & 74 Watts when idle
Le 24/07/2021 à 21:20, Polyna-Maude Racicot-Summerside a écrit : Hi, On 2021-07-23 7:07 p.m., piorunz wrote: On 23/07/2021 23:44, The Wanderer wrote: https://bbs.archlinux.org/viewtopic.php?id=267503 (from just a few weeks ago) reports that this is fixed in kernel 5.12.14. Debian testing, being frozen, is still on 5.10.x: $ uname -r 5.10.0-8-amd64 Yes, that's what I use. The release is AFAIK less than two weeks away (barring delays), and after that it's likely that a newer version will pass into testing. Once a newer-enough version is available, it should resolve this. For additional reference, https://forums.lenovo.com/topic/view/27/5085655 has another report of the issue, and links to https://gitlab.freedesktop.org/drm/amd/-/issues/1632 as being an upstream(?) bug report which covers it. Not sure how directly applicable those are, but just in case... Why don't you custom compile a Kernel using as base for .config the file from Debian ? With kindest regards, piorunz. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄ It was tested, you can follow the bug there: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991453
Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377
On 31/05/2019 15:46, senthil kosapeta wrote: Dear Debians, I have purchased Lenovo laptop around 6 months back. (Lenovo ideapad) I had installed ubuntu earlier and Wifi used to work fine. Somehow it got crashed a month back. I have decided to switch over to debian 9.9 and installed it. Internet via Ethernet port is working. But wifi is not working and not showing available wireless networks. I searched/googled certain topic related to Debian wifi and tried installing firmware-atheros earlier. It did not work. When i tried restart, shutdown is stuck. If i force shutdown and restart, It will be stuck again. When i tried to do recover mode, msg displays that "ath10k_pci ** failed recieve control reponse completion, polling " Please let me know how to proceed. Thanks Senthil Hi, can you check for firmware loading information in your logs ? "grep firmware /var/log/messages" or "journalctl -b" and look for info related to the wifi chip. Given the "shutdown stuck" issue I would try disabling interrupts and see if it solves the problem, "modinfo" says ath10k_pci accepts three irq options: "parm: irq_mode:0: auto, 1: legacy, 2: msi" Maybe try "legacy" mode first, that may be what Ubuntu is doing as a default. You will need elevated privileges to run the next commands ("sudo command" or "su -" and then type commands). First two commands unload the driver module: modprobe -r ath10k_pci modprobe -r ath10k_core Then reload it with proper option: modprobe -v ath10k_core modprobe -v ath10k_pci irq_mode=1 If it solves the problem you can make the change permanent. Hope it helps.
Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377
Hi, most people on this list prefer bottom-posting rather than top-posting, so I'll stick with the convention and post my answer at the bottom of the message, suggesting you do the same in the future to avoid potential nasty comments. ;-) vvv On 31/05/2019 22:38, senthil kosapeta wrote: Hi, Earlier my system got stuck after firmware-atheros installation. Now i have freshly installed debian 9.9. So it does not have following /lib/firmware/ath10k/QCA9377/hw1.0/ Shall i retry installing "firmware-atheros" and proceed as per your suggestion? On Fri, May 31, 2019 at 9:10 PM idiotei...@gmail.com wrote: Putting thread back on list, this was sent to me directly. Answer is at bottom. On 31/05/2019 19:07, senthil kosapeta wrote: Hi, These are the logs that i got, it says "firmware loading failed" *May 31 12:58:48 debian kernel: [0.048770] Spectre V2 : Enabling Restricted Speculation for firmware calls* *May 31 12:58:48 debian kernel: [7.671866] i915 :00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2May 31 12:58:48 debian kernel: [7.671873] i915 :00:02.0: Failed to load DMC firmware [ https://01.org/linuxgraphics/intel-linux-graphics-firmwares <https://01.org/linuxgraphics/intel-linux-graphics-firmwares>], disabling runtime power management.May 31 12:58:48 debian kernel: [7.677946] [drm] GuC firmware load skippedMay 31 12:58:48 debian kernel: [ 8.226104] ath10k_pci :03:00.0: Direct firmware load for ath10k/pre-cal-pci-:03:00.0.bin failed with error -2May 31 12:58:48 debian kernel: [8.226118] ath10k_pci :03:00.0: Direct firmware load for ath10k/cal-pci-:03:00.0.bin failed with error -2May 31 12:58:48 debian kernel: [8.226129] ath10k_pci :03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2May 31 12:58:48 debian kernel: [8.226143] ath10k_pci :03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2May 31 12:58:48 debian kernel: [8.226156] ath10k_pci :03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2May 31 12:58:48 debian kernel: [8.226168] ath10k_pci :03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2May 31 12:58:50 debian NetworkManager[559]: [1559287730.5479] manager[0x5578b9b35040]: monitoring kernel firmware directory '/lib/firmware'.May 31 12:58:50 debian kernel: [ 16.179299] r8169 :02:00.0: Direct firmware load for rtl_nic/rtl8168g-3.fw failed with error -2May 31 12:58:50 debian kernel: [ 16.179307] r8169 :02:00.0 enp2s0: unable to load firmware patch rtl_nic/rtl8168g-3.fw (-2)May 31 14:37:49 debian kernel: [ 5323.527328] [drm] GuC firmware load skippedMay 31 18:44:53 debian kernel: [11230.812795] [drm] GuC firmware load skipped* On Fri, May 31, 2019 at 4:46 PM tv.deb...@googlemail.com < tv.deb...@googlemail.com> wrote: On 31/05/2019 15:46, senthil kosapeta wrote: Dear Debians, I have purchased Lenovo laptop around 6 months back. (Lenovo ideapad) I had installed ubuntu earlier and Wifi used to work fine. Somehow it got crashed a month back. I have decided to switch over to debian 9.9 and installed it. Internet via Ethernet port is working. But wifi is not working and not showing available wireless networks. I searched/googled certain topic related to Debian wifi and tried installing firmware-atheros earlier. It did not work. When i tried restart, shutdown is stuck. If i force shutdown and restart, It will be stuck again. When i tried to do recover mode, msg displays that "ath10k_pci ** failed recieve control reponse completion, polling " Please let me know how to proceed. Thanks Senthil Hi, can you check for firmware loading information in your logs ? "grep firmware /var/log/messages" or "journalctl -b" and look for info related to the wifi chip. Given the "shutdown stuck" issue I would try disabling interrupts and see if it solves the problem, "modinfo" says ath10k_pci accepts three irq options: "parm: irq_mode:0: auto, 1: legacy, 2: msi" Maybe try "legacy" mode first, that may be what Ubuntu is doing as a default. You will need elevated privileges to run the next commands ("sudo command" or "su -" and then type commands). First two commands unload the driver module: modprobe -r ath10k_pci modprobe -r ath10k_core Then reload it with proper option: modprobe -v ath10k_core modprobe -v ath10k_pci irq_mode=1 If it solves the problem you can make the change permanent. Hope it helps. The error message is very generic (ignore the message regarding the graphic chip, it's unrelated and mostly harmless). First look into the firmware directory to make sure you do have the needed firmware binary: ls -l /lib/firmwa
Re: Snipping and quoting: Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377
On 31/05/2019 23:22, rhkra...@gmail.com wrote: On Friday, May 31, 2019 01:32:20 PM tv.deb...@googlemail.com wrote: Hi, most people on this list prefer bottom-posting rather than top-posting, so I'll stick with the convention and post my answer at the bottom of the message, suggesting you do the same in the future to avoid potential nasty comments. ;-) vvv Thanks for the consideration! I think another part of it for most of us (I take myself as a sample of one representing most of us ;-) ... .. is that we like quotes of previous emails to be snipped to the relevant part and then the response to that relevant part be underneath that quote. If you are replying to more than one relevant part, snip irrelevant parts, and intersperse your comments within the email, under the relevant part. If anyone wants to chime in and agree (or disagree), please do! Hi there, I mostly agree but I also have to say that I don't really give a damn about netiquette as a whole as long as the problem is solved, and it is still possible with minimum efforts to make head or tail from the thread. Now this thread is already mangled beyond recognition twice, sent all over the place and back, from several different addresses, and I don't have time to fix it today. I also feel the need to say that meta-discussions about style or off-topic and/or personal matters on this list is seriously putting me off lately. I personally feel much more problematic to scroll through several unrelated messages scratching personal itches much more painful that any formatting bias. Maybe it would be better to send a polite message to the original "offending" party(ies) once (off-list?), and if they don't comply just stop helping at all if one feels strongly about it. Taking my own advice, I won't argue on the subject of style anymore in this thread ;-) .
Re: Wifi not working in Lenovo laptop/Ideapad/Atheros QCA9377
On 01/06/2019 16:52, senthil kosapeta wrote: [...giant snip] I looked into the firmware-atheros package in Debian Stable (9), backports, testing and unstable. Only the version in unstable currently has the firmware file you need to make your wifi chip work (/lib/firmware/ath10k/QCA9377/hw1.0/firmware-6.bin) . You can download it yourself on one of the Debian mirrors: https://packages.debian.org/sid/all/firmware-atheros/download Then install the package with the command: dpkg -i firmware-atheros_20190502-1_all.deb This command must be issued in the directory where you downloaded the package, and with root privileges. When this is done, simply reboot your system, or unload/reload the driver module with: modprobe -r ath10k_pci modprobe -r ath10k_core modprobe -v ath10k_core modprobe -v ath10k Ignore the "irq=" option for now, I am on Debian unstable and wrongly assumed you had the needed firmware file already on your system. HI, My system got crashed. After installing firmware-atheros, I tried modprobe commands. (Even before restarting) When i am done with last command which is "modprobe -v ath10k_pci", system got stuck. I had force shutdown, and restarting the laptop is hit with the same old problem like earlier crash. When i run through recovery mode, it says following (also seen during earlier crash) *ath10_pci *** : failed to recieve control response completion, polling ...* After that i tried booting via debian live usb, got the root prompt, tried following commands modprobe -r ath10k_pci modprobe -r ath10k_core modprobe -v ath10k_core modprobe -v ath10k_pci irq_mode=1 It is still not working and is stuck while boot. Please suggest more. Sen Hi, which version of the firmware-atheros package did you install ? Was the installation successful, no error messages ? When the boot sequence gets stuck, when exactly does it happen, what do you see on the screen ? If you crashed the system a few times, the file-system may need to be checked, did you see any message mentioning "fsck" or file-system check ? Nota: you can answer back to the list only, I am subscribed.
Re: Rescuing hard disks
On 23/09/2019 08:37, Debian Buster wrote: On Sun, 22 Sep 2019 23:40:51 +0100, Mark Fletcher wrote: Hello While setting up a newly purchased RAID-capable hard disk cage I've damaged the contents of 2 hard disks and want to know if it is possible to recover. The cage has 5 disk slots each occupied by 3TB hard disks. 4 of the disks came from an older cage by the same maker (TerraMaster, in case it matters) and one is new. In the old configuration I had 2 disks in a RAID 1 configuration and 2 as single disks. I transferred over the 4 disks from the old cage and added a new disk in the 5th slot. The new cage is RAID 1 capable in its first two slots and the remaining three are single disks. You've probably guessed what I did by now. I put the two single disks from the old cage into the first two slots of the cage and enabled RAID. I should have put the two disks that were RAID in the old cage in those slots. I realised almost immediately what I had done and swapped the disks around into the correct configuration. My originally-RAID pair are now correctly in the first two slots with RAID enabled and are none the worse for the experience of having briefly having been in the single slots. Unfortunately my two originally-single disks are showing up as having no partitions according to lsblk. There was data on those disks that I would ideally like to get back. Do I have any hope of undoing whatever damage was done to the disks when the cage was switched to RAID mode? I did not write any data to them, and crucially I did NOT create a new file system on the disks after turning on RAID in the cage before realising what I had done. A search turned up the gpart program but it looks ancient -- could it still help me? gparted may also help but most online info about it is about repartitioning disks to prepare for a dual-boot install, not about recovering a messed-up partition table (which is what I assume I am dealing with here). The disks were originally formatted ext4 with a single partition taking the whole of the disk. Since no file system was created on them and no data was written to them while they were in the RAID slots of the cage, I'm hoping I can repair things, but looking for ideas of where to start. Thanks in advance and in hope Mark PS Running buster if that's important Hello, you can try the "testdisk" utility. I had good luck recovering deleted or damaged partitions with it before. Hope the raid controller didn't start zeroing out the drives as soon as you switched it on, it would make things much more difficult if anything was written over. Good luck.
Re: graphics card recommendation
On 23/09/2019 23:39, email.list...@gmail.com wrote: Hi! I'm building a new machine and I'm looking at graphics cards right now. I want a card that can handle 4k for regular productivity tasks (if it can handle gaming at those resolutions doesn't matter), that is as silent as possible and has good support in debian. Right now I'm considering a Radeon RX 5700. Does anyone have any experience with this card or a recommendation for another card? regards Andreas Berglund Hi, I have four Radeon RX desktop GPUs (polaris10 and RX Vega) here and they work very well, no proprietary driver required, just a recent kernel and Debian. For Navi10 generation cards (RX5700) the support is still very green, the firmware only made it to the official linux git tree a few days ago [1]. You will need to ride with the latest kernel code (5.3 currently in development) and Mesa 19.2 (available in Debian experimental only for now). If you are not in a hurry wait a bit for those components to be available in your Debian flavor (via backport, or if you are running Testing/Unstable) and go for the RX5700. If you want perfect support right now a Polaris10 or RX Vega card would be a better bet. They can be had for a good price now and work very well on Linux. If you want support and the best performance it's the Radeon VII which offers the best (pricey) option for now. For GPU support status on Linux the Phoronix website is the best around [2]. Hope it helps. [1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=417a9c6e197a8d3eec792494efc87a2b42f76324 [2] https://www.phoronix.com/scan.php?page=category&item=Graphics+Cards
Re: graphics card recommendation
On 24/09/2019 18:24, email.list...@gmail.com wrote: On 2019-09-24 04:16, tv.deb...@googlemail.com wrote: On 23/09/2019 23:39, email.list...@gmail.com wrote: Hi! I'm building a new machine and I'm looking at graphics cards right now. I want a card that can handle 4k for regular productivity tasks (if it can handle gaming at those resolutions doesn't matter), that is as silent as possible and has good support in debian. Right now I'm considering a Radeon RX 5700. Does anyone have any experience with this card or a recommendation for another card? regards Andreas Berglund Hi, I have four Radeon RX desktop GPUs (polaris10 and RX Vega) here and they work very well, no proprietary driver required, just a recent kernel and Debian. polaris10, that's the 560-590 cards right? What's the noise level like on those? My RX570 is near silent, it's a design with two big fans that run slow. The card doesn't overheat and doesn't draw too much power. It's very capable for the price, it will output @ 4K, and run most games at HD resolutions. Support is excellent, even compatibility with games notoriously buggy is very good, my younger son runs Steam, Windows games with Wine and whatnot and is very happy, me too. RX580 is a different story entirely, runs hot and is power-hungry, so not quiet. Dual fans design mitigates this but it ramps up the rpms very quickly. Can output anything at any resolution up to 4K, can handle games at HD or 2K resolution, even 4K with quality tuned down a little. I wouldn't by this card now, I would go with a RX Vega56. My Vega 56 and 64 are NOT quiet at all when loaded, they have a "blower" design that makes a distinctive "whoosh" noise at the back of the chassis. They also draw a lot of power. Performances differences are marginal between the two, in my opinion Vega 56 makes a better option. It comes on top regarding the price/performance ratio for high end cards. Both are very stable though. For Navi10 generation cards (RX5700) the support is still very green, the firmware only made it to the official linux git tree a few days ago [1]. You will need to ride with the latest kernel code (5.3 currently in development) and Mesa 19.2 (available in Debian experimental only for now). If you are not in a hurry wait a bit for those components to be available in your Debian flavor (via backport, or if you are running Testing/Unstable) and go for the RX5700. If you want perfect support right now a Polaris10 or RX Vega card would be a better bet. They can be had for a good price now and work very well on Linux. If you want support and the best performance it's the Radeon VII which offers the best (pricey) option for now. I want stability first and foremost, I just need the card to be good enough to handle a larger monitor with a high resolution once I get around to buying that, so I'm thinking perhaps the rx570 is a good bet. Good bet and quite cheap now. As for RX5700 support things look good, kernel 5.3.x is already stable if you don't mind compiling it for now, and Mesa 19.2 is around the corner. With the firmware now available from mainstream repository the biggest obstacle has been lifted. Given that you want stability I guess you are running Stable, maybe with Backports, in which case RX5700 support may never happen during the system lifespan. If you don't mind running Unstable or a "hybrid" system and cherry picking or compiling packages you need, the support is already fairly good. When Mesa 19.2 is released it will be in good shape. Happy shopping. For GPU support status on Linux the Phoronix website is the best around [2]. Hope it helps. It was very helpful, thank you. [1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=417a9c6e197a8d3eec792494efc87a2b42f76324 [2] https://www.phoronix.com/scan.php?page=category&item=Graphics+Cards
Re: Please help me find a good Debian compatible video card
On 25/04/2020 19:28, Alexander V. Makartsev wrote: On 25.04.2020 16:20, Jiangsu Kumquat wrote: I want to get a good fast Debian compatible card for 1080p. I was looking at this page... Best Graphics Cards 2020 - Top Gaming GPUs for the Money | Tom's Hardware https://www.tomshardware.com/reviews/best-gpus,4380.html However, I think most or all of those cards won't work that great for Linux because of compatibility issues. Can you recommend a good card for me to use? I play windows games in Debian with wine. I tend to prefer AMD cards, but Nvidia cards are okay I guess as long as they work well with Debian. Thanks!! _ PrivacyTools - Encryption and tools to protect against global mass surveillance - https://www.privacytools.io - https://www.reddit.com/r/privacytoolsIO/ -- More secure, more flexible, and completely free video conferencing. Go ahead, video chat with the whole team. In fact, invite everyone you know. Jitsi Meet is a fully encrypted, 100% open source video conferencing solution that you can use all day, every day, for free — with no account needed. https://jitsi.org/jitsi-meet/ I highly recommend Nvidia-based cards, if you don't mind closed-source drivers. Many (Most?) games with Linux-native ports officially support only Nvidia by game developers. I think, this is because of the drivers, their quality and stability. AMD-based card will usually work too, but (as long as I can remember) quality of their drivers were something to be desired and drivers for Linux are under heavy development, but they are open-source. In case of Proton\WINE, you could get mixed results, because some games (via DXVK) will work better with Nvidia and some are better with AMD. "Better" here as in "less graphical glitches, more performance and stability." To play modern games in 1080p 60fps with high graphics settings you would want minimum GTX1660 or better with 6Gb VRAM or more. Hi, I have two kids and myself playing all kind of games on Steam mainly, with protonplay (Steam customized Wine version), on regular Wine, or standalone version (like GOG versions). All of us use AMD cards and we could not be happier, I would not go back to dealing with Nvidia drivers for anything. We used "Polaris10" generation cards (like RX570 and RX580), "Vega10" generation (Vega RX 56), and currently "Navy10" (5700XT). With Debian Stable you might have to use backports packages for optimal performances with the latest generation of GPU, but any Polaris/Vega/RadeonVII should work fine. Here we run Debian Unstable for the gaming/multimedia machines and everything just works without the use of any proprietary drivers (aside from the firmware provided by the non-free Debian "firmware-amd-graphics" package. For game specific compatibility reports the "protondb" website maintains a good database [1], but it is only valid for Steam "Protonplay" platform. Of course there are many native games which run great with Debian and an AMD card, if you have a few specific titles in mind feel free to ask. Hope it helps. [1] https://www.protondb.com/
Re: Trouble booting lvm raid/luks system with latest kernel in Testing
On 05/07/2018 00:24, Alex Gould wrote: Hi, I'm hoping for some advice for a problem with my system that is tracking Debian Testing. The system has two equally-sized internal hard drives. They are partitioned in the following way: Disk A has a smaller ext2 partition that serves as /boot, with the remainder being a physical volume for LVM Disk B has one partition, a physical volume for LVM. The two physical volumes are combined via LVM into one logical volume. This logical volume is encrypted with cryptsetup using a passphrase (to be entered at boot). The resulting encrypted volume is then used as a physical volume for LVM, which is divided into two logical volumes: swap and / (root). This setup was all created via the Debian installer. Until now, everything seemed to work flawlessly -- Grub loaded the initramfs, I was prompted for the password for the encrypted volume, and then booting proceeded normally to a usable system. After upgrading to the latest kernel 4.16.0-2-amd64, this no longer worked. Grub loaded, and I got the error message "Cryptsetup: waiting for encrypted source device UUID=365b88eb-195f-43a8-8776-8969ed47744c..." followed a few minutes later by dropping into the initramfs shell. Boot still works normally if I select the previous kernel, 4.16.0-1-amd64 from the Grub menu. I imagine I will need to fix some settings for initramfs, grub, crypttab, fstab, or something, but I'm not sure how to proceed. Any advice on this complicated question is greatly appreciated. Thank you! Hi, I had the same problem on several systems running Sid (unstable), so it may or may not apply to your case. In my cases I had problems with systems using a root partition on Luks and also on luks+lvm. When rebuilding the initramfs I was getting errors (from "update-initramfs") about the creation of a temporary file. Removing the "cryptroot" and also on lvm systems the "lvm2" scripts from /etc/initramfs-tools/hooks/ and rebuilding initramfs solved the problem. Before that I tried various versions of UUID/addressing of partitions in /etc/crypttab and fstab with no results, tried going through all the scripts in /etc/initramfs-tools/scripts (and copy fresh ones from /usr/share/initramfs-tools/), but all this in pure waste of time. Removing the hook scripts did the trick. Seems like initramfs luks support is going though a transition, I have been getting messages about the option "cryptsetup=y" in "initramfs-tools" being deprecated for a while now, so was expecting something like this. Hope it helps. Keep a recovery system from which to boot and chroot close-by...
Re: that other OS
On 17/11/2018 01:00, Brian wrote: On Fri 16 Nov 2018 at 18:36:01 +, mick crane wrote: On 2018-11-16 17:29, Brian wrote: On Fri 16 Nov 2018 at 12:01:39 -0500, Doug wrote: On 11/16/2018 11:32 AM, mick crane wrote: I use windows I'm not ashamed to say that. I noticed tho that there is a new message "Windows is a service..." This is that thing where they want people to pay a monthly fee to use the OS, like adobe apparently did with their photo suite. Just saying, prepare for stampede of ex windows users. Are they going to send an "upgrade" that will stop Windows from working if you don't subscribe? The original post gave no reliable references; it looks like speculation. You are now speculating on the speculation. I almost never use Windows, altho the text reader program that I have used for years on Windows is far superior to anything available for Linux. Didn't take long to take an off-topic post even further off-topic and for a reply to swallow the bait. well I think it's relevant, I've contributed financially to some projects and if I had more I would contribute more but basically I am getting loads of excellent software for free 1. I am a Debian user. 2. I do not have a trumpet to blow. 3. I would prefer list posts to deal with the Debian ecosystem. (not answering directly to the above, which I agree with, just picked a random message to join the thread). If one is really so inclined to follow buzzwords, Debian as a FOSS project is a "system as a service" and has been like every other FOSS software project for much longer than any other software. The difference being that the user can choose freely to contribute monthly, yearly, or at whatever interval is convenient to her/him, pick which part of the software he feels like paying for, and can contribute in other ways than giving money (time, help, patch, bug reports...). This is "software as a service" at its best and true meaning. And by contributing the user doesn't merely comply with a legal obligation to pay an arbitrary price for the use of a product, but expresses gratitude and support to what is important to him, and gives the product its real value by supporting and using it. I love "Debian as a service" and FOSS in general, and I try to express it as often as possible, willingly and freely. Software as an extortionate alienating limited lease is what Microsoft and others are trying to entrap the user with, no service rendered. Cheers.
Re: Running Debian on an AMD Ryzen system
On 22/02/2019 03:50, Étienne Mollier wrote: Sam Varghese wrote: I have seen some older reports about kernel issues and crashes. Hence my concern. Good Day, You were probably referring to CPU idle states bugs appearing under certain circumstances. I have been confronted to an AMD Ryzen machine a few months ago, on which processor C-states had to be disabled in UEFI config, meaning increased energy consumption when idling. The problem was similar to the one described on Chris's wiki: https://utcc.utoronto.ca/~cks/space/blog/linux/RyzenMachineLinuxHangs https://utcc.utoronto.ca/~cks/space/blog/linux/RyzenApparentlyStable It has been a while since the last time I checked those AGESA updates for the motherboard, and am not sure if the problem would still hold true with latest kernel/firmware upgrades/etc though. Kind Regards, Hi, I bought ryzen CPUs from the very first weeks they were available in Europe, the first batch I got were all defective, the 1700s would hang anytime they were left idling without disabling C6 management in bios. The 1800Xs were also exhibiting this bug, but with a second one on top under heavy compilation load, GCC would throw random errors and the compilation would fail. There was various workarounds that allowed me to use the CPUs while progressively returning them to the manufacturer for exchange. All affected CPUs were made during the very first weeks of manufacturing, after that AMD fixed the problem and all newer chips were fine. I currently have a mix of ryzen 5s, a few 1700 and 1800X left that are not affected by any bugs and run perfectly, and newer 2xxx second gen CPUs that I never had any problem with. Unless you buy second hand from unscrupulous people or get a dusty batch or first week first gen chips, you will not be affected by those problems. In any case AMD did their part and the RMA process after confirming the problem with them was good. I have no experience with their integrated graphics, I use discrete Radeon GPUs, but for the CPU part I am really happy with the cost/performance ratio. Especially for 3D modeling/rendering and video they work great, software compilation is one of their strong point too, anything heavily multi-threaded really. My two sons play on ryzens too and they don't complain, associated with a decent GPU they run common "big" titles on Steam Linux or standalone. Again the cost/performance ratio seems very good to me. Look at the motherboards you could be interested in too and chipset features, it's important to consider full system price rather than just CPU. Hope it helps.
Re: [OT] replacement for SystemRescueCD
On 23/10/2019 07:32, John Covici wrote: On Tue, 22 Oct 2019 21:30:25 -0400, Nicholas Geovanis wrote: [1 ] [2 ] On Tue, Oct 22, 2019, 6:29 PM Default User wrote: Guys, it seems like SystemRescueCD could be on the way out. Over 6 months since a release, and a quick glance at GitLab did not seem to show any commits since then either (but I could be wrong). I have looked for a replacement utility distribution, but just can't seem to find anything good. You don't like knoppix? Or a derivative of it? I won't claim they are feature equivalent, but can be made so IB. If it is going to be abandonware, what then? Ideas? I need something with zfs capabilities, I don't think knoppix has that.] Long time Sysrescue user here, I switched to Parrot [1] months ago, very satisfied. It's very close to Debian too, so you can use your existing skills. As for zfs support I can't comment, but since it is basically a forensic/rescue/security Debian spin you should get what you want if it's in Debian, or install it if it's just an "apt" away. Parrot comes in various sizes, desktop environments and format, more chances to find what you need. Disclaimer: I have no link or affiliation to Parrot, I just use it regularly. [1] https://parrotlinux.org/
Re: alternatives to gmail?
On 19/11/2019 22:21, ghe wrote: On 11/19/19 9:16 AM, Karen Lewellen wrote: yet another reason to find another email provider, not to be confused with a webmail program requiring an email server I do not have for a computer i do not own running a Linux distribution I cannot access. Sorry, I misspoke. Protonmail isn't webmail, it's a web based email client just like Gmail, but with some significant improvements. If you can use Gmail on a browser, you can use Protonmail on the same browser. I heard about it in an article on Internet privacy in the New York Times. For use by us mortals, for sure. Hi, using Protonmail here (full disclosure: I am a paying customer, no other interest/involvement whatsoever in Protonmail), the web interface requires javascript for login. There is a "bridge" feature available to paid users (in beta for Linux) [1] which can be used to get full end-to-end encryption with various mail clients (like Thunderbird) [2]. I don't think it fits the OP goals, but aside from that it is a very good encrypted email provider IMHO. As you can see I find gmail also perfect for publicly available mailing lists like this one, or various "garbage" grade mail subscriptions, I'd rather have them handle the spam than me... [1] https://protonmail.com/bridge/install [2] https://protonmail.com/bridge/thunderbird
Re: apparent change in hostnames on LAN without admin intervention
On 15/12/2019 00:35, Jape Person wrote: On 12/14/19 3:56 AM, Andrei POPESCU wrote: On Vi, 13 dec 19, 19:33:51, Jape Person wrote: Hi folks. Did I miss something? I've had 3 Sid/testing systems running on the same LAN behind the same router for just shy of 3 years. Their static IP addresses have always been issued by the DHCP server on the router. Everything has been copacetic among the systems, with local and outside name resolution working with no issue. A little over a week ago the systems stopped being able to access each other by name. No changes were made in the settings or firmware of the router or of the local network settings on the systems. I discovered that all of the hostnames had changed from xx.local to xx. I've tried to determine the cause of this alteration in the hostnames on the LAN. Please provide more info on this, specifically where / how are the hostnames configured and where / how did you discover they changed. Do note that .local is typically used by mDNS and in my understanding it should not be used with a DNS server. https://en.wikipedia.org/wiki/.local Kind regards, Andrei Hi, Andrei. The hostnames and local domain name were used during installation. The static DHCP addresses are issued by a Luxul XWR-1750 router which associates the hostnames with the MAC and IP addresses. Contents of /etc/resolv.conf: search local nameserver 208.67.220.220 I discovered the change a few days ago when I was doing my daily check for updates by using SSH to connect to two of the systems. I received the following response to the connection command: ssh: Could not resolve hostname chip-nuc.local: Name or service not known I checked to make sure I could connect to everything by IP address, and I checked DNS on the outside world. Everything looked okay. On a hunch I tried omitting the .local from the connection command, and it work on each client. I figured any time the name of a client changes without deliberate action on the part of the network admin (however incompetent he may be), that could be a security issue. That's why I asked here. Thanks, JP Hi, I am running a very similar setup, also on Sid/Testing (updated daily), and didn't notice any change. My local domain is not ".local" or ".home", it is custom. My resolv.conf looks like yours (modulo the domain name), I have an additional nameserver line for my router address. My router only resolves names for the local network, public DNS is resolved though a VPN. My hosts file is just standard : one line per host on the network, the router has the same hosts file, the IP are reserved by the router DHCP and associated with (static spoofed) MAC addresses. Routers are running on Asuswrt-Merlin and openWRT (one is AP mode only). ssh here works with both hostnames short alias (no domain), full name or IP. works as expected and return the host IP. Since we probably have the same packages versions let me know if you need me to check anything that could differ from your system.
Re: apparent change in hostnames on LAN without admin intervention
I am not the OP, but questions seems directed to me, see inline answers. On 16/12/2019 11:12, David Wright wrote: On Sun 15 Dec 2019 at 11:49:55 (+0530), tv.deb...@googlemail.com wrote: On 15/12/2019 00:35, Jape Person wrote: On 12/14/19 3:56 AM, Andrei POPESCU wrote: On Vi, 13 dec 19, 19:33:51, Jape Person wrote: Hi folks. Did I miss something? I've had 3 Sid/testing systems running on the same LAN behind the same router for just shy of 3 years. Their static IP addresses have always been issued by the DHCP server on the router. Everything has been copacetic among the systems, with local and outside name resolution working with no issue. A little over a week ago the systems stopped being able to access each other by name. No changes were made in the settings or firmware of the router or of the local network settings on the systems. I discovered that all of the hostnames had changed from xx.local to xx. I've tried to determine the cause of this alteration in the hostnames on the LAN. Please provide more info on this, specifically where / how are the hostnames configured and where / how did you discover they changed. Do note that .local is typically used by mDNS and in my understanding it should not be used with a DNS server. https://en.wikipedia.org/wiki/.local The hostnames and local domain name were used during installation. The static DHCP addresses are issued by a Luxul XWR-1750 router which associates the hostnames with the MAC and IP addresses. Contents of /etc/resolv.conf: search local nameserver 208.67.220.220 I discovered the change a few days ago when I was doing my daily check for updates by using SSH to connect to two of the systems. I received the following response to the connection command: ssh: Could not resolve hostname chip-nuc.local: Name or service not known I checked to make sure I could connect to everything by IP address, and I checked DNS on the outside world. Everything looked okay. On a hunch I tried omitting the .local from the connection command, and it work on each client. I figured any time the name of a client changes without deliberate action on the part of the network admin (however incompetent he may be), that could be a security issue. That's why I asked here. Hi, I am running a very similar setup, also on Sid/Testing (updated daily), and didn't notice any change. My local domain is not ".local" or ".home", it is custom. That might be a reason for no change to have occurred. Just out of curiosity, is your custom name registered or just made up? Made up, it exists only on my LAN. My resolv.conf looks like yours (modulo the domain name), I have an additional nameserver line for my router address. My router only resolves names for the local network, public DNS is resolved though a VPN. My hosts file is just standard : one line per host on the network, the router has the same hosts file, the IP are reserved by the router DHCP and associated with (static spoofed) MAC addresses. Routers are running on Asuswrt-Merlin and openWRT (one is AP mode only). Again, curious, why do you maintain hosts files on each host? As you resolve that other hosts on your network by DNS at the router, I would have expected all your hosts files to look like: 127.0.0.1 localhost 127.0.1.1 foo.custom foo for host foo. One of the PC is serving various services to the LAN, some bypassing the router for load/performances reason, this PC is carrying an up to date version of the hosts file. It's not one hosts file on every machines on the network, it's one hosts file with every machines on the LAN registered in it on one of the node on the LAN. ssh here works with both hostnames short alias (no domain), full name or IP. works as expected and return the host IP. Since we probably have the same packages versions let me know if you need me to check anything that could differ from your system. Cheers, David. Hope it satisfies your curiosity.
Re: apparent change in hostnames on LAN without admin intervention
On 17/12/2019 13:55, Andrei POPESCU wrote: On Lu, 16 dec 19, 10:14:55, David Wright wrote: On Mon 16 Dec 2019 at 12:03:58 (+0530), tv.deb...@googlemail.com wrote: One of the PC is serving various services to the LAN, some bypassing the router for load/performances reason, Fair enough. (I do that between hosts using IPv6 over Cat5, and have been scolded here for it.) this PC is carrying an up to date version of the hosts file. But does it need to? If your router runs a DNS server (you say it does), it can provide that (DNS) service to the PC that's providing the various other services. Resolving hostnames via hosts file could be significantly faster than using the router's DNS server. It is, especially if the router is overloaded or switched off/rebooting ;-) . It's not one hosts file on every machines on the network, it's one hosts file with every machines on the LAN registered in it on one of the node on the LAN. … which just means there are two machines needing the up-to-date hosts file: the server-PC that avoids disturbing the router, and the router running a DNS server. Still one more than necessary? In the classic client-server topology the server doesn't need the complete hosts file. Only the client(s) need(s) an entry for the server in the(ir) hosts file[1]. Exception would be of course, if the service provided by the server requires accessing other systems (backup server?). You win the guessing contest, backup server with server initiated backups. [1] This is probably known by most debian-user subscribers, I'm just making sure we are talking about the same thing. Kind regards, Andrei
Re: apparent change in hostnames on LAN without admin intervention
On 17/12/2019 19:10, Greg Wooledge wrote: On Tue, Dec 17, 2019 at 04:58:51PM +0530, tv.deb...@googlemail.com wrote: You win the guessing contest, backup server with server initiated backups. Why does anyone have to guess? Why can't people just state their actual problem and their actual constraints up front? Herr, I don't have a problem, I am not the OP, I tried to offer assistance and got swamped in questions about my setup rather than the OP's. I only answered those questions out of courtesy. Chill out.
Re: ufw and iptables not playing nice in testing with recent upgrade
On 12/02/2020 05:03, riveravaldez wrote: On 2/11/20, songbird wrote: something in there didn't work today when i applied the upgrade. i don't have time to debug or file reports at the moment, so was able to partially downgrade to get a working connection again. put my hold back on iptables. i'd had a hold on it for a while due to reported errors. no idea why i decided i should try to let it go through this morning. i'm kinda tied up for a few weeks... Maybe similar. Yesterday, after dist-upgrade and reboot the network interface seemed not to be working (for instance, none ping worked/responded), it gave me the impression of a driver issue so rebooted and tried with a previous kernel, that seemed to solve partially the situation. Right now: $ uname -a Linux debian 5.4.0-2-amd64 #1 SMP Debian 5.4.8-1 (2020-01-05) x86_64 GNU/Linux The first symptom (with the more recent kernel) was a message at boot about UFW not being able to start (or something similar). That message didn't appeared when I booted with the previous kernel (the one I'm using right now). Not sure of anything. Let me know if I can do something to diagnose this situation properly. Just informing in the hope it's of some utility. Regards! Hi, running a 5.4 and 5.5 self compiled kernels for a while and it is my experience too that ufw/gufw are broken. I switched to firewalld and associated graphical config utilities on the affected machines, purging iptables in the process. On the other hand shorewall + iptables seems to work fine so far. From what I remember reading iptables is on it's way out anyway (correct me if i am wrong). Hope it helps.
Re: ufw and iptables not playing nice in testing with recent upgrade
On 13/02/2020 19:37, songbird wrote: tv.deb...@googlemail.com wrote: On 12/02/2020 05:03, riveravaldez wrote: On 2/11/20, songbird wrote: something in there didn't work today when i applied the upgrade. i don't have time to debug or file reports at the moment, so was able to partially downgrade to get a working connection again. put my hold back on iptables. i'd had a hold on it for a while due to reported errors. no idea why i decided i should try to let it go through this morning. i'm kinda tied up for a few weeks... Maybe similar. Yesterday, after dist-upgrade and reboot the network interface seemed not to be working (for instance, none ping worked/responded), it gave me the impression of a driver issue so rebooted and tried with a previous kernel, that seemed to solve partially the situation. Right now: $ uname -a Linux debian 5.4.0-2-amd64 #1 SMP Debian 5.4.8-1 (2020-01-05) x86_64 GNU/Linux The first symptom (with the more recent kernel) was a message at boot about UFW not being able to start (or something similar). That message didn't appeared when I booted with the previous kernel (the one I'm using right now). Not sure of anything. Let me know if I can do something to diagnose this situation properly. Just informing in the hope it's of some utility. Regards! Hi, running a 5.4 and 5.5 self compiled kernels for a while and it is my experience too that ufw/gufw are broken. I switched to firewalld and associated graphical config utilities on the affected machines, purging iptables in the process. On the other hand shorewall + iptables seems to work fine so far. From what I remember reading iptables is on it's way out anyway (correct me if i am wrong). Hope it helps. temporary issue that is known: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949480 songbird Thank you for pointing this, very much appreciated. I don't know how I missed that the first time I ran into this problem. Aside from UFW still being usable Firewalld is worth a look.
Re: looking for a nftables gui
On 26/02/2020 17:54, Stefan K wrote: Hello, we're looking for a nftables gui/frontend. We want to create a simple firewall (port/ip blocking) I took a look at vuurmuur[1], but it just support iptables. Does exist some other solutions? We don't want to config it via cli or config-files. Thanks for help! best regards Stefan [1] https://www.vuurmuur.org/t Hello, I believe "firewalld" fits your needs, it as a frontend available in the package "firewall-config" and a taskbar notification/status with "firewall-applet" that works in various desktop environments. The docs can walk you or your users though the basics and more [1]. "gufw" + "ufw" while not designed for nftables also work with it thanks to iptables compatibility wrappers. The occasional bug was discussed on this list not long ago. Both have the advantage of being packaged in Debian. [1] https://firewalld.org/documentation/howto/
Re: looking for a nftables gui
On 03/03/2020 14:06, Stefan K wrote: Hi, and thanks for this hint, will have a look into it. firt look is that it use XML-config syntax, right, thats not my favorite but ok i will try it. Just to be more specific: I will build a firewall (bare metal), behind the firewall I have 512 public IP addresses and I will manage the access rules, my boss and I favour a simple opensource-solution with just IP/Port access-rules On Thursday, February 27, 2020 2:19:55 AM CET tv.deb...@googlemail.com wrote: On 26/02/2020 17:54, Stefan K wrote: Hello, we're looking for a nftables gui/frontend. We want to create a simple firewall (port/ip blocking) I took a look at vuurmuur[1], but it just support iptables. Does exist some other solutions? We don't want to config it via cli or config-files. Thanks for help! best regards Stefan [1] https://www.vuurmuur.org/t Hello, I believe "firewalld" fits your needs, it as a frontend available in the package "firewall-config" and a taskbar notification/status with "firewall-applet" that works in various desktop environments. The docs can walk you or your users though the basics and more [1]. "gufw" + "ufw" while not designed for nftables also work with it thanks to iptables compatibility wrappers. The occasional bug was discussed on this list not long ago. Both have the advantage of being packaged in Debian. [1] https://firewalld.org/documentation/howto/ I have only used "firewalld" for small deployments, usually with the command-line tool "firewall-cmd". The applet is a bonus so that users can confirm that the firewall is running without the need of typing a command, and get feedback if something is blocked. It does use xml syntax. For anything larger my tool of choice is "shorewall" [2], which in Debian works with iptables or nftables thanks to the compatibility layer. The configuration is easy enough, the syntax is very straightforward, but you would have to forego the g.u.i. requirement, I am not aware of any graphical front-end for "shorewall". [2] https://shorewall.org/
Re: webcam in skype ok but not in gimp
Adam Hardy wrote: > > I'm on Linux isengard 2.6.26-2-686 #1 SMP Sat Dec 26 09:01:51 UTC 2009 > i686 GNU/Linux > > What are the drivers? lsmod doesn't list either. > > > Adam > > Given your first message: "In skype, the config shows the webcam under devices as "UVC camera (046d:09a4) (/dev/video0)" the driver should be "uvcvideo" (your webcam is a Logitech Quickcam E 3500 ?). Also your kernel is a bit old, and 2.6.26 was the first kernel to include uvcvideo, if you encounter any problem that you think could be linked to uvcvideo driver maybe you should try a newer one. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Downgrading xorg xserver from 1.7 to 1.6
Stefaan Himpe wrote: > >> I found snapshot.debian.net but it seems its last update was on 2008 or >> am I looking in the wrong place > Sorry I should have checked before pointing you there. > Make sure to backup any important files (like configuration stuff in /etc) > before you start to fiddle with these things. > > Disclaimer: I'm by no means a downgrade expert ;) > Perhaps you could temporarily get the X packages from debian testing in > order to downgrade? > > If you really want the previous version: I think if you inspect the > dependencies of the last working version of the xserver-xorg > package you should be able to find out which packages can go with that > (use dpkg --info for that). > > The specific packages I downgraded too, if I recall correctly, were the > following > (i cannot give any guarantees that these actually are the right ones, > sorry, > and perhaps you need a different video driver, etc.) > > xserver-common_2%3a1.6.5-1_all.deb > xserver-xephyr_2%3a1.6.5-1_i386.deb > xserver-xorg-core_2%3a1.6.5-1_i386.deb > xserver-xorg-input-evdev_1%3a2.2.5-1_i386.deb > xserver-xorg-input-kbd_1%3a1.3.2-4_i386.deb > xserver-xorg-input-mouse_1%3a1.4.0-4_i386.deb > xserver-xorg-input-synaptics_1.2.0-2_i386.deb > xserver-xorg-video-nv_1%3a2.1.13-1_i386.deb > > Best regards, > Stefaan. > > Hi, before going the (hard) downgrade way, did you try using the free "radeon" driver (or whichever is relevant for your card). I "fixed" a computer crippled by the same problem yesterday, running an Ati HD2600XT, and the result is so nice that the owner doesn't want to go back to fglrx ! I just removed the xorg.conf file and rebooted, "fixed". Of course your luck will depend on how well supported your hardware is, but even without "3D" acceleration it would be a workaround, I read that Ati is about to release a new driver, maybe this one will finally catch up with xorg and kernel development (for now...). http://www.phoronix.com/scan.php?page=news_item&px=NzkzMQ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Downgrading xorg xserver from 1.7 to 1.6
Matteo Riva wrote: > On Sat, Jan 30, 2010 at 11:29 PM, Wolodja Wentland > wrote: > >> I use the radeonhd driver and am very happy with its performance. I ran >> into the same behaviour you described some time ago and fixed it by using EXA >> as acceleration method. The applicable part from my xorg.conf is: >> >> --- snip --- >> Section "Device" >>Driver "radeonhd" >>Option "DRI" "on" >>Option "AccelMethod" "EXA" >>... >> EndSection >> --- snip --- > > Meh, when I read this message I instantly modified my xorg.conf > *knowing* this was the solution... but sadly it still made no difference > :( > > Can you post your full xorg.conf in case I'm missing some other required > part? Or a log of a correctly working xorg system. > > Thanks for your help. > > A good starting point would be to look at your /var/log/Xorg.0.log for errors (EE) and warnings (WW). Nowadays X his supposed to handle dri or compositing alone, but sometime it helps to show him the way. On the contrary by adding to much "random" stuff to your xorg.conf you may mess the configuration. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: apt-pinning: how to avoid installing of all-new packages?
>Brian C wrote: > Adrian Zaugg wrote on Wed, 27 Jan 2010 16:09:30 -0800 > >> PS: If you see the error: >> >> relocation error: /usr/lib/libkrb5.so.3: symbol krb5_hmac, version >> k5crypto_3_MIT not defined in file libk5crypto.so.3 with link time reference >> >> you were hit by the above mentioned bug. To solve, do the following: >> >> apt-get remove --purge libk5crypto3 >> >> (You may need to purge others for hygienic reasons.) Then >> >> apt-get install --reinstall libkrb53 > > Thank you so much for mentioning this fix. I run (ran) a mixed > Lenny/Squeeze system and after the recent updates something installed > libk5crypto3 and made it so that apache2 would not start. This was on my > webserver, so that was obviously not good. Your message is (right now) > the only thing online that explains a fix. Thanks again. > > (I don't know how to prevent libk5crypto3 from being installed again, > but I just set all my sources to Lenny and commented out the Squeeze > sources entirely for the time being, so that should work.) > [snip] Hi, to prevent reinstall of a specific package you can create a /etc/apt/preferences file (or create one in /etc/apt/preferences.d/, both methods work) with the following content: Package: libk5crypto3 Pin: release a=testing Pin-Priority: -1 Be aware that holding back a package indefinitely may lead to dependency breakage at some point. If you are not already using an /etc/apt/apt.conf (or /etc/apt/apt.conf.d/local) file, you can also benefit from creating one to keep a mixed system. The following content will set "lenny" as your default distribution: APT::Default-Release "lenny"; the command "apt-cache policy [package]" will print the actual priority policy for your system (or a specific [package]). There's a lot more refinement to the art of mixing Debian's levels, and I don't pretend to be a master in this art, "man apt.conf" and "man apt_preferences" are. Hope it helps. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: knetworkmanager on debian testing broken
Γιώργος Πάλλας wrote: > Γιώργος Πάλλας wrote: >> After yesterday'ss upgrade to version 0.7.999-2, I cannot connect to any >> network, wireless or not. >> >> Related bug: 567354 - >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567354 >> >> >> > > And by the way, I have a question: I have seen on a kubuntu machine, a > nice network manager GUI. Can I install this on my debian machine? Does > it support openvpn, vpnc, mobile, etc? And most importantly, what is the > package's name? > > Thanks! > G. > Hi, not sure about Kubuntu but it may be NetworkManager's plasmoïd, it's in Debian experimental currently under the name "plasma-widget-networkmanagement". So it's nm under the hood with vpn support (but nm brokenness too) , and the package is currently in experimental for a reason: buggy (tried it a few weeks ago). Another gui is "wicd", it's nice and works well, but I am not aware of a plugging for vpn that goes with it. You can use another gui application maybe, like "kvpnc" (never tried that one, name's suggest it should be up to the job...). Can't comment on connection through "mobile". -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: knetworkmanager on debian testing broken
Jan Hlodan write: > On Thu, Feb 18, 2010 at 7:16 PM, Jeffrin Jose wrote: >>> On Tue, Feb 9, 2010 at 12:22 AM, godo wrote: > Have the same problem with WiFi. > I don't think it's knetworkmanager or networ-kmanager. I install previous > version but it's the same. >> hello. >> you can use commandline tools . apt-get install wireless-tools. >> Also you can have a look at www.kde.org/application/internet/kwlan/ >> It is a wireless LAN Manager. >> >> /Jeffrin. >> >> > If you mean wifi-radar, it's broken too. I can connect to my wireless > network. In Gnome (network-manager-gnome) networking works fine. > And what about kwlan, I haven't tried it but it looks pretty old... > > -- > Jan > > Hi, you can remove "*networkmanager*" and use "wicd", it works fine on Squeeze amd64 kde here. Just be sure to empty your /etc/network/interfaces file, otherwise "wicd" will ignore the interface. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4b7d799e.9070...@googlemail.com
Re: DAAP server for OS X or Debian?
Dr. Jennifer Nussbaum wrote: > Hi, > > I use iTunes on a Mac to host my very large music library. I want to share >this music over DAAP to my Debian box (dont really care what client i use, >Rhythmbox or Banshee or Songbird is all fine), but the iTunes version encrypts >it so you cant use it with non-iTunes clients. > > Is there a current, supported DAAP server that runs on OS X, or alternately, > if >i decided to switch to host my music on Debian (which i dont want to do mainly >because i have a bunch of useful utilities on the Mac that dont exist on >Linux), >is there a recommended one for Linux? > > Ive looked at some of the projects, but they confuse me because there are a > lot >and some of them are no longer supported, or use plugins that are no longer >supported, etc. So if there's a "main" one that everyone likes, I will be happy >to use that. > > Thanks. > > Jen > > > > > Hi, I had good luck using mt-daapd (known also as "firefly") to serve my music (flac and ogg mainly) hosted on my Debian machine. Clients running Rhythmbox, Amarok2 (Amarok from kde3 had issues with mt-daapd), or Songbird with a plugin have no trouble playing the files on my lan/wlan. I had the occasional Mac clients (ITunes) and they were able to use the mt-daapd share too, even Winamp on Windows. I read a while ago that it's possible to run the server on Mac OSX through Fink or Macport, but since I have no interest in it I didn't investigate any further, your favourite search engine should tell you more (maybe there's a native Mac version now). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4b956b95.1070...@googlemail.com
Re: Flash Player Install Confusion
Camaleón wrote: > On Tue, 09 Mar 2010 13:32:14 -0500, Stephen Powell wrote: > >> On Tue, 9 Mar 2010 12:45:54 -0500 (EST), Camaleón wrote: >>> My advice is that you get the plugin from Adobe: >> I'm curious. Why do you advise getting the plugin directly from Adobe, >> bypassing the Debian archive? What's wrong with the standard Debian >> package flashplugin-nonfree? > > Sorry, it was not my intention to "bypass" nothing O:-) > > It's just that the installation of the Adobe plugin from the Adobe site > is plain easy to achieve (download, copy and paste), works very well > (plugin is detected by the browser) and you always get the latest plugin > available. > > Greetings, > Hi, with Flash being prone to security problems I would be worried to forget about this "customization" and miss an important update, which the use of Debian packaging system should prevent. When advising this process it would be a good idea to add that subscribing to whatever rss feed announcing Adobe Flash updates is a must. Many Flash targeted attacks take advantage of out of date versions. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4b96a17a.1030...@googlemail.com
Re: Virtualbox-3.1
>Jari Fredriksson wrote: >> On 11.3.2010 22:36, Frank J Niertit wrote: >> Hi >> >> First of all let me thank you for a great system. You have made my >> life a lot better. But there is always a but. I cannot load >> Virtualbox-3.1. I am reliant on it in order to run Windows on top of >> Debian in an office environment. I cannot get people to use just >> your work so I have to comply. However it is much easier to back up >> and maintain Windows from Virtualbox. I am trying to deploy 10 >> machines at this time but I am unable to load Virtualbox. An error >> message keeps coming up telling me that it has been temporarily >> moved. Is there any way for you to still let me load the system with >> the same load I have now while you work on whatever the problem is. >> >> Thanks again for a great system. >> >> Frank >> > > I wonder what this is... What means "Load"? Executing VirtualBox on a > Debian? No. "been temporarily moved" sounds more like http. Do it must > be download? > > I tried to download VirtualBox 3.1 for Debian AMD64 from Sun site. No > problem. > > What is the problem here? > Hello, I have this in my sources.list (Squeeze AMD64): # Sun VirtualBox deb http://download.virtualbox.org/virtualbox/debian/ lenny non-free and it's still working. apt-cache policy virtualbox-3.1 virtualbox-3.1: Installé : 3.1.4-57640_Debian_lenny Candidat : 3.1.4-57640_Debian_lenny Table de version : *** 3.1.4-57640_Debian_lenny 0 500 http://download.virtualbox.org lenny/non-free Packages 100 /var/lib/dpkg/status Typo ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4b995f37.9000...@googlemail.com
Re: Where is this deb.opera.com repository still coming from?
Tech Geek wrote : > I was under the impression that whenever you run apt-get update it reads > the repositories listed in /etc/apt/sources.list file and fetches the > contents of it but apparently something else is going on too... > > So somtime back I added the following line in my /etc/apt/sources.list: > # Opera Browser Repository > deb http://deb.opera.com/opera/ stable non-free > > and then installed opera browser from it: > apt-get update; apt-get install opera > > Now after sometime I removed the opera repository line from sources.list > (but the package is still installed) and then when I ran apt-get update, > I still saw apt-get trying to read the opera repository like this: [... snip] > Not sure what is happening and from where apt-get is still seeing the > opera repo line. > > I have always use apt-get. > > Thanks Hi, look into /etc/apt/sources.list.d/ , Opera (and others) used to put their own repo there upon installation. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4baa536c.8060...@googlemail.com
Re: 093a:2622 webcam
Le 13/04/2010 21:33, Jozsi Vadkan wrote : I bought a webcam: Bus 006 Device 004: ID 093a:2622 Pixart Imaging, Inc. What should I do, to bring it to life? I installed cheese, but it doesn't gives any video. /dev/video doesn't exists. Is there a script that installs all the webcam drivers? Or how to find out, what drivers does it need? Thank you. Hi, which kernel are you running ? gspca driver is included in kernel from 2.6.27 I believe, before that you need to compile and install it yourself. If you have the sources of your kernel search for 093a:2622 into /usr/src/linux-source-$(uname -r)/Documentation/video4linux/gspca.txt Here it gives me gspca_pac7302.ko , which should be the driver you need. Look if it's loaded with lsmod, modprobe it if not. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4bc4d60f.9020...@googlemail.com
Re: Realtek ethernet (was Re: recent mobo recommendation)
Le 14/04/2010 15:28, Ron Johnson wrote: On 2010-04-13 22:50, Stan Hoeppner wrote: Hugo Vanwoerkom put forth on 4/13/2010 3:53 PM: [snip] Either way, avoid onboard RealTek ethernet as it's not currently supported well by Debian. One might be able to make it work, but the process requires some serious hoop jumping. Really? RealTek chips are as common as flies on horse poop, and works perfectly for me. $ lspci -vs 03:00.0 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard Flags: bus master, fast devsel, latency 0, IRQ 28 I/O ports at ce00 [size=256] Memory at fddff000 (64-bit, prefetchable) [size=4K] Memory at fdde (64-bit, prefetchable) [size=64K] [virtual] Expansion ROM at fdd0 [disabled] [size=64K] Capabilities: Kernel driver in use: r8169 Hi, I have an Asus "sabertooth" 55i (socket LGA1156) with the same Realtek lan chip (rev03 here), no problem. The motherboard is overpriced due to it's marketing hype regarding "military" grade components and "Ceramix" coated heatsinks , but otherwise it's working great, and very cool too with an Intel Core i7. Layout is good for my needs, ample space for large video card without blocking any sata port. Bundle is limited to bare minimum (esata/usb bracket and a few cables). Used for video processing mainly, occasional kernel compilations, virtualbox vm and the occasional game.Works with Squeeze amd64 with stock kernel (minor sound glitches with on-board chip) and currently 2.6.33.2 (100% functional), suspend works too. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4bc5f916.80...@googlemail.com
Re: understanding kernel compilation and
On 23/10/2014 10:20, Muhammad Yousuf Khan wrote: actually i never compile or patch any kernel before for some reasons and learning i am installing kernel 3.16 stable with patch. now the question is when i visit kernel.org website i see 3.16 kernel and patch and inc.patch. i can understand what is patch it could be a fix to some bugs but what is inc.patch or incremental patch. Kernel location : https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.16.6.tar.xz Patch location : https://www.kernel.org/pub/linux/kernel/v3.x/patch-3.16.6.xz inc patch : https://www.kernel.org/pub/linux/kernel/v3.x/incr/patch-3.16.5-6.xz any help will be highly appreciated. Thanks, Yousuf Hello, incremental patches do what is implied by the naming, they move from one minor version in a branch to the next, patch-3.16.5-6.xz moves from 3.16.5 to 6, so has to be applied to 3.16.5 (only). Patches to 3.x.y versions are meant to be applied to the previous main version in the branch, patch-3.16.6.xz is to be applied to 3.16 sources (not 3.16.5) and will take you all the way to 3.16.6. Patches to main 3.x versions are to be applied to the previous main version "3.(x-1)", for instance patch-3.16.xz is to be applied to kernel sources 3.15 You can see this in the patch itself, toward the beginning you will see a section like this: " VERSION = 3 PATCHLEVEL = 16 -SUBLEVEL = 0 +SUBLEVEL = 6 " You can see that in "diff" parlance the "-" minus sign before "SUBLEVEL = 0" means it is removed and replaced by the line beginning with the "+" plus sign "SUBLEVEL = 6". You may also notice that the sizes of the patches are quite different due to the amount of changes they carry. Don't forget to rename the source directory after patching to keep track of the real version of the sources. Hope it helps. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5448cfaa.7040...@googlemail.com
Re: Possible comprommission, what to do ?
On 13/11/2014 11:57, Erwan David wrote: I just got a call form police, that they have arrested a pirate who "tried" to connect to one of my (debian) servers. They tell me he is gifted, but since the policewoman I had one phone mixes server, web site and email address, it may not be completely accurate. However, I'd prefer be sure my server was not compromised, and at the lower possibe cost (in time and work). Is there a way to check the packages/installed files from outside sources (I may boot a fresh live system in order to have clean utilities), or even provoke a reinstall with a new download of the whole system ? Thank you. Hello, first make sure the call really is from the police, I don't know which country you are talking about but this looks as much as elaborate spear-phishing than anything. Then if the system has been compromised by a talented cracker there isn't much you can do from the system itself. You need to image it and work on the image with forensic tools. As an easy first step I would look into the logs, that is if you store logs centrally on another system. If the logs are stored on the machine itself they are not to be trusted. If you didn't set up an integrity checker (like tripwire) there isn't much to compare your system with... You could set up a fresh system (possibly in a VM) of the same version, checksum all sensitive binaries/files on the fresh system and compare with those on the suspect system. Either ways you are going to spend time on this, if in any doubt the short answer is "start fresh". Good luck. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5464a0e8.80...@googlemail.com
Re: udev memory problem when trying to plug a disk with corrupted partition table
On 02/12/2014 20:48, berenger.mo...@neutralite.org wrote: [cut] Also, what is EBR (or EPBR, which seems to be some sort of enhanced whatever may be a EBR)? Extended Boot Record on DOS disks ? Where information about extended partition is stored. https://en.wikipedia.org/wiki/Extended_boot_record To fix things, I tried to take a look at testdisk, which was able to find partitions. Lot of them, in facts, included lot of... removed partitions (I did a lot of experiments on that disk before). Plus, I have no idea about how to ask it (testdisk) to fix, apply things? Any document about how to use it? Not the man, I already have read it, and it's plain useless. I think you read French, if not the page is available in English too. http://www.cgsecurity.org/wiki/TestDisk_FR It's from TestDisk author. Hope it helps. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/547e0491.7080...@googlemail.com
Re: Skipping fsck during boot with systemd?
On 08/12/2014 22:00, Brian wrote: On Mon 08 Dec 2014 at 17:14:58 +, Lisi Reisz wrote: On Monday 08 December 2014 16:25:51 Brian wrote: On Mon 08 Dec 2014 at 09:40:03 -0500, The Wanderer wrote: Several people in this thread (including, I think, you?) are responding to those complaints by saying "It's your own fault, for not doing X", rather than by saying "Yes, it's systemd's fault, for not doing / letting you do Y". Sorry again; I see nothing which translates as "It's your own fault...". "Remedial action is not needed because the right choice was made from the grub menu. If it wasn't, you get to live with the consequences and don't do it again." (You) Would you please read https://lists.debian.org/20141205205925.gb20...@copernicus.demon.co.uk again? One could even set up two GRUB entries for the choices. An extra keystroke or two and one get exactly what one wants. Isn't choice and control a wonderful thing? This is a proposed solution to having an fsck run only when chosen. Renaud OLGIATI responded What about the choice to stop fsck it if it has started at an inconvenient moment ? Then I responded as you quote above. It is obvious I am referring back to the solution, where two choices are available. Making a mistake and not choosing the right option is a human thing to do (cf: the rm command) but I went on to point out a fact of life - if booting is broken, you get to keep the pieces. And that is just the first. You have been very condemnatory from the beginning until recently. There are others? It would be only fair to give references so I have the opportunity to correct any further misimpressions. But now it seems that one has to issue a Health Warning - "Yes, it's systemd's fault, for not doing / letting you do Y" - before tackling a problem associated with it. Dream on. There is enough information in this thread for a user to do something about the lack of a previously existing feature other than complain. Hello all, Brian you seem to miss a point here, your roundabout solution to systemd introduced regression implies that when you boot your computer you get to know in advance if you can afford a fsck to run on those big data drives. I live in a country with very unreliable power, and there are quite a few around the planet. We still do computing, and have UPS, but even UPS and solar powered batteries cannot get the computer to run for ever. If I start booting and fsck runs, and I get a power cut, what am I to do ? I can wait with my fingers crossed that fsck will complete before I run out of power, at which point the system is going to crash badly, or interrupt it and shut down more or less cleanly. I gave up on systemd for my main computers because my systems where taking so long to power down ("waiting for service "blah" to shutdown") that I was at risk of running out of batteries, now I get the same during boot. Have a good day (or night). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5486a0b1.2040...@googlemail.com
Re: File & folder clean up
On 09/12/2014 20:24, Bob Proulx wrote: B. M. wrote: Short Summary: How can I find files which parent folders have the same name? ... Assuming that at least some of these files are in parent folders with the same name, do you know any tool which can help in finding them and moving them around? The 'find' program is the standard utility to find files. GNU find includes a regex (regular expression) extension. I think it should do what you want. [..cut] Hello, additionally you can install a graphical interface to do most of the "find" work for you, it is named "fslint". I wasted countless hours writing a script and reinventing the wheel a few years ago, for a case similar to yours, before I discovered "fslint". It doesn't do magic if the files are all written to though, like in my case all files were edited at random, and some had been renamed, so "newer" version could be any (checksum + timestamp), or none (merge) of them. In those occasion "Unison" or "fslint" or plain "find" can help triage things but manual inspection is still often required. Have fun. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54873627.6090...@googlemail.com
Re: Skipping fsck during boot with systemd?
On 09/12/2014 22:11, Brian wrote: On Tue 09 Dec 2014 at 10:11:45 +0300, tv.deb...@googlemail.com wrote: Brian you seem to miss a point here, your roundabout solution to systemd introduced regression implies that when you boot your computer you get to know in advance if you can afford a fsck to run on those big data drives. I live in a country with very unreliable power, and there are quite a few around the planet. We still do computing, and have UPS, but even UPS and solar powered batteries cannot get the computer to run for ever. If I start booting and fsck runs, and I get a power cut, what am I to do ? I can wait with my fingers crossed that fsck will complete before I run out of power, at which point the system is going to crash badly, or interrupt it and shut down more or less cleanly. GRUB can be told about an upcoming fsck and display a message inviting you to choose to do it or not. So you get to know about it in advance; which presumably you didn't know before. If grub could tell me if I am going to have electricity supply for the next coming hours, that could be a workaround. Otherwise it is not a substitute to being able to interrupt the fsck. You, as the person best placed, can decide whether the fsck can be afforded based on the status of the power supply. The ability to interupt the fsck after a power cut is of dubious value but, assuming you are aware of your present power reserves and what is drawn from them by an fsck, you could maybe uncross your fingers. You must be living in rainbow pony and candy trees world. To calculate the remaining time you need to know how much power is drown by any specific drive in the raid array being checked, you need to know if your batteries have had time to fully recharge after the last cut, you need to know their self-discharge level and the maximum power they can hold given their age. You also need to know if more than one array is going to be checked during this specific boot, and the power drown by any other device sharing the same power source (systemd can send me donations if it wants me to have dedicated power backup for every appliance and device). All this just because you won't admit that systemd took away a feature, and that it is systemd's business to bring it back. I am just having fun with you giving my specific use case, to see how deep you can entrenched in your denial and fanaticism regarding systemd's shortcomings. With friends like you systemd doesn't need enemies. Jessie won't hold together with tape and flaky excuses for systemd's lack of readiness in Debian. So me, (quoting you) "as the person best placed, can decide wether" I want to interrupt fsck or not, and don't need systemd to hold my hand and keep me "safe" just to pathetically try to hide the fact that it introduced bugs and regressions. I try systemd, fill bugs, try to keep current regarding it's features and sketchy documentation, but I admit that the most annoying thing about systemd transition isn't its bugs, or its more vocal opponents, but the zealots and "devil's advocate" [1] one have to face with every bit of criticism one dare to express toward systemd's shortcomings (see [2] for example of shortcomings). Have a good day (or night). [1] https://xkcd.com/1432/ [2] https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=systemd;dist=unstable -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5487dfc4.6080...@googlemail.com
Re: Skipping fsck during boot with systemd?
On 10/12/2014 09:30, Frédéric Marchal wrote: Le Tuesday 09 December 2014 16:36:53, The Wanderer a écrit : On 12/09/2014 at 10:09 AM, Chris Bannister wrote: On Tue, Dec 09, 2014 at 09:48:58AM +0100, Frédéric Marchal wrote: Now, is it possible to run fsck during shutdown? Users have been asking for this for at least 10 years. Is it now acceptable, possible, tolerated? That sounds like a recipe for disaster. Do you mean *before* shutdown? Obviously, "during shutdown" means "during the shutdown process", i.e., during the sequence of shutting-down-the-system steps which takes place in response to a "shutdown" command. That sequence already does several things prior to actually shutting down the system; perhaps most obviously, it tells various "services" to stop cleanly, kills other processes, and unmounts filesystems. There seems as if there should be no conceptual reason why it shouldn't be possible to add an additional "run a fsck" step into that sequence, probably after the unmount and before the final shutdown itself. ...except that fsck of root during the boot process is possible only because root hasn't been mounted yet, because we're still in the initramfs and haven't pivoted into the real root yet. So making that possible during shutdown would probably require setting up another ramdisk during the shutdown process (which sounds like a bad idea), pivoting into it, unmounting the original root, and then triggering the fsck... The partition only need to be remounted read only. if I'm understanding it correctly. That's what /etc/init.d/umountroot does during the shutdown sequence. So everything is in place to run fsck just before /etc/rc0.d/K10halt. Now two questions remain: 1) how to invoke an additional hypothetical /etc/rc0.d/K10fsck on demand? 2) is it wise to run fsck at that time? I have seen strong opposition in the past. Mostly turning around the risk that the user would switch the power off or the power supply would fail resulting in a damaged partition. As the risk seems as high during the boot sequence, I don't understand the opposition. All in all, while it *might* be possible, I don't think it sounds like that would be worth the trouble. That's probably right too... Frederic In the case of regularly failing power it would probably be more often inconvenient to run fsck at shutdown. In general when we choose to shutdown it is for good reasons I guess, so a long wait may has more risk to be a nuisance then than during boot? But I don't see why we couldn't get a nagging prompt to run fsck at any of boot or shutdown time when it's due, with option to cancel it. After all I think even Windows gives you this control and allow the user to opt-out of a disk check for a short time before starting it (at least it's what I remember from the Windows 7 I have used). In the long run better file-systems and online check may relegate all this to the museum of horrors, but in the meantime being able to interrupt fsck seems like the best and only option covering all use cases. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5487f0cd.6030...@googlemail.com
Re: Skipping fsck during boot with systemd?
Hello, replying inline On 10/12/2014 14:04, Andrei POPESCU wrote: On Mi, 10 dec 14, 08:53:08, tv.deb...@googlemail.com wrote: All this just because you won't admit that systemd took away a feature, and that it is systemd's business to bring it back. Mmm, I'll have to chime in here. The fact is, systemd never implemented this feature, while your statement sounds like this did work at some time but those evil systemd developers disabled it on purpose, which I'm sure is not you intention :) I understand your reasoning here, and no I am not implying that systemd had this feature working at some point, I which it had, but has a long time Debian user I see my system of choice releases has an evolution, with improvements and refinements, technical adaptations to the new gear, ...etc . When a working feature in versions "a","b","c","d" disappears in version "e", it is a regression to me unless their is a rational behind it, i.e. the feature was redundant, technically obsolete or such. When this is not the case I look into it more closely, and find that setup "a" with software "x" has the feature, and installation with software "y" has not, software "y" being the default, I consider it a regression, and blame software "y" for it (because it is the default, otherwise it would be fine). It seems to me that the default setup should be at least equal feature-wise to the preceding one, otherwise it is not worth being the default. Of course systemd bringing improvements in other areas can be seen as balancing whatever feature it takes away, but for some use case it may not always be the case. Some of my computers boot slower, if ever, with systemd, and shutdown much slower. Not that I care for speed in those areas, on laptops I have suspend/resume on SSD for that, and on workstation/servers I don't care. I can't interrupt any of systemd's business (not only fsck), even when it's obviously looping hopelessly. Just to name two use cases where systemd is showing clear regressions to me. I am not implying that the developers did plan for the endless looping of the services, but they sure didn't plan out of it. Just for clarification I don't consider systemd anyone (developer, maintainer, strong supporter) "evil", I am not in the "howling to the full moon" crowd, I am just more and more skeptical of systemd adoption as default init for the next Debian stable. Also, the systemd developers have no obligation whatsoever to implement any particular feature, regardless if that particular feature was implemented by sysvinit or not. I understand that, they are already too busy adding features as it is, and personally I don't care what they add or not. The problem looks different from Debian as a system point of view, where systemd has to fit in. It seems to me that it is working the other way right now. Debian 8 is being rebuilt around the ignition, in a hurry. To (try to) get back on topic, due to the freeze it's quite obvious that even if a patch implementing this would be made available today it won't make it into Jessie, so if you care about this and consider using Jessie with systemd your best bet at the moment are workarounds. I don't, I use sysvinit and test systemd regularly. It works on nearly all my laptops, where arguably there isn't much to do, but fails me on most of my workstation/servers. I am usually ok with workarounds, running Testing or Sid routinely, but for stable I am not a strong supporter of duck tape. Speaking of which, did anyone here test the two proposed in the Fedora bugs? 1. Add "Conflicts=shutdown.target" to the [Unit] section of fsck@.service This should at least make Ctrl-Alt-Del work, not sure what happens on next reboot though (is the fsck counter reset?). https://bugzilla.redhat.com/show_bug.cgi?id=719952 2. Add "StandardInput=tty" to fsck@.service. In theory this should allow cancellation of the fsck, but might have undesired effects if a fsck is started after boot is completed (with 'systemctl start fsck@'?). If somebody intends to test this it should probably be done on a spare machine and with partitions that you can afford to loose. https://bugzilla.redhat.com/show_bug.cgi?id=799574 Cool, that is why Debian planned to include systemd as an option for a full stable release, and then switch to it as default when the courageous testers have hammered out the most nasty integration bugs. Or am I missing something ? /gentle irony Of course, there's also the option of completely disabling automatic fsck (there are several ways to do this), as I understand is the default for new enough filesystems. This would make more sense for me on systems with bad power (you'd still get the "bad s
Re: Skipping fsck during boot with systemd?
On 10/12/2014 20:32, Ric Moore wrote: On 12/10/2014 12:53 AM, tv.deb...@googlemail.com wrote: All this just because you won't admit that It's gotten to the point that wholesale deleting of this topic is in order. :/ Ric Yes, that, earplugs and blindfold, makes for quiet days. Sorry but I didn't ask you to comment on this, you're just free to do it, so am I. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54888901.7070...@googlemail.com
Re: Install Debian on a UEFI-motherboard ?
On 10/09/2012 20:28, Tom Rausner wrote: Hi Folks. I have a tower PC with a serious motherboard problem. It is unable to pass data from one place (say the harddisk) to another (say a CDROM), without drowning it in errors. I think some pathways in the motherboard is broken, so I want to replace it. BUT most of the motherboards on the market doesn't have an old-style BIOS, they've got the UEFI-thing. So the question is; can I replace my motherboard with one infested with the UEFI-thing and get a Debian install to work on it ? Hi, UEFI isn't (normally) a problem, it's the hype around the "secure boot" feature that gives free operating systems users the chills. If your target release is Wheezy (I can't speak for Squeeze) you will most probably be able to install and use Debian on an UEFI motherboard. I bought Asus motherboard this summer (F1A75-V PRO [1] and two other models I don't remember) which came with UEFI, but they also had a bios "compatibility" mode. Look into the specs, but I guess many manufacturers will keep around a bios mode for sometimes. Anyway, as long as "Secure Boot" isn't enforced or can be deactivated by the user (which should be the norm), UEFI isn't supposed to be a show-stopper by itself. [1] http://www.asus.com/Motherboards/AMD_Socket_FM1/F1A75V_PRO/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/504e3933.2030...@googlemail.com
Re: Install Debian on a UEFI-motherboard ?
On 11/09/2012 21:13, Tom Rausner wrote: tir, 11 09 2012 kl. 17:52 +, skrev Camaleón: On Tue, 11 Sep 2012 18:51:22 +0200, Tom Rausner wrote: [...] I have it in my list of low-end (cheap) manufacturers, along with Biostar and DFI. I prefer MSI, Gigabyte or even Asus. Buy hey, there can be exceptions to the rule and the motherboard model you have in your radar has been awarded with many prizes... Generally I would agree and I was looking at MSI and ASUS to start with. I just happened to clap my eyes on this one "by accident" -and liked it. I don't have to complain about Asrock, I bought a few matx and atx the past five years for low budget desktops and they delivered. And if there is a problem the warranty works just as for Asus or Gigabyte or any other manufacturer I guess... Asrock often pack the exact same feature set for less money than more renown manufacturers, it's worth a try. After all free software teaches us that the more expensive may very well not be the best choice at all ;-) . -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/504f98f0.70...@googlemail.com
Re: Fwd: Re: Adding user to dual boot laptop
Apologies to the OP, sent it directly to him by mistake, resending to the list. On 10/10/2012 06:30, Gary Roach wrote: On 10/09/2012 07:11 PM, Wally Lepore wrote: On Tue, 09 Oct 2012 16:53:14 -0700 Gary writes: I have a Toshiba Qosmio with 2 60 GB hard drives, one with Windows XP and the other with Debian Squeeze. I just decided to add my wife as a user to the linux side. For some reason the login screen won't work. I set up her account in passwd and group and I set up her home directory. I can log her in as an su user with no problem. When I re-boot the system and the splash screen comes up (KDE4), I can enter her name and password but the system rejects the pass word. I've checked everything about 3 times and can find nothing wrong. I would guess that I have missed some niggally detail. The Windows XP side works fine. Any ideas? Gary, I found this thread by someone who has as similar problem as yourself. Perhaps it may help. http://forums.debian.net/viewtopic.php?p=45579 Regards wally Thanks for the reply. I read the reference but no joy. My login problem is happening at the kdm level before the OS is even started (I think). How does one activate /deactivate the initial login screen. I know this is possible. I think I set this up when I initially installed Debian from the iso network installation disk. I probably prompted me through the process at the time. I have since completely forgotten what I did at the time. I think I need to re configure kdm somehow. Gary R. Hi, to reconfigure kdm: dpkg-reconfigure kdm You could also try another login manager (gdm) Did you check the permissions&owner:group of /etc/shadow ? Are you sure it's not a locale setting, is the keyboard layout the right one in kdm, did you use any special sign in the password ? (hint: try to write the password in kdm user name field to see if it's correct). You could also disable login with password for this account altogether in "systemsettings" as a temporary workaround, if you are comfortable with security implications. Just a few ideas to help you get on the right track. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/507564b4.4010...@googlemail.com
Re: Adding user to dual boot laptop
On 10/10/2012 20:55, Gary Roach wrote: On 10/09/2012 04:53 PM, Gary Roach wrote: I have a Toshiba Qosmio with 2 60 GB hard drives, one with Windows XP and the other with Debian Squeeze. I just decided to add my wife as a user to the linux side. For some reason the login screen won't work. I set up her account in passwd and group and I set up her home directory. I can log her in as an su user with no problem. When I re-boot the system and the splash screen comes up (KDE4), I can enter her name and password but the system rejects the pass word. I've checked everything about 3 times and can find nothing wrong. I would guess that I have missed some niggally detail. The Windows XP side works fine. Any ideas? Gary R. Thanks for all of the suggestions. Still no fix. In answer to all of your questions: 1. The most telling would be the suggestion to hit Ctl+Alt+F1 to get the cmd line and try logging in. The log in worked fine with my wife's user name and password. No surprise, kdm isn't involved when logging from the console. 2. My wife's uid is 1001 so no problem here. 3. Permissions, owners and structure for files passwd, shadow and group are exactly the same as my entries. 4. Dpkg-reconfigure kdm pauses for a few seconds and returns to the cmd prompt. Normal behavior if only one login manager is installed, don't you want to install gdm to see if it works as a temporary workaround ? 5. We are going to be traveling and I don't want to remove the password protection from the computer. There is a Systems Setting -> Advanced -> Login Manager window that has possibilities but I haven't been able to figure out how to start the application as root. Most of the functions are grayed out. Press keys alt + F2 and in the launch box type: kdesu systemsettings Gary R. Do you see any meaningful error in /var/log/kdm.log or ~/.xsession-errors (from your wife's /home) ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5075cb7a.3060...@googlemail.com
Re: PulseAudio sound issues
On 11/10/2012 15:21, Alejandro Santos wrote: Hi, I'm using Debian "Wheezy" Testing on both my desktop computer and my Laptop. On the Laptop the sound works fine, but on the desktop I can't play two or more sounds at the same time, for example while watching a video on VLC, hitting pause, then opening a video on YouTube. Other problem is: after watching a video on VLC and closing VLC, I have to wait 20 seconds to open a new VLC program since otherwise the sound coming out of the speakers will be garbage. Hi, on Wheezy/Sid here I use Pulseaudio without problem. VLC is configured to output to pulse (vlc-plugin-pulse installed), works fine here, vlc and flash or anything else. I use KDE, did nothing special to make it work, only timidity gave me trouble but it was easily solved. User belongs to "pulse" group. Since after killing the PulseAudio daemon with pulseaudio -k the problems goes away, it is my strong opinion that this is a PulseAudio issue. My workaround so far was to remove the execution permissions on PulseAdio with: chmod a-x /usr/bin/pulseaudio I have two questions: 1. How can I debug this problem? I'd like to file an appropiate bug on the corresponding bug tracker. Make sure the problem really lies with Pulse. You could start by dumping pulse config with "--dump-conf", change log level (--log-level). Install debug packages. 2. I can't purge the package with "aptitude purge pulseaudio" since the package "pulseaudio" is a dependency on "gnome-core". After killing PulseAudio, the sound works fine. I'm a software developer myself, and I can't help keep asking myself, why is PulseAudio an strong dependency on Gnome? What advantages does PulseAudio gives me as a user over good ol' ALSA? I can play a flash video or listen to the bbc player and watch a video in vlc at the same time. I can throw Amarok into the mix or use at the same time Tuxguitar outputting through timidity and vlc (nice to write tabs from a concert video ;-). I can just click on the kde mixer applet and adjust output volume for each application separately. Record with a lightweight device and stream the sound to another powerful computer over the LAN to process it, and I am not even scratching the surface of what can be done with Pulse. I have been defiant toward anything "pulse" for a long time as it used to screw things up "out of the box" more than often (in KDE in my case). I adopted it not long ago, and I would be sad going back. My only complaint is that it isn't trivial to make it play with jackd, but given the nature of jack and the rarity of this setup it's not surprising. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5076dc4f.3050...@googlemail.com
Re: PulseAudio sound issues
On 11/10/2012 18:12, Alejandro Santos wrote: On Thu, Oct 11, 2012 at 11:48 AM, tv.deb...@googlemail.com wrote: Hi, on Wheezy/Sid here I use Pulseaudio without problem. VLC is configured to output to pulse (vlc-plugin-pulse installed), works fine here, vlc and flash or anything else. I use KDE, did nothing special to make it work, only timidity gave me trouble but it was easily solved. User belongs to "pulse" group. Before posting my initial message, I have actually read the debian-user mailing list archives, and I know for a fact that PulseAudio can generate some heated discussions. I do know that PulseAudio works for most people. Thanks for your vote of confidence. But please, don't transform this thread on yet-anoter-X-software-is-{awesome/crap}. I want my sound working, and I want to fix PulseAudio. Thanks again, Wasn't my intention, was responding to : "I'm a software developer myself, and I can't help keep asking myself, why is PulseAudio an strong dependency on Gnome? What advantages does ^^^ PulseAudio gives me as a user over good ol' ALSA?" Kind of sounds as an invite for yet another a heated discussion over the merits of pulse... I tried to be factual, give clues of what could be missing in your setup, and did say in another part of the message that I wasn't a pulseaudio "fanboy", just a currently happy user. Sorry for polluting your thread with silly attempts to help you. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5076fc7d.6000...@googlemail.com
Re: PulseAudio sound issues
On 11/10/2012 18:07, Alejandro Santos wrote: On Thu, Oct 11, 2012 at 11:45 AM, Brian wrote: On Thu 11 Oct 2012 at 10:21:54 -0300, Alejandro Santos wrote: [snip] 2. I can't purge the package with "aptitude purge pulseaudio" since the package "pulseaudio" is a dependency on "gnome-core". After killing PulseAudio, the sound works fine. I'm a software developer myself, and I can't help keep asking myself, why is PulseAudio an strong dependency on Gnome? What advantages does PulseAudio gives me as a user over good ol' ALSA? I'm just a user and I ask myself, why install gnome-core when all the bits and pieces to make a customised GNOME are in the archive? Since I am not a native English speaker I must be missing something in the translation on my head. Can you explain further this comment? Thanks, Not a native English speaker either, but what I understand is: don't install metapackages and then complain that they are crap-bags, use them as guidance to install what you really need among their dependencies. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5076fd6c@googlemail.com
Re: PulseAudio sound issues
[received personally, forwarding to list] On 11/10/2012 19:20, Yaro Kasear wrote: On 10/11/2012 12:10 PM, tv.deb...@googlemail.com wrote: On 11/10/2012 18:07, Alejandro Santos wrote: On Thu, Oct 11, 2012 at 11:45 AM, Brian wrote: On Thu 11 Oct 2012 at 10:21:54 -0300, Alejandro Santos wrote: [snip] 2. I can't purge the package with "aptitude purge pulseaudio" since the package "pulseaudio" is a dependency on "gnome-core". After killing PulseAudio, the sound works fine. I'm a software developer myself, and I can't help keep asking myself, why is PulseAudio an strong dependency on Gnome? What advantages does PulseAudio gives me as a user over good ol' ALSA? I'm just a user and I ask myself, why install gnome-core when all the bits and pieces to make a customised GNOME are in the archive? Since I am not a native English speaker I must be missing something in the translation on my head. Can you explain further this comment? Thanks, Not a native English speaker either, but what I understand is: don't install metapackages and then complain that they are crap-bags, use them as guidance to install what you really need among their dependencies. Fortunately if you don't use GNOME (Why anyone subjects themselves to GNOME 3 willingly is beyond me, but a different topic altogether. There's a very good reason why MATE forked off.), then you don't have to put up with Pulseaudio usually. It really is a pain to work with if you don't accept its default configurations, which have a 50% chance of guessing the ideal settings for your system wrong. Frankly I've always found that bare ALSA works fine in almost all cases, a far higher functionality rate than PA. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50770fbe.2060...@googlemail.com
Re: Adding user to dual boot laptop
On 13/10/2012 08:19, Gary Roach wrote: On 10/12/2012 09:34 AM, Joe wrote: On Fri, 12 Oct 2012 15:03:04 + (UTC) Curt wrote: On 2012-10-11, Gary Roach wrote: On 10/11/2012 11:32 AM, Curt wrote: On 2012-10-10, Gary Roach wrote: 3. Permissions, owners and structure for files passwd, shadow and group are exactly the same as my entries. How about user home directory and other user file permissions (which shouldn't belong to root)? That has been checked out and is all OK. The alt F2 to kdesu did allow Have you told us the tool with which you created the new user? It's not clear to me the canonical way of doing it, actually, googling around. But appears to be (as root): adduser wife On Debian, yes. It calls useradd, which is available in most/all Linuxes. After which you must add the new user to the appropriate groups (or is that done automatically)? It does add quite a few, but not necessarily all of interest. I believe it does add the audio group, failure of which is the cause of some problems with lack of sound. Exactly what is does is configurable. Actually, I used adduser and then manually checked the entries in passwd, shadow and group. I made some minor adjustments to the entries. I have done this before and had no problem. The process is fairly straight forward. Gary R. Could it be that editing the files (as root) changed ownership ? /etc/shadow and /etc/shadow.org need to belong to user "root" but group "shadow". -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50791b33.1010...@googlemail.com
Re: Installing Debian on Windows 7 machine?
On 20/10/2012 22:53, John Hasler wrote: Hugo writes: I wouldn't bother buying a complete system. I built my own. I build my own systems too, when I don't recycle $10 yard-sale boxes. However, he may need (or even want!) Windows, in which case a complete system may be significantly cheaper. On the other hand I've heard that the best way to run Windows is in a VM under Linux. Is there any way to migrate a pre-installed copy of Windows into a VM? Yes, you can use "vmware converter", it's a free download (need to register though) and then use the converted system in vmware products, or virtualbox, or even kvm (be careful to pick the right image format, one that can be converted later). I had good results with windows 7 and vmware converter 4, not so much with the newer 5 edition. Be aware that to run windows in a virtualized environment you need to re-activate your copy of windows, whatever that implies (I am not familiar with Microsoft formalities). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5083249c.30...@googlemail.com
Re: Checking local mail with Icedove
On 01/11/2012 22:36, cr...@gtek.biz wrote: This may or may not be a dumb question, but I would like to install logcheck on my local machine, and then view the emails it generates using Icedove. I guess I need a POP or IMAP server running, so my question is, which server should I install to access the emails that will be put into a maildir format, and how is it configured to accept connections locally only? Any advice? Thanks, Craig Sent - Gtek Web Mail Hi, as pointed by another poster you don't need anything else than a mua configured to store the system mail locally only (exim, postfix ... reconfigure with "dpkg-reconfigure" if necessary). IIRC the "dpkg-reconfigure" step alows you to choose maildir format too. Use the "other" type when creating the new Icedove account, then use "movemail" profile. It should work right away after exiting the account creation wizard. I use this setup when I don't want to bother with Mutt ;-). This is on Wheezy/Sid. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50938045.3050...@googlemail.com
Re: package#dpkg-reconfigure
On 02/11/2012 14:05, james gray wrote: The package: #dpkg-reconfigure Question: does it actually exist. [cut] Could some one please allow me to know , what . Thank you. Hi, $ dpkg -S dpkg-reconfigure debconf-i18n: /usr/share/man/de/man8/dpkg-reconfigure.8.gz debconf-i18n: /usr/share/man/fr/man8/dpkg-reconfigure.8.gz debconf-i18n: /usr/share/man/ru/man8/dpkg-reconfigure.8.gz debconf: /usr/share/man/man8/dpkg-reconfigure.8.gz debconf-i18n: /usr/share/man/pt/man8/dpkg-reconfigure.8.gz debconf: /usr/sbin/dpkg-reconfigure bash-completion: /usr/share/bash-completion/completions/dpkg-reconfigure debconf-i18n: /usr/share/man/es/man8/dpkg-reconfigure.8.gz I guess /usr/sbin/dpkg-reconfigure included in package "debconf" is what you are looking for. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5093c826.2060...@googlemail.com
Re: Can grub2 1.99-23 support /boot inside LVM ?
On 06/11/2012 08:47, Gour wrote: On Tue, 6 Nov 2012 10:55:40 +0530 "J. B" wrote: Can I go for completely encrypted disk now, i.e. /boot inside the LVM ? Has any one checked ? Please share your findings. Don't know about encryption, but I use wheezy (installed few days ago) on a system withoput /boot, using LVM on top of raid-1. Sincerely, Gour Hi Gour, it can work, I run a lvm on luks setup on a laptop with everything inside the lvm, the system is (k)ubuntu. Wheezy should have all required components to run this kind of setup, I just didn't have time to try yet. Maybe you want to try with a test system first, possibly in a virtual environment. That being said, it's an undocumented setup (if anyone knows of a good doc please share), it's not endorsed by the distribution, as such it can break at any time due to an update or some grub hickups. It also requires you to manually configure your system after installation since no installer I know of will let you put everything inside a (raid) + luks + lvm container. If you are not familiar with luks, grub, lvm and such I would advise to stick to the known working design with separate /boot. If you want to try first google around or better go to grub development list archive [1] and search for "/boot on luks" or other "/boot + crypt + luks" keywords, you will find hints on how to make such a setup. [1] http://blog.gmane.org/gmane.comp.boot-loaders.grub.devel -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50990efd.70...@googlemail.com
Re: Configure GRUB 2
On 08/11/2012 09:01, Lisi Reisz wrote: On Thursday 08 November 2012 05:02:23 Tom H wrote: On Wed, Nov 7, 2012 at 5:55 PM, Lisi Reisz wrote: As I understand the GRUB manual, if I want to change the config file, then i have to edit /etc/default/grub. I want to change the order of the kernels in GRUB, but I can't see any kernels at all in /etc/default/grub. (See below.) So how do I boot from the earlier kernel? We need more information. Are you trying to re-order the kernels of the installation where grub's installed or the kernels of other installations? I have upgraded the kernel rather disastrously and want to go back by default to the older kernel. I also want to find out how to do this, since in GRUB 1 it was extremely easy. I then want to compile the older kernel to have the correct, older video drivers; which at present it hasn't, which is the problem. It has the wrong video drivers, or rather, hasn't got the right ones. And yes, the two kernels where GRUB is installed. I simply can't see any menu there, so how do I alter the menu order? I'll put the /etc./default/grub file below my signature again. Thanks, Lisi In /etc/default/grub put : GRUB_DEFAULT=1 First kernel (higher version number) is "0", so "1" is the second. If by "menu" you mean grub2 equivalent of "menu.list" then "/boot/grub/grub.cfg" is what you are looking for. This file is recreated every time "update-grub" or "grub-mkconfig" is run (which you must do after modifying /etc/default/grub). Instead of using the menu.cfg you can create any custom entry you'd like using a /etc/grub/40_custom . "40" is just a hint here, choose what you want, but you should find a template with this number in the /etc/grub directory. All files there are sourced when "update-grub" is run and used to generate grub.cfg. Hope it helps. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/509b6c1f.7050...@googlemail.com
Re: Configure GRUB 2
On 08/11/2012 09:23, tv.deb...@googlemail.com wrote: On 08/11/2012 09:01, Lisi Reisz wrote: On Thursday 08 November 2012 05:02:23 Tom H wrote: On Wed, Nov 7, 2012 at 5:55 PM, Lisi Reisz wrote: As I understand the GRUB manual, if I want to change the config file, then i have to edit /etc/default/grub. I want to change the order of the kernels in GRUB, but I can't see any kernels at all in /etc/default/grub. (See below.) So how do I boot from the earlier kernel? We need more information. Are you trying to re-order the kernels of the installation where grub's installed or the kernels of other installations? I have upgraded the kernel rather disastrously and want to go back by default to the older kernel. I also want to find out how to do this, since in GRUB 1 it was extremely easy. I then want to compile the older kernel to have the correct, older video drivers; which at present it hasn't, which is the problem. It has the wrong video drivers, or rather, hasn't got the right ones. And yes, the two kernels where GRUB is installed. I simply can't see any menu there, so how do I alter the menu order? I'll put the /etc./default/grub file below my signature again. Thanks, Lisi In /etc/default/grub put : GRUB_DEFAULT=1 First kernel (higher version number) is "0", so "1" is the second. If by "menu" you mean grub2 equivalent of "menu.list" then "/boot/grub/grub.cfg" is what you are looking for. This file is recreated every time "update-grub" or "grub-mkconfig" is run (which you must do after modifying /etc/default/grub grub.d it is, sorry ). Instead of using the menu.cfg you can create any custom entry you'd like using a /etc/grub/40_custom . "40" is just a hint here, choose what you want, but you should find a template with this number in the /etc/grub /etc/grub.d directory. All files there are sourced when "update-grub" is run and used to generate grub.cfg. Hope it helps. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/509b6d0c.80...@googlemail.com
Re: Configure GRUB 2
On 08/11/2012 09:39, Lisi Reisz wrote: On Thursday 08 November 2012 08:23:59 tv.deb...@googlemail.com wrote: On 08/11/2012 09:01, Lisi Reisz wrote: [cut] And yes, the two kernels where GRUB is installed. I simply can't see any menu there, so how do I alter the menu order? I'll put the /etc./default/grub file below my signature again. Thanks, Lisi [cut] If by "menu" you mean grub2 equivalent of "menu.list" then "/boot/grub/grub.cfg" is what you are looking for. Yes, but it says you mustn't alter it manually. Well it won't break if you do, but the changes will be lost the next time "update-grub" is run. This file is recreated every time "update-grub" or "grub-mkconfig" is run (which you must do after modifying /etc/default/grub). Instead of using the menu.cfg you can create any custom entry you'd like using a /etc/grub/40_custom . "40" is just a hint here, choose what you want, but you should find a template with this number in the /etc/grub directory. All files there are sourced when "update-grub" is run and used to generate grub.cfg. Thank you! I hadn't found references to /etc/grub/40. I already corrected that, but for the sake of future references the correct path is: /etc/grub.d/ Hope it helps. It does. Thank you. Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/509b741b.2030...@googlemail.com
Re: Configure GRUB 2
On 08/11/2012 11:25, Lisi Reisz wrote: On Thursday 08 November 2012 08:58:03 tv.deb...@googlemail.com wrote: Thank you! I hadn't found references to /etc/grub/40. I already corrected that, but for the sake of future references the correct path is: /etc/grub.d/ Yes, sorry. I now (I hope!) understand the principle, but not the nitty gritty. At least I now know what to Google. Thanks! Lisi There really isn't much to do for what you want to achieve besides adding GRUB_DEFAULT=1 to /etc/default/grub and executing "update-grub". Note that every entry count as one (failsafe, memtest ...), so to know what number you need to use look into /boot/grub/grub.cfg and count the number of "menuentry" blocks before the one you want as a default. Custom entries are special cases where os-prober doesn't work, like booting from an .iso file somewhere on the disk, or an flash disk which isn't permanently connected. If you don't want to boot the previous kernel, but a specific one (known to work), cat the /boot/grub/grub.cfg and locate the entry of the kernel you want as a default. What you want is the part immediately following the "menuentry" stanza, usually in between single quotes (you don't need the whole line. Here is and example grub.cfg menu entry: menuentry 'Debian GNU/Linux, avec Linux 3.2.0-3-amd64 [...] You would need to put the following entry in /etc/default/grub: GRUB_DEFAULT='Debian GNU/Linux, avec Linux 3.2.0-3-amd64' Then execute "update-grub". I think this is a bad idea outside of a temporary test situation, if you forget such a hack you'll be booting an old kernel possibly vulnerable or troublesome as the default one. The config will also break when this specific kernel version is removed by the package manager. I don't remember if you mentioned the Debian version you are using, but in wheezy/Sid there is a graphical application dubbed "startupmanager" allowing to edit you grub config from a graphical interface, including default entry. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/509ba845.8080...@googlemail.com
Re: Configure GRUB 2
On 08/11/2012 13:50, Darac Marjal wrote: On Thu, Nov 08, 2012 at 12:47:28PM +, Darac Marjal wrote: On Thu, Nov 08, 2012 at 01:40:37PM +0100, tv.deb...@googlemail.com wrote: [cut] If you don't want to boot the previous kernel, but a specific one (known to work), cat the /boot/grub/grub.cfg and locate the entry of the kernel you want as a default. What you want is the part immediately following the "menuentry" stanza, usually in between single quotes (you don't need the whole line. Here is and example grub.cfg menu entry: menuentry 'Debian GNU/Linux, avec Linux 3.2.0-3-amd64 [...] You would need to put the following entry in /etc/default/grub: GRUB_DEFAULT='Debian GNU/Linux, avec Linux 3.2.0-3-amd64' Then execute "update-grub". I think this is a bad idea outside of a temporary test situation, if you forget such a hack you'll be booting an old kernel possibly vulnerable or troublesome as the default one. The config will also break when this specific kernel version is removed by the package manager. A couple of points. GRUB_DEFAULT takes a menu, not a title. Bah, I meant it takes a NUMBER, not a title. So your first kernel is 0, you probably then have the same kernel in emergency mode as 1, the next kernel as 2 and so on. Using a Title works in /etc/default/grub for the grub version currently in Wheezy/Sid, it will change with version 2 when the menu entries will be split between default and advanced. Using a menuentry title is also supposed to work with grub-reboot too, but doesn't always in my experience despite the manual saying: "ENTRY is a number or a menu item title." -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/509bc119.9080...@googlemail.com
Re: Can grub2 1.99-23 support /boot inside LVM ?
On 06/11/2012 14:22, tv.deb...@googlemail.com wrote: On 06/11/2012 08:47, Gour wrote: On Tue, 6 Nov 2012 10:55:40 +0530 "J. B" wrote: Can I go for completely encrypted disk now, i.e. /boot inside the LVM ? Has any one checked ? Please share your findings. Don't know about encryption, but I use wheezy (installed few days ago) on a system withoput /boot, using LVM on top of raid-1. Sincerely, Gour Hi Gour, it can work, I run a lvm on luks setup on a laptop with everything inside the lvm, the system is (k)ubuntu. Wheezy should have all required components to run this kind of setup, I just didn't have time to try yet. [...cut...] Follow-up, in wheezy/Sid grub version 2 from experimental or self-compiled from bzr grub repository is needed to achieve the desired result. With the experimental version it does work with lvm on luks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/509bc53b.5080...@googlemail.com
Re: how to encrypt/decrypt remote folder ?
On 22/11/2012 09:56, J. B wrote: Dear All, I am interested to know about folder encryption technology available in Linux for remote backup purpose. Let me clarify. I do my daily backup through ssh+rsync to a remote server. It is quite fast because of rsync. On the remote box all the backups are stored inside a folder. How can I encrypt that folder ? In that case, I have to first decrypt the folder before doing rsync and then again encrypt. Can I use any fuse based technology to achieve this ? encfs+fuse is good but propt for the password, any option to provide password through file ? Any clue/suggestion is very much welcome. Thanks Did you look into the "KEY MODULE OPTIONS" section in ecryptfs man ? Seems like there are several options to provide a pass-file. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50adf41d.6080...@googlemail.com
Re: mounting a Nikon camera
On 27/07/2014 07:01, jeremy bentham wrote: >>From time to time threads appear here describing troubles mounting > digital cameras. I never paid much attention to them, because I didn't > have a digital camera and had no intention of acquiring one. > > Time makes liars of us all, I guess. I now have a Nikon L30, and I > can't get my Lenny machine (yeah, yeah, I know) to mount it. > > I also have an ancient McApple, and all I have to to do there is connect > the camera, and iPhotos opens and gives me access to the SD card. > > The machine sees the camera: in /dev, the following appears when I > connect it (at 2014-07-26 20:16): > > crw-rw-rw- 1 root root 5, 2 2014-07-26 20:16 ptmx > drwxr-xr-x 2 root root2880 2014-07-26 20:16 char > crw-rw 1 root root252, 12 2014-07-26 20:16 usbdev3.66_ep00 > crw-rw 1 root root252, 11 2014-07-26 20:16 usbdev3.66_ep82 > crw-rw 1 root root252, 9 2014-07-26 20:16 usbdev3.66_ep01 > crw-rw 1 root root252, 10 2014-07-26 20:16 usbdev3.66_ep81 > > Note, no new block device. > > And in /proc/bus/usb, a stanza in devices: > > T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 66 Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=04b0 ProdID=0357 Rev= 1.00 > S: Manufacturer=NIKON > S: Product=NIKON DSC COOLPIX L30-PTP > S: SerialNumber=30067027 > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA > I:* If#= 0 Alt= 0 #EPs= 3 Cls=06(still) Sub=01 Prot=01 Driver=(none) > E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=4096ms > > Does that "Driver=(none)" mean I'm hosed? > > So, the computer knows the camera is connected. It just won't let me > *do* anything with it. > > Whaddo I do? > > -- > Dave Williams "Awk!" he sed, bashfully. "Do I *have* to learn > d...@eskimo.comPerl?" > > Hi Jeremy, I have no experience with your model, but the Nikon cameras I know (I use DSLRs) are accessed though PTP and not via usb as mass storage. I use Digikam (which uses libgphoto2) to retrieve the images, I know Gphoto2 and a few other programs can do that to. With a file manager it is sometimes possible to access the camera via a special url, like in Gnome Nautilus gphoto2://[usb:id] where [usb:id] is the numeric usb vendor:device id you get from the "lsusb" command output. In KDE the Dolphin file manager one can use the special "camera:/" address to access such cameras. But in your case the most likely issue is the relative old age of the system, the vendor:device id of your camera may not be among those in the known devices list. Hope it gets you on tracks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53d4b437.4000...@googlemail.com
Re: backup drive has died.
On 01/09/14 06:19 AM, Sharon Kimble wrote: > Last night my backup drive died and is now totally unresponsive, but it > did give this error message when I tried to access it - > > --8<---cut here---start->8--- > Error mounting /dev/sde1 at /media/boudiccas/back1: Command-line > `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/sde1" > "/media/boudiccas/back1"' exited with non-zero exit status 32: mount: > wrong fs > type, bad option, bad superblock on /dev/sde1, missing codepage or helper > program, or other error In some cases useful info is found in syslog - > try > dmesg | tail or so > --8<---cut here---end--->8--- > > Is there any way in which I can access the contents of the drive please? > > If not, is it safe to format it and re-use it please? If so, what should > I format it as ? ext3? ext4? Or something else? > > It has for some months been showing this message in logwatch - > --8<---cut here---start->8--- > WARNING: Kernel Errors Present > EXT4-fs (sde1): error count since last ...: 1 Time(s) > EXT4-fs (sde1): initial error at time 13973814 ...: 1 Time(s) > EXT4-fs (sde1): last error at time 13973814 ...: 1 Time(s) > --8<---cut here---end--->8--- > > and I did query what it meant and what I should do about it, but I was > reassured that it was OK and nothing needed to be done. In the light of > what's just happened, wrong! > > Thanks > Sharon. Hello, did you ever try to run fsck on this filesystem ? What is the result ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54045afa.9000...@googlemail.com
Re: [OT] SSH Server for Android
On 26/09/2014 16:24, Vincent Lefevre wrote: On 2014-09-22 18:05:00 +, Eduardo M KALINOWSKI wrote: I've used this one (mostly for copying files): https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid The last time I tried SSHDroid, it automatically started a server with the default root password "admin"! So, anyone could enter the device. I somehow missed this thread earlier, don't know if it has been mentioned before but I have been using SSHelper for two years and can only recommend it. I only start it when I actually need to move data between the Android devices and the computers running Debian. It supports key based authentication and is easy to configure, unobtrusive, and it's free open-source ad-free software. No need to root the device. http://www.arachnoid.com/android/SSHelper/ My 2 cents. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54257e30.2050...@googlemail.com
Re: Encryption of a a thumb drive
On 05/04/2014 16:39, john s. wrote: > I have encrypted a thumb drive using cryptsetup and luks. The drive is used > for > storing passwords. Cryptsetup requires that the drive be formatted ext2, ext3 > or ext4. > > My problem is that I cannot use the drive on a windows machine (belonging to > my > wife). Is there an alternative way to encrypt the drive? > > John > > Hello, you could use TrueCrypt [1] with a windows-friendly filesystem. On Debian you can either install Truecrypt, tcplay which is available through apt. [1] http://www.truecrypt.org/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53402601.2070...@googlemail.com
Re: Tools to retrieve images from dead hard drive and/or deleted partitions
On 27/12/2012 22:17, berenger.mo...@neutralite.org wrote: Ok, first, sorry to ask two questions at a time: dead drives and deleted partitions are different things, I know that. Let me explain "my" (they are, in fact, friend's problems) two problems (from different peoples). === 0) the common part. By the past, I've did some researches about forensics (just as an amateur) and learned that you mostly work on copies of media from which you are trying to recover data. But the 2 HD from which I need to recover images (mostly jpeg, I guess. The users only said that's photos, ignoring, and does not willing to know, everything about format - but if that was not computer stuff, they would have know what they've used... - ) are bigger than all my current disks ! This will be a problem, as you should first image the disk(s) and work from the images, not the physical disk. It is especially important for the disk throwing errors, every read attempt may worsen it's condition. Use tools like (g)ddrescue to make a copy despite read errors. One is 500Gb, the other is 1Tb, where mine are mostly a bunch of 40/80Gb + 1 or 2 of 250Gb. 1) I have a hard disk (1Tb, the bigger) which gave me many errors when I am trying to read it. It makes it very slow to even read, but I've been able to determine that it contains jpg images with a classic file browser. I did not managed to copy any data on a safer place... I am feared I will not even be able to retrieve one photo with my conventional hardware... but maybe some of you will have an idea? Again, try (g)ddrescue first, and when you have a good image work from that, preserving the disk from further damages. 2) I have an external hard disk which is readable without troubles. But partitions were probably destroyed, AFAIK. The user knows (as usual) nothing about what happened, so I do not even know if the partition system have been remade, or if it is simply a problem like "format c:". There are 2 partitions: _ 1: the smaller, some Gb only IIRC, which was of type FAT when I looked (or was it FAT32? Is it is very different?) _ 2: the bigger, and not a little, from my memory, it takes at least 80% of the whole disk, which is NTFS, I guess most data is there. === So, do someone have faced one of those problems, and come to a solution? For the good disk where the partitions have been deleted, you can try to recover partitions with "testdisk", it is quite efficient and fairly easy to use even for someone not familiar with consoles. To recover the images, regardless of the partitions status, try "photorec", it does a very good job most of the time and it's interface is self explanatory. Of course, I've said to their owners that keeping data on only one HD is suicidal, I've said that they can probably pay big amounts of money to specialized establishments to have them back, and have kept their hardware for some months (without using them), as a sanction (well, I tried at some times to take an eye, but had other things to do). But, now, I'm in holidays, Christmas passed, and I'm thinking that could be an interesting gift to give back to people their photos of children and drunken nights, and I hope someone here could help me to do that for them :) I've big fears that the owner of (1) will have no other choice that asking to people with dedicated hardware, but I ask in case... for (2), I've more hopes, IF the user stopped the destructive process before the disk was fully erased, but I'll need the good tools. Teach your friend(s) to backup as a Christmas gift, he'll thank you for the rest of is life ! ;-) Tools like sbackup, backintime, luckybackup and the such are easy to use even for my mother (!) and efficient enough for single-computer personal use. Good luck. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50dd6e70.1040...@googlemail.com
Re: [1/2OT] htop for 128 processors
On 18/01/2013 09:13, lina wrote: On Friday 18,January,2013 03:51 PM, Stan Hoeppner wrote: On 1/18/2013 1:29 AM, lina wrote: Anyone has some idea about how to set 4 columns like this? http://htop.sourceforge.net/htop-64.png $ man htop F2, S Setup screen. There you can configure meters displayed on the top side of the screen, as well as set various display options, choose among color schemes and select the layout of the displayed columns. Always ask man first, then debian-users. I tried, it only provided the "add to left (F5) column" and "add to right colunm (F6)", I can't drag four columns out. Anyhow I can use the average. just curious. Thanks, Hi, don't know if you are still looking into this, but wyou could try: Go to setup (F2), remove current CPU meter from left column (F9), add "CPUs 1&2/4" to left column (F5), then add "CPUs 3&4/4" to right column (F6). When done move the newly added meters up (F7). It works with 8 and 16 cores for sure, don't see why it wouldn't work for your configuration. HIH. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50fa645e.2030...@googlemail.com
Re: [1/2OT] htop for 128 processors
On 19/01/2013 11:13, lina wrote: On Saturday 19,January,2013 05:16 PM, tv.deb...@googlemail.com wrote: On 18/01/2013 09:13, lina wrote: On Friday 18,January,2013 03:51 PM, Stan Hoeppner wrote: On 1/18/2013 1:29 AM, lina wrote: Anyone has some idea about how to set 4 columns like this? http://htop.sourceforge.net/htop-64.png $ man htop F2, S Setup screen. There you can configure meters displayed on the top side of the screen, as well as set various display options, choose among color schemes and select the layout of the displayed columns. Always ask man first, then debian-users. I tried, it only provided the "add to left (F5) column" and "add to right colunm (F6)", I can't drag four columns out. Anyhow I can use the average. just curious. Thanks, Hi, don't know if you are still looking into this, but wyou could try: Go to setup (F2), remove current CPU meter from left column (F9), add "CPUs 1&2/4" to left column (F5), then add "CPUs 3&4/4" to right column (F6). When done move the newly added meters up (F7). It works with 8 and 16 cores for sure, don't see why it wouldn't work for your configuration. But it seems still only two columns, not 4 columns. HIH. Strange, it sure is working here both in vt and in X, through ssh too. Maybe it has to do with screen resolution or the size of the term window ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50fa87ce.3040...@googlemail.com
Re: [1/2OT] how to delete ??? file
On 19/01/2013 14:31, Martin Steigerwald wrote: Hi Lina, Am Freitag, 18. Januar 2013 schrieb lina: > Where is that directory located? In your home directory? Yes, in my home directory. The path is /home/lina/try -? ? ? ? ?? XX.tar I imagine it could also be a subtile lack of access rights (SELinux possibly?), but usually I would suspect a message about it then. Yes, it has SELinux. Might be related, but I am not deeply enough into it. I wonder how can I delete it? Are you sure that it is a good idea to try to delete something were you at least partly have no access rights to and then as it appears don´t know how it happened to be there in the first place? If thats the monster box I´d contact your system administrator about it :). It's well maintained, at least far better than other boxes I met before. Just it might be my fault, long long time ago, I might chmod blindly at that time. Monster box was related to the hardware equipment, not the administration :) Also be careful on what possibly private information you disclose here to the public. As interested as I would be to have some access to such a box :) How? btw, please feel free to help me delete this directory if you access to it. what happens on chmod u+rwx /home/lina/try What does find /home/lina/try -ls say then? If -ls in find does not work try: find /home/lina/try -exec ls -ld {} \; Thanks, Hi, regarding SELinux attributes you can use the "-Z" ("--context") ls option to find out, and remount /home without ACL if necessary (or use "setfacl -b"). But it looks more to me as if this files are somehow corrupted. Did you fsck this file-system lately ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50fac9bc.1090...@googlemail.com
Re: [1/2OT] how to delete ??? file
On 19/01/2013 17:33, lina wrote: On Sunday 20,January,2013 12:28 AM, tv.deb...@googlemail.com wrote: On 19/01/2013 14:31, Martin Steigerwald wrote: Hi Lina, Am Freitag, 18. Januar 2013 schrieb lina: > Where is that directory located? In your home directory? Yes, in my home directory. The path is /home/lina/try -? ? ? ? ?? XX.tar I imagine it could also be a subtile lack of access rights (SELinux possibly?), but usually I would suspect a message about it then. Yes, it has SELinux. Might be related, but I am not deeply enough into it. I wonder how can I delete it? Are you sure that it is a good idea to try to delete something were you at least partly have no access rights to and then as it appears don´t know how it happened to be there in the first place? If thats the monster box I´d contact your system administrator about it :). It's well maintained, at least far better than other boxes I met before. Just it might be my fault, long long time ago, I might chmod blindly at that time. Monster box was related to the hardware equipment, not the administration :) Also be careful on what possibly private information you disclose here to the public. As interested as I would be to have some access to such a box :) How? btw, please feel free to help me delete this directory if you access to it. what happens on chmod u+rwx /home/lina/try What does find /home/lina/try -ls say then? If -ls in find does not work try: find /home/lina/try -exec ls -ld {} \; Thanks, Hi, regarding SELinux attributes you can use the "-Z" ("--context") ls option to find out, and remount /home without ACL if necessary (or use "setfacl -b"). But it looks more to me as if this files are somehow corrupted. Did you fsck this file-system lately ? $ fsck -c fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 (17-May-2010) /dev/mapper/vg_mars-lv_root is mounted. WARNING!!! The filesystem is mounted. If you continue you ***WILL*** cause ***SEVERE*** filesystem damage. Do you really want to continue (y/n)? no check aborted. $ fsck -n fsck from util-linux-ng 2.17.2 e2fsck 1.41.12 (17-May-2010) Warning! /dev/mapper/vg_mars-lv_root is mounted. fsck.ext4: Permission denied while trying to open /dev/mapper/vg_mars-lv_root You must have r/o access to the filesystem or be root There are some other distracting message in dmesg, like: CIFS VFS: Send error in SessSetup = -13 Status code returned 0xc06a NT_STATUS_WRONG_PASSWORD CIFS VFS: Send error in SessSetup = -13 mdrun_mpi[945]: segfault at 1fe7360 ip 007df9b9 sp 7fffdf9ffef0 error 4 in mdrun_mpi[40+48] Thanks, Sorry, I wrongly assumed you were familiar with fsck, you can't check a mounted file-system. The error messages are normal, fsck won't proceed for very good reasons if the file-system is mounted. CIFS errors are just what it says: wrong password. Looks like someone tried to mount a samba share with wrong credentials. "mdrun_mpi" is some executable which is segfaulting. A corrupt file-system could generate such cascading errors, but they could also be unrelated. Anyway this system needs some serious attention from root ! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50fad322.5070...@googlemail.com
Re: [1/2OT] how to delete ??? file
## Transferring back to the list since i received this personally, and ## I am not the OP On 19/01/2013 19:12, pavicic wrote: Hi, -? ? ? ? ?? XX.tar I wonder how can I delete it? I've just come accross this. Didn't read the history. Thought the following might help. Such orphan files appeared on my cluster when the system failed to close the files that were generated by massive calculations. I succeeded in deleting them via mc (Midgnight Commander). In mc, I was also able to see some more details than on the command line. M. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50faf875.1080...@googlemail.com
Re: Anybody have a chromebook? Can it run Debian?
On 02/02/2013 00:48, Rick Thomas wrote: I was googling for an inexpensive laptop for a friend and came across the chromebook C710 from Acer: http://www.staples.com/Acer-C710-2847-116-Chromebook/product_125265 or http://www.newegg.com/Product/Product.aspx?Item=N82E16834215914 • Intel Celeron 847 1.1GHz • 2GB Memory (expandable to 4GB) 320GB HDD (5400RPM) • 11.6" HD Widescreen CineCrystal™ LED-backlit LCD • Wi-fi 802.11a/b/g/n • Google Chome OS Price $200. Can't beat the price! Does anybody have any experience with this device? Can I put Debian on it? How about other flavors of Linux? Failing that, what do you think of Chrome-OS? Can it run Libre Office? Thanks! Rick You may have to wait a bit for full support on some models, see [1]. You will probably need bleeding edge software and kernel to get the most out of it, newer than Wheezy's unless some patches are back-ported. Installation isn't trivial either, you can see [2] for a walk-through with a dedicated Ubuntu build. [1]http://lkml.indiana.edu/hypermail/linux/kernel/1302.0/00628.html [2] http://liliputing.com/2012/11/how-to-install-ubuntu-12-04-on-the-199-acer-c7-chromebook.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/510cdad0.8060...@googlemail.com
Re: Mozilla Firefox ESR for 64bit systems
On 04/04/2013 21:55, Charles Kroeger wrote: On Mon, 01 Apr 2013 14:20:02 +0200 Andreas Glaeser wrote: it seems to be necessary to remove iceweasel first, prior to using Firefox. # apt-get remove iceweasel [...cut...] Now I have firefox ESR 17.0.5 OR iceweasel 10.0.12 one can take one's pick. What am I looking for here, better HTML 5 (?) Will that do away with all those video-not-available messages I see on youtube, or make things worse? More options are generally welcomed. Before anyone wants to make the suggestion to remove iceweasel after installing firefox, apt-get remove (still) wants to install iceape etc. in iceweasel's place. (after firefox is installed) Unless I want iceape and the iceape browser and chatzilla installed, I have to keep iceweasel in place. Could this be a bug. happy trails Hi, not sure if I am catching this thread right in the middle, never saw the beginning of it so feel free to disregard my post if it is redundant. You can get Iceweasel 17 esr from http://mozilla.debian.net/ without a sweat, I run it on my amd64 testing systems right now. A bit of package-pinning may be necessary if you have a mixed "sources.list", but otherwise it as easy as following the Debian mozilla team's instructions. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/515e705d.9060...@googlemail.com
Re: Planning for Disk Encryption
On 05/01/13 06:23, T o n g wrote: My understanding/impression is that with Full Disk Encryption, even a single bad sector will have a much larger impact than itself and might ruin the whole disk. ... So, what would you plan for normal home users on disk failure for Disk Encryption? How to cope with it? Hi, I guess what you are referring to can happen if you get bad sectors where the luks header resides. This is a single point of failure in luks whole disk encryption, to plan for this you must have current backups (but most likely on another encrypted media, so there is always a tiny probability that this is going to happen there too), and backup the luks headers (see command "cryptsetup luksHeaderBackup"). See cryptsetup man for security good practice regarding the headers backups. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51821384.7000...@googlemail.com
Re: avahi-daemon: Is it *really* needed?
On 23/05/2013 22:15, David Guntner wrote: > (I'm on the list, so replying back to the list is probably best.) > > theart...@zoho.com grabbed a keyboard and wrote: >> Hi David, >> >> Check it 'deborphan', in the archive. It does a reverse >> dependency lookup on a package, similar to apt-cache's depends >> and rdepends commands, but only shows installed packages. >> >> So to see all the packages you have installed that depend on >> avahi, run: deborphan -a avahi-daemon or to see the packages >> that depend on or 'recommend' avahi, run: deborphan -an >> avahi-daemon > > Thanks; good to know about that one, but that's not quite what I'm > looking for. I'm hoping that someone on the list knows if it's > something that's really needed. I already know there are packages > set as dependent on it since it tells me all about that when I try > to purge the package. :-) > > --Dave > Hi, if you don't use it (have no use for mdns/zeroconf stuff on your network) you can do without, I sure do. Few packages actually depend on it, most often it's a "suggest" or "recommend". If a metapackage depends on it (like Gnome) you can always get rid of the metapackage, it won't remove the whole Gnome desktop environment. My 2 cents. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/519e82e9.8010...@googlemail.com
Re: cryptsetup failing on boot with 3.4.x kernels
On 11/06/2012 04:19, Celejar wrote: On Sun, 10 Jun 2012 23:25:02 +0100 Jon Dowland wrote: On Sun, Jun 10, 2012 at 08:28:10AM -0400, Celejar wrote: Hi, I have my rootfs on lvm on top of a luks (cryptsetup) encrypted volume. System has been working fine since installation with stock Debian, as well as self-built kernels (2.6.x - 3.3.8, grub2), using a ram disk (initramfs) with cryptsetup included to unlock the luks volume on boot. With recent 3.4.x kernels (stable branch, 3.4.1 / 3.4.2), th system fails to unlock the luks volume, reporting: cryptsetup: evms_activate not available [or something like that - typing from memory] Running amd64 stable, with some backports stuff, on a Lenovo Thinkpad t61. Any idea what this is? Are the failing kernels hand built or are they packaged? Hand built from vanilla upstream sources. Celejar Hi, I run LUKS on top of raid (mdadm) on some systems and lvm on LUKS on others, with locally compiled 3.4.x on testing (amd64), so it's probably not something related to 3.4 kernels proper, maybe the problem is stable + 3.4, but more likely the kernel or initramfs-tools config. What mechanism do you use to unlock the luks container (passphrase, key-file...) ? Did you try to rebuild initramfs in verbose mode, or unpack it to check that needed modules are indeed there ? Did you grep your kernel config for needed modules and compare output with a config known to work ? Maybe going through 3.4 kernel main changes [1] can ring a bell, I don't remember anything specific to this but maybe I already forgot. [1] http://kernelnewbies.org/LinuxChanges -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fd772f9.1000...@googlemail.com
Re: Recopying /home/myusername and getting it to work by copy and paste
On 15/08/2012 10:05, Merciadri Luca wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've got a backup of /home on some external HDD. Let us consider that one of my internal HDDs, more precisely the one containing /home, fails. I then need to replace it. If I manage to make the external HDD internal, and change /etc/fstab consequently, would it work without any issues? When should I change /etc/fstab? Would the path to the `new internal HDD' (the one which was precedently external) be the same as the path to the old one (the one that failed)? Thanks. - -- Merciadri Luca Hi, if your backup consists in a copy of folders/files from your /home/username and respects the standard hierarchy (backup should contains a "username" folder with all your files and folder in it), and if the copy method and the filesystem preserved the permissions (and eventually other attributes), you can simply plug the disk in, change the backup drive partition UUID to the one used in the fstab and be done with it. Boot your system in single user or from a live-cd, or any other linux system at hand, plug your external backup drive, read the UUID used for /home in your fstab and apply it to the external drive partition (unmounted): tune2fs -U UUID-from-the-fstab /dev/address-of-backup-drive-partition It works with labels too, use option "-L" instead of "-U". man tune2fs is your friend. Of course you can do it the other way round, change your fstab to the new drive partition UUID or label. If the filesystem is different from the original partition you need to update the fstab accordingly in any case. If you don't use UUID's or labels in fstab, then anything can happen. It's hard to predict the name your new drive will show up with. Hope it helps. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/502b97b5.4050...@googlemail.com
Re: How to enlarge LUKS partition ?
On 20/08/2012 16:53, J. B wrote: Dear list, Is there anyone who is successful increasing LUKS partition ? I have 2 physical partitions /dev/sda1 and /dev/sda2. There is 800 GB free disk space (un-partitioned) between sda1& sda2 Whole /dev/sda2 is dedicated to a LUKS partition which holds a LVM. I have tried with gparted to increase /dev/sda2 but there is no support to increase luks. How can I increase sda2, so that I can later execute cryptsetup resize ? Thanks Hi, I resized LUKS containers on several occasions, without lvm on top but it shouldn't be much more difficult. I usually operate from a live-cd, any will do as long as there is cryptsetup/lvm/whatever-filesystem-you-use support, or that you can install it. Close LUKS container if open (unmount partition, close lvm first if needed), fire up fdisk to destroy the partition that support the LUKS container, and recreate it with the desired size. fdisk commands are "d" (destroy), choose partition number, then "n" (new), type of partition, beginning and ending of new partition, and finally "w" to write changes to disk. Open the LUKS container, resize it to fill the new partition ("cryptsetup resize $container-name") Now you'll need to resize the lvm layer. Someone more familiar with lvm may fill in this stage for you, Google or "man lvm" can do that too. When done activate the lv and resize filesystem ("resize2fs"), and finally "fsck" the filesystem and eventually mount it to check that everything is in good order. The only mildly tricky part is to get your numbers right (partition number and size) in fdisk. Cautious penguin says: Write down exact commands for each step before you proceed for the first time, and refresh your backup. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50325e6b.2050...@googlemail.com
Re: How to enlarge LUKS partition ?
On 20/08/2012 19:14, J. B wrote: On Mon, 20 Aug 2012 17:57:31 +0200 "tv.deb...@googlemail.com" wrote: On 20/08/2012 16:53, J. B wrote: Dear list, Is there anyone who is successful increasing LUKS partition ? I have 2 physical partitions /dev/sda1 and /dev/sda2. There is 800 GB free disk space (un-partitioned) between sda1& sda2 Whole /dev/sda2 is dedicated to a LUKS partition which holds a LVM. I have tried with gparted to increase /dev/sda2 but there is no support to increase luks. How can I increase sda2, so that I can later execute cryptsetup resize ? Thanks Hi, I resized LUKS containers on several occasions, without lvm on top but it shouldn't be much more difficult. I usually operate from a live-cd, any will do as long as there is cryptsetup/lvm/whatever-filesystem-you-use support, or that you can install it. Close LUKS container if open (unmount partition, close lvm first if needed), fire up fdisk to destroy the partition that support the LUKS container, and recreate it with the desired size. fdisk commands are "d" (destroy), But it also destroy the data in LVM, no ? It doesn't. When you are done with fdisk, start your luks container as usual: cryptsetup luksOpen /dev/sda2 $dev_name (anything starting with "$" needs to be replace by the correct device name) cryptsetup resize $dev_name Resize VG: pvresize /dev/mapper/$vg_name Resize LV: lvresize -L +800GB /dev/$vg_name/$lv_name (If size isn't correct the command output will give you the max extents available, use that number with "-l" option) Start LV: vgchange -ay Check filesystem, resize it, check again: e2fsck -fp /dev/$vg_name/$lv_name resize2fs /dev/$vg_name/$lv_name e2fsck -fp /dev/$vg_name/$lv_name Mount filesystem and verify that data are still there. Just tested live during my tea-break to make sure lvm wasn't screwing things. The only difference with my system is that free space comes before the LUKS container in your case, I never had this scenario (free space always after LUKS). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5032b962.90...@googlemail.com
Re: How to enlarge LUKS partition ?
On 21/08/2012 11:46, J. B wrote: On Tue, 21 Aug 2012 00:25:38 +0200 "tv.deb...@googlemail.com" wrote: On 20/08/2012 19:14, J. B wrote: On Mon, 20 Aug 2012 17:57:31 +0200 "tv.deb...@googlemail.com" wrote: On 20/08/2012 16:53, J. B wrote: Dear list, Is there anyone who is successful increasing LUKS partition ? I have 2 physical partitions /dev/sda1 and /dev/sda2. There is 800 GB free disk space (un-partitioned) between sda1&sda2 Whole /dev/sda2 is dedicated to a LUKS partition which holds a LVM. I have tried with gparted to increase /dev/sda2 but there is no support to increase luks. How can I increase sda2, so that I can later execute cryptsetup resize ? Thanks Hi, I resized LUKS containers on several occasions, without lvm on top but it shouldn't be much more difficult. I usually operate from a live-cd, any will do as long as there is cryptsetup/lvm/whatever-filesystem-you-use support, or that you can install it. Close LUKS container if open (unmount partition, close lvm first if needed), fire up fdisk to destroy the partition that support the LUKS container, and recreate it with the desired size. fdisk commands are "d" (destroy), [...cut...] The only difference with my system is that free space comes before the LUKS container in your case, I never had this scenario (free space always after LUKS). and that difference makes me nervous. I have gone through some more online tutorial, http://www.tuxevara.de/2010/03/resizing-a-luks-encrypted-root-filesystem-on-lvm/ http://www.hermann-uwe.de/blog/resizing-a-dm-crypt-lvm-ext3-partition where it is suggested to create the new partition starting from that *exact block* as the deleted one. And my free space is before the partition not after so confused :-( You could go a safer way by creating a new LUKS + lvm on your free space, migrate your system/data, adjust system to the new UUIDs/lvm names, and then destroy sda2 and grow the new container. It will take longer and you'll need to tinker a bit with your system configuration to adjust it to the new partition/LUKS container/lvm. (If) I have some spare time later today I'll test your use-case (free space before LUKS) and report here, I am curious too. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/50336974.9090...@googlemail.com
Re: How to enlarge LUKS partition ?
>On 21/08/2012 19:22, J. B wrote: [trim] The free space is 10 GB, where the luks partition is 200 GB. I'm eagerly waiting to know the output of your experiment. Ok, I was under the impression from your first post that the free space was 800GB. I didn't have time to do extensive tests but with such a small space available compared to the size of the LUKS there is no sane way to do what you want. I didn't manage to make the "fdisk method" work backward, even with a LUKS header backup it doesn't seem to be possible. At some point you will need to "dd" out your LUKS container, then "dd" it back to a newly created partition including the free space. This would imply a 200GB space available somewhere, and would take ages to complete. You are better off to backup the data, take good notes of partition UUID, LUKS container as well as vg and lv details. Then create a new partition including the free space and previous sda2 (force same UUID as the old one with "tune2fs -U"), create a fresh LUKS (again maintaining same UUID for convenience), do the same for the lvm layer and copy data back. If you write random data over the backup afterward or backup to a temporary LUKS container this will leave no trace of the data in clear. Of course you'll need enough space somewhere, but likely less than the 200GB of the LUKS container. Sorry, can't get LUKS to walk backward :-{ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5033ed59.8030...@googlemail.com
Re: How to enlarge LUKS partition ?
On 23/08/2012 06:31, Kushal Kumaran wrote: On Wed, Aug 22, 2012 at 1:49 AM, tv.deb...@googlemail.com wrote: On 21/08/2012 19:22, J. B wrote: [trim] The free space is 10 GB, where the luks partition is 200 GB. I'm eagerly waiting to know the output of your experiment. Ok, I was under the impression from your first post that the free space was 800GB. I didn't have time to do extensive tests but with such a small space available compared to the size of the LUKS there is no sane way to do what you want. I didn't manage to make the "fdisk method" work backward, even with a LUKS header backup it doesn't seem to be possible. I wonder what would happen if you gave dd overlapping regions of the disk to read from and write to. Something like (CAUTION, do not run): dd if=/dev/sda skip=5000 of=/dev/sda seek=1000 In theory, if dd is instructed to sync every read and write, to read strictly sequentially the source it could work (not saying that dd will agree to do it). You'd end up with a wrong partition table on the device at the end of the process, because in this particular case the data will be copied beyond the limit of the free partition (too small) and over the second partition the LUKS container resides on. In the end you would have a filesystem stretching way after the partition boundary, a lot of difficult recovery work to do to fix that, if possible. Not a reliable "normal" admin solution. LUKS just isn't that flexible. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5035d30a.7050...@googlemail.com
Re: counter strike
On the 03/03/2011 10:53, Sven Hoexter wrote: > On Thu, Mar 03, 2011 at 10:11:50AM +0100, Alex PADOLY wrote: >> Hello, >> >> I would like to know How I can play to counter strike on Debian 6.0. > > That requires wine nit Squeeze ships with wine 1.0 and according to > http://appdb.winehq.org/objectManager.php?sClass=version&iId=3731 > wine 1.3 has improved it a lot. So you've to compile that from source > for now. > > Sven Hello, I am not familiar with "counter strike", but you can find the latest wine in a repository for Debian, follow instruction from http://www.winehq.org/download/deblenny You'll find instructions for Squeeze too. This packages are NOT from Debian, you'll have to trust the wine guys to not trash your system. The same website hosts an applications database with their level of support in wine, quirks necessary to get it running, and so on. http://appdb.winehq.org/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d6f6d84.9080...@googlemail.com
Re: Cinelerra - not seeing video output
16/03/2011 21:01, Alan Chandler wrote: > I would like to use Cinelerra for some video editing, but firing it up > displays the correct windows and data, but nothing is displayed in the > video checker and compositor windows. > > It used to - I made a large complex video before, and I loaded up the > xml project file, and everything was there except the video outputs. > > > Previously Cinelerra would prompt for more memory - but it doesn't now. > > > Any idea how I can get it to display video content? > > > (I am running 32 bit version of Debian). > > Hi, we could use a bit of extra info here, what Debian version are you running ? What graphic board and driver ? Where did you get Cinelerra, debian-multimedia ? Is it Cinelerra proper or "community edition" ? Did you try to run cinelerra from a console, see if it tells something useful (error) ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d815dcb.6070...@googlemail.com
Re: Cinelerra - not seeing video output [Solved]
Le 17/03/2011 08:34, Alan Chandler a écrit : > On 17/03/11 01:03, tv.deb...@googlemail.com wrote: >> 16/03/2011 21:01, Alan Chandler wrote: >>> I would like to use Cinelerra for some video editing, but firing it up >>> displays the correct windows and data, but nothing is displayed in the >>> video checker and compositor windows. >>> >>> It used to - I made a large complex video before, and I loaded up the >>> xml project file, and everything was there except the video outputs. >>> >>> >>> Previously Cinelerra would prompt for more memory - but it doesn't now. >>> >>> >>> Any idea how I can get it to display video content? >>> >>> >>> (I am running 32 bit version of Debian). >>> >>> >> >> Hi, we could use a bit of extra info here, what Debian version are you >> running ? What graphic board and driver ? Where did you get Cinelerra, >> debian-multimedia ? Is it Cinelerra proper or "community edition" ? >> >> Did you try to run cinelerra from a console, see if it tells something >> useful (error) ? >> >> > > In answer to your questions, I am running Sid, its Cinelerra 4.2 (which > I assume is the Community Edition from Debian Multimedia - but I am not > sure - but a standard Debian package). Its an Intel On board Graphics > GMA 950 (I think) which is driven with the X11-XV driver by Cinelerra > > > I got the answer on IRC late last night - I was using RGBA-Float as the > color mode, and that is broken. Switch to RBBA-8bit and it works fine. > Good you solved it, for the record debian-multimedia has both "vanilla" cinelerra from heroin virtual [1], and cinelerra-cv [2] which is a community alternate build (now less actively maintained since a new project "lumiera [3]" is planned to replace cinelerra-cv). Have fun. [1]http://heroinewarrior.com/cinelerra.php [2]http://cinelerra.org/ [3]http://lumiera.org/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d81c7a6.40...@googlemail.com
Re: sum two disks using RAID or LVM?
18/03/2011 09:15, Γιώργος Πάλλας wrote: > Hi all! > > A short question: I have two 500GB HDDs and I want to use their space as > one. Should I aggregate them with software RAID, or using LVM in regard > to data safety? If one of them malfunctions, is one of the two > approaches better? > > Hi, mdadm is the tool and raid0 will do what you want (500+500=1000). Assume all data will be lost in case of a problem with the raid, in practice it could be possible to recover some data, but I wouldn't count on that. Backup, raid0 increases the likeliness of a failure. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d83371d.9000...@googlemail.com
Re: removing debian-multimedia from sources.list
24/03/2011 18:06, Pierre Frenkiel wrote: > Hi everybody, > I had a problem reading 1 iso file with vlc(it works with all others) >libdvdnav: DVD disk reports itself with Region mask 0x00f5. > Regions: 2 4 >libdvdnav: ifoOpenVTSI failed > I then went to the videolan forum, and found there an instruction to > remove the debian-multimedia from the sources.list. Here is an extract > of the thread: > >= >A significant number of VLC users on Debian and Ubuntu appear to be >hit by bugs in the unofficial so-called Debian Multimedia repository >(debian-multimedia.org). > >This unofficial package repository is well known to introduce >incompatibilities in the FFMPEG libraries. This causes VLC media >player and possibly some other multimedia software to stop working, >as the FFMPEG binary interface is silently broken. The VideoLAN >project strongly advises that you do not use the Debian Multimedia >repository under any circumstances. Before you report problems with >VLC on Debian or Ubuntu, make sure you have not installed any package >from that repository. >= > > Before reporting this problem, I followed exactly the instructions. The > net result was that: > 1/ the problem with vlc remains > 2/ I loose k9copy, which seems to be available only from debian-multimedia, >and also a lot of useful packages, like transcode, dvd-slideshow,... > > Has anybody followed these "curious" recommandations? > Hi, the problem that probably triggered this recommendation is long gone, at the time there was an incompatibility between d-m libav* and Debian vlc if I recall correctly. I use d-m currently and have no problem with vlc which I use daily, as you noticed your problem seems to be somewhere else. I am not even sure there is a libdvdnav(4) or vlc package in d-m right now... Regarding d-m and Debian, of course you use external repositories at your own risks, but it's generally pretty safe with d-m, and its main maintainer is also a Debian developer. You could add d-m to sources.list but use a low pinning priority, and just pull what you want explicitly. However, this could trigger dependencies problems. When you have or suspect a problem with a d-m package the best way to ask for help is the d-m users list [1], which any d-m user should follow IMHO. [1] dmo-discuss...@debian-multimedia.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d8b8041.7080...@googlemail.com