Re: firewall options

2002-10-15 Thread Guy Geens

> "john" == john gennard <[EMAIL PROTECTED]> writes:

john> There are a number of 'annoying' things with Smoothwall despite
john> a lot of write ups. A ppp profile was partly configured in the
john> setup and my moden was identified as being on 'COM1'. No changes
john> can be made to a profile 'while RED is active' and I can't find
john> how to deactivate the channel without going well back into the

I helped a friend set up Smoothwall for his ADSL connection.

On the first tab, there is a button that allows you to deactivate the
RED interface.

Smoothwall has a reasonably good (but rather terse) configuration
manual. It is separate from the installation manual.

Most of the configuration can be done with a browser.

john> Any suggestions what I should consider doing? Whichever way I
john> proceed, I shall need help in configuring my boxes to 'go
john> through the firewall' to get email, download data and browse
john> etc.

I have a Debian box set up as a router/firewall.

Short configuration guide:
- install a minimal Debian system
- activate IP Masquerading
- install the ipmasq package
- use netstat -a to find all open network ports and remove packages
  you don't need (especially inetd)

Ipmasq will configure masquerading. You should need only a minimal
amount of configuration, unless you want to run some services on the
firewall. (The package uses a set of shell scripts that are reasonably
simple once you figure it out.)

On the internal machines, you only need to set the DNS addresses and
you're set. The firewall will relay all traffic as expected, while
blocking incoming connections.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'


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




Re: shrink partition with fdisk

2002-10-01 Thread Guy Geens

> "Brian" == Brian Stults <[EMAIL PROTECTED]> writes:

Brian> Hello, I just used resize_reiserfs to shrink a reiserfs
Brian> partition. It worked fine, and df is reporting the device size
Brian> that I expected. However, fdisk still reports the old size. How
Brian> can I shrink the partition in fdisk so it reports the correct
Brian> size, without harming the contents of the device? I'm assuming
Brian> that if I simply delete the partition in fdisk, and then
Brian> re-create it smaller, my data will be lost.

Deleting a partition does not remove the data, nor does creating a new
one in the same place.

Make sure that the new partition starts at the same place as the old
one, and that it's large enough to hold the complete filesystem.
Remember to include the space taken by the file system metadata. For
Reiserfs, that includes 32 MB for the journal + some more for other
structures. Df doesn't include those.

Make a backup before doing anything to your partition table.

Good luck.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'


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




Re: mgetty hangs machine

2002-10-01 Thread Guy Geens

> "martin" == martin f krafft <[EMAIL PROTECTED]> writes:

martin> i don't think this makes sense and would like to change it. do
martin> you have suggestions on how to go about preventing mgetty from
martin> freezing the machine in case of a disconnected modem?

Most likely a hardware problem. If you have 2 serial ports, try
connecting the modem to the other one.

Does this also happen if mgetty is not running?

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'


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




Re: Bugzilla setup

2002-10-01 Thread Guy Geens

> "Robert" == Robert Kerr <[EMAIL PROTECTED]> writes:

Robert> installed, and mysql-server, but when I try to install
Robert> bugzilla I get: Setting up bugzilla (2.14.2-0woody1) ...
DBI-> connect(;localhost;3306) failed: Access denied for user:
Robert> 'root@localhost' (Using password: YES)

Robert> Any thoughts on where to go from here?

Do you have a mysql user called 'root'? And does this user have
administrator privileges?

Can you use `mysql -P' to access the database?

Try `dpkg-reconfigure bugzilla' to reenter the password.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'


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




Re: Just a tip for you zip100 users

2002-09-27 Thread Guy Geens

> "Deryk" == Deryk Barker <[EMAIL PROTECTED]> writes:

Deryk> The reason it's partition 4 is apparently to do with Mac
Deryk> compatibility.

IIRC, it's Windows compatibility. When Windows starts up, it scans all
devices and assigns drive letters. (WinNT and Win9x have a slightly
different algorithm, to make life interesting.)

Now, if there is a disk in the drive at startup, Windows assigns a
drive letter. Otherwise, it ignores the zip. When you actually use the
disk, the next drive available letter is used.

I don't remember the details, but using partition 4 ends up last in
the sequence. This prevents Windows from getting confused by drive
letters that have changed.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'


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




Re: first kernel belongs to package?

2002-09-25 Thread Guy Geens

> "Anders" == Anders Lennartsson <[EMAIL PROTECTED]> writes:

Anders> I mean when a fresh install of Debian is made on a, say
Anders> previously empty, box, there seem to be no package that owns
Anders> the first kernel,

This is correct, and it's been a pet peeve of mine for a long time.

You could file a wishlist bug against the boot-floppies package.

Anders> I've normally compiled my own kernel-packages, perhaps the
Anders> standard kernel packages remove it when they are installed?

The standard kernel packages will replace the installation kernel if
you use the same "flavor" as the one you used for the installation (I
think).

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'


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




Re: swap confusion

2002-09-08 Thread Guy Geens

> "Joerg" == Joerg Johannes <[EMAIL PROTECTED]> writes:

Joerg> ahead and set the priority in /etc/fstab with pri=PRIORITY, but
Joerg> wait... the man page tells me that swap priority can have any
Joerg> non-negative value, but the above kern.log tells me both
Joerg> partitions have a negative value. Could someone please
Joerg> enlighten me what this is all about?

If you don't add a priority yourself, the kernel generates a number
for you. And those numbers are negative.

The swapon() system call only lets you specify a number greater than
0. This means, those swap partitions where a priority is used are used
in preference to the ones that have an automatic one.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'


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




Re: Adding new kernel modules

2002-03-11 Thread Guy Geens
> "Patrick" == Patrick Dahiroc <[EMAIL PROTECTED]> writes:

Patrick> hi i've been running kernel 2.4.17 for a week now and things
Patrick> are great even sound is working as a module. what i want to
Patrick> do now is to have reiserfs as a module. is it possible to
Patrick> just build the desired module and not reinstall a new kernel?

Use make modules in the source directory, and then make
modules_install.

If you have only added modules to the current configuration (and not
ran make clean on the kernel source), this should work.

I never tried it though, and I don't really recommend it.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: How to get sound with MSI a K7T266 Pro2

2002-01-13 Thread Guy Geens
> "R" == R Pac <[EMAIL PROTECTED]> writes:

R>  which options in the 2.4.17 kernel configuration should I
R> check to get sound with the sound card integated on the MSI
R> maincard K7T266 Pro2.

You will need ALSA. The driver you need is called `snd-card-via8233'.

I just bought the same motherboard this week, and I'm in the middle of
getting the sound to work.

Good luck!

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: shell-init: could not get current directory: getcwd: cannot access....

2002-01-09 Thread Guy Geens
> "Alexander" == Alexander Wallace <[EMAIL PROTECTED]> writes:

Alexander> shell-init: could not get current directory: getcwd: cannot
Alexander> access parent directories: No such file or directory

This either means your current directory has been deleted, or you
don't have permissions to read the current directory.

Try this:
ls -ld .

This should give you a line like this:
drwxr-xr-x   87 ggeens   ggeens   5464 Jan  9 19:27 .

If you don't have read or execute permissions, set them with the
following command:
chmod a+rx .

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: /lib/modules/`uname -r`_[0-9]* ???

2002-01-05 Thread Guy Geens
> "martin" == martin f krafft <[EMAIL PROTECTED]> writes:

martin> can't say when this started, but what the heck are directories
martin> like 2.4.17+time_3573 and 2.2.20-compact_2169 doing in
martin> /lib/modules??? 2.2.20-compact isn't even install (2.4.17+time
martin> *is* my kernel image), and i remember deleting the

If you install the same kernel version several times, kernel-package
tries to move the old modules out of the way. (The installation script
should ask you whether you want that.)

(Normally, I don't use that option and delete the modules directory
manually.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Swap Partition/File

2001-12-29 Thread Guy Geens
> "Paul" == Paul A Thomas <[EMAIL PROTECTED]> writes:

Paul> 1: I've booted from disk (CD) 1 and 2: both state they are
Paul> recovery disk/boots... but then allow you to go into the
Paul> installation applet.

The Debian installation disks/CDs also double as recovery CDs. You can
use it to install the system (by following the screens), or you can
switch to a different console (with Alt-F2) and enter a shell to
restore a system.

Paul> 2: Related to #1 above: How many CD's should there be for
Paul> Debian's current release? I have three however in reading the
Paul> man (manual?) page for cfdisk at debian.org they reference 4
Paul> CD's.

The fourth CD is most likely the `non-free' CD which contains programs
that cannot be freely distributed. You don't need that for a first
install. (Although it contains some useful programs.)

You can check on http://cdimage.debian.org if they provide a download.
(Site is down at this moment.)

If you have internet access, you can specify that you want the
non-free packages in the post-installation.

Paul> my goal here is to create a 'kernel' partition of 5 megs, a 10
Paul> meg Swap partition, and whatever for general file use. I can
Paul> create all of the partitions and can make one of them a 'swap'
Paul> partition, however the  GUI? ( Graphical interface of
Paul> dbootstrap which uses keyboard command to negotiate through it
Paul> ), after I write the changes to the drive, tells me I need to
Paul> create a swap drive. If I try to activate the partition I just
Paul> created and marked as a 'swap' partition the program states
Paul> there are no new 'swap' partitions on the drive.

In cfdisk, create the partitions. For the swap partition, you need to
change the partition type to `linux swap'. Press `t', scroll down the
list of partition types, and accept the default (82). When offered the
choice to initialize the swap partition, you should be able to select
it.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: How X keyboard maps work in Deb

2001-12-28 Thread Guy Geens
> "Greg" == Greg Wiley <[EMAIL PROTECTED]> writes:

Greg> Does Debian put the 'kbd' file in /etc/X11? Is it even needed
Greg> under Debian or is some other mechanism used to do keyboard
Greg> mapping? If it turns out that I need the file, what package
Greg> contains it?

AFAIK, X11 doesn't use a `kbd' file. This is probably something for
another distribution.

You need to edit the file /etc/XF86Config (or /etc/XF86Config-4). Look
for lines like this:
Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us"
EndSection

Change the XkbLayout parameter to the keyboard you have.

(Alternatively, run xf86config to review all X11 settings.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Using Archives

2001-12-27 Thread Guy Geens
> "Stephen" == Stephen Brown <[EMAIL PROTECTED]> writes:

Stephen> How do I use archives?

It looks lik a Smartlist archive. The `latest' directory contains only
(surprise!) the latest messages sent to the list. How many is a
parameter set by the administrator.

In your example, it seems that a new message arrived between your
request for the directory and the retrieval of the file. This has
caused Smartlist to delete the file (and save a new one).

Long-term archives are available in the archives (IIRC) directory.
(Note that this is also subject to configuration options - the list
admin may have disabled that feature.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: User process killer script..

2001-12-27 Thread Guy Geens
> "Petre" == Petre Daniel <[EMAIL PROTECTED]> writes:

Petre> much free time on yourself..i don't. I was thinking at a script
Petre> run either from root's crontab that would check all processes
Petre> and if the users that started them are not logged in (here i'm
Petre> stucked)

Maybe it's not exactly what you want, but take a look at and.

It is mainly used to renice CPU-intensive jobs, but it can also kill
processes.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: What's a debian kid look like?

2001-12-25 Thread Guy Geens
I'm a 29-year old `kid', living in Belgium. I have a degree in
engineering, but I'm now employed as an IT consultant. (Meaning: I
write programs for use by large corporations.)

I've been into computing since 1983, when my uncle bought me a ZX
Spectrum. Later, I switched to an Atari ST, and finally ended up
running Linux. I used Slackware for a while, but recently, I converted
all my systems to Debian.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Sending faxes with efax as a normal user

2001-12-25 Thread Guy Geens
> "Neilen" == Neilen Marais <[EMAIL PROTECTED]> writes:

Neilen> The permissions on /var/lock are:

Neilen> drwxr-xr-t 3 root root 1024 Dec 21 17:18 /var/lock/

Neilen> so, users should not be allowed to write. I assume its this
Neilen> way for a reason.

On my system, I have this:
[EMAIL PROTECTED]:/home$ ls -ld /var/lock
drwxrwxrwt5 root root  120 Dec 25 18:20 /var/lock

This allows everyone to create lockfiles, but a user may only delete
files owned by themselves.

AFAIK, this is the default setting. I don't know why your system is
different.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: /etc/hosts strange

2001-12-23 Thread Guy Geens
> "Joel" == Joel Franco Guzmán <[EMAIL PROTECTED]> writes:

Joel> Hi guys, plz, i have troubles with the hosts file. it says:

Joel> 127.0.0.1 thor localhost

You can always remove your hostname from the localhost line, and add
another one with your real IP address. (Or if you have DNS set up, not
have this line at all.)

This should make no difference for most programs. But if you now
connect to your nfs mount, the kernel will treat it as coming from
over the network.

If you need access over the loopback address, you can specify
localhost.

(Alternatively, change your /etc/exports to allow incoming connections
from 127.0.0.1.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: floppy mounted on diferent uid

2001-12-23 Thread Guy Geens
> "J" == J A Serralheiro <[EMAIL PROTECTED]> writes:

J> Hi! Its been a while I'm having a small problem. Every time I mount
J> a floppy using my usual username account, the floopy directory uid
J> is set to a diferent uid. In this case, my sister's uid. The
J> problem is that I cant mout/unmount, but cant write to the floppy.
J> When I format it with ext2, using mkfs, the problem seems to go
J> away, but latter returns. I have seen this problem somewhere else,
J> also using debian, but I wasnt told how to fix it.

Check /etc/fstab . On the line for /floppy, you will probably see the
option `user'. Change that to `users' and you will be able to unmount
a floppy regardless of who mounted it.

As for the file permissions:
A FAT (DOS-formatted) floppy has no user IDs stored on it, so Linux
assigns the value of the user who mounted it.

With an ext2 (or minix) floppy, the files do have owners, and Linux
will respect the permissions the same way it does on your hard disk.

You can change the permissions of the floppy root directory when it is
mounted (chmod a+rw /floppy). If the floppy is not mounted, this will
change the permissions of the mount point itself, and that is not what
you want.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: EXT2 trouble?

2001-12-21 Thread Guy Geens
> "Davi" == Davi Leal <[EMAIL PROTECTED]> writes:

Davi> Is it dangerous?

Either your filesystem is corrupt, or your hard disk has errors on it.

Try running badblocks (use -n for a non-destructive write test).

If that doesn't find anything, run e2fsck on the partition. Make sure
the partition is not mounted, or only read-only. (Use a boot disk to
be sure.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Problems booting from hard drive.

2001-12-21 Thread Guy Geens
> "Alberto" == Alberto Cabello Sanchez <[EMAIL PROTECTED]> writes:

Alberto> I just installed potato r3 on P75, 16 MB RAM and all worked
Alberto> fine. But booting from hard drive seems impossible to me.

I suspect a hardware problem. Try running `badblocks /dev/hda'

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: apt-localpurge

2001-12-05 Thread Guy Geens
> "benfoley" == benfoley  <[EMAIL PROTECTED]> writes:

benfoley> under what conditions is it advisable, or not, to run
benfoley> apt-localepurge? i've checked the man page but still don't
benfoley> get why i should or shouldn't use it.

I use apt-localepurge on a couple of systems with small hard disks.
Those are server-type machines that don't need any user access
(besides maintenance from a sysadmin).

Advantage: you win some disk space.

Disadvantage: it's not easily reversible. If you later decide to add
another locale, you'll have to reinstall (almost) every package on
your system.

My advice: don't bother with it unless you're really short on hard
disk space. A hard disk is relatively cheap these days, but for older
machines this can be an issue.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Python and python-base dependency problems

2001-11-22 Thread Guy Geens
> "Sean" == Sean 'Shaleh' Perry <[EMAIL PROTECTED]> writes:

Sean> On 22-Nov-2001 Daniel Toffetti wrote:

Daniel> Since yesterday I'm having dependency problems with python and
Daniel> python-base. Dselect wants me to remove Koffice. Can somebody
Daniel> give me a clue ??

Put the python-base package on hold until Koffice is upgraded. 

Sean> python-base (which was python 1.5) went away. Debian still has
Sean> python 1.5 hwoever the default is now 2.1. If Koffice is
Sean> misbehaven it probably needs to be recompiled and have its
Sean> depends straightened.

Fetchmailconf has the same problem.

You could file a bug against those packages.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: 2 GB limit with ext2

2001-11-16 Thread Guy Geens
> "Antti" == Antti Tolamo <[EMAIL PROTECTED]> writes:

Antti> Anywaa around it? I'm trying to do a tarball as a backup for my
Antti> system but after 2 GB process stops to an error. And yes, I do
Antti> have over 4 GB free space where I'm trying to make tarball.

XFS should be able to handle large files. You can download the patches
and utilities from SGI's website.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: making lilo pretty

2001-11-15 Thread Guy Geens
> "Jason" == Jason Currey <[EMAIL PROTECTED]> writes:

Jason> I noticed some previous emails about creating a lilo splash
Jason> screen. My question is what version of lilo do you need to be
Jason> running to add the splash screen?

The current version in testing has support for splash screens compiled
in. No need to patch anything.

The package lilo-doc has the explanation (and some sample files) of
how to set it up.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: reiserfs (root partition) on lvm

2001-11-15 Thread Guy Geens
> "list" == list  <[EMAIL PROTECTED]> writes:

list> lvm -- lvm_chr_ioctl: unknown command 4004fe0a lvm --
list> lvm_blk_ioctl: unknown command 21264

list> Any ideas on what might be causing this ?

The stock 2.4 kernel doesn't work with lvm-10. The -ac versions work
though.

Otherwise, download the lvm source (version 1.0 or later) from
www.sistina.com and patch the kernel source.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: question about /var/log/ksymooops

2001-11-15 Thread Guy Geens
> "Steve" == Steve Kieu <[EMAIL PROTECTED]> writes:

Steve> I just saw a lot of files inside, it takes 15Mb hard disk. My
Steve> question is, is there a automatically mechanisim to manage
Steve> those files (like logrorate for all log files)?

All files in that directory older than two days are cleaned up by
the program /sbin/insmod_ksymoops_clean, called from cron.daily.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: cvs

2001-11-11 Thread Guy Geens
> "Tom" == Tom Allison <[EMAIL PROTECTED]> writes:

Tom> But when I (as joe-user) do: cd ~/myproject cvs import -m "Import
Tom> Source" myproject fatco1 rel0 I'm pummelled with "Permission
Tom> Denied"...

You should set the CVSUMASK variable. It doesn't matter as long as
you're the only one working on the repository, but once there are
other developers, it becomes necessary.

In your case, the value should be:
CVSUMASK=002

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: cvs

2001-11-11 Thread Guy Geens
> "Tom" == Tom Allison <[EMAIL PROTECTED]> writes:

[CVS client/server using ssh]
Tom> I'm not very clear on how to set this up on the client side. Is
Tom> there anything I need to do here?

Just set CVSROOT to an appropriate value, e.g.:
export CVSROOT=:ext:[EMAIL PROTECTED]:/var/cvs

And set CVS_RSH:
export CVS_RSH=ssh

Tom> More importantly, and probably more difficult, I would like to be
Tom> able to have multiple CVS servers available from a single client.
Tom> I have no idea how this even begins

You can switch between CVS servers by changing the CVSROOT environment
variable. Most of the time, you don't even need to do that: once you
are in a work directory, cvs will automatically use the repository
stored in the administrative files.

The only time you need to set CVSROOT is when checking out a new
repository.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Which kernel is recommended to run in debian testing?

2001-11-11 Thread Guy Geens
> "Eric" == Eric G Miller  writes:

Eric> $ uname -a Linux calico 2.4.14 #1 Sat Nov 10 16:29:17 PST 2001
Eric> i686 unknown

Eric> Won't compile at all? Perhaps something breaks, that I'm not
Eric> using...? I don't have a DVD drive...

Loopback device is broken. Otherwise it compiles fine. (Kernel still
compiles when loop is a module, but it complains about missing
symbols.)

I tried it a couple of days ago, but it wouldn't load my initrd. :(

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: allowing root X apps

2001-11-03 Thread Guy Geens
> "Justin" == Justin R Miller <[EMAIL PROTECTED]> writes:

Justin> What is the best, most secure way to allow root to run X-based
Justin> apps while I'm logged in as my non-privileged user? I've tried
Justin> xhost +localhost and that does not seem to do the trick.

Have a look at sux:
http://fgouget.free.fr/sux/

It was mentioned in DWN a while ago.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: not cleanly unmounted?

2001-10-15 Thread Guy Geens
> "bobrye" == bobrye  <[EMAIL PROTECTED]> writes:

bobrye> hi. after recompiling 2.4.10, my boot process is fine until
bobrye> the end where i get an error: "/dev/hdd2 was not cleanly
bobrye> unmounted, check forced" and fsck goes and does its business
bobrye> for a couple of minutes. i find this annoying, as i DO cleanly
bobrye> unmount before i off the machine. any clues for a newbie?
bobrye> thanks.

My current sysvinit (2.83-1) has this in the changelog.Debian:

  * Turn off write-caching on all IDE disks prior to unmounting
filesystems. On some systems that poweroff on halt the system
powers off before the IDE disk write cache is flushed. You do
need to have hdparm installed to get this to work.

I suppose this is the problem. Try installing the sysvinit and hdparm
from woody (or maybe sid) to see if that fixes the problem.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: how to remove task-packages

2001-10-15 Thread Guy Geens
> "Felix" == Felix Natter <[EMAIL PROTECTED]> writes:

Felix> hi, is there a way to completely remove task-packages (task-kde
Felix> for example) including dependencies ?

AFAIK, there is no easy way.

If you have woody or sid, try debfoster or deborphan to help cleaning
up unused packages.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Changing default console keymap

2001-09-25 Thread Guy Geens
> "Karsten" == Karsten M Self  writes:

Karsten> How do you make it ***stay*** changed.

Do dpkg-reconfigure console-common, and select the keymap you want. (Or
select NONE to keep the upgrades from touching it.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Samba problem with user level share permissions under Windoze

2001-09-03 Thread Guy Geens
> "Andrew" == Andrew Pollock <[EMAIL PROTECTED]> writes:

Andrew> Hi, I'm trying to configure a Windoze 98 PC on my home network
Andrew> to use user level share permissions instead of share level
Andrew> permissions, and when I go to add users to a particular share,
Andrew> Windows barfs:

Do you have a smbpasswd file set up?

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Help: I forgot my root password :(

2001-09-03 Thread Guy Geens
> "Tao" == Tao Liu <[EMAIL PROTECTED]> writes:

Tao> Now I can give arguments to kernel when boot. I tried : LILO
Tao> Linux init=/bin/sh

Tao> but my / (reiserfs) is mounted readonly. I can't change my
Tao> /etc/shadow

After you boot, use `mount -o remount,rw /' to change it.

BTW: there is no need to mount a reiserfs read-only on boot: it won't
be checked anyway. (Not in the traditional sense at least.) Just let
the kernel replay the transaction log.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Mounting a windows partition with full access

2001-09-03 Thread Guy Geens
> "ace22b" == ace22b  <[EMAIL PROTECTED]> writes:

> "Eduard" == Eduard Bloch wrote:

Eduard> Put "umask=000" to the other options in /etc/fstab. "man
Eduard> mount" will tell you more about needed options, eg. gid or
Eduard> uid.

ace22b> I know it's '000', but why ?

ace22b> Why not 666? I was rather puzzled by this a couple of years
ace22b> ago...

Umask is the `reverse' of the permissions. If a bit is set in the
umask, it means `don't set this bit in the permissions of a new
file/directory'.

So, using umask=0 will give you all permissions bits set.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: followup to 2.4.9 boot problems

2001-08-27 Thread Guy Geens
> "bedlam" == bedlam  <[EMAIL PROTECTED]> writes:

bedlam> Thanks everyone for the help, Adrian's page helped quite a
bedlam> bit, now I'm starting to boot, but after about two screens of
bedlam> stuff I get a repeated message: kmod: failed to exec
bedlam> /sbin/modprobe -s -k binfmt-464c, errno = 8

The system is trying to load a program, but it doesn't recognize the
file format.

- either one of your binaries is corrupt,
- or you don't have the right binary format compiled into the kernel.
(You did compile ELF support into the kernel, did you?)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Bogus swap usage problem?

2001-08-27 Thread Guy Geens
> "Chris" == Chris Ruvolo <[EMAIL PROTECTED]> writes:

Chris> Thanks for the info and your suggestion, but it doesn't seem to
Chris> change things. I have noticed under 2.4.8 that in-use swap
Chris> space doesn't grow as rapidly as 2.4.7, but the problem
Chris> persists. Perhaps I should take this up with the linux-kernel
Chris> list?

I'm on 2.4.9 for the moment. Swap usage seems relatively normal, but I
haven't had time to investigate the situation thouroughly. (This
kernel seems to have a few other weird things.)

My system is up for 25 hours now, so it's a little early to say if
there's still a swap leak.

In any case, the linux-kernel list would be the best place to discuss
your problem.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: various for kernels

2001-08-27 Thread Guy Geens
> "Greg" == Greg Wiley <[EMAIL PROTECTED]> writes:

Greg> Is the kernel configuration file used for the build
Greg> also stored somewhere on my machine?

It's in /boot/Config-

Greg> 2) Are the modules listed in /etc/modules distinguished somehow
Greg> between different kernel images?

/etc/modules is not kernel-specific. You could change
/etc/init.d/modutils to load a version-specific file. E.g., add
something like this:

version=`uname -r`
if [ -f /etc/modules.$version ]; then
inputfile=/etc/modules.$version
else
inputfile=/etc/modules
fi
# replace /etc/modules by $inputfile in the rest of the file.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Permissions on /floppy

2001-08-20 Thread Guy Geens
> "Eamon" == Eamon Roque <[EMAIL PROTECTED]> writes:

Eamon> Hi! After I upgraded to unstable, I've been getting strange
Eamon> default settings on my /dev/floppy. No matter what I enter, a.e
Eamon> -o rw,user etc., the mount options on the device are always the
Eamon> same: /dev/fd0 on /floppy type vfat (rw,noexec,nosuid,nodev)

If you mount the floppy as an ordinary user, you always get those
permissions by default.

If you want to be able to execute programs from the floppy, change the
options in the fstab to `user,exec'.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: IOMEGA ZIP-100 / ZIP-250 -- banging my head against the wall

2001-08-20 Thread Guy Geens
> "F" == F Zimmermann <[EMAIL PROTECTED]> writes:

> "Peter" == Peter Bartosch wrote:

>> > I've never heard why they come with slice 4 as the active
>> partition.

Peter> that is/was because of compatiblity-reasons to mac's

No, there are special Mac formatted ZIP disks. I assume they hold a
Mac-compatible partition table and (of course) a Macintosh file
system.

The 2.4 kernel has support for several partitioning schemes, including
Macintosh. So it should be possible to mount such a disk.

F> I thought it's got something to do with MS DOS/Win. There was a
F> discussion about ZIP drives on this list a couple of weeks ago were
F> someone metioned this.

I've glanced through that discussion. IIRC, it tricks DOS/Windows so
it assigns a drive letter first to all fixed partitions, and then to
the ZIP drive. That way, the letters stay the same if you boot without
a disk in the drive.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: two problems with building a bootdisk

2001-08-20 Thread Guy Geens
> "Martin" == Martin F Krafft <[EMAIL PROTECTED]> writes:

Martin> and just sits there forever. /sbin/getty is never executed,
Martin> and i can't get into the system. then, every now and then,
Martin> init complains about both getty's restarting to quickly and
Martin> disabled them for 5 additional minutes.

Either the getty program is not on the boot disk, or one of the
libraries it needs.

Use `ldd /sbin/getty' to find out which libraries. (On my system, it
only needs libc, which should be on the floppy already.)

Also check that /dev/tty1 and /dev/tty2 exist on the floppy image.

If you still can't find anything, try changing the inittab line to
execute sh.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: shutdown permission to users?

2001-08-18 Thread Guy Geens
> "Brian" == Brian Nelson <[EMAIL PROTECTED]> writes:

Brian> And with the NOPASSWD setting, you could avoid exposing your
Brian> root password.

Sudo never asks for the root password, only the user's own password.
The NOPASSWD will allow people to execute the command without typing
any password.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: yet another apt question

2001-08-16 Thread Guy Geens
> "Joerg" == Joerg Johannes <[EMAIL PROTECTED]> writes:

Joerg> Hi List Where does apt store the packages.gz files it
Joerg> downloaded when doing apt-get update? My idea is to copy them
Joerg> to another computer (which has no internet access) for doing a
Joerg> dist-upgrade.

Take a look at apt-move. I never used it myself, but it should help
you do what you want.

Good luck.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: hostname with dhcp-client

2001-08-16 Thread Guy Geens
> "Carl" == Carl Greco <[EMAIL PROTECTED]> writes:

Carl> Anyone know how to set the hostname under dhcp?

Carl> send host-name "peregrine.cox-internet.com";
Carl> lease {
Carl>   interface "eth0";
Carl>   option host-name "peregrine.cox-internet.com";
Carl> }

You can set your hostname the same way as without DHCP: through
/etc/hostname

You shouldn't put a `lease' into the dhclient.conf: that's only used
to help configure the network if the DHCP server is down.

The `send host-name' directive is meant to tell the server the
hostname you'd like to have. I use this to update the DNS information
for my home network.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: LT WinModem and kernel headers

2001-08-12 Thread Guy Geens
> "Paul" == Paul Scott <[EMAIL PROTECTED]> writes:

Paul> I'm still reading every fine manual I can but can you tell me
Paul> how I identify the kernel? Are you talking about executable or
Paul> source? I actually D/L'd the entired source last night but I'm
Paul> not sure if I installed it correctly. apt-get install left me
Paul> with a tar.bz2 and I 'm not sure I unpacked in the right folder.

Normally, you should end up with a directory
/usr/src/kernel-source-. Debian doesn't really force you to
use this directory[1], you can use the location you like. To build the
ltmodem package, just specify --with-kernel-dir=

Paul> I was trying not to do that but I couldn't find header files
Paul> which seemed to be the exact same version as the kernel that I
Paul> had installed. I did my install from official CD's but I don't
Paul> remember every step. There are supposed to be fout flavors of
Paul> 2.2.19pre17: vanilla, compact, idepci and udma66. I only found
Paul> headers for compact and idepci.

I'm not sure what the differences are between the header packages. Try
using the vanilla one.

[1] /usr/src has even been deprecated AFAIK.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: HP Colorado 20gb travan

2001-08-09 Thread Guy Geens
> "Ali" == Ali Ender Yalcin <[EMAIL PROTECTED]> writes:

Ali> can someone help me with this tape ? i m trying since 3 days to
Ali> access this tape 4 a backup but meanwhile i have no more ideas to
Ali> get it running. its connected at the first ide-channel and
Ali> running in slave mode. have loaded two modules: ide-ftape and
Ali> ide-scsi i tried 2 do a backup with tar (äh..which device ?) and
Ali> also i downloaded the free arkeia backup software. but no hope to
Ali> get it running :(

I have a Colorado 8Gb, and I have the following modules loaded for it:
st (scsi-tape)
ide-scsi

In /etc/modules.conf:
below st ide-scsi
below ide-scsi ide-probe-mod

Finally, you should add `hdb=scsi' to the kernel command line.

If you have all that, the tape is accessible as /dev/st0 (auto-rewind)
and /dev/nst0 (no auto-rewind).

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: LT WinModem and kernel headers

2001-08-07 Thread Guy Geens
> "Paul" == Paul Scott <[EMAIL PROTECTED]> writes:

Paul> I am trying to get my LT WinModem running under potato
Paul> 2.2.19pre17 #1 I have downloaded what seem to be the files I
Paul> need. Running the install script appropriate for Debian I get
Paul> this which I believe is the relevant part of the script output:

Best way to make the package, is to use the --with-kernel-dir= option
to tell it where the kernel is. (I usually compile my own kernels, so
I had the full source tree installed. Never tried it with only the
headers.)

The latest version seems to have problems when you try to compile
against a different kernel version than the one you're running. I had
to reboot with the new kernel before the build succeeded.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: timer command?

2001-08-05 Thread Guy Geens
> "Wayne" == Wayne Topa <[EMAIL PROTECTED]> writes:

Wayne> On Potato it does. On Woody 'atd' isn't starting, no
Wayne> var/run/atd.pid file. So forget 'at' on Woody presently.

There must be something wrong with your installation: it works fine on
my system.

The .deb is still the same as in potato, and I wouldn't expect any
problems with it.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: attempted break-in?

2001-08-05 Thread Guy Geens
> "Allen" == Allen Wayne Best <[EMAIL PROTECTED]> writes:

Allen> hello: i am curious if anyone else is seeing an attempt by a
Allen> user anonymous with a password of [EMAIL PROTECTED] to ftp into
Allen> their system. i found the following snippits in the message log
Allen> this morning. it sent up a red flag for me. i've immediately
Allen> blocked access for ftp not originating from the internal lan.

Propably a warez-dood trying to find a server to store his stuff.

Check your anonymous FTP area to see if any files have been created.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Help with ip-spoof protection in Debian

2001-08-05 Thread Guy Geens
> "Patrick" == Patrick Kirk <[EMAIL PROTECTED]> writes:

Patrick> apt-get dist-upgrade asks questions about ip addresses to
Patrick> set-up ip spoofing. I only entered 10.1.0.1 and hit return.
Patrick> My concern is that if the machine is rebooted 23 angry users
Patrick> will call me.

If you have a 2.2 kernel, you don't need to worry about anything: the
values are not used.

Otherwise, do `dpkg-reconfigure netbase'.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



SCSI termination (was: Re: freevxfs?)

2001-08-02 Thread Guy Geens
> "Robert" == Robert L Harris <[EMAIL PROTECTED]> writes:

Robert> Ok, I'll learn to read one day. Right now I'm trying to figure
Robert> out why high IO locks this machine up dead tight (which
Robert> requires a FSCK of a dirty disk, thus the thought of vxfs)...

It's probably a hardware issue.

Robert> Got a good link on scsi termination? I've got the last disk
Robert> doing term power and that's it so I'm now confused.

Search for `scsi faq' on google. I don't know the exact URL.

The `term power' bit sounds wrong to me: this will set the device so
it supplies power to the terminator. It is only needed if you have a
very long SCSI chain. (Normally, the adapter card is able to handle
that.)

You have to enable termination (usually labeled `term') on the last
device on the bus. Some disks don't have a jumper, so you might need
to buy a separate terminator.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: can xdmcp be made secure...

2001-08-01 Thread Guy Geens
> "Walter" == Walter Tautz <[EMAIL PROTECTED]> writes:

Walter> as far as i can see the initial login passes the passwd in
Walter> cleartext? obviously once I'm logged in I can use ssh to login
Walter> into other hosts with relative security,but what about the
Walter> initial login on an x-terminal?

I'm not sure of any program that encrypts X traffic. Maybe someone
else knows more about this.

Just beware:
If you log into an X-terminal, and then do ssh to another host, the
communication between the terminal and the login host is not protected
by ssh. So your ssh password is transmitted in cleartext!

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Why automatic tools can change /etc/resolv.conf?

2001-08-01 Thread Guy Geens
> "Michele" == Michele Dalla Silvestra <[EMAIL PROTECTED]> writes:

Michele> But is correct that an application change /etc/resolv.conf
Michele> even if the administrator write it entirely by hand?

Both pppd and dhclient can receive information about available DNS
servers, and they will try to make that available to other
applications (by adapting /etc/resolv.conf).

Pppd is even nice enough to revert to the original file after
disconnecting.

Michele> How can I prevent it?

For pppd, the answer has already been mentioned. If you want to
prevent dhclient from changing /etc/resolv.conf, create a file
/etc/dhclient-enter-hooks with the following contents (it should be
executable):

# redefine the function which changes resolv.conf to do nothing
make_resolv_conf() {}

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: home and end keys not working in xterm

2001-08-01 Thread Guy Geens
> "Mike" == Mike Pfleger <[EMAIL PROTECTED]> writes:

Mike> I've migrated to a newer HDD, which I installed with potato, and
Mike> upgraded to testing. Now I have most of my stuff on this drive,
Mike> and I've noticed that the home and end keys no longer work on
Mike> the command line in xterms. Still works in the non-X console,
Mike> though. What do I need to mess with to get this working?

Add these lines to /etc/inputrc:
"\e[1~": beginning-of-line
"\e[3~": delete-char
"\e[4~": end-of-line
"\e[d": backward-word
"\e[c": forward-word

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: DHCPd/pump domain search list issues

2001-07-31 Thread Guy Geens
> "Bill" == Bill Vinson <[EMAIL PROTECTED]> writes:

Bill> I determined what my problem was. I was using vinson.home as my
Bill> domain as I don't own a real one. When I switched it to
Bill> vinson.com it started working. It seems pump requires a real dns
Bill> name.

Probably a pump issue. I use .geens.internal on my internal network,
and dhclient doesn't complain about it.

But then again, I also run a DNS server for this domain.

BTW: I have a beta version of DHCP v3 installed (compiled it myself)
and it's set up to update the DNS if needed.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Wake on LAN question

2001-07-31 Thread Guy Geens
> "Robert" == Robert Kerr <[EMAIL PROTECTED]> writes:

Robert> What would be the steps to go about setting linux up for
Robert> wake-on-lan access?

Disclaimer: I never used wake-on-lan, but I can make a few educated
guesses about how it might work. YMMV.

To get the machine to suspend, you should only need to install the APM
package, and boot the kernel with `apm=on'. The BIOS will alert the
machine when something happens on the network.

Next step: getting the client machines to awaken the firewall. You
probably need to set up an ARP entry for the firewall. (See man arp for
more info.) Hopefully, this is enough to get the server out of sleep
mode.

If you have a dynamically assigned IP address on the external network,
you might need to restart the DHCP client (and reinstall firewall
rules) on APM resume.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: what does "cramfs" mean?

2001-07-31 Thread Guy Geens
> "Tao" == Tao Liu <[EMAIL PROTECTED]> writes:

Tao> Hi, I use kernel 2.4.7 , when I turn on my computer, I can see
Tao> ... VFS: Mounted root (cramfs filesystem) Waiting for 5 seconds,
Tao> press Enter to obtain a shell

The system first loads an initial ramdisk (initrd), before
initializing the hardware.

Tao> if I press Enter, it says 9: Terminated sh: can't access tty; job
Tao> control turned off

You don't need to do anything there. Just let it continue. Normally,
you should get a prompt if you press enter. I don't know why it
doesn't work. It might be a bug in the initrd-tools package.

Try booting without doing anything, to see if that works.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: esound

2001-07-30 Thread Guy Geens
> "Steve" == Steve Gran <[EMAIL PROTECTED]> writes:

Steve> connect to UNIX socket /var/run/esound/socket". I checked to
Steve> make sure it wasn't something silly, like the directory not
Steve> existing, but sure enough, the directory is there. It's owned
Steve> by root, but I assume that's as should be. Any suggestions?

Add yourself to the audio group (log out and back in again to make it
work), or do this:
chown root:audio /usr/bin/esd
chmod g+s /usr/bin/esd

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: DHCPd/pump domain search list issues

2001-07-30 Thread Guy Geens
> "Bill" == Bill Vinson <[EMAIL PROTECTED]> writes:

Bill> I am having problems with dhcpd and pump. I run dhcpd on another
Bill> system to manage my home net's IPs, but I can't get the
Bill> domainsearch list to be populated in /etc/resolv.conf. When I
Bill> obtain a lease with pump, it changes /etc/resolv.conf to include
Bill> my DNS servers, but it also blanks out the search line "search
Bill> "

Add the following to /etc/dhcpd.conf:

option domain-name "";

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: New device names after kernel update from 2.2 to 2.4

2001-07-30 Thread Guy Geens
> "Herbert" == Herbert Pirke <[EMAIL PROTECTED]> writes:

Herbert> As far as I know, some block device names changed with the
Herbert> 2.4 kernel, so I wonder if that changes a lot. Maybe some
Herbert> changed/added simlinks fix the problem.

Normally, you shouldn't need to change anything. The kernel doesn't
care about device names, it only looks at the major/minor device
numbers in the inode. I don't know exactly which device names have
changed, but it should only affect you if you have some special
hardware.

(Devfs is a different issue, but you don't have to use that if you
don't want to.)

I expect a thorough reorganization of /dev during the 2.5 series, but
the kernel gurus haven't yet decided on how to do this.

Herbert> Also, is it possible to have a 2.2 and a 2.4 kernel on one
Herbert> machine and let lilo either boot one or the other?

Yes, all the software that can handle 2.4 can also work with a 2.2
kernel.

Woody is fully 2.4-ready (off course it also works for a 2.2 kernel).
For potato, look for the packages Adrian Bunk has made. (I don't have
the URL here, but they're mentioned on the list from time to time.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: remote administration methods

2001-07-24 Thread Guy Geens
> "Martin" == Martin F Krafft <[EMAIL PROTECTED]> writes:

Martin> however, i am thinking that there has to be a tool out there,
Martin> because there is a UNIX tool for everything, and the problem i
Martin> am experiencing is surely shared by hundreds of admins...

Take a look at rdist:
[EMAIL PROTECTED]:/usr/share/doc/lilo-doc$ apt-cache show rdist
Package: rdist
Priority: optional
Section: net
Installed-Size: 200
Maintainer: Herbert Xu <[EMAIL PROTECTED]>
Architecture: i386
Version: 6.1.5-3
Replaces: netstd
Depends: libc6 (>= 2.1.97)
Filename: pool/main/r/rdist/rdist_6.1.5-3_i386.deb
Size: 79738
MD5sum: d607dc10256f5997ee1612775aba98b9
Description: Remote file distribution client and server.
 Rdist is a program to maintain identical copies of files over multiple hosts.
 It preserves the owner, group, mode, and mtime of files if possible and can
 update programs that are executing.


-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Oracle on Debian?

2001-07-23 Thread Guy Geens
> "J" == J F Gratton <[EMAIL PROTECTED]> writes:

J> Stan, Awhile back (last november) I tried to install Oracle 8.1.6.2
J> on Debian 'potato' and it's true, it just won't work. Worst of it,
J> you won't get any error messages. Oracle will link its binaries
J> without a hitch, but whenever you'll try "startup nomount" it will
J> just hang there. I don't know about the client-side of this, as I
J> needed the server-side before being able to use the clients :)

Did you read the Oracle8-HOWTO? It gives a few hints.

IIRC, most common problems seem to be an incorrect libc version, or
the wrong JDK (HOWTO mentions the version Oracle wants).

I tried installing Oracle 8 on my home machine once. After selecting the
options, the installation started and gave me an error after a couple
of hours of grinding disks. Probably removed some component it needed.

After that, I figured I didn't really want Oracle on my machine.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: [OT] NFS question

2001-07-22 Thread Guy Geens
> "Hall" == Hall Stevenson <[EMAIL PROTECTED]> writes:

Hall> How are the permissions of an NFS mount determined ?? I've got
Hall> two directories I'm mounting via NFS and they're "acting" the
Hall> same.

Hall> When they're not mounted, they're both owned by hall.users. When
Hall> they're mounted, they're owned by amy.hall.

Are you talking about the mount points?

I think what you see is this:

Linux requires a directory to exist before anything can be mounted
there. When the mount command is executed, the mount point is
`replaced' by the remote directory, including the permissions of the
latter.

The permissions of the local mount point only matter when the
directory is not mounted. Normally, you would set permissions that
will prevent a user from accidently writing to it.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: "No such file or directory" - huh?!

2001-07-22 Thread Guy Geens
> "Gary" == Gary Jones <[EMAIL PROTECTED]> writes:

Gary> What's going on? The script file is definitely there, I can
Gary> 'more' it, 'jed' it, whatever I like except run it. I'm sure I'm
Gary> missing something real simple here...

Either /bin/sh doesn't exist, or your root filesystem is mounted with
the noexec flag (unlikely).

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: running out of room on root system

2001-07-22 Thread Guy Geens
> "Paul" == Paul Campbell <[EMAIL PROTECTED]> writes:

[mv of directory across file systems]
Paul> Sorry GuyMike's way worked fine first time

Turns out it does work, and looking at the changelog, it has been
working for a long time.

Must be some other system I worked on where it was not supported.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: running out of room on root system

2001-07-21 Thread Guy Geens
> "Mike" == Mike Fedyk <[EMAIL PROTECTED]> writes:

> "Paul" == Paul Campbell wrote:

Paul> hard drive partitions

Paul> hda1 root 50meg
Paul> hda2 swap 100meg
Paul> hda3 usr 2 gig
Paul> hda5 home 2 gig
Paul> hda6 fat32 storage for transferred win docs etc

Mike> Do this, but make sure you don't reboot before this has
Mike> completed.

Mike> mv /var /vr
Mike> mv /vr /usr/var

The last command won't work: mv cannot move directories across
partitions. Replace it with this:
mkdir /usr/var
(cd /vr && tar cf - .) | (cd /usr/var && tar xf -)
rm -rf /vr

Mike> ln -s /usr/var /var

Do this in single user mode (as suggested in another post).

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: it keeps crashing

2001-07-21 Thread Guy Geens
> "Martin" == Martin F Krafft <[EMAIL PROTECTED]> writes:

Martin> instead, it keeps crashing on me... kernel panic in pid 0
Martin> "process swapper." however, memtest86 reports no errors for
Martin> the RAM chip, and badblocks, run with the destructive write
Martin> option, reports no bad blocks within the swap partition.

My guess is that you simply have not enough memory.

Swap space will only help to a certain extent. There is some
kernel-related data which cannot be swapped out, and once the physical
memory is full (with things which cannot be swapped out), nothing can
help you.

Try disabling all daemons and kernel modules you don't really need and
see if it helps. Also recompile your kernel (preferably on a larger
machine) so it only contains the drivers you actually use.

In your case, I suggest you look at the Linux router project, which
is aimed at setting up a router on a very limited machine.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: modprobe: Can't locate module char-major-10-135 (daemon.log)

2001-07-21 Thread Guy Geens
> "listmgr" == listmgr  <[EMAIL PROTECTED]> writes:

listmgr> I have tracked this down to the point that I know it is an
listmgr> alias for the real time clock, and that it only occurs soon
listmgr> after switching to run-level 6 and run-level 0. I also know
listmgr> that the alias exists in two files, that I know of;
listmgr> /etc/modules.conf and /etc/modutils/arch/i386. Removing the
listmgr> alias from i386 has no effect.

The file /etc/modules.conf is generated from all the files in
/etc/modutils/ . After you change something in one of those files, run
`update-modules' to generate the modules.conf.

You can get rid of the message by adding `alias char-major-10-135
off', but this only hides the real problem: some process tries to
access the RTC, but this functionality is not compiled in your kernel.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Safe mode (was: Re: But ....)

2001-07-17 Thread Guy Geens
> "Joost" == Joost Kooij <[EMAIL PROTECTED]> writes:

Joost> Perhaps it uses the standard bios interfaces only when in "safe
Joost> mode". IIRC the standard vga bios interface is limited to a
Joost> 640x480 resolution.

Standard VGA resolution, minimal device drivers loaded, no networking,
no sound, ...

Basically, the closest thing to `linux 1' you can get on a Windows
system.

It's only there so you can repair driver/IRQ settings and then reboot.
(Or when there's a problem booting the system - in that case, simply
reboot and hope it won't happen again :)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: How to get an Iomega 100MB USB Zip Drive to work with Debian?

2001-07-17 Thread Guy Geens
> "Joern" == Joern Larsen <[EMAIL PROTECTED]> writes:

Joern> I am new to Linux, and have just installed Debian/GNU Linux on
Joern> a Dell Dimension XPS R400. The only problem I am facing, is -
Joern> how to get an Iomega 100MB USB zip drive to work with Debian
Joern> 2.2r3? I have installed the module for USB-storage, but have no
Joern> clue how to go from there.

Make sure your kernel has support for SCSI disks.

You will also need the `hotplug' package.

Once you have that installed, plug the ZIP drive into the USB port.
You can access the disk as /dev/sda . Standard ZIP disks use partition
4, so you should be able to do

mount /dev/sda4 /mnt

Don't forget to umount the disk before removing it or the drive.

Joern> Also - how do I get my computer to accept Mac-files? (I forgot
Joern> to install the module for Macintosh files.)

For Mac text files, you have to convert end of line characters. E.g.,
tr '\r' '\n' unix-file.txt

Other files should be copied as-is.

If you want to mount Mac-formatted ZIP disks, you need a few options
in the kernel. HFS file system, and probably Macintosh partition
support.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: mformat, boot disks

2001-07-16 Thread Guy Geens
> "R1nso" == R1nso  <[EMAIL PROTECTED]> writes:

R1nso> the disk created with mkboot does work to boot the system.
R1nso> however, i have made boot disks using basically the method you
R1nso> described (dd and rdev) and they don't work. the only
R1nso> difference between the two methods is that i used dd with a
R1nso> blocksize of 8192 (bs=8192) and then checked to make sure it

The blocksize should not matter.

R1nso> was set to the first partition on the hard disk (rdev /dev/fd0
R1nso> << /dev/hda1), and it was correct, so i didn't need to set it
R1nso> again, right? perhaps i should have mentioned that after
R1nso> printing several dots following 'loading' it began to rapidly
R1nso> print "200" then on a new line "AX: " new line
R1nso> "BX:" and so on until 'DX' another thing I

That looks like a kernel panic: something has made the kernel crash.

Very strange. The same kernel works when booted by LILO. I looked at
mkboot and it doesn't add any flags besides the root device.

R1nso> recently discovered is that there is a file called "vmlinuz" in
R1nso> the root '/' directory. i have also tried dd - ing it to fd0,
R1nso> checking it w/ rdev but only to produce the same results. Which
R1nso> file should i use, and how can i make it work?

/vmlinuz is actually a link to /boot/vmlinuz-x.x.x, so either one
should work. (Do `ls -l /' to see for yourself.)

As far as I can see, you did everything correct. There are two other
options I can think of:

- your floppy drive is defective/strange. LILO manages to work around
  the problem, but the loader built into the kernel doesn't.
- the floppy this you used for the raw kernel image is defective. Try
  a different one.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: mformat, boot disks

2001-07-15 Thread Guy Geens
> "R1nso" == R1nso  <[EMAIL PROTECTED]> writes:

R1nso> When i simply type 'mformat' i get a similar error message.
R1nso> Should I worry about this? Even if it is not a problem, why am
R1nso> i getting this message?

It means you don't have the mformat command installed. You'll find it
in the mtools package.

Superformat formats a floppy and then puts on a MS-DOS file system.

R1nso> 2. I have successfully made a lilo boot disk using "mkboot
R1nso> /boot/vmlinuz2.2.17pre19". But i have also tried copying the

Does this floppy work to boot your system.

R1nso> binary to the disk using 'cp' and 'dd'. However, these disks
R1nso> are recognized as system boot disks, but the do not
R1nso> successfully boot linux. When booting for these disks the
R1nso> monitor simply displays "loading" but does not
R1nso> successfully load. Am I copying the wrong file, or will this
R1nso> method simply not work with Debian? Regardless, how can I
R1nso> create a 'normal' boot disk? (one that doesn't use lilo)

If you copy the kernel manually, you have to set the root device as
well:
dd if=/boot/vmlinuz2.2.17pre19 of=/dev/fd0
rdev /dev/fd0 /dev/hda1 # <- fill in your root partition here.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Problem: 'only root can unmount "/dev/something" from "/somewhere"'

2001-07-15 Thread Guy Geens
> "Norbert" == Norbert Nemec <[EMAIL PROTECTED]> writes:

Norbert> Hi there, on quite a number of machines I've encountered the
Norbert> problem, that a normal user can mount filesystems
Norbert> ("user"-flag set in /etc/fstab) but when trying to unmount,
Norbert> the above error is given instead. It seems a problem in
Norbert> either kernel 2.4 series or one of the new versions of
Norbert> "mount", since I never had that problem before.

Newer versions of mount have given a different meaning to the `user'
flag. Only the user who issued the mount command can do the umount.

If you want to have the old behaviour, change the fstab flag to
`users'.

(This feature is described in the mount man page.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: RAM size.

2001-07-14 Thread Guy Geens
> "Dave" == Dave Sherohman <[EMAIL PROTECTED]> writes:

Dave> I would guess, based on their respective legacy codebases, that
Dave> Win2k uses HLT and ME/XP don't, but I haven't heard anything
Dave> definite about them to date.

AFAIK, WinXP is based on the NT codebase, just like W2k. So I would
assume that it uses the HLT instruction.

ME, on the other hand is based on the DOS/Win95 kernel, so I expect it
behaves like its predecessors.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: root access on serial port denied >-(

2001-07-13 Thread Guy Geens
> "Nico" == Nico De Ranter <[EMAIL PROTECTED]> writes:

Nico> Howdy, I'm setting up a number Linux servers in our lab. All
Nico> servers will be connected through the serial port to a console
Nico> master. Unfortunately it turns out the Debian installation
Nico> (testing) refuses root login on the serial console because PAM
Nico> consideres it "not secure" >-(. Is there any way to turn this
Nico> behaviour off?

Add the following to /etc/securetty:
ttyS0
ttyS1
# devfs devices
tts/0
tts/1

See man 5 securetty for more info.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Unable to create native thread

2001-07-13 Thread Guy Geens
> "Nelson" == Nelson Chan <[EMAIL PROTECTED]> writes:

Nelson> I'm benchmarking a chat server and after a little over 100
Nelson> connections (each connection requires two Java threads) the
Nelson> program failed with the message:

A friend of mine recently did a similar test, and he ran into the same
problem.

The threads library has a limit of 256 threads per process. It is
possible you'll also need some kernel patches.

Try searching the IBM Developper Works site for more information.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: need help to disable dynamic IP addresses.

2001-07-12 Thread Guy Geens
> "luther" == luther  <[EMAIL PROTECTED]> writes:

luther> Since then, i changed the /etc/network/interfaces file to be
luther> the same as on the old install, and when runnning
luther> /etc/init.d/networking restart, ifconfig shows that the
luther> correct IP address is used.

luther> But after a small time, i don't know why, the dynamic IP
luther> address is again taken.

This means that the DHCP client is still running. If you don't need
it, deinstall it. The package will be named pump, dhcpcd or
dhcp-client.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: 3com NIC question

2001-07-12 Thread Guy Geens
> "Sunny" == Sunny Dubey <[EMAIL PROTECTED]> writes:

Sunny> hey, I have a 3c509 NIC.

Sunny> I tried getting an IP for this NIC by using DHCP. (I used
Sunny> dhcpcd) But for some odd reason, it wouldn't work, and so I

Try `modprobe 3c509' and restart the network with
`/etc/init.d/networking restart'.

Apart from disabling PNP, I never had any problems with this card.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Swap fscked in 2.4.5?

2001-07-12 Thread Guy Geens
> "Sean" == Sean Morgan <[EMAIL PROTECTED]> writes:

Sean> Upgrading to 2.4.6 seemed to work rather well for me. There is
Sean> some documentation of vm issues in the kernel changelogs. My
Sean> machine has been up for 7 days as I write this and is only using
Sean> 10 out of 200 megs of swap.

I agree. Until 2.4.5, I could see my swap usage increase slowly. I
still have the feeling 2.4.6 uses more swap than it should, but it
definitely is an improvement.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: GRUB & Rieserfs

2001-07-12 Thread Guy Geens
> "csj" == csj  <[EMAIL PROTECTED]> writes:

[Line from GRUB menu.lst]
csj> I don't think so. The line:

csj> kernel /vmlinuz-2.4.5 root=/dev/hda3 single

csj> is an instruction for the OS kernel. By this time the kernel
csj> should have taken over. So yes, it makes a difference when you
csj> specify:

Not quite. GRUB will read the kernel image, which is in the root
directory of the /boot partition (hd0,0). It will then pass the rest
of the line to the kernel as arguments (that's why you specify the
device with the Linux syntax /dev/hda3).

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: LILO question

2001-07-11 Thread Guy Geens
> "mannequin" == mannequin  <[EMAIL PROTECTED]> writes:

mannequin> I know this has probably been asked on here before, but I'm
mannequin> running Debian Stable on my i686 and I'm having problems
mannequin> with LILO. Basically, I have Debian installed on /dev/hda
mannequin> and Windoze on /dev/hdb. LILO is install on the boot block
mannequin> of /dev/hda. So here is where my problem lies; I cannot get
mannequin> LILO to boot my Windoze drive at all. I've looked through

AFAIK, Windows doesn't like to be booted from the second hard disk.
Swap the drives, and life will be a lot easier.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Problems with logcheck.ignore rules

2001-07-11 Thread Guy Geens
> "Hanasaki" == Hanasaki JiJi <[EMAIL PROTECTED]> writes:

Hanasaki> I have the following three rules in my logcheck.ignore file.

Hanasaki> PAM_unix.*: \(imap\) session [opened, closed] for .*

Change this to:
PAM_unix.*: \(imap\) session (opened|closed) for

This can replace both your other rules.

The vertical bar `|' means `either the left or the right side', and
the parentheses specify the beginning and end of the choice.

Square brackets mean `one of these characters'.

Note: you don't have to put `.*' at the start or end or a regex: it's
implicit.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: mason firewall building tool

2001-07-11 Thread Guy Geens
> "kiteless" == kiteless  <[EMAIL PROTECTED]> writes:

kiteless> hello all i was just wondering if any of you have ever tried
kiteless> using a program / package called mason to build firewalls on

I tried mason once. It has an `auto-learn' mode where it will scan the
network and add filtering rules for everything which passes through
the firewall.

I found it generated way too many rules, and required quite a bit of
hand-tuning.

Later on, I switched to ipmasq, which sets up a NAT firewall out of
the box. You'll still have to add specific rules for filtering
services.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



initrd problem fixed!

2001-07-04 Thread Guy Geens
I finally got it to work.

I re-read one of the patches I applied before, and I noticed something
at the top of the file. The text said I should add
`ramdisk_blocksize=4096' to the boot parameters. I did that, and the
system booted flawlessly. (Except for one typo in the initrd image,
which I could fix myself.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: initrd problem: not yet fixed

2001-07-04 Thread Guy Geens
> "Joost" == Joost Kooij <[EMAIL PROTECTED]> writes:

Joost> I'll let you into my secret magic passage to knowledge: Try
Joost> typing "cramfs initrd patch" in google's search box. That's how
Joost> I found that link. ISTR that the topic has been brought up
Joost> several times on the linux-kernel mailing list, also.

Google gave me this page:
http://www.linuxhq.com/kernel/v2.4/unofficial/index200107.html

Which points to the patch I need. (And some other interesting things.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Unzip in Debian 2.2r3 ??

2001-07-04 Thread Guy Geens
> "infernal" == infernal  <[EMAIL PROTECTED]> writes:

infernal> I coudn't find the Unzip utility in my "potato".. but the
infernal> zip. where in debian.org can I find it ? I can't

Unzip and zip are packaged separately for historical reasons.

You can find them in the non-US section of the archives.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



initrd problem: not yet fixed

2001-07-04 Thread Guy Geens
>>>>> "Guy" == Guy Geens <[EMAIL PROTECTED]> writes:

>>>>> "Joost" == Joost Kooij <[EMAIL PROTECTED]> writes:
Joost> Maybe http://www.escape.de/users/outback/linux/ ?

Guy> Looks like it will do the trick.

(Followup to my own post.)

I installed the patch, and rebooted. The kernel rcognizes the cramfs
image, and tries to mount it. The mount fails with the message `wrong
magic'.

This message appears in the cramfs code, and it's printed when the
code finds an invalid magic number in the superblock. (Rather
obvious.) This is very strange, since the previous message indicates
the magic number is there.

I mounted the initrd image on a loop device: OK.
I copied the image to a ram disk, and tried to mount that: I get the
same error (wrong magic).

This seems to indicate the problem is in the ramdisk code.

Any hints?

Kernel is 2.4.5.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: initrd problem

2001-07-04 Thread Guy Geens
> "Joost" == Joost Kooij <[EMAIL PROTECTED]> writes:

Joost> Maybe http://www.escape.de/users/outback/linux/ ?

Looks like it will do the trick.

Thanks!

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: grub

2001-07-04 Thread Guy Geens
> "Regnat" == Regnat Nikolaus <[EMAIL PROTECTED]> writes:

Regnat> There are differences between the bootsector and it's backup.
Regnat> Differences: (offset:original/backup) 28:3d/3f, 29:65/00,
Regnat> 30:9c/00, 71:44/00, 72:41/4f, 73:54/20, 74:45/4e, 75:4e/41,
Regnat> 76:20/4d, 77:20/45, 78:20/00, 79:20/00, 80:20/00, 81:20/00 Not
Regnat> automatically fixing this.

I grepped through the grub source, and I couldn't find this message.
My guess is that it's generated by your BIOS.

Consult the manual for your motherboard to find out more.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



initrd problem

2001-07-03 Thread Guy Geens
I just tried the following:
- build a kernel (2.4.5 with LVM patched to the latest beta version)
  with CRAMFS support,
- create an initrd image using mkinitrd,
- boot the new kernel using GRUB.

The boot process proceeds until the kernel tries to mount the ramdisk
image. The last message shown is:
RAMDISK: Couldn't find valid RAM disk image starting at 0.

I looked at the kernel source, and I found that the initrd code does
not recognize a cramfs file system.

Is there a specific patch for this?

Thanks in advance

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: devfs

2001-06-30 Thread Guy Geens
> "Andrew" == Andrew Dixon <[EMAIL PROTECTED]> writes:

Andrew> I was wondering if anyone out there has an oppinion on devfs.
Andrew> I'm considering it for a system that I'm building and some
Andrew> real life experiences with it would be helpful.

Devfs is quite stable. I use it on two different machines. The only
drawback is that it doesn't seem to handle modules very well. (That is
partly a configuration issue, but I haven't looked into it deep enough.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Using different DNS per ISP

2001-06-26 Thread Guy Geens
> "lists" == lists  <[EMAIL PROTECTED]> writes:

lists> I'm using two different ISPs depending on time of day, and
lists> cost. Problem is that they will only accept their own
lists> nameserver under /etc/resolv.conf. Is there a way around this,
lists> or do I need a script which changes resolv.conf before dialing?

Most ISPs will send their NS servers as part of the ppp setup. If you
add the following to /etc/ppp/options, the resolv.conf file will be
updated automatically:
usepeerdns

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Does JDK 1.3.1 work with testing?

2001-06-25 Thread Guy Geens
> "Christian" == Christian Kreibich <[EMAIL PROTECTED]> writes:

Christian> I recently updated to testing and a self-compiled kernel
Christian> 2.4.3 and things work great, except for java. Basically any
Christian> java application segfaults on startup. I'm using (well, er,
Christian> was using :) Sun's jdk 1.3.1. Am I missing something?
Christian> Apologies if this is a faq, but I couldn't find an
Christian> up-to-date answer anywhere and just subscribed. Is glibc
Christian> 2.2.3 the problem?

I prefer the blackdown Java to the Sun version.

There was site posted on this list for Debian packages for 1.3.1 just
a couple of days ago. This version works fine for me.

[EMAIL PROTECTED]:/usr/share/fonts$ java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.0-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.0-FCS, mixed mode)

If you want to try, add this to your /etc/apt/sources.list:
deb ftp://ftp.informatik.hu-berlin.de/pub/Java/Linux/debian woody non-free

Note: skip the -docs package for now. It can't handle the 1.3.1 docs
from Sun.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Setting the system's classpath

2001-06-25 Thread Guy Geens
> "Daniel" == Daniel de los Reyes <[EMAIL PROTECTED]> writes:

Daniel> What is the appropiate place to set system wide
Daniel> classpath? should I make an init script for it, or is there
Daniel> one I should use to include it?

Add it to /etc/environment. Make sure you have `.' (the current
directory) in there.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Transfers interrupted when uploading

2001-06-25 Thread Guy Geens
> "Alberto" == Alberto Bigazzi <[EMAIL PROTECTED]> writes:

Alberto> Problems arise when I try to serve files by either uploading
Alberto> them directly via ssh or ftp towards some remote, or by
Alberto> connecting to a remote and try to retrieve files from my
Alberto> machine.

It seems that your modem is giving up after a while. Try upgrading to
the latest kernel (2.2.19) and PCMCIA packages to see if it works
better.

(I assume it's a PCMCIA modem since you're working on a laptop. If
it's an internal modem, you probably should visit www.linmodems.org to
find the latest drivers for it.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: HELP: esd=Unable to connect to UNIX socket /var/run/esound/socket

2001-06-25 Thread Guy Geens
> "Bruno" == Bruno Boettcher <[EMAIL PROTECTED]> writes:

Bruno> hello! i am using latest unstable, and esd stopped working
Bruno> i get the error message : Unable to connect to UNIX socket
Bruno> /var/run/esound/socket

Either do:
chgrp audio /usr/bin/esd
chmod g+s /usr/bin/esd

Or: add all users who need sound to the `audio' group.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: Netscape 4.77 Java Fonts too large

2001-06-25 Thread Guy Geens
> "Harold" == Harold Bibik <[EMAIL PROTECTED]> writes:

Harold> Using Netscape 4.77 on a Progeny-Debian (Newton)system with
Harold> Gnome 1.4, I get HUGE bold fonts in Java Applets.

I long time ago, I found a page with tips on how to make Netscape
fonts look better. I can't find it now, but this page seems to have
the information you need:
http://www2.arnes.si/~mrihta3/ns-unix.html

Also, install the msttcorefonts package. This gives you access to
Microsoft's TTF fonts which are used by many web sites.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Re: broken terminal 'a'

2001-06-25 Thread Guy Geens
> "Michael" == Michael P Soulier <[EMAIL PROTECTED]> writes:

Michael> Hey people. Currently, in terminal mode without X
Michael> running, the top half of all of my 'a' characters is missing.
Michael> I'm confused. What could cause this??

First guess: a broken font.

Try: `apt-get --reinstall install console-data' to see if this fixes
the problem. (You might need to reboot before the changes take
effect.)

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



  1   2   >