Debian switches driver letters preventing boot

2007-02-03 Thread Gmail
Hello.  I'm running the 'testing' release.  I found that once I upgrade
to the 2.6.18 kernel my box wouldn't boot.

The boot lines in my grub's menu.lst lines are (with different
variations for version number):

/boot/vmlinuz-2.6.18-3-686 root=/dev/hda1 ro vga=791

What appears to be happening is that while the kernel starts to boot, it
seems to change the drive letter of the disk containing the / partition
to /dev/hde.  I'm not entirely clear about the boot process, but I
believe this happens when the initrd partition is mounted.

No amount of futzing with the fstab seems to come up with a
configuration that will work for me.

If I boot to single user mode, I can usually manage to manually mount
the other filesystems.  So for instance, while all my system partitions
are on the same physical drive, I currently have the following:

# mount
/dev/hde1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hda6 on /usr type ext3 (rw)
/dev/hda7 on /var type ext3 (rw)
/dev/hda8 on /home type ext3 (rw)


That is, /usr, /var, and /home are mounted with /dev/hda* and / is
mounted as /dev/hde even though it's the same drive.

The boot drive is on an HPT366 controller, not the motherboard's
built-in IDE controller.

Is this something I can fix by configuring udev somehow?

Thanks

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian switches driver letters preventing boot

2007-02-04 Thread Gmail
Thanks, Nick.

This seems to get me part of the way there.  I created a modified initrd
that does a "modprobe -q hpt366" before it loads the generic ide module.
  The hpt366 module was already in the initrd image.   I modified my
/etc/fstab to reflect hda instead of hde for the root drive.

My menu.lst entry says to boot from /dev/hda1 which oddly enough has
always worked and is the only configuration that does work.  Grub
reports a boot from hd(0,0).

However, during boot, it seems to indicate that it's trying to get
initrd from /dev/hde (now treating hda as if it were hde).  It then
times out trying to load /scripts/local-top.  Eventually I get a
rudimentary shell where I can mount the root drive as /dev/hda1.

I've tweaked the initrd scripts, but yet it's still alternately treating
the root drive as hda and hde.  Where is that coming from?

Thanks

Mark

Nick Boyce wrote:
> Gmail wrote:
>
>   
>> Hello.  I'm running the 'testing' release.  I found that once I upgrade
>> to the 2.6.18 kernel my box wouldn't boot.
>> 
> [...]
>   
>> What appears to be happening is that while the kernel starts to boot, it
>> seems to change the drive letter of the disk containing the / partition
>> to /dev/hde.  I'm not entirely clear about the boot process, but I
>> believe this happens when the initrd partition is mounted.
>> 
>
> I believe a tech tip published in the recent Linux Journal (issue 153,
> January 2007) by Nicholas Petreley (LJ Editor) describes the problem
> you're seeing. It is apparently to do with the order in which initrd
> loads disk storage device drivers, which determines the actual device
> names allocated to the discovered devices.
>
> Here's a link to what seems to be the same article :
> http://delivery.acm.org/10.1145/120/1194965/9452.html?key1=1194965&key2=8641060711&coll=&dl=GUIDE&CFID=15151515&CFTOKEN=6184618
> "Modify initrd to Make 3ware RAID the First Serial Device"
> (there didn't seem to be a web copy of the article at the LJ website)
>
> Relevant extract:
>
> =< cut >==
> "Ubuntu (and probably other distributions) do not necessarily respect
> your BIOS settings [regarding which device is the root/boot device].
> For example, I have an ASUS M2N32 WS Professional motherboard, which
> includes a PCI-X slot for the 3ware 9550SX-4LP RAID card.  I can set the
> BIOS to make this card the first device.  However, if I add a SATA
> drive, the Ubuntu initrd will see the onboard SATA as the first SCSI
> device on the system, in spite of the BIOS settings.
>
> There may be a kernel boot parameter to override this behavior, but I
> haven't found one that works.  Regardless, I like the following solution
> if for no other reason than it teaches one how to extract, modify an
> Ubuntu initrd and then reassemble it for use.
>
> Here's why the Ubuntu initrd defies the BIOS settings  The following
> line, which discovers storage controllers, happens to discover the
> NVIDIA SATA first:
>
> /sbin/udevplug -s -Bpci -Iclass=0x01*
>
> You can force this script to find the 3ware controller first by adding a
> line that explicitly loads the 3ware module before this line
>
> /sbin/modprobe 3w-9xxx
>
> This forces the script to discover the 3ware RAID card first and assign
> it as /dev/sda before udevplug discovers the rest of the PCI storage
> controllers  The trick here is that you need to unpack the default
> initrd file that comes with Ubuntu, modify this script, and then repack
> it and use it instead of the default initrd.
>
> Here's one way to do that ..."
> =< cut >==
>
> This stuff has apparently changed in "recent" kernels (which would
> explain why you saw the problem when you upgraded from Sarge to Etch).
>
> Interestingly, apparently the Fedora technique of labeling disk
> partitions, and then mounting them by their labels, provides a nice
> solution to the device order discovery & naming problem.
>
> We are certainly going to have to find a good way round this sort of
> silliness before Linux can be ready for the masses.
>
> Good luck.
> (And sorry if I'm completely off-target here)
>
> Nick Boyce
>
>
>   


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Errors using debuild for building CPAN package

2008-08-04 Thread Gmail

Trying to install a couple of CPAN modules using dh-make-perl.
I've used wget, and then tar. I descend into the modules directory and  
go with: debuild. I get:


sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type,  
falling back to default (native compilation)

dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type,  
falling back to default (native compilation)

dh_md5sums
dh_builddeb
dpkg-deb: building package `libstring-random-perl' in `../libstring- 
random-perl_0.22-1_all.deb'.

 dpkg-genchanges
sh: gcc: command not found
dpkg-architecture: warning: Couldn't determine gcc system type,  
falling back to default (native compilation)

dpkg-genchanges: including full source code in upload
dpkg-buildpackage (debuild emulation): full upload; Debian-native  
package (full source is included)

Now signing changes and any dsc files...
Could not find a signing program (pgp or gpg)!
debuild: fatal error at line 1155:
running debsign failed

Any tips for a Debian novice?




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: A rookie's query: Want to about Debian and the related

2013-11-30 Thread gmail

On 12/01/2013 08:45 AM, Celejar wrote:

On Fri, 29 Nov 2013 16:32:57 +0100
Ralf Mardorf  wrote:

...


I suspect that the good MUAs are all without a GUI, hopefully I'm
mistaken.

Sylpheed is a good GUI MUA.


Regards,
Ralf

Celejar



how about thunderbird ?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/529a9449.4020...@gmail.com



lm-sensors控制风扇,不能加载模块

2014-05-14 Thread gmail
我在x200上面安装了 debian sid,风扇一直在全速运转,想要实现根据温度来调 
节转速。

参考了http://www.linuxidc.com/Linux/2009-02/18270.htm
这篇文章提到lm-sensors,于是到官方网站(http://www.lm- sensors.org/wiki 
/iwizard/Detection)

按照教程设置,最后加载模 块不能成功。
下面是我的操作过程,有知 道的,帮我看看。

PS:1.像这样 的问题应该在哪里的邮件列表去问呢?

2 有哪位朋友也在 thinkpad上面安装了debian之类的linux系统,一起 
交流。怎样实现充放电阈值的控制,以及延长电池使用时间 的方法,以及动态硬 
盘保护


谢 谢!


#+TITLE:
* ref
www.lm-sensors.org/wiki/iwizard/DistroPackageInstall
www.lm-sensors.org/wiki/iwizard/KernelPreparation
www.lm-sensors.org/wiki/iwizard/SensorsOutput

* install
$ apt-get install lm-sensors

* usage

kk@x200:~$  sudo sensors-detect
# sensors-detect revision 6209 (2014-01-14 22:51:58 +0100)
# System: LENOVO 7459X18 [ThinkPad X200] (laptop)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595...   No
VIA VT82C686 Integrated Sensors...  No
VIA VT8231 Integrated Sensors...No
AMD K8 thermal sensors...   No
AMD Family 10h thermal sensors...   No
AMD Family 11h thermal sensors...   No
AMD Family 12h and 14h thermal sensors...   No
AMD Family 15h thermal sensors...   No
AMD Family 15h power sensors... No
AMD Family 16h power sensors... No
Intel digital thermal sensor... Success!
(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No
VIA C7 thermal sensor...No
VIA Nano thermal sensor...  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...   No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'...   No
Trying family `ITE'...  No
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...   No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'...   No
Trying family `ITE'...  No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no):
Probing for `National Semiconductor LM78' at 0x290...   No
Probing for `National Semiconductor LM79' at 0x290...   No
Probing for `Winbond W83781D' at 0x290...   No
Probing for `Winbond W83782D' at 0x290...   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no):
Using driver `i2c-i801' for device :00:1f.3: Intel ICH9
Module i2c-dev loaded successfully.

Next adapter: SMBus I801 adapter at 1c60 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x5c
Probing for `Analog Devices ADT7462'... No
Probing for `SMSC EMC1072'...   No
Probing for `SMSC EMC1073'...   No
Probing for `SMSC EMC1074'...   No

Next adapter: i915 gmbus ssc (i2c-1)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus vga (i2c-2)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus panel (i2c-3)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus dpc (i2c-4)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus dpb (i2c-5)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: i915 gmbus dpd (i2c-6)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: DPDDC-B (i2c-7)
Do you want to scan it? (YES/no/selectively): yes

Next adapter: DPDDC-C (i2c-8)
Do you want to scan it? (YES/no/selectively):

Next adapter: DPDDC-D (i2c-9)
Do you want to scan it? (YES/no/selectively):


Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `coretemp':
  * Chip `Intel digital thermal sensor' (confidence: 9)

To load everything that is needed, add 

Apt problem

2016-12-19 Thread Gmail

After upgrading my Libranet (Sarge-based) system, I now end up with the
following messages after doing anything apt-get based (including Synaptic):
 
W: No priority (or zero) specified for pin

W: No priority (or zero) specified for pin
 
However the apt-get commands and apps work.  How do I solve the

problem/warnings?



Re: How to install Truecrypt on Debian squeeze?

2012-01-21 Thread gmail
Truecrypt 64bit Lib to installfuse-utils, loop-aes-utils, libfuse-dev
User PermisionInsert the user to group use
modify the file “” \etc\sudoers  and insert the your user name
Download and installation Truecryptwww.truecrypt.org , download application
64bit

RESTART COMPUTER

Exstract truecryptXXX.tar.gz

terminale $ gksu nautilus

execute TRUECRYPT and install

 Truecrypt is install to usr/bin
for disisnstall: truecrypt-uninstall.sh


Configuration application* Setting, Preferences, System Integration enable
 “do not use kernel …..”*


__
Powered by Debian GNU/Linux



2012/1/21 Chen Wei 

> On Sat, Jan 21, 2012 at 10:49:49AM +1000, Ashton Fagg wrote:
> > The majority of people who use Truecrypt aren't interested in
> > whole-disk encryption. Most likely they want to have an encrypted
> > "container" that they mount as a separate volume. It is my
> they might be better off by switching to something else, for example,
> encfs. IMHO it is easier to use, easier to backup.
>
> --
> Chen Wei
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/20120121023934.GC13939@Tungsten
>
>


How to secure access to SD cards a la USBGuard?

2021-11-11 Thread hdv@gmail

Hi all,

I'd like to limit access to (micro) SD cards on our systems to only 
those cards that have been vetted up front.


At first glance I thought maybe USBGuard would help me do this, but that 
will only detect built-in or USB-mounted card readers in which the card 
is plugged, not the storage device itself. Therefore allowing the card 
reader will automatically allow anyone to access any number of memory 
cards. That's not what we want for these systems.


Using USBGuard I can (and do) limit access to specific USB devices 
(including thumbdrives), but it seems I cannot use it to limit access to 
specific memory cards. For built-in readers I figure that is because the 
communication is not USB-based. But that would not be the case for 
USB-based card readers.


Does anyone have a suggestion on how I can achieve this?

Many thanks in advance!

Grx HdV



Re: How to secure access to SD cards a la USBGuard?

2021-11-12 Thread hdv@gmail

On 2021-11-12 17:13, Stefan Monnier wrote:

I'd like to limit access to (micro) SD cards on our systems to only those
cards that have been vetted up front.


IIUC the way SD card are interfaced with the system, you can't use an
approach like USBGuard for that indeed.


I was getting afraid of that.


I suspect you'll need to be more specific about what you mean by
"access".  E.g. you may need to control this access when `mount`ing,
which will then depend on how you want to allow such mounts.


What I'd like is to be able to let users mount only those memory cards 
that have been registered up front. I've always thought it strange that 
people consider thumbdrives to be a risk (and rightly so), but no one is 
seemingly bothered by almost the equivalent risk posed by memory cards. 
Those can contain "bad" software as well, and they can to automounted 
just as easily as USB-drives. So why not make it possible to prevent 
users from mounting a card they found somewhere or that was given to 
them by some unknown agent?



Then another question will be how you want to "vet" (by partion
UUID, maybe?).


That was indeed my first thought. TBH I don't know of any other 
trustworthy and unique ID for storage devices (not USB).


P.S. Just to be sure: this is not about letting only specific users 
mount a filesystem. I know how to achieve that goal. This is about 
preventing social engineering attacks through malicious memory cards, 
without blocking the card reader altogether.


Thanks!

Grx HdV



Re: How to secure access to SD cards a la USBGuard?

2021-12-05 Thread hdv@gmail

On 2021-12-05 13:33, Andrei POPESCU wrote:

On Vi, 12 nov 21, 12:27:59, Stefan Monnier wrote:


As mentioned, the way to control it will depend on the specific tool
used to mount.  E.g. if it's mounted by hand via a rule in /etc/fstab,
then you can rules that specify the device via /etc/disk/by-uuid.

Do note that partition UUIDs are not designed to be reliable w.r.t
malicious uses (it's easy to create a partition with the same UUID as
some other).


/dev/disk/by-id/ should be device specific.


Shoot, I had forgotten about WWNs at all! Yep, those should be good 
enough for my purposes.


Thanks for the hint!

Grx HdV



Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread hdv@gmail

On 2021-12-08 15:27, Jorge P. de Morais Neto wrote:

Hi everyone!  I have a Dell Inspiron 5570 laptop with 1TB HDD and 16 GiB
RAM (it supports 32 GiB).  I am about to buy an M.2 NVMe 250GB SSD---a
Western Digital WD Blue SN550.  I would like to set the system for
reliability, SSD durability¹ and performance.

I have looked at [Multi HDD/SSD Partitioning Scheme][] but it is too
complex and probably outdated (last modified 2013-10-17).  I would like
something simpler.  For backups, I would continue my weekly manual
backups to my 1.5 TB external HDD with duplicity.

On the SSD I intend to leave 35 GB unpartitioned for extra over
provisioning.  It would have just one 215 GB partition.

On the HDD I would put a 34 GB swap partition at the beginning, then a
215 GB partition for RAID1 with the SSD, then a 751 GB partition.  I
intend to put Debian system *and* /home on the 215 GB RAID1, but I would
set all the XDG user dirs² on the 751 GB HDD partition.  I would have
tmpfs on /tmp---I have read that long thread where someone alleged that
moving /tmp to tmpfs makes it useless but I disagree.

Would all this be reasonable?  Do you recommend any change?  Any tip?  I
run Debian stable with only official repositories, including
bullseye-backports.  I also manually installed GNU Guix package manager
and my main Guix profile has 163 packages.

Regards!

[Multi HDD/SSD Partitioning Scheme] 
https://wiki.debian.org/Multi%20HDD/SSD%20Partition%20Scheme

¹ According to its data sheet, the 250GB WD Blue SN550 endures 150TBW.
² See the xdg-user-dir manpage.



Regarding the swap space: I wouldn't make it so big. That really isn't 
necessary. I have a 64GB RAM system here, on which I have 2GB of swap. I 
doubt I have ever seen conky show me more than 35% use. And I am quite a 
heavy user of system resources (much 3D CAD editing, photo editing, 
video editing and rendering, and often multiple VM's in use).


My laptop has 32GB of RAM and 2 GB of swap and on that system I haven't 
seen much swapping either.


Grx HdV



Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-09 Thread hdv@gmail

On 2021-12-09 15:46, Dan Ritter wrote:

hdv@gmail wrote:

On 2021-12-08 15:27, Jorge P. de Morais Neto wrote:

Hi everyone!  I have a Dell Inspiron 5570 laptop with 1TB HDD and 16 GiB
RAM (it supports 32 GiB).  I am about to buy an M.2 NVMe 250GB SSD---a
  

Regarding the swap space: I wouldn't make it so big. That really isn't
necessary. I have a 64GB RAM system here, on which I have 2GB of swap. I
doubt I have ever seen conky show me more than 35% use. And I am quite a
heavy user of system resources (much 3D CAD editing, photo editing, video
editing and rendering, and often multiple VM's in use).

My laptop has 32GB of RAM and 2 GB of swap and on that system I haven't seen
much swapping either.


Swap is where a laptop stores RAM during suspend-to-disk, the long
term hibernation suspension. Without at least as much swap as
RAM, you are limited to suspend-to-RAM.

In a more perfect world, the space for suspension would not
otherwise be treated as swap space.

-dsr-



It certainly was the reason why I always had swap at least as big as RAM 
in the past on my laptops. However, I have not had any trouble 
suspending or hibernating my laptops in the years since I reduced swap 
to 2GB. That is just my experience, and it may not be the same for 
others. But it might help the thread starter to know this is a feasible 
option (depending on their use case).


P.S. I am on the list. It is sufficient to just reply to the list for me 
to receive your message.


Grx HdV



Re: Reasonably simple setup for 1TB HDD and 250GB M.2 NVMe SSD

2021-12-15 Thread hdv@gmail

On 2021-12-15 15:51, Jorge P. de Morais Neto wrote:

Hello,

Em [2021-12-09 qui 15:00:43+0100], hdv@gmail escreveu:


Regarding the swap space: I wouldn't make it so big.  That really isn't
necessary.  I have a 64GB RAM system here, on which I have 2GB of swap.  I
doubt I have ever seen conky show me more than 35% use.  And I am quite a
heavy user of system resources (much 3D CAD editing, photo editing,
video editing and rendering, and often multiple VM's in use).

My laptop has 32GB of RAM and 2 GB of swap and on that system I haven't
seen much swapping either.


I wanted to play safe in case I later upgrade the RAM to 32 GiB and,
additionally, I later enable the hibernate functionality.  Since I have
a 1 TB HDD, I can spare a 32 GiB (approximately 34 GB) for swapping.


If you can spare the space, then I don't see why not. If you plan to go 
to ACPI state S4 (suspend to disk, hibernate) this certainly is useful. 
In my experience only a handful of people actually use S4 though.


> For increased swapping performance, the swapping space on a rotational

drive should be contiguous and located at the start of the drive, right?


I used to think so myself. And out of habit I still choose to do it like 
that myself. But I haven't noticed any significant performance gains 
during some extensive testing in practice (>100 disks over a period of 3 
years in a server room of a university).


Apart from performance, it is said that it would mean less movement of 
the heads and thus less wear [1], but again, in practice I haven't ever 
seen a case where this would have made a significant difference in a 
normal user setting. It would be different in a large-scale commercial 
setting though.


There is something else to consider: why not create a swap file, instead 
of a swap partition? That way you are free to play around and test what 
fits your needs best, without having to chance the partitions.


[1] This will depend on many, many parameters. You would expect a 
location somewhere in the middle of the disk to be the sweet spot when 
it comes to minimising movement in a fairly filled up disk. But then 
again, if you have lots of static files you do not regularly access in a 
large partition at the end of the disk, then you will have an uneven 
geometry which will make the optimum shift.


Grx HdV



Re: How to secure access to SD cards a la USBGuard?

2022-01-11 Thread hdv@gmail

On 2022-01-11 12:41, Andrei POPESCU wrote:

On Du, 02 ian 22, 20:52:25, David Wright wrote:

On Fri 10 Dec 2021 at 17:20:52 (+0100), Andrei POPESCU wrote:

On Lu, 06 dec 21, 10:18:49, David Wright wrote:

On Sun 05 Dec 2021 at 13:33:41 (+0100), Andrei POPESCU wrote:

On Vi, 12 nov 21, 12:27:59, Stefan Monnier wrote:


As mentioned, the way to control it will depend on the specific tool
used to mount.  E.g. if it's mounted by hand via a rule in /etc/fstab,
then you can rules that specify the device via /etc/disk/by-uuid.

Do note that partition UUIDs are not designed to be reliable w.r.t
malicious uses (it's easy to create a partition with the same UUID as
some other).


/dev/disk/by-id/ should be device specific.


It certainly is, but specific to the card reader reading it,
not the card. And that's whether the card is plugged into a
slot on the computer, or into a discrete SD/USB adapter.


At least with the built-in reader on an Acer Chromebook R13 the ID
changes with every card I tested, but you are indeed right about USB
adapters (at least for the two I could test).


I did some comparisons between machines, and it would appear that
when the link starts with /dev/disk/by-id/mmc- then the ID is
that of the card, whereas when it starts with /dev/disk/by-id/usb-
then the ID is that of the card reader. Note that I did all the
comparisons using fullsize SD cards pushed into slots in the PCs,
so there were no separate adapters involved, neither SD→USB, nor µSD→SD.


My guess is micro-SD to SD adapters are passive only (i.e. just
connecting pin-to-pin as needed), so it shouldn't matter.

For the OP's issue, it seems a possible solution would be to disallow
any USB-to-SD adapters, and for the (hopefully few) users that really
need to use SD cards to use MMC-style slots only.


I am afraid that I won't be able to exclude SD cards from use. They are 
in use right now and changing that policy would create too much negative 
sentiment among the users of these systems/laptops. We have a hard 
enough time to get them to comply as it is. Plus, I try to accommodate 
our users where I can, so that they know I am doing my best to not get 
in their way unless it can't be done in another way. This has paid many 
dividends in the past, where others were not able to get our users to 
cooperate and they would when I asked them. Just because they trust I am 
doing my best to think of them. I am very careful not to waste that 
goodwill.



A less secure option would be to allow USB adapters only for a few
select *trusted* users, with the understanding that they use "safe" SD
cards only.


The problem is that a significant number of those users is not very much 
security aware. In the past I have been able to demonstrate many many 
social engineering and technical attacks to them, and still they fall 
for it. It is not that they are unwilling or dumb. They just don't get 
how computers (or indeed they themselves) can be manipulated so easily. 
They expect us admins to make that impossible, but they also don't want 
to be bothered by any measures we take...


I am still trying to find a manageable and dependable way to limit the 
mounting of storage devices to devices (not filesystems) that have been 
vetted up front.


Thanks for taking the time to help me with this!

Grx HdV



Re: OT: Recommendation for a new Debian laptop

2022-01-15 Thread hdv@gmail

On 2022-01-15 17:13, Andrei POPESCU wrote:

On Mi, 12 ian 22, 08:54:50, john doe wrote:

Debians,

i've been using a laptop for a fiew years now and before this laptop
dies on me I would like to buy a new laptop.

I'm thinking about two options:
- Buying something of the shelph and installing Debian on it
- Buying a pine64 or alike
- Any other alternative?

The only requirement is to have virtualisation available.

Basically, I'm looking for some feedback to have a laptop with Debian on it.

Any suggestion is appreciated.


Since you didn't mention any kind of budget constraints, you might want
to consider Thinkpads (previously IBM, now Lenovo).

The build quality is generally high (especially for the more expensive
series, like T) and you get detailed manuals on how to take it apart for
upgrades or repairs.

Compatibility with Linux is also generally very good and there are even
some models that come with Linux pre-installed.

Many Linux developers like them as well (not least because of the very
good keyboards) which only helps with compatibility.

If price is a concern, even second-hand / refurbished Thinkpads usually
provide good value for the money.


Hope this helps,
Andrei


Just be aware that current Thinkpad compatibility isn't what it was in 
the past. I am a long-time Thinkpad user (I *think* I started with the 
T40, not sure anymore) and with the latest models I have had some issues 
(mostly with external displays). Some were solvable with effort, some not.


I do not include the well-known problems with fingerprint readers in 
this. Those I knew about up front, so that was my own choice.


Grx HdV



Re: vim not seeing many Unicode chars

2021-05-18 Thread hdv@gmail

On 2021-05-18 18:37, IL Ka wrote:


Thanks all. I looked at my config files (which go back at least 15
years) and found lots of explicitly setting both LC_ALL=C and LC_LANG=C.

Should I remove all, or just remove the LC_ALL?


 > Using LC_ALL is strongly discouraged as it overrides everything. 
Please use it only when testing and never set it in a startup file.

https://wiki.debian.org/Locale 

It is better to set everything explicitly in "/etc/default/locale"

Even better: use
$ sudo dpkg-reconfigure locales
it will generate all locales you need AND set the default one in this file.

There is NO reason to use anything except UTF-8 in 2021


Please, be aware that not all Desktop Environments (like KDE's Plasma) 
honour this setting. Often, they have their own mechanisms for setting 
the locale within the DE itself.


Grx HdV



Re: Screen goes blank for 1-2 seconds

2022-01-27 Thread hdv@gmail

On 2022-01-27 05:35, Pankaj Jangid wrote:

Since I have setup a new hardware - x570 chipset, rx570 GPU - I am
facing a very strange problem. The monitor goes blank for a brief time,
like 1-2s and then comes back. It is connected with the GPU using HDMI
cable.

During that 1-2s, the machine response is fine. Whatever I type during
that time goes there as input, and visible when the monitor comes back.

I don’t want to file any bug report till I have some concrete data. So
my question is - how do I diagnose such an issue and produce some data
for debugging. So that I can hand it over to maintainers.

Regards
Pankaj


You are not the only one. I see the exact same here. The system this 
happens on has an RX560 graphics card. I have been seeing these 
blackouts from the start on this configuration (more than 2 years now).


I can confirm it is not a mechanical issue (not of cable's connections, 
cable defects, or of the seating of the card in the motherboard). It is 
not the display either (I have tried multiple displays). I am almost 
sure it is a software issue.


I can also confirm the system does not hang. I've tested this with a 
software timer and a request/response loop querying a daemon both 
locally and over a wired network.


Grx HdV



Re: Screen goes blank for 1-2 seconds

2022-01-27 Thread hdv@gmail

On 2022-01-27 10:40, Bijan Soleymani wrote:


On 2022-01-27 4:23 a.m., Bijan Soleymani wrote:
Are you also connected via HDMI? I think I am using DVI to mini 
display port.


I will have to check when I return home from this assignment in 2 weeks 
time, but I am almost certain I am using DP. I seem to remember I didn't 
have the appropriate HDMI cable at hand for the resolution I am using 
(3840x2160@60Hz).



Seems the issues happens on windows and on HDMI but not DP:
https://www.reddit.com/r/AMDHelp/comments/ez2c4i/rx_570_screen_randomly_goes_black_during/ 


I will check if my wet memory is corrupt as soon as I can. Who knows? 
Maybe I am using HDMI after all.



Two other cases:
https://www.reddit.com/r/AMDHelp/comments/o1r0y9/screen_goes_to_black_randomly_while_gaming_rx_570/ 



That one says upgrading the power supply fixed it.

https://forums.tomshardware.com/threads/screen-goes-black-for-3-5-seconds-then-goes-back.3397019/ 



This one said they had the card replaced.

Anyways I will test with HDMI tomorrow.

Let me know how often it happens, or if there is anything that can be 
done to trigger it.


My guess is about once every week. The display is on for roughly 16 
hours each day. There seems to be no discernable relation to "load". At 
least not that I could confirm. I haven't found a link to a specific 
application either. This system is a general purpose workstation and it 
is exposed to most common types of use. I design and create courseware, 
which involves running virtual machines with libvirt, coding in several 
languages, video editing, graphics editing, sound editing, editing all 
kinds of documents, and the standard internet stuff. I haven't seen this 
happening more often with any of these uses.


Grx HdV



Re: Screen goes blank for 1-2 seconds

2022-01-27 Thread hdv@gmail

On 2022-01-27 11:16, Bijan Soleymani wrote:

On 2022-01-27 5:00 a.m., hdv@gmail wrote:
My guess is about once every week. The display is on for roughly 16 
hours each day. There seems to be no discernable relation to "load". 
At least not that I could confirm. I haven't found a link to a 
specific application either. This system is a general purpose 
workstation and it is exposed to most common types of use. I design 
and create courseware, which involves running virtual machines with 
libvirt, coding in several languages, video editing, graphics editing, 
sound editing, editing all kinds of documents, and the standard 
internet stuff. I haven't seen this happening more often with any of 
these uses.


Thanks for the reply!

This blog post seems to indicate it might be due to the fan not turning 
on enough at moderate load by default (it pulses off and on which is not 
enough):

https://zarino.co.uk/post/amp-gpu-fan-curve-pop-os-ubuntu/

cat /sys/class/drm/card0/device/hwmon/hwmon0/temp1_input

Should give temperature:
Mine right now is:
29000

which apparently is 29C.

/sys/class/drm/card0/device/hwmon/hwmon0/pwm1

is the power management.

I'll play around tomorrow.

Bijan


Sadly I do not have access to this machine remotely. I do have my own 
VPN server, but that does not help when the machine in question is 
turned off.  ;-)


I'll check the temperature when I am back, and when it happens again.

Grx HdV




Re: Screen goes blank for 1-2 seconds

2022-01-28 Thread hdv@gmail

On 2022-01-28 14:12, Pankaj Jangid wrote:

Pankaj Jangid  writes:


UPDATE:

I have changed the HDMI cable and since last 6hrs I have not faced that
event again. Will update in the thread if it re-appears.

Another thing happened when I was replacing the cable. I heard the
sparking noise in the power socket of monitor. So I tightened it up a
bit. So the loose power socket could also be the culprit in my case.

I am just waiting for another day and then I’ll try the earlier HDMI
cable again.


Nope. The problem still exists. I’ll change the power-chord now.



Like I wrote before: I exchanged all non-fixed components (mainly cable, 
ports, display, and slot on the mobo). Where that was not possible I 
made double-sure there was no mechanical source to the problems (bad 
cables, bad seating, corrosion, etc.). The only thing I did not change 
was the combination of the mobo and the graphics card. Maybe/probably I 
did not exclude the power component as a source. I can't remember 
whether I did or not.


I am reasonably sure the problem lies in some form or combination of 
software. Sadly, my expertise in that area is insufficient to find out 
what it is exactly.


On the other hand: what goes in my case is not necessarily valid in yours.

Grx HdV



Re: Screen goes blank for 1-2 seconds

2022-01-28 Thread hdv@gmail

On 2022-01-28 15:31, Bijan Soleymani wrote:

On 2022-01-28 08:40, hdv@gmail wrote:
I am reasonably sure the problem lies in some form or combination of 
software. Sadly, my expertise in that area is insufficient to find out 
what it is exactly.


What kernel/OS/driver are you using if it is software I can try to 
reproduce since I have a pretty similar card.


On the other hand: what goes in my case is not necessarily valid in 
yours.


In case it is is due to overheating this script will log temperature, 
power management and fan settings.


#!/bin/bash
cd /sys/class/drm/card0/device/hwmon/hwmon0
while `true`;
     do date;
     for x in fan1_enable fan1_input fan1_target pwm1 pwm1_enable 
temp1_input;

     do echo -n "$x: "; cat $x;
     done;
     echo; sleep 1;
done

Output will be the following about once a second:

Fri 28 Jan 2022 09:28:12 AM EST
fan1_enable: 0
fan1_input: 1714
fan1_target: 1714
pwm1: 0
pwm1_enable: 2
temp1_input: 36000

Also you can max out the fan to see if that helps:

echo 0 > /sys/class/drm/card0/device/hwmon/hwmon0/pwm1_enable

(If you can pwm1_enable after it will show 1 and not 0, but if you look 
at pwm1 it will be at max of 255).


Bijan



I am (currently) on

5.15.0-2-amd64 #1 SMP Debian 5.15.5-2 (2021-12-18) x86_64 GNU/Linux

and

xserver-xorg-video-amdgpu

if I am not mistaken. Sorry, I can't check it from here.

About the fan: I seem to remember I had to install amdgpu-fan (needed to 
look that up, forgot the name) when I got this setup. Not sure if it 
still is needed or that the driver can control the fan reliably 
nowadays. I need to check that out too when I get home.


Grx HdV



Re: Screen goes blank for 1-2 seconds

2022-01-28 Thread hdv@gmail

On 2022-01-28 16:48, Bijan Soleymani wrote:

On 2022-01-28 10:16, hdv@gmail wrote:
About the fan: I seem to remember I had to install amdgpu-fan (needed 
to look that up, forgot the name) when I got this setup. Not sure if 
it still is needed or that the driver can control the fan reliably 
nowadays. I need to check that out too when I get home. 


I've had my card since January 2020 and have not needed amdgpu-fan or 
similar software, and it has just worked with default settings from 
kernel drivers.


I would check amdgpu-fan settings to adjust more aggressively or maybe 
uninstall and try settings fan to max and see if that solves the issue.


I'll keep that in mind. Thanks!

P.S. Apologies for the PM. I accidentally used the wrong shortcut.

Grx HdV



Re: Screen goes blank for 1-2 seconds

2022-01-28 Thread hdv@gmail

On 2022-01-28 16:53, Andrew M.A. Cater wrote:


Wherever possible, it's easier if you are using Debian stable: more people
will hae experience / be running that at any one time.

All the very best, as ever,

Andy Cater


I know. But testing is more convenient for me. I need to test current 
software for the courseware I write. Stable is perfectly fine, but not 
if you want to trail the leading edge a bit more closely. Sid is to 
close to the edge for me though.


I've been running testing for close to 25 years now. In the early days 
breakage was a recurring thing, but nowadays that is quite rare. Up to 
now I've always been able to solve any trouble. My time as a sysadmin 
still proves to be useful when I need to do that.  ;-)


Grx HdV



Re: Screen goes blank for 1-2 seconds

2022-02-09 Thread hdv@gmail

cat /sys/class/drm/card0/device/hwmon/hwmon0/temp1_input

Should give temperature:
Mine right now is:
29000

which apparently is 29C.

/sys/class/drm/card0/device/hwmon/hwmon0/pwm1

is the power management.


I returned home yesterday.

It seems the temperature here isn't out of the ordinary:

$ cat /sys/class/drm/card0/device/hwmon/hwmon1/temp1_input
37000

(The machine has been on for 4 hours now.)

I read Pankaj's problem disappeared after upgrading his kernel to 5.10. 
I don't think that would help here as I have been on the 5.15 series for 
quite some time now.


I still think it is a firmware problem as I am reasonably sure I've 
eliminated all hardware factors from the equation.


Ah well. It isn't a serious issue. I can live with it. Maybe sometime in 
the future it will be solved.


Grx HdV



Re: Under each of these scenarios, what is the neatest and simplest way to manipulate the /etc/network/interfaces file?

2022-03-19 Thread hdv@gmail

On 2022-03-19 13:19, Eduardo M KALINOWSKI wrote:

On 19/03/2022 09:06, Stella Ashburne wrote:
No thank you. I won't touch NetworkManager or its variants with a ten 
foot pole. Why?


Reason #1

[quote] I am sorry but we do not support NetworkManager.

I would go so far as to say do not use it at all .. but Linux distros 
think it is some sort of magic ..[end quote]


Reply by TinCanTech, Forum Team, to the original post "Can connect via 
terminal, but not with NetworkManager" (URL: 
https://forums.openvpn.net/viewtopic.php?t=26802)


Reason #2

[quote] Due to multiple, critical  problems in network-manager-openvpn 
which after years have not been solved we recommend to NOT use it. 
Please understand that we will not provide support to 
network-manager-openvpn. In GNU/Linux we recommend that you run our 
free and open source software "Eddie", or our free and open source 
software "Hummingbird", or OpenVPN directly [end quote]


A notice posted by the staff of AirVPN under the title "Using AirVPN 
with Debian Network Manager (NOT RECOMMENDED)" (URL: 
https://airvpn.org/forums/topic/11416-using-airvpn-with-debian-network-manager-not-recommended/ 


)

Eduardo, I do use VPNs frequently in my line of work and always use 
the community edition of OpenVPN to connect to VPN servers directly.


Unfortunately I cannot say whether your use case will work with NM. I 
occasionally use a wireguard firewall, but I don't think I've used 
OpenVPN with NM.


However, note that the posts are from 2014 and 2018. A lot might have 
changed since then.


I think the chances of that are quite good. If only because I've been 
using the combination of NM and OpenVPN for about 5 years now and it's 
been ages ago I've had trouble with it.


Grx HdV



Re: Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread hdv@gmail

On 2022-08-17 12:53, Tom Browder wrote:
Unfortunately, I have to have a Windows host. I have given up dual 
hosting because of the pain, so I am using a dedicated Win 10 box and a 
Deb laptop.


I would love to run Windows on a VM on Debian iff I can have it be 
reliable enough to use with reasonable response (no games, just Office 
360, IO Drive, H&R Block, and such). I haven't kept up with the VM world 
but a quick search shows VMware might be a good choice.


Anyone using such a rig for the real world (i.e., not testing or as a 
hobby)? If it is reliable, I plan to get a hefty SilentPC to run my 
primary digital duopoly.


Thanks.

-Tom


I used to run Windows in a commercially licensed VMWare environment for 
my business. I also have used VirtualBox for years for the same purpose. 
However, a couple of years back I switched to libvirt and never had any 
problems with it (that weren't of my own doing).


It *does* take a bit more time to really understand all the features, 
but it is worth your time. There is good documentation available, but I 
had to read some of it multiple times to get my head around it. Not 
because the docs were bad, but it is complex and written for people that 
already do have some experience in that area (I feel). There is a 
separate GUI, if you think that suits your needs (with the imaginative 
name Virtual Machine Manager).


I run a fully patched Windows 10 Pro in libvirt at the moment on a 
machine with 32 cores and 64 GB of RAM and it is speedy and stable 
enough for my needs (hosting a learning environment for my students).


I'd say: give it a go!

Grx HdV



Re: Windows on VMware on Deb 11: safely usable?

2022-08-17 Thread hdv@gmail

On 2022-08-17 12:53, Tom Browder wrote:
Unfortunately, I have to have a Windows host. I have given up dual 
hosting because of the pain, so I am using a dedicated Win 10 box and a 
Deb laptop.


I would love to run Windows on a VM on Debian iff I can have it be 
reliable enough to use with reasonable response (no games, just Office 
360, IO Drive, H&R Block, and such). I haven't kept up with the VM world 
but a quick search shows VMware might be a good choice.


Anyone using such a rig for the real world (i.e., not testing or as a 
hobby)? If it is reliable, I plan to get a hefty SilentPC to run my 
primary digital duopoly.


Thanks.

-Tom


Please note that VirtualBox isn't in the official repository. There is a 
reason for that: Oracle won't/can't cooperate with the Debian Security Team.


As for VMWare: when I still used it, a major disadvantage was that you 
had to fuss around with the kernel every time there was an update. That 
really was a major PITA. I don't know if that still is the case with 
VMWare, but I do know I have no such trouble with libvirt. At all.


Grx HdV




Re: swamp rat bots Q

2020-12-04 Thread hdv@gmail

On 2020-12-03 13:35, Gene Heskett wrote:

I've had it with a certain bot that that ignore my robots.txt and
proceeds to mirror my site, several times a day, burning up my upload
bandwidth. They've moved it to 5 different addresses since midnight.

I want to nail the door shut on the first attempted access by these AH's.

Does anyone have a ready made script that can watch my httpd "other" log,
and if a certain name is at the end of the line, grabs the ipv4 src
address as arg3 of the line, and applies it to iptables DROP rules?

Or do I have to invent a new wheel for this?

Basic rules that simplify it somewhat.

1. this is ipv4 only country and not likely to change in the future
decade.

2. the list of offending bot names will probably never go beyond 50, if
that many. 5 would be realistic.

3. the src address in the log is at a fixed offset, obtainable with the
bash MID$ but the dns return will need some acrobatics involving the
bash RIGHT$ function.

4. it should track the number of hits, and after so many in a /24 block,
autoswitch to a /16 block in order to keep the rules file from
exploding.

Any help will be much appreciated. PM's in this case welcome as I can't
see broadcasting our armament against these MF'ers being broadcast on a
public list.

Thanks all.

Cheers, Gene Heskett


Let me offer you an alternative option. (Most) bots work by analysing 
the referrals on each page in your website. Right? So, why not add a 
link to a page that normal users will never visit (e.g. because they do 
not see the link and thus will never click on it), but will show up in a 
bot's analysis? That way you can monitor your logs for entries 
containing that page. Every entity requesting that specific URL is blocked.


HTH

HdV



Re: setting the date for testing

2020-12-06 Thread hdv@gmail

On 2020-12-06 21:43, Michael Grant wrote:
I need to set the date to several years in the future in order to test 
something.  When I do this via the date command, the date returns back 
almost instantly (or within a few seconds).


# timedatectl set-time 2025-12-06 20:41:41

# date

Sat  6 Dec 20:41:43 GMT 2025

# date

Sat  6 Dec 20:41:44 GMT 2025

# date

Sun  6 Dec 20:41:48 GMT 2020

I’m not using ntp (that I know of).

# timedatectl timesync-status

Failed to query server: The name org.freedesktop.timesync1 was not 
provided by any .service files


# timedatectl show

Timezone=Europe/London

LocalRTC=no

CanNTP=no

NTP=no

NTPSynchronized=no

TimeUSec=Sun 2020-12-06 20:37:19 GMT

RTCTimeUSec=Sun 2020-12-06 18:51:22 GMT

How can I stop (temporarily) the system from automatically setting the 
date so that I can set it forward?


I encountered this type of thing myself a while ago as well. And, just 
like you, I thought there was no NTP running, but systemd had some 
tricks upon its sleeve.


Try this to see if it solves your troubles:

# timedatectl set-ntp true

Changes to the status of this service will not be immediately noticed by 
timedatectl. Thus, you'll have to enter the following command too:


# systemctl restart systemd-timedated.service

HTH

Grx HdV



Re: setting the date for testing

2020-12-06 Thread hdv@gmail

On 2020-12-06 21:56, hdv@gmail wrote:

> # timedatectl set-ntp true

I am sorry for the typo. This should of course have been "false"!

Grx HdV



Re: setting the date for testing

2020-12-13 Thread hdv@gmail

On 2020-12-13 14:36, Michael Grant wrote:

This did not work:

# timedatectl set-ntp true

Failed to set ntp: NTP not supported

# timedatectl set-ntp false

Failed to set ntp: NTP not supported

Other ideas?

I am trying to set the date manually so that I can test the system set 
at future dates.  Setting the system using the date command, it just 
resets itself back to the current date/time after a few seconds.  How 
can I stop this?


Thanks!

Michael Grant

*From: *hdv@gmail <mailto:hdv.ja...@gmail.com>
*Sent: *07 December 2020 07:53
*To: *debian-user@lists.debian.org <mailto:debian-user@lists.debian.org>
*Subject: *Re: setting the date for testing

On 2020-12-06 21:56, hdv@gmail wrote:

 > # timedatectl set-ntp true

I am sorry for the typo. This should of course have been "false"!

Grx HdV



Could it be that you have systemd-timesyncd running?

BTW, this is what I do to manually/explicitly set the system time (taken 
verbatim from my vimwiki, so don't mind the wording):


Changing the Current Date:

# timedatectl set-time 

Or both at once:

# timedatectl set-time  

This commands will fail if an NTP service is enabled. The NTP service 
can be enabled and disabled using a command as follows:


# timedatectl set-ntp 

Changes to the status of chrony or ntpd will not be immediately noticed 
by timedatectl. If changes to the configuration or status of these tools 
are made, enter the following command:


# systemctl restart systemd-timedated.service

By default, the system is configured to use UTC. To configure your 
system to maintain the clock in the local time, run the timedatectl 
command with the set-local-rtc option as root:


# timedatectl set-local-rtc 

HTH

Grx HdV



Re: setting the date for testing

2020-12-13 Thread hdv@gmail

On 2020-12-13 16:34, Michael Grant wrote:


and now it appears to stick.  So I'm good.  Thanks for your help though!

Michael Grant


Glad to read you have solved it.

Grx HdV



Re: Monitor Problem???

2021-01-03 Thread hdv@gmail

On 2021-01-03 12:58, Stephen P. Molnar wrote:
My main computer runs  Debian Buster and is displaying some unusual 
behavior.


The monitor is blanking, without warning, at random times, and restoring 
the screen  while I working. There is no warning, nor does the computer 
seem to be overheating (I continuously monitor the temperature).


I rather suspect that it may be a hardware problem. I keep the software 
up to date.


I am querying this group because I can't think of a more knowledgeable 
source. Any thoughts and suggestions of things that I might be able to 
test will be very welcome.


I suspect it is a software problem, not a hardware problem. The reason 
is I have been seeing the same for almost a year now with my display. I 
can't find anything that indicates a hardware problem and after all this 
time the display/monitor is still trucking on without the problem 
getting any worse.


I am not 100% sure, but it seems like sometimes the display is put into 
sleep mode and can't be woken up. Restarting X or doing a modprobe from 
a remote machine over ssh doesn't help. Nor does anything else. The only 
way to get the monitor to activate again is to reboot. After some 
digging I gave up on finding the root cause and accepted that I'd have 
to reboot once in a while. There is nothing in the logs to give any 
indication of a possible cause. Maybe I should have tried harder, but I 
just don't have the time for that at the moment.


FYI, this is the relevant hardware in my system:

MoBo = ASUS PRO WS X570-ACE
CPU = AMD Ryzen 9 3950X
Graphics = ASUS AREZ-RX560-4G-EVO

Debian version is Bullseye following testing very closely.

Sorry I can't help you with this.

Grx HdV



Re: Looking for help with locale configuration

2021-01-14 Thread hdv@gmail

On 2021-01-14 20:06, Rasmus MK wrote:

Hi list,

I'm looking for help in understanding how locales work and how to configure my
system running Debian Testing.

During the Debian installation (graphical) I configured my locale to be
"en_SE.UTF-8".
Recently a python script crashed with the error message "unsupported locale
setting" after trying to set LC_ALL to an empty string and I cannot get it to
work with the en_SE.UTF-8 locale.

I use KDE. If I look in Settings -> Regional Settings -> Format it says
en_SE.UTF-8 (no adjustments).


Please, be aware that KDE uses Qt for its locale settings. This does 
*not* correspond with the "plain" locale setting of your system outside 
of KDE, hence the differences.


Grx HdV



Re: About mouse settings

2021-01-30 Thread hdv@gmail

On 2021-01-30 19:49, reader wrote:

Are there any tools that can set what each button or scrollwhere does?

I have a mouse that when pressing scrollwheel will not paste.  I can
think of no other mouse I've had that does not paste (in linux) when
the scroll where is pressed (assuming something has been mouse scraped
or copied in other ways)

It's an oldish `Razor death adder 2013' I've had a good while but for
one reason or another was put aside, probably a few years ago, and just
in last few days pressed back into use when I happened on it a box of
other computer junk.

the failure to supply a paste function is quite annoying.


I use xinput and xbindkeys to solve issues with mice and keyboards. Had 
to to get my Logitech MX Ergo Trackball and MX Keys to do what I wanted 
them to do. Works remarkably well, ... if the mouse and keyboard events 
are recognized that is.


Grx HdV



Re: About mouse settings

2021-01-31 Thread hdv@gmail

On 2021-01-31 00:16, Vincent Lefevre wrote:

On 2021-01-30 19:58:13 +0100, hdv@gmail wrote:

I use xinput and xbindkeys to solve issues with mice and keyboards. Had to
to get my Logitech MX Ergo Trackball and MX Keys to do what I wanted them to
do. Works remarkably well, ... if the mouse and keyboard events are
recognized that is.


At a lower level (I think), you have evtest and input-events.


The problem is that inputs like the DPI button are pure hardware 
triggers and therefore are not detected at all. Some keys on the 
keyboard are like that too. Too bad, but I can live with that.


Grx HdV



Re: lots of issues with KDE after update

2018-08-27 Thread hdv@gmail
On 2018-08-27 10:56, Hans wrote:
> Hi folks,
> 
> after lates upgrade of KDE in debian/testing, I found several issues.
> 
> 1. Missing of all applications (icons) inm the taskbar
> 
> 2. Missing of all status icons in the taskbar
> 
> 3. Right mouse click in for desktop settimngs in desktop nbo more working (so 
> I can not add any widgests or change desktop settings). Even unlocking the 
> desktop is thus no more possible.
> 
> 4. The weather plasmoid (widget) disappeared.
> 
> I would have filed a bugreport, but I still copuld not discover, which 
> particular package or libnrary is responsible for this behaviour.
> If someone knows more, I would be happy, if he could give me some clue.
> 
> The system here is runnning debian/testing 32-bit, if this issue appears on a 
> 64-bit system is unknown, as I do not own a 64-bit debian system at the 
> moment.
> 
> It would also help, if these isssue can be confirmeds as known. I googled, 
> but 
> found only issues with Ubuntu, not debian.
> 
> Thanks for any hints.

Hai Hans,

It is not just you. I am having the same issues.

Maybe it is coincidence, but after exactly the same apt-get upgrade with a lot
of plasma updates pan started acting up as well. However pan is GTK, not Qt, so
I don't know for sure those problems are related to the same issues as plasma is
having at the moment.

P.S. This is on testing with apt-get udate/apt-get upgrade/apt-get dist-upgrade
being run once every few (about 3) days, so no significant backlog in updates.
Therefore I presume the problems must originate in a library that was updated
last Thursday of Friday.

Grx HdV



Re: [Buster]: KDE wierdness: missing window titlebars + more

2018-08-28 Thread hdv@gmail
On 2018-08-28 07:24, local10 wrote:
> Aug 27, 2018, 6:00 PM by cyaiple...@sitesplace.net:
> 
>> I had that happen not too long ago in Stretch. I just rebooted and it was OK.
>>
> A reboot didn't do it for me, the issue still persist.
> 
> 
>> You may want to also check your settings in Display - Compositor. You may 
>> have to change to a different rendering backend. Also you might want to 
>> uncheck any experimental options if you have them checked.
>>
> What's even stranger I can't find the KDE System Preferences app (what 
> package is it in, by the way?), so I can't even find a way to change  
> display/keyboard/mouse/etc KDE settings. I installed buster fresh, that is, 
> there were no left over libs/config files/etc that would affect the new KDE 
> installation yet something is very screwed up with either KDE on my PC or 
> with KDE packages in testing.
> 
> Anyone using KDE in buster? If so, are you experiencing any issues with KDE 
> like missing window titlebars, missing apps, etc.?
> 
> Thanks
> 

See the tread with the title "lots of issues with KDE after update" starting at
the 27th. Hans Ulrich and I are experiencing the same type of trouble in testing
at the moment.

Grx HdV



Re: Buster: KDE still broken in testing?

2018-09-05 Thread hdv@gmail
On 2018-09-05 11:22, local10 wrote:
> Hi,
> 
> KDE still broken in tesing or is it just me? Anyone have any ideas when it'll 
> be fixed?
> 
> Thanks

I did an upgrade yesterday and noticed the panel containing my application
launchers, task manager and system tray is fully functional again. However, the
desktop is not. It will not act on mouse clicks at all. Still, it is workable
again (at least for me). I haven't noticed any other problems (apart from pan,
but I suspect that problem is not related and just coincidentally appeared at
the same time).

Grx HdV




Re: Distinguish instances of GUI file manager by color

2018-09-26 Thread hdv@gmail
On 2018-09-26 11:52, Richard Owlett wrote:
> I'm setting up a new machine and copying files from the old machine's home
> directory. At the same time I'm creating a new directory structure to better
> match how I work.
> 
> I found it expedient to have at least three instances of the file manager 
> open -
> [one for source directory and at least two for destination (sub)directories].
> 
> Suggestions?
> Is it even possible?
> 
> Brief web search was not encouraging. But my search terms may have been the
> problem. Suggested search terms?

I use Krusader for similar purposes. It is like a GUI version of Midnight
Commander (mc). If needed just open multiple instances. When performing actions
within one instance you can do almost everything purely by keyboard, which is
great (to me) and speeds up things as well. No need to grab the mouse all the 
time.

HTH

Grx HdV



Re: librecad

2018-12-06 Thread hdv@gmail
On 12/6/18 11:31 PM, Gene Heskett wrote:
> Greetings all;
> 
> The librecad in the debian repos for wheezy is nearly a decade old, 
> v-1.02. There are V2-* stuff that still runs on QT4 some of which is 
> already installed.
> 
> Is there a repo where I can source a newer version than 1.02 without 
> destroying my system?
> 
> 1.02 is so old the u-tube tuts are nearly worthless, yet it shows promise 
> of being able to lay out a boxes rear panel with 13 connections thru it. 
> which is what I am trying to do.
> 
> Or is there an even better 2d app for such?
> 
> Thanks everybody.

Hai Gene,

Some time ago I tried LibreCAD as well and soon had to conclude there were too
many issues with it to proceed. Meanwhile I've adopted QCAD (the Pro version)
and I am quite happy with it. I've been drawing some fairly complex stuff with
it (industrial machinery) and have been able to do almost everything I needed it
to do. Mind you it is 2D only, but as far as I can remember the same was true of
LibreCAD.

I think it might not satisfy the DFSG, as there are proprietary modules in it,
but most of the code is licensed under GPLv3.

Grx HdV



Re: librecad

2018-12-07 Thread hdv@gmail
On 12/7/18 1:46 AM, Gene Heskett wrote:
> On Thursday 06 December 2018 17:48:21 hdv@gmail wrote:
> 
>> On 12/6/18 11:31 PM, Gene Heskett wrote:
>>> Greetings all;
>>>
>>> The librecad in the debian repos for wheezy is nearly a decade old,
>>> v-1.02. There are V2-* stuff that still runs on QT4 some of which is
>>> already installed.
>>>
>>> Is there a repo where I can source a newer version than 1.02 without
>>> destroying my system?
>>>
>>> 1.02 is so old the u-tube tuts are nearly worthless, yet it shows
>>> promise of being able to lay out a boxes rear panel with 13
>>> connections thru it. which is what I am trying to do.
>>>
>>> Or is there an even better 2d app for such?
>>>
>>> Thanks everybody.
>>
>> Hai Gene,
>>
>> Some time ago I tried LibreCAD as well and soon had to conclude there
>> were too many issues with it to proceed. Meanwhile I've adopted QCAD
>> (the Pro version) 
> 
> And that I'd assume is not in the repo's for wheezy.  I have looked at 
> the earlier version that is in the repos and found it much more 
> confusing, to the point I'd be doomed from the gitgo. And I'd still have 
> to write the gcode to make it.
> 
> I have all the measurements written out, so if a decent libreCAD can't be 
> had, I'll just write it in gcode and feed it direct to LinuxCNC. With 
> measurements in hand I can probably have working code by the time I get 
> a good lens in front of the left eye. I've had cataract surgery in both 
> eyes now, and am basically waiting for a stable glaucoma pressure 
> reading so a script for a lens won't have to be done 2 or 3 times before 
> its long term usable.
> 
> Thanks for the observations about qcad.  Is the pro version offered 
> commercially?

It is. But the price is real good. If I remember correctly I paid €33 for it.
And it comes with a CAM module, so you can easily have your designs CNC'ed. I
only once needed support, but that time it was outstanding. Installation on my
system went without any hitch at all. Best of all, it is contained, so you don't
have to hunt for files all over your system if you decide it isn't the right
solution for you. There is a community edition that is free. So before spending
your money you can first test it to find out if you like it.

You can use command line instructions or just click on the associated buttons to
draw what you want. Whatever fits you drawing style best. I find myself using
both styles to be honest (I used to be a command line only type, but I got lazy
along the way, it seems  ;-) ).

I am not sure how familiar you are with the AutoCAD-type of interfaces, but if
you would need some "help", there is a book available. The application has
built-in help, but that is about the available commands and how to use them. The
book is more about how to draw in QCAD.

P.S. I am not in any way associated with them (except for being a customer).

Grx HdV



Re: librecad

2018-12-07 Thread hdv@gmail
On 12/7/18 10:50 AM, Joe wrote:
> On Thu, 6 Dec 2018 19:46:42 -0500
> Gene Heskett  wrote:
> 
>> On Thursday 06 December 2018 17:48:21 hdv@gmail wrote:
>>
> 
>>>
>>> Some time ago I tried LibreCAD as well and soon had to conclude
>>> there were too many issues with it to proceed. Meanwhile I've
>>> adopted QCAD (the Pro version)   
> 
> I've found a couple of things that aren't quite right in LibreCAD, but
> not serious ones. I used the free QCAD up to the point of the fork, and
> it was really quite buggy for a long time. The zoom went wild at some
> magnifications, among other things. I jumped to LibreCAD when it
> appeared and I'm reasonably happy with it. All the bad QCAD bugs were
> fixed long ago, and I would assume they are fixed in QCAD now, if only
> by porting from LibreCAD. I do only use it occasionally, maybe twelve
> hours a year, so it may be much more irritating to a heavy user.

I am happy that I managed to escape that.  ;-)

I've been using QCAD for almost 2 years now (started with 3.16). The fork was a
long time before that. Maybe that was time enough to resolve a lot of the
issues? My impression was/is that development on LibreCAD has somewhat stalled.
I might be mistaken on that. Anyway, when I tested it it had a fair share of
issues that made me look for an alternative.

QCAD has been improving steadily during the time I've used it. On the other
hand, I am no "power user", thus it might be that I just didn't encounter the
things you've had to deal with. In the end it could be a matter of tastes if you
prefer LibreCAD over QCAD or the other way around. Some people like the latter
more, and others the first. For example, I prefer the UI of QCAD over that of
LibreCAD (even if both of them are derived from the same AutoCAD-type of
interface). I don't think it matters a lot. The problems using LibreCAD and the
lack thereof when I tried QCAD made me switch, because that mattered to me. I
needed to crank out some drawings and didn't want to struggle to do it. I am
sure there will be people that had the exact opposite experience and choose
LibreCAD.

If I had to make an estimate I think I might have spent about 250 hours using it
to draw aerospace and industrial machinery parts. Lately I've started using it
more for myself (to draw plans for woodworking projects). There were some minor
quirks, but nothing major. Luckily. However, I haven't tried the CAM stuff yet.
So I can't vouch for that, as I simply don't know how good it is.

Grx HdV



Re: librecad

2018-12-07 Thread hdv@gmail
On 12/7/18 2:45 PM, Gene Heskett wrote:

> All very encouraging. But in about 4 hours, I've written and tested about 
> 90 LOC which is about 75% of what I need to have this do. :) So I think 
> I'll continue on this path. :)

There's always more than one way to scratch an itch...  ;-)

> Thank you.

You're welcome.

Grx HdV




How to ensure that old kernel does not get removed

2019-01-04 Thread hdv@gmail
Hi list,

After a recent upgrade I noticed that my system could not reboot into the new
4.19 kernel. So I rebooted into the kernel before that (4.18.0-3), which did not
work either. Booting into the version before that (4.18.-02) did work just fine.

It seems I hadn't rebooted after the previous upgrade, causing me to have 2
versions that do not work for my system without noticing. (I do not regularly
reboot.)

After rebooting the failing kernels show a lot of errors about not being able to
find processor IDs and after that they stop with the message that they can't
find the encrypted device containing / (actually everything apart from /boot).
Sorry, I haven't captured the exact error messages, so I can't show the full
text of them.

So how do I make sure that 4.18.0-2 does not get removed from the boot menu
after the next kernel upgrade? I'd like to keep it until I have verified that an
upgrade does work. However, as far as I can tell only the last 3 kernels are
kept. Thus now I run the risk of having the only working version removed before
I am sure that a new version will work.

A perusal of the Grub2 documentation did not give me a pointer on how to do
this. Nor did I find a setting for this in /etc/default/grub or /etc/grub.d/. As
a matter of fact I am not even sure grub is the proper place for this. Grub only
builds a boot menu, but it does not remove kernels (as far as I am aware).

Any pointers in the right direction will be appreciated!

Grx HdV



Re: How to ensure that old kernel does not get removed

2019-01-05 Thread hdv@gmail
On 05/01/2019 08.52, Reco wrote:
>   Hi.
> 
> On Sat, Jan 05, 2019 at 03:41:05AM +0100, hdv@gmail wrote:
>> So how do I make sure that 4.18.0-2 does not get removed from the boot menu
>> after the next kernel upgrade?
> 
> Do not uninstall this version of kernel, simple as that.
> Invoke this to be sure:
> 
> apt-mark hold linux-image-4.18.0-2-amd64

Aha, apt-mark. I didn't know about that one. I am gonna read up on it. Thanks
for helping!

I reccon that not removing this kernel will also make sure it stays in the boot
menu of grub?

Grx HdV



Re: How to ensure that old kernel does not get removed

2019-01-05 Thread hdv@gmail
On 05/01/2019 11.19, Reco wrote:
> On Sat, Jan 05, 2019 at 11:16:23AM +0100, hdv@gmail wrote:
>> On 05/01/2019 08.52, Reco wrote:
>>> Hi.
>>>
>>> On Sat, Jan 05, 2019 at 03:41:05AM +0100, hdv@gmail wrote:
>>>> So how do I make sure that 4.18.0-2 does not get removed from the boot menu
>>>> after the next kernel upgrade?
>>>
>>> Do not uninstall this version of kernel, simple as that.
>>> Invoke this to be sure:
>>>
>>> apt-mark hold linux-image-4.18.0-2-amd64
>>
>> Aha, apt-mark. I didn't know about that one. I am gonna read up on it. Thanks
>> for helping!
>>
>> I reccon that not removing this kernel will also make sure it stays in the 
>> boot
>> menu of grub?
> 
> /etc/grub.d/10_linux should process all kernels that are found in /boot.
> So yes, it should.

Hi Reco,

apt-mark was exactly what I needed. It seems I haven't kept my Debian fuu up to
date, as I had never seen and thus used apt-mark. Shame on me. I am gonna have
to read up on the apt family of commands to keep with the program!

Thanks again!

Grx HdV



Re: How to ensure that old kernel does not get removed

2019-01-05 Thread hdv@gmail
On 05/01/2019 14.45, songbird wrote:
> hdv@gmail wrote:
> ...
>> So how do I make sure that 4.18.0-2 does not get removed from the boot menu
>> after the next kernel upgrade? I'd like to keep it until I have verified 
>> that an
>> upgrade does work. However, as far as I can tell only the last 3 kernels are
>> kept. Thus now I run the risk of having the only working version removed 
>> before
>> I am sure that a new version will work.
> 
>   another way to do it for all kernels is to add the
> options to apt itself (in /etc/apt/apt.conf or ...)
> 
>   i set options to make sure apt doesn't get rid of
> my saved cache files without me explicitly requesting
> it and there is another option for setting which files
> are never marked for autoremoval.
> 
> 
> APT::Clean-Installed "false";
> APT::NeverAutoRemove  { "linux-image.*";  };  // packages that should never
> // considered for autoRemove
> 
>   i no longer see grub menus very often (using
> uefi boot menu and refind).

Thanks for this information! Very useful. I will add it to the list of things I
have to (re)educate myself in.

Grx HdV



Re: Looking for advise to replacy Pan newsreader

2019-02-17 Thread hdv@gmail
On 17/02/2019 05.05, Juan R. de Silva wrote:
> Pan newsreader,which I used happily for several years, lately get buggy 
> as hell and cannot be used any longer at all.
> 
> I tried Thunderbird from Debian repo and found that the pure thing is not 
> capable to keep a uniform font size through all posts. That is, the font 
> size changes as soon as I try to advance either to a next post or to another 
> group. 
> 
> Can your share with me what do you use for newsgroups reading. I do not care 
> about binaries. All I want to follow several Linux usenet newsgroups. Plain 
> text reading.

For text-only groups I use mutt.

Grx HdV



Re: Looking for advise to replacy Pan newsreader

2019-02-17 Thread hdv@gmail
On 17/02/2019 11.58, Erik Christiansen wrote:
> On 17.02.19 10:16, hdv@gmail wrote:
>> On 17/02/2019 05.05, Juan R. de Silva wrote:
>>> Can your share with me what do you use for newsgroups reading. I do not 
>>> care 
>>> about binaries. All I want to follow several Linux usenet newsgroups. Plain 
>>> text reading.
>>
>> For text-only groups I use mutt.
> 
> Which patchset do you use to enable that? (And is there any doco on the
> set-up?)

If my memory serves me well I always just used the version taken from the Debian
repository. Nowadays that would be neomutt.

Maybe you can use this page for the set up?

https://neomutt.org/feature/nntp

Grx HdV



Laptop still extremely slow after replacing msata ssd and putting old one back

2019-03-04 Thread hdv@gmail
Hi all,

The mSATA SSD in my Thinkpad W530 was getting full,. So I tried to replace it
with a new larger one (Samsung EVO 860).  I knew about the mSATA II vs III issue
and the BIOS AHCI setting. What I didn't expect was the laptop to slow down to a
crawl. To illustrate: even opening de start menu is so slow that you have to
wait for the panel to show for about 10 seconds. Like this the machine is
completely unusable. I expected not to be able to run the new SSD at full speed
(max 3 GB/s on the port in this machine), but this is crazy.

It gets even crazier. Placing the old SSD back in the slot resulted in the same
slow speeds as with the new SSD in. Not the old speeds. Before this experiment
the laptop was just fine. It was quick enough, the storage was just getting
filled up.

Can anyone give me some pointers on how to diagnose or maybe even fix this?
Running hdparm doesn't make me any wiser (timed cache read value is about 1.1
GB/s). Google didn't point me to anything I could use either. I would be very
glad to just get the old speeds back, let alone to get the new disk running at
somewhat adequate speeds on a mSATA II port).

Thanks in advance.

Grx HdV



Re: Laptop still extremely slow after replacing msata ssd and putting old one back

2019-03-04 Thread hdv@gmail
On 04/03/2019 13.53, Hans wrote:
> Am Montag, 4. März 2019, 13:04:53 CET schrieb hdv@gmail:
> Hi,
> 
> try to start with a livefile system, then check the ssd speed. Thus you see, 
> if 
> the problem is by the operating system or by the hardware.
> 
> If it is same slow, then you know a hardware problem.
> 
> Check the BIOS configurations of the harddrive, mybe something has changed by 
> the ssd exchange.
> 
> If there is nothing obvious bad, try the ssd in another computer (with the 
> same livefile test) and see the results.
> 
> If this is better, you can also try to reflash the BIOS (in case, the BIOS 
> has 
> trouble itself). Sometimes a mainboard needs a newer BIOS for newer hardware. 
> This depends on the manufacturer. Check his sites.
> 
> Last but not least, exchange the cables, maybe one makes trouble.
> 
> Hope this helps
> 
> Best
> 
> Hans

Hi Hans (and others),

Thanks for taking the time.

Upon rereading my original mail I see I was not clear enough.

This is what I did:

0] Notice the SSD was getting full. Otherwise the machine was OK. No signs of
trouble. Adequate performance.

1] Check if all settings in the BIOS were OK for the new SSD. They were. Nothing
needed changing.

2] Turn off the machine and lift the keyboard.

2] Remove the old SSD from the mSATA slot. (SanDisk U100 16GB)

3] Place the new SSD in that same slot. (Samsung EVO 860 500GB)

4] Close up the machine.

5] Boot from a netinstall image on a USB-stick. The image was downloaded at that
same day, no old image was used.

6] Install current stable on the new SSD. Update to testing after install. (The
original SSD was running a very recently updated testing as well.)

7] Reboot laptop.

8] Get scared from how slow it is. Tried to find out what was causing this. No
obvious indications found with hparm, smart and other tools. Neither in the 
logs.

9] Shut down machine.

10] Place old SSD back in its old slot.

11] Start machine expecting everything would be as it was before beginning with
step 1. That turned out to be not the case: it still is as slow as found during
step 8.

To summarise: nothing was changed in the BIOS, nothing was changed on the
original SSD. Same boot sequence was used. As far as I can see the mSATA slot is
connected directly to the motherboard, no cables to see.

My first mail was about what could be causing the laptop to behave differently,
even though nothing was changed in the BIOS and the original SSD hadn't been
touched. I'd like to solve that mystery first, before trying to make the new SSD
work as it should. I need this machine for work, so my first priority is to
restore it to a workable state.

Grx HdV



Re: Laptop still extremely slow after replacing msata ssd and putting old one back

2019-03-04 Thread hdv@gmail
On 04/03/2019 15.36, Ric Moore wrote:
> On 3/4/19 9:19 AM, hdv@gmail wrote:
>> ame day, no old image was used.
> 
> Right, but if you didn't use a "clean install" more than likely an old
> configuration might be at fault. I don't have an SSD but during the install
> process, wouldn't that drive be re-formatted?? Trouble shooting with a 
> shotgun. Ric
> 

Maybe, but that would only account for the trouble with the new SSD. As I wrote,
the old SSD was never changed at all. Nor was the BIOS. The system ran fine
before I took that SSD out. You'd expect the system to run fine when putting it
back in.

Grx HdV



Re: Laptop still extremely slow after replacing msata ssd and putting old one back

2019-03-04 Thread hdv@gmail
On 04/03/2019 16.14, Alexander V. Makartsev wrote:
> On 04.03.2019 19:40, hdv@gmail wrote:
>> On 04/03/2019 15.36, Ric Moore wrote:
>>> On 3/4/19 9:19 AM, hdv@gmail wrote:
>>>> ame day, no old image was used.
>>> Right, but if you didn't use a "clean install" more than likely an old
>>> configuration might be at fault. I don't have an SSD but during the install
>>> process, wouldn't that drive be re-formatted?? Trouble shooting with a 
>>> shotgun. Ric
>>>
>> Maybe, but that would only account for the trouble with the new SSD. As I 
>> wrote,
>> the old SSD was never changed at all. Nor was the BIOS. The system ran fine
>> before I took that SSD out. You'd expect the system to run fine when putting 
>> it
>> back in.
>>
>> Grx HdV
>>
> Unless you didn't performed a reboot in a long time or\and used hibernation.

Could have been the case. But I have rebooted the laptop before replacing the
SSD to look at the BIOS settings. So in this case this was not so.

> I'm just throwing suggestions blindly, because things could go wrong in many
> ways if poking inside laptop case is involved.

Indeed.

> Do you have another drive installed in this laptop in tray caddy, perhaps, or 
> in
> second drive slot if it is available?

Nope.

> How much RAM your laptop have? Does it all detected by BIOS\OS?

There is 8GB of RAM and it is all detected. Both before and after this mess.

> It is possible you have damaged some passive parts around SATA connector 
> during
> drive swap procedures. Inspect that location with magnifying glass for 
> possible
> damage to small SMD elements and inspect SATA connector itself for possible
> cracks in solder joints.

I did think of hardware damage myself as well, but my inspection did not show
any visible damage. Not that that says all, but at least it is an indicator.

> If everything is ok, it wouldn't hurt to insert and remove drive into SATA
> connector multiple times just to ensure all contact pads in connector have a
> good contact.

Thanks for the suggestion. I tried this too. Alas, without any improvement. You
could say I am at a loss...

> Also show us SMART information for both SSD drives:
>     $ sudo smartctl --all /dev/sda

I'll try to run the the command again, but it might take an extremely long time
to finish. I did before (during diagnosis) but did not copy or type over the
results. I do remember that cached reads were about 1.1 GB/s for both the old
and the new SSD after the slowness started.

Thanks for trying to help!

Grx HdV




Re: Laptop still extremely slow after replacing msata ssd and putting old one back

2019-03-05 Thread hdv@gmail
On 05/03/2019 04.28, Paul Ezvan wrote:
> Le 04/03/2019 à 13:32, deloptes a écrit :
>> double check - I had similar observation when trying to setup USB stick boot
>> for a notebook - it's a company property, so not supposed to do that ;-)
>>
>> Well turned out that I had to modify few bios settings to see the usb
>> working at acceptable speed. First I was thinking the one stick was a
>> problem, but after observing the same with a second one I looked at the
>> bios and it did it.
>>
>> regards
> 
> What does "top" show when your menu takes a long time to load? What is the CPU
> temp? Maybe you accidentaly touched the cooling system while replacing the 
> SSD?

What I forgot to mention (sloppy, sorry for that) is that the slowness already
happens at "grub" time. I presume that rules out trouble with my DE (KDE/Plasma)
or systemd or something like that.

I am thinking hardware trouble too. Not only because the trouble start before
the kernel and DE gets loaded, but also because it happens with two different
SSDs. It happens with the new one with a freshly installed system, and with the
old one that I never had any trouble with before this and that hasn't been
changed (by me that is). In both cases the slowness begins immediately after
boot. Possibly after the BIOS has run, but definitely before the kernel gets
loaded or otherwise during the earliest stages of loading it.

Thanks for the pointer to the cooling. I will check that.

Grx HdV



Re: Laptop still extremely slow after replacing msata ssd and putting old one back

2019-03-06 Thread hdv@gmail
On 06/03/2019 02.04, Jimmy Johnson wrote:
> hdv@gmail wrote:
>> On 05/03/2019 04.28, Paul Ezvan wrote:
>>> Le 04/03/2019 à 13:32, deloptes a écrit :
>>>> double check - I had similar observation when trying to setup USB stick 
>>>> boot
>>>> for a notebook - it's a company property, so not supposed to do that ;-)
>>>>
>>>> Well turned out that I had to modify few bios settings to see the usb
>>>> working at acceptable speed. First I was thinking the one stick was a
>>>> problem, but after observing the same with a second one I looked at the
>>>> bios and it did it.
>>>>
>>>> regards
>>>
>>> What does "top" show when your menu takes a long time to load? What is the 
>>> CPU
>>> temp? Maybe you accidentaly touched the cooling system while replacing the 
>>> SSD?
>>
>> What I forgot to mention (sloppy, sorry for that) is that the slowness 
>> already
>> happens at "grub" time. I presume that rules out trouble with my DE 
>> (KDE/Plasma)
>> or systemd or something like that.
>>
>> I am thinking hardware trouble too. Not only because the trouble start before
>> the kernel and DE gets loaded, but also because it happens with two different
>> SSDs. It happens with the new one with a freshly installed system, and with 
>> the
>> old one that I never had any trouble with before this and that hasn't been
>> changed (by me that is). In both cases the slowness begins immediately after
>> boot. Possibly after the BIOS has run, but definitely before the kernel gets
>> loaded or otherwise during the earliest stages of loading it.
>>
>> Thanks for the pointer to the cooling. I will check that.
>>
>> Grx HdV
> 
> 
> Is the bios still showing all the installed ram, are there any test you can 
> run
> from the bios...

Yep. All memory is detected. I ran the diagnostics utility of the BIOS and it
found no errors. You'd think that a hardware failure would be detected. ..

However, after that I dismantled the whole machine. I pulled out every connector
and reseated it. I cleaned up all parts (as far as that was possible). And then
ran the BIOS diagnostics again. Still no warnings. Then I rebooted the laptop.
Lo and behold, everything is fine again!

To be honest I still don't know what was wrong. But I am glad I can use this
laptop again for now. This machine is 7 years old, maybe I should start thinking
of buying a new one. I have had my eye on another Thinkpad (the P1) for some
time now. Maybe it is time to bite the bullet...

Thanks all for thinking with me!

Grx HdV



Re: Laptop still extremely slow after replacing msata ssd and putting old one back

2019-03-07 Thread hdv@gmail
On 08/03/2019 07.39, Stefan Monnier wrote:
>> results. I do remember that cached reads were about 1.1 GB/s for both
>> the old and the new SSD after the slowness started.
> 
> FWIW, the "cached read" speed of hdparm doesn't have much to do with the
> SSD (it reads from the in-RAM cache, not from the in-"disk" cache, AFAIK).

I am almost sure that you are correct. But to me it was a symptom showing that
the system was indeed very slow with either of the SSDs installed, but not
necessarily due to those drives. That combined with the slowness starting in or
immediately after the grub-stage pointed me in the direction of a
hardware-related issue. Reseating all removable hardware and connectors seems to
have resolved most of the slowness (not all though).

Meanwhile I have ordered a new laptop to replace my old Thinkpad W530 of 2012.
In a few days I will be the proud owner of a maxed out Thinkpad P1. I am sure I
will notice the increase in speed and especially the 32GB RAM when having
multiple VMs open at a time. Can wait! Keeping my fingers crossed hoping the
BIOS problems have been solved and it will be easy sailing installing current
testing on it.

Anyone have any experiences with this laptop to share? I'd appreciate to hear
about it.

P.S. This will be my fourth Thinkpad. All have been serving me for years before
being replaced. This was the first that has ever given me any trouble. As a
matter of fact all of them do still work. I do like those darn machines!

Grx HdV



Re: putting config files under revision control

2019-04-09 Thread hdv@gmail
On 09/04/2019 21.23, Lee wrote:
> On 4/9/19, Dan Ritter wrote:
>> Lee wrote:
>>> What are people doing for putting config files in [under?] git?
>>>
>>> I'd like to have at least some system config files maintained in git
>>> so I can get a history of changes.
>>>   (and yes, I know, I really should be using a backup system for that,
>>> but I'm still at the 'rsync to usb drive' stage)
>>
>> apt install etckeeper. Choose the git backend. (I think it's the
>> default these days.)
> 
> Thank you!
> 
>> Chef or Puppet when you want to do this at scale.
> 
> Maybe someday.  They'd be nice to learn, but they seem to be massive
> overkill for home use.  ..or at least for my home use.

If you want to keep things simple, maybe this perl-script I wrote years ago
might be what you're looking for. Think of it as a visudo-style tool for config
files (really just any file you can edit with vim). Just use the --manual option
to read its man page. Basically it copies the file before editing to a location
of your choosing, keeping its attributes if you want it to.

Grx HdV

#!/usr/bin/perl

#TODO : add support for settings stored in ~/.vicfrc or an explicitly given file

our $VERSION = '0.92';

use strict;
use warnings;
use Getopt::Long qw(:config bundling);
use Pod::Usage;
use Sys::Hostname;
use Cwd qw(realpath getcwd);
use POSIX qw(strftime sysconf _PC_CHOWN_RESTRICTED);
use File::Spec;
use File::Copy;

my $hostname = hostname();


#User-definable defaults


my $root = '';
SWITCH: {
  if ($hostname eq 'mjollnir') {
$root = '/home/hdv/backup/mjollnir/vicf_root';
last SWITCH;
  }
  if ($hostname eq 'odin') {
#$root = '/home/hdv/backup/odin/vicf_root';
$root = '/home/hdv/backup/odin/vicf_root';
last SWITCH;
  }
  if ($hostname eq 'sleipnir') {
$root = '/home/hdv/backup/sleipnir/vicf_root';
last SWITCH;
  }
}

my $datetime_format = '-%Y%m%d';   #d
my $sequencenr_format = '-%02d';   #n
my $append_sequencenr = 1; #a
my $keep_permissions = 1;  #p
my $keep_owner = 1;#o
my $keep_group = 1;#g
my $keep_times = 1;#t
my $backup_file = 0;   #b
my $x_editor = 0;  #x
my $editor_path = '/usr/bin/vim';
my $x_editor_path = '/usr/bin/gvim';
my $backup_option = '-c "set backup"';
my $no_backup_option = '-c "set nobackup"';


#Internal variables


#Defaults for commandline options
my $help = 0;
my $manual = 0;
my $show_version = 0;
my $debug = 0;
my $verbose = 0;


#Parse the commandline arguments


#Get all options
GetOptions(#Standard options
   'debug|D+', \$debug,
   'help!', \$help,
   'h|?', \$help,
   'manual!', \$manual,
   'version!', \$show_version,
   'V', \$show_version,
   'verbose|v+', \$verbose,
   #Options specific for this program
   'root|r=s', \$root,
   'datetime|d=s', \$datetime_format,
   'sequencenr|n=s', \$sequencenr_format,
   'append_sequencenr!', \$append_sequencenr,
   'a!', \$append_sequencenr,
   'permissions!', \$keep_permissions,
   'p!', \$keep_permissions,
   'owner!', \$keep_owner,
   'o!', \$keep_owner,
   'group!', \$keep_group,
   'g!', \$keep_group,
   'times!', \$keep_times,
   't!', \$keep_times,
   'backup!', \$backup_file,
   'b!', \$backup_file,
   'x_editor!', \$x_editor,
   'x!', \$x_editor
  ) or pod2usage(0);
pod2usage(verbose => 1, exitval => 0) if $help;
pod2usage(verbose => 2, exitval => 0) if $manual;
if ($show_version) {
  print "vicf version $VERSION (c) 2015 Jadev\n";
  exit 0;
}

#Assign the first non-option argument to a variable for easier use
die "No file to be edited was given.\n" unless $ARGV[0];
my $source = $ARGV[0];

#Sanitize paths for easier use
$root = expand_path($root);
die "Path pointing to the repository ($root) is invalid.\n" unless $root;
$source = expand_path($source);
die "Path pointing to the file to be edited ($source) is invalid.\n" unless 
$source;

#Check validity of given options
die "The given root directory does not exist.\n" unless -d $root;
die "The datetime formatstring may contain only alphanumeric or punctuation 
characters.\n" 
  unless $datetime_format =~ /^[[:print:]]*$/;#May be empty
die "The sequencenumber format

Re: putting config files under revision control

2019-04-09 Thread hdv@gmail
On 09/04/2019 23.09, Lee wrote:
> On 4/9/19, hdv@gmail wrote:
>> On 09/04/2019 21.23, Lee wrote:
>>> On 4/9/19, Dan Ritter wrote:
>>>> Lee wrote:
>>>>> What are people doing for putting config files in [under?] git?
>>>>>
>>>>> I'd like to have at least some system config files maintained in git
>>>>> so I can get a history of changes.
>>>>>   (and yes, I know, I really should be using a backup system for that,
>>>>> but I'm still at the 'rsync to usb drive' stage)
>>>>
>>>> apt install etckeeper. Choose the git backend. (I think it's the
>>>> default these days.)
>>>
>>> Thank you!
>>>
>>>> Chef or Puppet when you want to do this at scale.
>>>
>>> Maybe someday.  They'd be nice to learn, but they seem to be massive
>>> overkill for home use.  ..or at least for my home use.
>>
>> If you want to keep things simple, maybe this perl-script I wrote years ago
>> might be what you're looking for. Think of it as a visudo-style tool for
>> config
>> files (really just any file you can edit with vim). Just use the --manual
>> option
>> to read its man page. Basically it copies the file before editing to a
>> location
>> of your choosing, keeping its attributes if you want it to.
> 
> Thanks for the script.  It looks easy enough to understand, which is
> always nice :)

You're welcome. If you have any questions, feel free to ask.

P.S. I wrote it because I didn't want to have another daemon running only for
this. I have nothing against git or some such, but for this I thought it to be
overkill. Especially on servers.

Grx HdV




Re: testing: weird resume (black or frozen screen)

2019-04-20 Thread hdv@gmail
On 20/04/2019 17.43, Andrea Borgia wrote:
> Hi.
> 
> Running the testing branch and using xfce, the last couple of resumes from
> hibernation were problematic: the first one had the suspend dialog still 
> visible
> with the "yes" button still pushed in, all applications were open, the mouse
> could move but not actually click anything. Keyboard worked enough to switch 
> to
> console and reboot.
> 
> Second instance was slightly different: screen completely black except for the
> mouse pointer. I killed xfce from console and logged in again.
> 
> Were it not for the fact that my system is a desktop, this bugreport would
> appear to be a good match: 
> https://github.com/the-cavalry/light-locker/issues/108
> 
> I found nothing interesting in the Debian bugtracker, perhaps the issue is too
> new, after all I've been using this system for months and this issue only came
> up a couple of days ago.
> 
> Any ideas? Anyone else seeing this?
> 
> Thanks,
> Andrea.
> 

Hi Andrea,

I see the same type of problems. I run an up-to-date testing as well, but use
KDE as my DE. Suspend works properly, as far as I can see. I have a Thinkpad P1
with a red led on the lid that blinks during suspend, and that is still as it
was. However, as soon as I try to resume the system it hangs hard. It is not
just a black screen or X that hangs. I cannot even access this system through
SSH anymore when this happens. I still haven't found the culprit causing this,
so I'll be watching this thread with interest.

Grx HdV



Re: testing: weird resume (black or frozen screen)

2019-04-21 Thread hdv@gmail
On 21/04/2019 10.42, Andrea Borgia wrote:
> Il 20/04/19 18:16, hdv@gmail ha scritto:
> 
> 
>> I see the same type of problems.
> 
> Hmm, I'm not so sure about it: in my case the sytem works except (parts of) X
> and it is most likely not kernel-related. In your case it doesn't even resume
> properly, it seems.
> 
> You might want to have a look at bugzilla.kernel.org: I had issues with my
> laptop in the recent past and saw that Thinkpads had issues like yours.
> 
> https://bugzilla.kernel.org/buglist.cgi?quicksearch=thinkpad

Hi Andrea,

You were right. It was indeed the kernel. If I disable intel_iommu at boot, then
resume works fine again. I haven't noticed any negative impact from doing this
yet. Now I need to find out what changed recently with IOMMU. I went back a few
iterations (to 4.19.0-2) and the problem showed up in those versions as well. It
seem I hadn't rebooted in some while...

I hope you can get rid of your problem soon as well!

Grx HdV



Re: Top 7 Programming Languages That Employers Really Want

2019-10-18 Thread hdv@gmail
On 18/10/2019 19.26, Doug McGarrett wrote:

...

> I'm not sure if any Pascal compilers are still available, but
> Turbo was the most popular back when. Until the last version
> came out, and it was too complicated for its own good.

Forgive me for barging in, but I just had to answer that.

Sure there is! Take a look at Free Pascal (freepascal.org). It is very much
alive. I use the RAD editor Lazarus (a clone of Delphi for those who still
remember what that was) that goes with it regularly.

> I took a good look at Python, and decided that the necessary
> indentation was too much for me to deal with. Maybe there is
> some kind of automated system for doing this, but I don't know
> of it.

This admission proves I am becoming an old fart, but I just can't give up my
precious perl... I like Python a lot, but perl is still my goto language.

Grx HdV



Re: Something wakes my laptop from suspend to ram and I don't know what it is

2020-01-22 Thread hdv@gmail
On 2020-01-22 12:41, Ottavio Caruso wrote:
> Hi,
> 
> in one my previous posts to the list, I complained that hibernation
> was somewhat broken on my Thinkpad and it would generate filesystem
> corruption on resume. With the help of the list, I was able to fix
> that problem. However, I still have occasional problems with resume
> from suspend to RAM.

I had the same / a similar problem with my Thinkpad P1. After some digging I
found out that my wireless mouse was causing this behaviour. Now I turn off the
mouse (using the physical sliding button on its bottom) before putting the
laptop to sleep and it doesn't happen anymore. Maybe something you could try?

Grx HdV



Re: Hardware for Debian

2020-02-12 Thread hdv@gmail
On 2020-02-12 12:26, Malcolm Beeson-Earwicker wrote:
> I've been a Debian user for about twenty years now, and have found that I have
> to run more and more of my machines under windo$e because the latest versions 
> of
> Debian just fail, I imagine due to all this UEFI-rubbish. Does anyone know of 
> a
> motherboard that will run Debian please?

Last month I've replace my old system with new hardware. It has a ASUS PRO WS
X570-ACE mobo with a AMD Ryzen 9 3950X CPU in it. I had to tweak the BIOS/UEFI a
bit to get it to boot from NVME RAM. The other thing was that Debian wouldn't
(yet) recognize on of the two ethernet ports on it (Realtek), but it wouldn't
let me use the other port on it either (Intel). Disabling the troublesome port
in the BIOS solved that problem. Apart from that it is a wonderful system to
work with. I've had no trouble at all with it. It is stable and everything seems
to work just fine. And in case you consider virtualisation: libvirt is seriously
flying on this platform! No compatibility problems there either. I can really
recommend it. However it was a bit on the pricey side and budget is always
something to consider.

Grx HdV



Re: acroread

2006-11-08 Thread dsh gmail

David Baron 写道:

Yes, but i prefer linux. Too bad there is no
flashplayer, or other software.


Flash player beta 9 for linux is now available for Linux. PPC? I don't 
know--go to macromedia and check it out.



  

what is ppc's mean?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




What package would I file this Install bug against ?

2009-02-28 Thread mhep...@gmail
I had difficulties installing Debian Lenny using the netinstall disk 
today.


I was installing Debian Lenny 5.0 on an older Server with a Supermicro 
Motherboard and an Adaptec 2400A RAID Controller (2 PATA Drives in RAID 
1 Configuration) . Install failed when it reached the point where it 
should have installed grub on the MBR of the drive. all other steps 
seemed to completed successfully.


I got the system to boot into the installed Debian system using the 
supergrub boot disk and then had to actually install grub on the system.


aptitude update
aptitude install grub
grub-install /dev/i2o/hda
update-grub

after that was done and I rebooted, the system booted fine and 
everything was working.  What I can't figure out is why grub was never 
installed on the system during the netinstall ? I re-ran the install 3 
times, and had the same result each time.


So what package would I file the bug report against ? I mean it wasn't 
technically a failure of grub, since grub never got installed, but why 
didn't grub get installed during setup ? Would this get submitted to the 
d-i team ?


Thanks for your direction in this matter.

Mark Hepler


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: Question about an attempt to upgrade CUPS and cups-filters

2014-11-30 Thread hdv@gmail
On 2014-11-30 19:55, Paul E Condon wrote:
> I'm using Jessie, and attempting to do frequent update/upgrades.
> I use aptitude. Computer is HP with dual core pentium cpu.
> The most recent upgrade left cups and cups-filters only partially
> installed with the following report:
> 
> T A cups
> W A cups-filters
> 
> cups is only partly installed; its installation will be completed.
> 
> But re-running does not complete the installation. What action
> can I take to get these new(er) packages to be completely installed?
> Or what further information should I provide to help diagnose this?

Had the same thing happening on my systems.

Do a "dpkg --configure --pending" and all should be fine again.

Grx HdV



-- 
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/547b7024.7080...@gmail.com



Re: Lost high res desktop settings on vbox upgrade to 4.3.14

2014-07-23 Thread hdv@gmail
On 2014-07-23 23:04, Harry Putnam wrote:
> Andreas Rönnquist  writes:
> 
>>> I upgraded vbox from 4.3.10 to 4.3 14.  Now the best screen res I can
>>> get in 1024 x 768.   When it was something like 1500 x .  Not sure
>>> of exact setting but desktop was much larger when I logged in before
>>> this upgrade.
>>>

Sorry, I am a bit late in the thread. So, maybe this has been suggested
already. If so, please ignore my message.

Did you notice that currently in Jessie there is a dependency problem
with VirtualBox? It needs a newer version of xorg-video-abi than is
currently available. It could be your problem is related to this.

Grx HdV



-- 
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/53d029f1.7040...@gmail.com



Request For Sponsor: Bug 731282

2013-12-04 Thread ChrisofBristol (gmail)

I'm told that I need to "file a separate RFS bug against the sponsorship-requests 
pseudo-package". I have spent hours reading the documentation and I thought that I 
had done this, I am totally mystified about what else I need to do and how. Has anyone 
got any helpful suggestions please?


--
By the way this suggest below from the documentation isn't any help as 
"reportbug" errors and so does the alternative suggested in the error 
message.


"We strongly recommend that you report bugs in Debian using 
the|reportbug 
|program. To install 
and start it, simply run:


   #aptitude install reportbug
   $reportbug"



Re: Linux based cellphones?

2015-01-30 Thread hdv@gmail
On 2015-01-30 10:47, Karen Lewellen wrote:
> Now that  seems  nifty.

Don't know what your timeframe is, but have you considered the Neo900?
See neo900.org. It is not out yet, but it seems promising.

Grx HdV



-- 
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/54cb5ec6.2090...@gmail.com



Re: How to Keep Track of Changes to the System

2017-08-27 Thread hdv@gmail
On 2017-08-26 05:14, ray wrote:
> I would like to find a way to keep track of changes I make to my system.  It
> seem that I may learn from others on how they keep track of changes they make
> to their systems.
> 
> When I make changes, I don't remember where I made changes or why.
> 
> It would be great to have a log of what changes I've made, where they were
> made, how they were made (direct edit, scripted, etc.), why I made them,
> references that I used to determine the change, and what was the outcome.
> 
> Right now, I get lost in my documentation.  I research solutions, make notes
> in Onenote on a Windows machine, record configurations files that I will
> test.  But It is difficult to record results such as syslogs or console
> transactions.  More challenging is that I have different notebook tabs for
> different objectives.  So when I want to see what I changed, I have to go
> through many different objectives because I don't know what object I was
> shooting for when I made the change.
> 
> I would really like to hear how others track their changes or suggestions how
> I may tack changes.
> 
> I store all the changes on a different computer because I screw up the
> installation on my machine under test and rebuild the OS.  The laptop I am
> building to run Xen is on its 28th build.
> 
> I would appreciate any suggestions.
> 
> Ray
> 

Hi Ray,

I just returned from a short holiday, so I am a bit late to the party, but... if
you don't want to set up a full versioning system I might have something else
for you. About 10 years ago I had the same need as you. What I did was write a
perl-script that automatically makes a timestamped backup of each file you edit
to a directory you define yourself (in that directory the full path of the
original is preserved). You use it like visudo, you just call it like this:

vicf 

All the rest happens automagically.

Of course this will only help for plain-text files and it doesn't provide for
the annotations you mentioned. But if you are interested I
can mail it to you.

Grx HdV

P.S. Here's the output of the help so you can decide if this is what you need:

vicf --help

Usage:
vicf [options] 

List of options:

[-h|--help|-?] [--manual] [-V|--version] [-r|--root ]
[-d|--datetime ] [-n|--sequencenr ]
[-a|--append_sequencenr] [-p|--permissions] [-o|--owner] [-g|--group]
[-t|--times] [-b|--backup] [-x|--x_editor]

Options:
--help
Print a brief help message.

--manual
Print the full manual.

--version
Print version and copyright information.

--root
The directory under which a dated copy of the original file should
be stored.

--datetime
A format string suitable for strftime(). Together with the local
time this parameter will used as input for strftime(). The result
will be appended to the name of the target file. See man 3 strftime
for more details.

--sequencenr
A format string suitable for sprintf(). This will be used to
generate a sequence number, which will be append to the filename if
the target file already exists.

--append_sequencenr
Append a sequence number to the filename, even if it does not exist.
Used to start sequences at 1 instead of 2.

--permissions
Preserve the access permissions of the original file.

--owner
Preserve the owner of the original file.

--group
Preserve the group of the original file.

--times
Preserve the access and modification times of the original file.

--backup
Instruct the editor to make a backup of the original file. This is a
convenience option that has nothing to do with the dated copy of the
original file.

--x_editor
Start the editor in graphical mode instead of console mode.

At the top of the code there is a section named 'User-definable
defaults' where defaults appropriate for the current environment can be
set. Doing so alleviates the need to specify options on every invocation
of the program.

Arguments:
This program accepts only one argument, which is the path to the file to
be edited.



Re: How to Keep Track of Changes to the System

2017-08-31 Thread hdv@gmail
On 2017-08-31 04:39, ray wrote:
> On Sunday, August 27, 2017 at 6:50:06 AM UTC-5, hdv@gmail wrote:
>> On 2017-08-26 05:14, ray wrote:
>>> I would like to find a way to keep track of changes I make to my system.  
>>> ...snip
>> Hi Ray,
>>
>> I just returned from a short holiday, so I am a bit late to the party, 
>> but... if
>> you don't want to set up a full versioning system I might have something else
>> for you. About 10 years ago I had the same need as you. What I did was write 
>> a
>> perl-script that automatically makes a timestamped backup of each file you 
>> edit
>> to a directory you define yourself (in that directory the full path of the
>> original is preserved). You use it like visudo, you just call it like this:
>>
>> vicf 
>>
>> All the rest happens automagically.
>>
>> Of course this will only help for plain-text files and it doesn't provide for
>> the annotations you mentioned. But if you are interested I
>> can mail it to you.
>>
>> Grx HdV
> ...snip
> 
> Yes, I would like to work with this.  I should be able to modify the perl 
> script to also save a tag file to hold the metadata.  So now I have a reason 
> to learn some perl.
> 
> Thank you.
> Ray

Here it is. Make sure to set the variables in the section "User-definable
defaults". I use the SWITCH statement to configure the script for use on
multiple systems. You might not need that. In that case just make sure you set
$root.

Good luck with it!

If you make any changes, please share them with the list. Maybe others might
find them useful too.

Grx HdV

===[begin script]


#!/usr/bin/perl

#TODO : add support for settings stored in ~/.vicfrc or an explicitly given file

our $VERSION = '0.92';

use strict;
use warnings;
use Getopt::Long qw(:config bundling);
use Pod::Usage;
use Sys::Hostname;
use Cwd qw(realpath getcwd);
use POSIX qw(strftime sysconf _PC_CHOWN_RESTRICTED);
use File::Spec;
use File::Copy;

my $hostname = hostname();


#User-definable defaults


my $root = '';
SWITCH: {
  if ($hostname eq '') {
$root = '';
last SWITCH;
  }
  if ($hostname eq '') {
$root = '';
last SWITCH;
  }
  if ($hostname eq '') {
$root = '';
last SWITCH;
  }
}

my $datetime_format = '-%Y%m%d';   #d
my $sequencenr_format = '-%02d';   #n
my $append_sequencenr = 1; #a
my $keep_permissions = 1;  #p
my $keep_owner = 1;#o
my $keep_group = 1;#g
my $keep_times = 1;#t
my $backup_file = 0;   #b
my $x_editor = 0;  #x
my $editor_path = '/usr/bin/vim';
my $x_editor_path = '/usr/bin/gvim';
my $backup_option = '-c "set backup"';
my $no_backup_option = '-c "set nobackup"';


#Internal variables


#Defaults for commandline options
my $help = 0;
my $manual = 0;
my $show_version = 0;
my $debug = 0;
my $verbose = 0;


#Parse the commandline arguments


#Get all options
GetOptions(#Standard options
   'debug|D+', \$debug,
   'help!', \$help,
   'h|?', \$help,
   'manual!', \$manual,
   'version!', \$show_version,
   'V', \$show_version,
   'verbose|v+', \$verbose,
   #Options specific for this program
   'root|r=s', \$root,
   'datetime|d=s', \$datetime_format,
   'sequencenr|n=s', \$sequencenr_format,
   'append_sequencenr!', \$append_sequencenr,
   'a!', \$append_sequencenr,
   'permissions!', \$keep_permissions,
   'p!', \$keep_permissions,
   'owner!', \$keep_owner,
   'o!', \$keep_owner,
   'group!', \$keep_group,
   'g!', \$keep_group,
   'times!', \$keep_times,
   't!', \$keep_times,
   'backup!', \$backup_file,
   'b!', \$backup_file,
   'x_editor!', \$x_editor,
 

Re: software to do drawings of houses, gardens, etc.

2017-11-22 Thread hdv@gmail
On 2017-11-23 02:05, Emanuel Berg wrote:
> Librecad seems good and I got it working
> instantly on a Debian box.
> 
> Only how do I draw a box and then change the
> properties to specific side lengths?
> 
> For example, if I want to picture a building
> that is rectangular (from above) with one side
> 10m and the other 5m?
> 
> I managed to make an approximate rectangle with
> the "rectangle" tool but how do I bring up
> properties so that I can assign the
> exact values?
> 
> I made a search on Gmane (news.gmane.org) for
> "librecad" but apparently no mailing list is
> registered there. Also, on aioe (nntp.aioe.org)
> there seems to be no Usenet group dedicated to
> librecad. Now this speaks volumes.
> Aren't people using it?
> 

This was one of the reasons I decided to change to QCAD. If even choose to pay
the € 33 for the Pro version. It works like a charm, has good documentation (I
can recommend the official e-book that can be bought separately), and in many
subtle ways is more user-friendly. My experience with their customer support and
the forum is very good as well. (No I don't have shares, I am just a happy
customer. ;-) )

If you think this type of software is what you need, then I would try out QCAD
instead of LibreCAD. I've been subscribed to their mailing list for almost a
year now and I don't think I've seen more than 3 messages on it. I might be
missing things, but I am inclined to think that LibreCAD is "dead".

Grx HdV



Re: software to do drawings of houses, gardens, etc.

2017-11-23 Thread hdv@gmail
On 2017-11-23 09:08, Weaver wrote:

> I don't think you'll find LibreCad is `dead'.
> I think you'll find it just takes a little more than five minutes to get
> on top of a programme.
> The traffic on a mailing list is also no indication of usage or how
> `good' a package is.
> Traffic may well be low because of ease of use, for example.
> 
> Of course, if you're happy paying for your software, why don't you move
> straight to AutoCad?

Why the hostility? I didn't say LibreCAD is bad or even that is _was_ dead. I am
just inclined to think so based on my (admittedly limited) experience with it.

And concerning the use of FLOSS: you are barking up at the wrong tree. If been a
focal and active participant of the community since the early nineties. I also
sponsor lots of projects out of my own pocket. Can you say that?

Anyway, why the PM? I sent my answer to the list. Why don't you?

Grx HdV



Wireless Intel Centrino 6300 + Debian netinstall

2011-02-06 Thread Darren Gmail
Hi, I am having some problems in getting my wlan (Intel Centrino 6300
AGN) to work on a T510 with Debian 6.0.

The 6300 does work under Windows... So there does'nt appear to be a
hardware defect, it's just a software configuration issue.

I have wrote (debian-6.0.0-amd64-netinst.iso) to a USB key along with
the binary firmware, iwlwifi-6000-4.ucode from
http://intellinuxwireless.org/iwlwifi/d ... 21.4.1.tgz

I have copied iwlwifi-6000-4.ucode into the root of the USB drive and
also into /firmware but I am not sure if it's being read or if there
is another problem.

The key boots, but does'nt find the firmware.  What is the exact path
and file which should be wrote to the USB drive which is usinf FAT32.



When the netinstaller boots up, I configure the primary network interface:

I select wlan0: Intel Centrino Ultimate-N 6300 (Wireless)

Searching for wireless access points..

Wireless ESSID for wlan0: I enter this case sensitively


Then the WPA key (s:passphrase) (case sensitively)

Configuring the network with DHCP.

Network autoconfiguration failed...

Note my router is set to use WPA2 Personal, TKIP+AES, could this be
the issue ? Could the wireless software only support WEP and not WPA2
Personal ?

I dont think that iwlist/iwconfig exists on the USB bootable key, else
I would try a few more things. Does Debian use the ansi tool, netcfg
to configure all of the networking, I could'nt see any command line
options.

A workaround would be to install from DVD and then to add the Debian
package firmware-iwlwifi but it'd be so cool to see a network
installation just work like it should with this wireless hardware.

How can I easily debug this.  If this wireless adapter is too
troublesome, which USB wireless adapter would you suggest that I
purchase which does not involve firmware loading and has native kernel
support.

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTi=luxskfczoux6cfenksl6hunazvfgxtzouf...@mail.gmail.com



VDPAU backend libvdpau_nvidia.so on AMD GPU

2025-05-18 Thread valerio GMAIL
Hi,
I'm on Debian Sid with an AMD 9070XT 

"6.12.27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.27-1 (2025-05-06) x86_64 
GNU/Linux"

"Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 48 [RX 9070/9070 XT]
driver: amdgpu v: kernel
  Display: wayland server: X.Org v: 24.1.6 with: Xwayland v: 24.1.6
compositor: kwin_wayland driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu
resolution: 2560x1440~60Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.5-1 renderer: AMD
Radeon Graphics (radeonsi gfx1201 ACO DRM 3.61 6.12.27-amd64)
  API: Vulkan v: 1.4.309 drivers: radv,llvmpipe surfaces: xcb,xlib,wayland
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: amdgpu_top,lact x11: xdriinfo,
xdpyinfo, xprop, xrandr"


but vdpauinfo gives me as output that it tries to open nvidia library which 
obviously it can't find:

"display: :1   screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object 
file: No such file or directory
Error creating VDPAU device: 1"

I've solved it set VDPAU_DRIVER to radeonsi.

Just curious why by default it searches for nvidia lib?



Reg. Grub password & Change of Permissions for /home folder.

2009-04-05 Thread Gmail POP3 Access
I am using Lenny.
I have created partitions using "Guided partition" and I choose the
option for "seperate folders for everything".

[1] Today I was going through "HowTo : Securing Debian" and came across
the suggestion of "Pawword for Grub".
But when I did open the /boot/grub/menu.lst there are a lot of entries
starting with # symbol.

I have used the follwoing commands to create a password for grub.
root terminal - Grub - grub-md5-crypt

and after creation of md5 password, i have run the followig command :
root terminal - grub update.

I have edited the file with the follwoing entries :

timeout  3
password --md5 encryptedpassword data.

Should I delete the below lines of the file [ menu.lst ].


[2] I am unable to create a folder in /home folder.
I did check everyother folders and to my shock I found that Owner and
Group is "root".
I request members to guide me for changing permissions for /home folder.
Meanwhile I will do some googling.

Thank You,
@ Bhagya.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Reg. Grub password & Change of Permissions for /home folder.

2009-04-05 Thread Gmail POP3 Access
On Sun, 2009-04-05 at 21:28 +0530, Gmail POP3 Access wrote:
> On Sun, 2009-04-05 at 14:38 +, Harry Rickards wrote:
> > Quoting Gmail POP3 Access :
> > 
> > > But when I did open the /boot/grub/menu.lst there are a lot of entries
> > > starting with # symbol.
> > 
> > The hash means that the line is commented out, and won't be read by  
> > GRUB. It usually tells you what the following line does.
> > 
> > 
> > > I have used the follwoing commands to create a password for grub.
> > > root terminal - Grub - grub-md5-crypt
> > >
> > > and after creation of md5 password, i have run the followig command :
> > > root terminal - grub update.
> > 
> > The book probably meant to run 'grub update' in a root terminal. If  
> > you go into a terminal and type in 'su', and enter the root password  
> > if necessary. Then run 'grub update'.
> > 
> > > I have edited the file with the follwoing entries :
> > >
> > > timeout  3
> > > password --md5 encryptedpassword data.
> > >
> > > Should I delete the below lines of the file [ menu.lst ].
> > 
> > What lines are below?
> 
> The following lines are present :
> 
> # menu.lst - See: grub(8), info grub, update-grub(8)
> #grub-install(8), grub-floppy(8),
> #grub-md5-crypt, /usr/share/doc/grub
> #and /usr/share/doc/grub-legacy-doc/.
> 
> ## default num
> # Set the default entry to the entry number NUM. Numbering starts from
> 0, and
> # the entry number 0 is the default if the command is not used.
> #
> # You can specify 'saved' instead of a number. In this case, the default
> entry
> # is the entry saved with the command 'savedefault'.
> # WARNING: If you are using dmraid do not change this entry to 'saved'
> or your
> # array will desync and will not let you boot your system.
> default   0
> 
> ## timeout sec
> # Set a timeout, in SEC seconds, before automatically booting the
> default entry
> # (normally the first entry defined).
> timeout   5
> 
> # Pretty colours
> color cyan/blue white/blue
> 
> ## password ['--md5'] passwd
> # If used in the first section of a menu file, disable all interactive
> editing
> # control (menu entry editor and command-line)  and entries protected by
> the
> # command 'lock'
> # e.g. password topsecret
> #  password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
> # password topsecret
> 
> #
> # examples
> #
> # title   Windows 95/98/NT/2000
> # root(hd0,0)
> # makeactive
> # chainloader +1
> #
> # title   Linux
> # root(hd0,1)
> 
> 
> > >
> > > [2]   I am unable to create a folder in /home folder.
> > > I did check everyother folders and to my shock I found that Owner and
> > > Group is "root".
> > > I request members to guide me for changing permissions for /home folder.
> > > Meanwhile I will do some googling.
> > 
> > Is this the /home folder, or the /home/yourname folder? If it's the  
> > /home folder, you should create directory's in /home/yourname. If it's  
> > /home/yourname that has the owner or group set to root, open up a  
> > terminal and type in 'su' again, entering the root password if  
> > neccesary. Then enter the command 'chown yourusername:yourgroupname  
> > /home/yourusername'. Your group name is probably the same as your user  
> > name, but you can find all groups you belong to by entering the  
> > command 'cat /etc/passwd|grep yourusername'.
> 
> I have successfully changed the permissions.
> 
> > Thanks
> > 
> > Harry Rickards
> 
> 
> Thank You,
> @ Bhagya.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Reg. Grub password & Change of Permissions for /home folder.

2009-04-05 Thread Gmail POP3 Access
On Sun, 2009-04-05 at 16:18 +, Harry Rickards wrote:
> Quoting Gmail POP3 Access :
> 
> > On Sun, 2009-04-05 at 14:38 +, Harry Rickards wrote:
> >> Quoting Gmail POP3 Access :
> >>
> ...
> >> > I have edited the file with the follwoing entries :
> >> >
> >> > timeout  3
> >> > password --md5 encryptedpassword data.
> >> >
> >> > Should I delete the below lines of the file [ menu.lst ].
> >>
> >> What lines are below?
> >
> > The following lines are present :
> >
> ...
> > timeout 5
> ...
> You need to insert a hash before the timeout line (the one above),  
> otherwise you'll have two lines contradicting each other. Are you sure  
> there's no other lines, as there seems to be no operating system int  
> eh GRUB file. Also, I apologize to everyone else on this list, as I  
> accidently sent my previous reply to Bhagya himself, not the list.

Excuse indeed some lines are missing in my previous email, please
excuse.
Herewith I am providing the contents of the file :

# menu.lst - See: grub(8), info grub, update-grub(8)
#grub-install(8), grub-floppy(8),
#grub-md5-crypt, /usr/share/doc/grub
#and /usr/share/doc/grub-legacy-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from
0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default
entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved'
or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the
default entry
# (normally the first entry defined).
timeout 5

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive
editing
# control (menu entry editor and command-line)  and entries protected by
the
# command 'lock'
# e.g. password topsecret
#  password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root  (hd0,0)
# makeactive
# chainloader   +1
#
# title Linux
# root  (hd0,1)
# kernel/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##  kopt_2_6_8=root=/dev/hdc1 ro
##  kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##  alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##  lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with
the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet

## should update-grub lock old automagic boot options
## e.g. lockold=false
##  lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##  altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##  howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##  memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title   Debian GNU/Linux, kernel 2.6.26-1-686
root(hd0,0)
kernel  /boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro quiet
initrd  

Manual Install of SILO/Debian

2011-03-12 Thread A E [Gmail]
Hello All,

P.S> Sorry about cross-posting, but you never know who has the answer :)

This might be a stupid question but I'm wondering if someone knows (and if
it's possible) to install debian on a hard drive manually from a "boot.img"
file?

I have a situation like so:

an x86 machine with Solaris 8 preinstalled on it. It's an appliance from a
vendor who's hardened it and/or made it in a way that no matter what one
does it always boots into this customized Solaris 8 OS automatically
starting their software. I added an extra HDD to it, and would like to
install Debian on it. However, no matter what I try, I'm unable to get it to
boot off of the network to pick up the boot.img file from the TFTP server.
RARP, TFTP etc is all setup and I have successfully installed Debian on a
couple of Sparc machines using this setup. However, even after changing the
values of boot-device etc using 'eeprom', I am unable to get this machine to
boot (or try to boot) from the network. This may be a function of the
network cards as well with the configuration assistant setup to not boot off
the network and maybe the network doesn't get initialized until after the OS
has been initialized. By interrupting the boot process however, I am able to
have it try booting from a CD or another HDD which it does detect early on
in the boot process.

So, the questions were,

a) IS it possible for me to get into the BIOS of the machine to turn on
network boot on this machine? I don't know what this machine is, it's some
custom built chassis with custom everything to create this appliance.
b) OR, I was thinking that maybe I could partition the 2nd HDD while in
Solaris, install Debian/SILO on it either through boot.img or some other way
and then have it boot from this disk instead into debian and then install
whatever I want to install on it.

The software installed on this machine from the vendor is unsupported now
and that company/vendor has been bought over twice since we bought this in
2004 and as a result am not able to get any support for it and am unable to
make it work the way I want to so the idea is to install another OS on it
(since these are very powerful machines) and install whatever I want on it.

Any ideas or help will be appreciated.

Thanks
AE


Re: Manual Install of SILO/Debian

2011-03-12 Thread A E [Gmail]
On Sat, Mar 12, 2011 at 10:11 PM, Doug  wrote:

> The following assumes that (at least) the Solaris drive is IDE, not SATA.
> If it's SATA, then you need to
> find out if there are "master" channels and "slave" channels driving the
> hard disks, and proceed as
> suggested.  You can at least proceed with the Solaris drive disconnected,
> but then there may be a
> problem getting the system to boot off the Debian drive, unless the MOBO
> has "master" and "slave"
> SATA channels.
>
> You now have two hard drives.  Disconnect the one with the Solaris system
> on it.  Set drive number 2--
> the one you added--as master, and install Debian or whatever you want on
> it.  (I don't know what SILO
> is).  Now make the Solaris drive a slave.  You should now be able to boot
> Debian, and operate on the
> Solaris drive.
>
> The only way I can see this not working, is if there is some software on
> the motherboard, in a BIOS ROM
> that's customized.  In that case, you may have to try and determine whose
> MOBO it is, and find a
> generic ROM  for it.  The saving grace is that the ROM is almost certainly
> a plug-in part.  When you have
> that information, someone on the list here may be able to help. (Not me,
> unfortunately.)
>
> Well, that's what I'd try.  Somebody smarter than me may have a better
> solution.  Good luck!
>
> --doug
>
>
Thanks Doug, unfortunately I'm not physically there where the machine is
which is in another country but I do have serial/console access to it. So
anything that needs to be done physically won't be possible. I have to make
do with manipulating everything over the console using some cleaver tricks.
SILO is just a boot-manager like LILO or GRUB I think. However I just
realised that I don't need that since this isn't a Sparc machine...just an
x86 machine with Solaris on it, so I may be able to simply install Debian
for x86 on it which may be a little easier but again, I don't know how to do
that manually without booting from a CD, USB or Network. I found
netboot.tar.gz and other required files that linux uses to boot like
initrd.gz and vmlinuz but I don't know how to "install" them such that
they're read at boot time. Do I simply place them in the /boot partition of
the drive and assume that it will boot from there? I don't think it would be
that easy in my case because of the kind of hardware and the ROM that might
be on this which seems to boot directly into the Solaris Configuration
Assistant and then probably look for a Solaris boot image?


Manually creating a Debian boot sector Or a bootable Debian disk in Solaris for x86

2011-03-14 Thread A E [Gmail]
Hello All,

I'd posted this question earlier but had confused myself during the process
which didn't lead to much help from the community as the wrong questions
were asked. So let me try again.

I have a situation like so:

an x86 machine with Solaris 8 preinstalled on it. It's an appliance from a
vendor who's hardened it and/or made it in a way that no matter what one
does it always boots into this customized Solaris 8 OS automatically
starting their software. I added an extra HDD to it, and would like to
install Debian on it. However, no matter what I try, I'm unable to get it to
boot off of the network to pick up the boot.img file from the TFTP server.
RARP, TFTP etc is all setup and I have successfully installed Debian on a
couple of Sparc machines using this setup. However, even after changing the
values of boot-device etc using 'eeprom', I am unable to get this machine to
boot (or try to boot) from the network. This may be a function of the
network cards as well with the configuration assistant setup to not boot off
the network and maybe the network doesn't get initialized until after the OS
has been initialized. By interrupting the boot process however, I am able to
have it try booting from a CD or another HDD which it does detect early on
in the boot process.

So, the question is,

Does anyone know how to partition the 2nd HDD while in Solaris, install the
Debian boot files and bare-bone kernel from boot.img.gz archive, initrd and
vmlinuz on it so that when selected to boot from it, it boot into debian and
then install whatever I want to install on it.

The software installed on this machine from the vendor is unsupported now
and that company/vendor has been bought over twice since we bought this in
2004 and as a result am not able to get any support for it and am unable to
make it work the way I want to so the idea is to install another OS on it
(since these are very powerful machines) and install whatever I want on it.

Any ideas or help will be appreciated.

Thanks
AE


Re: Manually creating a Debian boot sector Or a bootable Debian disk in Solaris for x86

2011-03-16 Thread A E [Gmail]
On Tue, Mar 15, 2011 at 3:44 AM, Joseph Lenox wrote:

> I've done some work with Solaris 10, trying to get rid of it for most of my
> workstations. I was unaware there was even a solaris 8 x86 install (I'd
> change the Solaris install to 10 as a matter of principle -- ZFS is that
> good).
>
> Use the "format" command in Solaris to change the partition layout. You
> should be able to resize without much issue. There is a manpage for it.
> You'll also need to set the partition you create as bootable.
>
> As for the rest of it, you should probably install GRUB onto the second
> HDD, and chainload into Solaris (if you can do that in BIOS), as GRUB wasn't
> used in Solaris 8 x86 (started getting used in 10 1/06).
>
> I'd probably tarball a working Debian system's files and extract it into
> the secondary partition (created above... make sure support for whatever FS
> you format it to is compiled-in), then configure a custom-compiled GRUB to
> boot it. You'll have to do that by hand (see linuxfromscratch.org for some
> help).
>
> But seriously, if you can go to Solaris 10, do so. S10 x86 is a heck of a
> lot easier to deal with, as it includes GRUB as its boot method. If you can
> grok Solaris 8 x86's bootloader config and get it to boot Linux, good luck.
>
> --Joseph Lenox
>

Hi Joseph,

Thanks for the response. Unfortunately, I can't really do anything with the
existing system as it's ironclad locked down installation and doesn't give
me much chances/options where I (with my limited knowledge of Solaris and
Debian) can trick it into upgrading it to Solaris 10 or even boot anything
else or from anywhere else. I mucked around with the boot params via eeprom
and also through the boot interpreter going through the Solaris
Configuration assistant and all, but it still always boots into the version
that was installed by the vendor. So my only option is to explore your
suggestions of installing linux from scratch on the 2nd hard drive and then
see if I can boot into it. Although when I was in the Solaris Configuration
Assistant options and selected the 2nd disk to boot from (while nothing was
on it) it said something like "no solaris image found on the disk" or
something like that. So I'm afraid that even if I manually try to install
Debian on the 2nd disk and choose that as my disk to boot from in this
configuration assistant, it might realise that it's not a solaris image and
still not boot :( But regardless, I still want to give it a shot if I can
find the proper procedure on unpacking initrd.gz, vmlinuz and boot.img.gz
etc files onto a hard drive and create a minimal bootable debian disk.

I found a few things on the net regarding creating bootable debian USB thumb
drives etc, I might have to follow that procedure and then tweak it as I go
to make it work for me.


need help with sed problem

2011-03-18 Thread Joao Ferreira gmail
Hello all

I need to use sed to replace a given line in a text file with the
current working directory. But this is getting quite tricky. Problem
ilustrated below:


$ cat text.txt 

:/some/wrong/path/


$ sed s/.*/:$TERM/ text.txt

:xterm


jmf@squeeje:~$ sed s/.*/:$PWD/ text.txt
sed: -e expression #1, char 16: unknown option to `s'
=

I'd like to have



:/home/myself



Can anyone help ? thanks in advance.

Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1300470364.2932.5.ca...@squeeje.critical.pt



Re: need help with sed problem

2011-03-18 Thread Joao Ferreira gmail
On Fri, 2011-03-18 at 18:59 +0100, Andrej Kacian wrote:
> On Fri, 18 Mar 2011 17:46:04 +
> Joao Ferreira gmail  wrote:
> 
> >jmf@squeeje:~$ sed s/.*/:$PWD/ text.txt
> >sed: -e expression #1, char 16: unknown option to `s'
> 
> Hello,
> 
> this is because $PWD gets expanded by shell before sed gets called, so what
> actually gets executed is:
> 
> sed s/bbb.*/:/home/myself/ text.txt
> 
> ...which is obviously syntactically incorrect.
> 
> To get result you want, try using different separator character than /, for
> example the comma, or underscore:
> 
> $ sed s,bbb.*,:$PWD, text.txt
> $ sed s_bbb.*_:$PWD_ text.txt

Thanks a lot... I did not know that was possible...

I used the # separator. Worked just fine

Thank you

Joao

> 
> -- 
> Andrej Kacian
> 
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1300475305.2285.0.ca...@squeeje.critical.pt



Custom Kernel - 32-bit or 64-bit?

2011-04-08 Thread A E [Gmail]
Hello All,

I've made a first attempt at trying to change some config of the stock
kernel for squeeze on sparc64. Went through the instructions found somewhere
on the net and on the debian wiki, and have ended up with a kernel package.

Command used was:
#> time nice fakeroot make-kpkg --subarch=sun4u --arch_in_name
--revision=2.6.32-5-Cust001 --initrd kernel_image

Have ended up with a deb package called:
linux-image-2.6.32-sun4u_2.6.32-Cust001_sparc.deb

The question is, if I allowed it to slap on the arch in name automatically
and it ended up calling it 'sparc', does that mean it's created a 32-bit
kernel and not 64-bit as I'd have expected it to end with 'sparc64'.

#> uname -m
sparc64

Thanks
AEG


-lssl problem on debian sprac 64-bit

2011-04-09 Thread A E [Gmail]
Hello All,

I'm trying to install some software on Debian (Squeeze) for Sparc 64-bit.

I have the following installed:

#> dpkg --get-selections | egrep -i -e 'ssl|tls'
libcurl3-gnutls install
libcurl4-gnutls-dev install
libgnutls-dev   install
libgnutls26 install
libssl-dev  install
libssl0.9.8 install
openssl install

but during 'make', I keep getting an error message that libssl can't be
found. During the 'configure' script for this software, it was told to build
for a 64-bit platform using the following:

#> CFLAGS=-m64 CXXFLAGS=-m64 LDFLAGS=-m64
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64 ./configure

But the following is still observed in config.log

[...snip...]
configure:20961: WARNING: OpenSSL crypto library was not found
configure:20966: checking for TLSv1_method in -lssl
configure:20991: gcc -o conftest -m64  -m64 conftest.c -lssl  -lncurses
 -m64 >&5
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/sparc-linux-gnu/4.4.5/../../../../lib64/libssl.so when
searching for -lssl
/usr/bin/ld: skipping incompatible /lib/../lib64/libssl.so when searching
for -lssl
/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libssl.so when
searching for -lssl
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/sparc-linux-gnu/4.4.5/../../../libssl.so when searching for
-lssl
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/sparc-linux-gnu/4.4.5/../../../libssl.a when searching for
-lssl
/usr/bin/ld: skipping incompatible /usr/lib64/libssl.so when searching for
-lssl
/usr/bin/ld: skipping incompatible /lib64/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/lib64/libssl.so when searching for
-lssl
/usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for
-lssl
/usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for
-lssl
/usr/bin/ld: cannot find -lssl
| #define HAVE_OPENSSL_TLS1_H 1
configure:21011: WARNING: OpenSSL protocol library was not found
| #define HAVE_OPENSSL_TLS1_H 1
| #define HAVE_OPENSSL_TLS1_H 1
| #define HAVE_OPENSSL_TLS1_H 1
| #define HAVE_OPENSSL_TLS1_H 1
ac_cv_header_openssl_tls1_h=yes
ac_cv_lib_ssl_TLSv1_method=no
HAVE_LIBWWW_SSL_DEFINE='0'
openssl_CFLAGS=''
openssl_LIBS=''
#define HAVE_OPENSSL_TLS1_H 1

So it finds the SSL libs but thinks they're incompatible, I'm guessing
because of them being 32-Bit libs? I tried creating symlinks in /lib64 and
/usr/lib64 but it still rejects them

How do I fix this? Do I need to download the source for openssl and compile
it for my platform?

Thanks so much


login shell VS interactive shell

2011-10-13 Thread Joao Ferreira Gmail
Hello all,

I read a text about bash that mentions a difference between "login
shell" and "interactive shell".

I'm affraid I don not know the difference. Can anyone enlighten me ?


text I read was:

"When Bash starts executes the commands in a variety of different
scripts. When started as an interactive login shell: Bash reads and
executes the /etc/profile (if it exists). After reading that file, it
looks for ~/.bash_profile, ~/.bash_login, and ~/.profile in that order,
and reads and executes the first one (that exists and is readable). When
a login shell exits: Bash reads and executes ~/.bash_logout (if it
exists). When started as an interactive shell (but not a login shell):
Bash reads and executes ~/.bashrc (if it exists)."

thank you
João



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1318542564.3378.16.ca...@wheejy.critical.pt



Re: login shell VS interactive shell

2011-10-14 Thread Joao Ferreira Gmail
On Fri, 2011-10-14 at 08:53 +0100, Chris Davies wrote:
> Joao Ferreira Gmail  wrote:
> > I read a text about bash that mentions a difference between "login
> > shell" and "interactive shell".
> 
> > I'm affraid I don not know the difference. Can anyone enlighten me ?
> 

Hello,

Thanks everybody for the explanations. I got the picture now :)

Cheers
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1318584235.2429.12.ca...@wheejy.critical.pt



ssh/dsa strange issue

2011-10-20 Thread Joao Ferreira Gmail
Hello all,

I have this strange situation:

a) user jane on one system transfers her public DSA key to account john
at a given remote host. it works. jane accesses john's account without
typing a password.

b) now the same user jane transfers her public DSA key to account mary
at the _same_ remote host. it does not work. she get's prompted for a
passord (she get's access by typing mary's password)

my guess is that there must be some difference between john and mary
accounts. I can not realise what it is (shell is bash on both).

Can anyone help ?

Please find bellow the output of "ssh -vvv " for both situations.

Thank you

Joao

 success situation 
OpenSSH_5.3p1 Debian-3ubuntu7, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.126.61 [192.168.126.61] port 22.
debug1: Connection established.
debug1: identity file /home/jane/.ssh/identity type -1
debug1: identity file /home/jane/.ssh/id_rsa type -1
debug3: Not a RSA1 key file /home/jane/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-END'
debug3: key_read: missing keytype
debug1: identity file /home/jane/.ssh/id_dsa type 2
debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
debug1: Remote protocol version 2.0, remote software version
Sun_SSH_1.1.2
debug1: no match: Sun_SSH_1.1.2
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu7
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug3: Wrote 792 bytes for a total of 831
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: kex_parse_kexinit: gss-group1-sha1-toWM5Slw5Ew8Mqkay
+al2g==,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
debug2: kex_parse_kexinit:
aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit:
ca-ES,el-CY,el-GR,en-MT,es,es-ES,it,it-IT,mt-MT,ca,el,pt,pt-PT,i-default
debug2: kex_parse_kexinit:
ca-ES,el-CY,el-GR,en-MT,es,es-ES,it,it-IT,mt-MT,ca,el,pt,pt-PT,i-default
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug3: Wrote 24 bytes for a total of 855
debug2: dh_gen_key: priv key bits set: 128/256
debug2: bits set: 487/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: Wrote 144 bytes for a total of 999
debug3: check_host_in_hostfile: filename /home/jane/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug1: Host '192.168.126.61' is known and matches the RSA host key.
debug1: Found key in /home/jane/.ssh/known_hosts:1
debug2: 

Re: ssh/dsa strange issue

2011-10-21 Thread Joao Ferreira Gmail
On Thu, 2011-10-20 at 23:40 -0600, Bob Proulx wrote:
> Joao Ferreira Gmail wrote:
> > a) user jane on one system transfers her public DSA key to account john
> > at a given remote host. it works. jane accesses john's account without
> > typing a password.
> > 
> > b) now the same user jane transfers her public DSA key to account mary
> > at the _same_ remote host. it does not work. she get's prompted for a
> > passord (she get's access by typing mary's password)
> > 
> > my guess is that there must be some difference between john and mary
> > accounts. I can not realise what it is (shell is bash on both).
> 
> Usually people trip over permissions being too open.  Assuming you are
> using /home try this to look at the permissions.
> 
>   $ ls -ld /home /home/mary /home/mary/.ssh /home/mary/.ssh/authorized_keys
>   drwxr-xr-x   9 root root  4096 Feb 28  2011 /home
>   drwxr-xr-x 126 mary mary 16384 Oct 20 23:17 /home/mary
>   drwx--   2 mary mary  4096 Sep 29 18:31 /home/mary/.ssh
>   -rw-r--r--   1 mary mary   809 Oct 28  2010 /home/mary/.ssh/authorized_keys
> 

:) bull's eye :)

/home/mary was 775. changed it to 755 and it immediately worked.

Thank you

João

> All of those directories should be writable only by the owner and the
> owner should be mary.  The typical problem is that people will have
> one of those files to be group writable.  In that case sshd refuses
> the authorized_keys file due to the possibility that another user can
> write to the file.
> 
> > Please find bellow the output of "ssh -vvv " for both situations.
> 
> The verbose output of the sshd would be more helpful.  Easiest to run
> it on another port temporarily.
> 
>   # /usr/sbin/sshd -d -p 
> 
> And then try to log into it on that other port.
> 
>   jane@localhost:~$ ssh -p  localhost
> 
> You might see an error like this one on the sshd server debug side:
> 
>   Authentication refused: bad ownership or modes for directory /home/mary
> 
> Bob



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1319187918.2430.4.ca...@wheejy.critical.pt



[OT] mantis not sending e-mail

2011-11-12 Thread Joao Ferreira Gmail
Hello all,

I'm trying to get mantis to send e-mails but I can't get it right.

I posted on the mantis list but I got no replies. So I wonder if anyone
on Debian list is using mantis.

I've tried many scenarios but I still can't get mantis to send e-mails.
The logs generated are not clear enough.

Anyone out there has had experience with this ?

my config_local.php contains no settings. below is my config_inc.php



and my contains this concerning smtp stuff

cat /usr/share/mantis/www/config_defaults_inc.php | grep smtp

$g_smtp_host = 'gate.***.com';
$g_smtp_username = 'jmcferreira';
$g_smtp_password = '***';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 25;


Any help would be much appreciated. The smtp settings are correct
because this is the smtp server I use every day.

Thank you
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321109923.2980.7.ca...@wheejy.critical.pt



Re: [OT] mantis not sending e-mail

2011-11-13 Thread Joao Ferreira Gmail
:) bull's eye :)

On Sun, 2011-11-13 at 13:14 +, Camaleón wrote:
> On Sat, 12 Nov 2011 14:58:43 +, Joao Ferreira Gmail wrote:
> 
> Did you already follow the steps detailed here? They are for Gmail but 
> the basics should also valid for other email servers. 
> 
> Please read this if you have problems with emails
> http://www.mantisbt.org/forums/viewtopic.php?f=3&t=15398
> 
> Anyway, just for testing the mailing facility of Mantis, you can use your 
> own Gmail account and follows the same steps presented there.

Thank you. I got it working now after following the steps on that link.


> - The file you are editing ("config_defaults_inc.php") is different than 
> the one of the forums guide ("config_inc.php"). Is that right?

Yes. On Debian systems there is an additional file for "local" changes:

# egrep "config_local|Attention" /usr/share/mantis/www/config_inc.php
  /* Attention: if you need to add another config params
  is highly recommended that you use the config_local.php file. */
  include("config_local.php");  

> 
> Greetings,

Thanks a lot (again). You rule Camaleón :)

Joao

> 
> -- 
> Camaleón
> 
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321194944.2995.4.ca...@wheejy.critical.pt



can I safelly remove gnome ?

2011-11-14 Thread Joao Ferreira Gmail
Hello all,

I'm going to start using xfce4.

Can I safelly "apt-get remove/purge gnome"

Or should I expect any side impacts ?

Has anyone done this before ?

thank you
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321265999.2713.5.ca...@wheejy.critical.pt



Re: can I safelly remove gnome ?

2011-11-14 Thread Joao Ferreira Gmail
On Mon, 2011-11-14 at 08:14 -0600, Hugo Vanwoerkom wrote:
> Lorenzo Sutton wrote:
> > On 14/11/11 11:19, Joao Ferreira Gmail wrote:
> >> Can I safelly "apt-get remove/purge gnome"
> >>
> > Depends on what you call 'safely' and on what you are going to remove 
> > (gnome is actually dozens of pakcages). Side effects will be all of 
> > those not-so-evidetlty-related-to-gnome packages which you might remove 
> > and which are doing important stuff on your system, for example gdm3, 
> > network manager, gedit etc. Policykit stuff probably
> >>
> >> Has anyone done this before ?
> > 
> > Yes I did it. Although I don't think just purging gnome tout-court has 
> > any motive if not experimental/learning. The best option would probably 
> > be fresh install with xfce4.
> 
> 
> 
> That's what I did: D-i Wheezy, change sources to Sid, dist-upgrade + 
> install xfce4 + all my usual packages, just no gnome-.
> 

ok guys. I guess I really should be carefull :)

Thanks for the hints.

João


> Hugo
> 
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321281112.2713.6.ca...@wheejy.critical.pt



Re: Is for this community XFCE the most common DE to replace GNOME 3?

2011-11-14 Thread Joao Ferreira Gmail
On Mon, 2011-11-14 at 20:39 +0100, Ralf Mardorf wrote:
> Hi :)
> 
> do most of you replace GNOME 3 by XFCE?
> 
> I'm undecided what to do, but I guess it would be wise to install
> parallel to GNOME 3 the most used alternative installed by users who are
> subscribed to this list.
> 
> Excepted of KDE users, XFCE seems to be the most used replacement for
> GNOME 3. Am I mistaken?
> 

I never used xfce before but I know a lot of people that do. So since I
don't like G3 very much I decided to give it a try.

So far.. so god... so what !? :) I'm planning on sticking with xfce.
It's simple, fast... does what I need. That's about it.

Cheers
João


> Cheers!
> 
> Ralf
> 
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321304433.3611.1.ca...@wheejy.critical.pt



Re: cut's counterpart: vcut ?!

2011-11-16 Thread Joao Ferreira Gmail
On Wed, 2011-11-16 at 17:15 +, Wolodja Wentland wrote:
> On Wed, Nov 16, 2011 at 16:58 +, Joao Ferreira Gmail wrote:
> > Hi all,
> > 
> > a crazy ideia just crossed my mind ?
> > 
> > Is there a command that allows me to "glue" to text files together line
> > by line ? more or like the inverse operation of 'cut' ... a vertical
> 
> Something like "paste" ?

cool :)

nice. thx

Joao

> 
> babilen@asasello: ~  $ cat a
> 1
> 2
> 3
> babilen@asasello: ~  $ cat b
> a
> b
> c
> babilen@asasello: ~  $ paste -d '' a b
> 1a
> 2b
> 3c



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321464030.2898.12.ca...@wheejy.critical.pt



Re: debian 6.03 KDE desktop

2011-11-17 Thread Joao Ferreira Gmail
On Thu, 2011-11-17 at 15:57 +0200, Johan Scheepers wrote:
> Good day,
> 
> Running Gnome desktop debian 6.03.
> 
> Kindly is there a command to add the KDE desktop to a Gnome system.
> 

"apt-get install kde-standard" should work (I did not try).

Joao

> I remember that in Ubuntu there is such a command.
> 
> On boot up you have a choice to go either way.
> 
> I have googled but could not get a clear instruction.
> 
> Some pointers please.
> Thanks
> Johan
> 
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321538812.4878.18.ca...@wheejy.critical.pt



Re: gnome 3 refugee: obstructive panel in xfce

2011-11-18 Thread Joao Ferreira Gmail
On Fri, 2011-11-18 at 20:52 +, Hendrik Boom wrote:
> I've fled from gnome 3 and am mostly happy with xfce.  But there's the 
> panel with six icons at the bottom of the screen that obscures the bottom 
> of a lot of windows.  How can I get rid  of it, or move it elsewhere?  Is 
> it possible to move it to be part of the strip at the top, for example?  
> In a pinch, I suppose I could get rid of it, because all those tools seem 
> to be available as part of the applications menu anyway. 
> 

Go to "Applications Menu -> Settings -> Panel"

Select Panel 2 and press the '-' button at the top right corner.

I did not try it but it should work.

Joao

> The screen savers are pretty, but would it be possible to have them just 
> go blank and save power when the laptop in not plugged in?
> 
> -- hendrik
> 
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321651386.3031.1.ca...@wheejy.critical.pt



Re: when did debian came into existence?

2011-12-12 Thread Joao Ferreira Gmail
On Mon, 2011-12-12 at 12:44 +, steef wrote:
> LinuxIsOne schreef:
> > HI,
> >
> > when did Debian came into existence?
> >
> >
> 
> 1993

See Ian Murdock's opinion :)

http://ianmurdock.com/linux/linux-family-tree-version-0-90/

check out the image !!

Joao


> 
> s.
> 
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1323691644.2565.37.ca...@wheejy.critical.pt



  1   2   >