HOSTALIASES variable not being checked

2004-12-30 Thread Matt Perry
From reading the man page for gethostbyname(3) I see that I can set
the environment variable HOSTALIASES to point to a file with local
aliases.  When I do that, it doesn't seem to be working.

$ cat hostalias
deb ftp.debian.org

$ export HOSTALIASES=$HOME/hostalias

$ ftp deb
ftp: deb: Name or service not known

Has anyone gotten HOSTALIASES to work properly?  I'm running sarge.

-- 
Matt Perry | matt at primefactor dot com


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



Re: Debian sarge and production servers is it ready on 12/26/2004?

2004-12-26 Thread Matt Perry
On Mon, 27 Dec 2004, Mitchell Laks wrote:

 Even Sarge? I need something more up to date then woody, for my postgresql 
 and 
 need the integration that sarge provides, vs backports + woody. Is Sarge that 
 dangerous on 12/26/2004?

I've been running sarge on three production servers and one home
personal servers with no problems.  I'd recommend it for what you are
doing.  I'm running Oracle 9 clients along with Resin, Apache 2, and
the Sun Java SDK.  One of the production servers is running Oracle 9
database not just the clients.  I haven't had any problems save for a
samba issue that was fixed when I updated to a newer kernel (I was
running an very old kernel from the woody days).

I'm about to put another sarge installation into production use with
Oracle and Postgres as soon as I finish installing and configuring
everything.

-- 
Matt Perry | matt at primefactor dot com


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



How to access external USB hard drive?

2004-12-24 Thread Matt Perry
Hi everyone.  I'm running Debian Sarge with kernel 2.6.8-1-686 (from
the deb kernel package).  I just bought a USB drive enclosure with a
drive that I wish to mount in Debian.  I'm not sure what I need to do
to make this happen.

I plugged the unit into the USB port but I didn't see anything appear
in the syslog.  I also did modprobe usb-storage which also appeared
to do nothing.  I know the drive and enclosure are good since I was
able to use it on a Windows box.  USB is enabled in my BIOS settings.

Any suggestions on how to get this to work?  I'm not sure what I need
to look at next.

-- 
Matt Perry | matt at primefactor dot com


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



Re: How to access external USB hard drive?

2004-12-24 Thread Matt Perry
On Fri, 24 Dec 2004, Darryl Clarke wrote:

 If you check 'dmesg' output right after you plug it in you should see
 something similar to this:
 [snip]

I tried that and there was no new output in dmesg.  At the time the
usb drivers that are loaded are usbkbd and usbcore.  After plugging it
in and not seeing anything from dmesg I ran modprobe usb-storage.
This was all that was added to dmesg:

Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.

 It can be very complicated unfortunately. So I would suggest starting
 to see if you have hotplug installed... maybe that will lead you.

Do I need hotplug installed for the kernel to see the drive?  It's
currently not installed.

-- 
Matt Perry | matt at primefactor dot com


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



Re: How to access external USB hard drive?

2004-12-24 Thread Matt Perry
On Fri, 24 Dec 2004, Darryl Clarke wrote:

 Maybe? I can not confirm that. All I know is that it manages my usb
 devices and it works for my 4 USB2 HDs.  At least it's easy to remove
 if it doesn't work ;)
 
 I can say that they use SCSI emulation, so maybe some scsi modules are 
 missing.
 I have sd_mod (scsi disk) and scsi_mod (base scsi support) loaded

Hmm.  Still not working.  I've never used the USB ports on this
motherboard before so I'm suspecting that I have a hardware problem.
Oh well.  Thanks for your help.  Looks like I might be upgrading
soon.  :-)

-- 
Matt Perry | matt at primefactor dot com


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



Re: How to access external USB hard drive?

2004-12-24 Thread Matt Perry
On Fri, 24 Dec 2004, Eric Gaumer wrote:   
   
 ]$ cat /proc/bus/usb/devices

 should show what's on the usb bus and what drivers are attached to each   
 device. Post that info and it may help turn up a solution.   

/proc/bus/usb is an empty directory.


On Fri, 24 Dec 2004, H. S. wrote:   
   
 What does /var/log/syslog report when you plug in the USB hard disk
 (right after when you plug in the USB disk).

It doesn't report anything new.

 If there is nothing, then you may need to load prpoper USB modules. 

Any suggestions on what to load?  I have usbcore, usbkbd, usb-storage,
scsi_mod, and sd_mod loaded.  I've included output from lsmod at the
end of this message.

 If I were you, I would prefer writing a udev rule (I can help with that  
 if you wish) and make a mount point something like /media/usb-hd so that  
 whenever I plug in the hd it gets automatically mounted at /media/usb-hd. 

What is udev?  A link to docs would be fine.  I'd welcome any help
getting this working.  :-)


On Fri, 24 Dec 2004, Ron Johnson wrote:

 Maybe ehci_hcd isn't loaded?

It wasn't loaded.  I added it but nothing has changed.

 What chipset are you using?

Intel 815EP chipset, I believe.  I have an ASUS CUSL2-C motherboard
but I'm having problems finding the specs on the Asus web site.  How
can I find this info in /proc?  In 2.4 there was /proc/pci but that is
missing in 2.6.  I found /proc/bus/pci but it has different information.

-- 
Matt Perry | matt at primefactor dot com


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



Re: How to access external USB hard drive?

2004-12-24 Thread Matt Perry
On Sat, 25 Dec 2004, Ron Johnson wrote:

  /proc/bus/usb is an empty directory.
 
 Is usbfs in your /etc/fstab?
 
 $ cat /etc/mtab | grep usbfs
 usbfs /proc/bus/usb usbfs rw 0 0

It's not in /etc/fstab but it is mouted:

$ mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/md0 on /mnt/array type ext3 (rw)
usbfs on /proc/bus/usb type usbfs (rw)

-- 
Matt Perry | matt at primefactor dot com


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



Re: How to access external USB hard drive?

2004-12-24 Thread Matt Perry
On Sat, 25 Dec 2004, Ron Johnson wrote:

 Is usbfs in your /etc/fstab?
 
 $ cat /etc/mtab | grep usbfs
 usbfs /proc/bus/usb usbfs rw 0 0

I just found an old firewire card that I had laying around and tried
that.  The enclosure has firewire so I figured it'd be worth a shot.
It worked find with the ohci1394 and sbp2 drivers.  I think I'll just
stick with this.  USB seems to have some problems on this motherboard.

Thank you everyone for your help.

-- 
Matt Perry | matt at primefactor dot com


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



Re: how to mount a windows 'share' under linux

2004-11-27 Thread Matt Perry
On Sat, 27 Nov 2004, will trillich wrote:

 we'd like to automate backups from the office windo~1 box using rsync.
 we can do it usnig samba and the ftp-like interface, but all timestamps
 are lost this way (unless there's an option we've missed).

smbmount is the command that you want.

 we googled for things like 'mount windows share under linux filesystem'
 and get .exe downloadables and tutorials on the fhs...

This search has a lot of relevant links so using rsync on Windows.  That 
way you won't even have to smbmount the shares:

http://www.google.com/search?hl=enq=rsync+for+windowsbtnG=Google+Search

-- 
Matt Perry | matt at primefactor dot com


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



SATA controller recommendations

2004-11-18 Thread Matt Perry
Can anyone here recommend an SATA controller that works well under Debian 
Sarge?  Recommendations on controllers with 5 or more connectors is 
welcome as I'm upgrading a five drive RAID-5 array to SATA.

-- 
Matt Perry | matt at primefactor dot com


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



How to configure sendmail

2004-11-13 Thread Matt Perry
Can anyone tell me if there's a QA setup procedure for sendmail on 
Debian?  dpkg-reconfigure sendmail just exits to the shell with no output.



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



Re: when sarge will be released?

2004-11-10 Thread Matt Perry
On Tue, 9 Nov 2004, Carl Fink wrote:

 Even Debian-based distros like Gentoo or Progeny?

Gentoo is its own distribution.  It's not related to nor based on Debian.

-- 
Matt Perry | matt at primefactor dot com


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



Samba not able to read files (but can read dirs)

2004-09-12 Thread Matt Perry
I'm running Debian Sarge, upgraded last night from Woody.  Since the
upgrade samba isn't working correctly.  I can go into directories in
Windows but as soon as I try to read a file, the process in windows hangs.  
I'm getting a lot of errors in my log file like the following. mp3 is
the name of my share:

[2004/09/12 16:20:49, 1] smbd/service.c:make_connection_snum(648)
  laptop (192.168.1.18) connect to service mp3 initially as user nobody 
(uid=65534, gid=65534) (pid 13032)
[2004/09/12 16:22:38, 0] lib/util_sock.c:read_socket_data(384)
  read_socket_data: recv failure for 4. Error = Connection reset by peer
[2004/09/12 16:22:38, 1] smbd/service.c:close_cnum(837)
  laptop (192.168.1.18) closed connection to service mp3

Nothing has changed except the upgrade to Sarge.  Here's my smb.conf:

[global]
netbios name = TEMPO
server string = Samba Server
security = share
log file = /var/log/samba/log.%m
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins support = yes
wins proxy = yes
name resolve order = wins bcast lmhosts hosts
hosts allow = 192.168.1. 192.168.2.
domain master = yes
preferred master = yes

[mp3]
path = /mnt/array/mp3s
writeable = yes
guest ok = Yes



I also added this later but it didn't seem to help:

oplocks = no
level2 oplocks = no
kernel oplocks = no

Any ideas?

-- 
Matt Perry | matt at primefactor dot com


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



Executing script on X login

2004-09-09 Thread Matt Perry
Is there a file where I can put programs to be run when I log into X via 
XDM? I tried .Xsession but that just dumps me back out to XDM.

What I want is for several programs to be run when I log in such as xterm 
and xmodmap. I *don't* want to start a window manager from this.  I want 
to use the window manager and whatever startup that's provided by the 
system. That way if the sysadmin changes them I'll see the changes.

-- 
Matt Perry | matt at primefactor dot com


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



Re: Executing script on X login

2004-09-09 Thread Matt Perry
On Fri, 10 Sep 2004, Wim De Smet wrote:

 I think you can use the generic 'x-window-manager' which will point to
 the selected default. So you could end your .xsession with either
 'exec x-window-manager' (though the exec is probably not necessary).

That solves the problem the way I wanted to.  Thanks.

-- 
Matt Perry | matt at primefactor dot com


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



Re: Executing script on X login

2004-09-09 Thread Matt Perry
On Thu, 9 Sep 2004, Erik Steffl wrote:

problem 1 (that's just something to be careful about): if you just 
 have the default x-window-manager it can be replaced during update and 
 when you restart WM the X session will crash/end.
 
problem 2 (IMO serious alternative issue): even if you set up the 
 x-window-manager to whatever you want manually and alternatives promises 
 to not touch it (see the docs) it actually does change it (it switches 
 the x-window-manager to another WM), I am not sure why because I always 
 found out about it too late. You restart your WM and the X session is gone.

Well, I don't administrate the boxes that I'm using.  I'm just an end 
user.  If the window manager is changed, that's fine.  I just want my 
programs to load on login without having to duplicate the X startup 
scripts.

I'm surpised that the X startup scripts take this all or nothing approach.  
You can either take the system config or short circuit it with .Xsession
or .xinitrc.  There really should be a user file that can be sourced even
if the two other files do not exist and the system startup is used.  This
would allow users such as myself to move a X startup script from one
machine to another without modification and without worrying about which
window manager is installed on the machine.

I filed the bug, there was a discussion on mailing list (iirc 
 debian-devel) etc. no result (other than nothing:-). not sure if the 
 problem still persists (I am not using x-window-manager anymore).

Can an end user such as myself file a bug report or do I have to email a
developer or maintainer?  I'd really like to see the feature that I
described above added to Debian.  I'd be glad to do it myself as it just
looks like shell scripts for the X startup.  How does one get involved
with Debian to contribute such changes?

-- 
Matt Perry | matt at primefactor dot com


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



Re: you may be even more embarassed if you can't deliver

2004-08-04 Thread Matt Perry
On Wed, 4 Aug 2004, John Summerfield wrote:

 Edvard Majakari wrote:
 
 Obviously it is, as you can check by the headers.
   
 
 The only s-a headers I see are mine.

SA overwrites other SA headers.  You can use the following in procmail to 
keep them:

:0fhw:
* ^X-Spam-Status:
| formail -R X-Spam-Status X-Old-Spam-Status


The original message had this in the headers:

X-Old-Spam-Status: No, hits=3.9 required=4.0 tests=DRUGSPAM3,IMPRONONCABLE_1,
MURPHY_DRUGS1,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,ORDER_NOW,
PRIORITY_NO_NAME autolearn=no 
version=2.63-lists.debian.org_2004_07_08_01

Close, but no cigar.

-- 
Matt Perry | matt at primefactor dot com


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



Re: Networking Problem

2004-08-02 Thread Matt Perry
On Mon, 2 Aug 2004, Jonathan Barnes wrote:

 eth1  Link encap:Ethernet  HWaddr 00:05:1C:13:5C:8D
   inet addr:10.1.1.1  Bcast:10.1.1.255  Mask:255.255.255.0
   UP BROADCAST MULTICAST  MTU:1500  Metric:1

That's odd.  The line above should contain RUNNING but it doesn't.  Can
you ping 10.1.1.1 from this box?  I have a feeling that you won't be able
to.  I wasn't able to find any information on google about what a lack of
this flag means.

Can you try a different card to replace this one?


 I think i might just have to do a rebuild and transport everything back over :( 
 I really would like to know what it is tho, even just out of curiosity.

That'd be a shame.  I'd be curious as to what's wrong too, but I'm running 
out of ideas.

-- 
Matt Perry | matt at primefactor dot com




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



Re: Networking Problem

2004-08-01 Thread Matt Perry
On Sun, 1 Aug 2004, Jonathan Barnes wrote:

 Destination Gateway Genmask Flags Metric RefUse Iface
 10.0.0.00.0.0.0 255.255.255.0   U 0  00 eth0
 10.0.0.00.0.0.0 255.255.255.0   U 0  00 eth1
 0.0.0.0 10.0.0.10.0.0.0 UG0  00 eth0

 eth0 is assigned 10.0.0.2 and is connected to the first firewall in my network
 eth1 is assigned 10.1.1.1 and is connected to my private LAN, they are both 
 separate Realtek 8139 NIC's

I think that's your problem.  The routing table doesn't have an entry for 
the 10.1.1.0 network so your ping responses are being sent to the default 
gateway, 10.0.0.1.

Take down eth1 and then check the entry for it in /etc/network/interfaces.
I have a feeling that the entry for eth1 looks the same as for eth0 and
that it needs to be fixed.  It should look like:

iface eth1 inet static
address 10.1.1.1
netmask 255.255.255.0
network 10.1.1.0
broadcast 10.1.1.255

Let me know what happens.

-- 
Matt Perry | matt at primefactor dot com





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



Re: none

2004-07-31 Thread Matt Perry
On Sat, 31 Jul 2004, Katipo wrote:

 Felicity means 'appropriate' or 'happiness'.

And Angela means 'heavenly messenger'.

 What exactly is being addressed here?

Beats me.

-- 
Matt Perry | matt at primefactor dot com


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



Re: Networking Problem

2004-07-31 Thread Matt Perry
On Sun, 1 Aug 2004, Jonathan Barnes wrote:

 my Debian Box. eg: The Firewall can ping my Debian Box, but my Debian
 Box can't ping the firewall.

It's sounds like IP forwarding isn't working.  Take down the interface
that uses 10.1.1.1 and then try to ping the firewall.  What happens?

What is the output when you run cat /proc/sys/net/ipv4/ip_forward ?
If you get a zero, execute echo 1 /proc/sys/net/ipv4/ip_forward bring 
up the 10.1.1.1 interface and try things then.  Let us know what happens.

-- 
Matt Perry | matt at primefactor dot com


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



Re: script/app to compile statistics about disk usage?

2004-07-31 Thread Matt Perry
On Fri, 30 Jul 2004, Silvan wrote:

 cooked up.  What I want to do is look at my disks and gather statistics about 
 what is eating the most space.  Where the biggest files are, which 
 directories are the largest, etc.

What I do to see large directories is just 'du -sh *' starting at root and 
then drilling down from there.  If you want to see what the largest files 
are, you can use this Perl script that Randal Schwartz wrote:

#!/usr/bin/perl
#
# Usage: bigfiles dir [dir ...]
#
# Abstract:  This script reports the top 20 largest files in one or
#more specified directories, including subdirectories.
#
# By:Randal Schwartz [EMAIL PROTECTED]
#From the article at
#http://www.stonehenge.com/merlyn/UnixReview/col16.html

if ($#ARGV lt 0) {
  $0 =~ s#.*/##;
  print(Usage: $0 dir [dir ...]\n);
  exit 1;
}

use File::Find;
find (sub {
$size{$File::Find::name} =
  -s if -f;
  }, @ARGV);
@sorted = sort {
  $size{$b} = $size{$a}
} keys %size;
splice @sorted, 20 if @sorted  20;
foreach (@sorted) {
  printf %10d %s\n, $size{$_}, $_;
}


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



Re: Networking Problem

2004-07-31 Thread Matt Perry
On Sun, 1 Aug 2004, Jonathan Barnes wrote:

 I cant see anything wrong with my routing table either:
  Kernel IP routing table
  Destination Gateway Genmask Flags Metric RefUse Iface
  10.0.0.00.0.0.0 255.255.255.0   U 0  00 eth0
  10.0.0.00.0.0.0 255.255.255.0   U 0  00 eth1
  0.0.0.0 10.0.0.10.0.0.0 UG0  00 eth0

You have the same network configured on two interfaces.  Are eth0 and eth1
on the same NIC?  Should eth1 have a destination of 10.1.1.0 instead?

-- 
Matt Perry | matt at primefactor dot com



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



Re: dselect installing packages I didn't request

2004-07-31 Thread Matt Perry
On Sat, 31 Jul 2004, Florian Ernst wrote:

 On Fri, Jul 30, 2004 at 11:50:23AM -0700, Matt Perry wrote:
  Why does dselect want to install packages that I haven't requested?  I'm 
  not talking about dependencies.  Here's how to replicate what I'm seeing.
  [...]
  Why is dselect wanting to install packages that I didn't request?
 
 AFAIK dselect installs packages of priority 'standard' or higher by
 default, you'll need to explicitly deselect them.

Thanks for the note Florian.  That explains it.

-- 
Matt Perry | matt at primefactor dot com


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



dselect installing packages I didn't request

2004-07-30 Thread Matt Perry
Why does dselect want to install packages that I haven't requested?  I'm 
not talking about dependencies.  Here's how to replicate what I'm seeing.

I installed debian woody.  During the install I said NO to tasksel and NO 
to dselect.  I got a very minimal system (good).

If I run dselect, select no packages and then tell it to install, it wants 
to install 79 new packages, which are:

bc bin86 bind9-host binutils bison cpp cpp-3.3 dc dictionaries-common
dnsutils doc-debian doc-linux-text dpkg-dev file finger flex ftp g++
g++-3.3 gcc gcc-3.0-base gcc-3.3 gdb gnu-efi gnupg iamerican ibritish
ipmasqadm ispell less libc6-dev libdb4.0 libdb4.1 libdns11 libgc1 libgpmg1
libidn11 libisc7 liblwres1 libmagic1 libnss-db libopencdk4 libstdc++3
libstdc++5-3.3-dev linux-kernel-headers locales lpr lsof m4 make
manpages-dev mime-support mpack mtools mtr-tiny mutt ncurses-term
nfs-common patch perl perl-modules pidentd portmap procmail python
python-newt python2.3 rcs reportbug sharutils strace tcsh texinfo time
traceroute vacation w3m wamerican whois

Why is dselect wanting to install packages that I didn't request?

-- 
Matt Perry | matt at primefactor dot com


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



Re: none

2004-07-30 Thread Matt Perry
Paul Johnson writes:
 Eric Haii Lee [EMAIL PROTECTED] writes:
 
 Hmm, smells like spam.  How many Eric's have the login angela?

I don't know.  How many Theo's have the login felicity?  Well, Theo Van
Dinter of the SpamAssassin development team does.  So we've ruled out that
just because a guy has a girls name as his login doesn't mean that his
message is spam.

Maybe you should judge on content.  He could have mis-typed an address
abbreviation in his mail client.

-- 
Matt Perry | matt at primefactor dot com


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



Re: How to de-Grub?

2004-07-22 Thread Matt Perry
On Thu, 22 Jul 2004, Robert William Hutton wrote:

 I'd recommend that you install LILO using the first woody CD.  LILO, unlike 
 GRUB, installs itself exclusively in the MBR, so you don't need some other 
 partition for the stage 2 loader which GRUB requires.

That's not correct, although it's a common misunderstanding.  The code in
the MBR is the stage 1 loader.  Its purpose is to load the stage 2 loader
into memory from somewhere else on the hard drive.

The two web pages give an explaination of how booting with LILO works:
http://home.att.net/~lilo-boot/lbuild.htm
http://home.att.net/~lilo-boot/l-i-l-o.htm

-- 
Matt Perry | matt at primefactor dot com


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



Re: Problems with mounting RAID5 array at boot

2004-07-19 Thread Matt Perry
On Mon, 19 Jul 2004, CW Harris wrote:

  This seems like a bug in the raid setup.  Maybe it should be set at a 
  lower number than checkfs by default so it starts sooner.
 
 Which version?
 Here I have:
 
 $dpkg -l raidtools2
 ii  raidtools2 1.00.3-5   Utilities to support 'new-style' RAID disks

1.00.3-7 for me.  I'm running testing not stable.

-- 
Matt Perry | matt at primefactor dot com


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



Re: How to make make shift tab == tab in BASH ??

2004-07-19 Thread Matt Perry
On Mon, 2004-07-12 at 12:35, Zenaan Harkness wrote:

 Does anyone know how I can make SHIFT+TAB do the same thing in my bash
 shell as TAB does (ie. tab-complete)?

Bash does that by default for me.  Running Sarge here.  I was able to do 
it over an ssh session and from the console.  Can you get it to work from 
the console?

-- 
Matt Perry | matt at primefactor dot com


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



How to set fonts for gnucash

2004-07-19 Thread Matt Perry
Hi everyone.  I recently installed gnucash but I've noticed that the fonts 
are too small for me to read comfortably.  I figure that there's a way to 
set the font (and maybe theme) for GTK and/or Gnome apps but I don't know 
how.  Is there a reference on how to set the font from the command line by 
editing a file?  There doesn't seem to be a reference that I can find for 
how to set GTK and/or Gnome fonts config files.

Note that I'm not running Gnome or X on the machine with Gnucash.  I ssh
into the machine and run gnucash there and run an X server locally.

-- 
Matt Perry | matt at primefactor dot com


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



Problems with mounting RAID5 array at boot

2004-07-18 Thread Matt Perry
Hi everyone.  I have a new debian system that I just installed and then
upgraded from Woody to testing.  Now that it's up and running I wanted to
mount a RAID5 array on four drives with some existing data.  This RAID
array was originally set up under RedHat.  I installed the raidtools2
package, copied over my raidtab file /etc and then rebooted.

Now when I boot I get the following error:

Checking all file systems...
fsck 1.35 (28-Feb-2004)
fsck.ext3: Invalid argument while trying to open /dev/md0
/dev/md0:
The superblock could not be read or does not describe a correct ext2
filesystems.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 device

fsck failed.  Please repair manually.


Now here I can type control-D to boot up normally or enter the root
password to boot into single user mode.  If I hit control-D then the
system will come up and mount my array as listed in /etc/fstab without
any problems.  It just seems that I can't get it to make it past the
filesystem check.

Any ideas on how to fix this?

-- 
Matt Perry | matt at primefactor dot com



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



Re: Problems with mounting RAID5 array at boot

2004-07-18 Thread Matt Perry
On Sat, 17 Jul 2004, Matt Perry wrote:

 Any ideas on how to fix this?

I found a fix.  Turns out that the raid2 script needed to be run before 
the checkfs script at startup, but they both were set to S30 in /etc/rcS.  
I renamed S30raid2 to S29raid2 so it would start before S30checkfs and 
everything is working fine.

This seems like a bug in the raid setup.  Maybe it should be set at a 
lower number than checkfs by default so it starts sooner.

-- 
Matt Perry | matt at primefactor dot com


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



Re: Success or failures with Mailman 2.1.4 on woody

2004-03-18 Thread Matt Perry
On Wed, 17 Mar 2004, Andy Firman wrote:

 I did Mailman 2.1.4 from a backport.  It was not that hard.

Meaning that you created the backport?  If not then this won't help.  I'm 
looking for instances of successes or failures of running Mailman 2.1.4 
installed from the source tarball not a debian package.

 You don't have to change anything with your exim.conf if Mailman 
 was already running previously.
 If not, then go to exim.org for excellent documentation.

I'm running sendmail.  If I'm not mistaken it looks like installing this
package will uninstall sendmail.


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



Success or failures with Mailman 2.1.4 on woody

2004-03-17 Thread Matt Perry
I've heard from some people that Mailman 2.1.4 has problems working 
correctly on Debian woody.  Is there anyone here that is running Mailman 
2.1.4 installed from the tarball and is or was having problems with it?  
I'm also interesting in hearing if you're using it and it's working fine.

Thanks.

-- 
Matt Perry | matt at primefactor dot com


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



Re: Differences in RH Fedora coming from Debian

2004-01-16 Thread Matt Perry
On Fri, 16 Jan 2004, Micha Feigin wrote:

  So, differences?  It's an RPM-based distro.  Yes, you can use apt
  these
 
 AFAIK fedora is not exactly RPM based anymore. They adopted an apt-like
 system (don't know where it is located between original RPM and APT).

Fedora is still RPM based.  Remember, apt is just a front end.  It can be 
a front end for rpm or for dpkg like on debian.

-- 
Matt Perry | matt at primefactor dot com


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



Re: editors (was: Re: Differences in RH Fedora coming from Debian)

2004-01-16 Thread Matt Perry
On Fri, 16 Jan 2004, Monique Y. Herman wrote:

 What's your preferred choice?

I use both vim and XEmacs daily.  Been using vi/vim for 7+ years and
XEmacs for the last 14 months or so.  There was some annoyance for about 
four or five weeks as I'd use vi commands in emacs and emacs commands in 
vi.  I seem to have gotten past that now and use each without any 
problems.

I like vi because it's quick to start and exit.  I use it for practically
everything from email to editing small shell and Perl scripts.  Emacs
takes too long to start up and I don't want to live inside of it like some
emacs users like to do.

However I do use XEmacs as my java IDE on Windows.  I don't mind the 
startup cost there as I have it up and running for most of the day.

 I think he gives short shrift to vi in various ways ... like, he
 mentions that he's really talking about later versions of vi that have
 rc files and the like, but then he claims that there's no way to add to
 vi functionality without using C, because there's no built-in mini
 language.  The wide variety of apps I can pull from
 http://www.vim.org/scripts/index.php seem to belie this, unless I'm
 totally misunderstanding his point.

Yeah, he doesn't seem to be fully clued in to what vim is capable of now.  
There are a lot fo great scripts to extend vim's functionality.  However,
I've found that installing a lot of these vim plugins will increase vim's
startup time, sometimes by a considerable amount.

-- 
Matt Perry | matt at primefactor dot com


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



Re: Ifup/ifdown

2004-01-11 Thread Matt Perry
On Sun, 11 Jan 2004, Russell Shaw wrote:

 The problem is that when i put http://127.0.0.1/ or http://192.168.0.1/
 into mozilla, it goes thru the dialup isp instead of going
 direct to my own system.
 
 It seems more like a mozilla problem.
 In mozilla: Edit|Preferences...|Advanced|Proxies, i have:
 
HTTPProxy: proxy.iprimus.com.auPort: 8080

You have indeed found your problem.  It seems like you don't fully
understand how proxies work.  The proxy retrieves web pages on your
behalf.  Any page requests will be forwarded to the proxy, which retrieves
the page, and then hands it back to your browser.  So even if you put in
http://127.0.0.1/, that request is sent to the proxy which then will then 
try to access a page at 127.0.0.1.  Well, a properly configured proxy will 
ignore non-routable addresses such as that one and return an error.

What you need to do it go to Edit|Preferences...|Advanced|Proxies and in 
the field labeled 'No Proxy For' add localhost, 127.0.0.1 without the 
quotes, of course.  That way Mozilla will make a direct connection to 
those addresses instead of forwarding the request to the proxy.

-- 
Matt Perry | matt at primefactor dot com


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



Re: Ifup/ifdown

2004-01-11 Thread Matt Perry
On Sun, 11 Jan 2004, Russell Shaw wrote:

 What do these isp proxies do? (apart from blindly relaying stuff)

They usually cache the data on the proxy server so that it can save 
bandwidth for the ISP.

-- 
Matt Perry | matt at primefactor dot com


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



Problems with Debian + DL380 G3 and highmem

2004-01-09 Thread Matt Perry
I have a Compaq DL380 G3 with 5GB RAM running Debian stable.  I installed
with and am running the 2.4.18-bf2.4 kernel that came with debian.  
However, not all of my ram is being seen.  I only get about 900MB of it
and the kernel tells me that I need a PAE enabled kernel.  So I downloaded
the kernel-source-2.4.18 package and rebuilt my kernel according to the
instructions located at:
http://www.debian.org/doc/manuals/reference/ch-kernel.en.html#s-kernel-debian

I decided to not change anything and first to just test the process and
produce the same kernel with the config file.  That worked and booted
fine.  I then enabled highmem and PAE support, recompiled, and booted with
that kernel.  However, the system won't boot with the highmem enabled
kernel.  The kernel messages indicate that my array is seen and that my
root partition is mounted read only.  Then after the kernel states that
it's freeing unused memory, I get a kernel panic stating that it can't
find init.  If I append init=/sbin/init at the LILO prompt it doesn't
help.

Here's a diff between the two config files I'm using to compile the 
kernel:

51c51
 CONFIG_NOHIGHMEM=y
---
 # CONFIG_NOHIGHMEM is not set
53c53,55
 # CONFIG_HIGHMEM64G is not set
---
 CONFIG_HIGHMEM64G=y
 CONFIG_HIGHMEM=y
 CONFIG_X86_PAE=y

Has anyone seen this problem before?  I have no idea why highmem support 
would make the kernel not be able to execute init.

-- 
Matt Perry | matt at primefactor dot com


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