Re: BTRFS and debian

2018-07-11 Thread Pascal Hambourg
Le 10/07/2018 à 05:33, David Christensen a écrit :  In the Debian Installer, I choose 'manual' for 'partitioning method', create a new partition table (MBR), and create three primary partitions: 1   ~1 GiB btrfs mounted at /boot 2   ~2 GiB LUKS (random key) with swap How do you do that ? A

Re: BTRFS and debian

2018-07-09 Thread Pascal Hambourg
Le 09/07/2018 à 21:58, Ulf Volmer a écrit : On 09.07.2018 21:32, Matthew Crews wrote: On 7/9/18 11:17 AM, Ge wrote: Should i make a different partition for /home/ ? I would, especially if you intend on using BTRFS snapshot feature. Last thing you want to do is accidentally roll back a critica

Re: Separate /home directories etc?

2018-07-07 Thread Pascal Hambourg
Le 07/07/2018 à 00:12, Felix Miata a écrit : The only significant drawback is when the disk size is small it can be problematic to determine optimum sizes for the separate space allocations. LVM is your friend in such situation. Extending a logical volume is easy.

Re: Strange LAN IP Address.

2018-07-03 Thread Pascal Hambourg
Le 03/07/2018 à 02:42, David Wright a écrit : On Mon 02 Jul 2018 at 21:58:15 (+0200), john doe wrote: It could be that the ISP router went into "bridge mode" (router function was disabled). Which is rather worrying as you are exposed to the Internet without any security. Why "without any se

Re: atime not updated after 24 hours

2018-07-03 Thread Pascal Hambourg
Le 02/07/2018 à 14:26, Greg Wooledge a écrit : On Sat, Jun 30, 2018 at 08:40:02PM +0200, Andre Majorel wrote: I have two file systems of the same type (ext3) and mounted with the same options (rw, relatime, data=ordered). From mount(8): relatime Update inode access ti

Re: trouble installing deb 9.4

2018-06-18 Thread Pascal Hambourg
Le 18/06/2018 à 17:04, Gene Heskett a écrit : On Monday 18 June 2018 10:42:22 Patrick Bartek wrote: On Sun, 17 Jun 2018 21:56:02 -0400 Dave wrote: I have having trouble getting thru the first screen "UEFI Installer". on this first menu i have full keyboard control. Once i choose one of the

Re: failed to load iwlwifi-7265D-26.ucode but wifi works

2018-06-09 Thread Pascal Hambourg
Le 09/06/2018 à 08:09, Reco a écrit : Hi. On Fri, Jun 08, 2018 at 10:21:20PM -0300, Markos wrote: I installed Debian 9 with Debian-live-9.4.0-amd64-lxde+nonfree.iso. ^^^ What's a legitimate question, but much better questi

Re: Installing Debian on a Minnowboard Turbot with installer on USB stick?

2018-05-29 Thread Pascal Hambourg
Le 27/05/2018 à 12:50, deloptes a écrit : I have found out that not all usb drives boot well - don't know why on some machines some drives does not boot - same image on another drive boot. For example sandisk 4GB do not and Kingston 1GB do on same machine with same image I have observed a simi

Re: Get the external IP address from a Linux box

2018-05-29 Thread Pascal Hambourg
Le 28/05/2018 à 23:14, Pascal Hambourg a écrit : Le 28/05/2018 à 13:54, Alan Greenberger a écrit : You are mostly correct.  However, I have one machine on which the response to /usr/sbin/arp -n shows two lines with the HWaddress of the router, one with the internal address as you said and the

Re: Get the external IP address from a Linux box

2018-05-28 Thread Pascal Hambourg
Le 28/05/2018 à 13:54, Alan Greenberger a écrit : On 2018-05-26, Pascal Hambourg wrote: Le 25/05/2018 à 02:17, Alan Greenberger a écrit : Assuming you are looking for the public internet address of your router, you could try: /usr/sbin/arp -n and it may show up on a line with the HWadress of

Re: Installing Debian on a Minnowboard Turbot with installer on USB stick?

2018-05-27 Thread Pascal Hambourg
Le 27/05/2018 à 00:19, Rick Thomas a écrit : Does anyone have experience installing Debian on a Minnowboard Turbot? Not me. I have a dual-core, single ethernet, Turbot. I’m able to install Debian (Buster) from a physical DVD, but when I dd the installer .iso to a USB stick, and try to inst

Re: Get the external IP address from a Linux box

2018-05-26 Thread Pascal Hambourg
Le 25/05/2018 à 02:17, Alan Greenberger a écrit : On 2018-05-24, André Rodier wrote: I am looking for a native package on Debian, that can give me the external IP address of the machine. Assuming you are looking for the public internet address of your router, you could try: /usr/sbin/arp -n

Re: Possible for full-disk encryption to encrypt /boot as well?

2018-05-26 Thread Pascal Hambourg
Le 26/05/2018 à 02:33, Robert Dodier a écrit : On Fri, May 25, 2018 at 12:44 PM, Pascal Hambourg wrote: Why do you want an encrypted /boot ? It does not usually contain any sensitive information. Encrypted /boot is not tamper-proof unless extra steps are taken to protect the first stage boot

Re: Possible for full-disk encryption to encrypt /boot as well?

2018-05-25 Thread Pascal Hambourg
Le 25/05/2018 à 20:55, Robert Dodier a écrit : I'm working with Debian 9. I gather that there is a full-disk encryption option for the standard Debian installer, which, as I understand it, does not include encrypting /boot. (The system I'm working on wasn't encrypted when it was installed, so th

Re: making more room in root partition for distribution upgrade

2018-05-25 Thread Pascal Hambourg
Le 25/05/2018 à 02:23, Mark Copper a écrit : One little bump: some bug requiring a little empty space separating logical partitions) It's not a bug, it's a feature of the extended partition layout. In short, each logical partition inside an extended partition must be preceded by an extended

Re: making more room in root partition for distribution upgrade

2018-05-22 Thread Pascal Hambourg
Le 22/05/2018 à 20:55, Abdullah Ramazanoğlu a écrit : On Tue, 22 May 2018 20:29:21 +0200 Pascal Hambourg said: I understand that your use case does not require swap redundancy. I hope that you also understand that other people may have stronger requirements, For example? Any operational

Re: making more room in root partition for distribution upgrade

2018-05-22 Thread Pascal Hambourg
Le 22/05/2018 à 00:12, Abdullah Ramazanoğlu a écrit : On Mon, 21 May 2018 23:18:50 +0200 Pascal Hambourg said: Le 21/05/2018 à 22:09, Abdullah Ramazanoğlu a écrit : I would agree mirroring swap for a mission critical server. Otherwise it would be an overkill, IMO. If one of the non-mirrored

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Pascal Hambourg
Le 21/05/2018 à 22:09, Abdullah Ramazanoğlu a écrit : On Mon, 21 May 2018 21:48:33 +0200 Pascal Hambourg said: The purpose of RAID 1 is to provide redundancy and availability, not performance. What do you think happens to a running system when one half of the swap suddenly becomes unavailable

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Pascal Hambourg
Le 21/05/2018 à 21:03, Abdullah Ramazanoğlu a écrit : Forgot to add that in a raid-1 setup swap partition*s* should not be mirrored. Of course they should be mirrored in RAID 1 too. Otherwise it defeats the purpose of RAID 1. There should be 2 separate non-mirrored swap partitions, one on

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Pascal Hambourg
Le 21/05/2018 à 18:52, Mark Copper a écrit : The release notes even give detailed instructions as to how you might mount bind (or is bind mount?) a usb key as a temporary /var/cache/apt/archives directory. That's an intriguing idea. I'll look. Thanks. There is plenty of free space in /home

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Pascal Hambourg
Le 21/05/2018 à 18:14, Mark Copper a écrit : On Sun, May 20, 2018 at 3:19 AM, Pascal Hambourg wrote: Le 18/05/2018 à 02:05, Mark Copper a écrit : You will have to move/delete and re-create the swap too. Gparted allows to resize and move an unused partition. Better have a backup though. yes

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Pascal Hambourg
Le 21/05/2018 à 10:26, Curt a écrit : Verily in the installer I chose automatic partitioning because of my partitioning phobia many moons ago and was allotted a 9G '/' and a 1.4T 'home' (as well as swap the size of my ego) (...) (A recent thread seemed to imply that the installer's automagical

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Pascal Hambourg
Le 20/05/2018 à 21:34, Reco a écrit : On Sun, May 20, 2018 at 08:48:05PM +0200, Pascal Hambourg wrote: Le 20/05/2018 à 17:23, Reco a écrit : On Sun, May 20, 2018 at 10:30:26AM -0400, Stefan Monnier wrote: lvextend --resizefs ... will work without you needing to unmount the file

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Pascal Hambourg
Le 20/05/2018 à 17:23, Reco a écrit : On Sun, May 20, 2018 at 10:30:26AM -0400, Stefan Monnier wrote: lvextend --resizefs ... will work without you needing to unmount the file-system. You forgot to add 'unless you try to shrink the filesystem, or still use reiserfs'. Or use btrfs whi

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Pascal Hambourg
Le 20/05/2018 à 16:19, Abdullah Ramazanoğlu a écrit : On Sun, 20 May 2018 15:03:37 +0200 Pascal Hambourg said: Le 20/05/2018 à 14:33, songbird a écrit : in my last system i had many different partitions like that but with the new system i decided that was wasting too much space and Then LVM

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Pascal Hambourg
Le 20/05/2018 à 14:33, songbird a écrit : in my last system i had many different partitions like that but with the new system i decided that was wasting too much space and Then LVM is your friend. You can create as many logical volumes as you like with minimal sizes and easily extend them

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Pascal Hambourg
Le 18/05/2018 à 02:05, Mark Copper a écrit : There was a day when a 10 gb partition seemed like plenty of space to leave for the system but now it's not. An upgrade to Stretch appears to need more. How do you know ? Device BootStart End Sectors Size Id Type /dev/sda1 *

Re: Auto-assembled SW RAID in rescue mode

2018-05-17 Thread Pascal Hambourg
Sorry for the late reply, I did not see your post until now. Le 14/05/2018 à 12:37, Niclas Arndt a écrit : mdadm.conf says metadata=1.2. So there is no risk that that the whole disk may be wrongly detected as a RAID member instead of the last partition. root@file2:~# blkid /dev/md2* /dev/

Re: UEFI/"BIOS" booting

2018-05-16 Thread Pascal Hambourg
Le 16/05/2018 à 00:10, Pascal Hambourg a écrit : Le 15/05/2018 à 08:51, Thomas Schmitt a écrit : Summary: - Boot flag on MBR partition of type 0xEE is bad on several EFI    implementations. - No MBR partition with boot flag is bad on some very few BIOS    implementations. Not so few in my

Re: UEFI/"BIOS" booting, was Re: USB Install Fails, Complains about CD-ROM

2018-05-15 Thread Pascal Hambourg
Le 15/05/2018 à 03:23, David Wright a écrit : In this particular instance (the Lenovo), its PDF says: (...) The default boot mode for your computer is UEFI mode. If you need to install a legacy operating system, such as Windows (that is, any operating system before Windows 8)

Re: UEFI/"BIOS" booting

2018-05-15 Thread Pascal Hambourg
Le 15/05/2018 à 03:37, David Wright a écrit : But GRUB is not the only available bootloader. No. It's difficult to divine which bootloaders the author is familiar with. My own experience of the last twenty years is limited to Lilo and Grub. Same here. I would not trust LILO any more now be

Re: UEFI/"BIOS" booting

2018-05-15 Thread Pascal Hambourg
Le 15/05/2018 à 08:51, Thomas Schmitt a écrit : Summary: - Boot flag on MBR partition of type 0xEE is bad on several EFI implementations. - No MBR partition with boot flag is bad on some very few BIOS implementations. Not so few in my experience. - Compromise is to set the boot flag on

Re: UEFI/"BIOS" booting

2018-05-14 Thread Pascal Hambourg
Le 14/05/2018 à 17:50, Thomas Schmitt a écrit : And as said previously, BIOS does not expect any partitions. In theory. All it should expect is the MBR signature 0xAA55. But as said previously, experience taught me that many BIOS implementations wrongly expect an MBR partition entry with the

Re: UEFI/"BIOS" booting

2018-05-14 Thread Pascal Hambourg
Le 14/05/2018 à 16:33, David Wright a écrit : "Don’t do UEFI-native installs to MBR-formatted disks, or BIOS compatibility installs to GPT-formatted disks (an exception to the latter is if your disk is, IIRC, 2.2+TB in size, because the MBR format can’t handle disks that big

Re: UEFI/"BIOS" booting, was Re: USB Install Fails, Complains about CD-ROM

2018-05-14 Thread Pascal Hambourg
Le 14/05/2018 à 02:02, David Wright a écrit : On Sun 13 May 2018 at 19:08:48 (+0200), Pascal Hambourg wrote: Most of my early experience with UEFI boot comes from a rather old Intel motherboard. Beside crippled UEFI support (no UEFI boot from USB or SATA in AHCI mode), it had a couple of

Re: UEFI/"BIOS" booting, was Re: USB Install Fails, Complains about CD-ROM

2018-05-13 Thread Pascal Hambourg
Le 13/05/2018 à 17:18, David Wright a écrit : On Fri 11 May 2018 at 15:13:04 (-0500), Kent West wrote: That's good to know. I guess my source material ( https://www.happyassassin.net/2014/01/25/uefi-boot-how-does-that-actually-work-then/) is wrong. Or I misunderstood it. While a lot of the de

Re: Auto-assembled SW RAID in rescue mode

2018-05-13 Thread Pascal Hambourg
Le 11/05/2018 à 13:34, Niclas Arndt a écrit : At boot, I was prompted with a BIOS message saying that there was no boot device. No, a BIOS upgrade doesn't modify fstab. I believe that EFI has anti-tampering mechanisms that might have been triggered by the BIOS upgrade. (At least it's currentl

Re: USB Install Fails, Complains about CD-ROM

2018-05-13 Thread Pascal Hambourg
Le 12/05/2018 à 21:38, Thomas Schmitt a écrit : Pascal Hambourg wrote: Why then does parted complain about a block size discrepancy ? Because the Apple Partition Map announces to count blocks with size 2048 whereas the Linux device file announces 512 (via ioctl(BLKSSZGET) ?)). I already

Re: USB Install Fails, Complains about CD-ROM

2018-05-12 Thread Pascal Hambourg
Le 11/05/2018 à 22:38, Thomas Schmitt a écrit : Pascal Hambourg wrote: It also has Apple and GPT partition tables, but they are bogus The GPT is not valid because there is a non-"protective" MBR partition table. The APM is valid, but should be of no interest for any firmware tha

Re: USB Install Fails, Complains about CD-ROM

2018-05-12 Thread Pascal Hambourg
Le 12/05/2018 à 01:04, Rick Thomas a écrit : After doing the cp or dd to write the .iso to the USB, do you do a “sync” before you eject it? I don't, because I don't feel the need to. According to its man page description, sync "flush file system buffers", but the destination is a raw device,

Re: USB Install Fails, Complains about CD-ROM

2018-05-11 Thread Pascal Hambourg
Le 11/05/2018 à 20:33, Kent West a écrit : I learned that EFI boot drives need to have a GPT partition table. On a This is not correct. The UEFI specification supports boot from a drive with an MSDOS partition table. Otherwise why would there be an "EFI system partition" type identifier (0xe

Re: SUCCESS!!!! - was {Re: Backup problem using "cp"}

2018-05-11 Thread Pascal Hambourg
Le 11/05/2018 à 19:54, Richard Owlett a écrit : I posted after having purged my system of the offending and was writing from memory. I believe there were two source directories    /home/richard/.local/share/Trash/expunged/73080846/grub2 problem-2018-02-13     and     /root/.loca

Re: SUCCESS!!!! - was {Re: Backup problem using "cp"}

2018-05-11 Thread Pascal Hambourg
Le 11/05/2018 à 14:59, Richard Owlett a écrit : On 05/06/2018 09:22 AM, Richard Owlett wrote: I'm attempting to backup current partition  to a USB connected 1 TB drive. I get: root@debian-jan13:/home/richard# cp -ax / "/media/richard/MISC backups/dev_sda14/" cp: cannot stat '/media/richard/M

Re: LVM setup with snapshots

2018-05-11 Thread Pascal Hambourg
Le 11/05/2018 à 01:21, Forest Dean Feighner a écrit : I'm completely new to lvm. Then you really should read more about LVM and experiment it before installing a system on LVM. lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert root build-vg -wi-ao-

Re: Auto-assembled SW RAID in rescue mode

2018-05-11 Thread Pascal Hambourg
Le 10/05/2018 à 23:30, Niclas Arndt a écrit : I received unofficial BIOS files from Gigabyte with new versions of Intel ME and CPU microcode. After upgrade, several Stretch machines no longer boot. (Fresh installation works without any problem.) What happened at boot time ? I doubt that all

Re: Backup problem using "cp"

2018-05-06 Thread Pascal Hambourg
Le 06/05/2018 à 16:22, Richard Owlett a écrit : I'm attempting to backup current partition  to a USB connected 1 TB drive. I get: root@debian-jan13:/home/richard# cp -ax / "/media/richard/MISC backups/dev_sda14/" cp: cannot stat '/media/richard/MISC backups/dev_sda14/home/richard/.local/share

Re: RAID1 on boot?

2018-04-15 Thread Pascal Hambourg
Le 14/04/2018 à 18:55, Boyan Penkov a écrit : This is a wonderful page — https://wiki.debian.org/DebianInstaller/SoftwareRaidRoot — is it still current for Stretch? Mostly, but it fails to take EFI boot into account. UEFI systems have become quite common these days.

Re: Problem of expanded partition partially solved.

2018-04-15 Thread Pascal Hambourg
Le 14/04/2018 à 18:51, Gdsi a écrit : Problem of expanded partition partially solved. After used 'resize2fs /dev/sda' I doubt that was the correct command. The filesystem is in /dev/sda2, not /dev/sda. Here remained the 2-minute scanning 'sda' in booting, which not very bother for me, but

Re: transfer disk

2018-04-10 Thread Pascal Hambourg
Le 10/04/2018 à 06:18, Felix Miata a écrit : Putting a disk from an Intel system into a system with AMD, VIA or GeForce chipset is almost certain to fail unless the initrd includes most drivers. This is the default (MODULES=most). This leads me to believe that a minimal module set initrd crea

Re: transfer disk

2018-04-10 Thread Pascal Hambourg
Le 10/04/2018 à 05:48, Ben Caradoc-Davies a écrit : On 10/04/18 14:01, mick crane wrote: Can you pop a hard disk that boots with a Debian installation on it into another entirely different PC and will the kernel try to make sense of its new hardware ? Mostly. I once had a disk that often move

Re: Debian on flash a store.

2018-03-15 Thread Pascal Hambourg
Le 15/03/2018 à 06:01, David Christensen a écrit : I also thought about two USB flash drives and RAID: 1.  Instead of RAID0, get a PATA or SATA SSD (or DOM).  Used drives can be found on eBay for cheap, especially SATA I or II. RAID 0 with USB flash drives ? You like to live dangerously. 2.

Re: Debian on flash a store.

2018-03-13 Thread Pascal Hambourg
Le 13/03/2018 à 18:26, pe...@easthope.ca a écrit : https://wiki.debian.org/RunningOnFlash has some discussion and tips about basing the system in a flash store. USB drives and SD cards are very different from SSDs. You cannot use them in the same way. AFAIK, USB drives and SD cards do not sup

Re: PAE or not PAE?

2018-03-13 Thread Pascal Hambourg
Le 13/03/2018 à 04:57, Joe Pfeiffer a écrit : Gene Heskett writes: Both pae and hyperthreading take time, hyperthreading quite a bit more than pae. With hyperthreading, to switch to the 2nd task, takes a complete processor state stored on the stack, the stack pointer reloaded to point at the i

Re: PAE or not PAE?

2018-03-12 Thread Pascal Hambourg
Le 12/03/2018 à 20:27, Hans a écrit : Note that the non PAE kernel in older Debian versions up to Jessie lacked multi-processor (including multi-core and hyper-threading) support. Yes, I read this, too. The N280 is a single core, but mith hyperthreading, I have two cores. Is this still so, tha

Re: PAE or not PAE?

2018-03-12 Thread Pascal Hambourg
Le 12/03/2018 à 20:04, Pascal Hambourg a écrit : Le 12/03/2018 à 12:31, Neo a écrit : You just need this on 32bit machines with more than 4GB of RAM. No, you also need it on machines with 4 GiB of RAM and remapping capability, in order to use the part of the RAM which is remapped beyond

Re: PAE or not PAE?

2018-03-12 Thread Pascal Hambourg
Le 12/03/2018 à 12:31, Neo a écrit : No PAE. For 2GB of RAM it makes no sense. Indeed. You just need this on 32bit machines with more than 4GB of RAM. No, you also need it on machines with 4 GiB of RAM and remapping capability, in order to use the part of the RAM which is remapped beyond

Re: adsl bridge mode

2018-03-06 Thread Pascal Hambourg
Le 06/03/2018 à 23:17, Gokan Atmaca a écrit : I got ADSL bridge mode. I can get ip address from DHCP from the service provider. How do I configure it ? Configure what ? Please elaborate.

Re: stretch and DNS name resolution service for other devices on a LAN

2018-03-02 Thread Pascal Hambourg
Le 28/02/2018 à 21:13, David Wright a écrit : # # /etc/interfaces.d/directcable for west 2018-02-25 auto eth0 iface eth0 inet static address 192.168.2.15/24 Fine. You could also add "allow-hotplug eth0" in case eth0 would be discovered late. OK. Tried that here. The ip a is before and

Re: stretch and DNS name resolution service for other devices on a LAN

2018-02-28 Thread Pascal Hambourg
Le 28/02/2018 à 18:14, David Wright a écrit : $ cat /etc/network/interfaces /etc/network/interfaces.d/directcable # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The

Re: stretch and DNS name resolution service for other devices on a LAN

2018-02-27 Thread Pascal Hambourg
Le 25/02/2018 à 18:35, David Wright a écrit : On Sat 24 Feb 2018 at 09:49:27 (+0100), Pascal Hambourg wrote: On disadvantage is that these addresses are not globally unique (the link local prefix exists on all interfaces) and must be appended with an interface name. Not an issue here. The

Re: stretch and DNS name resolution service for other devices on a LAN

2018-02-24 Thread Pascal Hambourg
Le 22/02/2018 à 22:57, David Wright a écrit : On Tue 23 Jan 2018 at 20:56:31 (+0100), Pascal Hambourg wrote: Le 23/01/2018 à 18:08, David Wright a écrit : [My Laptop] --- wireless connection IPv4 --- [Router] --- Internet Modem | / | | CAT5

Re: BIOS Can Not Find Disk

2018-02-21 Thread Pascal Hambourg
Le 21/02/2018 à 03:53, Dan Norton a écrit : In contrast, with GPT and LVM, for the second and subsequent installations, the partitioning and defining of PVs, VGs, and LVs needs to be done before installation using gdisk and the LVM tools in /sbin. Then, the installer with manual partitioning can

Re: Problem with suspend-to-disk

2018-02-21 Thread Pascal Hambourg
Le 21/02/2018 à 14:07, Louis Wust a écrit : Is your swap partition large enough to hold the contents of your RAM? It doesn't need to match (or exceed) the system memory capacity, but it should be reasonably large. Suspend-to-disk won't work if it is too small, but I'm not sure whether it would f

Re: BIND and iptables config

2018-02-15 Thread Pascal Hambourg
Le 15/02/2018 à 17:01, Rodary Jacques a écrit : my English is too poor to explain clearly my setup Why don't you post in French in the debian-user-french mailing list ?

Re: USB key and lost space

2018-02-15 Thread Pascal Hambourg
Le 15/02/2018 à 08:06, Thomas Schmitt a écrit : Additional difficulty is the presence of Apple Partition Map and of an invalid GPT. To my experience only the partition editor fdisk is willing to ignore these extra partition tables. So use /sbin/fdisk to create partition 3. If the resulting part

Re: Got tired of waiting for suspend/resume (something like that)

2018-02-03 Thread Pascal Hambourg
Le 02/02/2018 à 10:28, Curt a écrit : Maybe an encrypted swap is overkill in a home alone machine; I am now idly wondering whether there exists any documented (and successful) remote unencrypted swap attacks. Why "remote" ? AFAIK, disk encryption is against physical attacks, not remote attack

Re: stretch and DNS name resolution service for other devices on a LAN

2018-01-23 Thread Pascal Hambourg
Le 23/01/2018 à 18:08, David Wright a écrit : [My Laptop] --- wireless connection IPv4 --- [Router] --- Internet Modem | / | | CAT5 cable IPv6/ | | / | wireless/wired [My De

Re: Simple iptables table doesn't let me forward X windows

2018-01-20 Thread Pascal Hambourg
Le 20/01/2018 à 19:13, Jason a écrit : I am trying to setup (what should be) a simple iptables table I don't think so. In iptables, "tables" are preexisting data structures containing chains, and chains contain rules that you create. The set of rules in these chains and tables is called, wel

Re: stretch and DNS name resolution service for other devices on a LAN

2018-01-19 Thread Pascal Hambourg
Le 19/01/2018 à 06:10, D. R. Evans a écrit : Pascal Hambourg wrote on 01/18/2018 02:41 PM: Note : ping is not a proper DNS tool becaus it calls the libc resolver for name resolution, which may use other name sources than DNS. Use dig, host or nslookup instead. I admit that I'm

Re: stretch and DNS name resolution service for other devices on a LAN

2018-01-19 Thread Pascal Hambourg
Le 19/01/2018 à 16:14, Rob van der Putten a écrit : If you have got your own IPv6 /48 combined with RFC1918 IPv4 then split horizon DNS is probably a good idea; https://en.wikipedia.org/wiki/Split-horizon_DNS Why ? My home network also has private IPv4 + global IPv6 addresse and I use spli

Re: stretch and DNS name resolution service for other devices on a LAN

2018-01-18 Thread Pascal Hambourg
Le 18/01/2018 à 22:34, D. R. Evans a écrit : I am trying to configure a debian stretch box to provide certain services to my home network. (In the past this was a wheezy box, and I had everything working fine. I have not changed the configuration of any other machine; so, for example, DNS request

Re: Banishing UUIDs from grub

2018-01-18 Thread Pascal Hambourg
Le 18/01/2018 à 19:54, Gene Heskett a écrit : UUID's have turned out to be quite volatile over system upgrades. Not on mine. Give me a familiar disklabel any day. Don't you mean a filesystem or partition label ? "Disklabel" is a synonym for "partition table".

Re: Banishing UUIDs from grub

2018-01-18 Thread Pascal Hambourg
Le 18/01/2018 à 10:31, Dave Sherohman a écrit : What is the recommended method for preventing grub from using UUIDs to refer to filesystems in the current Debian stable distribution? One method for you use case it to put /boot or at least /boot/grub in a plain partition on the same disk as GRU

Re: Debian iso installation incorrectly sets sources.list

2018-01-14 Thread Pascal Hambourg
Le 10/01/2018 à 05:34, The Wanderer a écrit : the sizes of the images, particularly in the case of multi-image sets, are determined based on what is expected to be able to fit on a DVD or a CD. Not only. Otherwise, the #1 (bootable) DVD images would have a size of 4.7 GB, like subsequent DVD

Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-07 Thread Pascal Hambourg
Le 04/01/2018 à 05:32, Michael Stone a écrit : No, it's a pretty common shorthand to say "routable" to mean "routable on the public internet", especially where there's no real possibility of confusing it with specifically non-routable blocks like 127.0.0.0/8. This is still a mistake. In tec

Re: Experiences with BTRFS -- is it mature enough for enterprise use?

2018-01-04 Thread Pascal Hambourg
Le 04/01/2018 à 08:55, deloptes a écrit : Pascal Hambourg wrote: How is it better than using an initramfs ? By the way, if you compile md in the kernel, you should also compile all necessary host controller and disk drivers in. And expect failure with current drivers which do not guarantee

Re: Experiences with BTRFS -- is it mature enough for enterprise use?

2018-01-03 Thread Pascal Hambourg
Le 03/01/2018 à 00:52, deloptes a écrit : Pascal Hambourg wrote: Best for what ? for booting of raid How is it better than using an initramfs ? By the way, if you compile md in the kernel, you should also compile all necessary host controller and disk drivers in. And expect failure with

Re: Is there a way to know the ISP with the default installation of Stretch?

2018-01-03 Thread Pascal Hambourg
Le 03/01/2018 à 03:19, David Wright a écrit : For example, and sticking to unroutable addresses, they might be on 192.168.… in one place, 10.… in another etc. Private addresses are routable. They are just not routed over the public internet. Link local addresses (169.254.0.0/16) are not routa

Re: How to relocate LVM pv to make room for grub install

2018-01-03 Thread Pascal Hambourg
Le 03/01/2018 à 09:10, Tom Dial a écrit : On 01/02/2018 11:14 AM, Pascal Hambourg wrote: This is one of the many possible plans. But it is uncomplicated and simple to execute using available or easily obtained tools. The total outage time was around 2 hours and, as pointed out below, could

Re: GRUB and boot partition

2018-01-02 Thread Pascal Hambourg
Le 02/01/2018 à 02:29, microsoft gaofei a écrit : So AES is very lightweight ? I thought cryptography takes very much space , but I saw 1MB space is plenty for AES What are you talking about ? Where did you see this ? It does not make sense. Encryption does not require extra space (except for

Re: Experiences with BTRFS -- is it mature enough for enterprise use?

2018-01-02 Thread Pascal Hambourg
Le 02/01/2018 à 19:05, deloptes a écrit : David Christensen wrote (quoting md.txt from the kernel documentation) : You can boot with your md device with the following kernel command lines: for old raid arrays without persistent superblocks: md=dev0,dev1,...,devn yes and best is you compi

Re: How to relocate LVM pv to make room for grub install

2018-01-02 Thread Pascal Hambourg
Le 02/01/2018 à 00:56, Tom Dial a écrit : Which is the boot disk ? /dev/sda Then you didn't need to make room for GRUB on /dev/sdb. So maybe the right plan is This is one of the many possible plans. 0. make a grub-rescue CD just in case of need 1. restore the old (jessie) /boot/grub/*

Re: How to relocate LVM pv to make room for grub install

2018-01-01 Thread Pascal Hambourg
Le 01/01/2018 à 06:51, Tom Dial a écrit : Upgrading a workstation from Jessie to Stretch I found that the original disk partitioning left insufficient space for grub (re)install. The system has two identical ~233 GiB disks, sda and sdb, partitioned identically: Disk /dev/sda: 232.9 GiB, 25005935

Re: Experiences with BTRFS -- is it mature enough for enterprise use?

2017-12-30 Thread Pascal Hambourg
Le 30/12/2017 à 00:48, Jan Vales a écrit : You still can go md-raid + btrfs, if you want some btrfs features. Snapshots (and send/receive) are what I really love on my laptop and could not live without anymore. (fulldisk encryption may be mandatory, as btrfs at least some time ago, had the tende

Re: Debian 8 and Debian 9 Dual Boot

2017-12-29 Thread Pascal Hambourg
Le 29/12/2017 à 23:46, Dan Norton a écrit : On 12/29/2017 08:52 AM, Pascal Hambourg wrote: The details for other detected OSes are provided by os-prober. The entry title for the main OS is derived from the GRUB_DISTRIBUTOR variable in /etc/default/grub. You can tweak it to fit your needs. If

Re: BIND DNS problem after upgrading from Wheezy to Squeeze

2017-12-29 Thread Pascal Hambourg
Le 29/12/2017 à 18:27, Andrew W a écrit : On 27/12/2017 13:18, Bernhard Schmidt wrote: Current BIND9 defaults to doing DNSSEC verification. DNSSEC needs large packets. You might have an issue with UDP fragments being dropped at your firewall/NAT Gateway? Thanks for this tip. Looking into it I

Re: Debian 8 and Debian 9 Dual Boot

2017-12-29 Thread Pascal Hambourg
Le 21/12/2017 à 20:07, Dan Norton a écrit : Disklabel type: gpt Disk identifier: A615A904-0620-459F-BF44-5E53E54FDF24 Device Start    End    Sectors   Size Type /dev/sda1   2048 411647 409600   200M BIOS boot (...) Is there a problem here? Yes. /dev/sda1 has the type

Re: GRUB and boot partition

2017-12-29 Thread Pascal Hambourg
Le 29/12/2017 à 11:02, deloptes a écrit : microsoft gaofei wrote: I'm thinking about a question ,how my hard disk admits so much data ? If /boot partition is encrypted , then how does my hard disk admit GRUB ? sudo fdisk /dev/sda , and press o to create a DOS partition table . This software st

Re: Mixing and Matching DHCP and static IPs

2017-12-28 Thread Pascal Hambourg
Le 28/12/2017 à 13:01, Mark Fletcher a écrit : That means that, if the goal were only to get a working setup, that has now been achieved. However, if you'll indulge me further, I'm now very curious about how I can get the AirStation to have a sensible routing table -- surely it must be possible.

Re: Debian 8 and Debian 9 Dual Boot

2017-12-28 Thread Pascal Hambourg
Le 24/12/2017 à 05:36, Felix Miata a écrit : Dan Norton composed on 2017-12-23 19:15 (UTC-0500): The menu inside the box is: Debian GNU/Linux Advanced options for Debian GNU/Linux Debian GNU/Linux 8 (jessie) (on /dev/mapper/vol1-root) Advanced options for Debian GNU/Linux 8 (jessie) (on /dev/ma

Re: Mixing and Matching DHCP and static IPs

2017-12-27 Thread Pascal Hambourg
Le 27/12/2017 à 16:07, Mark Fletcher a écrit : my Stretch desktop inside the AirStation LAN showed that can also now ping to the PI. This represents major progress. However, I still cannot ssh from the Stretch desktop to the PI (although I still CAN ssh from the firewall to the PI, and I can st

Re: Mixing and Matching DHCP and static IPs

2017-12-26 Thread Pascal Hambourg
Le 26/12/2017 à 17:20, Michael Stone a écrit : On Tue, Dec 26, 2017 at 05:04:34PM +0100, Pascal Hambourg wrote: As any SOHO router, it is likely that the Airstation masquerades forwarded connections, so other nodes on its WAN side do no see the real 192.168.11.x addresses but only the WAN side

Re: Mixing and Matching DHCP and static IPs

2017-12-26 Thread Pascal Hambourg
Le 26/12/2017 à 16:49, Michael Stone a écrit : This is unnecessarily complicated, and will make your life harder than it needs to be. The best thing would be to not use the airstation as a router at all, just use it as a switch + wireless access point in a flat configuration, with the router

Re: Mixing and Matching DHCP and static IPs

2017-12-26 Thread Pascal Hambourg
Le 26/12/2017 à 15:50, Dan Purgert a écrit : Pascal Hambourg wrote: Le 26/12/2017 à 12:33, Dan Purgert a écrit : [...] Sounds like perhaps the airstation is blocking client devices from talking to "bogus" network addresses. This is generally a feature of consumer gear to stop you f

Re: Mixing and Matching DHCP and static IPs

2017-12-26 Thread Pascal Hambourg
Le 26/12/2017 à 16:05, Mark Fletcher a écrit : At the risk of further advertising my ignorance, 3 as an 8-bit binary is 0011, and 252 in binary is 1100, so why doesn't that mask "fit" with that address? (if you'll pardon my poor terminology) Put another way, why do I need to zero out ano

Re: Mixing and Matching DHCP and static IPs

2017-12-26 Thread Pascal Hambourg
Le 26/12/2017 à 14:55, Mark Fletcher a écrit : I would also expect that if it did not know that, it would send packets for 192.168.1.3 to 192.168.1.1 for forwarding, just as it does every packet that is destined for the internet -- and I would expect the firewall to be able to forward them, sin

Re: GRUB and boot partition

2017-12-26 Thread Pascal Hambourg
Le 26/12/2017 à 13:58, Reco a écrit : On Tue, Dec 26, 2017 at 11:59:18AM +0100, to...@tuxteam.de wrote: Is there any inherent advantage to having /boot encrypted? The only things which might help against an evil maid attack [1] are: secure boot (tying your bootable to secure firmware) [3],

Re: Mixing and Matching DHCP and static IPs

2017-12-26 Thread Pascal Hambourg
Le 26/12/2017 à 12:33, Dan Purgert a écrit : Mark Fletcher wrote: [...] AirStation LAN is 192.168.11.0/24, outside AirStation LAN is 192.168.1.1, .2 and .3 -- note the third octet difference for internal You seem to have set up a situation of double-NAT. This means that while 11.x can easily

Re: Mixing and Matching DHCP and static IPs

2017-12-26 Thread Pascal Hambourg
Le 26/12/2017 à 12:10, deloptes a écrit : Looks like Airstation is WLAN router - I would put it infront of the firewall and DMZ to the firewall And lose the protection provided by the firewall to wireless devices ? Sounds like a great idea. or you can turn off the firewall there completely

Re: GRUB and boot partition

2017-12-26 Thread Pascal Hambourg
Le 26/12/2017 à 12:24, to...@tuxteam.de a écrit : On Tue, Dec 26, 2017 at 12:10:52PM +0100, Pascal Hambourg wrote: Le 26/12/2017 à 11:36, to...@tuxteam.de a écrit : Is there any inherent advantage to having /boot encrypted? I can imagine a few situations. - When you can enforce the early

<    1   2   3   4   5   6   7   8   9   10   >