Re: Laptops, UEFI, Secure Boot and Debian
On Tue, 26 May 2015 11:18:00 +0200 Petter Adsen pet...@synth.no wrote: Second, virtual machines these days are incredibly easy to set up and use. Steve Litt posted a link to an introductory article on qemu/KVM here very recently, I suggest that as a starting point. There is a Sorry about that, the post was on another list. Anyway, the link: http://troubleshooters.com/linux/diy/qemu.htm Petter -- I'm ionized Are you sure? I'm positive. pgpKKB1QD4Id1.pgp Description: OpenPGP digital signature
Re: mixer.app ; how do i use it after installing it with aptitude?
On Sun, 24 May 2015 14:46:34 -0600 Paul E Condon pecon...@mesanetworks.net wrote: I found a .deb package, named 'mixer.app' by accident in aptitude interactive mode. My current sound mixer is the one installed by xfce, which uses much to much area on my display screen for my taste. (about 20%) I think I need to learn how to create a 'launcher', which is something I have never done. Where can I find instructions for creating a launcher specific to xfce? If you want the launcher to only display in Xfce then set this in your .desktop file: OnlyShowIn=Xfce I've already found a way of mouse clicking that pops up a small window with small text entry boxes in it, but I have no idea what to type into the boxes. And, for all I know, my mouse clicking is not at all any part of getting the mixer.app .deb to play nicely with xfce. Also, mixer.app may not be the best solution for my screen real estate problem. Alternatives for a smaller area mixer graphic will be happily entertained. Do you really need a mixer, or do you just need a way to control volume/mute? If the latter, you could bind some keys to the XF86_Volume*-keys (and mute) if you don't have multimedia keys on your keyboard, Xfce recognizes those and adjusts the volume accordingly. There are probably command line tools that will adjust the volume by a certain number of steps that you could use for this, also, although I don't know of any. If you want a graphical mixer, I found wmmixer - is that the same as the one you are talking about? Just a thought. :) Petter -- I'm ionized Are you sure? I'm positive. pgpJJGNT593m_.pgp Description: OpenPGP digital signature
Re: Laptops, UEFI, Secure Boot and Debian
On Sun, 24 May 2015 17:39:08 -0700 Patrick Bartek nemomm...@gmail.com wrote: On Sun, 24 May 2015, Petter Adsen wrote: On Sat, 23 May 2015 12:46:10 -0700 Patrick Bartek nemomm...@gmail.com wrote: On Sat, 23 May 2015, Petter Adsen wrote: On Sat, 23 May 2015 09:04:55 -0700 Patrick Bartek nemomm...@gmail.com wrote: I've read about that, but right now until W10 in its final form is release, nobody really knows for sure. Well, yes and no. We *do* know that the status has changed from mandatory to optional, but whether hardware manufacturers will actually remove the ability to turn Secure Boot off remains to be seen. Yes. I read that. Wonder what Microsoft has up its sleeve? If I were to guess, this is in preparation for at some point in the future requiring Secure Boot to be used, without the ability to turn it off. My guess as well. Anything to make Windows more convenient to use than installing another OS. But you gotta think like a Microsoft lawyer here: But, your Honor, you CAN install Linux on the machine. Just follow these simple 389 steps. No problem. ;-) You know, think of the children!. Maybe, this is indicative of W10 being even more insecure than previous Windows' OSes. Secure Boot itself is not actually such a bad idea, in some circumstances it might be nice to have a fully signed chain. IMHO. But it seems that Microsoft has co-opted it for their own use. They're the only ones making and selling the signing keys aren't they? Shouldn't those security keys come from an independent, unbiased provider? One that Microsoft has to get their signing keys from, too. From what I understand, basically anyone can put their signing keys in the firmware. Part of the criticism is that Microsofts keys are already in it, making it difficult for anyone else, and without installing your own keys, you must use keys that have been derived from theirs. I may be wrong on this, I don't fully understand it. Canonical will also enforce Secure Boot in the future, they claim, and they are trying to get vendors to include their keys. I am more worried about distributions like Debian. Fedora has the backing of RedHat, so they will get keys (if they haven't already), SUSE has cash, but I have no idea about Debian. At some point Canonical would probably have helped them out, but I think that time has passed. They are mostly looking out for themselves these days. With Snappy, I don't even know if they will be based on Debian for much longer. And what about all the other distributions? Slackware, Gentoo, etc? There is no way all of them will be able to obtain keys. I agree; an independent signing authority would be the best, but I'd also like to see the ability to implant your own keys in the firmware. And even better, to remove them, so that I could delete the MSFT key. As mentioned, the Linux Foundation is looking into obtaining a key that can be used to sign for distributions. The problem is that MS is able to revoke keys at any time, and that would revoke all the Linux distributions at once. Eggs - basket. Hardware manufacturers will have to take into account the fact that there are a large number of people and organizations that run their machines without Windows, so I don't think there will be a lack of machines that can turn Secure Boot off in the near future. Have you forgotten about Asus and its $99 EeePC of a few years ago? It only ran Linux. To keep the cost down. No OS license needed. It sold very well, but was only a small part of Asus' Windows PC market. Microsoft still threw a hissy fit and threatened to revoke Asus' Windows license, if they didn't cnange the EeePC so it could run Windows XP. Production on the EeePC ceased, and a year later a new EeePC debuted running a stripped down version of XP. But now it cost $199 not $99 whether it ran XP or Linux. And the consumer got screwed. MS didn't care. They got their unit license fee. Ah, the MS tax. Microsoft holds that Windows license over manufacturers like a battle axe. If manufacturers don't go along, off with their heads! Microsoft can (and does) get almost anything it wants, and they've got a legal department that enables them to get away with it. I really, really wish Apple would release OS X for commodity hardware. That could probably give MS a (little) run for its money in the home market. Because let's face it - Linux isn't going to compete with them for the ordinary user anytime soon. Neither are the BSDs, or HURD, or Haiku, or... (Yes, I know Apple will never do that.) But will it become something to watch out for when buying new hardware? Most certainly, at least for a period of time. I have a sneaking suspicion that it might become a bigger problem for laptop users than for desktop users, although I'm unable to back that up. For those of us who prefer to build their own machines, I think
Re: Laptops, UEFI, Secure Boot and Debian
On Sun, 24 May 2015 20:31:40 -0700 Patrick Bartek nemomm...@gmail.com wrote: On Sun, 24 May 2015, Paul E Condon wrote: [BIG snip] Two comments: 1) I saw a few days ago, an NewEgg.com advert. for a specialized HD/SSD combo. from Western Digital. It is a drop-in replacement for a SATA HD that combines in the same SATA physical outline, a 120GB SSD and a 1TB backing store on HD. This for just over $100 on Memorial Day sale. They must have figured out how to deal with UEFI. If they can figure it out, surely open/libre people can copy the WD approach. I've seen similar hybrid drives on laptops as the default drives. Don't know how they are configured, but I'm assuming that the SSD holds the OS and apps for fast response times, and the spinning drive holds all data and/or backup and recovery partitions. Sort of. From what I understand, the SSD is a sort of cache for the spinning drive. You only see the spinning drive, but things that are frequently accessed go through the SSD. There is software that sets up something similar for Linux, but I can't remember what it's called - I'm using my SSDs as / and /home, and that gives me performance where and when I want it. 2) Who among us would be willing to download and install software from the NSA that says it will protect you from Microsoft? Who doubts that NSA has the technology to break Microsoft's UEFI? A lot of people already use NSA software: SELinux. I'm not one. For servers, it's great for security; but for a user system, it's a waste of CPU cycles. I always turned it off when I ran Fedora. It was impossible to uninstall or seemed so. UEFI isn't the problem. Most all Linux distros support and can use it. It's Secure Boot which requires a Microsoft key that's the problem. If you can't turn it off, you can't install another OS. For now. As mentioned earlier, there are approaches underway to solve this. See my other mail on this. Petter -- I'm ionized Are you sure? I'm positive. pgpKXicmBvJPX.pgp Description: OpenPGP digital signature
Definitely straying: Was: Re: Danger of stray : in PATH, Re: Problem Running Application with Alias
On Sun, 24 May 2015 21:03:38 -0600 Bob Proulx b...@proulx.com wrote: David Wright wrote: Quoting Petter Adsen: PS: What _are_ the security implications of having a PATH set to /foo/bar:? ... $ cd /home/evilperson/malicious-programs/ $ emaca (oops, I mistyped emacs. Funny, why are my files disappearing?) (oh dear, their file emaca contains rm -f ~/*) or, if the colon is at the start of PATH: $ date (Funny, why...?) (oh dear, their file date is a symlink to emaca) $ ls -1 /home/evilperson/malicious-programs/ date emaca You aren't thinking maliciously enough! :-) snip And it isn't just other local users. Let's go long. Web sites such as Wordpress have a long history of being cracked. In their preferred installation mode they want to be able to update themselves. Meaning they can write to their own files. Meaning that if they to get exploited an attacker can write files to the local file system. This is often used for cracking the web site but could also be used for leaving files such as a compomised 'ls' around too. Just by itself maybe they could only drop some files onto the file system owned by a non-priviledged www-data user causing web site defacement. But then later if the user or worse root had the current working directory in PATH and is tricked into running a compromised ls then the remote compromise attack succeeds. With LD_PRELOAD_PATH is almost as good and has all of the same dangers. This could potentially through a sequence of missteps become a remote root compromise to the system. OK, this is veering off-topic - apologies in advance. From what I understand, LD_LIBRARY_PATH contains additional places to look for libraries that aren't in ld.so.conf. From ld.so(8): LD_LIBRARY_PATH A colon-separated list of directories in which to search for ELF libraries at execution-time. Similar to the PATH environment variable. Ignored in set-user-ID and set-group-ID programs. But what order is this information parsed in? Does LD_LIBRARY_PATH override ld.so.conf? Ie, could I place a modified version of a library somewhere, point LD_LIBRARY_PATH at it, and every binary that is linked toward the original library will run functions from the modified one, or would I also need to remove the original library, so that only the modified one is found? The danger would be much clearer if it overrides, since if it doesn't you will probably notice that the original library has been disabled. Am I even on the right track, here? Some of us would say it is unlikely to happen to *us* but we might all agree that it could happen to someone else. A potential if unlikely exploit. Yes, it would never happen to me. Dangerous attitude when it comes to security. Petter -- I'm ionized Are you sure? I'm positive. pgp4Y9MLfbnnu.pgp Description: OpenPGP digital signature
Re: Laptops, UEFI, Secure Boot and Debian
On Tue, 26 May 2015 12:23:25 +0800 Bret Busby bret.bu...@gmail.com wrote: On 26/05/2015, Stuart Longland stua...@longlandclan.yi.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 24/05/15 19:03, Petter Adsen wrote: If both Wheezy and Trusty are installed in legacy mode the bootloader should see all of them. Dependent on your needs, an easier way might be to just spin up a VM or three with the systems you use the least. KVM is a wonderful thing. Better yet, for some of these is LXC. I run several instances of Debian managed by libvirt on a Gentoo host, with much less overheads than you get from a VM. apt-get install virt-manager bridge-utils libvirt-bin lxc debootstrap will probably get you started. Use debootstrap to create the Debian/Ubuntu instances, creating the root filesystems in /var/lib/libvirt/images, then use virt-manager to set them up in LXC. https://wiki.debian.org/LXC - -- Stuart Longland (aka Redhatter, VK4MSL) I haven't lost my mind... ...it's backed up on a tape somewhere. I should probably have been more explicit, in my stating of the question. What I wanted to know, was, given that, in Legacy mode, with GRUB, both Ubuntu 14.04 LTS and Debian 7, are installed on the particular computer, and, I can select to boot either one of those, can I simply also install Debian 6 LTS on that system, to have it concurrently installed with Debian 7, and, to be able, using GRUB, to select to boot into one of those operating systems (Ubuntu 14.04 LTS, Debian 7, or, Debian 6 LTS), without any interference from the installations of the other operating systems? Bret, I answered that above. If both Wheezy and Trusty are installed in legacy mode the bootloader should see all of them. That means yes, you can. It has taken me about 18 months, to get Debian 7 installed and running, in the state that it now can be run, and so I want to be able to get Debian 6 LTS, installed and running, with a minimum of fuss. This should not be a problem, if you have available space on the drive. Petter -- I'm ionized Are you sure? I'm positive. pgpCTxm8Yfpk2.pgp Description: OpenPGP digital signature
Re: IP performance question
On Sun, 24 May 2015 13:20:04 +0300 Reco recovery...@gmail.com wrote: Hi. On Sun, 24 May 2015 11:28:36 +0200 Petter Adsen pet...@synth.no wrote: On Sun, 24 May 2015 10:36:39 +0200 Petter Adsen pet...@synth.no wrote: I've been trying to improve NFS performance at home, and in that process i ran iperf to get an overview of general network performance. I have two Jessie hosts connected to a dumb switch with Cat-5e. One host uses a Realtek RTL8169 PCI controller, and the other has an Intel 82583V on the motherboard. iperf maxes out at about 725Mbps. At first I thought maybe the switch could be at fault, it's a really cheap one, so I connected both hosts to my router instead. Didn't change anything, and it had no significant impact on the load on the router. I can't try to run iperf on the router (OpenWRT), though, as it maxes out the CPU. Should I be getting more than 725Mbps in the real world? A quick test in my current environment shows this: [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 1.10 GBytes 941 Mbits/sec Two hosts, connected via Cisco 8-port unmanaged switch, Realtek 8168e on one host, Atheros Attansic L1 on another. On the other hand, the same test, Realtek 8139e on one side, but with lowly Marvell ARM SOC on the other side shows this: [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 534 MBytes 448 Mbits/sec So - you can, definitely, and yes, it depends. That last one, would that be limited because of CPU power? That too. You cannot extract that much juice from a single-core ARM5. Another possibility is that Marvell is unable to design a good chipset even in the case it would be a matter of life and death :) That might be why I'm not using the Marvell adapter :) I remember reading somewhere that either Marvell or Realtek were bad, but I couldn't remember which one, so I kept using the Realtek one since I had obviously switched for a reason :) Try the same test but use UDP instead of TCP. Only gives me 1.03Mbits/sec :) iperf(1) says that by default UDP is capped on 1Mbit. Use -b option on client side to set desired bandwidth to 1024m like this: iperf -c server -u -b 1024M Note that -b should be the last option. Gives me 812 Mbits/sec with the default UDP buffer settings. Didn't notice that. I get 808, so close to what you get. Increase TCP window size (those net.core.rmem/wmem sysctls) on both sides. It is currently 85KB and 85.3KB, what should I try setting them to? Try these: net.core.rmem_max = 4194304 net.core.wmem_max = 1048576 OK, I've set them on both sides, but it doesn't change the results, no matter what values I give iperf with -w. Try increasing MTU above 1500 on both sides. Likewise, increase to what? The amount of your NICs support. No way of knowing the maximum unless you try. A magic value seems to be 9000. Any value above 1500 is non-standard (so nothing is guaranteed) A case study (that particular NIC claims to support MTU of 9200 in dmesg): # ip l s dev eth0 mtu 1500 # ip l s dev eth0 mtu 9000 # ip l s dev eth0 mtu 65536 RTNETLINK answers: Invalid argument Of course, for this to work it would require to increase MTU on every host between your two, so that's kind of a last resort measure. Well, both hosts are connected to the same switch (or right now, to the router, but I could easily put them back on the switch if that matters). One of the hosts would not accept a value larger than 7152, but it did have quite an effect: I now get up to 880Mbps :) Will this setting have an impact on communication with machines where the MTU is smaller? In other words, will it have a negative impact on general network performance, or is MTU adjusted automatically? And what is the appropriate way of setting it permanently - rc.local? Also, the machine with the Realtek PCI adapter has a Marvell 88E8001 on the motherboard, but I haven't used it for years since there were once driver problems. Those are probably fixed now, I will try that once I can. Didn't think of it before. If the Marvell NIC uses sky2 kernel module - I would not even hope. Like I said earlier, Marvel is unable to design a good chip even if someone life would depend on it. Then I will keep using the Realtek card :) Thanks to you, I now get ~880Mbps, which is a lot better. It seems increasing the MTU was what had the most effect, so I won't bother with TCP window size. Petter -- I'm ionized Are you sure? I'm positive. pgpnReJuA23hX.pgp Description: OpenPGP digital signature
Re: IP performance question
On Sun, 24 May 2015 12:02:32 +0300 Reco recovery...@gmail.com wrote: Hi. On Sun, 24 May 2015 10:36:39 +0200 Petter Adsen pet...@synth.no wrote: I've been trying to improve NFS performance at home, and in that process i ran iperf to get an overview of general network performance. I have two Jessie hosts connected to a dumb switch with Cat-5e. One host uses a Realtek RTL8169 PCI controller, and the other has an Intel 82583V on the motherboard. iperf maxes out at about 725Mbps. At first I thought maybe the switch could be at fault, it's a really cheap one, so I connected both hosts to my router instead. Didn't change anything, and it had no significant impact on the load on the router. I can't try to run iperf on the router (OpenWRT), though, as it maxes out the CPU. Should I be getting more than 725Mbps in the real world? A quick test in my current environment shows this: [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 1.10 GBytes 941 Mbits/sec Two hosts, connected via Cisco 8-port unmanaged switch, Realtek 8168e on one host, Atheros Attansic L1 on another. On the other hand, the same test, Realtek 8139e on one side, but with lowly Marvell ARM SOC on the other side shows this: [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 534 MBytes 448 Mbits/sec So - you can, definitely, and yes, it depends. That last one, would that be limited because of CPU power? Could there be a driver issue, or some settings that aren't optimal? Check your iptables rules if any. Especially nat and mangle tables. None. iptables are currently disabled on both sides. Try the same test but use UDP instead of TCP. Only gives me 1.03Mbits/sec :) Increase TCP window size (those net.core.rmem/wmem sysctls) on both sides. It is currently 85KB and 85.3KB, what should I try setting them to? Try increasing MTU above 1500 on both sides. Likewise, increase to what? Use crossover cable if everything else fails. If I have one. I read somewhere that newer interfaces will auto-negotiate if you use a straight cable as a crossover, is that true? Also, the machine with the Realtek PCI adapter has a Marvell 88E8001 on the motherboard, but I haven't used it for years since there were once driver problems. Those are probably fixed now, I will try that once I can. Didn't think of it before. Unfortunately, these are the only two hosts I have with Gbit interfaces (except the router), so I can't test with another host. Could this be a MB/MiB issue? The iperf man page doesn't say which it reports. (Well, it says Mbit/Mbyte, so I assume it does not mean MiB) No. (1024*1024*1024 - 1000*1000*1000)/1024/1024 = 70.32. You can mistake by 70Mbps at most in this scenario, not by 300. I knew it wouldn't account for 275MB, but it could be a portion of it. Thanks for your response, though, I'm already learning things :) Petter -- I'm ionized Are you sure? I'm positive. pgpG7_dBq3jNh.pgp Description: OpenPGP digital signature
Re: No sound at boot
On Sun, 24 May 2015 04:12:03 -0500 Mark Allums m...@allums.top wrote: Try to run lsmod | grep snd, and add the modules that snd-hda-intel depend on before the line loading it in the relevant file in /etc/modules-load.d or in /etc/modules. root@persephone:~# lsmod | grep snd snd_hda_codec_hdmi 49263 1 snd_hda_codec_realtek63196 1 snd_hda_codec_generic63045 1 snd_hda_codec_realtek snd_hda_intel 26387 5 snd_hda_controller 26938 1 snd_hda_intel snd_hda_codec 108525 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller snd_hwdep 17244 1 snd_hda_codec snd_pcm_oss49005 0 snd_mixer_oss 21998 1 snd_pcm_oss snd_pcm88901 5 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller snd_timer 26614 1 snd_pcm snd69340 20 snd_hda_codec_realtek,snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_mixer_oss soundcore 13031 2 snd,snd_hda_codec So, it depends on snd, snd-pcm, snd-hda-codec, snd-hda-controller (if I didn't miss any). The first entry is the name of the module, the second is the size, third is number of modules that are dependent on it, and the rest are a list of dependent modules. Try to add the ones I listed (I'm not sure about the order, but probably the order I listed them in) before the line that loads snd-hda-intel. To actually fix the problem: What do you see when you go through the logs after booting, related to sound, and when you load the module manually? There may be something in the logs if you read them carefully, if you snip out the relevant parts and post those here, I will try to help. Petter Which logs do you suggest? (I am only medium grade familiar with the sysadmin tasks of Linux. Not a pro or a guru.) /var/log/kern.log would be a prime candidate :) Reboot your system. Make sure *not* to load snd-hda-intel. Take a look at kern.log, and examine the parts that have messages from the sound subsystem. Look for errors/warnings/etc. Open a second terminal, and run tail -f /var/log/kern.log, and see what messages are then added when you load the module in your first terminal. It might be easier for you to read if you, after running tail -f /var/log/kern.log and getting the last few messages, hit enter a couple of times to get a few blank lines between the last message from the kernel so far and the first message you get when loading the module. Or just look at the time stamps. Petter -- I'm ionized Are you sure? I'm positive. pgp6_JYFRGmkT.pgp Description: OpenPGP digital signature
Re: IP performance question
On Sun, 24 May 2015 13:26:52 +0200 Petter Adsen pet...@synth.no wrote: Thanks to you, I now get ~880Mbps, which is a lot better. It seems increasing the MTU was what had the most effect, so I won't bother with TCP window size. Now, this is a little odd: petter@monster:/etc$ iperf -i 1 -c fenris -r Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) Client connecting to fenris, TCP port 5001 TCP window size: 280 KByte (default) [ 5] local 192.168.0.105 port 49636 connected with 192.168.0.103 port 5001 [ ID] Interval Transfer Bandwidth [ 5] 0.0- 1.0 sec 104 MBytes 875 Mbits/sec [ 5] 1.0- 2.0 sec 97.8 MBytes 820 Mbits/sec [ 5] 2.0- 3.0 sec 104 MBytes 868 Mbits/sec [ 5] 3.0- 4.0 sec 104 MBytes 876 Mbits/sec [ 5] 4.0- 5.0 sec 104 MBytes 876 Mbits/sec [ 5] 5.0- 6.0 sec 83.0 MBytes 696 Mbits/sec [ 5] 6.0- 7.0 sec 105 MBytes 879 Mbits/sec [ 5] 7.0- 8.0 sec 104 MBytes 875 Mbits/sec [ 5] 8.0- 9.0 sec 105 MBytes 884 Mbits/sec [ 5] 9.0-10.0 sec 104 MBytes 877 Mbits/sec [ 5] 0.0-10.0 sec 1016 MBytes 852 Mbits/sec [ 4] local 192.168.0.105 port 5001 connected with 192.168.0.103 port 34815 [ 4] 0.0- 1.0 sec 98.5 MBytes 826 Mbits/sec [ 4] 1.0- 2.0 sec 98.5 MBytes 826 Mbits/sec [ 4] 2.0- 3.0 sec 97.4 MBytes 817 Mbits/sec [ 4] 3.0- 4.0 sec 98.0 MBytes 822 Mbits/sec [ 4] 4.0- 5.0 sec 98.5 MBytes 827 Mbits/sec [ 4] 5.0- 6.0 sec 98.1 MBytes 823 Mbits/sec [ 4] 6.0- 7.0 sec 98.6 MBytes 827 Mbits/sec [ 4] 7.0- 8.0 sec 98.5 MBytes 826 Mbits/sec [ 4] 8.0- 9.0 sec 98.5 MBytes 827 Mbits/sec [ 4] 9.0-10.0 sec 98.5 MBytes 826 Mbits/sec [ 4] 0.0-10.0 sec 984 MBytes 825 Mbits/sec I have run it many times, and the results are consistently ~50Mbps lower in the other direction. MTU is set to 7152 on both hosts, but the window size is back to the default values (212992). Petter -- I'm ionized Are you sure? I'm positive. pgpWyK2ykAX5S.pgp Description: OpenPGP digital signature
Re: No sound at boot
On Sun, 24 May 2015 07:07:29 -0500 Mark Allums m...@allums.top wrote: On 05/24/2015 04:50 AM, Petter Adsen wrote: On Sun, 24 May 2015 04:12:03 -0500 Mark Allums m...@allums.top wrote: Try to run lsmod | grep snd, and add the modules that snd-hda-intel depend on before the line loading it in the relevant file in /etc/modules-load.d or in /etc/modules. root@persephone:~# lsmod | grep snd snd_hda_codec_hdmi 49263 1 snd_hda_codec_realtek63196 1 snd_hda_codec_generic63045 1 snd_hda_codec_realtek snd_hda_intel 26387 5 snd_hda_controller 26938 1 snd_hda_intel snd_hda_codec 108525 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller snd_hwdep 17244 1 snd_hda_codec snd_pcm_oss49005 0 snd_mixer_oss 21998 1 snd_pcm_oss snd_pcm88901 5 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller snd_timer 26614 1 snd_pcm snd69340 20 snd_hda_codec_realtek,snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_mixer_oss soundcore 13031 2 snd,snd_hda_codec So, it depends on snd, snd-pcm, snd-hda-codec, snd-hda-controller (if I didn't miss any). The first entry is the name of the module, the second is the size, third is number of modules that are dependent on it, and the rest are a list of dependent modules. Try to add the ones I listed (I'm not sure about the order, but probably the order I listed them in) before the line that loads snd-hda-intel. Nope. still nothing. #tail -f /var/log/kern.log, this last try, had a line after the modprobe that was disturbing, but I still got sound: May 24 06:50:43 persephone kernel: [ 265.501340] sound hdaudioC1D0: hda-codec: out of range cmd 0:5:707:ffbf I'm not sure what this means, but a quick search leads me to believe it is Mostly Harmless. If sound works I guess I would ignore it. Contents of sound.conf in /etc/modules-load.d: snd snd-pcm snd-hda-codec snd-hda-controller snd-hda-intel Looks good to me. I didn't quite follow how you parsed the lsmod dependencies. Take a look here: petter@monster:/etc$ lsmod | head Module Size Used by nls_utf8 16384 0 ufs77824 0 qnx4 16384 0 hfsplus 106496 0 hfs57344 0 minix 36864 0 ntfs 102400 0 msdos 20480 0 jfs 188416 0 The first row is the name of the kernel module. As you can see, the second is size, and in this example there is nothing under Used by except zeroes. The zero means that no other modules depend on this one. If there had been dependent modules, this row would list the number of dependants, and then a complete list of them. You can then use this information to track which modules are needed for a specific module to load. Like this: Module Size Used by snd_timer 32768 2 snd_pcm,snd_seq This means that there are two modules that depend on snd-timer - snd-pcm and snd-seq. snd-timer then have to be loaded first before either of those can be loaded. You can then backtrack through the lsmod output to see what other modules snd-timer depend on (by grep'ing for it), for instance, and thus see the entire chain of modules that are required for any specific module to function. All of this should be handled automatically, but there are occasions when a module needs to be force-loaded. Is that any clearer? I can't explain it any better in English, and I expect an explanation in Norwegian wouldn't help you very much :) In regards to your problem, I really don't know why snd-hda-intel won't load automatically for you. It might have to do with recognition of your hardware, that it isn't probed correctly or something. The easy solution is probably to just add modprobe snd-hda-intel to /etc/rc.local and leave it at that. If you really want to follow up on it, you would need to grab the details of your sound hardware from lspci and do a few web searches. If nothing comes up, then file a bug report. Petter -- I'm ionized Are you sure? I'm positive. pgpW4J7yvPjTs.pgp Description: OpenPGP digital signature
IP performance question
I've been trying to improve NFS performance at home, and in that process i ran iperf to get an overview of general network performance. I have two Jessie hosts connected to a dumb switch with Cat-5e. One host uses a Realtek RTL8169 PCI controller, and the other has an Intel 82583V on the motherboard. iperf maxes out at about 725Mbps. At first I thought maybe the switch could be at fault, it's a really cheap one, so I connected both hosts to my router instead. Didn't change anything, and it had no significant impact on the load on the router. I can't try to run iperf on the router (OpenWRT), though, as it maxes out the CPU. Should I be getting more than 725Mbps in the real world? Could there be a driver issue, or some settings that aren't optimal? Unfortunately, these are the only two hosts I have with Gbit interfaces (except the router), so I can't test with another host. Could this be a MB/MiB issue? The iperf man page doesn't say which it reports. (Well, it says Mbit/Mbyte, so I assume it does not mean MiB) Am I missing something obvious? I'm no networking guru, but I'm hoping to learn something from all of this, so all input is appreciated. Petter -- I'm ionized Are you sure? I'm positive. pgpE2awTV7M9S.pgp Description: OpenPGP digital signature
Re: Laptops, UEFI, Secure Boot and Debian
On Sun, 24 May 2015 16:12:50 +0800 Bret Busby bret.bu...@gmail.com wrote: Oh, and one thing that I forgot to mention, is that, due to the immovable files, the Microshite Windows 8.x installation occupies about 250GB of unusable disk space. Now, it has occurred to me that it could be a good idea to install Debian Linux 6 LTS, on my super-dooper computer. So, I now have these questions. 1. Can Debian Linux 6 LTS be installed on a system that already has Debian Linux 7 installed on the system, so as to have both versions of Debian Linux, concurrently installed, and have the option of being able to boot into either of those two operating systems, using the Legacy boot system (it also has Ubuntu 14.04 LTS installed)? If both Wheezy and Trusty are installed in legacy mode the bootloader should see all of them. Dependent on your needs, an easier way might be to just spin up a VM or three with the systems you use the least. KVM is a wonderful thing. 2. Can Debian Linux 6 LTS handle a GPT HDD, with partitions of up to about 100GB, or does Debian Linux 6 LTS have a limit on the size of the disk partitions that it can handle? Shouldn't be a problem. I think the limit on MBR disks is 2 or 3TB, and Squeeze handles GPT anyway. The limit on partition size with GPT is not practically reachable on a laptop today, but go ask Google if you want to know what it is. 3. Can Debian Linux 6 LTS handle 32GB of RAM, or, does Debian Linux 6 LTS have a limit on the amount of RAM that it can handle? It would depend on the kernel and userspace, but it has an amd64 port, yes. There is still a limit on how much RAM it can address, but it is not likely to become an issue, as it is most likely far, far more than you can fit in your laptop. Petter -- I'm ionized Are you sure? I'm positive. pgpI8ZGgCdJrp.pgp Description: OpenPGP digital signature
Re: SOLVED: Re: Logitech M545 button mappings
Ooops! A small correction for people looking through the archives and reading this: On Tue, 19 May 2015 11:50:12 +0200 Petter Adsen pet...@synth.no wrote: Create /etc/udev/hwdb.d/90-logitech-m-545.hwdb with following: # Logitech M545 keyboard:usb:v046DpC52B* KEYBOARD_KEY_70007=back KEYBOARD_KEY_700E7=forward This last line should be: KEYBOARD_KEY_700E3=forward Then: udevadm hwdb --update Unplug the receiver and plug it in again, and it works the way $DEITY intended. Hopefully someone else can use this information. Feel free to contact me if you need help, I've been messing quite thoroughly with this now :) Petter -- I'm ionized Are you sure? I'm positive. pgpgIflYr6CnZ.pgp Description: OpenPGP digital signature
Re: Boot menu entries
On Sat, 23 May 2015 20:27:39 -0500 Emil Payne ehspa...@yahoo.com wrote: On 05/22/2015 04:56 PM, Brian wrote: On Fri 22 May 2015 at 16:24:29 -0500, Emil Payne wrote: On 05/22/2015 03:24 PM, Bob Proulx wrote: $ uname -r 3.9-1-amd64 Don't remove the running kernel nor the latest kernel. Remove all of the others. Bob BTW What is the linux-header? Is that just to compile my own? Do I need to keep these? You are full of questions but very short on saying whether the advice you have been given answers your needs, Delete headers packages too. You put them there and should know whether you need them. As far as I know, I never put them there. I've had to reinstall Debian a few times lately and it kept adding new entries to the boot menu. This is my latest: $ update-grub2 Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.2.0-4-amd64 Found initrd image: /boot/initrd.img-3.2.0-4-amd64 Found linux image: /boot/vmlinuz-3.2.0-4-amd64 Found initrd image: /boot/initrd.img-3.2.0-4-amd64 No volume groups found done I'm a home user and know enough to be able to do some technical things, but sometimes I don't know everything that they do. I try to study the stuff on the web but there is too much conflicting info. Right now the boot menu is more manageable so I'll leave it at that. I should have mentioned this earlier, but there is a package floating around out there called GRUB Customizer, that you can use to edit the menu. It wouldn't have uninstalled the extraneous kernels, I think, but it can be nice if you are not familiar with GRUBs syntax (which I admit I don't fully understand, either). As a side note, if you are trying to learn something about Linux, two of the best resources I have found are the Arch wiki[1] and the Debian wiki[2]. Another really nice link is the Debian Administrator's Handbook[3]. Following random advice and running scripts found on a forum can be quite dangerous, and often don't tell you *why* you need to do what you need to do. Look for official documentation. Petter [1] https://wiki.archlinux.org/ [2] https://wiki.debian.org/ [3] http://debian-handbook.info/ -- I'm ionized Are you sure? I'm positive. pgp6adQT_tpdc.pgp Description: OpenPGP digital signature
Re: No sound at boot
On Sun, 24 May 2015 01:39:25 -0500 Mark Allums m...@allums.top wrote: On 05/24/2015 12:58 AM, Petter Adsen wrote: On Sat, 23 May 2015 23:29:27 -0500 Mark Allums m...@allums.top wrote: I have a decent setup with an ASUS ROG motherboard (overkill for Linux, I know). I was tooling along nicely, when, after an update (back when Jessie was Testing), sound quit working at boot. Of course, the first thing I tried was root@persephone:~# modprobe snd-hda-intel and that got me sound again. However, I have to run it manually after every boot. What steps do I need to take to get it to load at boot again? Re-Installing ALSA does nothing, of course, and I guess I have no Google skills, because all I can find with Google is advice to reinstall ALSA. Take a look in /etc/modules-load.d - you can add a file called, say, sound.conf there with the contents: snd-hda-intel That should load that module on boot. I haven't tested it, as I've never had the need to force a module to load in recent years, but it should work. Petter Didn't work. Nor did adding snd-hda-intel line to /etc/modules. Those two do the same thing. Any more suggestions? I'm running Jessie. Have been since Jessie was testing, about three months after the release of Wheezy. So it's seen a lot of changes, the biggest of which was the transition from sysvinit to systemd. I should have fixed it a lot sooner, but as long as I could fix it by running modprobe, I wasn't in a big hurry. Anyway, if this had worked, it feels like a workaround, and isn't really getting to the actual cause of the problem. So, any more suggestions are welcome. Well, maybe it is dependent on another module that for some reason doesn't get loaded automatically when you try to load snd-hda-intel, but that has been loaded later in the boot sequence? (Although I have difficulty imagining how this could happen). Try to run lsmod | grep snd, and add the modules that snd-hda-intel depend on before the line loading it in the relevant file in /etc/modules-load.d or in /etc/modules. As a last resort, you could add a line with modprobe snd-hda-intel to /etc/rc.local, but none of these suggestions do more than work around the problem, as I am at a total loss as to what causes it. I also use snd-hda-intel on my Jessie system, and have never had to force it to load manually. To actually fix the problem: What do you see when you go through the logs after booting, related to sound, and when you load the module manually? There may be something in the logs if you read them carefully, if you snip out the relevant parts and post those here, I will try to help. Petter -- I'm ionized Are you sure? I'm positive. pgp1OwUOO4sxE.pgp Description: OpenPGP digital signature
Re: Need SAS HBA for Debian Jessie
On Fri, 22 May 2015 18:37:05 -0700 (PDT) Leslie Rhorer lrho...@mygrande.net wrote: On Monday, May 18, 2015 at 5:40:05 AM UTC-5, Petter Adsen wrote: On Sat, 16 May 2015 05:38:30 -0700 (PDT) I am sorry if this is a dumb question, Not at all. but if this is a home system, why can you not go for more commodity hardware? While I do recognize there are differences between SAS and SATA, do you really need SAS in a home setting - for a media library? SATA may be the simplest/cheapest solution, to my way of thinking. Not so much beyond about 10 drives. That said, this system was eSATA based for a long time, but it has been having issues. In my efforts to troubleshoot the problems, I converted my 20 drive chassis from eSATA Port Multipliers to multi-lane. It has solved some of the issues, but not all. Wow, you certainly have a far bigger media library than me, unless you are using a ridiculous amount of tiny disks. :) Again, I agree. In this scenario, I would find a couple of controllers that would seem to suit my purpose, and contact the manufacturers directly with very specific questions. That is much easier said than done. Even companies who have people manning the phones often have people in those positions who are clueless beyong what is already on the web. Don't phone - email. Or, better, write an actual letter. The drones on phone support are so often useless, but they do have the ability to forward questions to people who can actually answer them. It is more likely that they will do this with a mail request than a phone call. If they are simply re-branding something that is actually made by another manufacturer, then contact _them_ directly. Go to the top, and make lots of noise. It's the only way to be heard by some of these people. Be sure to let them know that you *want* to be a paying customer, if they can only clarify what they are actually selling. One of these questions would be whether or not the controller is supported by the Linux kernel itself, The kernel is not so much the issue. Most cards are supported out of the box by the kernel on Jessie. It is the management software that is usually a problem. If they don't want to bother to support all sorts of different distros, then they should provide open source management software. I agree. And be sure to _tell_ them that. Make noise when they don't support Debian. If nobody does, then why should they support it? I assume it is not simply a matter of converting the package from RPM with alien, or manually extracting things and hack them together to get a working binary? No, it should not be necessary, but it is something to use against them when asking why they don't support one of the biggest distributions out there. If they already have code that runs on Linux it shouldn't be that big of a deal to run on multiple distributions. _Supporting_ all of them is another deal entirely. Another thing you could try, is to see if Canonical will back you. They may have some clout to get the manufacturer to provide a .deb, and this sounds like the sort of hardware they would want to see supported. Yes, they will probably ask for a package for Ubuntu, but it will get you a lot closer than where you are now. They might even be willing to ask for a package that also runs on pure Debian, as it shouldn't be too much effort to make sure it runs on both. I know that Canonical has worked with vendors in the past to get them to support their distribution, so it shouldn't be a new problem to them. Petter -- I'm ionized Are you sure? I'm positive. pgpq1TnRgYpG0.pgp Description: OpenPGP digital signature
Re: HELP- very slow download speeds
On Sun, 24 May 2015 00:27:02 -0700 Gary Roach gary719_li...@verizon.net wrote: On 05/22/2015 01:19 PM, Bob Proulx wrote: Darac Marjal wrote: Gary Roach wrote: When I start a download, it starts at 50M for the first few seconds and then drops to 500K to 100K range. Finally, don't rule out the possibility that your ISP is throttling you. While you may be synced at 50M and may be able to transfer at that for short periods (and thus, the ISP can rightly claim that you have a 50M connection), they could conceivably throttle your connection in the longer term. I think this is quite the most likely possibility. I have only anecdotal reports from friends but what I hear is that often ISPs allow a full speed burst but then throttle for long term steady state data transfer. That matches your reported behavior exactly. This allows customers to run a speed test and have it report full speed but prevent them from getting that speed for a long download such as a full system upgrade or a large install ISO image download. Are you sure your ISP isn't throttling you? Bob I wouldn't put anything past those jackasses but am still attempting to gather information. Would wireshark be a good tool to do an in depth diagnosis of the problem? I've gotten a little side tracked with another problem but plan to get back to this in the next couple of days. Any comments will be appreciated. If you have shell access to a box somewhere, you can run iperf to get an idea of the performance of the link between you. Obviously, the closer to you, the better. Take a look at the --interval parameter, so you can see how/if performance degrades over time. --dualtest might also be helpful. There are probably guides out there on how to get the best results from it, the man page doesn't really do much except list all the options. There may be better ways, but this is the one I typically use. Wireshark would be more suited to analyze the actual traffic, if you suspect something may be wrong there. Petter -- I'm ionized Are you sure? I'm positive. pgpZloID2ob18.pgp Description: OpenPGP digital signature
Re: Laptops, UEFI, Secure Boot and Debian
On Fri, 22 May 2015 23:53:14 -0700 Patrick Bartek nemomm...@gmail.com wrote: Researching a laptop purchase (within the next 6 months or so) to replace my aging Desktop (1 to 8.5 years depending on which parts). Going to abandoned the Big Box forever. Need to be very portable in the next year or two. Two questions to begin: 1. Many laptops seem to only be able to turn off Secure Boot through the OS, Windows 8.x, or so I've researched. However, I've read some makes (Asus, Lenovo, Dell and HP) can do it directly through BIOS without needing to boot Windows? True? Any others? I don't have a laptop myself (don't like them), but every one I've seen so far has had a switch to disable Secure Boot in the BIOS. AFAIK, that switch is mandatory to adhere to the Built For Windows 8 MS program, although it is only optional for the coming Windows 10 program. That might be something to watch out for. If this is going to become a real problem or not, we will just have to wait and see. 2. How UEFI compatible is Debian Wheezy? What I'm running on the Desktop. Or is Jessie the better choice. Or something else entirely? Except Ubuntu variants (Hate it!). I don't want to run in Legacy mode for future compatibility. I won't be installing a desktop, just a window manager. Probably Openbox. You can find details here: https://www.debian.org/releases/stable/amd64/ch03s06.html.en#UEFI I believe the Canonical people have put some effort into becoming fully Secure Boot-compliant, but if you do not like them, then that is not an option. There are also others (RedHat?) but I can't remember who. Petter -- I'm ionized Are you sure? I'm positive. pgpuU4SQ3PZja.pgp Description: OpenPGP digital signature
Re: discuss debian 's attitude to ppa
On Sat, 23 May 2015 15:13:33 +0800 mudongliang mudonglianga...@hotmail.com wrote: On 05/23/2015 02:37 PM, Dalios wrote: That said you can try to install the .deb package with other ways (for example using gdebi) but the main drawback (apart from any inconsistencies already mentioned) is that the package won't be updated with the rest of the system because apt/synaptic will not be able to do this. At last , I want to talk about the future of ppa in Debian! Even the leader has said the weakness of ppa! Maybe Debian will not use ppa! Maybe LMDE is just a hint! Isn't it!? mudongliang The major problem with using a ppa is that the software has not been vetted by the Debian project. It could contain malware or other security problems, and the maintainer of the ppa can suddenly decide to drop support of it, leaving you with a package that does not receive updates. You need to consider whether you trust the person running the ppa to not introduce weaknesses to your system. With the Debian repositories, there is a system in place to handle all of this. Adding a foreign repository _can_ make you vulnerable. You just don't know. There is also the matter of dependencies, if the repository you are using is not intended for your exact distribution. It's not a matter of not supporting ppas, it's a matter of not recommending them. You can always add the repository to sources.list and add the key manually. Petter -- I'm ionized Are you sure? I'm positive. pgp_YwpMnryWH.pgp Description: OpenPGP digital signature
Re: discuss debian 's attitude to ppa
On Sat, 23 May 2015 16:28:19 +0800 mudongliang mudonglianga...@hotmail.com wrote: On 05/23/2015 03:28 PM, Petter Adsen wrote: The major problem with using a ppa is that the software has not been vetted by the Debian project. It could contain malware or other security problems, and the maintainer of the ppa can suddenly decide to drop support of it, leaving you with a package that does not receive updates. You need to consider whether you trust the person running the ppa to not introduce weaknesses to your system. With the Debian repositories, there is a system in place to handle all of this. Adding a foreign repository _can_ make you vulnerable. You just don't know. I think Debian is a distribution which focuses security and stablity. So maybe it should help these interesting ,useful,meaning project import into Debian project! If you want to get the package adopted by Debian, there is nothing to stop you from offering to maintain it yourself. Somebody needs to take on the responsibility of building the package for Debian, and provide updates and fixes. In the Debian community, this happens within a framework. Everyone is free to contribute and suggest packages for adoption, but it is still dependent on someone actually taking responsibility for the package in question. I have no idea what the package you are talking about is, but if there is a significant need for it, I suggest you go through the appropriate channels to have it adopted. There is probably information on how to do this on the wiki, I'm just too lazy to check. (OK, I checked ;) Read this: https://www.debian.org/doc/manuals/maint-guide/index.en.html That is a guide on building/maintaining Debian packages. You should also take a look at: https://www.debian.org/doc/debian-policy/ch-binary.html And read this if you want the package to actually be adopted: https://wiki.debian.org/SponsorChecklist If there are other things you need to know about, I hope someone else will speak up, as I know little about this. Petter -- I'm ionized Are you sure? I'm positive. pgpNthwaDET34.pgp Description: OpenPGP digital signature
Re: Problem Running Application with Alias
On Sat, 23 May 2015 09:36:31 -0400 Sephen P. Molnar s.mol...@sbcglobal.net wrote: VI am running Wheezy (v-7.8.0) in a VM and have encountered rather a strange problem .with an application, MOPAC (a well established quantum chemistry program). The application is installed in /opt/mopac (required by the executable) and, in order to execute the program the following is an entry in the user .bashrc: LD_LIBRARY_PATH=/opt/mopac/MOPAC2012.exe:$LD_LIBRARY_PATH This is an obvious thing that jumps out at me, this line should be: LD_LIBRARY_PATH=/opt/mopac:$LD_LIBRARY_PATH as LD_LIBRARY_PATH is meant to contain directories where shared libraries can be found, not an executable binary. In this case, I expect that the shared libraries will not be found, since the loader will look for them in a _directory named_ MOPAC2012.exe, not /opt/mopac. export LD_LIBRARY_PATH alias mopac='/opt/mopac/MOPAC2012.exe' The permissions for /opt/mopac are: drwxrwxrwx (I should note at this point that this works flawlessly in my production machine.) Maybe there are copies of the libraries in another directory that the loader searches, or /opt/mopac is listed in /etc/ld.so.conf. comp@inga:~$ /opt/mopac/MOPAC2012.exe /opt/mopac/MOPAC2012.exe: error while loading shared libraries: libiomp5.so: can not open shared object file: No such file or directory The workaround is to copy the argument to /opt/mopac, run the executable for the calculation, and then transfer the results to the working directory. This is most inconvenient and I would really appreciate a solution to the problem. Try fixing the line that sets LD_LIBRARY_PATH, or adding /opt/mopac to /etc/ld.so.conf and run ldconfig to update the cache. Petter -- I'm ionized Are you sure? I'm positive. pgpW4CMFvGwOJ.pgp Description: OpenPGP digital signature
Re: KVM switch: DVI-D, DVI-I or vga?
On Sat, 23 May 2015 10:30:33 -0400 German gentger...@gmail.com wrote: Hi list, I am shopping locally here for a good KVM switch. For now, I am not even sure what type should I get. What are advantages to have DVI instead of VGA interface? Are there any justifications in price? VGA KVM is about $20, where is DVI is $100. If money is no object, DVI KVM is better than VGA? Thanks for all info you can share. DVI-D = digital, DVI-I = digital + analog, VGA = analog. One thing to be aware of is that you *might* get issues with HDCP (DRM) when using DVI. Read: https://en.wikipedia.org/wiki/Dvi Petter -- I'm ionized Are you sure? I'm positive. pgppN8viIhVsL.pgp Description: OpenPGP digital signature
udev hwdb question
In followup to the question I asked about a Logitech mouse a couple of days ago; I can add a file in /etc/udev/hwdb.d and remap a binding as such: KEYBOARD_KEY_70007=back But where can I find a list of what I can map them _to_ (ie, the back in this example)? Petter -- I'm ionized Are you sure? I'm positive. pgp9aZHEZ5x03.pgp Description: OpenPGP digital signature
Re: KVM switch: DVI-D, DVI-I or vga?
On Sat, 23 May 2015 11:17:18 -0400 German gentger...@gmail.com wrote: On Sat, 23 May 2015 16:53:37 +0200 Petter Adsen pet...@synth.no wrote: On Sat, 23 May 2015 10:30:33 -0400 German gentger...@gmail.com wrote: Hi list, I am shopping locally here for a good KVM switch. For now, I am not even sure what type should I get. What are advantages to have DVI instead of VGA interface? Are there any justifications in price? VGA KVM is about $20, where is DVI is $100. If money is no object, DVI KVM is better than VGA? Thanks for all info you can share. DVI-D = digital, DVI-I = digital + analog, VGA = analog. Most of the monitors are DVI-D, right? Now, my attention was caught by DVI-I KVM because of affordable price. Do I need some sort of adapter for DVI-D monitor? How much it is usually running at? Or DVI-I will fit DVI-D output? Thanks Well, all you really need to know is in the link I gave you :) For the connectors, see this: https://en.wikipedia.org/wiki/Digital_Visual_Interface#Connector AFAIK, a DVI-D connector/cable can be plugged into both DVI-D and DVI-I ports, but a DVI-I cable carries extra (analog) signals, so it has extra pins that won't fit in a DVI-D port. A DVI-I KVM will carry both the digital and the analog signal, so you can use a DVI-D cable to connect it to a DVI-D screen - it just won't carry the analog signal, which you wouldn't need or be able to use anyway. You can see illustrations of the connectors in the above link - I really advice you to read it, since it thoroughly explains everything you may need to know. I also remember seeing a quick and dirty rundown of the differences on the nVidia site, you will find it if you search for it. The above link is far more exhaustive, though. Petter -- I'm ionized Are you sure? I'm positive. pgp1gyePahadw.pgp Description: OpenPGP digital signature
Re: Laptops, UEFI, Secure Boot and Debian
On Sat, 23 May 2015 09:04:55 -0700 Patrick Bartek nemomm...@gmail.com wrote: On Sat, 23 May 2015, Petter Adsen wrote: On Fri, 22 May 2015 23:53:14 -0700 Patrick Bartek nemomm...@gmail.com wrote: Researching a laptop purchase (within the next 6 months or so) to replace my aging Desktop (1 to 8.5 years depending on which parts). Going to abandoned the Big Box forever. Need to be very portable in the next year or two. Two questions to begin: 1. Many laptops seem to only be able to turn off Secure Boot through the OS, Windows 8.x, or so I've researched. However, I've read some makes (Asus, Lenovo, Dell and HP) can do it directly through BIOS without needing to boot Windows? True? Any others? I don't have a laptop myself (don't like them), but every one I've seen so far has had a switch to disable Secure Boot in the BIOS. AFAIK, that switch is mandatory to adhere to the Built For Windows 8 MS program, although it is only optional for the coming Windows 10 program. That might be something to watch out for. I've read about that, but right now until W10 in its final form is release, nobody really knows for sure. Well, yes and no. We *do* know that the status has changed from mandatory to optional, but whether hardware manufacturers will actually remove the ability to turn Secure Boot off remains to be seen. If this is going to become a real problem or not, we will just have to wait and see. 2. How UEFI compatible is Debian Wheezy? What I'm running on the Desktop. Or is Jessie the better choice. Or something else entirely? Except Ubuntu variants (Hate it!). I don't want to run in Legacy mode for future compatibility. I won't be installing a desktop, just a window manager. Probably Openbox. You can find details here: https://www.debian.org/releases/stable/amd64/ch03s06.html.en#UEFI Yes, I read that during my initial research. I believe the Canonical people have put some effort into becoming fully Secure Boot-compliant, but if you do not like them, then that is not an option. There are also others (RedHat?) but I can't remember who. That compatibility comes from the Linux manufacturer buying a Microsoft Secure Boot key which Canonical and RH have. SUSE, too, I think. Don't know how much that costs them. I prefer not to have Linux under Microsoft's thumb that way. I absolutely agree. I have no problems with turning Secure Boot off and leaving it off. It's just that I fear that in the future one won't be able to turn it off. And that will really throw a wrench in the Linux community. We'll see. The Linux Foundation is also examining the possibility of obtaining a key that can be used to sign images for distributions (free of charge), and there is also work being done on signing a shim that will launch a real bootloader. As the Perl people lovingly remind us, there's more than one way to do it :) Petter -- I'm ionized Are you sure? I'm positive. pgpWNbZuGkvwx.pgp Description: OpenPGP digital signature
Re: Laptops, UEFI, Secure Boot and Debian
On Sat, 23 May 2015 12:46:10 -0700 Patrick Bartek nemomm...@gmail.com wrote: On Sat, 23 May 2015, Petter Adsen wrote: On Sat, 23 May 2015 09:04:55 -0700 Patrick Bartek nemomm...@gmail.com wrote: I've read about that, but right now until W10 in its final form is release, nobody really knows for sure. Well, yes and no. We *do* know that the status has changed from mandatory to optional, but whether hardware manufacturers will actually remove the ability to turn Secure Boot off remains to be seen. Yes. I read that. Wonder what Microsoft has up its sleeve? If I were to guess, this is in preparation for at some point in the future requiring Secure Boot to be used, without the ability to turn it off. You know, think of the children!. Maybe, this is indicative of W10 being even more insecure than previous Windows' OSes. Secure Boot itself is not actually such a bad idea, in some circumstances it might be nice to have a fully signed chain. IMHO. In itself, it should help to make Windows *more* secure, but this is hardly the right place for that particular discussion. Nor do I care :) I have no problems with turning Secure Boot off and leaving it off. It's just that I fear that in the future one won't be able to turn it off. And that will really throw a wrench in the Linux community. We'll see. The Linux Foundation is also examining the possibility of obtaining a key that can be used to sign images for distributions (free of charge), and there is also work being done on signing a shim that will launch a real bootloader. As the Perl people lovingly remind us, there's more than one way to do it :) Where there's a will, there's a way I suppose. Although, instead of a patch or shim, the threat of a class action lawsuit by Linux developers might be more effective. Hardware manufacturers will have to take into account the fact that there are a large number of people and organizations that run their machines without Windows, so I don't think there will be a lack of machines that can turn Secure Boot off in the near future. But will it become something to watch out for when buying new hardware? Most certainly, at least for a period of time. I have a sneaking suspicion that it might become a bigger problem for laptop users than for desktop users, although I'm unable to back that up. For those of us who prefer to build their own machines, I think it will be much less of a problem. The cleanest option would probably be to allow the owner of the machine to install his/her own keys in the firmware, and sign the boot image with those. And we still have legacy mode. For now. In my view, a solution for Linux that doesn't work for our BSD brethren and other people would not be good enough - we shouldn't settle for it. I remember all too well how hard it was to get Linux (or BSD, for that matter) up and running with new hardware back in the day, and I don't want a return to that state of things. There may very well be another Linus quietly tinkering away at something that might become the Next Big Thing out there, and it would be a shame if we were to limit hardware to not make that possible. I am also not sure MS really _wants_ to lock Linux/others out of the playing field. If they do, I assume the murmurs of class-action and anti-competition would rise in pitch, and someone might do something that could *really* hurt them. They really should work with the community to come up with a solution that works for everyone before someone forces them to. Petter -- I'm ionized Are you sure? I'm positive. pgppYMaPIKOqg.pgp Description: OpenPGP digital signature
Re: Problem Running Application with Alias
On Sat, 23 May 2015 14:28:54 -0600 Bob Proulx b...@proulx.com wrote: Petter Adsen wrote: On Sat, 23 May 2015 09:36:31 -0400 LD_LIBRARY_PATH=/opt/mopac/MOPAC2012.exe:$LD_LIBRARY_PATH This is an obvious thing that jumps out at me, this line should be: LD_LIBRARY_PATH=/opt/mopac:$LD_LIBRARY_PATH as LD_LIBRARY_PATH is meant to contain directories where shared libraries can be found, not an executable binary. I have a small comment concerning the syntax. I am sure you are correct about the problem. But both of those assume that $LD_LIBRARY_PATH already exists in the environment. If it does then fine. Let me use foo as a stand-in for the explanation. $ foo=/bar $ foo=/opt/somepath:$foo $ echo $foo /opt/somepath:/bar But if it does not exist then it leaves the environment variable with a hanging colon at the end. Oooops, sorry. Another thing I should have mentioned last night, but I was getting really tired: On Sat, 23 May 2015 09:36:31 -0400 Sephen P. Molnar s.mol...@sbcglobal.net wrote: The permissions for /opt/mopac are: drwxrwxrwx ^ In this case, adding /opt/mopac to /etc/ld.so.conf without first fixing up the permissions is probably not a good idea either. The shell expansion I must admit I didn't even think about. Thanks, Bob. Petter PS: What _are_ the security implications of having a PATH set to /foo/bar:? -- I'm ionized Are you sure? I'm positive. pgpgrT8pCQ5QT.pgp Description: OpenPGP digital signature
Re: No sound at boot
On Sat, 23 May 2015 23:29:27 -0500 Mark Allums m...@allums.top wrote: I have a decent setup with an ASUS ROG motherboard (overkill for Linux, I know). I was tooling along nicely, when, after an update (back when Jessie was Testing), sound quit working at boot. Of course, the first thing I tried was root@persephone:~# modprobe snd-hda-intel and that got me sound again. However, I have to run it manually after every boot. What steps do I need to take to get it to load at boot again? Re-Installing ALSA does nothing, of course, and I guess I have no Google skills, because all I can find with Google is advice to reinstall ALSA. Take a look in /etc/modules-load.d - you can add a file called, say, sound.conf there with the contents: snd-hda-intel That should load that module on boot. I haven't tested it, as I've never had the need to force a module to load in recent years, but it should work. Petter -- I'm ionized Are you sure? I'm positive. pgpUtt6KP1gke.pgp Description: OpenPGP digital signature
Logitech M545 button mappings
I bought one of these mice yesterday, it's comfortable, but exhibiting strange behaviour. It has two thumb buttons, like the mouse I had before, but they're not mapped to button presses, but to keyboard events. When I press them, I get this: KeyPress event, serial 28, synthetic NO, window 0x581, root 0x2d3, subw 0x0, time 499618, (39,90), root:(3425,132), state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 28, synthetic NO, window 0x581, root 0x2d3, subw 0x0, time 499618, (39,90), root:(3425,132), state 0x50, keycode 40 (keysym 0x64, d), same_screen YES, XLookupString gives 1 bytes: (64) d XmbLookupString gives 1 bytes: (64) d XFilterEvent returns: False KeyRelease event, serial 28, synthetic NO, window 0x581, root 0x2d3, subw 0x0, time 499626, (39,90), root:(3425,132), state 0x50, keycode 40 (keysym 0x64, d), same_screen YES, XLookupString gives 1 bytes: (64) d XFilterEvent returns: False KeyRelease event, serial 28, synthetic NO, window 0x581, root 0x2d3, subw 0x0, time 499634, (39,90), root:(3425,132), state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 28, synthetic NO, window 0x581, root 0x2d3, subw 0x0, time 503046, (33,82), root:(3419,124), state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 28, synthetic NO, window 0x581, root 0x2d3, subw 0x0, time 503194, (33,82), root:(3419,124), state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False It seems the first two (Super_L and d) are from the back thumb button, and the last Super_L is the forwards button. Can I remap these, and how do I differentiate between them, since both send Super_L? I'm thinking of taking it back and demanding one that works with something other than Windows, but the store is far from where I live, and it would be a huge hassle. It was also the only one they had with the right size, number of buttons and which was wireless, so there wasn't much to choose from. Petter -- I'm ionized Are you sure? I'm positive. pgpV3POLj7s6n.pgp Description: OpenPGP digital signature
SOLVED: Re: Logitech M545 button mappings
On Tue, 19 May 2015 11:04:52 +0200 Sven Arvidsson s...@whiz.se wrote: On Tue, 2015-05-19 at 08:49 +0200, Petter Adsen wrote: I bought one of these mice yesterday, it's comfortable, but exhibiting strange behaviour. It has two thumb buttons, like the mouse I had before, but they're not mapped to button presses, but to keyboard events. Hi, You bought a mouse that's also a keyboard! Apparently these are more or less hard-wired to work with Windows 8. Argh. Why the fsck can't these people just build hardware that works the way it's supposed to? You could set up shortcuts or commands for those key combinations, but I guess you would get the same keybindings for the normal keyboard too. Yes. Losing Super_L I could live with, but losing d would be an issue. There does seem to be some kind of other workaround though, http://superuser.com/questions/676306/logitech-m560-mouse-on-linux-sends-messed-up-input-events (see the link to the redhat bugzilla too) The RH link was very helpful. In short: Create /etc/udev/hwdb.d/90-logitech-m-545.hwdb with following: # Logitech M545 keyboard:usb:v046DpC52B* KEYBOARD_KEY_70007=back KEYBOARD_KEY_700E7=forward Then: udevadm hwdb --update Unplug the receiver and plug it in again, and it works the way $DEITY intended. Thanks a lot for the link, I didn't notice the RH link when I did my searches. I also learned something new about udev today :) In the long run, it's probably easier to have it replaced... It would also be the correct thing to do, to not encourage them further to make broken hardware, but as I mentioned it would be a big hassle. The mouse itself is also quite nice. Now that it works the way I want it to, I'm not going to bother. But I am going to send Logitech customer support an angry email and inform them that they have just lost a customer they've had for decades. Hopefully the above will help someone else if they face the same problem. Thanks again. Petter -- I'm ionized Are you sure? I'm positive. pgpUrcvEJi5GY.pgp Description: OpenPGP digital signature
Re: jesse partitioner
On Sat, 16 May 2015 17:16:20 +0200 Petter Adsen pet...@synth.no wrote: On Sat, 16 May 2015 10:24:52 -0400 Bob McKittrick mckitt1...@gmail.com wrote: after installing jesse and it boots, the bios kicks out the drive. I What do you mean by the bios kicks out the drive? What happens, and what (if any) relevant log messages do you see? On Sat, 16 May 2015 18:59:23 -0400 Bob McKittrick mckitt1...@gmail.com wrote: the bios disables the drive (with message) and the boot stops. bob McKittrick (Bob, please send your replies to the list, so that more people can see your answers and contribute.) What message do you get? Also, can you boot the system from CD/USB stick, mount the root file system (if you can see the drive), and examine /var/log/boot.log, /var/log/kern.log and /var/log/dmesg for anything that seems relevant. Any information you can give us will help us to help you. We need the exact error messages, and other relevant messages and warnings. Petter -- I'm ionized Are you sure? I'm positive. pgp529wDRUNNR.pgp Description: OpenPGP digital signature
Re: strange booting behavior
On Sun, 17 May 2015 16:56:20 + gofloss gofloss goflos...@gmail.com wrote: On 5/17/15, Petter Adsen pet...@synth.no wrote: On Sun, 17 May 2015 05:42:40 + gofloss gofloss goflos...@gmail.com wrote: the thumb drive is quick to describe. it's in the bios boot sequence, but even though i put grub on it, it doesn't boot. it just defaults to the next item on the sequence. so perhaps my computer is not capable of booting thumb drive? Possibly, but then I would think it odd that it shows up in the BIOS as a bootable device at all. i should mention that i have no idea if the device in the boot sequence is the same device. it just says usb device. maybe it is trying to boot my mouse. :) If it is, then it is not strange that it fails :) Have you tried just downloading the Debian netinst image, dd it to a similar flash drive, and then tried booting that? That could help you determine if it is the BIOS or the configuration on the thumb drive. You could also check if there are any updates available for your BIOS. i will try dding an iso to the thumb drive itself if you think it stands a good chance of booting. i do not have another one. i will look for bios updates. Try that. It would also give you the ability to try and mount the encrypted root on the Toshiba from there and see if that works. BOOT_IMAGE=/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/toshibaroot ro ^ Is this a typo? You have a hyphen here above. yes, it is a typo. it was transcribed using pen and paper then typed in. the hyphen is in both. thank you very much for replying. any ideas on how to get the toshiba to boot properly? Not really, the error message you posted in your original mail was not very informative (at least not to me). Could you try to capture the last few messages before it, and post those here? Anything that jumps out at you, as well, especially if it is related to crypto or mounting root. Petter -- I'm ionized Are you sure? I'm positive. pgpBKPK_hcqAH.pgp Description: OpenPGP digital signature
Re: Need SAS HBA for Debian Jessie
On Sat, 16 May 2015 05:38:30 -0700 (PDT) Leslie Rhorer lrho...@mygrande.net wrote: On Sunday, May 3, 2015 at 10:30:03 PM UTC-5, Bob Bernstein wrote: On Sun, 3 May 2015, Leslie Rhorer wrote: Many specifically list SuSe and Red Hat, but very few list Debian [...] And you have your answer: send money to RH. They used I don't have money to send to Red Hat. First of all, one reason (although not the only one, by far) I am using Linux is it is free of commercial restraints. Secondly, these are not commercial systems. These are a pair of home RAID arrays used primarily to store a personal video library. Thirdly, I rather dislike Red Hat's distribution and administration system. I much prefer Debian. I am sorry if this is a dumb question, but if this is a home system, why can you not go for more commodity hardware? While I do recognize there are differences between SAS and SATA, do you really need SAS in a home setting - for a media library? SATA may be the simplest/cheapest solution, to my way of thinking. I would assume there are far more people running Linux with a SATA system than there are for SAS, so it should be more widely tested, and information would not be so scarce. Granted, this might be less true when you are talking about high-end RAID controllers, but still. (Note: I know next to nothing about SAS and expensive RAID controllers, so I may be way off-base here) Just as an aside, this is a Debian user forum. Frankly, it strikes me as a bit strange to advise someone asking a question concerning an ordinary use of Debian to go somewhere else. Here I agree with you. OTOH, if this had been for a enterprise setting, a suggestion to check out RH - with their level of commercial support - would not necessarily be a bad one. Canonical might have been another one, I haven't personally dealt with them. to be very good at reliably supporting a lot of different hardware. (I'm out of that consulting biz now...for some time now.) Honestly, IMO this isn't primarily an issue of hardware support. It is an issue of informational support by the hardware manufacturers. They post lots of fru-fru information about their product without posting the information one really needs to know to make an informed purchase. Very few of the HBA manufactureer inform the user whether the card at hand supports LBA 48 or not. I have purchase several controllers only to find the drive size limited to 2T. Many devices that only specify RH and / or SuSE are in fact perfectly well supported under Debian and most of its derivatives. Many just report Linux support, when in fact there is no support under many distros. Again, I agree. In this scenario, I would find a couple of controllers that would seem to suit my purpose, and contact the manufacturers directly with very specific questions. One of these questions would be whether or not the controller is supported by the Linux kernel itself, or if it would require third-party software/modules to work, and if so, what systems those are available for. Since there are so many distributions that are based on Debian, and especially Canonical seems to have a little clout with manufacturers, I would suggest to them to investigate support for Debian-based systems. Not supporting it in this day and age would seem strange to me. There are many fates worse than becoming, for certain of one's key systems, a RH customer. Even more so if making money, or deliverables, is part of the job of said key systems. It is not, and economy is definitely a key consideration, here. What's more, I am not asking the OS to support any particular hardware. What I am asking - even if it were REd Hat - is whihc hardware is supported. That really should not be that difficult a question. (Yes, I understand why it is in fact a difficult question.) Yes, it is indeed a difficult question. This is just personal preference, but I would as far as possible avoid hardware that isn't supported by the Linux kernel itself, since that would leave me at the mercy of the manufacturer with regard to future support and updates. It boils down to the question How much of my time do I want to waste looking for those hens' teeth, and, These aren't hen's teeth. They are type O-Positive blood donors. I just need the bag labeled with the blood type so I know which one to choose. given what my time is worth, do I want to take that hit? As opposed to the huge amount of time it would take me to switch operating systems? Few, if any, of the dozens of scripts I have in place to manage the system would work out of the box. They would need to be re-written. Nearly all of the software I have written would have to be re-compiled, and some might need to be re-written. I would also have to spend a lot of time getting far more familiar with Red Hat than I am now. No, by far the most economical route is just to buy HBAs
Re: RAID question
On Mon, 18 May 2015 07:29:06 -0400 Renaud (Ron) OLGIATI ren...@olgiati-in-paraguay.org wrote: I want to run two pairs of HDs as software RAID 1 arrays, using mdadm. Is there any point in declaring the HDs as RAID in the BIOS too ? No. :) Petter -- I'm ionized Are you sure? I'm positive. pgpPCtgxap9Ok.pgp Description: OpenPGP digital signature
Re: strange booting behavior
On Sun, 17 May 2015 05:42:40 + gofloss gofloss goflos...@gmail.com wrote: snip the thumb drive is quick to describe. it's in the bios boot sequence, but even though i put grub on it, it doesn't boot. it just defaults to the next item on the sequence. so perhaps my computer is not capable of booting thumb drive? Possibly, but then I would think it odd that it shows up in the BIOS as a bootable device at all. Have you tried just downloading the Debian netinst image, dd it to a similar flash drive, and then tried booting that? That could help you determine if it is the BIOS or the configuration on the thumb drive. You could also check if there are any updates available for your BIOS. snip in fact, in the initrd busybox shell, i can do cryptsetup luksOpen /dev/sda3 toshiba-root. i do not know how or where ^ ... /proc/cmdline says BOOT_IMAGE=/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/toshibaroot ro ^ Is this a typo? You have a hyphen here above. Petter -- I'm ionized Are you sure? I'm positive. pgpdnE4fZeKTx.pgp Description: OpenPGP digital signature
Re: jesse partitioner
On Sat, 16 May 2015 10:24:52 -0400 Bob McKittrick mckitt1...@gmail.com wrote: after installing jesse and it boots, the bios kicks out the drive. I What do you mean by the bios kicks out the drive? What happens, and what (if any) relevant log messages do you see? am using an asus H61M motherboard with bios dated 2012 or 2013. The install askes for rt1_nic/rt18168-1.fw . would that help ? It really shouldn't, as far as I can understand, as that is for an Ethernet controller. Anyway, you can get that by installing firmware-realtek. Petter -- I'm ionized Are you sure? I'm positive. pgplBUdljia6D.pgp Description: OpenPGP digital signature
Re: We are neophytes needing to install UBUNTU first (then after a while we'll try DEBIAN)
On Wed, 13 May 2015 12:08:49 +0200 Jazz Au Duc jazzodu...@gmail.com wrote: We would like to install UBUNTU , in order to work with good versions of GIMP SCRIBUS . Can you help us ? Thanks from Brittany. https://help.ubuntu.com/community/Installation Petter -- I'm ionized Are you sure? I'm positive. pgpU2IwTlKnKu.pgp Description: OpenPGP digital signature
Re: delete message without email client
On Tue, 12 May 2015 09:36:17 + Alex PADOLY apado...@padoly.besaba.com wrote: Hi, Thank you for your answer, The messages are is a local mail spool. Well, use find, grep or any other tool as appropriate to locate the file you want and delete it. What are you trying to do, apart from delete a file? You need a way to identify the message that you want to delete, eg by date/timestamp, message content, etc. If the messages are stored in maildir or mh format, then it is simply a question of locating the message you want to delete by using the appropriate tool. If you can identify it by timestamp, then find can do everything you need. If you need to scan the contents to find, for instance, a certain string in the message, then perl or grep could be useful. Check out the GNU package mailutils, maybe it can help you achieve what you want to do. It has a tool called readmsg, that can extract selected messages from a mailbox - maybe that would be a good place to start. It also has movemail -- extract selected messages from a mailbox, maybe it can delete as well as move - read the man page. Oh, and please don't top post. Petter Le 2015-05-12 09:18, Petter Adsen a écrit : On Mon, 11 May 2015 16:58:09 + Alex PADOLY apado...@padoly.besaba.com wrote: Hi, How I can do to delete message without use email client, more I would like to do that with cronjob. That all depends on where the message in question is stored. It is quite impossible to tell you more with this little context and information. The message could be in a local mail spool, like /var/mail, it could be in a subdir of your home directory, it could be on a remote IMAP server, or it could be stored in a database. These are just the first things I can think of off the top of my head. Petter -- I'm ionized Are you sure? I'm positive. pgpUH_VPC1RHk.pgp Description: OpenPGP digital signature
Re: Help with ddrescue
On Tue, 12 May 2015 12:25:47 +0100 Lisi Reisz lisi.re...@gmail.com wrote: On Tuesday 12 May 2015 11:38:18 German wrote: Just rereading the thread, couldn't find any. What tools to use and how to use them? You could start with the first two messages in the thread, other than yours. Counting yours, the second and fourth: Gary Dale said: Next you can run whatever rescue software you like on the failed.img file to see if you can recover anything. I usually start off with something simple like fsck before trying testdisk. The Wanderer gave you a detailed recovery plan. Try reading what he advised. I find I can't really just pick out one little sound bite - but he also says to start with fsck. Just to add to this, take a look at the package scrounge-ntfs: Description-en: Data recovery program for NTFS filesystems Utility that can rescue data from corrupted NTFS partitions writes the files retrieved to another working file system. AFAIK, there is no fsck.ntfs. Petter -- I'm ionized Are you sure? I'm positive. pgpB8A1ajqQlK.pgp Description: OpenPGP digital signature
Re: delete message without email client
On Mon, 11 May 2015 16:58:09 + Alex PADOLY apado...@padoly.besaba.com wrote: Hi, How I can do to delete message without use email client, more I would like to do that with cronjob. That all depends on where the message in question is stored. It is quite impossible to tell you more with this little context and information. The message could be in a local mail spool, like /var/mail, it could be in a subdir of your home directory, it could be on a remote IMAP server, or it could be stored in a database. These are just the first things I can think of off the top of my head. Petter -- I'm ionized Are you sure? I'm positive. pgpmya05Xw05a.pgp Description: OpenPGP digital signature
Re: Help with ddrescue
On Tue, 12 May 2015 06:18:34 -0400 German gentger...@gmail.com wrote: On Tue, 12 May 2015 08:57:28 +0100 Lisi Reisz lisi.re...@gmail.com wrote: On Tuesday 12 May 2015 01:15:20 German wrote: Well, Wanderer, I got the drive cloned, it took three days, with no positive results. What results did you expect? You cloned it. You now presumablty have a clone. You can now work on the clone. What else? USB is very slow. Might you be able to work on teh clone more directly? Lisi Great. And what this work involves? The original drive had a broken file system. You cloned it. Cloning means to make an identical copy. You now have a clone with a broken file system. That means that you can now try to fix the file system on that clone - avoiding to touch the original, possibly broken drive. Read through this thread again, now that you have something to work with. Many good suggestions have been made here. The error message you posted even suggests a fix: NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! Why not start there? Petter -- I'm ionized Are you sure? I'm positive. pgpzgxY8cnjP0.pgp Description: OpenPGP digital signature
Re: Lid suspend problem with a Dell Laptop - Jessie
On Sun, 10 May 2015 17:17:58 -0400 Charles Fabbri cfabbri...@gmail.com wrote: Good Afternoon, I have weird problem with the lid switch on an old Dell Latitude D505 laptop. I did a clean install of Jessie and everything is working fine, except the lid switch freezes the computer. It's not a suspend problem, because I can suspend properly from the shutdown menu and the suspend button on the laptop. The computer suspends correctly if I do a pm-suspend command. However, when I close the lid, the computer screen goes black except for the cursor and it does not move. I cannot do a ctrl+alt+F1 to get to a terminal, nor can I restart the X session. I even set the lid behavior to do nothing, and the same behavior occurs. Are you able to log in the laptop remotely? Can you do that before the session freezes and see if that also is affected? Also, try using sysrq[1] to reboot to see if the kernel has frozen, or if it's just userspace. [1] http://en.wikipedia.org/wiki/Magic_sysrq Petter -- I'm ionized Are you sure? I'm positive. pgpGXPn03YpWl.pgp Description: OpenPGP digital signature
Re: Returning from hijack : README.mirrors.txt small bugs
On Mon, 11 May 2015 09:52:50 +0100 Lisi Reisz lisi.re...@gmail.com wrote: snip This thread has been thoroughly hijacked. Please, can we get back to the OP's question, which was: - I have found a small spelling bug in http://ftp.debian.org/debian/README.mirrors.txt debian.saix.net /pub/linux/distributions/debian// amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390x sparc double slash ! Who do I report this bug to ? mudongliang I think that you use the reportbug package and just report the bug. I don't actually know, and was hoping that someone else would answer who did, until the thread got so thoroughly hijacked. I would guess the OP should contact these people: https://wiki.debian.org/Teams/Mirrors That's just a guess, though. It says on that page to report bugs found on the mirrors here: http://bugs.debian.org/mirrors Petter -- I'm ionized Are you sure? I'm positive. pgpG11ch1eail.pgp Description: OpenPGP digital signature
syslog/collectd misidentification
On my Jessie box, I'm getting messages like this: May 11 10:51:54 fenris lvm[20426]: libvirt plugin: Unable to connect: virConnectOpenReadOnly failed. The message is from a collectd plugin, so I'm kind of curious as to why it identifies itself as an lvm process. PID 20426 is actually collectd, does anyone know how this can happen? And if this is a bug that I should report, what package should I report it against? I have a feeling it's collectd, since every message that is misidentified is from collectd, although it varies what it identifies itself as. root@fenris:~# apt-cache policy collectd collectd: Installed: 5.4.1-6 Candidate: 5.4.1-6 Version table: *** 5.4.1-6 0 500 http://ftp.no.debian.org/debian/ jessie/main amd64 Packages 100 /var/lib/dpkg/status Petter -- I'm ionized Are you sure? I'm positive. pgp1KDGE41KLX.pgp Description: OpenPGP digital signature
Re: ssh tunnels or openvpn/IPsec?
On Sat, 9 May 2015 18:49:27 -0600 Bob Proulx b...@proulx.com wrote: Petter Adsen wrote: Now the question becomes; AFAIK, I could do this with ssh tunnels and forward the ports on my router/firewall, or I could use something like openvpn or IPsec (strongswan). Yes. Exactly. Also 'stunnel4' is useful too. Thanks, I didn't know about that one. I would avoid IPsec. Last I looked there were more than 55 RFCs that had some impact on IPsec. It has traditionally been rather of a messy thing. Urgh, that sounds painful. I think I will steer clear of that, then. That would also explain why there is so little info on it on both the Debian and the Arch wikis. The problem is that I haven't really messed with any of these before - what would be the best choice in this situation? Note that I'm not asking for a complete configuration, all I want is some advice as to which of these technologies I should begin to read up on. The IPsec article on the Debian wiki is from Sarge, so it is quite outdated, but the openvpn article is recent and seems helpful. Any insights/advice/links, etc? Using ssh tunnels will get you 80% with 20% of the work. Using OpenVPN will get you 100% with 100% of the work. Using 'autossh' to manage ssh tunnels is very reliable to run and very quick and easy to set up. I use all of autossh/ssh tunnels, stunnel4, openvpn in different places. I tend to like and use the autossh/ssh tunnels because they are quick and easy and work well enough that I can move along to something else without spending a lifetime managing them. It doesn't require any routing table modifications. Not requiring explicit routing is a bonus, but not really a dealbreaker for me. Besides, I am sure the Debian wiki will give me enough hints to get it right. I like stunnel4 for some things because it also is very easy to set up and very reliable. Either ssh or stunnel would seem to be good simple effective choices for remote sysloging. I might lean toward stunnel for this. It all depends. Using stunnel benefits if you have signed https ssl certificates already that can be verified by stunnel. I don't already have certificates, so I would need to generate some. As I already have a little experience with ssh and keys, it would probably be a wiser choice. Both ssh and stunnel use TCP which means that in terms of ultimate performance and ultimate efficiency you are ending up with TCP over TCP and that isn't perfect. TCP over TCP will use some resources and time transporting packets somewhat inefficiently. I think for your example of using remote syslog logging I wouldn't worry about it. It is a non-interactive task and the machines won't care when talking to each other. No one will ever notice the inefficiency. When operating interactively such as working from my laptop to my remote servers I am usually interactive. That is when transport artifacts of latency become noticeable and annoying. There I have put in the extra work to set up openvpn for the 100% solution. It uses UDP for the transport avoiding the TCP over TCP issues. It is more work to set up initially due to dealing with setting up ssl certificates and routing. But having set it up it is a high performance solution that does 100% of the job. I would probably start your remote syslog task using autossh/ssh and then worry about doing something more when the need for more arises and not before. Thank you for your insight, that was very informative. From what I gather from this, it might be just as well to go straight to openvpn. Let me explain. Already I need rsyslog, munin, and collectd. That would require three separate ssh/ssl tunnels. However, if I set up openvpn on the router I will just need the one tunnel, and I can set up remote access to my home network at the same time, with the same bits and pieces. Actually, I won't even need to set up anything special to reach my home network, as I would be able to reach it from the VPS - which already has ssh open. The need to reach my home network is already here, as I don't really have a good way of doing it currently. One thing I forgot to ask, though: how intensive is openvpn on resources, especially CPU and memory? I was initially thinking of setting it up on the router, but I am a little worried that it might be too much for it to handle. Would it be feasible/better to set it up on a more powerful machine on the inside and forward the traffic? And again - thanks, Bob. Petter -- I'm ionized Are you sure? I'm positive. pgpqAhmga5tlg.pgp Description: OpenPGP digital signature
ssh tunnels or openvpn/IPsec?
I have a VPS running Jessie, and would like to set up rsyslog to forward log messages to another Jessie box at home. At the same time, I want to set up a munin node and collectd also on the VPS, and grab data from those. Now the question becomes; AFAIK, I could do this with ssh tunnels and forward the ports on my router/firewall, or I could use something like openvpn or IPsec (strongswan). The problem is that I haven't really messed with any of these before - what would be the best choice in this situation? Note that I'm not asking for a complete configuration, all I want is some advice as to which of these technologies I should begin to read up on. The IPsec article on the Debian wiki is from Sarge, so it is quite outdated, but the openvpn article is recent and seems helpful. Any insights/advice/links, etc? Petter -- I'm ionized Are you sure? I'm positive. pgpdTRx_JqQ6t.pgp Description: OpenPGP digital signature
Re: Rediscovering a forgotten command
On Sat, 09 May 2015 10:34:36 -0500 Richard Owlett rowl...@cloud85.net wrote: A few months ago I came across a command which would save all keyboard input to the current console and all output displayed on that console. That information would be saved to a default file or to a user specified file. IIRC the documentation implied it had originally been targeted at classroom environment. Can anyone identify this? script? Petter -- I'm ionized Are you sure? I'm positive. pgpZ2UQrbC3jf.pgp Description: OpenPGP digital signature
Re: Help with ddrescue
On Fri, 8 May 2015 17:15:51 -0400 German gentger...@gmail.com wrote: On Fri, 8 May 2015 22:05:40 +0100 Lisi Reisz lisi.re...@gmail.com wrote: On Friday 08 May 2015 21:58:12 German wrote: It's happened when I was installing Lubuntu. Post hoc doesn't necessarily imply propter hoc. http://en.wikipedia.org/wiki/Post_hoc_ergo_propter_hoc Lisi You are philosopher. In meanwhile I think that that what caused the problem. I also have internal drive which couldn't be mounted after install of Lubuntu. Interesting enough, after installing Debian on the same system, my internal drive became fully operational. :) About a week ago, I did a kernel upgrade. When I rebooted the system, X wouldn't run, and the mouse cursor was locked in position. I installed another kernel and rebooted. X came up fine, but the mouse still wouldn't work. I spent an hour digging through logs, unloading and loading modules and so on, before I determined it was the battery in the mouse[1]. What Lisi is saying is that just because two things happened at the same time, _does not mean_ that they are related. Petter [1] *groan* -- I'm ionized Are you sure? I'm positive. pgpW3_DGxe8kN.pgp Description: OpenPGP digital signature
Re: nfs problems
On Fri, 8 May 2015 00:50:24 -0400 Gene Heskett ghesk...@wdtv.com wrote: On Friday 08 May 2015 00:36:51 bri...@aracnet.com wrote: On Fri, 8 May 2015 00:03:22 -0400 Gene Heskett ghesk...@wdtv.com wrote: Greetings all; Next is the box on my cnc lathe, #3. But now, not even root can make a third directory on this /net subdir, No Permissions. And the name of the dir could be LanceRumpleStiltSkin root still can't make the directory. i just finished wrestling with NFS set-up problems myself. However I don't understand your description of the problem. why don't you provide the following: /etc/exports from the machine hosting the shares ==from lathe.coyote.den / coyote.coyote.den(rw,sync,fsid=0,no_subtree_check) Gene, Add no_root_squash here, and root will be able to write on the clients. That _is_ what you want, isn't it? Petter -- I'm ionized Are you sure? I'm positive. pgpsc_bIZWLtb.pgp Description: OpenPGP digital signature
Re: nfs problems
On Fri, 8 May 2015 06:51:43 -0400 Gene Heskett ghesk...@wdtv.com wrote: On Friday 08 May 2015 02:55:53 Petter Adsen wrote: That _is_ what you want, isn't it? root does not need write perms, but I do. If it takes root to do something, that is what the ssh -Y session as me, using sudo is for. If you want to read/write file as your normal user, just make sure that the UID is the same on both systems. You might want to edit /etc/passwd on one of the boxes for that, and then you can use find to chown any files that are owned by the old UID. You shouldn't need to do anything other than that. There are other ways to do this, but that is the way I do it at home so I don't need to mess with UID mapping. Or _is_ the UID on both client and server already identical? Petter -- I'm ionized Are you sure? I'm positive. pgpp8XwvX2fot.pgp Description: OpenPGP digital signature
Re: Debian 8 no network...
On Fri, 8 May 2015 14:38:53 +0200 Gábor Hársfalvi hgab...@gmail.com wrote: So you have to check your system update manager's network settings. - Where to do it? And where to setup how often do it the update? Well, what _is_ this update manager? Is it some Gnome thing? I know that Ubuntu has something called update-manager, but on my Jessie box with Xfce nothing like that exists. apt-cache search update manager Doesn't find anything that sounds right, either. What are you running? Petter -- I'm ionized Are you sure? I'm positive. pgpcLYElZQGA8.pgp Description: OpenPGP digital signature
Re: Colorized Prompts Problem
On Mon, 4 May 2015 00:02:11 -0600 Bob Proulx b...@proulx.com wrote: Petter Adsen wrote: Brad Rogers wrote: PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\ [\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' Excuse me if this is a dumb question, but what does the debian_chroot part (twice) do? Basic shell substitution. The task there is to include (foo) in the prompt if debian_chroot is set to foo. Initially you might think, I will use $debian_chroot and if it is empty then it will be empty and if it is set to foo then it will expand to foo. Almost works. That would expand to foo not (foo) with the parens around it. snip for brevity The ${parameter:+word} construct is used a lot of shell programming. Editorial remark: I really wish the author of /etc/debian_chroot had simply made that /etc/chroot_name or some such. Because by naming it /etc/debian_chroot guarantees that no other distribution will pick that convention up and use it. If it had been /etc/chroot_name or something non-distribution specific then it would have been possible to share across other distributions. Sigh. Bob, Thank you very much for your detailed explanation, it was very enlightening. Just recently, I downloaded all the bash documentation from tdlp.org and have slowly begin making my way through it. As a rule, I don't like putting things in my scripts that I do not understand, and this was a very nice feature. Thanks again, Petter -- I'm ionized Are you sure? I'm positive. pgppL_qvFRqM_.pgp Description: OpenPGP digital signature
Re: Upgrade to Jessie : some network problems
On Sun, 3 May 2015 16:24:43 +0200 Nicolas FRANCOIS nicolas.franc...@free.fr wrote: Hi. After upgrading from Wheezy to Jessie, I have a few networking problems : - I had a clear HiID on aMule before, now I get a LowID. I don't know why, I only upgraded my desktop, my router/firewall is an ipFire box transferring the correct ports to my client. It's not really important, but I'd like to understand what's going on. - I had trouble with my NFS and SMB mounts on a wheezy NAS. I couldn't mount them anymore : $ sudo mount /mnt/nfssave mount.nfs: access denied by server while mounting $ sudo mount /mnt/smbshare/ mount: mauvais type de système de fichiers, option erronée, superbloc erroné sur //192.168.10.84/partage, page de code ou programme auxiliaire manquant, ou autre erreur (pour plusieurs système de fichiers (NFS ou CIFS par exemple), un programme /sbin/mount.type auxiliaire pourrait être nécessaire) I solved the SMB problem by updating my NAS box and installing smb-utils, but I still can't mount the NFS share. No indication on ANY log from the server when I try to mount it, nothing has changed in the configuration... Can you help me, especially on the NFS problem ? Or point me to what I could do to debug all this ? Are you sure you might not have gotten a different IP address after the upgrade? And what does the line for /mnt/nfssave in /etc/fstab on the client and the appropriate line in /etc/exports on the server say? Also try running mount with -v. Petter -- I'm ionized Are you sure? I'm positive. pgpWh9HC6BhLJ.pgp Description: OpenPGP digital signature
Re: Failed Array prevents transition to Runlevel 2 in Jessie
On Sun, 3 May 2015 19:01:15 -0700 (PDT) Leslie Rhorer lrho...@mygrande.net wrote: Ah! Excellent. 'Sounds like 'nofail' it is. So I change 'defaults' to 'defaults, nofail' for the RAID array entry and run No space, so defaults,nofail. Which is probably what you meant :) Petter -- I'm ionized Are you sure? I'm positive. pgpoTFxKRCktl.pgp Description: OpenPGP digital signature
Re: sudo not respecting /etc/sudoers
On Sun, 3 May 2015 16:24:15 +0530 Avinash Sonawane root...@gmail.com wrote: On Sun, May 3, 2015 at 3:58 PM, Juha Heinanen j...@tutpro.com wrote: %sudo ALL=NOPASSWD: ALL What does this line do? NOPASSWD? It lets you run commands as another user (normally root) without entering your password. Petter -- I'm ionized Are you sure? I'm positive. pgpalFoSaAPmZ.pgp Description: OpenPGP digital signature
Re: Supported hybrid PC/tablet computers
On Fri, 1 May 2015 20:14:19 +0200 Nicolas George geo...@nsup.org wrote: Hi. I wrote some time ago: I would like to know if some people here have accurate knowledge on the prospect of running Debian on low- and middle-end hybrid PC/tablet computers, like Asus Transformer or Acer Aspire Switch that sell for 250-500 EUR around here? Since no answer came, I took a risk and bought a Lenovo Miix 3-1030, mostly because of the better resolution (1920×1200 instead of the usual 1366×768). The good news is: the touchscreen is supported by Linux. The video controller works well too with Free drivers, this is an Intel controller. But it stops there. No wifi, no sound, no webcam. Not just unsupported: invisible. Nothing on lspci, nothing on lsusb. And not a rfkill thing either apparently. According to the OEM windows, the devices are accessed trough I2C, ACPI (?) and SDIO (???). I do not know how these technologies work, I do not know how to explore them. This will probably not help you, but at Wikipedia you can read more about these interfaces: http://en.wikipedia.org/wiki/I2c http://en.wikipedia.org/wiki/Acpi http://en.wikipedia.org/wiki/Secure_Digital#SDIO I have recently been given a couple of Palm devices that I have barely started to play with, and they use the SDIO interface for things like WiFi. These need special drivers, so even if the WiFi chip (for example) in your tablet is supported by the Linux kernel it would probably not be trivial to get it to work if it is connected through an SDIO interface. AFAICT, I'm no developer. :) All I know about ACPI is that it is used for power management in PC's. There are Linux tools to Do Things (tm) - like acpitool to get or set ACPI values, and you can also look at /proc/acpi. The above pages will tell you more, though, and there are tons of information online if you really want to dig into it, but if you, like me, are not a programmer, it may be limited what you can actually achieve with it. I wish you the best of luck, though :) Petter -- I'm ionized Are you sure? I'm positive. pgpSFkZaVGvV6.pgp Description: OpenPGP digital signature
Re: Changing starting directory for video players
On Sat, 2 May 2015 11:17:46 + (UTC) Liam O'Toole liam.p.oto...@gmail.com wrote: On 2015-05-01, Edward C. Jones edcjo...@comcast.net wrote: I use Debian 8.0 (Jessie), amd64 port, and KDE. Dragon Player has starting directory: ~Videos. VLC has starting directory: ~ KPlayer starts at the last directory used. KMPlayer starts at ~/Documents. How do I change the starting directory for these video players? Which config files contain this information? There is a freedesktop standard covering this area[0]. It is implemented in the Debian packages xdg-user-dirs and xdg-user-dirs-gtk. There is no guarantee that all applications will respect the standard, of course, but it should help you to achieve at least some consistency among them. AFAICR, you can also set the startup directory with menulibre, if you are launching from a menu. For some reason it coredumps on me, so I can't verify this. Petter -- I'm ionized Are you sure? I'm positive. pgpNJ2tj62lQT.pgp Description: OpenPGP digital signature
Re: Colorized Prompts Problem
On Fri, 1 May 2015 16:31:16 +0100 Brad Rogers b...@fineby.me.uk wrote: On Fri, 1 May 2015 11:07:46 -0400 Thomas H. George li...@tomgeorge.info wrote: Hello Thomas, I entered the following in .bashrc PS1='\033[01;33m\h:\w\$ \033[00m' to colorize the prompt (very handy to find the prompt when a command fills the console screen with lines of text) Lifted from my .bashrc; PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\ [\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' Should all be on one line of course. It shows path, and doesn't overwrite prompt on line wrap, and entered command strings can be edited without problem. Excuse me if this is a dumb question, but what does the debian_chroot part (twice) do? Petter -- I'm ionized Are you sure? I'm positive. pgprFsI1pKRqN.pgp Description: OpenPGP digital signature
Re: mouse cursor disappeared after upgrading from wheezy to jessie (xfce 4)
On Fri, 1 May 2015 08:59:40 +0200 Petter Adsen pet...@synth.no wrote: On Fri, 1 May 2015 00:37:00 -0300 Rafael Dias da Silva rafael.dias.si...@gmail.com wrote: I tried a few more tips I found but nothing brings back the cursor. I have no idea what Jessie might have done to make it disappear (it was working just fine after upgrade and before dist-upgrade). What DE/WM are you using? I had this problem with Enlightenment when I enabled Gnome services on startup. Sorry. Didn't see the xfce part. Can you try switching mouse cursor theme? Petter -- I'm ionized Are you sure? I'm positive. pgp2TO0yZ5vD2.pgp Description: OpenPGP digital signature
Re: mouse cursor disappeared after upgrading from wheezy to jessie (xfce 4)
On Fri, 1 May 2015 00:37:00 -0300 Rafael Dias da Silva rafael.dias.si...@gmail.com wrote: I tried a few more tips I found but nothing brings back the cursor. I have no idea what Jessie might have done to make it disappear (it was working just fine after upgrade and before dist-upgrade). What DE/WM are you using? I had this problem with Enlightenment when I enabled Gnome services on startup. Petter -- I'm ionized Are you sure? I'm positive. pgphJ78djJnNh.pgp Description: OpenPGP digital signature
Re: install photivo on debian jessie
On Mon, 27 Apr 2015 14:12:03 +0200 Robert Spiteri robs...@gmail.com wrote: Dear Sir / Madam, I wish to install Photivo in Debian Jessie but I am not managing. I already tried to install it in Debian Wheezy but got broken packages and could not sort it out. I tried to follow instructiona found on the internet but to no avail. You need to tell us _exactly_ what you tried to do, and _exactly_ what went wrong. Copy and paste, if possible. Any help is greatly appreciated. I aplogise if this request is directed to wrong person. In this case kindly advise contact e-mail, No, this is the right place :) Petter -- I'm ionized Are you sure? I'm positive. pgpx4zVUa4mH6.pgp Description: OpenPGP digital signature
Re: Can't redirect stout and stderr
On Sat, 25 Apr 2015 07:53:23 + Rodolfo Medina rodolfo.med...@gmail.com wrote: Hi all. My old pc has corrupt filesystem problems, and, in order to ask the present list some help about that, I need to store to a file the output of `update-grub', both stdout and stderr, but don't manage to even using any of the solutions suggested wherever I could find them: nor `update-grub file' nor `update-grub file' neither `update-grub file 21'. Please help! Thanks in advance, Rodolfo script? Petter -- I'm ionized Are you sure? I'm positive. pgphjoSRuhwSP.pgp Description: OpenPGP digital signature
Re: Recommendation on video card?
On Sat, 25 Apr 2015 12:19:59 +0200 Nicolas George geo...@nsup.org wrote: Le sextidi 6 floréal, an CCXXIII, Igor Cicimov a écrit : Anyway, this is how I pick a card ... I go to http://www.videocardbenchmark.net and choose a card(s) from the range I'm after and then look for the best price I can find. I have occasionally the same issue as Petter. I have it much less since I have decided to only use intel chipsets or processors with integrated GPU, bit still sometimes. If I could, I would definitely buy a _discrete_ Intel video card, but that's not happening. Buying a new processor with integrated GPU is also not happening, since that would involve switching motherboard, probably memory sticks, and maybe other things. It would end up to be expensive. I notice that neither of the answers address the real issue, although your previous paragraph (the one I snipped) does for a particular model: support by Linux KMS and X.org, hopefully with Free drivers. Yup, this can be hard to figure out. The reviews of video cards online almost always use the proprietary drivers, and I'd like to avoid that if I can. After all, today's budget cards were high-end three years ago. For a non-gamer, 3D was more than adequate ten years ago (armagetron ran at the monotor's refresh rate thirteen years ago with a middle-class card) and accelerated video rendering (not decoding) was tearless. Hardware video decoding is more recent, and even nowadays the lowest end chipsets (Atom and the like) do not support it in any useful way. Support for the high-end pixel formats (yuv444p10) is even more recent. Yes, this is why I suspect that I might want a fairly recent card, but it's hard to find one that supports the things that I may need without having to pay for a lightning-fast GPU and a metric ton of memory. There are some pages on the X.org wiki: http://www.x.org/wiki/RadeonFeature/ But they are not always very easy to browse: the dates and minimum versions are not written, nor the market lifetime of the cards. So you may be looking at a very interesting all-green controller until you realize that you will either have to pull X.org from Debian experimental or that it has been out of sale for two years. The mapping between the technical names used on the X.org wiki, the PCI Ids (and translated names) and the commercial names is annoyingly hard to find too. If someone knows a better and more complete summary of the supported cards, that would be very helpful for a lot of people. At least me would sure like to see one :) I can give a few facts, but they will be useless for people wanting to get a new video card: snip Most of those you mentioned are integrated, and hence out of the question for me. When I eventually have to upgrade, I will probably switch from AMD processors to Intel, though. Thanks for the information, also. But for the time being, is the best solution to get a new, but low-end card, probably from nVidia, and go with the proprietary drivers? Petter -- I'm ionized Are you sure? I'm positive. pgpdLxmgoCkvL.pgp Description: OpenPGP digital signature
Re: Can't redirect stout and stderr
On Sat, 25 Apr 2015 12:27:30 + Rodolfo Medina rodolfo.med...@gmail.com wrote: Nicolas George geo...@nsup.org writes: Le sextidi 6 floréal, an CCXXIII, Rodolfo Medina a écrit : file is a bashism but should work. file 21 is a typo for file 21 Both commands write onto `file' only a part of the output of `update-grub', I think the standard output. After giving the command and pressing `enter', that part is not shown on the screen but sent to `file'. The `error' part instead (the one complaining `unable to read superblock' and so on) is not written to `file' but is shown after giving the command and pressing `enter', and I don't manage to send it to a file. That is not normal. Unless update-grub is doing something really really wrong, there is some other problem at work. The script suggestion was a good one if the problem is not unwritable filesystem: Start script, then enter, you get a new shell. Run your commands (including the redirects: a cleanly redirected output is more readable than a script recording), then exit the shell. You get a file named typescript with the tty output. Thanks. But the file `typescript', just as the above `file', only includes the `nice' part of update-grub's output, not the error messages. What to do? Screenshot? Petter -- I'm ionized Are you sure? I'm positive. pgpRnAWMBRdMU.pgp Description: OpenPGP digital signature
Re: Recommendation on video card?
On Fri, 24 Apr 2015 12:36:15 -0400 Ric Moore wayward4...@gmail.com wrote: On 04/24/2015 03:23 AM, Petter Adsen wrote: I have an AMD HD5450 card in my desktop, which has been mostly adequate for me, but now it is time to retire it. Can anyone recommend a more recent card that works well with X? I'm using two screens, so I will need at least two outputs - preferably digital. I have been quite happy with AMD, so I'd like to stick with that, and I prefer not using the fglrx driver if possible. One thing that would be nice is hardware decoding of video, with something later than UVD2. At some point I will probably also need to get a third screen, so something that has three outputs or would run nicely with a second video card that has additional outputs is a big bonus. I use no 3D software, no games, and nothing I can think of that needs a powerful GPU. It might be nice with 4K support, though. Everything online talks about what cards to get for gaming, but that is irrelevant to me. Actually it is relevant. People use gaming as a benchmark. If it works well for gaming, then you are set, just in case you find that you actually need some horsepower, or don't want to be annoyed with tearing, etc. You just never know. Especially if you want to drive multi-monitors with multi-cards. I can understand that, but recent cards tend to have much more power that I need, and hence be much pricier than necessary. The cards that are suitable for desktop use that still has video decoding and 4K are few and far between. AMD and Intel have been less than stellar, in the past, for higher-end support. Just a quick search finds an older nvidia GT610 PciE with 2 gigs of vram for $40 with free shipping on Amazon. I'm running two older GT520's for four monitors. Works a charm with the nvidia drivers and tweaking the bios to turn off the built-in video. I did have to install a larger power supply to keep it all from over-heating, the average 500 watt supply is too marginal for this load, IMHO. Thanks, I'll look these up and read the specs. When I first bought this machine I got an 850W high-end power supply, so I should be set :) Be sure to check for the openGL version which should be equal to or higher than version 2.0. So, IMHO it's better to have too much, than not enough! But, that is just my two cents:) Ric Why is that? What do I need OpenGL for? I'd wager that any card with 4K support would probably have a recent OpenGL stack, though. Petter -- I'm ionized Are you sure? I'm positive. pgp0TRgE7t_EK.pgp Description: OpenPGP digital signature
Re: can't automatically launch lxde
On Thu, 23 Apr 2015 19:00:31 -0400 James bjloc...@lockie.ca wrote: On 04/22/2015 10:42 PM, James wrote: On 04/21/2015 11:46 PM, Gary Dale wrote: On 21/04/15 08:21 PM, James wrote: I installed lxde as a gui desktop but I can't get it to run automatically. I need to login as me and then do sudo kdm (sudo lxdm doesn't work). It sounds like kdm isn't starting automatically, so you probably don't have any gui starting (is this correct?). Correct. You probably have kdm or lxdm installed but not both, which is why only one starts. Lxdm is not a Debian package so if you are running Debian, that would explain it. I am running Debian Jessie and I have lxde 8. I think I just installed the lxde package. https://wiki.debian.org/LXDE#LXDE_in_Debian The easiest way to fix the problem may be to: sudo apt-get purge kdm sudo apt-get install kdm This should fix any corruption that may have occurred and should set up kdm to run on startup. If you prefer lxdm, simply change the install line to lxdm (assuming that you are running Ubuntu). sudo apt-get install lxde Reading package lists... Done Building dependency tree Reading state information... Done lxde is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I purged kdm and still no GUI starts, I had to use startx. What happens when you do sudo systemctl restart lightdm.service? And what's in /var/log/lightdm/lightdm.log? Petter -- I'm ionized Are you sure? I'm positive. pgpVtKoDPRWKm.pgp Description: OpenPGP digital signature
Recommendation on video card?
I have an AMD HD5450 card in my desktop, which has been mostly adequate for me, but now it is time to retire it. Can anyone recommend a more recent card that works well with X? I'm using two screens, so I will need at least two outputs - preferably digital. I have been quite happy with AMD, so I'd like to stick with that, and I prefer not using the fglrx driver if possible. One thing that would be nice is hardware decoding of video, with something later than UVD2. At some point I will probably also need to get a third screen, so something that has three outputs or would run nicely with a second video card that has additional outputs is a big bonus. I use no 3D software, no games, and nothing I can think of that needs a powerful GPU. It might be nice with 4K support, though. Everything online talks about what cards to get for gaming, but that is irrelevant to me. Does anyone have a recommendation for a good card for a desktop? Petter -- I'm ionized Are you sure? I'm positive. pgph0J4wvPPvl.pgp Description: OpenPGP digital signature
LVM question
Is it possible to have two VGs on the same PV? If so, how can I make a VG with lots of free space smaller? I'm suspecting that the answer to my first question is no, since this doesn't seem possible from the man pages. Petter -- I'm ionized Are you sure? I'm positive. pgpkZgFpuk4rE.pgp Description: OpenPGP digital signature
Re: LVM question
On Mon, 20 Apr 2015 10:33:13 +0100 Darac Marjal mailingl...@darac.org.uk wrote: On Mon, Apr 20, 2015 at 09:26:54AM +0200, Petter Adsen wrote: Is it possible to have two VGs on the same PV? I don't believe so. The VG is the mapping layer in the LVM stack. It maps the LVs to the PVs. If you were to share a PV between VGs, then you'd need some way to tell the VGs which parts of the PV they can use (letting them battle it out and potentially over-commit the PV is not really a good idea). The easiest idea is to split the underlying device into multiple PVs (e.g. use partitions). I see, thank you for the explanation. If so, how can I make a VG with lots of free space smaller? I'm suspecting that the answer to my first question is no, since this doesn't seem possible from the man pages. A quick bit of searching suggests the incantation would be: * Boot from a rescue/live disc * Activate your VG * (You say you've got unallocated space in your VG, so resizing filesystems/LVs won't be covered) * lvm pvs should, at this point, indicate some PFree, which is how much you can shrink the PV * Run lvm pvresize /dev/whatever --setphysicalvolumesize 50G (Where /dev/whatever is the PV device and 50G is the new size to resize to) * Finally, resize the PV's partition appropriately. At this point, you will have a smaller PV and less unallocated space in your VG. You can now create another partition, PV that and add it to a second VG. I figured I would have to do that. It's not really a problem right now, I was mostly wondering if it was possible without messing with partitioning. But now I know how to do it if it crops up in the future, and that's a good thing :) Petter -- I'm ionized Are you sure? I'm positive. pgpzQA6xgPWs8.pgp Description: OpenPGP digital signature
Re: I need guidance about how to configure a newly installed Jessie ... another related question
On Sun, 19 Apr 2015 10:18:58 -0600 Paul E Condon pecon...@mesanetworks.net wrote: On 20150419_0852-0600, Paul E Condon wrote: On 20150419_0826-0600, Paul E Condon wrote: On 20150419_0830+0200, Petter Adsen wrote: On your router, depending on make and model, there is usually a page in the web interface where you can map MAC addresses to IP addresses, if the router assigns those via DHCP. I am trying to setup DHCP assignment, but it doesn't seem to be working. Mostly the more things I try, the less things show up in the list of attached devices. I hope I can recover from this experiment. Another option you have, that I would file in the future experiments when everything else is stable and working category, would be to see if your router is supported by something like OpenWRT or DD-WRT. They both have a lot more features than most manufacturers firmware, and give you a greater degree of control. Also, on my router and the one I had before, the list of DHCP clients was frequently not listing all clients. It may have had something to do with the fact that I set really long lease times, but I'm not sure. See if your router has a log, on my router I can even filter on events, and DHCP is one of the filters I can choose. Then you will see the requests come in and the router sending replies. Good luck, Petter -- I'm ionized Are you sure? I'm positive. pgpDOxn1BcjrS.pgp Description: OpenPGP digital signature
Re: I need guidance about how to configure a newly installed Jessie
On Sat, 18 Apr 2015 20:18:17 -0600 Paul E Condon pecon...@mesanetworks.net wrote: On 20150418_1905-0500, David Wright wrote: Quoting Paul E Condon (pecon...@mesanetworks.net): I was running as pec or as root. I forget. Since doing that, I realized that for many years I have been running with my own version of /etc/ssh/ssh.config. Confronted with the evidence, I recall that this was a place I found, through exhaustive search, to turn off the hashing of known_host. I like to be able to identify lines in known_host, because I think each line is a possible access path for a hacker and the sysadmin, namely me, should be able to trace the provenance of all such lines. In short hashing them opens a backdoor more serious than the one it closes, IMHO. I now know that I can put my edits in two places, /home/pec/.ssh/ssh_config and /root/.ssh/ssh_config, and have the same effect. If you're happy with not hashing, you need only put that in /etc/ssh/ssh_config (underscore, not dot) if you remove all other .ssh/ssh_config files. I can envision a different way, but I cannot envision one that does not impact of how Debian wants to configure Jessie. So be it. When upgrade runs, you'll need to keep your configuration and then run diff against the maintainer's version (suffixed .dpkg-new or .ucf-dist or some such) to fold in any changes they've made (likely to be few to none). I have not yet discovered a way to append new known host keys from newly configured hosts into the .ssh/known_hosts files on older computers. known_hosts and authorized_keys are both text files. Each line is independent. You can cat x y to append contents of x to y or insert with an editor. An editor's Insert File is safe, but make sure to reconstruct the lines if cut and paste does any line wrapping, ie ssh-rsa jhdgkhkkdjkjnskjn foo@bar needs to be made back into ssh-rsa jhdgkhkkdjkjnskjn foo@bar IIRC any line from one hosts's or user's known_hosts file will work for another user and/or host, and the same with authorized_keys (though don't mix them up!). I think the removed file was the one associated with either pec, or root, which ever was appropriate for a test. Since doing the tests, I have done a complete re-install. With that removing the appropriate known_hosts file gives me the old familiar option of accepting the risk of man-in-the-middle. There's never a problem with wiping out known_hosts and letting it gradually be rebuilt, particularly if you know the fingerprints thusly: $ ssh-keygen -l -v -f /etc/ssh/ssh_host_ecdsa_key.pub .../ssh-fingerprint As said before, I am working now with a new re-install on my main computer. It is the one on which I am composing this email. This is its /etc/hosts file: 127.0.0.1 localhost 127.0.1.1 big.lan.gnu big 192.168.1.1 rtr.lan.gnu rtr # LAN side of router 192.168.1.10 cmn.lan.gnu cmn 192.168.1.11 big.lan.gnu big 192.168.1.12 gq.lan.gnu gq [...] The top two lines were provided during the running of netinst CD RC2. The rest were provided by me, after I took the CD out of the computer and rebooted. Well I have tried to keep things as simple as possible and I recently decided to call exim's bluff... I don't think I have a problem with exim. I use msmtp to get emails out onto the web. I tried doing it with exim4 about 2yrs ago. It kept breaking so I found alternative for a previous stand-alone smtp agent that was being discontinued due to lack of upstream support at about the same time that Debian was moving from plain exim to exim4. I could try again, but after I get ssh working both directions, I hope. Starting MTA:hostname --fqdn did not return a fully qualified name, dc_minimaldns will not work. Please fix your /etc/hosts setup. exim4 ok ...and configure a null domain (ie no dots in /etc/hosts outside of the IP numbers). Everything still works. With this, I can ssh into 'gq' from 'big', which is my main computer with the big flat screen display. I can open and edit files on 'gq' and the edits will be saved. No problem. But, if I sit down the keyboard and screen connected to 'gq', I cannot do the reverse. On 'gq', the /etc/hosts file contains all the lines as on 'big', except for the first two. It should contain the first two lines exactly the same except substitute big→gq. Working on 'gq', I cannot ping ['big']. Can you tell be why, and what I can do to make the ping possible. It would be very educational for me, and maybe all other problems will fall away in my basement. From what you have posted, I would imagine that big has come up as 192.168.1.X where X is not 11. /sbin/ifconfig will tell you the IP number of the machine it's run on. /usr/sbin/arp -n -a run on gq (during
Re: Debian 7 and external monitors and graphics adaptors
On Sat, 18 Apr 2015 15:01:55 +0800 Bret Busby bret.bu...@gmail.com wrote: On 18/04/2015, Liam O'Toole liam.p.oto...@gmail.com wrote: On 2015-04-17, David Wright deb...@lionunicorn.co.uk wrote: Quoting Bret Busby (bret.bu...@gmail.com): The computers upon which I run Debian 6, have only 16 GB of RAM, and, Lucky you. 2GB here. expecially with Debian 6 not having adequate memory management (as previously mentioned, memory swapping does not work effectively), so, Eh? Squeeze ran quite happily for me with a Klamath Pentium II on an Atlanta mobo with 384MB of RAM. What on earth *are* you running? I suspect the OP is confused about used vs free memory[1]. No. It has been made quite clear, in previous posts - it is to do with the RAM being used up without memory swapping, occurring, when memory usage shows at 90-95%, with no memory swapping. But, this thread has now descended into flaming, and so I simply give up on it, and, on trying to get Debian 7 to work, via the mailing list. Well, before you give up, have you tried the advice you have been given? There should be plenty there to get you started, and several resources for reading. It is hard to help when you do not respond about what you have tried and not, and what has/hasn't worked. I'm not interested in arguing with you, but have actually tried to help. If you are not interested in help, there is very little we can do for you. Petter -- I'm ionized Are you sure? I'm positive. pgpRmxZwPGsEk.pgp Description: OpenPGP digital signature
Re: wheezy drive recognition?
On Thu, 16 Apr 2015 20:50:13 -0400 Gene Heskett ghesk...@wdtv.com wrote: On Thursday 16 April 2015 16:01:31 David Christensen wrote: Do you know if the laptop or the desktop machine can use a USB flash drive as the system drive? My 945 chipset and newer machines can do this. It is one of the best cheap Linux tricks I've ever discovered. With limited life of the flash, linux filesystems are hell on flash. Not any longer :) There are now Linux filesystems specifically for flash memory - F2FS, for instance. ext4 isn't as bad on flash, either, with the right mount options, and btrfs (if you dare use it) has optimizations for it. I think wikipedia has more on those - there are others. It's a good option for installations, or a system drive that you can boot in an emergency. They are also cheap enough that you can use them as a system drive on a box altogether, and just replace it before/when it goes bad. Petter -- I'm ionized Are you sure? I'm positive. pgptjb7WyNWY6.pgp Description: OpenPGP digital signature
Re: Debian 7 and external monitors and graphics adaptors
On Fri, 17 Apr 2015 13:07:54 +0800 Bret Busby bret.bu...@gmail.com wrote: On 17/04/2015, Liam O'Toole liam.p.oto...@gmail.com wrote: On 2015-04-16, Bret Busby bret.bu...@gmail.com wrote: On 17/04/2015, Ric Moore wayward4...@gmail.com wrote: SNIP Have you tried catalyst for the AMD setup?? Under AMD Mobility Product Family your 6000 series is listed. http://support.amd.com/en-us/kb-articles/Pages/AMDCatalyst14-9LINReleaseNotes.aspx Hello. I assume something bad is in the source code of that web page (it is aspx, so, proprietary MS stuff), but, with two web browsers - Arora and rekonq, running on Debian 6, I can only see a bit at the op of the web page - no scroll bar or any way to get to the important stuff lower down on the web page. Publishing a web page about Linux stuff, in MS only format, is a bit weird. It is kind of like the manuafacturer (AMD) wants to hide its Linux stuff, from Linux users. It is nothing of the sort. The site Works fine in iceweasel on jessie. It should work on wheezy, which has the same version of iceweasel, too. Any browser you run in squeeze was EOL'ed years ago, from a security perspective if nothing else. What it comes down to, has nothing to do with the version number of Debian. What it came down to, is, the web page bien aspx shite, it requires javascript (javashite). I installed a 12.x version of opera (from my Debian 6 desktop system), on this (Debian 7, running on the Acer E5-521-238Q) system, and left javascript enabled, and the web page works. In going to the Ubuntu 14.04 64 bit option, as such packages are usually .deb packages, and so, tend to work on Debian (which is how I got Seamonkey installed and working on this system, from an old version of Seamonkey.deb, that I had obtained), I downloaded and tried to install the package. I got a dependency problem; Error: Dependency is not satisfiable: fglrx-core So, I seached in Synaptic, for fglrx, and found fglrx-driver; non-free ATI/AMD RadeonHD display driver FGLRX / AMD Catalyst is the non-free proprietary display driver for the ATI/AMD RadeonHD and FireGL graphics cards. As an alternative, you may try the newest free driver xserver-xorg-video-radeon. This driver release supports the following graphics adapter families: AMD Radeon HD 7000, AMD Radeon HD 6000, and AMD Radeon HD 5000. So, I searched within Synaptic, for xserver-xorg-video-radeon . I found that xserver-xorg-video-ati and xserver-xorg-video-radeon, are already installed. The first has, in its package description; X.Org X server -- AMD/ATI display driver wrapper This package provides the 'ati' driver for the AMD/ATI Mach64, Rage128, Radeon, FireGL, FireMV, FirePro and FireStream series. This driver is actually a wrapper that loads one of the 'mach64', 'r128' or 'radeon' sub-drivers depending on the hardware. These sub-drivers are brought through package dependencies. Users of Rage, Mach, or Radeon boards may remove this package only if they use Driver r128, mach64, or radeon in /etc/X11/xorg.conf instead of relying on autodetection. and, for the secomd; X.Org X server -- AMD/ATI Radeon display driver This package provides the 'radeon' driver for the AMD/ATI cards. The following chips should be supported: R100, RV100, RS100, RV200, RS200, RS250, R200, RV250, RV280, RS300, RS350, RS400/RS480, R300, R350, R360, RV350, RV360, RV370, RV380, RV410, R420, R423/R430, R480/R481, RV505/RV515/RV516/RV550, R520, RV530/RV560, RV570/R580, RS600/RS690/RS740, R600, RV610/RV630, RV620/RV635, RV670, RS780/RS880, RV710/RV730, RV740/RV770/RV790, CEDAR, REDWOOD, JUNIPER, CYPRESS, HEMLOCK, PALM, SUMO/SUMO2, BARTS, TURKS, CAICOS, CAYMAN, ARUBA. So, for Debian 7, two driver packages for AMD/ATI Radeon video things, were already installed, but, they, apparently, do not cover the applicable video controller. And, the manufacturer's driver, apparently, can not be installed, due to Error: Dependency is not satisfiable: fglrx-core The Synaptic list of packages, returned in searching for fglrx, does not include the unsatisfiable dependency package; fglrx-core. From what I can remember, the AMD web page lists more than one package, and you need at least two or three of them, depending on whether you want the graphical setup utility (AMD Catalyst Control Center or something like that). That's why the dependency fails. Download the correct packages, and install them in the right order. There should be install instructions linked from that download page. Petter -- I'm ionized Are you sure? I'm positive. pgpzMAlqqy8YU.pgp Description: OpenPGP digital signature
Re: change sources.list to follow testing, not jessie
On Thu, 16 Apr 2015 22:00:58 +0100 Joe j...@jretrading.com wrote: On Thu, 16 Apr 2015 21:11:06 +0100 Lisi Reisz lisi.re...@gmail.com wrote: But it will be awful the day that Jessie goes Stable because everything will immediately update willy-nilly and out of your control, all at once, to Stretch (which will be the new testing). I really should wait a few days if I were you. If I were me I would wait at least a month! However long the wait, the result will be the same. In fact, the longer the wait, the more upgrades there will be in one go. Once the floodgates open into the new Testing, there will be a similar upheaval here in Sid, as software which has been kept back because it won't be compatible with the initial new Testing (which has to be smoothly upgraded from the present Testing) will then be dumped into Sid and pushed into Testing as soon as the magic two weeks have passed without complete disaster. Interesting times everywhere, except hopefully in the new Stable. This upgrade of old Testing to new Testing is the first real-world preview of the *next* Stable upgrade, or at least some of it. I'm sure a lot of thought has gone into preparing for it. I'm interested in installing either Stretch or Sid in a VM and help to find bugs - where is the effort best spent? Stretch, since it will become the next Stable? Petter -- I'm ionized Are you sure? I'm positive. pgpdlyg0Xw8Wk.pgp Description: OpenPGP digital signature
Re: Debian 7 and external monitors and graphics adaptors
On Fri, 17 Apr 2015 15:16:41 +0800 Bret Busby bret.bu...@gmail.com wrote: On 17/04/2015, David Wright deb...@lionunicorn.co.uk wrote: Quoting Bret Busby (bret.bu...@gmail.com): In going to the Ubuntu 14.04 64 bit option, as such packages are usually .deb packages, and so, tend to work on Debian (which is how I got Seamonkey installed and working on this system, from an old version of Seamonkey.deb, that I had obtained), I downloaded and tried to install the package. I'm not sure I can tell what package you mean here. fglrx_14.501-0ubuntu1_amd64_UB_14.01.deb On http://support.amd.com/en-us/download/desktop?os=Ubuntu%20x86%2064 you will find several packages. Among these are fglrx-core_14.501-0ubuntu1_amd64_UB_14.01.deb that you mentioned you lacked earlier. It is a driver without X support, but it seems the X driver depends on it. You probably also want fglrx-amdcccle_14.501-0ubuntu1_amd64_UB_14.01.deb, which is the graphical setup utility. There is also a development package for OpenGL, which you may or may not want. But. These packages are for *Ubuntu*. Ubuntu is not Debian. Yes, they both use .deb packages, but that does not mean that the Ubuntu packages will work well (or at all) on Debian. Personally, I have no idea, as I haven't tried, but I would take a backup first, as they may hose things considerably. Here: http://support.amd.com/en-us/download/desktop?os=Linux%20x86_64 You will find a .zip file of all the drivers and the setup utility for all Linux x64 systems - that is an alternative way of installing them. Maybe that is a better approach on Debian, I really don't know for sure. I am sure Google has some insight on this, I would also check the Debian wiki. First, read this page; http://wiki.cchtml.com/index.php/Debian It contains instructions for how to use these drivers on a Debian system. There is even a section there on multiple screens. I got a dependency problem; Error: Dependency is not satisfiable: fglrx-core So, I seached in Synaptic, for fglrx, and found fglrx-driver; But that isn't fglrx-core is it? Don't you need something like fglrx-core_14.201-0ubuntu2_amd64.deb From whence do I get that? See above. So, I searched within Synaptic, for xserver-xorg-video-radeon . I found that xserver-xorg-video-ati and xserver-xorg-video-radeon, are already installed. I take it that's on your wheezy system. If wheezy is Debian 7 ( - this is on one of my Debian 7 installations - one has this AMD graphics thing, and the other has the nVidia thing, and, after about 16-18 months, I am still trying to get the other installation to work) By the other, you mean the AMD one? Or do you have problems with the nVidia thing too? But we were expecting that weren't we? I thought the problem was that you have this nice new hardware. It is not nice new hardware. This partivular computer was bought to try to determine whether Debian 7 could run an external monitor - it has a different graphics hardware configuration. So far, it is not nice, as I can't get Debian 7 to run the external monitor, from it. Many people run Debian on laptops with external monitors, so it should be possible to get it to work. The problem in your case seems to be that the GPU is only supported by AMD's driver. If you can install that you should have better luck. It is also *possible* that your GPU would be supported by a newer version of the radeon (open-source) driver, I do not know. Maybe one is available in backports. Petter -- I'm ionized Are you sure? I'm positive. pgpnykSXw3BBO.pgp Description: OpenPGP digital signature
Re: wheezy drive recognition?
On Fri, 17 Apr 2015 14:32:47 +0100 Lisi Reisz lisi.re...@gmail.com wrote: On Friday 17 April 2015 12:46:04 Petter Adsen wrote: I think it's Chinese or Taiwanese, so it's probably the Communist Party that has the backdoor :) The poor Tawanese! |ny dead ones must be turning in their graves. They are more anti-communist than the USA!! They fought a nasty civil war against the communists and didn't really concede defeat - they are the last territory to fall, and haven't yet fallen. Ooops! Sorry about that, then. I'm not at all informed on such things, and was under the mistaken impression that they had gone the way of the Tibetans. My apologies to the Taiwanese. Petter -- I'm ionized Are you sure? I'm positive. -- 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/20150417155453.704ab...@monster.nillabs.com
Re: wheezy drive recognition?
On Fri, 17 Apr 2015 06:49:42 -0400 Gene Heskett ghesk...@wdtv.com wrote: On Friday 17 April 2015 06:19:31 Petter Adsen wrote: On Fri, 17 Apr 2015 05:54:08 -0400 Gene Heskett ghesk...@wdtv.com wrote: On Friday 17 April 2015 02:33:59 Petter Adsen wrote: [...] Is that long ago? Flash memory has come a long way in recent years. I'm running SSDs on my desktop, and them burning out is not something I'm all that concerned about. Mounting with relatime is probably a good idea, though. At the time I set it up on a then elderly k6-iii box , 8+ years ago, it was bleeding edge. I half expected to get cut. ;-) :-) Things have changed quite a bit in that intervening time, in the case of flash usually for the better :) Recently I bought a new router, and I've been just itching to install DD-WRT on it, I made sure to check it was compatible before buying it. The default firmware isn't bad, I'm just concerned about security, and there are a few options I miss. Besides, it's running an ssh server on the internal interface, for which I can't get a password or key :( Because you reset it from the defaults and forgot it? If not, and it came out of the box that way, either reflash it before it ever sees a network connection, or turn it back as defective. Oh no, I haven't had anything to do with that. The ssh server isn't even mentioned in the docs or in the web interface, there is no way to shut it down. It is only running on the internal interface, though, that's why I haven't flashed it yet. But I don't like it. I asked the manufacturer for a key/password, but they wouldn't give it to me. It's *my* damn router, I paid for it. Another dumb thing is that the DDOS protection is only running on the _internal_ interface. As I don't need anyone to keep me from ICMP-flooding anyone else, that seems like a really stupid decision. When flashing, change the password, and the admin account name if you can, but in either event, paint it on it so you can always get back into it if its in your home secure. And use 18+ char passwords, make the blackhats work their butts raw to get into it. Don't worry, I have locked it down as hard as I can, even though it makes it a pain to connect new devices. I use keepassx on Linux to keep track of passwords/logins etc, as I use long, random passwords for everything. It's a nice little piece of software. There is also an official KeePass v1 and v2, but they require mono. The only thing I really miss in keepassx is the ability to keep track of keys (ssh/gpg), so I use seahorse for that. If anyone knows of something that will take care of both that has most of the features of keepassx, I'm interested to know about it. Not to mention it quite likely has a NSA backdoor in it, separate from the ssh. dd-wrt is clean AFAIK. I think it's Chinese or Taiwanese, so it's probably the Communist Party that has the backdoor :) But thanks for your concern! :) Petter -- I'm ionized Are you sure? I'm positive. pgpL97cXkWhuP.pgp Description: OpenPGP digital signature
Re: wheezy drive recognition?
On Fri, 17 Apr 2015 05:54:08 -0400 Gene Heskett ghesk...@wdtv.com wrote: On Friday 17 April 2015 02:33:59 Petter Adsen wrote: On Thu, 16 Apr 2015 20:50:13 -0400 Gene Heskett ghesk...@wdtv.com wrote: With limited life of the flash, linux filesystems are hell on flash. Not any longer :) There are now Linux filesystems specifically for flash memory - F2FS, for instance. ext4 isn't as bad on flash, either, with the right mount options, and btrfs (if you dare use it) has optimizations for it. I think wikipedia has more on those - there are others. It's a good option for installations, or a system drive that you can boot in an emergency. They are also cheap enough that you can use them as a system drive on a box altogether, and just replace it before/when it goes bad. Petter Thats good to read Petter, thanks. I got burned a bit early on, running dd-wrt on an x86 boxen from nothing but flash, It worked great, till the flashes died, about 3 of the std sized 512 meggers in a month. Is that long ago? Flash memory has come a long way in recent years. I'm running SSDs on my desktop, and them burning out is not something I'm all that concerned about. Mounting with relatime is probably a good idea, though. Recently I bought a new router, and I've been just itching to install DD-WRT on it, I made sure to check it was compatible before buying it. The default firmware isn't bad, I'm just concerned about security, and there are a few options I miss. Besides, it's running an ssh server on the internal interface, for which I can't get a password or key :( Petter -- I'm ionized Are you sure? I'm positive. pgplKKJCeW39s.pgp Description: OpenPGP digital signature
Re: Debian 7 and external monitors and graphics adaptors
On Fri, 17 Apr 2015 22:43:08 +0800 Bret Busby bret.bu...@gmail.com wrote: On 17/04/2015, Petter Adsen pet...@synth.no wrote: On http://support.amd.com/en-us/download/desktop?os=Ubuntu%20x86%2064 you will find several packages. Among these are fglrx-core_14.501-0ubuntu1_amd64_UB_14.01.deb that you mentioned you lacked earlier. It is a driver without X support, but it seems the X driver depends on it. You probably also want fglrx-amdcccle_14.501-0ubuntu1_amd64_UB_14.01.deb, which is the graphical setup utility. There is also a development package for OpenGL, which you may or may not want. Thank you for that. It is unfortunate that the AMD web page that linked to the download for the package that depended on that package, di not include a link to the package, with some information like the package needs this package to be installed, which can be downloaded form... The page mentioned above lists all the available packages for Ubuntu, although it does not say what the package dependencies are. I'm guessing that would be available in the install instructions. But. These packages are for *Ubuntu*. Ubuntu is not Debian. Yes, they both use .deb packages, but that does not mean that the Ubuntu packages will work well (or at all) on Debian. Personally, I have no idea, as I haven't tried, but I would take a backup first, as they may hose things considerably. I am well aware that Ubuntu is not Debian, although, from what I understand, it may still be derived from, and, based on Debian. I am sure you do understand that, it was more meant as a form of warning. These packages are intended for specific Ubuntu versions, if you try to install them on a Debian system, you may not have the same version of the kernel, the X server, and various other components that are relevant to how the driver works. In other words, they can damage your system. Based on Debian does not mean that important system packages are interchangeable. If I'm not mistaken, Ubuntu get their packages from Jessie/Sid, if you try to install on Wheezy you likely have an older X server, at the least. I wouldn't attempt it without first doing a little research. As I had said, the Seamonkey package for Ubuntu, installed and runs okay on Debian 7, and is the only source that I found, of a .deb package for Seamonkey, so as to allow Seamonkey to be installed using a Debian package manager, such as (I think it is) gdebi. That may well be the case, and I expect many packages would work fine on both Debian and Ubuntu systems, but the driver for your GPU is a system package that expects certain things in the environment it is installed into. You *may* have better luck with downloading the .zip file for Linux and using the installer to build a .deb package for your environment - it has an option for doing this. That's why I suggested you look at the Debian wiki, for example, as I am sure you will find more information on the best and most reliable way of doing this. You don't want to hose your X setup. I just did a quick search, but found nothing about installing the 14.12 version of the driver on Wheezy, everything I can find references older versions. Assuming that the 14.12 driver is compatible with the X server in Wheezy, which may not be the case, most people seem to go with the route of creating packages from the installer. YMMV. The fglrx driver that Wheezy has is older, much older, so your GPU is probably not supported. If the 14.12 version requires a newer X server, then this whole exercise is going to get quite involved. Petter -- I'm ionized Are you sure? I'm positive. pgpeMVm9NBEP8.pgp Description: OpenPGP digital signature
Re: wheezy drive recognition?
On Fri, 17 Apr 2015 14:54:26 -0400 Gene Heskett ghesk...@wdtv.com wrote: On Friday 17 April 2015 12:31:02 David Christensen wrote: Okay, all the eggs in one basket. So, either a USB flash drive or the newer 1 TB drive as the system drive, migrate your data to a new 2 TB drive, migrate the Amanda archives to the other new 2 TB drive, and then keep the older 1 TB drive as a spare or use it as an on-site copy of the Amanda archives. The 1T drive is a great plenty for an install. And a 1T partition for /opt and a 1T partition for /home on a 2T seems about as expansion proof as I can make it barring shooting a few more weddings with my movie camera. Those files are some north of a gigabyte per running minute. Just a suggestion: have you considered running LVM on (some of) your new drives? Like, on a 2T drive, set 500G or whatever you need for /opt, a good amount of space for /home, and leave a great chunk for future expansion where you may need it? Then you also have the ability to take a snapshot of /home for when you run your backups, as to make sure you get a consistent image? If need be, you can also expand your LVM volume group later with additional drives. It's easy to set up and work with, and very flexible. Quite a benefit on huge, modern drives. If you want to be expansion proof, as you say, then this is a good way of doing just that. Petter -- I'm ionized Are you sure? I'm positive. pgp1Y7mDTXMiQ.pgp Description: OpenPGP digital signature
Re: Debian 7 and external monitors and graphics adaptors
On Thu, 16 Apr 2015 14:46:46 +0800 Bret Busby bret.bu...@gmail.com wrote: On 14/04/2015, Bret Busby bret.bu...@gmail.com wrote: snip In the Debian 7 installation on the Acer V3-772G, for System - Settings - Details - Overview, it has Processor: Intel Core i-4702MQ CPU @ 2.20GHz x 8 Graphics: Gallium 0.4 on llvmpipe (LLVM 0x209) and, for System - Settings - Details - Graphics, it has Driver: Gallium 0.4 on llvmpipe (LLVM 0x209) Experience: Fallback I note that, having just installed (and presently updating) Ubuntu 14.04LTS, on the Acer E5-521-238Q, the same graphics drive shows as being used, as for Debian 7 on the Acer V3772G; from System Settings - Hardware - Overview, I have Processor: AMD E2-6110 APU with AMD Radeon R2 Graphics x4 Graphics: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) and the external monitor does not work with either Debian 7 or Ubuntu 14.04LTS. So, whilst the Ubuntu web site shows the CPU to be certified as compatible - at http://www.ubuntu.com/certification/catalog/component/dmi/4365/dmi%3AAMDE2-6110APUwithAMDRadeonR2Graphics/ it appears to me, that both Debian 7 and Ubuntu 14.04 LTS, do not really have an adequate driver for that CPU (Processor: AMD E2-6110 APU with AMD Radeon R2 Graphics x4), as they both can not drive an external monitor through it. I *seriously* doubt that the CPU has anything to do with it. It will either run x86 code (ie Debian/Ubuntu) or it won't. This is more likely a problem with the GPU driver, or the way X is set up. What output do you get from xrandr when you have booted the machine with the monitor connected? Petter -- I'm ionized Are you sure? I'm positive. pgpwa2X0f9dTh.pgp Description: OpenPGP digital signature
Re: Debian 7 and external monitors and graphics adaptors
On Thu, 16 Apr 2015 15:11:03 +0800 Bret Busby bret.bu...@gmail.com wrote: and, on this computer, as mentioned in a previous message, neither Debian 7, nor Ubuntu 14.04 LTS, can get the external monitor going, as neother seem to have an appropriate driver for the AMD E2-6110 APU with AMD Radeon R2 Graphics × 4 CPU . You don't need a driver as such for a CPU, at most there are microcode updates. Petter -- I'm ionized Are you sure? I'm positive. pgpC1wcvYio4W.pgp Description: OpenPGP digital signature
Re: Debian 7 and external monitors and graphics adaptors
On Thu, 16 Apr 2015 15:21:46 +0800 Bret Busby bret.bu...@gmail.com wrote: On 16/04/2015, Petter Adsen pet...@synth.no wrote: On Thu, 16 Apr 2015 14:46:46 +0800 Bret Busby bret.bu...@gmail.com wrote: On 14/04/2015, Bret Busby bret.bu...@gmail.com wrote: snip In the Debian 7 installation on the Acer V3-772G, for System - Settings - Details - Overview, it has Processor: Intel Core i-4702MQ CPU @ 2.20GHz x 8 Graphics: Gallium 0.4 on llvmpipe (LLVM 0x209) and, for System - Settings - Details - Graphics, it has Driver: Gallium 0.4 on llvmpipe (LLVM 0x209) Experience: Fallback I note that, having just installed (and presently updating) Ubuntu 14.04LTS, on the Acer E5-521-238Q, the same graphics drive shows as being used, as for Debian 7 on the Acer V3772G; from System Settings - Hardware - Overview, I have Processor: AMD E2-6110 APU with AMD Radeon R2 Graphics x4 Graphics: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) and the external monitor does not work with either Debian 7 or Ubuntu 14.04LTS. So, whilst the Ubuntu web site shows the CPU to be certified as compatible - at http://www.ubuntu.com/certification/catalog/component/dmi/4365/dmi%3AAMDE2-6110APUwithAMDRadeonR2Graphics/ it appears to me, that both Debian 7 and Ubuntu 14.04 LTS, do not really have an adequate driver for that CPU (Processor: AMD E2-6110 APU with AMD Radeon R2 Graphics x4), as they both can not drive an external monitor through it. I *seriously* doubt that the CPU has anything to do with it. It will either run x86 code (ie Debian/Ubuntu) or it won't. This is more likely a problem with the GPU driver, or the way X is set up. What output do you get from xrandr when you have booted the machine with the monitor connected? In Ubuntu 14.04 LTS; bret@bret-Aspire-E5-521:~$ xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 1366 x 768, current 1366 x 768, maximum 1366 x 768 default connected primary 1366x768+0+0 0mm x 0mm 1366x768 76.0* In Debian 7; bret@debian-Acer-E5-521:~$ xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 1366 x 768, current 1368 x 768, maximum 1368 x 768 default connected 1368x768+0+0 0mm x 0mm 1366x7680.0 1368x7680.0* So X can only see one screen. I take it this is a laptop, and the screen X sees here is the internal screen? How is the other screen connected - HDMI, DVI, D-SUB, DP? I will see if I can get the time later today to read through all your previous messages on this and see what the outputs you have posted can tell me, right now the only thing I can think of is to try the AMD fglrx driver if you haven't already. If the GPU in your machine is a newer model, that might help. I would suggest you do a web search on the GPU model number, radeon and second display (all in one string), and see what you come up with - maybe the problem is a common one. Petter -- I'm ionized Are you sure? I'm positive. pgpB2MrI_ANjx.pgp Description: OpenPGP digital signature
Re: Encrypting an External HDD
On Wed, 15 Apr 2015 07:53:20 -0400 Stephen R Guglielmo srguglie...@gmail.com wrote: Hi list, I have a USB external HDD that I would like to encrypt with a passphrase. After looking into filesystems, I decided to go with Ext4. What's the recommended way of encrypting a drive? Do I partition it first, then encrypt that partition? Yes, you create a partition (or LV), encrypt it, and then mkfs. Unless if you want to use LVM and retain the ability to re-size volumes, then you set up encryption before LVM. That's a guess, though - I haven't done that yet. Internet searches lead me to LUKS cryptsetup. However, the blog and forum posts I've read are a bit old. I'm running Jessie. I used this guide, and it worked perfectly for me: http://www.cyberciti.biz/hardware/howto-linux-hard-disk-encryption-with-luks-cryptsetup-command/ It's from 2012, but I had no problems with it at all, and I was also encrypting an external USB drive. If you run into any problems, feel free to ask. Good luck! Petter -- I'm ionized Are you sure? I'm positive. pgpwHUqSXF1eI.pgp Description: OpenPGP digital signature
Re: Encrypting an External HDD
On Wed, 15 Apr 2015 07:50:50 -0700 David Christensen dpchr...@holgerdanske.com wrote: On 04/15/2015 05:04 AM, Petter Adsen wrote: http://www.cyberciti.biz/hardware/howto-linux-hard-disk-encryption-with-luks-cryptsetup-command/ That article shows how to create a LUKS container on the raw drive. I prefer creating a partition table, creating one large primary partition, and putting a LUKS container into that. And you are free to do so. The approach is still basically the same. Petter -- I'm ionized Are you sure? I'm positive. pgpSWBr35153R.pgp Description: OpenPGP digital signature
Re: Sharing LVM storage
On Tue, 14 Apr 2015 18:14:31 +0300 Reco recovery...@gmail.com wrote: Hi. On Tue, Apr 14, 2015 at 04:01:02PM +0200, Petter Adsen wrote: I'm using LVM as storage for virtual machines, and would like to share a PV between two machines with iSCSI to be able to migrate the VM's. I did the thing some time ago. It worked, although I used ietd and not today's tgtd. The main reason was - ietd had configuration file, tdtd had not (as in 'our daemon does not need config at all, use tdtadm'). I've already set up iSCSI, and went with ietd, too. To be fair, I didn't know about tgtd :) Wikipedia says this: The LVM will also work in a shared-storage cluster (where disks holding the PVs are shared between multiple host computers), but requires an additional daemon to propagate state changes between cluster nodes. But nothing else. Is the clvm (with dependencies) package everything I need to do this? Or would I need to mess with all sorts of clustering stuff to get that working? Not strictly as the main role of clvm is to guarantee that one LV will always be used by one node. Secondary role of clvm is to handle LV addition and removal by principle of least surprise. I.e. lvcreate on node one should add the same LV on node two. That sounds reasonable. I just want to try it out to see how it works, it's not something I need by any stretch of the imagination, so there's a limit to how far down that rabbit-hole I want to go. As long as you don't forget to run lvscan on partner node after doing basically anything with LV on main node - you should be OK. But just to be on the safe side - don't export PV via iSCSI. Export LVs. May I ask why, so I don't mess anything up? I was thinking of exporting maybe my VM VG, so that all LV's for VM's were available to both machines. Or just the device itself. Thank you for the advice! Petter -- I'm ionized Are you sure? I'm positive. pgp6KFb6sdCkK.pgp Description: OpenPGP digital signature
Re: Debian 7 and external monitors and graphics adaptors
On Wed, 15 Apr 2015 13:35:12 +0800 Bret Busby bret.bu...@gmail.com wrote: bret@bret-Aspire-V3-772:~$ grep -B2 'Module class: X.Org Video Driver' /var/log/Xorg.0.log [26.440] (II) Module intel: vendor=X.Org Foundation [26.440] compiled for 1.15.1, module version = 2.99.910 [26.440] Module class: X.Org Video Driver -- [26.449] (II) Module nouveau: vendor=X.Org Foundation [26.449] compiled for 1.15.0, module version = 1.0.10 [26.449] Module class: X.Org Video Driver OK, so you have both an Intel and an nVidia GPU. snip Now, I do not know much about hardware, in this context, but it appears to me that the nVidia graphics thing should be being used, but is not being used by either Ubuntu or Debian (neither has drivers for it?), and Ubuntu has a more comprehensive driver set (?) for the Intel Haswell graphics controller (is/should the nVidia graphics thing, be subordinate to / driven by the Intel Haswell graphics controller?), part of which, is missing from Debian 7 (as installed and configured)?. I am not exactly sure how you configure two GPUs from two different vendors, as I haven't done that myself, but I do know this: many machines has a setting in the BIOS (or, I would assume, UEFI) that lets you select to use either on-board or discrete graphics. You may want to check that. Also, there are proprietary drivers available for nVidia cards. Those drivers have a GUI for configuring them, which you might find easier to use. I found this link, that might help you: https://wiki.debian.org/NvidiaGraphicsDrivers It doesn't appear that these instructions use the latest available drivers at the time, but those that have been tested with your version of Debian, and that is probably a good thing. If you, for some reason, want the latest drivers, you can do a search for nvidia linux drivers, and I am sure you will find them easily enough. Be adviced, though, that messing too much with graphics drivers can quite thoroughly mess up your X configuration, so you might want recent backups :) I hope this is of some help to you. Petter -- I'm ionized Are you sure? I'm positive. pgprFZ2qFwGGP.pgp Description: OpenPGP digital signature
Re: Is gnome-core *really* the gnome minimal install?
On Tue, 14 Apr 2015 17:53:55 -0700 Patrick Bartek nemomm...@gmail.com wrote: On Tue, 14 Apr 2015, Rodolfo Medina wrote: Patrick Bartek nemomm...@gmail.com writes: Of course, if you really want TOTAL control of your GUI, a window manager is the way to go. That's what I did. Installed Openbox. The same WM that LXDE uses. A little more work, but worth it. Thanks. I'm trying it. In the web browser, I open a new tab with C-t, but don't know how to do that in the terminal emulator. The usual `C-shift-t' does not work. Depends on which terminal emulator you're using. I use xterm, and it doesn't support tabbed windows -- as far as I can tell. Never bothered to check. But that's okay. I prefer multiple terminals instead of a single one with multiple tabs. Or, to get something in between, use screen :) Petter -- I'm ionized Are you sure? I'm positive. pgpio24ZABzUv.pgp Description: OpenPGP digital signature
Re: Sharing LVM storage
On Wed, 15 Apr 2015 09:55:10 +0300 Reco recovery...@gmail.com wrote: Hi. On Wed, Apr 15, 2015 at 08:41:07AM +0200, Petter Adsen wrote: I just want to try it out to see how it works, it's not something I need by any stretch of the imagination, so there's a limit to how far down that rabbit-hole I want to go. As long as you don't forget to run lvscan on partner node after doing basically anything with LV on main node - you should be OK. But just to be on the safe side - don't export PV via iSCSI. Export LVs. May I ask why, so I don't mess anything up? I was thinking of exporting maybe my VM VG, so that all LV's for VM's were available to both machines. Or just the device itself. That's the main reason. Creating PV-via-iSCSI configuration from the scratch is simple. It's maintaining it (or worse - changing it) is complex. For example, imagine the need to migrate all LVs from one PV to another. Without downtime, of course. Is it doable - yes. Is it simple - no. In my setting, that is quite simply not going to ever happen. I have a separate disk with one PV on it, devoted entirely to VM's. But I do see your point, if I ever were to use it in a production system. Right now, downtime only means that one of my personal toys is broken :) Besides, there's a *small* matter of backups, and in cases such as :) this I prefer straightforward approach. I.e. there's storage host, and there are VM hosts. Storage host provides LVs as /dev/sd* devices to VM hosts *and* manages backups. VM hosts merely do their VM thing. I see, thank you. Well, that sort of fits in with my setup, too, except that the VM disk is not in the storage server, it is in the fastest machine I have, with the most cores available to run VMs. It's just a toy project, anyhow, but it's best to learn good practices. Petter -- I'm ionized Are you sure? I'm positive. pgpNFuHuRR3LL.pgp Description: OpenPGP digital signature
Re: Has the rescatux and supergrubdisk project been terminated
On Wed, 15 Apr 2015 16:16:49 +0800 Bret Busby bret.bu...@gmail.com wrote: On 15/04/2015, Petter Adsen pet...@synth.no wrote: If you really need Rescatux, I have an image of v0.32b3. The timestamp on it says 2014-12-21. Let me know if you need it. What I actually want it for, is the functionality to reset passwords on both Debian 5 and MS Win8. Does what you have, have that functionality? I haven't used it, so I really would not know for sure, but I believe it should be able to reset passwords on Linux, at least. If you really need to know, I guess I can spin it up in a VM, but it might take me a little bit of time. For Windows, you might need something called Hiren's Boot CD, which I am pretty sure has this functionality. At least, I know that it can do it for Win7. You will find it at hiren.info. Petter -- I'm ionized Are you sure? I'm positive. pgpxUIbbdZT7H.pgp Description: OpenPGP digital signature
Re: Has the rescatux and supergrubdisk project been terminated
On Wed, 15 Apr 2015 03:37:49 +0800 Bret Busby bret.bu...@gmail.com wrote: On 07/02/2015, Diogene Laerce me_buss...@yahoo.fr wrote: snip You could give a try to Grub Rescue : http://www.supergrubdisk.org/ Good luck ! Hello. I have just tried to find the Rescatux web site, to try to download a copy, and I found, at http://www.supergrubdisk.org/ Website disabled also at http://rescatux.org which redirects to http://www.supergrubdisk.org/rescatux/ Does anyone know what is happening with the supergruubdisk thing and rescatux? Have they been terminated? Interestingly, a subdomain of rescatux.org; http://wiki.rescatux.org/wiki/Main_Page still appears to be functional. I don't really know anything about it, but there is a similar project called Boot-Repair. It is, however, not a boot disk, but a tool to be run within the OS. You can find it at: http://sourceforge.net/p/boot-repair/home/Home/ There is a sort of boot disk version of it, but I think it's just an Ubuntu image with the application on it. If you really need Rescatux, I have an image of v0.32b3. The timestamp on it says 2014-12-21. Let me know if you need it. Petter -- I'm ionized Are you sure? I'm positive. pgpE2FHfP1A_Y.pgp Description: OpenPGP digital signature
Re: Jessie: No VGA signal after gdm3 login
On Tue, 14 Apr 2015 18:10:11 -0400 Thomas H. George li...@tomgeorge.info wrote: On Tue, Apr 14, 2015 at 04:22:24PM +0200, Petter Adsen wrote: On Tue, 14 Apr 2015 08:50:45 +0200 Petter Adsen pet...@synth.no wrote: On Mon, 13 Apr 2015 15:42:03 -0400 Thomas H. George li...@tomgeorge.info wrote: Just returned from vacation, booted up. After gdm3 login screen goes blank, then No VGA Signal Installed xdm. Same result Ran apt-get update, apt-get dist-upgrade Repeated xdm login. Same result Before vacation login opened Gnome and I ran several programs with no problems. Even now consoles F1 through F6 work normally and I can run command line programs. What could have happened? Found nothing about this in April lists.debian.org archives. Can you tell us what is in /var/log/Xorg.0.log and ~/.xsession-errors? I can't tell you what might have happened, though, at least not without starting with the contents of those two files. Petter You really should send your reply to the list, not to me personally, so that more people can see it, and potentially help you. I agree and this reply is to the list. I only replied directly to you because last week I received a sharp rebuke from an individual who had responded to one of my posts. He claimed it is very bad manners to post his responce - it was a very helpful one which I acknowledged - to the list when he had responded from his personal address. I didn't mean to sound harsh, and I apologize if I did, I was in a hurry, and just wanted to forward your message to the list so that more people could see the message and potentially help you. Strictly speaking, I shouldn't have done that, as it's considered quite impolite to forward personal mail to a list, but since you didn't actually say much except including the log files, I concluded that no harm would be done. What is the protocol? In reponding should I hit r or L? Obviously a continuing string of discussion posted to the list should be advantageous to all. When you are responding to something in a list thread, send your reply to the list. That's considered the right thing. It is generally frowned upon to reply in private, although there are occasions where it is appropriate to do so. In this case, you should probably have sent your reply to the list instead of to me, partly because you want as many people as possible to get a look at the logs to see if there is anything wrong there. Also, if you discuss something with someone off-list, you should always get their consent to forward something they wrote to a list. I didn't do that with your message, and for that I apologize. Does that explain things to you? Now, to your original question: I must admit I haven't had the time to take a good look at your logs, although nothing jumped out at me. I will take a closer look at them, hopefully someone else with more experience can also do so. Petter -- I'm ionized Are you sure? I'm positive. pgplY8RiIQgAV.pgp Description: OpenPGP digital signature
Re: debian 8
On Mon, 13 Apr 2015 17:26:12 -0400 Gene Heskett ghesk...@wdtv.com wrote: On Monday 13 April 2015 16:56:05 Celejar wrote: On Mon, 13 Apr 2015 20:00:15 +0200 Petter Adsen pet...@synth.no wrote: On Mon, 13 Apr 2015 13:04:28 -0400 Gene Heskett ghesk...@wdtv.com wrote: Is there not another service that is more friendly to the use its used for? Not that many that has Linux clients, unfortunately. I know of only two - Google Drive (unofficial client only, and I dislike Google), and CloudMe (where I haven't got any free space right now). As I've noted on another recent thread, some cloud providers (Yandex, Box) offer WebDAV access, which (potentially) makes linux access relatively straightforward via something like davfs2. Celejar I must be showing my age then, what in tuncket is davfs2? If you read this, I bet you will be able to guess what davfs2 is for ;) https://en.wikipedia.org/wiki/WebDAV Petter -- I'm ionized Are you sure? I'm positive. pgppW6QP9clNM.pgp Description: OpenPGP digital signature
Re: Excluding a directory from tar
On Mon, 13 Apr 2015 15:36:33 -0500 David Wright deb...@lionunicorn.co.uk wrote: Quoting Petter Adsen (pet...@synth.no): On Mon, 13 Apr 2015 12:12:51 -0500 David Wright deb...@lionunicorn.co.uk wrote: Have fun reading man find, though! petter@monster:~$ man tar | wc -l 540 petter@monster:~$ man find | wc -l 1572 :-) Mea culpa. But, in my defence, I think I used tar once or twice in the second millennium, but never knowingly since. Normally I would have had cpio on the end of that pipe, not tar. You have nothing to defend, I was just making a joke on what man page would be the easiest to find what I needed in. A tarball was good for what I needed to do, and it's what I was most familiar with. But, to make a serious point, knowing how to use find is a valuable skill as plenty of software doesn't have the options that tar now has. Absolutely, and I use find frequently, it's a valuable tool. I'm especially fond of -exec. :) Petter -- I'm ionized Are you sure? I'm positive. pgpAYQUQW_11X.pgp Description: OpenPGP digital signature
Re: reading an empty directory after reboot is very slow
On Mon, 13 Apr 2015 15:41:03 +0200 Vincent Lefevre vinc...@vinc17.net wrote: On 2015-04-13 14:45:25 +0200, Loïc Grenié wrote: 2015-04-13 14:39 GMT+02:00 Vincent Lefevre vinc...@vinc17.net: The problem is that this operation is (always?) very slow: something like 100 seconds (1 minute and 40 seconds). It has been reproducible for several months. The logs show nothing during this operation. Any idea? Maybe the directory is very large (even though its empty). Try ls -ld tmp. and see if the file tmp is large. Thanks! I didn't know that (I thought that the file system would automatically optimize directories when files are removed, so I've never looked closely at their size). Indeed: ypig:~/eftests ls -ld tmp drwxr-xr-x 2 vlefevre vlefevre 29655040 2015-04-13 15:25:55 tmp/ Can someone please enlighten me as to why the entry for this directory is so large, even though it is empty? Since it's apparently obvious to everyone else, I would very much like to know :) Petter -- I'm ionized Are you sure? I'm positive. pgpOsuJwSl_gS.pgp Description: OpenPGP digital signature
Re: Jessie: No VGA signal after gdm3 login
On Mon, 13 Apr 2015 15:42:03 -0400 Thomas H. George li...@tomgeorge.info wrote: Just returned from vacation, booted up. After gdm3 login screen goes blank, then No VGA Signal Installed xdm. Same result Ran apt-get update, apt-get dist-upgrade Repeated xdm login. Same result Before vacation login opened Gnome and I ran several programs with no problems. Even now consoles F1 through F6 work normally and I can run command line programs. What could have happened? Found nothing about this in April lists.debian.org archives. Can you tell us what is in /var/log/Xorg.0.log and ~/.xsession-errors? I can't tell you what might have happened, though, at least not without starting with the contents of those two files. Petter -- I'm ionized Are you sure? I'm positive. pgppLQmb035IS.pgp Description: OpenPGP digital signature
Re: Book questions
On Mon, 13 Apr 2015 16:36:44 -0500 David Wright deb...@lionunicorn.co.uk wrote: Quoting Petter Adsen (pet...@synth.no): On Mon, 13 Apr 2015 20:21:49 +0300 Reco recovery...@gmail.com wrote: Let's see as I didn't have OS design in mind. Something like: Exit codes and their value in real life. Strings handling, memory allocation. Process control and daemonisation (sp?). Signal handling. Inter-process communication (sockets, pipes). IP protocol use and abuse. Shared memory. Threads. Libraries and their usage. Just to pipe in here, these are among the things that I want an understanding of - especially numbers 3, 4, 5, 6 and 9. With extra focus on 9 and 6b :) Also things like communication between processes and devices, file systems, etc. I want to learn how to find out why things work the way they do, if that makes sense. If you want to understand the basics, there is any number of tutorials on the web. If you want to play with them, then pick a language and go to a web page like https://docs.python.org/3/library/index.html and write some toy programs. Most of these facilities have wrappers that save you having to write C code to create, say, a couple of sockets that talk to each other. If you try this in C and it doesn't work, it might take you half a day to decide whether you've misunderstood the socket concept or just made a programming error. I can understand that. As Reco said, [...], and for the complex program you'll probably want something else as by today's standards C has poor result/effort ratio. That I can also accept. I see that a lot of people advice me on going with something other than C, and I can understand that there are good reasons for this advice. While I still want to learn C at some point, I'm beginning to think that it might be wise to consider getting a good foundation in another language first. Would Python be appropriate? I see a lot of software these days that is written in Python, so it would be helpful in that way. The person I am most likely to go to for help knows Python, so that's a bonus. And on the subject of books, what would be a good introduction? Petter -- I'm ionized Are you sure? I'm positive. pgpmglATf2JKJ.pgp Description: OpenPGP digital signature
Re: Book questions
On Tue, 14 Apr 2015 02:43:53 +0800 Bret Busby bret.bu...@gmail.com wrote: On 14/04/2015, Petter Adsen pet...@synth.no wrote: snip My cat is walking on my keyboard now, demanding attention. Best not to ignore him any longer. :) Can he program? I'm not sure, but I take care to lock the screen and not let him see me type my password. Cats are smart creatures. You bet. Dogs have masters - cats have staff :) That's how it works here, yes :) Petter -- I'm ionized Are you sure? I'm positive. pgpKSs6cJd1tQ.pgp Description: OpenPGP digital signature