Extending ext3 root-fs

2007-09-03 Thread jan . johansson
Hello!

I am running Debian 4.0 64bit on an Opteron.
My disks are two RAID5 on a IPC VOrtex controller (gdth).

My / is becoming a bit to small (Mostly stuff in /lib), so i extended it 
with

 lvextend -L +200M /dev/Debian/root

Now, to resize the fs i intend to boot from a knoppix-live CD and then use 
resize2fs to resize the fs.

Am i missing anything? might i screw up GRUB or anything else like this?

RE: Unable to start courier-imap?

2006-10-14 Thread Jan Johansson
Just a guess, but according to this old thread, it sounds like you're
running out of memory?
http://lists.debian.org/debian-user/2005/02/msg01603.html

Doesn't quite seem logical:

haven:/etc/exim4# free
 total   used   free sharedbuffers cached
Mem:   1029136 905276 123860  0  56588 245944
-/+ buffers/cache: 602744 426392
Swap:  3012148 563012092
haven:/etc/exim4#


smime.p7s
Description: S/MIME cryptographic signature


Unable to start courier-imap?

2006-10-13 Thread Jan Johansson
I am trying to set up courier-imap and courier-imap-ssl (4.1.1-3) in
Etch, but I constantly run into vthe below when starting courier-imap

haven:/var/mail/Eriks Maskiner/erik/new# /etc/init.d/courier-imap start
Starting Courier IMAP server:/etc/init.d/courier-imap: xrealloc:
../bash/subst.c:512: cannot reallocate 512 bytes (0 bytes allocated)

Any hints?




Apache2 and mod_auth_mysql?

2006-10-03 Thread Jan Johansson
I am trying to use mod_auth_mysql for Apache2, and even tho it is linked
from mods-enabled, I get 

Invalid command 'AuthMySQLHost', perhaps mis-spelled or defined by a
module not included in the server configuration any hints? 

(yes, I restarted Apache2)


Versions:
apache2 2.0.55-4.1
libapache2-mod-auth-mysql   4.3.9-2.1

Here is my .htaccess
AuthName My Authorization test
AuthType Basic
AuthMySQLHost localhost
AuthMySQLDB test
AuthMySQLUserTable user_info
require valid-user

haven:~# ls /etc/apache2/mods-enabled/
auth_mysql.load  cgi.load  php5.conf  php5.load  ssl.conf  ssl.load
haven:~#



Apache2 and Encoding?

2006-10-01 Thread Jan Johansson
Hello!

I have been running my old web server (with apache 1.3.x) for years, but now
it is time to build a new box.

But, I ran into a problem:
I tried moving my wifes page over, and I get encoding problems. Below is a
copy of the header.

head
meta http-equiv=Content-Language content=sv
meta http-equiv=Content-Type content=text/html; charset=windows-1252
titleMin Sida/title
/head

But, when I serve this page with my old web server, It works. With the new
it does not.

I used a tool I found  (
http://www.thinkhost.com/services/generators/headers-check.shtml ) to see
what happened.

Old server: 
HTTP/1.1 200 OK Date: Sun, 01 Oct 2006 07:32:03 GMT Server: Apache/1.3.34
(Debian) PHP/4.4.0-4 mod_fastcgi/2.2.10 mod_ssl/2.8.25 OpenSSL/0.9.8a
mod_perl/1.29 Last-Modified: Sat, 25 Mar 2006 05:53:29 GMT ETag:
quot;8b8e-ef8-4424dad9quot; Accept-Ranges: bytes Content-Length: 3832
Connection: close Content-Type: text/html; charset=iso-8859-1

New Server:
HTTP/1.0 200 OK Date: Sun, 01 Oct 2006 08:00:33 GMT Server: Apache/2.0.55
(Debian) PHP/5.1.6-1 mod_ssl/2.0.55 OpenSSL/0.9.8c Last-Modified: Sat, 30
Sep 2006 22:14:20 GMT ETag: quot;57aac-ef8-41eb318268700quot;
Accept-Ranges: bytes Content-Length: 3832 Connection: close Content-Type:
text/html; charset=UTF-8

Now, I suppose I could use AddDefaultCharset, but that would most likely
break a lot of other pages.

How can I make sense out of this?


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



RE: Apache2 and Encoding?

2006-10-01 Thread Jan Johansson
You may try using a more standards-compliant charset, for example
ISO-8859-4, for Northern Europe. Or try UTF-8, it should contain all your
special characters.
This is the best way if there are a few pages only.

Well, yes.  But I can't really change everyones pages, because ther prolly
is 50-60 sites on the box. 

Hence I would like a proper solution.


smime.p7s
Description: S/MIME cryptographic signature


RE: Apache2 and Encoding?

2006-10-01 Thread Jan Johansson
Further to my previous, it appears that character set for the server is the
issue.  Since you've told the and  new servers to use different character
sets, that might be part of the problem.


Hello!

First, I'd like to say that I have not seen a previous post from you in the
thread. Could you please resend it to me?

Second, the old server has

AddDefaultCharset on

But if I add that to the new server, it actually sets the charset to on,
which isn't really quite what I want :)



smime.p7s
Description: S/MIME cryptographic signature


RE: Apache2 and Encoding?

2006-10-01 Thread Jan Johansson
Further to my previous, it appears that character set for the server is the
issue.  Since you've told the and  new servers to use different character
sets, that might be part of the problem.

Killing off /etc/apache2/conf.d/charset fixed the issue. Thanks for the help
anyhow!


smime.p7s
Description: S/MIME cryptographic signature


Migrate system?

2006-09-17 Thread Jan Johansson
If i want to migrate a system from a plain ide system (on board IDE, and
root-fs being /dev/hda2) to a new system where the root-fs would be on a
ICP-Vortex RAID-controller, managed by the gdth module. How would I do that
in an easy fashion?


I thought I would do the following:

1. amend gdth to /etc/mkinitrd/modules on the existing system
2. generate a new initrd for existing system.
3. Install a basic etch on the new platform.
4. copy just about everything except /proc and /dev from the old system to
the new host.
5. edit fstab
6. edit grub config
7. reboot

How bad would this fail?

Also, for the gdth-based system, how can I create a rescue CD that will boot
the system? I can't use makeboot, since the system does not have a floppy
drive, but it does have a CD-R/w unit.


smime.p7s
Description: S/MIME cryptographic signature


RE: possible to merge partitions?

2006-07-23 Thread Jan Johansson
I have some NTFS partions in my computer and I want now to format it into
XFS and merging them into one partion, 

are there any tools is able to do this? thx a lot!

Without wiping your existing data? No.


smime.p7s
Description: S/MIME cryptographic signature


Source for Xfree?

2006-07-23 Thread Jan Johansson
Hello!

I want to compile the IVTV-drivers for Xfree, but I can't figure out which
packages I require to obtain the source for Xfree?

I have installed xserver-xorg-dev 1:1.0.2-9  but I do not have any source in
/usr/src


I am running Etch


smime.p7s
Description: S/MIME cryptographic signature


RE: possible to merge partitions?

2006-07-23 Thread Jan Johansson
http://www.google.ca/search?q=partition+magic


Supports FAT, FAT32, NTFS, Ext2, and Ext3 file systems.. and the user
wanted:

XFS and merging them into one partion,


Sooo, your point was?


smime.p7s
Description: S/MIME cryptographic signature


RE: Source for Xfree?

2006-07-23 Thread Jan Johansson
The -dev packages generally only have the static libraries and headers, not
the sources.  If you need sources, then just run `apt-get source
xserver-xorg` and it will download and unpack the correct source package in
the current directory.

Thanks! Now to see if it is all I need :)


smime.p7s
Description: S/MIME cryptographic signature


Compiling ivtv_xdriver on etch?

2006-07-23 Thread Jan Johansson
I am trying to compile ivtv_xdriver_0.10.6 on etch (trying to get support
for xv), but I get the below.



mythbox:~/Download/IVTV/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/x
free86/drivers/ivtv# xmkmf /usr/src/xorg-server-1.0.2/
mv -f Makefile Makefile.bak
imake -I/usr/src/xorg-server-1.0.2//config/cf
-DTOPDIR=/usr/src/xorg-server-1.0.2/ -DCURDIR=.
Imakefile.c:39: error: Imake.tmpl: No such file or directory
imake: Exit code 1.
  Stop.
mythbox:~/Download/IVTV/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/x
free86/drivers/ivtv#


mythbox:~/Download/IVTV/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/x
free86/drivers/ivtv# xmkmf /usr/src/xorg-7.0.22/
mv -f Makefile Makefile.bak
imake -I/usr/src/xorg-7.0.22//config/cf -DTOPDIR=/usr/src/xorg-7.0.22/
-DCURDIR=.
Imakefile.c:39: error: Imake.tmpl: No such file or directory
imake: Exit code 1.
  Stop.
mythbox:~/Download/IVTV/ivtv_xdriver_0.10.6/ivtvdrv/xc/programs/Xserver/hw/x
free86/drivers/ivtv#


smime.p7s
Description: S/MIME cryptographic signature


Autologin, not possible to select user?

2006-07-19 Thread Jan Johansson

Hello!

I am grying to set up autologin in GNOME 2.1.4 in my Etch-box.

But, the only user in the list I can chose from is the user I created
during initial install of the system. None of the users created after
install (more specifically, I would like to auto-logon the user mythtv)
is displayed in the list. 

Need I perform some additional task for a user to be selectable?

(Yes, the mythtv-user has a password, and logging on manually works) 



RE: Autologin, not possible to select user?

2006-07-19 Thread Jan Johansson

look in  /etc/kde3/kdm/kderc (I think that's the file) you can add
users in there


Will certainly do when I get home, thanks!

But, would GNOME use KDE3 config files?



RE: Autologin, not possible to select user?

2006-07-19 Thread Jan Johansson
Hi Jan,
I was looking into setting up a kiosk mode with gdm/gnome and I read
about gdm having 2 options (not sure they are in the gdm in
etch/testing) in Sid. It has autologin and timed autologin. You edit the
/etc/gdm/gdm.conf.

this autologsin the kiosk user
-
[daemon]
AutomaticLogin=kiosk
-
this autologsin the kiosk user after 10 seconds
-
[daemon]
TimedLoginEnable=true
TimedLogin=kiosk
TimedLoginDelay=10

Actually, No. Because this is what I have been doing. It simply will not
accept any user created post-install. If I try, I only get a beep when GDM
starts up, and then I get a normal login prompt.

Thanks tho!


smime.p7s
Description: S/MIME cryptographic signature


RE: Autologin, not possible to select user?

2006-07-19 Thread Jan Johansson
hope this helps
Kev

H, for some reason, it seem to only accept users with a UID 1000. I
changed the UID of mythtv from 108 - 1003, and then all was well.


smime.p7s
Description: S/MIME cryptographic signature


RE: Re: Problems with loop-aes?

2006-03-09 Thread Jan Johansson
Are you losetup'ing and *then* running dd to create the file?  From
reading
your post, I get that impression.  If you are, you should create the
file
with dd, and *then* losetup it.


I am following:
http://deb.riseup.net/storage/encryption/loop-aes/


Here is a longer post I did  on linux-crypto

What you said was inconsistent. loop3/md4 vs. loop1/md2

I will do that. Just as a sort out 3/4 were the examples on the page.
1/2 was what I actually used. 

I start by rebooting my system to be sure.

cookiemonster:~/VMware# reboot
[removed useless info about system shutting down]

We log in, and I recreated the array (after zeroing superblocks)
mdadm --create /dev/md2 --chunk=64 --level=raid1 --raid-devices=2
/dev/hde1 /dev/hdf1


cookiemonster:~# mdadm --detail /dev/md2
/dev/md2:
Version : 00.90.01
  Creation Time : Thu Mar  9 20:25:02 2006
 Raid Level : raid1
 Array Size : 80418112 (76.69 GiB 82.35 GB)
Device Size : 80418112 (76.69 GiB 82.35 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 2
Persistence : Superblock is persistent

Update Time : Thu Mar  9 20:25:02 2006
  State : clean, resyncing
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

 Rebuild Status : 2% complete

   UUID : 5e24575f:df3b5a81:f2a68636:ff7f6e2b
 Events : 0.415

Number   Major   Minor   RaidDevice State
   0  3310  active sync
/dev/.static/dev/hde1
   1  33   651  active sync
/dev/.static/dev/hdf1
cookiemonster:~#

We have plenty of memory
cookiemonster:~# free
 total   used   free sharedbuffers
cached
Mem:   3116936 1701602946776  0   6296
73592
-/+ buffers/cache:  902723026664
Swap:  1951888  01951888
cookiemonster:~#
cookiemonster:~# modprobe loop
cookiemonster:~# head -c 15 /dev/urandom | uuencode -m - | head -n 2 |
tail -n 1 | losetup -p 0 -e AES256  /dev/loop1 /dev/md2

So far, all is well, log shows:
Mar  9 20:29:24 cookiemonster kernel: loop: loaded (max 8 devices)
Mar  9 20:29:24 cookiemonster udev[4958]: creating device node
'/dev/loop0'
Mar  9 20:29:24 cookiemonster udev[4965]: creating device node
'/dev/loop1'
Mar  9 20:29:24 cookiemonster udev[4972]: creating device node
'/dev/loop2'
Mar  9 20:29:24 cookiemonster udev[5007]: creating device node
'/dev/loop3'
Mar  9 20:29:24 cookiemonster udev[5008]: creating device node
'/dev/loop4'
Mar  9 20:29:24 cookiemonster udev[5009]: creating device node
'/dev/loop5'
Mar  9 20:29:24 cookiemonster udev[5010]: creating device node
'/dev/loop6'
Mar  9 20:29:24 cookiemonster udev[5011]: creating device node
'/dev/loop7'

cookiemonster:~# dd if=/dev/zero of=/dev/loop3 bs=4k conv=notrunc
2/dev/null
cookiemonster:~# losetup -d /dev/loop1
cookiemonster:~# losetup -F /dev/loop1
Password:
cookiemonster:~# mkfs.ext3 /dev/loop1

And THEN I get the below (but mind you, the FS create continues, until
Writing inode tables: Done and then the terminal freezes. But
processes starts to dies with OOM ( still have plenty RAM left).
cookiemonster:~# free
 total   used   free sharedbuffers
cached
Mem:   3116936 9834682133468  0 819064
45896
-/+ buffers/cache: 1185082998428
Swap:  1951888  01951888
cookiemonster:~#

Mar  9 20:32:46 cookiemonster kernel: Out of Memory: Killed process 4256
(mysqld).
Mar  9 20:32:46 cookiemonster mysqld_safe[5080]: Number of processes
running now: 0
Mar  9 20:32:46 cookiemonster mysqld_safe[5082]: restarted
Mar  9 20:32:48 cookiemonster mysqld[5085]: 060309 20:32:48  InnoDB:
Database was not shut down normally!
Mar  9 20:32:48 cookiemonster mysqld[5085]: InnoDB: Starting crash
recovery.
Mar  9 20:32:48 cookiemonster mysqld[5085]: InnoDB: Reading tablespace
information from the .ibd files...
Mar  9 20:32:48 cookiemonster mysqld[5085]: InnoDB: Restoring possible
half-written data pages from the doublewrite
Mar  9 20:32:48 cookiemonster mysqld[5085]: InnoDB: buffer...
Mar  9 20:32:49 cookiemonster mysqld[5085]: 060309 20:32:49  InnoDB:
Starting log scan based on checkpoint at
Mar  9 20:32:49 cookiemonster mysqld[5085]: InnoDB: log sequence number
0 45824.
Mar  9 20:32:49 cookiemonster mysqld[5085]: InnoDB: Doing recovery:
scanned up to log sequence number 0 45824
Mar  9 20:32:49 cookiemonster mysqld[5085]: InnoDB: Last MySQL binlog
file position 0 79, file name /var/log/mysql/mysql-bin.51
Mar  9 20:32:49 cookiemonster mysqld[5085]: 060309 20:32:49  InnoDB:
Flushing modified pages from the buffer pool...
Mar  9 20:32:50 cookiemonster mysqld[5085]: 060309 20:32:50  InnoDB:
Started; log sequence number 0 45824
Mar  9 20:32:51 cookiemonster mysqld[5085]: /usr/sbin/mysqld: ready for
connections.
Mar  9 20:32:51 cookiemonster mysqld[5085]: Version:
'4.1.11-Debian_4sarge2-log'  socket: '/var/run/mysqld/mysqld.sock'
port: 3306  Source distribution


== /var/log/messages ==
Mar  9 

Problems with loop-aes?

2006-03-08 Thread Jan Johansson
(Not sure if this is a loop-aes problem or a genral platform problem)

Hello!

I used the instructions on
http://deb.riseup.net/storage/encryption/loop-aes/ to create a encrypted
area. But when I get to the 'dd' stage (using /dev/loop1 and /dev/md2),
weird things starts to happen. (problem does not occur if I 'dd' to a
file that is not done through losetup)

I should have plenty of memory
 total   used   free sharedbuffers
cached
Mem:   31169363095872  21064  0 178824
2545060
-/+ buffers/cache: 3719882744948
Swap:  19518887721951116
cookiemonster:~/VMware#

At the time of the problem, swap was less then 50MB in use.

Running Debian 3.1
cookiemonster:~/VMware# uname -a
Linux cookiemonster 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686
GNU/Linux

cookiemonster:~/VMware# dpkg -l | grep aes ii  loop-aes-2.6.8
2.2d-5+2.6.8-1 AES-encryption loopback Linux kernel module
ii  loop-aes-sourc 2.2d-5 AES-encryption loopback Linux kernel
module
ii  loop-aes-utils 2.12p-4sarge1  Tools for mounting and manipulating
filesyst cookiemonster:~/VMware#

I am not sure what other info is useful?

Mar  7 19:20:40 cookiemonster kernel: oom-killer: gfp_mask=0xd0 Mar  7
19:20:40 cookiemonster kernel: DMA per-cpu:
Mar  7 19:20:40 cookiemonster kernel: cpu 0 hot: low 2, high 6, batch 1
Mar  7 19:20:40 cookiemonster kernel: cpu 0 cold: low 0, high 2, batch 1
Mar  7 19:20:40 cookiemonster kernel: Normal per-cpu:
Mar  7 19:20:40 cookiemonster kernel: cpu 0 hot: low 32, high 96, batch
16 Mar  7 19:20:40 cookiemonster kernel: cpu 0 cold: low 0, high 32,
batch 16 Mar  7 19:20:40 cookiemonster kernel: HighMem per-cpu:
Mar  7 19:20:40 cookiemonster kernel: cpu 0 hot: low 32, high 96, batch
16 Mar  7 19:20:40 cookiemonster kernel: cpu 0 cold: low 0, high 32,
batch 16 Mar  7 19:20:40 cookiemonster kernel:
Mar  7 19:20:40 cookiemonster kernel: Free pages:   56112kB (51712kB
HighMem)
Mar  7 19:20:40 cookiemonster kernel: Active:314462 inactive:417279
dirty:98112 writeback:190440 unstable:0 free:14028 slab:24168
mapped:5741 0 pagetables:323 Mar  7 19:20:40 cookiemonster kernel: DMA
free:1904kB min:16kB low:32kB high:48kB active:0kB inactive:7904kB
present:16384kB Mar  7 19:20:40 cookiemonster kernel: protections[]: 8
476 732 Mar  7 19:20:41 cookiemonster kernel: Normal free:2496kB
min:936kB low:1872kB high:2808kB active:108kB inactive:760052kB
present:901120kB Mar  7 19:20:41 cookiemonster kernel: protections[]: 0
468 724 Mar  7 19:20:41 cookiemonster kernel: HighMem free:51712kB
min:512kB low:1024kB high:1536kB active:1257740kB inactive:901160kB
present:222790 4kB Mar  7 19:20:41 cookiemonster kernel: protections[]:
0 0 256 Mar  7 19:20:41 cookiemonster kernel: DMA: 0*4kB 126*8kB 46*16kB
5*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB =
1904kB Mar  7 19:20:41 cookiemonster kernel: Normal: 138*4kB 13*8kB
1*16kB 47*32kB 5*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB
= 2496k B Mar  7 19:20:41 cookiemonster kernel: HighMem: 246*4kB 891*8kB
293*16kB 180*32kB 46*64kB 24*128kB 2*256kB 0*512kB 8*1024kB 3*2048kB
3*4096kB = 51712kB Mar  7 19:20:41 cookiemonster kernel: Swap cache: add
637, delete 530, find 111/130, race 0+0 Mar  7 19:20:41 cookiemonster
kernel: Out of Memory: Killed process 29237 (mysqld).
Mar  7 19:21:01 cookiemonster mysqld_safe[29297]: Number of processes
running now: 0
: Mar  7 19:21:07 cookiemonster mysqld_safe[29299]: restarted Mar  7
19:21:08 cookiemonster kernel: oom-killer: gfp_mask=0xd0 Mar  7 19:21:08
cookiemonster kernel: DMA per-cpu:
Mar  7 19:21:08 cookiemonster kernel: cpu 0 hot: low 2, high 6, batch 1
Mar  7 19:21:08 cookiemonster kernel: cpu 0 cold: low 0, high 2, batch 1
Mar  7 19:21:08 cookiemonster kernel: Normal per-cpu:
Mar  7 19:21:08 cookiemonster kernel: cpu 0 hot: low 32, high 96, batch
16 Mar  7 19:21:08 cookiemonster kernel: cpu 0 cold: low 0, high 32,
batch 16 Mar  7 19:21:08 cookiemonster kernel: HighMem per-cpu:
Mar  7 19:21:08 cookiemonster kernel: cpu 0 hot: low 32, high 96, batch
16 Mar  7 19:21:08 cookiemonster kernel: cpu 0 cold: low 0, high 32,
batch 16 Mar  7 19:21:08 cookiemonster kernel:
Mar  7 19:21:08 cookiemonster kernel: Free pages:   71888kB (68160kB
HighMem)
Mar  7 19:21:08 cookiemonster kernel: Active:312689 inactive:415107
dirty:704 writeback:189093 unstable:0 free:17972 slab:24235 mapped:55481
pagetables:307
Mar  7 19:21:08 cookiemonster kernel: DMA free:1904kB min:16kB low:32kB
high:48kB active:0kB inactive:7840kB present:16384kB Mar  7 19:21:08
cookiemonster kernel: protections[]: 8 476 732 Mar  7 19:21:09
cookiemonster kernel: Normal free:1824kB min:936kB low:1872kB
high:2808kB active:180kB inactive:760516kB present:901120kB Mar  7
19:21:09 cookiemonster kernel: protections[]: 0 468 724 Mar  7 19:21:09
cookiemonster kernel: HighMem free:68160kB min:512kB low:1024kB
high:1536kB active:1250576kB inactive:892072kB present:222790 4kB Mar  7
19:21:09 cookiemonster kernel: 

RE: md array not starting?

2006-02-28 Thread Jan Johansson

No RAIDs defined in /etc/mdadm/mdadm.conf.  However, mdrun
searches for all RAIDs (IIRC by partition type = 0xfd) and
starts them.


Well, I haved DEVICE partitions in there. Should not that do a scan?




RE: md array not starting?

2006-02-28 Thread Jan Johansson
No RAIDs defined in /etc/mdadm/mdadm.conf.  However, mdrun
searches for all RAIDs (IIRC by partition type = 0xfd) and
starts them.

I wouldn't recommend doing this blindly but given what you've
posted I think this will fix your config for you:

mdadm --examine --scan /etc/mdadm/mdadm.conf

--Mike Bird

Also, how would I hot wire the init-script to use mdrun instead?



RE: Resize raid? RAID Reconfig Tool?

2006-02-28 Thread Jan Johansson
because you forgot the missing drive

Lets change that theory. Lets say I want to growthe array as I move data
over. And I need to grow it in several stages. Then I can not use
missing, since I then I effect have 1 missing drives in a RAID-5.

So, is there tools to actually _add_ drives to an existin Raid5?



RE: md array not starting?

2006-02-28 Thread Jan Johansson
Perhaps some more information would help.  The Debian version
you are running and any relevant changes.  fdisk -l.

cookiemonster:~# cat /etc/debian_version
3.1

cookiemonster:~# uname -a
Linux cookiemonster 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686
GNU/Linux

cookiemonster:~# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   *   1   8   64228+  83  Linux
/dev/hda2   9 251 1951897+  82  Linux swap /
Solaris
/dev/hda3 252972976132035   83  Linux

Disk /dev/hdc: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hdc1   1   24321   195358401   fd  Linux raid
autodetect

Disk /dev/hdd: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hdd1   1   24321   195358432   fd  Linux raid
autodetect

Disk /dev/hde: 82.3 GB, 82348277760 bytes
16 heads, 63 sectors/track, 159560 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hde1   1  15956080418208+  83  Linux

Disk /dev/hdf: 82.3 GB, 82348277760 bytes
16 heads, 63 sectors/track, 159560 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hdf1   1  15956080418208+  83  Linux

Disk /dev/hdg: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hdg1   1   24321   195358401   83  Linux

Disk /dev/hdh: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hdh1   1   24321   195358401   83  Linux

Disk /dev/md0: 200.0 GB, 200046936064 bytes
2 heads, 4 sectors/track, 48839584 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md0 doesn't contain a valid partition table
cookiemonster:~#



Resize raid? RAID Reconfig Tool?

2006-02-27 Thread Jan Johansson
Is RAID Reconfiguration Tool  ( http://unthought.net/raidreconf/ )
still the only way to reconfigure an array? I just thought since the
page is from 2001 maybe there is a new way? I would like to add another
200GB disk and go from RAID-1 - RAID-5



RE: Resize raid? RAID Reconfig Tool?

2006-02-27 Thread Jan Johansson
We use mdadm to administer our software raid. For (certain) hardware 
raid there other tools available. Just apt-cache search raid...

Wait... does mdadm have that built in?



RE: Resize raid? RAID Reconfig Tool?

2006-02-27 Thread Jan Johansson
We use mdadm to administer our software raid. For (certain) hardware 
raid there other tools available. Just apt-cache search raid...

Wait... does mdadm have that built in?


Let's rephrase that.

Lets say I just did

cookiemonster:/mnt/hde1# mdadm --create /dev/md0 --level=5
--raid-devices=2 /dev/hd[cd]1 --auto
mdadm: array /dev/md0 started.

Which gives me a RAID5 on 2x200GB (That right now really is a RAID1)

And I later on would like to add _another_ 200GB disk to that array and
turn it into a 400GB RAID5, can mdadm do that? I see a grow switch,
but I am abit unclear about the usage.

I think I'll be using XFS on that disk, which I understand _Can_ be
resized dynamically?



RE: Resize raid? RAID Reconfig Tool?

2006-02-27 Thread Jan Johansson
Raid5 on n-1 disks is more like raid0

Are you sure there? It seem to have come up as one 200GB device?

cookiemonster:~# cat /proc/mdstat
Personalities : [raid5]
md0 : active raid5 hdd1[1] hdc1[0]
  195358336 blocks level 5, 64k chunk, algorithm 2 [2/2] [UU]

unused devices: none
cookiemonster:~#

What you can basically do is build a degraded array (using missing)
mdadm -Cv /dev/md0 -l1 -n3 /dev/hdc1 /dev/hdd1 missing


Wouldn't I want -l5?

It will be like having raid0 (in terms of security) but will let you 
move your existing data onto it.

...which is what I want, cause the last 200GB is the one with the data
on.



md array not starting?

2006-02-27 Thread Jan Johansson
I created a two disk array, created a file system. Mounted the file
system. Tested the file system, and all was well.

I then rebooted the system, and the array does not come back
automatically.

I have the following config.

cookiemonster:~# uname -a
Linux cookiemonster 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686
GNU/Linux

cookiemonster:~# cat /etc/default/mdadm
# This file is automatically generated.
# Run 'dpkg-reconfigure mdadm' to modify it.
START_DAEMON=true
MAIL_TO=root
AUTOSTART=true
cookiemonster:~#

cookiemonster:~# cat /etc/mdadm/mdadm.conf
DEVICE partitions
cookiemonster:~#

And I thought that should make things automagical?

The array seem to be there, because
cookiemonster:~# mdadm --examine --scan
ARRAY /dev/.static/dev/md0 level=raid5 num-devices=2
UUID=be1a9899:cbbb6f22:2b320f91:f4efdba8
   devices=/dev/hdd1,/dev/hdc1
cookiemonster:~#


What needs to be done to auto-start the array?



RE: md array not starting?

2006-02-27 Thread Jan Johansson
Are /dev/hdd1 and /dev/hdc1 both partitions of type (hex)fd?

No, they were 83.

I have now chaged it, but still

cookiemonster:~# /etc/init.d/mdadm-raid start
Starting raid devices: mdadm: No arrays found in config file
done.
cookiemonster:~# cat /etc/mdadm/mdadm.conf
DEVICE partitions
cookiemonster:~#
cookiemonster:~# mdadm --examine --scan
ARRAY /dev/.static/dev/md0 level=raid5 num-devices=2
UUID=be1a9899:cbbb6f22:2b320f91:f4efdba8
   devices=/dev/hdd1,/dev/hdc1
cookiemonster:~#



RE: md array not starting?

2006-02-27 Thread Jan Johansson
Are /dev/hdd1 and /dev/hdc1 both partitions of type (hex)fd?

--Mike Bird

[Followup to previous mail]

I looked in /etc/init.d/mdadm-raid  (enclosed below)

And saw that the script choses between mdadm and mdrun.

Funny thing is that if I execute mdrun it starts up my arrays.
Any clue to why mdadm fails, and mdrun works? 

cookiemonster:~# cat /etc/init.d/mdadm-raid
#!/bin/sh
#
# Start any arrays which are described in /etc/mdadm/mdadm.conf and
which are
# not running already.
#
# Copyright (c) 2001-2004 Mario Jou/3en [EMAIL PROTECTED]
# Distributable under the terms of the GNU GPL version 2.

MDADM=/sbin/mdadm
MDRUN=/sbin/mdrun
CONFIG=/etc/mdadm/mdadm.conf
DEBIANCONFIG=/etc/default/mdadm

test -x $MDADM || exit 0

AUTOSTART=true
test -f $DEBIANCONFIG  . $DEBIANCONFIG

case $1 in
start)
if [ x$AUTOSTART = xtrue ] ; then
if [ ! -f /proc/mdstat ]  [ -x /sbin/modprobe ] ; then
/sbin/modprobe -k md  /dev/null 21
fi
test -f /proc/mdstat || exit 0
echo -n Starting raid devices: 
if [ -f $CONFIG ]  [ -x $MDADM ] ; then
$MDADM -A -s -a
elif [ -x $MDRUN ] ; then
$MDRUN
fi
echo done.
fi
;;
stop|restart|reload|force-reload)
;;
*)
echo Usage: $0 {start|stop|restart|reload|force-reload}
exit 1
;;
esac

exit 0
cookiemonster:~#



OpenVPN makes system loose all network conectivity?

2006-02-25 Thread Jan Johansson
Title: OpenVPN makes system loose all network conectivity?






I have a wierd phenomenon. I have a new box, that can't seem to run openvpn.
Whenever i start Openvpn, the system looses all network connectivity. I have never seen anything like this before, and i am stumped. This is the first box i have installed which uses udev/devFS.. And i see some strange messages in the logs about that. Any help apreciated.

Below are excerpts from syslog, as well as the config and other info.

cookiemonster:~# cat /etc/openvpn/scooter.conf
dev tun0
ifconfig 10.4.1.2 10.4.1.1
secret /etc/openvpn/scooter
remote scooter.mupp.net
keepalive 10 30
daemon OpenVPN_scooter
route 192.168.0.0 255.255.255.0 10.4.1.2
proto tcp-client
ping-timer-rem

cookiemonster:~#



cookiemonster:~# uname -a
Linux cookiemonster 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686 GNU/Linux
cookiemonster:~#

cookiemonster:~# dpkg -l | grep -i openvpn
ii openvpn 2.0-1sarge2 Virtual Private Network daemon
cookiemonster:~# dpkg -l | grep -i kernel-image
ii kernel-image-2 2.4.27-10sarge Linux kernel image for version 2.4.27 on 386
ii kernel-image-2 2.6.8-16sarge1 Linux kernel image for version 2.6.8 on PPro
cookiemonster:~#


Feb 26 19:44:39 cookiemonster OpenVPN_scooter[4052]: OpenVPN 2.0 i386-pc-linux [SSL] [LZO] [EPOLL] built on Nov 3 2005
Feb 26 19:44:39 cookiemonster OpenVPN_scooter[4052]: IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Feb 26 19:44:39 cookiemonster OpenVPN_scooter[4052]: TUN/TAP device tun0 opened
Feb 26 19:44:39 cookiemonster OpenVPN_scooter[4052]: ifconfig tun0 10.4.1.2 pointopoint 10.4.1.1 mtu 1500
Feb 26 19:44:39 cookiemonster OpenVPN_scooter[4059]: Attempting to establish TCP connection with 213.212.33.23:1194
Feb 26 19:44:39 cookiemonster OpenVPN_scooter[4059]: TCP connection established with 213.212.33.23:1194
Feb 26 19:44:39 cookiemonster OpenVPN_scooter[4059]: TCPv4_CLIENT link local: [undef]
Feb 26 19:44:39 cookiemonster OpenVPN_scooter[4059]: TCPv4_CLIENT link remote: 213.212.33.23:1194
Feb 26 19:44:39 cookiemonster OpenVPN_scooter[4059]: Peer Connection Initiated with 213.212.33.23:1194
Feb 26 19:44:40 cookiemonster OpenVPN_scooter[4059]: Initialization Sequence Completed


Feb 26 19:43:53 cookiemonster kernel: Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Feb 26 19:43:53 cookiemonster udev[4025]: configured rule in '/etc/udev/rules.d/udev.rules[54]' applied, 'tun' becomes 'net/%k'
Feb 26 19:43:53 cookiemonster udev[4025]: creating device node '/dev/net/tun'
Feb 26 19:43:53 cookiemonster net.agent[4032]: Bad NET invocation: $INTERFACE is not set
Feb 26 19:44:39 cookiemonster OpenVPN_scooter[4052]: OpenVPN 2.0 i386-pc-linux [SSL] [LZO] [EPOLL] built on Nov 3 2005
Feb 26 19:44:39 cookiemonster OpenVPN_scooter[4052]: IMPORTANT: OpenVPN's default port number is now 1194, based on an officia




RE: OpenVPN makes system loose all network conectivity?

2006-02-25 Thread Jan Johansson

Erm, your local network address wouldn't happen to be a 192.168.0.x
address, would it?


NOO i copied the
_wrong_ conf file from my backup! Thanks.. Talk about being blind.

But I still get this:

Feb 26 03:30:59 cookiemonster net.agent[7806]: Bad NET invocation:
$INTERFACE is not set

But the tunnel works... thanks!



RE: Error exit delayed from previous errors

2006-02-17 Thread Jan Johansson

However, the resultant home.tar file appears to be OK (I can extract it
without evident errors).

Google shows a number of references to this problem but none seems
particularly relevant.

I don't much like relying on files that have been generated with this
error. Any ideas? Can I ignore it?

Isnt that the error you get it you try to create a file which is bigger
then the filesystem will allow? I seem to recall getting that when
trying to create a 2GB archive on an ext2-partition?



3Ware controller and Drive SPindown?

2006-02-16 Thread Jan Johansson
Is it possible to spin-down drives that is connected to a 3Ware
controller? I am pondering adding an old 7000-series board to one of my
boxes, but it would be nice to retain power save (Or rather Noise-save).



VMWare Server and Kernel?

2006-02-12 Thread Jan Johansson
I am about to set up a new VMWare host since VMWare Server is now a free
application.

I have understood that in order to complie the various modules, you must
use the exact same GCC for the kernel as for the module. 

Now, if I want to grab linux-image-2.6.15-686-smp and make sure I can build
the VMWare modules how would I go about doing that?

Can I download the kernel source and make an exact copy of the prepackaged
kernel somehow? As in, all modules compiled the same way and so forth?

Any hints appreciated!


smime.p7s
Description: S/MIME cryptographic signature


RE: SIOCDELRT: No such process (sarge networking)

2004-08-23 Thread Jan Johansson
 Now I am wondering if it is hardware-related; I am
 using a motherboard with integrated ethernet: SiS900
 PCI Fast Ethernet (rev 83)

Yeap, I have the same situation on a system with that chip. What happens
is that eth0 and eth1 simply swaps places on some boots (integrated
SiS900 and a Intel Etherexpress Pro 100S) i.e. it seem to initialize the
devices in the wrong order sometimes. Personally I couldn't be bothered
in finding a real solution, so I just scripted to have the system reboot
if eth0 did not come up with the MAC-address it was supposed to have.
Ugly solution, but workable.. change MAC's as needed.

#!/bin/bash
ETH0MAC=AA:AA:AA:AA:AA:AA
REALMAC0=$(/sbin/ifconfig | grep eth0 | awk '$0 ~ /HWaddr/ {print
$NF}')
ETH1MAC=BB:BB:BB:BB:BB:BB
REALMAC1=$(/sbin/ifconfig | grep eth1 | awk '$0 ~ /HWaddr/ {print
$NF}')

if [ $ETH0MAC != $REALMAC0 ]
then  
echo REBOOTING DUE TO MAC MISSMATCH
sleep 3
/sbin/reboot
fi

if [ $ETH1MAC != $REALMAC1 ]
then
echo REBOOTING DUE TO MAC MISSMATCH
sleep 3 
   /sbin/reboot
fi



RE: Ethernet card not responding after some time

2004-08-20 Thread Jan Johansson
 Has anybody experienced a similar problem or have any idea what the
 problem could be?

Had that problem in a system using DEC/Tulip cards, never worked out
what the cause was, I just replaced the cards with Intel Etherexpress
and haven't seen the problem since ;)



SNMP and mibs?

2004-08-17 Thread Jan Johansson
I have the following components on a debian system

hooch:/usr/share/snmp/mibs# dpkg -l | grep snmp
ii  libnet-snmp-pe 4.0.3-1Script SNMP connections
ii  libsnmp-base   5.1.1-2NET SNMP (Simple Network Management
Protocol
ii  libsnmp-perl   5.1.1-2NET SNMP (Simple Network Management
Protocol
ii  libsnmp4.2 4.2.5-3.3  NET SNMP (Simple Network Management
Protocol
ii  libsnmp4.2-dev 4.2.5-3.3  NET SNMP (Simple Network Management
Protocol
ii  libsnmp5   5.1.1-2NET SNMP (Simple Network Management
Protocol
ii  netsaint-plugi 1.2.9.4-18.1   check_snmp and check_hpjd plugins for
NetSai
ii  php4-snmp  4.3.4-4SNMP module for php4
ii  snmp   5.1.1-2NET SNMP (Simple Network Management
Protocol
ii  snmpd  5.1.1-2NET SNMP (Simple Network Management
Protocol
ii  tinysnmp-tools 0.4.4.1TinySNMP Utilities

I have downloaded printer.mib from mibdepot. Renamed the file from
mib-txt, copied it to /usr/share/snmp/mibs, deleted the .index file.

Yet, snmpwalk gives me (among others)
.iso.org.dod.internet.mgmt.mib-2.43.7.1.1.4.1.9 = INTEGER: 2004 when
querying a HP-printer. 

Why isnt the printer mib being used? What am i missing here?
.1.3.6.1.2.1.43 should be printer mib?



RE: SNMP and mibs?

2004-08-17 Thread Jan Johansson
 what happens if you use -M /usr/share/snmp/mibs or -m
 /usr/share/snmp/mibs/printer.txt with snmpwalk? If this works, there
is a
 configuration problem and the mibdir is not getting picked up. If it
 doesn't, it's likely you have the wrong mib, or netsnmp doesn't
understand
 the mib.

Same results. Do you have any idea what MIB I should use? Or what makes
a MIB usable by netsnmp?



RE: SNMP and mibs?

2004-08-17 Thread Jan Johansson
 what happens if you use -M /usr/share/snmp/mibs or -m
 /usr/share/snmp/mibs/printer.txt with snmpwalk? If this works, there
is a
 configuration problem and the mibdir is not getting picked up. If it
 doesn't, it's likely you have the wrong mib, or netsnmp doesn't
understand
 the mib.


Ok, I grabbed http://www.oidview.com/mibs/0/Printer-MIB.zip and if i use
-m /usr/share/snmp/mibs/Printer-MIB-printmib-04.txt  it works, but if I
use -M /usr/share/snmp/mibs/ or simply omit the parameter, it doesn't
work.

Hints?



RE: Hej!

2003-04-08 Thread Jan Johansson
Har precis installerat Debian.
Jag ska skapa en databas och en webbserver. Databasen ska man ska kunna
läsa från via CGI eller PHP(vet inte vad som är bäst) då man surfar till
webbservern.

Jag har några frågor.
1. Vilket verktyg är bäst att skapa en databas med?

bäst är en smaksak. PostgreSQL och mySQL är väl de mest populära. 

2.  Följer det med något verktyg vid installationen?

Finns got om vertyg som paket.

3. Som webbserver, är det Apache som gäller?

För mig, ja

Själv kör jag LAMP (Linux Apache mySQL PHP)

Installera exempelvis

apache php4 php4-mysql phpmyadmin mysql

så hard u en vettig lösning, dessutom ett webinterface till mySQL
(phpmyadmin) som inte går av för hackor.



Med vänlig hälsning
Matz Johansson
  File: Matz Johansson.vcf  



RE: dpkg --get-selections question

2003-04-03 Thread Jan Johansson
Is there an easier way to do this even?  Thanks for any help!

dpkg --get-selections  somefile

then

dpkg --set-selections  somfile

apt-get dist-upgrade

should do what you want.


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



RE: Smartd frequent attribute change

2003-04-02 Thread Jan Johansson
Does anybody else experience similar log events and if so, is there 
anything you did to stop this from happening?
Thanks,
Andre

Replace the drive. The error means that the ECC (Error Correcting Code)
of the Barracuda is kicking in to correct corruption in the drives
on-board cache RAM.



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



RE: Re: Nyinstallation

2003-03-26 Thread Jan Johansson
Motargumentet kan vara att ext3/reiserfs har något sämre prestanda,
speciellt vid skrivning, än ext2. Men jag är inte säker, för det var
länge sedan jag kollade det där kontinuerligt.


Stämmer fortfarande. JFS är alltid långsammare på skrivning än icke-JFS
eftersom de har mer overhead.

I valet mellan ext3/resierfs rekommenderar jag ext3. Argument:
stabiliteten är bättre.

Håller med föregående talare. 

Själv gillar jag XFS. Synd bara att XFS/Linux bara stöder 64kB
allokeringsstorlek.



Reason for system reboot?

2003-03-10 Thread Jan Johansson
Is there someway to find out what caused a system reboot? I have the
following in my last

argus:~# last -20
root pts/0192.168.221.207  Mon Mar 10 08:11   still logged
in   
reboot   system boot  2.4.18-bf2.4 Sun Mar  9 17:49  (16:06)

root pts/0192.168.221.207  Fri Mar  7 16:31 - crash
(2+01:18)   

But i cant find anything in the logs which shows why the system was
rebooted. What worries me more is that I should be the only one with
root access to this system, which Is a minimalistic Debian/Testing doing
not much else then running shorewall.


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



Apg gone mad?

2003-03-10 Thread Jan Johansson
Uhm, I used dselect to set a package on hold. And then I got the below
error, which I definitely do not want to do. How do I tell apt/dselect
to “Look, I want to keep the packages I have on here, update your
database to be in sync with real-life please?”  (Debian / Testing)

Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  adduser aide apache apache-common apache-ssl apt apt-utils aptitude at
backup2l base-config base-files base-passwd bash bc biff
  bin86 bind9-host binutils bison bsdmainutils bsdutils console-common
console-data console-tools console-tools-libs coreutils
  courier-authdaemon courier-base courier-imap courier-imap-ssl
courier-pop courier-pop-ssl courier-ssl cpio cpp cpp-2.95 cpp-3.0
  cramfsprogs cron dash dc debconf dhcp-client diff dnsutils dpkg
dpkg-dev dselect e2fsprogs ed exim fdutils fetchmail
  fetchmail-common file fileutils findutils finger flex ftp g++ g++-2.95
gawk gcc gcc-2.95 gcc-3.0 gdb gettext gettext-base gnupg
  grep groff-base gzip hdparm horde hostname iamerican ibritish ifupdown
imagemagick imp info initrd-tools ipchains ipmasqadm
  iproute iptables iptraf ispell iswedish jhead kernel-image-2.4.20-686
klogd less libapache-mod-fastcgi libbz2 libbz2-1.0
  libc-client2001 libc6-dev libcap1 libcdb-file-perl libcgi-fast-perl
libconfig-inifiles-perl libconvert-asn1-perl
  libcrypt-ciphersaber-perl libdb2 libdb2-dev libdb2-util libdb3
libdb4.0 libdbd-mysql-perl libdbi-perl libdigest-md5-perl libdns5
  libdps1 libexpat1 libfcgi-perl libgcc1 libgd2 libgdbmg1 libglib1.2
libgmp3 libgmp3-dev libgpmg1 libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libident libio-stringy-perl
libisc4 libjpeg-progs liblcms libldap2 liblockfile1 liblwres1
  libmagick5 libmailtools-perl libmd5-perl libmime-base64-perl
libmime-perl libmm11 libmsgcat-perl libmysqlclient10
  libmysqlclient10-dev libncurses5 libncurses5-dev libnet-ldap-perl
libnet-perl libnet-smtp-server-perl libnetpbm9 libnetpbm9-dev
  libnewt0 libnss-db libpam-modules libpam0g libpcap0 libpcre3
libperl5.6 libpgsql2 libpopt0 libreadline4 libsablot0 libsasl7
  libsigc++0 libsnmp4.2 libssl-dev libssl0.9.6 libstdc++2.10-dev
libstdc++2.10-glibc2.2 libstdc++2.8 libstdc++3 libtiff3g
  libtimedate-perl libunix-syslog-perl liburi-perl libwmf0.2-2 libwrap0
libwww-perl libxml2 lilo localeconf locales login
  logrotate lsof lynx m4 mailx make makedev man-db mawk mbr mc mc-common
mhonarc mlock modconf modutils mount mpack mtools
  mtr-tiny mutt mysql-client mysql-server nano ncftp ncurses-bin
net-tools netbase netkit-inetd netkit-ping netpbm nvi openssl
  passwd patch pciutils perl perl-base perl-modules perl-suid php3
php3-imap php3-ldap php3-mysql pidentd ppp pppconfig pppoe
  pppoeconf procmail procps proftpd-common proftpd-mysql psmisc python
python-newt python2.1 rcs rdate reportbug sed setserial
  sharutils shellutils slang1 spamassassin spamc ssh strace sympa
sysklogd syslinux sysvinit tar tasksel tcpd tcsh telnet texinfo
  textutils time unzip util-linux util-linux-locales vacation wget
whiptail whois 
The following NEW packages will be installed:
  php4-pear-log 
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
  apt libstdc++2.10-glibc2.2 (due to apt) base-files base-passwd (due to
base-files) bash libncurses5 (due to bash) bsdutils
  coreutils diff dpkg dselect (due to dpkg) e2fsprogs findutils grep
gzip hostname login libpam-modules (due to login) libpam0g
  (due to login) mount ncurses-bin perl-base sed sysvinit util-linux
(due to sysvinit) tar slang1 (due to util-linux) 
0 packages upgraded, 1 newly installed, 272 to remove and 0  not
upgraded.
Need to get 0B/9752B of archives. After unpacking 277MB will be freed.
You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'
 ?]

 



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



RE: More apt-problems.

2003-03-10 Thread Jan Johansson
You picked the wrong time to be in testing. This is a documented bug,
read this for more details:
http://lists.debian.org/debian-devel-announce/2003/debian-devel-announc
e-200303/msg6.html

Well, I am glad that it wasn't just me then. Thankyou. 


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



RE: Subdomain - node ?

2003-02-27 Thread Jan Johansson
What is it called when you set up foo.mydomain.com

If you are talking apache it is called VirtualHost or VHOST.




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



RE: Spurious 8259A? [SOLVED]

2003-02-26 Thread Jan Johansson
 (jag hittar dessutom inget i maskinen anslutet till IRQ7)

7 är väl den första printerporten?



RE: Bogus emails being sent out by me!

2003-02-13 Thread Jan Johansson
I'm getting notifications of emails having failed which were allegedly
sent by me to addresses I never heard of. I presume this is some sort
of
attack but I can't figure out where it is coming from or what is
happening. Does anyone else see anything of the kind?

Nah, some worm infected windows user has your address in their outlook,
most modern worms fakes all sending info, so the mail appears to have
originated from you.


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




RE: Timeout vid installationsprogrammets DHCP-konfigurering

2003-01-20 Thread Jan Johansson
Jag tänkte bara påpeka att jag har haft samma problem, med telias
dhcp-server, men också med dhcp-server-funktionen på min dlink
bredbandsrouter. Det vore intressant att veta varför det är på detta
vis. (Och det känns ju onekligen lite skumt att telia och dlink båda
medvetet skulle använda sig av okonventionella dhcp-protokoll)

Samtliga Telias DHCP servrar är standard ISC-DHCPd  som rullar på *BSD,
så ingen magi där inte.



RE: adsl

2003-01-16 Thread Jan Johansson
om det är modemet eller telias dhcp-server vet jag
inte 

Modemet.




RE: Hur ändras Video-mode och font iconsol n?

2002-12-27 Thread Jan Johansson
Rätta mig om jag har fel, men jag tror bf24 (bf2.4?) är den enda
2.4-kärnan i Woody?

hooch:/etc/xams/autoreply/New Wave Logistics# apt-cache search
kernel-image-2.4
kernel-headers-2.4.18-bf2.4 - Headers for Linux kernel version 2.4.18
(bf variant) on 386
kernel-image-2.4.16-386 - Linux kernel image for version 2.4.16 on 386.
kernel-image-2.4.16-586 - Linux kernel image for version 2.4.16 on
586/K5/5x86/6x86/6x86MX.
kernel-image-2.4.16-586tsc - Linux kernel image for version 2.4.16 on
Pentium-Classic.
kernel-image-2.4.16-686 - Linux kernel image for version 2.4.16 on
PPro/Celeron/PII/PIII.
kernel-image-2.4.16-686-smp - Linux kernel image 2.4.16 on
PPro/Celeron/PII/PIII SMP.
kernel-image-2.4.16-k6 - Linux kernel image for version 2.4.16 on AMD
K6/K6-II/K6-III
kernel-image-2.4.16-k7 - Linux kernel image for version 2.4.16 on AMD K7
kernel-image-2.4.18-386 - Linux kernel image for version 2.4.18 on 386.
kernel-image-2.4.18-586tsc - Linux kernel image for version 2.4.18 on
Pentium-Classic.
kernel-image-2.4.18-686 - Linux kernel image 2.4.18 on
PPro/Celeron/PII/PIII/PIV.
kernel-image-2.4.18-686-smp - Linux kernel image 2.4.18 on
PPro/Celeron/PII/PIII/PIV SMP.
kernel-image-2.4.18-bf2.4 - Linux kernel image for version 2.4.18 (bf
variant) on 386.
kernel-image-2.4.18-k6 - Linux kernel image for version 2.4.18 on AMD
K6/K6-II/K6-III
kernel-image-2.4.18-k7 - Linux kernel image for version 2.4.18 on AMD K7
pcmcia-modules-2.4.18-bf2.4 - PCMCIA Modules for Linux (kernel
2.4.18-bf2.4).
hooch:/etc/xams/autoreply/New Wave Logistics#

Jag hoppas jag inte missförstod frågan? Dessa är i alla fall de som apt
ser på mina stable burkar.




RE: Slackware

2002-12-23 Thread Jan Johansson
I have debian distro installed on hda and I would like to install a
Slackware on hdb. Now my problem is, When the slackware installer
executes it wan't to use both swap partitions.  One on hda and one on
hdb.  I don't want it to do this. Has anyone worked with Slackware and
if so did you have the same problem?  How did you solve it.  For now my
only guess is to take out hda from the tower.  I have disabled it in
the bios, but as you all know Linux will find it anyway.

Just take the had swap entry out of /etc/fstab when you have installed
slackware. Why don’t you want it to use the swap tho? It wont hurt
anything.


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




RE: sync root passwords?

2002-12-05 Thread Jan Johansson
Thanks for any suggestions!

Most would opt for NIS / NIS+ for this.


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




RE: Adaptec eller Tekram U160 styrkort?

2002-12-03 Thread Jan Johansson
Tekramkortet, har det några problem med AMD hårdvara (KT133A)?

Ingen aning. Enbart kört det i IBM eServer 330 och 342.



irradicating a package?

2002-11-20 Thread Jan Johansson
Tried a customized deb of a package (Exim), decided that it wasn't
all that I wanted so I want to replace it with a stock Exim..  But I
cant seem to make apt-get and/or dpkg to understand that? 


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




RE: irradicating a package?

2002-11-20 Thread Jan Johansson
dpkg --purge package

If this is failing, give us more info.

argus:/etc/exim# dpkg --purge exim
dpkg: dependency problems prevent removal of exim:
 at depends on mail-transport-agent; however:
  Package mail-transport-agent is not installed.
  Package exim which provides mail-transport-agent is to be removed.
 mailx depends on mail-transport-agent; however:
  Package mail-transport-agent is not installed.
  Package exim which provides mail-transport-agent is to be removed.
dpkg: error processing exim (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 exim
argus:/etc/exim#


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




RE: irradicating a package?

2002-11-20 Thread Jan Johansson
dpkg --force-depends --purge exim

Use this only when you KNOW for CERTAIN this is safe.  In the case of
exim 
your machine will not fall over and die because it is missing a mail
server.

Warning heeded.. But that, along with apt-get install exim,  did the
trick just nicely, thankyou.


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




RE: rescheduling updatedb?

2002-06-28 Thread Jan Johansson
Any ideas on how I 
 can reschedule
 this job to the middle of the night so I'm not left staring 
 at the screen 
 and waiting every morning?

Edit /etc/crontab and change the time for the daily batch. 


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



Generating new host keys?

2002-06-28 Thread Jan Johansson
Doing some unintended installations, and would like to generate SSH2 DSA/RSA 
host-keys. But i cant figure out how to set no password for ssh-keygen. Help?


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



RE: Generating new host keys?

2002-06-28 Thread Jan Johansson
 I think I just hit the enter key when it prompted for password. 

And that makes it _un_attended just how? :)

 
 Note however, that since X runs under ssh-agent on 
 Debian, you don't need
 passwordless keys. Just use ssh-add to add the passcode(s) to 
 your ssh-agent
 and you can get in passwordless, and they'll be more secure. 

And X would be useful just how on an embedded system without a hint of X
components, let alone a monitor?


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



RE: Generating new host keys?

2002-06-28 Thread Jan Johansson
 ssh-keygen whatever options -N 
 
 That skips the passphrase question... :)

THANK you. :) I tried single quotes.. but never thought of doubles *bah*


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



BP6 + System hangs

2002-06-26 Thread Jan Johansson
Not strictly a Debian question, more a general hardware issue, i know.. but i 
gotta start somewhere.

I have a BP6 with 2xCeleron 433. And it seems that justabout any heavy disk 
activity towards the disks on the HPT366 controller freezez the system up 
completely to the point of cold boot. Has anyone any thoughts on this?

Below is some output leading up to the lockup.

cookiemonster:~# dmesg
Linux version 2.4.18-686-smp ([EMAIL PROTECTED]) (gcc version 2.95.4 20011002 
(Debian prerelease)) #1 SMP Sun Apr 14 12:07:19 EST 2002
BIOS-provided physical RAM map:
 BIOS-e820:  - 000a (usable)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - 1000 (usable)
 BIOS-e820: fec0 - fec01000 (reserved)
 BIOS-e820: fee0 - fee01000 (reserved)
 BIOS-e820:  - 0001 (reserved)
found SMP MP-table at 000f5ae0
hm, page 000f5000 reserved twice.
hm, page 000f6000 reserved twice.
hm, page 000f1000 reserved twice.
hm, page 000f2000 reserved twice.
On node 0 totalpages: 65536
zone(0): 4096 pages.
zone(1): 61440 pages.
zone(2): 0 pages.
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: OEM0 Product ID: PROD APIC at: 0xFEE0
Processor #0 Pentium(tm) Pro APIC version 17
Processor #1 Pentium(tm) Pro APIC version 17
I/O APIC #2 Version 17 at 0xFEC0.
Processors: 2
Kernel command line: auto BOOT_IMAGE=Linux ro root=803
Initializing CPU#0
Detected 434.320 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 865.07 BogoMIPS
Memory: 253132k/262144k available (900k kernel code, 8628k reserved, 250k data, 
216k init, 0k highmem)
Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Before vendor init, caps: 0183fbff  , vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After vendor init, caps: 0183fbff   
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0183fbff   
CPU: Common caps: 0183fbff   
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED])
mtrr: detected mtrr type: Intel
CPU: Before vendor init, caps: 0183fbff  , vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After vendor init, caps: 0183fbff   
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0183fbff   
CPU: Common caps: 0183fbff   
CPU0: Intel Celeron (Mendocino) stepping 05
per-CPU timeslice cutoff: 365.86 usecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 
ESR value after enabling vector: 
Booting processor 1/1 eip 2000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 
ESR value after enabling vector: 
Calibrating delay loop... 868.35 BogoMIPS
CPU: Before vendor init, caps: 0183fbff  , vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After vendor init, caps: 0183fbff   
Intel machine check reporting enabled on CPU#1.
CPU: After generic, caps: 0183fbff   
CPU: Common caps: 0183fbff   
CPU1: Intel Celeron (Mendocino) stepping 05
Total of 2 processors activated (1733.42 BogoMIPS).
ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
init IO_APIC IRQs
 IO-APIC (apicid-pin) 2-0, 2-5, 2-10, 2-11, 2-12, 2-20, 2-21, 2-22, 2-23 not 
connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 21.
number of IO-APIC #2 registers: 24.
testing the IO APIC...

IO APIC #2..
 register #00: 0200
...: physical APIC id: 02
 register #01: 00170011
... : max redirection entries: 0017
... : PRQ implemented: 0
... : IO APIC version: 0011
 register #02: 
... : arbitration: 00
 IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:   
 00 000 00  100   0   00000
 01 003 03  000   0   01139
 02 003 03  000   0   01131
 03 003 03  000   0   01141
 04 003 03  000   0   01149
 05 000 00  100   0   00000
 06 003 03  000   0   01151
 07 003 03  000   0   01   

RE: pls recommend a IDE raid card

2002-06-26 Thread Jan Johansson
 I'd like to implement RAID 1 or RAID 0+1 in my Debian woody.
 Please recommend the product or chipset which supports Linux well and
 proven stable in productive environment. Thanks.

My vote goes to the Escalade product range.


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



apache + apache-ssl

2002-06-25 Thread Jan Johansson
Installing the .23 apache removed my apache-ssl, no worries since it was a lab 
system, but uhm.. how do i proceed if i _want_ apache and apache-ssl on the 
same rig?


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



apache + apache-ssl

2002-06-25 Thread Jan Johansson

Installing the .26 apache removed my apache-ssl, no worries since it was a lab 
system, but uhm.. how do i proceed if i _want_ apache and apache-ssl on the 
same rig?


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



RE: Exim Vs Sendmail

2002-06-18 Thread Jan Johansson
 Is there any way I can make the script work without having to install
 sendmail?  It calls sendmail like this: /usr/lib/sendmail -i -t

Exim should be compatible with sendmail in that respect. Just symlink exim to 
sendmail. Else i am sure the exim user list will be able to fix-you-up in no 
time flat.


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



Re: Debian: abandon ship?

2002-06-17 Thread Jan Johansson
 you've got to be new around here. there isn't enough salt in 
 the world to 
 make your hat tasty enough to retract the last sentence 
 above. go directly to 
 jail. do not pass go. do not, under any circumstances, 
 attempt to collect 
 anything at all. bye-bye.

Well, there is a valid point in there. I would never bet my job on a mailing 
list. I do however bet my job on a cpl of redhat systems, why? Becuase my 
employer DOES have a support _contract_ with redhat, making me stay hired even 
if the box keels over. Would i be able to sort a deb system out with the help 
of the list? Heck yes, been doing unix for a living for some eight years. But i 
still cant get a _contract_ on deb support from the list, which is what my 
employer requires for a mission critical server.


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



RE: Debian: abandon ship?

2002-06-17 Thread Jan Johansson
 so contractual, however inresponsive, support from a lame-ass 
 linux distro 
 means more to you than actually securing the system? 

Nope. Read my last paragraph. A system provider which can not also offer a 
_legally binding_ support contract is simply not allowed on any production / 
mission critical servers within our organisation. So it doesnt really matter 
that i prefer Debian and Slack over RedHat, i still wouldnt be allowed to 
deploy a deb-system.


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



RE: Error installing mailman with exim

2002-06-14 Thread Jan Johansson
 I try to configure mailman on my gateway for internet, using 
 the exim mail
 server

http://www.exim.org/howto/mailman.html

follow that one, and then you will not need to alter your aliases at all. In 
fact, altering aliases will break the config.


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



RE: IBM PS/2

2002-06-14 Thread Jan Johansson

 Does any one know how to access the BIOS setup of an old IBM PS/2?
 It seems that hitting del while booting doesn't work...

Not possible. If you by older mean models 8xxx (386 and 486 systems) or 
older, there is no BIOS config utility, you have to install their utility 
software on a dedicated partition on the boot-enabled partition, and then boot 
the system from the Diagnostics floppy.  Or, i think it is possible to plain 
boot from the diag floppy.


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



RE: IBM PS/2

2002-06-14 Thread Jan Johansson
 Does any one know how to access the BIOS setup of an old IBM PS/2?
 It seems that hitting del while booting doesn't work...

You spamassassin setup is severly warped by the way.


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



RE: IBM PS/2

2002-06-14 Thread Jan Johansson
I've
 seen this on PCs ranging from 386s so maybe one of these 
 should work for
 you.

The first PS/2 to have a internal BIOS config utility was the 95XL series. 


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



RE: IBM PS/2

2002-06-14 Thread Jan Johansson
 Your mail setup is also rather warped - it doesn't insert 
 attributions,
 and it keeps starting new threads which I have to manually 
 link together
 in mutt if I want to follow the conversation ...

Well, thats what happens when the Mail admin thinks policy-locking Outlook to 
his own preferences is a good idea.


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



RE: eth0 no such device

2002-06-14 Thread Jan Johansson
 I believe
 I have correct driver.
 Thanks for any advice.

Start by telling uss what card it is, and what chipset it uses. If it is a PCI 
device, you should with almost complete certanty _not_ add anything to 
lilo.conf.


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



Re: IBM PS/2

2002-06-14 Thread Jan Johansson
 indeed _not_ a good idea.
 It might help to convert RE: into Re: by hand?

That i hadnt noticed actually.. Thanks, ill actually try to do that.


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



RE: zope

2002-06-14 Thread Jan Johansson
   How can i start and stop the zope server? In SuSE and FreeBSD there
 are the start and stop script, and in Debian/GNU Linux? I have stopped
 with kill, and can't restart

/etc/init.d/zope restart (or stop, or start or...)


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



RE: 'Shredding' a hard disk

2002-06-13 Thread Jan Johansson
 I remember reading about a data recovery team that recovered 
 files after
 the data had supposedly been removed with a 'dd' command like above.

www.ibas.no they claim to be able to see under 3 layers of overwrites. And 
since they are a public contractor.. wonder what the not-so-public people can 
do.


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



RE: Unidentified subject!

2002-06-12 Thread Jan Johansson
 Perhaps you're right, and I'm doing it wrong, But on my box, I've 
 configured my user to have full access via sudo. That way, 
 when I need 
 to do root stuff, I can just sudo rootstuff.foo instead of becoming 
 root and then forgetting that I'm still root and doing 
 something nasty 
 to my box five minutes later.

Keep in mind htat with this aproach, any sudo-enabled users password is a 
potential hazard if it is compromised. If you stick to su, a missdoes must 
have both a user password, AND the root password itself. 


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



RE: good Linux modems

2002-06-06 Thread Jan Johansson
 USB too?
 I remember having heard that USB modems were basically winmodems

No, almost all USB modems are real modems. But they still require drivers. 
But there are drivers for quite a few.

http://www.idir.net/~gromitkc/usblist.html


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



RE: Beginning to try to secure my box.

2002-06-05 Thread Jan Johansson
Can I 
 safely uninstall this service/program without affecting my p.c.?

Yes.

 Also they recomend disabling nfs...I have nfs-common and 
 nfs-kernel-server 
 installed. Can I safely disable these too? 

Yes.

I dont require 
 them for apt-get 
 updates etc?

No. 


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



RE: ide bus speed

2002-06-04 Thread Jan Johansson
 append=idebus=66

Good luck recovering that drive.

Lets understand one thing here. The IDE controller resides on the PCI bus. The 
PCI bus (in affordable hardware) is 33MHz. ATA/66 / ATA/100 / ATA/133 has 
_NOTHING_ to do with the bus speed of the system.


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



RE: tulip

2002-05-30 Thread Jan Johansson
 now my question is: how do i set this IRQ parameter since i 
 know for a 
 fact it is 12 on my system

You never pass IRQ to a tulip board (you should never ened to pass IRQ to a PCI 
board at all). Something else must be wrong.


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



Samba and homedirs?

2002-05-30 Thread Jan Johansson
[EMAIL PROTECTED]:~$ smbstatus 

Samba version 2.2.3a-6 for Debian
Service  uid  gid  pid machine
--
j2   j2   j28207   rizzo(192.168.0.239) Thu May 30 
02:19:16 2002

Yet any write operation on the homedirectory fails with access denied. 
smbpasswd is correctly set up. And i have no problem towards my old RH system.

Help?


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



RE: Samba and homedirs?

2002-05-30 Thread Jan Johansson
 what is  the permissions of /home/j2 

drwxr-xr-x   18 j2   j2   4096 May 28 10:18 j2

 
 what is it exports... homeserver:/etc/exports
   #
   # ip# and masks 
   # some apps wants to see mask  instead of  just an ip#
   #
   /home/j2    192.168.1.0/255.255.255.0(rw,no_root_squash...)
 

What does NFS has to do with anything? Samba never reads that afaik? Anyway, 
exports is blank, sinc ei have no NFS components.

 what is your /etc/samba/smb.conf looking like...
   - if it used to work...
   and doesn't work now... what changed /??

Fresh install from Testing. Nothing changed apart from workgroup name.

[global]
workgroup = MUPPNET
server string = %h server (Samba %v)
encrypt passwords = Yes
obey pam restrictions = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
max log size = 1000
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192 
SO_RCVBUF=8192
dns proxy = No
invalid users = root
wins support = yes
preferred master = yes
domain master = yes

[homes]
comment = Home Directories
create mask = 0770
directory mask = 0770
browseable = No


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



RE: Samba and homedirs?

2002-05-30 Thread Jan Johansson
 well... if it dont work... define it ...

It is never read or in any other way used by samba.

 ( i always define it... and dont have any samba problems ..

Neither do i with that config file on a RH system.

 i dont like these shortened default smb.conf files...

Works on other systems, hence that is why i am asking: Why doesnt this work on 
Debian.


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



RE: activating ipchains ip masqurading ...

2002-05-28 Thread Jan Johansson

 i have installed debian 2.2 in my server now i want to
 activete ipchains  ip masqurading on it ...
 how should i do this ?

Personally i would install shorewall.


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



RE: Colors in term?

2002-05-09 Thread Jan Johansson
 What's the value of the TERM environment variable?  
 env|grep TERM should tell you, at least under bash.

TERM=vt220

BitchX gives me color tho. but MC, ls and stuff does not.  


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



Colors in term?

2002-05-07 Thread Jan Johansson
I have been over the archives, but i cant find an answer to this one. I am 
running Testing, and when logging on to the system(s) via SSH (Using Secure CRT 
3.4/VT100 or VT200 with ANSI color) as the client, i get no colors. if i use ls 
--color, or ls --color=auto it works, but still no colors in Mutt, MC et. al. 
Any pointers welcome.

Thanks, Jan.


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



RE: Linux IDE RAID question

2002-05-07 Thread Jan Johansson
 Thanks for your time!!

Escalades controllers have served me fine. I havent had a chance to play with 
the new generation controllers. But the old one has run flalwlessly with 
hotplug/hot rebuild and all.


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



RE: Linux IDE RAID question

2002-05-07 Thread Jan Johansson

 None.  Most of them use a hybrid software/hardware RAID which depends
 on a (usually Windows-only) driver to make them work.  

I get the feeling that the only IDE RAID controller you have heard of is 
HighPoint and/or Promise? True they have issues. But there are also _real_ 
controllers, such as the Escalade range, which has served me very well indeed.


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