Re: Offtopic: Transfer a programm from DOS to Linux

2021-11-22 Thread Daniel Haude
As I know, there are also bibg applications ported from DOS to linux 
(like
doom), I thoughtm that would be easy - just start a cross compiler, 
then fix
some issues, ready. But I believe, it is not that easy, I suppose, this 
is a
lot lot lot work. And as far as I understood, code from DOS C is far 
from

similar to Linux C.


The opposite is in fact true: the C language with its core library is 
highly standardized and portable across all platforms. There probably is 
no "more portable" computer language in existence. 
Implementation-specific libraries, however, are usually not portable, 
hence applications using these libraries must be adapted to the target 
system. And that bit is not "some issues" -- it's the real work.




Re: No sound after bullseye install

2021-10-05 Thread Daniel Haude
On Tue, 5 Oct 2021 09:52:12 +0300
Andrei POPESCU  wrote:

> > Yeah, that was it. I hadn't installed ALSA at all. I wasn't aware
> > that pulseaudio sits on top of ALSA.  
> 
> Because PulseAudio "sits on top of" ALSA it also depends on it. Some 
> command-line tools for ALSA are not installed by default though (e.g. 
> the package alsa-tools).

Right. And I needed alsactl from alsa-tools to find out that my
speakers were muted.



No sound after bullseye install

2021-10-02 Thread Daniel Haude
Hi,

after installing Debian bullseye I can't get sound to work. I'm using
lightdm + dwm, and I have pulseaudio installed. "pavucontrol" ist stuck
on the message "Establishing connection to PulseAudio. Please wait..."

I don't understand zilch about how sound on Linux works, but my
previous version of Debian on the same hardware worked.

NB, this is a fresh install, not an upgrade from buster (?).



Can't get sound to work

2015-01-15 Thread Daniel Haude
Hi all, 

this is my umptieth Debian installation I've done on various PCs over
the years, but this time the sound setup really has me stumped. I can't
hear anything unless I use aplay with -D hw:0,0 but setting that in the
configuration file doesn't help. No other sound-outputting program
works. Here's a shell excerpt: 

bl@dotcom:~$ aplay test.wav   # can't hear nothing
bl@dotcom:~$ aplay -D hw:0,0 test.wav # this plays sound
bl@dotcom:~$ cat .asoundrc
cat: .asoundrc: No such file or directory
bl@dotcom:~$ cat /etc/asound.conf 
pcm.!default {
type hw
card 0
device 0
}
bl@dotcom:~$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: Intel [HDA Intel], device 0: AD1984 Analog [AD1984 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: AD1984 Alt Analog [AD1984 Alt
Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
bl@dotcom:~$ cat /proc/asound/cards 
 0 [Intel  ]: HDA-Intel - HDA Intel
  HDA Intel at 0xfe9dc000 irq 45
bl@dotcom:~$ 


-- 
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/20150115212155.01420526@dotcom.mfs32



Re: What am I missing without mutt?

2008-02-05 Thread Daniel Haude
On Tue, Feb 05, 2008 at 10:01:16AM +0200, Dotan Cohen wrote:

 I see what you are saying. Tell me, in mutt can I have several (5-6)
 compose messages open and switch between them and the main window that
 I'm copying / pasting from?

No, at least not in a single instance.

 Also, will mutt remember that when I write
 to [EMAIL PROTECTED] I need the From address to be [EMAIL PROTECTED],
 and when I write to [EMAIL PROTECTED] I need the From address to
 be [EMAIL PROTECTED]

You can set all that with those omnipotent hooks, but no, mutt won't
remember it in the sense that it will automatically keep doing it after
you've done it once.

 Those two features are necessary to my workwflow,
 and so far as I understand only GUI mail clients perform the former,
 while only Thunderbird (with an extension) can perform the latter.

Have you looked at Claws? It's amazing, and a ton faster than TB. I find it
neater all around. Carries no HTML baggage with it whatsoever.

--D.


signature.asc
Description: Digital signature


How to set up a WLAN?

2008-02-05 Thread Daniel Haude
Hello,

this message is all the more strange since I had wireless up and running
with Debian once. But that system got hosed about a year ago for some reason
or another, and now I've got it set up again and I'm completely stumped with
the WLAN thingy.

$ lsusb
Bus 005 Device 003: ID 2001:3c00 D-Link Corp. [hex] DWL-G122 802.11g rev. B1
[ralink]

OK, this is a Ralink RT2500 chipset. I've built the rt2500usb module and
loaded it. ifconfig wlan0 up worked.

I'd like to connect to the public network that's set up around the campus.
What do I have to do to make it happen? Everybody else's Windoze and Mac laptop
simply connects to whatever network it happens to find.

There is a utility with the promising name iwspy, but that tells me:

  wlan1 Interface doesn't support wireless statistic collection

Don't know what that means except that it doesn't work.

There are two Debian packages for this chipset: rt2500-source and
rt2x00-source. They provide different modules, but neither really seem to
work.

I do remember using some tools when I had this set up about a year ago that
listed all networks in the vicinity, and dumped screen upon screen of
network traffic. After an afternoon of playing with this stuff, straight
from Debian stable packages. Now I've been trying this for three days and
I'm not getting anywhere. Am I getting too old?

Thanks,
--D.




signature.asc
Description: Digital signature


Re: How to set up a WLAN?

2008-02-05 Thread Daniel Haude
On Tue, Feb 05, 2008 at 06:40:30AM -0800, Angus Auld wrote:

 I don't have any rt-2xxx or rt-25xx packages
 installed, so support 
 must be compiled in the kernel(?).

Those are just the modules. Can you do a lsmod | grep rt to see which one
you've actually loaded?

wifi-radar doesn't work either. It's always Interface doesn't allow
scanning.

--D.


signature.asc
Description: Digital signature


exim question

2008-01-26 Thread Daniel Haude
Hello,

Due a to an error in my /etc/exim4/passwd.client, quite a bit of mail was
refused by the remote SMTP relay host. I now fixed it but can't find the
messages any more. Does exim dump them? I still have them in my sent-mail
folder and can bounce them, but I thought there maybe was some queue
seomwhere.

Thanks, --D.


signature.asc
Description: Digital signature


How to do SMTP AUTH with exim?

2008-01-23 Thread Daniel Haude
Hello,

I'm trying to send out email using exim. As I'm behind a firewall I
can't just connect to any arbitary SMTP server out there but have to
relay through my institution's SMTP server which requires
authentification. Unfortunately I haven't found any information on
how to make exim authentificate on OUTGOING SMTP connections.

Thanks,
--D.


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



Resurrecting ancient IOMEGA ZIP drive

2007-05-23 Thread Daniel Haude
Hello folks,

for one last time I wanted to set in motion my old, parallel-port
IOMEGA Zip Drive to back up my stack of disks before I retire (read:
dump in the trash) the whole shebang for good.

I think the proper driver is ppa. I connected everything but nothing
happens. Happens in the sense that anything gets added in
the /dev/disks/ directory tree when I insert a disk in the drive. I
tried rmmoding all parallel port-related modules and modprobing only
ppa, but no change. The module loaded without error though.

All this is sooo long ago, I really can't remember how it worked back
in the days of the 1.xx.yy kernel which is probably the last time I
used this thing.

I know there were two versions of the parallel-port ZIP, and my drive
is the older one.

Here's some modprobe output, if it is of any interest:

kir:/dev# modprobe -v ppa
insmod /lib/modules/2.6.18-4-k7/kernel/drivers/parport/parport.ko
insmod /lib/modules/2.6.18-4-k7/kernel/drivers/scsi/ppa.ko
ppa: Version 2.07 (for Linux 2.4.x)
pnp: Device 00:0a activated.
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3
[PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
kir:/dev#

Thanks,
--D.


pgpBouCS4GVu8.pgp
Description: PGP signature


less or man clear-screen issue

2007-04-10 Thread Daniel Haude
Hello,

when viewing man pages (or any kind of file, really) with less, what
bugs me is that less restores the screen content before its execution on
exit. Which means that I always need to switch between two terminals (or
use screen) when I need to keep an eye on the manpage while trying to
compose a difficult command line. I'd prefer to be able to quit less
(and man) at the point of interest and just get my propmt back, with the
remains of the manpage still on screen. more does this, but I prefer less.

Is there an option to turn this behavior off? I haven't found any in the
less manpage.

--D.



signature.asc
Description: OpenPGP digital signature


After Sarge-Etch update: Computer doesn't boot. Wife unhappy.

2007-01-29 Thread Daniel Haude
Hello,

After I did a sarge-etch update on the weekend the machine frequenty
hangs during bootup with the message: waiting for root filesystem. All I
can do is type reboot at the (initramfs) prompt, then it reboots and
usually gets beyond that point.

But of course now I'm in my office, and my wife called: Computer doesn't
boot. She rebooted it no less than four times (including  turning it off
and on again), and it always hangs with that message. She needs to work
from home, and my computer is the print server.

Now we're both unhappy.

What can have happened there?

--Dan


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



DVD ROM Drive mounting confusion

2007-01-18 Thread Daniel Haude
Hello,

in my box I have a DVD-ROM drive and a DVD burner. I ide-scsi'd both of
them (because I occasionally use multi-session DVDs which, when using
the ATAPI driver, are not mountable any more if the last session is
beyond a certain position). This sould make the drives appear as
/dev/scd0 and /dev/scd1. However, regardless of whether I mount
/dev/scd0 or /dev/scd1, I always get the disk in the DVD burner (hda)
mounted and never the one in the DVD ROM (hdb).

Hints, anyone?

Attached below is the output of dmesg and cdrecord -scanbus, all of
which looks fine to me:

[EMAIL PROTECTED]:~$ dmesg | grep hd
Kernel command line: root=/dev/hdc3 ro hda=ide-scsi hdb=ide-scsi
ide_setup: hda=ide-scsi
ide_setup: hdb=ide-scsi
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio
hda: _NEC DVD_RW ND-3500AG, ATAPI CD/DVD-ROM drive
hdb: TOSHIBA ODD-DVD SD-M1802, ATAPI CD/DVD-ROM drive
hdc: SAMSUNG SV1604N, ATA DISK drive
hdc: attached ide-disk driver.
hdc: 312581808 sectors (160042 MB) w/2048KiB Cache, CHS=19457/255/63,
UDMA(100)
hda: attached ide-scsi driver.
hdb: attached ide-scsi driver.
[EMAIL PROTECTED]:~$ cdrecord -scanbus

Linux sg driver version: 3.1.25
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) '_NEC' 'DVD_RW ND-3500AG' '2.18' Removable CD-ROM
0,1,0 1) 'TOSHIBA ' 'ODD-DVD SD-M1802' '1034' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
[EMAIL PROTECTED]:~$


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



Re: How to get those nice console fonts?

2007-01-17 Thread Daniel Haude
Andrew Sackville-West wrote:

 I don't know much about this, but you seem to have 2 vga= options
 above. that could be part of the problem.

Look, wise guy. There's a good reason why there are 2 such options
given. In case you haven't figured it out youself, I'll tell you:

 I A M F U C K I N G S T U P I D

...that is to say, errr, thanks a lot for pointing it out! Sheesh! How
embarassing.

Problem solved.

--Daniel


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



How to get those nice console fonts?

2007-01-16 Thread Daniel Haude
Hello,

I'd like to have my console (non-X) fonts small and neat like Knoppix's.
I tried the various vga=xxx kernel options but all of them produced
bigger and uglier fonts.

How is it done?
--Daniel


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



Re: How to get those nice console fonts?

2007-01-16 Thread Daniel Haude
Florian Kulzer wrote:

 I use vga=0x303 and that looks exactly like Knoppix's fonts on my
 terminals. However, I think this also depends on the kernel
 configuration options related to the console fonts. Here is what I have:
 
 $ grep -i font /boot/config-$(uname -r)
 # CONFIG_FONTS is not set
 CONFIG_FONT_8x8=y
 CONFIG_FONT_8x16=y
 
 (I use a self-compiled kernel, therefore I do not know how the stock
  Debian kernels are set up in that respect.)

My stock kernel (2.4.27-3-k7) gives the same settings, but doesn't let
me change anything. In fact it seems to ignore any of the vga= options,
including vga=ask. Here's what I see in dmesg's output:

Kernel command line: root=/dev/hda5 ro vga=4 hdc=ide-scsi hdd=ide-scsi
vga=791
Initializing CPU#0
Detected 2104.783 MHz processor.
Console: colour VGA+ 80x30

This is sad because it's a non-X system and I'd like to see some more
info on the console screen.

Thanks for any hints,
--Daniel



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



Re: How to get those nice console fonts?

2007-01-16 Thread Daniel Haude
Ismael Valladolid Torres wrote:

 I use vga=791 however it depends on your video card to support it.
 
 Which video card is it?

[EMAIL PROTECTED]:~$ lspci | grep VGA
:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce
FX 5200] (rev a1)


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



Re: How to get those nice console fonts?

2007-01-16 Thread Daniel Haude
Florian Kulzer wrote:

 I use vga=0x303 and that looks exactly like Knoppix's fonts on my
 terminals. However, I think this also depends on the kernel
 configuration options related to the console fonts. Here is what I have:
 
 $ grep -i font /boot/config-$(uname -r)
 # CONFIG_FONTS is not set
 CONFIG_FONT_8x8=y
 CONFIG_FONT_8x16=y
 
 (I use a self-compiled kernel, therefore I do not know how the stock
  Debian kernels are set up in that respect.)

My stock kernel (2.4.27-3-k7) gives the same settings, but doesn't let
me change anything. In fact it seems to ignore any of the vga= options,
including vga=ask. Here's what I see in dmesg's output:

Kernel command line: root=/dev/hda5 ro vga=4 hdc=ide-scsi hdd=ide-scsi
vga=791
Initializing CPU#0
Detected 2104.783 MHz processor.
Console: colour VGA+ 80x30

This is sad because it's a non-X system and I'd like to see some more
info on the console screen.

Thanks for any hints,
--Daniel


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



Re: getting xorg working on an old box .....

2007-01-12 Thread Daniel Haude
Jakub Narojczyk wrote:

 Hi gdm and kdm are both resource consumeing so i recomend using xdm or
 just startx command on an old machine. Especially when You're short on
 RAM.

Yes they are. gdm a lot more so than kdm (I chucked gdm because I
thought it was even too slow on my 3GHz Athlon).

 After running the window manager the ?dm's don't do nothing more
 than stay in the memory till You finish Your xsession.

Actually they will be swapped out, so after the actual X session starts,
 they won't consume any valuable RAM.

Anyway, I agree with your advice: Use xdm, or no desktop manager at all.

--Daniel


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



DVD ROM Drive confusion

2007-01-11 Thread Daniel Haude
Hello,

in my box I have a DVD-ROM drive and a DVD burner. I ide-scsi'd both of
them (because I occasionally use multi-session DVDs which, when using
the ATAPI driver, are not mountable any more if the last session is
beyond a certain position). This sould make the drives appear as
/dev/scd0 and /dev/scd1. However, regardless of whether I mount
/dev/scd0 or /dev/scd1, I always get the disk in the DVD burner (hda)
mounted and never the one in the DVD ROM (hdb).

Hints, anyone?

Attached below is the output of dmesg and cdrecord -scanbus, all of
which looks fine to me:

[EMAIL PROTECTED]:~$ dmesg | grep hd
Kernel command line: root=/dev/hdc3 ro hda=ide-scsi hdb=ide-scsi
ide_setup: hda=ide-scsi
ide_setup: hdb=ide-scsi
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio
hda: _NEC DVD_RW ND-3500AG, ATAPI CD/DVD-ROM drive
hdb: TOSHIBA ODD-DVD SD-M1802, ATAPI CD/DVD-ROM drive
hdc: SAMSUNG SV1604N, ATA DISK drive
hdc: attached ide-disk driver.
hdc: 312581808 sectors (160042 MB) w/2048KiB Cache, CHS=19457/255/63,
UDMA(100)
hda: attached ide-scsi driver.
hdb: attached ide-scsi driver.
[EMAIL PROTECTED]:~$ cdrecord -scanbus

Linux sg driver version: 3.1.25
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) '_NEC' 'DVD_RW ND-3500AG' '2.18' Removable CD-ROM
0,1,0 1) 'TOSHIBA ' 'ODD-DVD SD-M1802' '1034' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
[EMAIL PROTECTED]:~$


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



Installing Fonts

2006-12-21 Thread Daniel Haude
First off - I can't believe I'm the only person having this trouble, but
I couldn't find any useable information about this on the Net.

Well, I'm trying to install a collection of TTF fonts on my Debian
system. The strange thing is that I've managed it once but can't
reproduce the way I did it. I added an appropriately named subdirectory
under /usr/share/fonts/truetype in which I placed the fonts. Then, after
failing to get my head around a single font-related manpage I ran a few
of the scripts and programs I found mentioned and all of a sudden I
could use the fonts.

Then I tried it a again, about one hour later. After an hour's worth of
failing completely, I gave up.

Of all the font-related manpages, I found defoma-user's the most
enlightening. It consists of a single line that says:

I have no idea what defoma-user does just yet.  I'm working on it..

Can anybody point me to some intelligeble information on this subject?
The way I think this /should/ work is:

1. Place new fonts into some specific directory or a subdirectory
   thereof
2. Run some script that scans the fonts directory tree to build
   some database/cache (actually, fc-cache seems to do just that.
   But I can't see any useful result.)
3. Possibly restart X
4. Use the fonts



The fact that there seems to be no mechanism that works just like that
indicates that font management under X is infintely more complicated
than I can begin to fathom. Why is that?

Thanks,
--Daniel


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



Re: Reliability of deborphan?

2006-12-13 Thread Daniel Haude
On Tue, 12 Dec 2006 14:07:24 +0100, Rob Bochan [EMAIL PROTECTED]  
wrote:



you what's safe to delete. In one instance, the Opera browser has (had?)
motif dependencies. However, because Opera is not a Debian package, and
doesn't actually fail to install without the libmotif package, deborphan  
will

happily tell you that that the libmotif package is on its orphaned (no
dependencies on it) list.


Just for information - Opera is being distributed as a .deb since at least  
version 6, and at least the current version I'm running (9) doesn't have  
any motif dependencies. It probably hasn't for some time because I've been  
using it since 6 and can't recall having thrown out motif.


--Daniel


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




Re: Why root fs read-only on shutdown?

2006-11-14 Thread Daniel Haude
On Fri, 10 Nov 2006 17:29:02 +0100, Douglas Tutty [EMAIL PROTECTED]  
wrote:



In my S40unmountfs:


echo -n Unmounting local filesystems...
umount -tnoproc,noprocfs,nodevfs,nosysfs,nousbfs,nousbdevfs,nodevpts -d  
-a -r

echo done.

# This is superfluous.
mount -n -o remount,ro /


The umount -r means that in case unmounting fails, remount ro,
which therefore makes the mount -o remount,ro superfluous.

If you disable both attempts to remount ro and either power off or fsck,
you risk corruption.


Ah, I missed the -r subtlety. All this makes sense. Thanks.

--Daniel


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




Re: Why root fs read-only on shutdown?

2006-11-10 Thread Daniel Haude
On Fri, 10 Nov 2006 00:47:14 +0100, Douglas Tutty [EMAIL PROTECTED]  
wrote:



Before power off, the filesystem has to be unmounted or it risks
corruption.  Since its being used (is busy) by the very scripts trying
to unmount, it can't.  The answer is for it to be remounted ro.


Makes perfect sense. I'm just wondering where this remounting occurs
if it was disabled in umountfs.sh


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




Why root fs read-only on shutdown?

2006-11-09 Thread Daniel Haude

Hello,

every day I turn my computer off when I leave work. Consequently, I have  
to turn I back on when I get back. About twice a week, of course, one of my
6 harddisk partitions is ready for its routine check on startup which  
costs me precious worktime. In an attempt to gain maybe 2 hours cumulative  
over my entire work life, I came up with the following brilliant idea: To  
my custom shutdown script (which backs up my day's work and does some  
cleanup) I added the line:


touch /forcefsck

and placed this symbolic link in rc0.d:

S41checkfs.sh - ../init.d/checkfs.sh

(right after S40umountfs - ../init.d/umountfs). The idea being that I  
don't care how long the machine works before powerdown as by that time I'm  
well on my way home.


It didn't take me long to discover that init.d/umountfs remounts /  
read-only, preventing checkfs.sh to wipeout the /forcefsck flag, but as  
the remount line was commented as superfluous in init.d/umountfs I took  
the liberty to comment it out.


Anyway, checkfs.sh still can't delete the flag because rm still says that  
the root fs is read-only. This of course results in *every* partition  
being force-checked on *every* startup, which is the exact opposite of  
what I had been trying to accomplish. A grep on remount in init.d,  
however, revealed that there are no other scripts that remount / as  
read-only.


So how come that / is read-only by the time I get to my ingenious  
rc0.d/S41 hack?


Needless to say that the quest for the answer has by now cost me much more  
time than I had hoped to save. But my curiosity is tickled.


Thanks for any insight:
--Daniel


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




Re: Why root fs read-only on shutdown?

2006-11-09 Thread Daniel Haude

On Thu, 09 Nov 2006 10:27:12 +0100, Bill Marcum [EMAIL PROTECTED] wrote:


If you try to fsck / while it is mounted read-write, you will be
warned that this is a very bad idea.


Note that I don't try to check / on shutdown, and / also isn't checked by  
checkfs.sh.
I'm wondering what makes / read-only on shutdown. It isn't umountfs,  
because I've

commented out the relevan remount line.


make a copy of the checkfs script and modify it to
do fsck -f.


Don't have to if /forcefsck is there.

--
[EMAIL PROTECTED]


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




Re: Need help with apt-move

2004-03-24 Thread Daniel Haude
On Tue, 23 Mar 2004 06:00:11 +0100,
  Kevin Mark [EMAIL PROTECTED] wrote

 try these and see if you can interpret these results better.
 dpkg -l|awk '{print $1}'|sort|uniq -c
 grep Status /var/lib/dpkg/status|sort |uniq -c

Hi Kevin,

thanks, but the numbers don't change: 850+ packages installed, but only
about 200 downloaded by apt-move.

Still trying...


--Daniel


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



How can I make a local package repository available to apt?

2004-02-25 Thread Daniel Haude
Hi folks,
 
I've got a collection of a bunch of debian packages. They're not organized in any way, 
just a directory full of .debs. How can I make apt recognize  this repository? I tried 
adding
 
deb file:/home/dh/download/debian/
 
to the apt-sources file, but of course apt balks at this as it is malformed because 
it doesn't have the sections listed after the directory. The
 .debs come from all sorts of sections of the official debian distro. How can I make 
this work?
 
Thanks, --Daniel
__
Extra-Konto: 2,50 %* Zinsen p. a. ab dem ersten Euro! Nur hier mit 25
Euro-Tankgutschein  ExtraPrämie! https://extrakonto.web.de/?mc=021110


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



Re: How can I make a local package repository available to apt?

2004-02-25 Thread Daniel Haude
Martin Dickopp [EMAIL PROTECTED] schrieb am 25.02.04 11:09:28:

 You need to run dpkg-scanpackages. Read the Debian Repository HOWTO
 http://www.isotton.com/debian/docs/repository-howto/repository-howto.html.

Simple enough, as I expected. I just didn't know where to look. Thanks also to the 
other posters who replied equally helpfully. --Daniel



__
Extra-Konto: 2,50 %* Zinsen p. a. ab dem ersten Euro! Nur hier mit 25
Euro-Tankgutschein  ExtraPrämie! https://extrakonto.web.de/?mc=021110


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



Re: BUG

1999-11-01 Thread Daniel Haude
On Sat, 30 Oct 1999, Kent West wrote:

 smoothly as it should have (for whatever reason). Although this
 next idea is a child of the Windows mentality, you might want to
 redo the install from the beginning. A more experienced person
 would fix the problem rather than reinstall, but a newbie from
 the Microsoft world might find a reinstall both educational and
 helpful.

You don't need to come from the Microsoft world to find this useful. I've
been a long-time user of a small (non-X) Slackware system and switched to
Debian a short while ago. I've now installed the system three times over,
but I now got it down and think that Debian is a great system.

The reason for this is that the Debian package management is quite non-
intuitive, but it works great once you've got it figured out. During the
package selecting/configuring phase of my first install, I missed the
significance of many package settings or interrelationships between
packages and didn't understand what dselect tried to tell me about it. So
I ended up with a buggy, non-working installation. Much of my trouble,
however, was in my case also owed to a definitely faulty hardware.

I now know what it means if they tell you: Debian is NOT for the beginner,
but also an experienced Linux user will have minor troubles. After a few
frustrating days and a few re-installs, however, you are an experienced
Debian user with an extremely well-built system where everything is to be
found in the right place. Something you can't say after the first SuSE
install which most likely runs quite smoothly. Nothing against SuSE, btw.
It's just that it doesn't _force_ you to get acquainted with it, so if you
run into trouble later, it's more difficult to get out again.

--Daniel


How to force reconfiguring of a package?

1999-10-25 Thread Daniel Haude
Hi folks,

I have two questions related to Debian package management.

1) My apache server doesn't start up. When I manually try to start it, it
complains that it can't figure out the hostname of the local system.
Weird, because hostname returns the correct name. Anyway, I suspect that
something went wrong during the post-installation configuration, so I'd
like to re-run that script. dpkg --configure package.deb, however,
doesn't want to do anything on the grounds that the package is already
properly set up. Un-installing and re-installing seems a bit like
overkill, and dselect of course bitches a lot about the stuff that
depends on a web server and wants to uninstall it, too (I know I can force
dselect to keep those things, but it's easy to fuck up anyway). So my
question actually comes down to a special and a general one:

1a) Why dosn't apache know the name of its host, and where does it try to
get it from?

1b) How to re-configure an already installed and configured package?



2) Since I also have plenty of non-debian related trouble with this
computer, I have installed Debian for the third time now. Is it possible
to save the entire setup of the system in such a way (preferably on a
floppy disk) that for a re-installation all I would have to do is pop in
the distribution disk and the saved installation, go and drink coffee, and
come back to the ready-installed system an hour later? This would also be
interesting if one wanted to set up a lot of computers in a row. BTW, on
my first two installation the apache server started up without trouble. I
don't know what I did differently.

**Daniel


Re: getting sysclock to match hwclock

1999-10-25 Thread Daniel Haude
On Mon, 25 Oct 1999, Patrik Magnusson wrote:

 My system clock has been keeping time rather poorly. The
 hardware-clock on the other hand hasn't lost a second in
 over two months. 
 
 I tried to use adjtimex to get the system clock to match the 
 hardware clock, unsuccessfully. First i tried adjtimex --adjust
 resulting in the system clock losing more than five minutes in 
 a day. Then I tried adjtimex -u --adjust, resulting in the
 system clock losing 20 minutes a day.
 
 I just want the system clock to match the hardware clock.
 Please help.

All I can offer in this matter is that, despite of many hours of trying
and reading manuals, I have never ever managed to figure out the system /
hardware clock interrelationships with Linux. I have an old computer whose
hw clock loses several minutes a day, and with hwclock and friends this
should be fixable (since the deviation is known, the real time can be
computed from the faulty BIOS clock on power up). I never got it to work
and I now live with the fact that I'm days behind.

My new computer's hw clock is set to GMT and runs fine. My timezone is set
one hour off GMT (Central European), but date shows a time that's five
hours late. I just stopped caring.

--Daniel


Re: trashing Netscape (was Netscape 4.71 Is Rock Solid Fast!)

1999-10-25 Thread Daniel Haude
On Mon, 25 Oct 1999, jack wrote:

 It crashes Netscape (Navigator) on my machine.  There's nothing to
 protect.  Everybody knows netscape sucks for now.

 However, fact is fact.

Haven't had netscape trouble under Linux yet (I don't use it much), but on
an IRIX 6.4 system it dumps core the instant I click on a mailto: link. Of
course it started this habit only half a year ago without appearent
reason. If I open the Mail server configuration window and close it
again without changing anything, everything works afterwards.

--Daniel


Re: dvips -d 2400 How??? default printer does not support 2400dpi

1999-10-21 Thread Daniel Haude
On Wed, 20 Oct 1999, Laurent PICOULEAU wrote:

  ljfour and 2400 even though I specified that it should use a 2400dpi
  printer that I found in modes.mf , supre to be exact. Anyclues would be
   
 this only concern metafont to produce a dvi. dvips relies on ghostscript
 (either gs or gs-alladin) to do the conversion.

What does dvips need ghostscript for? 

--Daniel


How to shut up dselect?

1999-10-21 Thread Daniel Haude
Hi,

I have a question related to installing non-debian programs:

When I first installed Debian 2.1, I noticed that it came with teTeX 0.9.
I un-installed that and installed teTeX-1.0 from the CTAN archive. Of
course, the debian package manager doesn't know about this, so whenever I
use dselect, it comes up with this old some package needs teTeX line. I
once even didn't notice and let dselect have its way, so all of a sudden
it started installing teTeX 0.9. I hit Ctrl-C to stop that (I know, bad
idea), and now teTeX 0.9 is so fucked up that dselect won't even
un-install whatever fragments it managed to put on the disk. It tells me
to install it first and then un-install it. 

In this case, this is not a big problem because I have teTeX entirely
under its own tree in /usr/local/teTeX, so messing around with another
version will not do any damage. But if I had installed teTeX-1.0 in the
same place as 0.9, it would now certainly be broken. 

Is there a way to tell dselect: I installed sucha-and-such myself, it's
there, so stop bitching (and remember next time)? I know that this is
somewhat against the whole idea of packet management. Is making a .tar.gz
into a .deb package the only clean way? What if I don't want to make the
.tar.gzipped source tree the packege, but the make installed result
(with all its files scattered in various places of the system)?

Enough questions for today.
--Daniel


Re: System crashes using 2.2.1 kernel with ATI Rage Fury

1999-10-20 Thread Daniel Haude
On Wed, 20 Oct 1999, Adam Wojnicki wrote:

 I experience problems using my ATI Rage Fury (ATI Rage 128) video card
 with 2.2.x kernel.
 With 2.0.36 kernel I use a XRage128 server from SUSE and everything
 works fine.

I use the same card and X server and I upgraded from 2.0.36 to 2.2.12
without a hitch. Seems to be the only problem I *don't* have. Try 2.2.12
and see what heppens. Good luck!

--Daniel