Re: How to disable automatic core dumps in Debian 9?

2019-06-12 Thread Martin T
Reco, thanks for reply! > rgrep core /etc/security/limits* > Would be more correct. Files at /etc/security/limits.d/ can override > limits.conf. Indeed. Output of "rgrep core /etc/security/limits*" is following: $ rgrep core /etc/security/limits* /etc/security/limits.conf:#- core - lim

How to disable automatic core dumps in Debian 9?

2019-06-12 Thread Martin T
Hi, how to disable all automatic core dumps upon the process termination in Debian 9? As Debian does not seem to use systemd-coredump, then I set the "kernel.core_pattern=|/bin/false" kernel configuration in sysctl.conf and following pam_limits.so module configuration: $ grep -w core /etc/securit

Re: unattended-upgrades downloaded package information only from the sources in sources.list.d directory ignoring sources.list file

2019-06-09 Thread Martin T
Hi, looks like the culprit is a /etc/cron.daily/do-agent cron-job which executes the /opt/digitalocean/do-agent/scripts/update.sh script which includes following if statement: if command -v apt-get 2&>/dev/null; then apt-get -qq update -o Dir::Etc::sourcelist="sources.list

Re: unattended-upgrades downloaded package information only from the sources in sources.list.d directory ignoring sources.list file

2019-06-08 Thread Martin T
> I did some further debugging and it is the > /usr/lib/apt/apt.systemd.daily script executed by apt-daily systemd > service unit which updates the package index from the sources: I configured cron with one minute interval to log the output of "apt policy" with a timestamp into a log file in order

Re: unattended-upgrades downloaded package information only from the sources in sources.list.d directory ignoring sources.list file

2019-06-06 Thread Martin T
> Looks like the "apt update" or equivalent ran by unattended-upgrades > ignored the /etc/apt/sources.list file and used only > /etc/apt/sources.list.d/digitalocean-agent.list as a source for > repositories. > What might cause this behavior? I did some further debugging and it is the /usr/lib/apt/

unattended-upgrades downloaded package information only from the sources in sources.list.d directory ignoring sources.list file

2019-06-05 Thread Martin T
Hi, in order to test unattended-upgrades I downgraded yesterday(4.06) packages iceweasel, qemu-utils and thunderbird: # # "apt list --upgradable" command below was executed on 4.06 # apt list --upgradable Listing... Done iceweasel/stable 60.7.0esr-1~deb9u1 all [upgradable from: 52.9.0esr-1~deb9u1

Re: use mailx instead of sendmail in apt-listchanges

2019-06-05 Thread Martin T
Dan, > You could do the wrapper, or you could install nullmailer, which > is an extremely simple MTA that always hands off mail to a > relayhost (i.e. somebody else's problem). I ended up with a following wrapper: $ cat /usr/sbin/sendmail #!/usr/bin/env bash # As header fields are at the top of

use mailx instead of sendmail in apt-listchanges

2019-06-02 Thread Martin T
Hi, I have apt-listchanges installed and registered in apt system: # apt-config dump | grep apt-listchanges DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -lt 10"; DPkg::Tools::Options::/usr/bin/apt-listchanges ""; DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";

Re: How to make networking dependent on firewall configuration?

2019-05-13 Thread Martin T
Hi Reco! Thanks for reply! I changed from /lib/systemd/system/networking.service.d/networking.service.conf to /etc/systemd/system/networking.service.d/networking.service.conf. > One can specify hostnames in netfilter rules. Trying to load such rules > without a working resolver can lead to weird

How to make networking dependent on firewall configuration?

2019-05-13 Thread Martin T
Hi, I have a /lib/systemd/system/networking.service.d/networking.service.conf configuration file which specifies, that my custom iptables.service is a requirement for networking.service: # systemctl show networking -p Requires Requires=system.slice iptables.service # Is there a better or more co

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-26 Thread Martin T
Hi David, > You need to post your evidence, starting with your /etc/network/interfaces > file. You say you're using ifup, so we can perhaps discount this paragraph: > >Currently, "source-directory" isn't supported by >network-manager and guessnet. > > but we don't know whether you'

Re: "accept_ra 1" vs "accept_ra 2" in interfaces configuration-file

2018-08-26 Thread Martin T
On Wed, Aug 22, 2018 at 2:02 AM Andy Smith wrote: > > Hi Martin, > > On Wed, Aug 22, 2018 at 01:06:32AM +0300, Martin T wrote: > > In addition, "accept_ra" with a value of 2 should ensure that RA > > messages are accepted even if forwarding for that interface is

Re: processing order for configuration files in /etc/network/interfaces.d

2018-08-26 Thread Martin T
On Thu, Aug 23, 2018 at 6:04 PM wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, Aug 23, 2018 at 05:31:57PM +0300, Martin T wrote: > > Hi! > > > > According to "man interfaces", the ifup brings the named interfaces up > > in

processing order for configuration files in /etc/network/interfaces.d

2018-08-23 Thread Martin T
Hi! According to "man interfaces", the ifup brings the named interfaces up in the order listed in /etc/network/interfaces file. However, what is the order for files in /etc/network/interfaces.d/? Alphabetical, i.e same as "ls -l /etc/network/interfaces.d/"? thanks, Martin

Re: "accept_ra 1" vs "accept_ra 2" in interfaces configuration-file

2018-08-21 Thread Martin T
On Tue, Aug 21, 2018 at 1:23 AM Andy Smith wrote: > > Hi Martin, > > On Mon, Aug 20, 2018 at 03:58:36PM +0300, Martin T wrote: > > On Mon, Aug 20, 2018 at 7:55 AM Andy Smith wrote: > > > Back in 2011 this was a hard-won battle: > > > > > > >

Re: "accept_ra 1" vs "accept_ra 2" in interfaces configuration-file

2018-08-20 Thread Martin T
On Mon, Aug 20, 2018 at 7:55 AM Andy Smith wrote: > > Hi Martin, > > On Mon, Aug 20, 2018 at 05:12:56AM +0300, Martin T wrote: > > According to "man interfaces" "accept_ra 1" makes interface to accept > > IPv6 RA messages. "accept_ra 2&qu

"accept_ra 1" vs "accept_ra 2" in interfaces configuration-file

2018-08-19 Thread Martin T
Hi! According to "man interfaces" "accept_ra 1" makes interface to accept IPv6 RA messages. "accept_ra 2" does the same and in addition, it also enables forwarding. What does the forwarding mean in this context? One could think, that it modifies the /proc/sys/net/ipv6/conf/*/forwarding file(s), bu

Re: "libstdc++6:i386" package breaks "libstdc++6"

2017-05-12 Thread Martin T
Hi, sorry, my mistake. I had installed libstdc++6:amd64 version 6.3.0-16 from Debian testing. regards, Martin On Thu, May 11, 2017 at 5:19 PM, Henrique de Moraes Holschuh wrote: > On Thu, 11 May 2017, Martin T wrote: >> I need to install "openjdk-7-jre-headless:i386"

"libstdc++6:i386" package breaks "libstdc++6"

2017-05-11 Thread Martin T
Hi, I need to install "openjdk-7-jre-headless:i386" package in my amd64 Debian 8 system. However, it depends on "libstdc++6:i386" package which seems to break my system: # apt-cache depends libstdc++6:i386 libstdc++6:i386 Depends: gcc-4.9-base:i386 Depends: libc6:i386 Depends: libgcc1:i386

real interface MTU different than seen in the output of "ip link show" command

2017-02-03 Thread Martin T
Hi, today I noticed an interesting behavior where the PC NIC does not discard a received Ethernet frame, although it is larger than MTU on this NIC. For example, I made PC1[eth0] <-> [eth0]PC2 and PC1[eth0] <-> [eth0]PC3 connections and set the MTU on PC1 eth0 interface to 9000 bytes and MTU on PC

Re: understanding how localization works in Debian

2016-12-12 Thread Martin T
On Mon, Dec 12, 2016 at 3:47 PM, Greg Wooledge wrote: > On Mon, Dec 12, 2016 at 01:58:12PM +0200, Martin T wrote: >> 1) pam_env.so sets the environmental variables seen in the output of >> locale command based on configuration files(for example >> /etc/default/locale) when u

understanding how localization works in Debian

2016-12-12 Thread Martin T
Hi, I read the "Configuring the System for Another Language" paragraph in "The Debian Administrator's Handbook" and am I correct that localization works in a way that: 1) pam_env.so sets the environmental variables seen in the output of locale command based on configuration files(for example /etc

potential damage to Debian "stable" when installing packages from "testing"

2016-12-08 Thread Martin T
Hi, let's say that I need a package named "weechat"(version 1.6-1) from Debian "testing": # apt-get install -t testing weechat Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: binutils libc-bin libc-dev-bin

Re: Advantages of Debian "backports" over "testing"?

2016-12-08 Thread Martin T
Ok, understood. Thank you! Martin On Thu, Dec 8, 2016 at 1:30 PM, Lisi Reisz wrote: > On Thursday 08 December 2016 11:06:55 Martin T wrote: >> One more question regarding Debian backports- is it a good practice to >> prefer latest versions from backports(jessie-backports) by d

Re: Advantages of Debian "backports" over "testing"?

2016-12-08 Thread Martin T
r than the versions in stable(jessie). Or is it a better practice to cherry-pick packages from "jessie-backports"? thanks, Martin On Wed, Dec 7, 2016 at 4:25 PM, maderios wrote: > On 12/07/2016 12:45 AM, Martin T wrote: >> >> Hi, >> >> what are advantages of

Re: default "Default-Release" for APT

2016-12-08 Thread Martin T
, version 2.10.95-7 from "unstable" would get installed because it is the highest version(checked with "dpkg --compare-versions") from all three sources with priority 500. Martin On Thu, Dec 8, 2016 at 1:35 AM, Mark Fletcher wrote: > > On Thu, 8 Dec 2016 at 08:11,

Re: default "Default-Release" for APT

2016-12-07 Thread Martin T
s default release is determined. thanks, Martin On Thu, Dec 8, 2016 at 12:03 AM, maderios wrote: > On 12/07/2016 07:26 PM, Martin T wrote: >> >> Hi, >> >> I read the apt_preferences man page and it says that "To configure the >> default release in th

default "Default-Release" for APT

2016-12-07 Thread Martin T
Hi, I read the apt_preferences man page and it says that "To configure the default release in the configuration file, use: APT::Default-Release "stable";". While I have multiple distributions in sources.list file(stable, testing, unstable, jessie-backports), then I don't have the "Default-Release"

Re: Advantages of Debian "backports" over "testing"?

2016-12-07 Thread Martin T
Understood. Thanks! Martin On Wed, Dec 7, 2016 at 4:07 PM, Mark Fletcher wrote: > On Wed, Dec 07, 2016 at 03:25:17PM +0200, Martin T wrote: >> Dan, >> >> > On the other hand, upgrade your webserver to a backports version, >> > and the webserver has been comp

Re: Advantages of Debian "backports" over "testing"?

2016-12-07 Thread Martin T
ckages which require some features which are provided only by libraries available for "testing" and thus the package can not be available via backports. thanks, Martin On Wed, Dec 7, 2016 at 2:37 AM, Dan Ritter wrote: > On Wed, Dec 07, 2016 at 01:45:45AM +0200, Martin T wrote: >&g

Advantages of Debian "backports" over "testing"?

2016-12-06 Thread Martin T
Hi, what are advantages of using Debian "backports"("jessie-backports" in sources.list file) over "testing"("testing" in sources.list file)? As I understand, "backports" does not have all the packages from "testing". On the other hand, packages in "backports" are specially recompiled for "stable"

Detect upgradable packages in shell script ran as a non-root user

2016-11-30 Thread Martin T
Hi, I would like to run a cron job which periodically checks if I have upgradable packages. One way to do it is probably like this: $ apt-get upgrade -s | grep -q "^0 upgraded" In case exit code is >0, then there are upgradable packages. The second solution I came up with is: $ for package in $

Re: USB mouse and keyboard disconnected

2016-11-07 Thread Martin T
i /sys/module/usbcore/holders/ehci_pci /lib/modules/3.16.0-4-amd64/kernel/drivers/usb/host/ehci-pci.ko # Any other ideas? thanks, Martin On Fri, Nov 4, 2016 at 12:48 AM, Mark Fletcher wrote: > On Thu, Nov 03, 2016 at 06:18:59PM +0200, Martin T wrote: >> Hi, >> >> look

Re: USB mouse and keyboard disconnected

2016-11-03 Thread Martin T
oframes (int) parm: park:park setting; 1-3 back-to-back async packets (uint) parm: ignore_oc:ignore bogus hardware overcurrent indications (bool) # Any ideas what might cause this issue? thanks, Martin On Mon, Sep 19, 2016 at 4:47 PM, Martin T wrote: > Hi, > >

USB mouse and keyboard disconnected

2016-09-19 Thread Martin T
Hi, I made a fresh minimal(no desktop environment, open-source "radeon" driver, CEDAR firmware, X and dwm) Debian 8.5 installation few days ago. Since that I have had two occasions where all of the sudden USB devices(USB keyboard and mouse) no longer work. I'm able to access my PC over SSH(or use

Re: How to install init scripts manually?

2015-11-03 Thread Martin T
In addition to symlinks to /etc/rc.d/ directories, insserv adds a ":" line to /etc/init.d/.depend.start file. My mistake was that I added ":" line to /etc/init.d/.depend.start file. regards, Martin On 8/9/14, Andrei POPESCU wrote: > On Lu, 04 aug 14, 13:30:54, Martin T

Re: "apt-get dist-upgrade" shows kept back packages

2015-08-28 Thread Martin T
On 8/27/15, David Wright wrote: > Quoting Martin T (m4rtn...@gmail.com): >> Hi, >> >> as far as I know, kept back packages in Debian are shown in case >> package can not be upgraded with "apt-get upgrade" because upgrade >> requires to install new pack

"apt-get dist-upgrade" shows kept back packages

2015-08-27 Thread Martin T
Hi, as far as I know, kept back packages in Debian are shown in case package can not be upgraded with "apt-get upgrade" because upgrade requires to install new packages. Usually this can be fixed with apt-get dist-upgrade because this will install new packages if needed. Now for some reason "db5.

qemu with KVM support compared to "professional" virtualization products from VMware or Oracle

2015-03-27 Thread Martin T
Hi, I need to virtualize few dozen virtual-machines for production environment under Debian host-machine. I like the KISS principle provided by qemu with KVM support where each utility has its own specific purpose. For example I set up the virtual switch with ip/brctl utility or use single qemu ex

Re: How well-maintained are NEWS and changelog files in deb packages?

2015-02-16 Thread Martin T
Don, thanks for explaining this! Martin On Fri, Feb 13, 2015 at 7:20 PM, Don Armstrong wrote: > On Fri, 13 Feb 2015, Martin T wrote: >> apt-listchanges uses NEWS and changelog files in Debian packages. Are >> NEWS and changelog files always or at list usually updated, i.e. i

How well-maintained are NEWS and changelog files in deb packages?

2015-02-13 Thread Martin T
Hi, apt-listchanges uses NEWS and changelog files in Debian packages. Are NEWS and changelog files always or at list usually updated, i.e. is it safe to trust those? thanks, Martin -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Cont

Re: understanding Debian support on ARM architecture

2014-08-10 Thread Martin T
gt; On Sun, 10 Aug 2014 04:40:05 +0300 > Martin T wrote: > >> Hi, >> >> according to wiki, Debian is supported on little-endian ARM >> architecture. However, then wiki lists some sub-architectures which >> are supported. For example iop32x, ixp4xx, kirkwood and ori

Re: Software compatibility between different architectures?

2014-08-10 Thread Martin T
>> how compatible are drivers on ports for different CPU architectures, >> e.g. I have a USB HSDPA modem which works great on Wheezy port for x86 >> architecture, but can I expect it to work on Wheezy port for ARM? > > If your ARM platform's USB driver works, then yes, you can expect the > exact sa

understanding Debian support on ARM architecture

2014-08-09 Thread Martin T
Hi, according to wiki, Debian is supported on little-endian ARM architecture. However, then wiki lists some sub-architectures which are supported. For example iop32x, ixp4xx, kirkwood and orion5x. Does this mean that Debian ARM port works on fairly limited number of sub-architectures? For example

Software compatibility between different architectures?

2014-08-09 Thread Martin T
Hi, how compatible are drivers on ports for different CPU architectures, e.g. I have a USB HSDPA modem which works great on Wheezy port for x86 architecture, but can I expect it to work on Wheezy port for ARM? Can one expect the same options(modprobe parameters) for drivers on all platforms? What

Re: NFS and iptables during bootup

2014-08-09 Thread Martin T
erface? Or is it a best practice just to allow everything through the loopback interface like I did? Martin On Sat, Aug 9, 2014 at 6:33 AM, Tom H wrote: > On Fri, Aug 8, 2014 at 11:47 AM, Martin T wrote: >> >> I moved the script from /etc/init.d to /etc/network directory and >&

Re: NFS and iptables during bootup

2014-08-08 Thread Martin T
ter (statd, 1, udp)." messages. Last but not least, starting the /etc/init.d/nfs-common script("/etc/init.d/nfs-common start") took few minutes to start even if the OS is running. regards, Martin On 8/4/14, Tom H wrote: > On Mon, Aug 4, 2014 at 10:52 AM, Martin T wrote: &g

Re: How to install init scripts manually?

2014-08-08 Thread Martin T
On 8/4/14, Gary Dale wrote: > On 04/08/14 11:04 AM, Martin T wrote: > > On 8/4/14, Gary Dale wrote: > >> On 04/08/14 06:30 AM, Martin T wrote: >>> Hi, >>> >>> I played around with a LSB init script under Squeeze(init is from >>> sysvin

Re: How to install init scripts manually?

2014-08-04 Thread Martin T
Hi, by "reloaded the machine" I meant that I executed the "reboot" command. I did try with telinit, but at least on Squeeze this is just a symlink to init: # file /sbin/telinit /sbin/telinit: symbolic link to `init' # regards, Martin On 8/4/14, Gary Dale wrote: >

NFS and iptables during bootup

2014-08-04 Thread Martin T
Hi, I made a very simple bash script which loads the iptables configuration from /etc/firewall.conf and /etc/firewall6.conf files: # cat /etc/init.d/firewall #!/bin/bash iptables-restore < /etc/firewall.conf ip6tables-restore < /etc/firewall6.conf # Script is stored in /etc/init.d/ directory, b

How to install init scripts manually?

2014-08-04 Thread Martin T
Hi, I played around with a LSB init script under Squeeze(init is from sysvinit package version 2.88dsf-13.1+squeeze1) for learning purposes. My script is following: # cat /etc/init.d/test-script #! /bin/sh ### BEGIN INIT INFO # Provides: test # Required-Start:$all # Required-Stop:

atftpd listens on wrong UDP port

2014-07-31 Thread Martin T
Hi, When I start an atftpd daemon with "/usr/sbin/atftpd --port 69 --bind-address 10.10.10.2 --daemon /srv/tftp/" command, the TFTP server listens on ephimeral port(58418 in this example) instead of port 69: # atftpd --version atftp-0.7 (server) # /usr/sbin/atftpd --port 69 --bind-address 10.10.1

Re: Does anyone have mimic-tools1.0.1.deb package?

2014-07-28 Thread Martin T
Hi, thank you for the reply, but looks the mimic-tools1.0.1.deb installation package has never been in official Debian repositories. regards, Martin On Tue, Jul 29, 2014 at 12:10 AM, Andrei POPESCU wrote: > On Lu, 28 iul 14, 11:49:44, Martin T wrote: >> Hi, >> >> aMSN

Does anyone have mimic-tools1.0.1.deb package?

2014-07-28 Thread Martin T
Hi, aMSN(free open source MSN Messenger clone) allowed one to store web-cam sessions, but saved those into cam files. There is an utility called mimic2rgb which allows one to convert those cam files into RGB video stream. At some point, there even were some Debian packages around(mimic-tools1.0.1.

Re: free space before the first and after the last partition if GPT partition scheme is used

2014-05-11 Thread Martin T
have 1.3MiB of free space- I guess it's because you aligned your partitions on 8 sector boundaries and there was no need to leave free space for alignment? regards, Martin On Sun, May 11, 2014 at 6:30 PM, Sven Hartge wrote: > Martin T wrote: > >> I see. Thanks! Are those &quo

Re: free space before the first and after the last partition if GPT partition scheme is used

2014-05-11 Thread Martin T
he backup GPT stored? regards, Martin On Sun, May 11, 2014 at 1:05 PM, Sven Hartge wrote: > Martin T wrote: > >> 2) Am I correct that boot loaders use their code on this area after >> the primary GPT and before the first partition? > > No. > > Bootloaders store t

Re: minimal X.org xserver installation on Debian Wheezy

2014-05-11 Thread Martin T
Thank you for replies! As I understand, "xserver-xorg" will install /usr/bin/X binary, which is a X Window Server itself and "xinit" installs the /usr/bin/xinit utility which starts the X Window Server and window manager(dwm in my case) as a X Windows Server client. As I have Intel 945GM video card

free space before the first and after the last partition if GPT partition scheme is used

2014-05-10 Thread Martin T
Hi, DebianInstaller shows "FREE SPACE" before the first partition and after the last partition if GPT scheme is used: http://i.imgur.com/qjNrdAx.jpg While there is nothing wrong with that as there is indeed some free space before the first partition and after the last partition(http://i.imgur.com/

minimal X.org xserver installation on Debian Wheezy

2014-05-10 Thread Martin T
Hi, I installed Debian Wheezy with no desktop environment as I would like to use lightweight dwm window manager instead. However, as a first step, I need to install xserver. I would like to install minimal components needed for running the xserver. What are the exact components(binaries, libraries

Re: domain-name option during the installation of Debian

2014-03-07 Thread Martin T
lation, used? So far it seems to be used only for completing the domain names. regards, Martin On Sat, Mar 8, 2014 at 2:04 AM, Scott Ferguson wrote: > On 08/03/14 12:40, Martin T wrote: >> Hi, >> >> during the installation of Debian, one is asked for "domain name&qu

domain-name option during the installation of Debian

2014-03-07 Thread Martin T
Hi, during the installation of Debian, one is asked for "domain name". Only place where it seems to be used is for completing the FQDN's: root@localhost:~# find / \( \( -path "/proc" -o -path "/sys" \) -a -prune \) -o \( -type f -a -exec grep -iH "lab.net" {} \; \) /var/log/installer/status:Maint

questions regarding file-system(ext3 or ext4) optimization for sortware-RAID array

2014-03-05 Thread Martin T
Hi, I created a RAID1 array of two physical HDD's with chunk size of 64KiB under Debian "wheezy". As a next step, I would like to create a file-system(ext3 or ext4) to this RAID1 array using mke2fs utility. Questions: 1) Should I use physical HDD sector size(512B in case of my HDD's) or file syst

How to understand which access control mechanism is in use for X server?

2014-01-07 Thread Martin T
Hi, there are multiple access control mechanisms for X server like access based on host(xhost) or access based on cookie(xauth). Are both usually enabled at the same time? If yes, then which one is checked first? Are both active? I mean for example once I enable host with xhost, then do I need to

How and where lspci utility gathers information about hardware components?

2013-10-27 Thread Martin T
Hi, lspci utility shows information regarding devices on various buses like PCI or PCI Express. For example on IBM ThinkPad T42 laptop: T42 ~ # lspci 00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03) 00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP

Re: understanding the role/relationship of the firmware and driver in case of Wi-Fi adapters

2013-01-06 Thread Martin T
le is probably part of the RT2870F chip? regards, Martin 2013/1/2 Bob Proulx : > Martin T wrote: >> some Wi-Fi adapters(for example Intel ipw2200 family and many Ralink >> cards) require both firmware and drivers in order to operate properly. > > Yes. > >> 1) As I under

understanding the role/relationship of the firmware and driver in case of Wi-Fi adapters

2013-01-01 Thread Martin T
Hello, some Wi-Fi adapters(for example Intel ipw2200 family and many Ralink cards) require both firmware and drivers in order to operate properly. 1) As I understand, firmware is usually a closed-source binary image provided by Wi-Fi card manufacturer? 2) What happens with the firmware when card

Re: "hostname" question during Debian installation

2012-09-13 Thread Martin T
Hello, in order to wrap this hostname question up, then hostname set during the Debian installation is: 1) mapped to an address from 127.0.0.0/8 range in /etc/hosts file. Specifically to IPv4 address 127.0.1.1 2) written to MTA(for example exim4) configuration file 3) written to /etc/mailname 4)

unable to install Debian using syslinux 4.05(stuck in "Load installer components from CD" step)

2012-06-17 Thread Martin T
Hi, I'm trying to install debian-6.0.5-amd64-CD-1.iso from USB memory-stick. The problem is, that Debian-Installer is not able to "Detect and mount CD-ROM" during the installation process. The USB memory-stick is a 2GB model containing MBR and FAT32 file system: # fdisk -lu /dev/sdb Disk /dev/sd

which errors are critical for integrity of ext[234] file system?

2012-04-18 Thread Martin T
I was playing with dd "conv=noerror" option. It continues reading the input file(for example HDD/SSD partition) even in case there are read errors. Which errors are critical for integrity of ext[234] file system? As I understand, Linux views the file system as a common set of objects- superblock(ma

ICMP handling in Linux

2012-04-10 Thread Martin T
It's a well known fact that even most(with exceptions like ASR1K) of the high-end Cisco or Juniper routers handle ICMP traffic in routing engines not in ASIC's which means that they share the CPU time with other processes. How prioritized is ICMP handling in modern Linux 2.6 and newer kernels? Is i

Re: shrink ext3 filesystem using e2fsprogs and fdisk

2012-03-28 Thread Martin T
Stefan: I'm afraid you can't use dd for this because as far as I know dd(1) reads and writes one block at a time and in case new position for file system overlaps with the present one, using dd you will start overwriting the end of the file system with the readings from the start of the file syste

Re: shrink ext3 filesystem using e2fsprogs and fdisk

2012-03-26 Thread Martin T
n Sun, Mar 25, 2012 at 10:50:27PM +0000, Martin T wrote: >> I have a 500GB((131072000*4096)/1024^3) ext3 filesystem: >> > [cut] >> >> Is it possible to make partition smaller starting from the beginning? >> If yes, do I need to somehow start file system from the

shrink ext3 filesystem using e2fsprogs and fdisk

2012-03-25 Thread Martin T
I have a 500GB((131072000*4096)/1024^3) ext3 filesystem: root@debian:~#dumpe2fs /dev/sda9 | egrep "Block count|Block size" dumpe2fs 1.41.12 (17-May-2010) Block count: 131072000 Block size: 4096 root@debian:~# ..on a 904GB((1953523711-56924160)*512)/(1024^3) partition(sd

Re: "hostname" question during Debian installation

2012-02-14 Thread Martin T
21 kirjutas Tom H : > On Sun, Feb 12, 2012 at 8:16 PM, Martin T wrote: > > >> During Debian installation there is a question about "hostname" using >> expert installation mode. > > In both modes but I don't think that "regular" mode asks you for a

"hostname" question during Debian installation

2012-02-12 Thread Martin T
During Debian installation there is a question about "hostname" using expert installation mode. Am I correct, that "hostname" inserted during Debian installation is associated with a local(address from 127.0.0.0/8 range) IP address: < martin@martin-ThinkPad-T60:~$ hostname martin-ThinkPad-T60