Re: Recompile kernel lost network

2003-02-17 Thread Russell Shaw
deFreese, Barry wrote:


-Original Message-
From: Hubert Chan [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 10:15 AM
To: [EMAIL PROTECTED]
Subject: Re: Recompile kernel lost network


   

"Barry" == deFreese, Barry <[EMAIL PROTECTED]> writes:
 

Barry> Oh Gods of Debian, I recently built a Dell Lattitude laptop to
Barry> hopefully start doing development on.  Installed Woody with
Barry> 2.2.20-idepci kernel and everything was working fine.  I decide
Barry> to compile 2.4.18.  First time I compiled it, it wouldn't even
Barry> recognize the 3Com PCMCIA nic.  Got that fixed but I still have
Barry> no network connection.  The /etc/hosts, and
Barry> /etc/network/interfaces all look correct but if I run ifconfig
Barry> all I have is the local loopback interface lo, no eth0.  An lspci
Barry> shows the adapter and I get a link light on the card so I am a
Barry> bit lost.  Any thoughts?

Are you using DHCP?  If so, you need to enable CONFIG_PACKET and
CONFIG_FILTER.  (Or use pump instead of dhclient.)

--
Hubert Chan <[EMAIL PROTECTED]> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.
   


My apologies, I should have specified.  No, I am assigning a static IP.



/etc/init.d/ifupdown restart
/etc/init.d/networking restart
netstat -rn



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



Re: Explorer-type file manager

2003-02-17 Thread Russell Shaw
John Griffiths wrote:


You might also look into purchasing a copy of Xandros, which is a
debian-based distro; the reviews I've read of the Xandros File Manager
(called xfm, but not to be confused with another filemanager by that
name) make it sound like it's several steps beyond either of the above,
and perhaps even less memory/CPU intensive. You'd be in a familiar
environment (as I noted, it's Debian based), but have a very
Windows-esque environment.


working on xandros now, xfm is VERY good,
there's a cheapo version of xandros if you don't want all the windows 
compatability hooks.
I thought i was going to die the first 2 days of the transition from 
windows, very nearly plugged the XP box back in.
4 days in now and getting happier with things as I gain familiarity. 

gnome-commander (better one from testing) is a file browser.

fvwm95 is a windows 95 look-alike too.
http://www.plig.org/xwinman/screenshots/fvwm95-horen.jpg
http://www.plig.org/xwinman/fvwm95.html



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



Re: apt sources

2003-02-17 Thread Russell Shaw
alex wrote:


I'm having a problem understanding the architecture of apt sources
and have difficulty in getting packages with apt and dselect.

According to the APT HOWTO, 2.1, The /etc/apt/sources.list file
it says: (quote)
"The entries in this file normally follows this format:"

"deb-http://site.http.org/debian distribution section1 section2 section3"

"deb-src http://site.http.org/debian distribution section1 section2 
section3"

Question---isn't 'site.http' supposed to be 'http.site' ?

-
The following sources are copied directly from my 
/etc/apt/sources.list.  It seems to me that there are errors
such as  /  either missing or in the wrong place.

Could someone comment on whether or not the sources are correctly
structured as is or what the error is?
-

Format is like this:
 deb http://http.us.debian.org/debian stable main contrib non-free
 deb-src http://http.us.debian.org/debian stable main contrib non-free

http://packages.debian.org/cgi-bin/download.pl




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



Re: Reply To Field in emails

2003-02-18 Thread Russell Shaw
Sharninder Singh,,, wrote:


hi all,
I don't know if anyone this problem is being faced by anyone else also
but whenever i press the reply button on my webmail client
(Squirrelmail) on any of the mails from the debian-user list, the mail
is sent to the guy who posted the msg and not debian-user. I think the
reply-to field is set to the poster but being a public list i think it
should be set back to the list itself so that the msg can be archived
and other ppl can also benefit from the reply.
This only happens with debian user ... all the other lists that i
subscribe to set their reply-to addresses back to the list itself. Am i
the only one facing this problem (or feature) or anyone else also
irritated with this ?


It happens in mozilla. I have to use "reply all", then delete the 
senders address.


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



User ID of applications

2003-02-18 Thread Russell Shaw
Hi,

Is it possible to find out what the effective user and group ID is that
a program uses when accessing files? I had to chown a bunch of mozilla
news files.


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



Re: apt sources

2003-02-18 Thread Russell Shaw
alex wrote:


My question is about the correctness of the following sources:


...



Yes, I think I understand the general format in the examples you used but
my question is about the format of the examples I listed above.  It seems
to me that there are some errors in them, ie.,  /  and spaces in wrong 
places.
They are shown in the exact form that I downloaded them and they 
didn't seem to
work when I ran apt or dselect--resulting in  error 1.

Could you please comment on whether or not the points I marked are 
correct
or wrong?

The formats looked wrong. I was assuming you wrote them. Did you
download them somewhere?




Incidently, the address you gave:
http://packages.debian.org/cgi-bin/download.pl

resulted in the following:

Internal error: Required parameter "file" is missing.
If the problem persists, please inform [EMAIL PROTECTED]

Did I misunderstand something?


It was probably because i arrived at that link indirectly.
When you go to the page of a specific debian package, click
the download button. It will take you to a list of mirrors
with http and ftp addresses which is what your sources.list
should have a few of.
 http://www.debian.org/distrib/packages



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



Re: File systems -- reiser vs. ext3

2003-02-18 Thread Russell Shaw
Daniel B. wrote:


Paul Johnson wrote:
 

...
My pick of ext3 was the fact that all the tools that work with ext2
work just as readily with ext3.  I was also able to convert within a
few minutes from ext2 on the command line.
   


What do you use to convert?

Daniel
 

tune2fs -j /dev/
Can't remember if device should be unmounted (i'd try that first).



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



Group ID

2003-02-18 Thread Russell Shaw
Hi,

When a program access a config file, does it use the group ID of the
programs own binary, or can it be set differently from within the
program? Is there a way to check what group ID a program is using
or going to use?


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



Re: Group ID

2003-02-18 Thread Russell Shaw
Michael Wardle wrote:


On Thursday, February 20, 2003 01:05, Russell Shaw wrote:
 

When a program access a config file, does it use the group ID of the
programs own binary, or can it be set differently from within the
program?
   


If the SGID bit is not set on the executable (normal), the program 
inherits the permissions of the user who invoked the executable, and so 
the permissions of the user's primary group.

If the SGID bit is set on the executable (abnormal), the program 
inherits the permissions of the group that owns the executable file.

A process can access a file using a different group by first calling 
setgid() or setegid() if it has the necessary permissions.

Inside a program, you can test what permissions you have by using calls 
such as access() and stat().  If you are unable to edit and recompile 
the program, you could try watching what calls it makes with strace.

Hope this helps

If i had to regenerate a config file that a program uses, is it possible to
detect what GID the program uses if it is set from within the program?



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



Re: IP Masquerade

2003-02-18 Thread Russell Shaw
Rob Weir wrote:


On Mon, Feb 17, 2003 at 03:46:06PM +1100, Russell wrote:
 

Hi all,

I have a PC (PC_1) connected to the ISP via dialup ppp (DHCP assigned
address). PC_1 also has an ethernet card: 192.168.0.1

Another PC (PC_2: 192.168.0.2) connects to PC_1 via ethernet.

Can i access my ISPs DNS servers on PC_2 just with some static rules
set up on PC_1, or does PC_1 need IP masquerading working?
   


Any sort of solution you come up with will just be some poor imitation
of NAT.  You can either use the 'ipmasq' package (which does most
everything automatically) or install a caching DNS server on PC_1 and
point PC_2 at that.


Hi,
I built and installed a 2.4.20 kernel with packet filtering functions
and installed ipmasq, iptables, etc.
There's no manual pages on how to tell ipmasq or ip_tables to enable
all this stuff from a config file, or how to tell it what interface (eth0)
to use. There's a bunch of rules in /etc/ipmasq/rules, but there's no
explanation of how to use the whole system.



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



Re: Group ID

2003-02-19 Thread Russell Shaw
Colin Watson wrote:


On Thu, Feb 20, 2003 at 03:04:25AM +1100, Russell Shaw wrote:
 

If i had to regenerate a config file that a program uses, is it possible to
detect what GID the program uses if it is set from within the program?
   


Any particular reason it can't just be root:root -rw-r--r-- (if it's in
/etc) or owned by you (if it's in your home directory)? That's what most
configuration files are.


I set them all to my own user:group, but mozilla seems to have
some 'stuck' settings. I found a useful command is:
 ps -eo pid,user,euser,fuser,group,egroup,fgroup,cmd


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



Re: AW: modconf doesn't show drivers

2003-02-19 Thread Russell Shaw
Yildiz, Murat wrote:


On Tue, Feb 18, 2003 at 01:33:16PM +0100, Yildiz, Murat wrote:
 

I have woody 3.0 with kernel 2.4.19 self-compiled and now want to load a
kernel module but when I run modconf no package is being shown.
I have checked /lib/modules/2.4.19  , it exist.Where does modconf read
available modules information?
   


After a quick look at modconf, it looks like it would get its module
listings by looking through all the directories in /lib/modules/2.4.19,
and finding *.o.  Are modules in /lib/modules/2.4.19?

 

Hi,
I have run "make modules" and "make modules-install" and the
/lib/modules/2.4.19 was created but with an empty modules.dep file.I think
it is reading the drivers information from modules.dep, but it is empty.

Should use modules_install, not modules-install.
I think modules.dep is generated by "make modules_install".
This generates /lib/modules/$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
which comes from the kernel top-level Makefile:

VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 20
EXTRAVERSION = 
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)




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



Re: AW: AW: modconf doesn't show drivers

2003-02-19 Thread Russell Shaw
Yildiz, Murat wrote:


Oh sorry ,
of course I did "make modules_install"But I remember somethinlike
"nothing found" and "leaving directory".
As I said the directory 2.4.19 was created under /lib/modules but still I
cannot see any drivers info within modconf.


I'd just try it again, or do "depmod -a 2.4.19", or reboot and just do
"depmod -a", "modprobe -a \*". I've never got modconf to show a gui. Any
modules that should be loaded at boot time, you should put into 
/etc/modules.


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



Re: Group ID

2003-02-19 Thread Russell Shaw
Michael Wardle wrote:


On Thursday, February 20, 2003 08:14, Russell Shaw wrote:
 

Colin Watson wrote:
   

On Thu, Feb 20, 2003 at 03:04:25AM +1100, Russell Shaw wrote:
 

If i had to regenerate a config file that a program uses, is it
possible to detect what GID the program uses if it is set from
within the program?
   

Any particular reason it can't just be root:root -rw-r--r-- (if it's
in /etc) or owned by you (if it's in your home directory)? That's
what most configuration files are.
 

I set them all to my own user:group, but mozilla seems to have
some 'stuck' settings. I found a useful command is:
 ps -eo pid,user,euser,fuser,group,egroup,fgroup,cmd
   


Ah!  So you're trying to set the correct permissions on the Mozilla 
configuration files!

The first thing to learn is it's best not to change permissions on files 
you didn't create. ;-)

I just migrated to debian from the windoze box which had mozilla on it. I
copied the profiles and news/mail directories from the windoze box. I set
the ownership of everything to my own. I hate the email composer editor in
the linux version of mozilla. I can't set it to keep using a fixed width 
font.
Anyway, the group linux.debian always shows it has 6 unread messages 
even after
i've read everyting in it. A few other groups do that too. Maybe it's 
mozilla bugs.


Why not start a new Mozilla session with "mozilla -ProfileManager", 
create a new profile, and compare permissions?

I'm thinking of setting up a *real* email system without mozilla.



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



Re: fsck finding thousands of errors

2003-02-19 Thread Russell Shaw
Leo Spalteholz wrote:


On February 19, 2003 02:39 pm, Daniel B. wrote:
 

Levi Waldron wrote:
   

On February 13, 2003 07:28 pm, Daniel Barclay wrote:
 

...
Are you using DMA?
   

...  I didn't do anything outside of a
normal  stock installation to turn DMA support on or off.
 

The Linux kernel and some IDE controllers don't work together, and
can cause several filesystem corruption.

You probably want to turn DMA off ("hdparm -d0 ...") until you can
confirm that this is not your problem.
   


Do you know if support for any IDE controllers was dropped in 2.4 vs 
2.2?  I can run kernel 2.2 fine on my server but when I tried to 
update to 2.4 (standard debian kernel image) it gave me a whole 
crapload of fsck errors on boot.  Booting kernel 2.2 I could after 
much pain fix most of them.  So it seems that something in 2.4 is 
corrupting my filesystem..  I can't remember the exact version I 
tried and don't really want to try again but it was 2.4.16 or 17.  
How could I find out what IDE controller I have and whether it's 
supported?  I have some crappy no name board in that server.
 


The 2.4 kernel may have more or different options set compared to the 
2.2 kernel.
You should review the 2.4 kernel config settings then recompile.


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



Re: new kernel, new problems

2003-02-19 Thread Russell Shaw
Simon Tod wrote:


Thanks. Got the cpu speed bit solved.

Looking through the PCMCIA HowTo I've checked to see
that /etc/pcmica/config, /etc/default/pcmcia and
/etc/init.d/pcmica are the same under both kernels.

My new kernel is missing the line

serial_cs   4384   0  (unused)

from lsmod.
 


Try:
depmod
modprobe -a \*

If that fixes the problem, maybe you should add
the missing modules to /etc/modules.
Did you do "make modules", "make modules_install"
when doing the kernel?


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



Re: Group ID

2003-02-19 Thread Russell Shaw
Michael Wardle wrote:


On Thursday, February 20, 2003 08:14, Russell Shaw wrote:
 

I set them all to my own user:group, but mozilla seems to have
some 'stuck' settings. I found a useful command is:
 ps -eo pid,user,euser,fuser,group,egroup,fgroup,cmd
   


Ah!  So you're trying to set the correct permissions on the Mozilla 
configuration files!

The first thing to learn is it's best not to change permissions on files 
you didn't create. ;-)

Why not start a new Mozilla session with "mozilla -ProfileManager", 
create a new profile, and compare permissions?

I seems to have fixed it by unsubscribing then re-subscribing to
the relevant news groups.


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



Re: ppp server for debian

2003-02-19 Thread Russell Shaw
shr-heng wrote:

> hi.
> excuse me , if i want to set " ppp server " in the debian system,
> where i can get the "ppp server" software.

apt-cache search ppp


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




Re: module configuration

2003-02-20 Thread Russell Shaw
Haim Ashkenazi wrote:

Hi

I've just installed the alsa drivers for my emu10k1 SBLive card and I
have 2 problems:

1. when I reboot, the system first loads the "emu10k1" kernel
   module before everything else so the alsa modules doesn't
   load. as a workaround I've renamed this module and everything
   works, but I wonder if there is a more elegant solution. I
   have no mention of emu10k1 in '/etc/modules.conf' and
   '/etc/modutils/*' (well. except for the alsa module).


You should put the modules to be loaded at boot into /etc/modules.


2. In '/etc/modutils/alsa I've put this line "post-install
   snd-emu10k1-synth /usr/bin/sfxload
   /usr/local/etc/8MBGMSFX.SF2". the module loads but it doesn't
   run the post-install command. I have to run it manually. am I
   doing something wrong?

thanx





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



Re: Replicating a system... sort of

2003-02-20 Thread Russell Shaw
Paul M Foster wrote:

I'm attempting to set up a replacement system for the one on my desk.
(When done, I'll swap them out.) This gets awfully tedious when I have
to pick every package in dselect. My current desktop is a Woody, but the
system I'm setting up is testing.

I have a list of packages that I put on every system I run, for example:
lynx, hextype, units, remind, links, nosql3, sqlite, etc. I'd like to be
able to install a base system, put these package names in some text
file, point dselect/apt (or something else) at it, and have them
downloaded and configed as usual. Is there a package that does this?

Paul



I just cloned my HDD with a small script to copy everything
relevant. I then booted the new pc with the debian install-floppy
and made the HDD bootable by running lilo. It's a good way of
making backups on spare HDDs.


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



Re: /etc/modules, /etc/modules.conf and others

2003-02-20 Thread Russell Shaw
J.F.Gratton wrote:

Good evening,

I might have missed that one, concerning /etc/modules, /etc/modules.conf
and modutils..

What does what in there ?

I might be using workarounds or not using my system effeciently but 
I've never had to tamper with /etc/modules.conf.

All I did so far to get modules to load and to work was to put them into
/etc/modules.

For instance: on a 2.2.x kernel, my NIC module is rtl8139.o . In the
2.4.x series, the module has been renamed to 8139too.o (actually it's a
new module, but let's not split hairs). All I did was to replace the
rtl8139 entry into /etc/modules with 8139too .

What is the use of /etc/modules.conf et al. then ?


The modules in /etc/modules get loaded by modprobe at
boot time. Modprobe uses /etc/modules.conf to affect
its behaviour such as passing options to modules, and
do certain operations before and after a module is
installed or removed.





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



Re: /etc/modules, /etc/modules.conf and others

2003-02-20 Thread Russell Shaw
Matthew Weier O'Phinney wrote:

-- J.F.Gratton <[EMAIL PROTECTED]> wrote
(on Thursday, 20 February 2003, 09:53 PM -0500):


I might be using workarounds or not using my system effeciently but 
I've never had to tamper with /etc/modules.conf.

All I did so far to get modules to load and to work was to put them into
/etc/modules.

For instance: on a 2.2.x kernel, my NIC module is rtl8139.o . In the
2.4.x series, the module has been renamed to 8139too.o (actually it's a
new module, but let's not split hairs). All I did was to replace the
rtl8139 entry into /etc/modules with 8139too .

What is the use of /etc/modules.conf et al. then ?



/etc/modules is used by Debian to manually add modules the user/sysadmin
wishes to load at boot time. After adding them, you then run
'update-modules' as root, which reads this,


I don't think update-modules reads /etc/modules, only the files
in /etc/modutils. If you add modules to /etc/modules and don't
need to do anything special for them, there's no need to do
update-modules.


as well as some files in
/etc/modutils/, to *create* /etc/modules.conf. (This script is run as
part of /etc/init.d/modutils at boot time, in case you're wondering why
you haven't run it yourself and things still worked.)

There's a lot more to it, and this answer is definitely a bit
simplistic, but it's the basic idea -- and it's why you don't need to
(and *SHOULDN'T*) mess with /etc/modules.conf in Debian.



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



Re: Initrd, SCSI and USB

2003-02-21 Thread Russell Shaw
Ludwig Meyerhoff wrote:

Hallo!

I have a SCSI client running a AHA-2940. I wanted to run a USB 
flashcard-reader with it and that does not work.
Same configuration on a IDE client works.

After some playing around I compiled a new kernel with integrated USB 
support and modulized SCSI support - it works!
Seems like the USB modules can't attach to the SCSI part because the 
adapter already has.


Now, it is not very nice to compile the kernel every time I update - 
what am I running Debian for? ;-)


How can I initrd tell to load the usb-modules before the AIX7xxx one?
I would like to change its configuration instead of making an own imige 
each time.

The order of loading of /etc/modules at boot is determined by what you
have in /etc/modules.conf. This file is generated from what you have in
/etc/modutils.



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



Re: Driver for Xserver

2003-02-21 Thread Russell Shaw
Samuele Pretini wrote:
Hi,
I try to install Debian 30r1 on my notebook, but the Xserver does't 
start. I suppose that this problem is generated of my chipset adn my 
graphics card ( Ati Radeon IGP 320M). My notebook is a Fujitsu-Siemens 
Amilo A 7600.
There is a solution for my problem?


Start with a config file from
XFree86 -configure
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Multiple ethernet cards

2003-02-22 Thread Russell Shaw
Hi,

I put two ethernet cards in my pc. However, i can't
ping a remote host from both interfaces (eth0,eth1, after
swapping the cable over).
If i disable one interface, then i can ping from the
other. Both cards are pci of different brands.
I've tried giving both cards the same address and
different addresses.
I think it's because of the routing. netstat -rn:
Kernel IP routing table
Destination Gateway Genmask Flags   Iface
210.50.118.58   0.0.0.0 255.255.255.255 UH  ppp0
0.0.0.0 210.50.118.58   0.0.0.0 UG  ppp0
192.168.0.0 0.0.0.0 255.255.255.0   U   eth0
192.168.0.0 0.0.0.0 255.255.255.0   U   eth1
I want to connect two PCs to the 3rd gateway PC.

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



Re: crazy problems

2003-02-22 Thread Russell Shaw
Garrett P. McLean wrote:
> also, is there any way
for me to add ide-scsi emulation as a module without recompiling?
Select ide-scsi option in the source tree with make menuconfig,
then make modules and make modules_install. Might need to add
ide-scsi to /etc/modules too.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: HOW DO I: Copy the package list from one machine, and installit on another machine?

2003-02-22 Thread Russell Shaw
Mark Janssen wrote:
On Sat, 2003-02-22 at 11:35, Andrew Pritchard wrote:

I've got one debian box, and I want to duplicate the package list onto
another machine - how do I go about doing this?
I've done a dpkg -l to get a list of files from the first machine. It's
got a whole load of extra information (package version no. etc) which I've
filtered out. How can I get apt to recognise the contents of the file as
being a list of packages to install? Is there a better tool for the job?


Source machine:
dpkg --get-selections > /tmp/some-file.txt
Dest machine:
dpkg --put-selections < /tmp/some-file.txt
--put-selections doesn't seem to be in the man page.
There's a --set-selections, but it says that does
nothing to actually do installing.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Multiple ethernet cards

2003-02-22 Thread Russell Shaw
Johan Ehnberg wrote:
I've been experimenting with this stuff, too. So maybe I can help you

I put two ethernet cards in my pc. However, i can't
ping a remote host from both interfaces (eth0,eth1, after
swapping the cable over).
snip...

One computer could be 192.168.0.2, the other 192.168.1.2. The gateway 
would then be for example 192.168.0.1 and .1.1.
Thanks, it works now. PC_1 is the main pc and connects to dial-up
isp with ppp0 (dynamic ip assignment). eth0 is 192.168.0.1 on
net 192.168.0.0/24, and eth1 is 192.168.1.1 on net 192.168.1.0/24.
eth0 and eth1 both have their own PCs connected (with debian
of course;).


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



Re: firewall

2003-02-22 Thread Russell Shaw
Allan Andersen wrote:
Hi!

At the moment I've a RH firewall/router. It's quite unstable, so I would
like to installa Debian as a firewall and router instead of RH.
I need the box act as a firwall/router (I belive it's called
masquarading) and enabled port forwarding. Is there any easy to go
guides for this?
Get your local network cards set up and network working.
apt-get install iptables
apt-get install ipmasq
If you want it to connect to dial-up isp, then
apt-get install pppconfig
You may need to reboot to get all the scripts to run right.

Once pppconfig is set up, the pc can masquerade for other
PCs connected to its network cards.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: firewall

2003-02-22 Thread Russell Shaw
Allan Andersen wrote:
On Sun, 2003-02-23 at 02:31, Russell Shaw wrote:

At the moment I've a RH firewall/router. It's quite unstable, so I would
like to installa Debian as a firewall and router instead of RH.
I need the box act as a firwall/router (I belive it's called
masquarading) and enabled port forwarding. Is there any easy to go
guides for this?
Get your local network cards set up and network working.
apt-get install iptables
apt-get install ipmasq
If you want it to connect to dial-up isp, then
apt-get install pppconfig
You may need to reboot to get all the scripts to run right.

Once pppconfig is set up, the pc can masquerade for other
PCs connected to its network cards.


Hi Paul and Russel,

Thanks very much for the quick response. Perhaps I should
mention that I'm a bit familiar with Debian. My primary
desktop is a Debian, so installation should not be a problem.
It's a standard ethernet connection (ADSL), so I don't think
it will be nessacery with a ppp configuartion. The pc has 2
3Coms netcards.
A couple of extra questions.

1. will the masquerade work automaticaly?
Yes, if your kernel has all the right options enabled.
You should use a recent 2.4 kernel. The options are in
the masquerading howto:
  http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO
2. to which files do I write to port forwarding rules?
In /etc/ipmasq/rules, there's a bunch of scripts you can
overide with scripts of the same name, but with a .rul
extension. The pc should work as a masquerading gateway
without having to add any rules.




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



Re: help - install fails after 1st reboot

2003-02-22 Thread Russell Shaw
eauclair wrote:
Hi, I'm trying to install Debian.

I am trying both 2.2 and 3.0. I'd rather have 3.0 working, so I will focus
on that one. I have a Compaq 6024. When I boot off the 3.0 disk, all my
hardware is detected - usb (uhci), NIC (eepro100), and CD-roms (DVD & CDRW).
When installing, I choose the kernel modules for the NIC (eepro100) and the
USB core, uchi, and mass storage options. When I reboot, none of those
devices are detected. I can't access the cdrom or NIC, so I cant get any
more packages. My sources.list is empty. During the 2nf half of the
install, it actually says it cannot detect a cd-rom. :-(
I haven't used the CD install. Check that the modules have
been added to /etc/modules. If not, do "depmod -n" to get
an idea of what to add. depmod then modprobe -a \* should
get them all going without rebooting.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



A bug?

2003-02-23 Thread Russell Shaw
Hi,

On my system, /etc/X11/xinit/xserverrc contains:

  #!/bin/sh
  exec /usr/bin/X11/X -dpi 100 -nolisten tcp
Can anyone verify this on another system?

This caused the screen to always be 100dpi (xdpyinfo), so
i changed it to:
  #!/bin/sh
  exec /usr/bin/X11/X -nolisten tcp
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: A bug?

2003-02-23 Thread Russell Shaw
martin f krafft wrote:
also sprach Russell Shaw <[EMAIL PROTECTED]> [2003.02.23.2229 +0100]:

On my system, /etc/X11/xinit/xserverrc contains:

 #!/bin/sh
 exec /usr/bin/X11/X -dpi 100 -nolisten tcp
Can anyone verify this on another system?


yes.


This caused the screen to always be 100dpi (xdpyinfo), so
i changed it to:
 #!/bin/sh
 exec /usr/bin/X11/X -nolisten tcp


debian made a choice at one point to make the screen 100dpi by
default. what's your problem with that?
If you set DisplaySize in /etc/X11/XF86Config-4:

Section "Monitor"
Identifier  "Philips"
VendorName  "Philips"
ModelName   "C20 (CM0500)"
HorizSync   31.5,35.2,37.8,48,56,64
DisplaySize 312 234
VertRefresh 50-90
Option  "DPMS"
Gamma   2.4 2.5 2.6
EndSection
Then if you look in /var/log/XFree86.0.log or xdpyinfo, you'll find
that DisplaySize is ignored and you get a physical screen size different
to your real screen. It gets set to 100dpi when mine should be around 80dpi.
Doesn't that mean that any assumptions about font and window sizes by
X apps is all wrong? Instead of 1pt being 1/72", it's more like 1/60",
so all the fonts end up bigger than they should. It also means that
changing the resolution from 800x600 to 1024x768 changes the *physical*
screen size, making all the fonts and everything else change size when
they should be constant.


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



Re: Screen scaling (was A bug?)

2003-02-23 Thread Russell Shaw
Daniel B. wrote:
Russell Shaw wrote:

...
Doesn't that mean that any assumptions about font and window sizes by
X apps is all wrong? Instead of 1pt being 1/72", it's more like 1/60",


Actually, 1 point is always 1/72".  (That's the definition of a point.)
That's what i mean. If you measure 1pt with a ruler against the screen,
you should see 1/72" regardless of whether the monitor is set to 640x480
or 1024x768. Resolution should only have the effect of making diagonal
lines and curves less smoother. With 100dpi on my system, 1/72" ends up
being physically 1/60".
But you are absolutely correct that many assumptions about displayed 
font sizes are wrong.

... It also means that
changing the resolution from 800x600 to 1024x768 changes the *physical*
screen size, 
Do you mean the screen size of a font (the size of a font on the screen),
or the screen size (the size of the screen)?
It will cause the physical size (what you measure with a ruler) of fonts
and windows to change. The physical dimensions of your monitor as reported
by xdpyinfo will also be wrong.
making all the fonts and everything else change size when
they should be constant.
Which sizes do you think should be constant?

If I increase my screen resolution (number of pixels), it's usually
because I want more information on my screen, so (usually) everything
should stay the same size in pixels but shrink in physical size on the
screen.
No. That's broken microsoft behaviour. Increasing the resolution should
only make angled lines and curves smoother. If you want everything on
the desktop like menus and icons to be a different size, there should
be a setting in the window manager, or you could use startx -- -dpi 100
to change everything including the font sizes.
(Of course, there are other cases too.  One might increase screen
resolution to display something more smoothly but still want physical
sizes of everything to stay the same.)
I think the problem is that we don't distinguish between the specified
printing size of text and the currently displayed size of text.
(Actually, that second part is "the size on the display of the screen
font currently used to display text with the specified printing size.")
By specifying DisplaySize in XF86Config-4, fonts should all *look* the
same size on different sized monitors. However, because gui toolkits
specify most things in pixels, then windows and menus should change
size with the size of the monitor.
To me, a "10-point font" is one that prints on paper with a size of 10
points (if no further scaling is done when printing).  Obviously, text
set to print at 10 points can appear at any size on the screen.
It makes sense to talk about a "10-point screen font" only when it's
calibrated for the screen resolution in pixels and for the physical
screen size.
I read somewhere (when doing M$ programming) that the physical size
displayed for a font on the screen is bigger than the same font on
a printer, to compensate that monitors are usually read further away.
This would be acceptable.
Regarding assumptions' being wrong, one major peeve is MS Outlook and
its users.  When the default "12-point" font size looks too big on their
screens, they think that it's appropriate to set the font size to "10
points."  That causes Outlook to send HTML mail with an HTML font size of
2.  My browser/mailer is adjusted to display normal-sized text (size=3)
at a comfortable screen size.  Of course, when I get the Outlook-
originated mail with a reduced HTML font size, it displays uncomfortably
small on my screen.  ...all because Bill Gates and company don't provide
a way to display message text in a smaller screen font on the local 
machine without screwing with the HTML font size.
I see some mail like that in mozilla, but i have it set so that
when i hit reply, the message is converted to plain ascii which
is easier to read.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Need help configuring box as router

2003-02-23 Thread Russell Shaw
Justin Ryan wrote:
On Sun, 2003-02-23 at 12:27, Nathan E Norman wrote:

On Sun, Feb 23, 2003 at 11:13:24AM -0500, Scott Ehrlich wrote:

[ top posting SUCKS ]



[ self-righteousness SUCKS ]


Other than the Firwall HOWTO I referenced, what other areas of my install
should I look at, and how should the files/configuration appear?

screw the firewall howto, look at this:

http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO.html

What you want is called NAT, or Network Address Translation.  If you
want the low-cholesterol version, check:
http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO-4.html#ss4.1

Of course, you _could_ let this 'ipmasq' package do it for you, and it
probably does as good of a job as my own scripts, but it's good to know
what's under the hood (and it ain't much).
To see the rules ipmasq is using: ipmasq -v

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



Re: Multiple NICs with Monolithic kernel

2003-02-23 Thread Russell Shaw
Michael West wrote:
I am having trouble setting up a system for 3 nic cards with a monolithic
kernel ( 2.4.18 )
The three cards are identical and use the eepro100 driver.

For testing I have them set up on the same sub-net.  All three cards are
getting assigned all three ips.
I am not passing any kernel parameters

Here is my /etc/network/interfaces
I think broadcast addresses are set automatically, and you don't
need gateways if you have no external network. The three NICs use
three separate cables, so these are three different nets:
--
auto lo eth0 eth1 eth2
iface lo inet loopback
iface eth0 inet static
address 10.0.1.10
netmask 255.255.255.0
network 10.0.1.0
iface eth1 inet static
address 10.0.2.10
netmask 255.255.255.0
network 10.0.2.0
iface eth2 inet static
address 10.0.3.10
netmask 255.255.255.0
network 10.0.3.0



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



Xterm key mapping

2003-02-23 Thread Russell Shaw
Hi all,

Where can i find a list of key names for use
in vt100 translations? There's a bunch of
things in /etc/X11/xbd, but things like
"BackSpace" aren't there. Does xterm have
its own list? What does the tilde(~) character
do?
XTerm*vt100.translations: #override\n\
  ~Ctrl ~Meta:insert-selection(PRIMARY, CLIPBOARD)\n\
  :select-end(PRIMARY, CLIPBOARD)\n\
  ShiftUp:   scroll-back(1,line)\n\
  ShiftDown: scroll-forw(1,line)\n\
  ShiftPrior:scroll-back(1,page)\n\
  ShiftNext: scroll-forw(1,page)\n\
  KP_Subtract:   scroll-back(1,page)\n\
  KP_Add:scroll-forw(1,page)\n\
  CtrlPrior: scroll-back(1,line)\n\
  CtrlNext:  scroll-forw(1,line)\n\
  Home:  string("\033OH")\n\
  End:   string("\033OF")\n\
  ShiftBackSpace:string("\210")\n\
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Xterm key mapping

2003-02-23 Thread Russell Shaw
Gregory Seidman wrote:
Russell Shaw sez:
} Where can i find a list of key names for use
} in vt100 translations? There's a bunch of
} things in /etc/X11/xbd, but things like
} "BackSpace" aren't there.
/usr/X11R6/lib/X11/XKeysymDB

You can also use xmodmap -pke to find out which keysyms are actually bound
on your keyboard.
} Does xterm have its own list?

No.

} What does the tilde(~) character do?

Negation. In the first of the translations below, releasing the second
button only pastes if neither control nor meta are pressed.
} XTerm*vt100.translations: #override\n\
}   ~Ctrl ~Meta:  insert-selection(PRIMARY, CLIPBOARD)\n\
}   :  select-end(PRIMARY, CLIPBOARD)\n\
}   ShiftUp: scroll-back(1,line)\n\
[...]
--Greg
Thanks. I found another useful way to see keycodes is xev.
XKeysymDB seems to have something different. What are these
used in? :
apLineDel   :1000FF00 

apCharDel   :1000FF01 

apCopy  :1000FF02 

apCut   :1000FF03 

apPaste :1000FF04 

apMove  :1000FF05 

apGrow  :1000FF06 

apCmd   :1000FF07 

apShell :1000FF08 

apLeftBar   :1000FF09 

apRightBar  :1000FF0A 

apLeftBox   :1000FF0B 

apRightBox  :1000FF0C 

apUpBox :1000FF0D
...
osfCopy :1004FF02 

osfCut  :1004FF03 

osfPaste:1004FF04 

osfBackTab  :1004FF07 

osfBackSpace:1004FF08 

osfClear:1004FF0B 

osfEscape   :1004FF1B 

osfAddMode  :1004FF31 

osfPrimaryPaste :1004FF32 

osfQuickPaste   :1004FF33 

osfPageLeft :1004FF40 

osfPageUp   :1004FF41 

osfPageDown :1004FF42 

osfPageRight:1004FF43 

osfActivate :1004FF44 

osfMenuBar  :1004FF45 

osfLeft :1004FF51 

osfUp   :1004FF52 

osfRight:1004FF53 

osfDown :1004FF54 

osfPrior:1004FF55 

osfNext :1004FF56 

osfEndLine  :1004FF57 

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



Re: [OT] Multiple NICs with Monolithic kernel

2003-02-23 Thread Russell Shaw
David Cureton wrote:
As an a-side but in a similar vein:
 	How can one ensure that the physical interfaces get assigned to the same 
interface consistently after rebooting. Is the only way to explicitly specify 
the physical interface/physical hardware address combination as a kernel 
parameter. 

On a firewall I have i am only slightly paranoid that the machine may come up 
after a power failure and re-assign the physical interfaces differently. Up 
until now all the interfaces have had different drivers so it has not been an 
issue.  module aliases have ensured eth1 does not come up as eth0 and so on.

ideas?
I think pci is sorted by the kernel probing at bootup. Google finds a few
references to it.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: conflict when adding eth2 (diff, gateway)

2003-02-23 Thread Russell Shaw
louie miranda wrote:
Actual interface..
---
eth0/inet addr:203.190.72.108  Bcast:203.190.72.111  Mask:255.255.255.248
eth1/inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.255.0.0

eth2/inet addr:203.190.77.156 Mask:255.255.255.240, Not yet added.

This *might* work:

Kernel IP routing table
---
Destination Gateway Genmask  Iface
203.190.72.104  0.0.0.0 255.255.255.248  eth0
10.0.0.00.0.0.0 255.255.0.0  eth1
0.0.0.0 203.190.72.110  0.0.0.0  eth0
203.190.77.144  203.190.77.156  255.255.255.240  eth2
> I have 3NICS, eth0 (primary gateway) and eth1 (lan network) and eth2
> (diffrent network and gateway..)
>
> When i add the eth2 using this command
>
> /sbin/ifconfig eth2 203.190.77.156 netmask 255.255.255.240 up
>
> Connections going to 203.190.77 block all hangs, i dont know why.
> Im trying to add the route gateway to 203.190.77.158 (gateway) for
> 203.190.77 block, but it does not work. Error says, Invalid eth*
> But i can see eth2.
>
> Any ideas?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Multiple NICs with Monolithic kernel

2003-02-23 Thread Russell Shaw
Michael West wrote:
On Mon, Feb 24, 2003 at 11:41:30PM +1100, Russell Shaw wrote:

Michael West wrote:

I am having trouble setting up a system for 3 nic cards with a monolithic
kernel ( 2.4.18 )
The three cards are identical and use the eepro100 driver.

For testing I have them set up on the same sub-net.  All three cards are
getting assigned all three ips.
I am not passing any kernel parameters

Here is my /etc/network/interfaces
I think broadcast addresses are set automatically, and you don't
need gateways if you have no external network. The three NICs use
three separate cables, so these are three different nets:


 Seperate cables to not mean seperate nets.  
 In my case they were all going into the same hub.
I haven't used hubs before. Do all the input and output ports
have the same IP address? Can you do that on a pc?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: conflict when adding eth2 (diff, gateway)

2003-02-24 Thread Russell Shaw
louie miranda wrote:
Got it,

route add -net 203.190.77.144 netmask 255.255.255.240 gw 203.190.77.158 dev
eth2
It is not anymore failing, but is it possible for ex.

I have a LAN thats on 10.0.0.0/24 I want them when they access 203.190.77
block it will pass on my other gw is this possible?
You mean have only one gateway of 203.190.72.110?

Kernel IP routing table
---
Destination Gateway Genmask  Iface
203.190.72.104  0.0.0.0 255.255.255.248  eth0
10.0.0.00.0.0.0 255.255.0.0  eth1
0.0.0.0 203.190.72.110  0.0.0.0  eth0
203.190.77.144  203.190.77.156  255.255.255.240  eth2


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



Re: Xterm key mapping

2003-02-24 Thread Russell Shaw
Gregory Seidman wrote:
Russell Shaw sez:
} Where can i find a list of key names for use
} in vt100 translations? There's a bunch of
} things in /etc/X11/xbd, but things like
} "BackSpace" aren't there.
/usr/X11R6/lib/X11/XKeysymDB

You can also use xmodmap -pke to find out which keysyms are actually bound
on your keyboard.
When debian boots, it executes /etc/rcS.d/S05keymap.sh which does:

#!/bin/sh
#
# Load the keymaps *as soon as possible*
#
command -v loadkeys >/dev/null 2>&1 || exit 0
Where is the keymap loaded from? I'm trying to swap the ctrl and caps-lock
keys:
  http://www.linuxjournal.com/article.php?sid=0138
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: conflict when adding eth2 (diff, gateway)

2003-02-24 Thread Russell Shaw
louie miranda wrote:
nope, make it 2 gateway..

But ex if they're accessing www.yahoo.com
they will pass on my other gateway eth2
>>It is not anymore failing, but is it possible for ex.
>>I have a LAN thats on 10.0.0.0/24 I want them when they access
203.190.77
>>block it will pass on my other gw is this possible?
I think if they access 203.190.77.144/28, then they
should be going to gw 203.190.77.156 anyway.
You mean have only one gateway of 203.190.72.110?


Kernel IP routing table
---
Destination Gateway Genmask  Iface
203.190.72.104  0.0.0.0 255.255.255.248  eth0
10.0.0.00.0.0.0 255.255.0.0  eth1
0.0.0.0 203.190.72.110  0.0.0.0  eth0
203.190.77.144  203.190.77.156  255.255.255.240  eth2


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



Re: Xterm key mapping

2003-02-24 Thread Russell Shaw
Russell Shaw wrote:
Gregory Seidman wrote:

Russell Shaw sez:
} Where can i find a list of key names for use
} in vt100 translations? There's a bunch of
} things in /etc/X11/xbd, but things like
} "BackSpace" aren't there.
/usr/X11R6/lib/X11/XKeysymDB

You can also use xmodmap -pke to find out which keysyms are actually 
bound
on your keyboard.


When debian boots, it executes /etc/rcS.d/S05keymap.sh which does:

#!/bin/sh
#
# Load the keymaps *as soon as possible*
#
command -v loadkeys >/dev/null 2>&1 || exit 0
Where is the keymap loaded from? I'm trying to swap the ctrl and caps-lock
keys:
  http://www.linuxjournal.com/article.php?sid=0138
I know now. Should have read the rest of the script.
/etc/console.


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



Re: new kernel, new problems

2003-02-25 Thread Russell Shaw
Simon Tod wrote:
Surely I don't need to do "make modules" and "make
modules_install" when I'm not compiling a kernel, just
installing a pre-built one 2.4.20-686 (and the
corresponding kernel-pcmcia-modules file)!? The output
of
~$ depmod
~$ modprobe -a \*
gives me the lengthy output in the attached file. How
does this help?
Can you verify this module is actually here?:

  /lib/modules/2.4.20-686/kernel/drivers/acpi/acpi.o

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



Re: Using PPP for Dial out connection to ISP

2003-02-25 Thread Russell Shaw
Satish Iyer wrote:
Hi,

 I am having problems configuring my ISP connection with ppp. After 
following the directions (from the howto's and faq's) I am still unable 
to get it functioning.

I tried with PAP as well as CHAP.

An error is returned from the [chat] section as Incorrect Input/Output 
parameters : I/O Error.

Also, how do I get it to read my modem correctly?

How do I rectify the error. Else, is there a more detailed FAQ / help 
for the same?
apt-get install pppconfig
pppconfig --dialog


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



Re: new kernel, new problems

2003-02-25 Thread Russell Shaw
Simon Tod wrote:
So why can't modprobe find any of the modules - if
indeed that's the problem - cause they're certainly
where they're supposed to be.
Looking through the output of

~$ depmod
~$ modprobe -a \*
again suggests to me that it's some sort of dependency
or configuration problem... the same comment appears
again and again in the output
Hint: insmod errors can be caused by incorrect module
parameters, including invalid IO or IRQ parameters.
What's that all about?!

 --- Russell Shaw <[EMAIL PROTECTED]> wrote: >
Simon Tod wrote:
Surely I don't need to do "make modules" and "make
modules_install" when I'm not compiling a kernel,
just

installing a pre-built one 2.4.20-686 (and the
corresponding kernel-pcmcia-modules file)!? The
output

of

~$ depmod
~$ modprobe -a \*
gives me the lengthy output in the attached file.
How

does this help?
Can you verify this module is actually here?:

 
/lib/modules/2.4.20-686/kernel/drivers/acpi/acpi.o
What does uname -a show?
Don't top-post.


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



Re: mouse sensitivity under X

2003-02-25 Thread Russell Shaw
Jack Pistachio wrote:
How do I increase the sensitivity of my mouse in X windows?
I just got a new mouse, but it requires a lot more travel
than my old one to do what I want to do.
- jackp
man xset

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



Re: Using PPP for Dial out connection to ISP

2003-02-25 Thread Russell Shaw
John Hasler wrote:
Alex writes:

Look up---   pppconfig HOWTO


I'm aware of no such HOWTO.
http://www.google.com.au/search?q=pppconfig+howto&ie=UTF-8&oe=UTF-8&hl=en&meta=

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



Re: cannot change eth media type

2003-02-25 Thread Russell Shaw
Sean Proctor wrote:
The switch I'm using is a little broken, so I need my ethernet cards to use
10baseT rather than 100base T. when I try to switch them using ifconfig, this
is what I get:
# /sbin/ifconfig eth0 media 10baseT
port: SIOCSIFMAP: Operation not supported
Does linux not support switching or is it the drivers that need to support
it? I've tried this with 3 different cards and it worked for none of them
(tulip-based, 3com 9xx, and a tulip-base PC card).
The modules might have options.
modinfo -p 
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mouse not working in GPM or X

2003-02-26 Thread Russell Shaw
Hugh Saunders wrote:
On Wed, Feb 26, 2003 at 03:02:23PM -0500, Rowland Darbin wrote:

I installed XFree86 -configure and it tells me that it can't find my mouse. 
So I installed gpm. When gpm is running and I move around the mouse, I 
don't get a curser, I get a white line on the top of the screen and a bunch 
of new lines as if I kept hitting enter. I replaced the mouse with another 
PS2 mouse and got the same result it is a MS IntelliMouse. I am using the 
kernel that came with the default 1.44 floppy install v3.0.

Any suggestions, questions, comments, or rude remarks would be very helpful.
1. stuff gpm [theres the rude remark]
2. I wouldnt bother with an X configure program either, just vim /etc/X11/XFree86-4
   In the configured mouse section make sure device is /dev/psaux
3. make sure you kill gpm before starting X unless you set X to read
   /dev/gpmdata.
The advantage of XFree86 -configure is that it gives you a list
of options for the video card.


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



Re: adding eth1

2003-02-28 Thread Russell Shaw
Nathan E Norman wrote:
On Fri, Feb 28, 2003 at 09:06:03PM +0100, Ina&Frank wrote:

Debian Folks

I have a next question.
...
I have no idea what /etc/ifstate is, but I'm pretty sure you don't
need to edit it.
/etc/network/ifstate
It's just a status file. I think it's auto-generated by /etc/init.d/networking.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debian on laptop w/ limited ram/speed/HD

2003-02-28 Thread Russell Shaw
Matt Price wrote:
Hi everyone,

A middle-aged (~4 years old -- so, not old, not new) laptop is about
to become available to me, and I'd like to install debian on it.
The system is an HP Omnibook A4100,
P-II 300
96 meg ram
20 gig hard drive
I'd like to take the machine on a month-long trip, where I'd use it
mmostly for writing and checking email.   My *preference* would be to
run:
-a minimal GUI
-mutt, plus something to fetch my mail from a remote location
and... 
-openoffice.  

sigh.  I'm a bit concerned that openoffice can't feasibly be run in
such an environment; but I'm revising a book manuscript that was
originally written several years ago in Word, and I really, really,
really don't want to have to edit it in emacs or something.
Abiword looks good and seems compatible to certain degree (install
from testing).
So does anyone have suggesions about 
-tweaks to get debian to run optimally on a (relatively) small
memory/processing speed budget;
-favorite lightweight window managers;
IceWM is great (for me). It has windows-like taskbar and menus, but
no permanent desktop icons. The config files are easy to understand
for customizing the start menu. It's fast too.
-if necessary, alternatives to / modifications of OpenOffice that
don't require quite so much room to work as the standard OO
installation needs?
Would it perhaps be useful to compile stuff from scratch, rather than
use generic debian packages?
Doubt it.
As a last resort, you could install wine/win4lin.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding eth1

2003-03-01 Thread Russell Shaw
Svenn Are Bjerkem wrote:
On Friday 28 February 2003 21:53, Nathan E Norman wrote:

First, I have to mention that I hate rtl8139 cards :-) 


Would you care to tell why? I want to buy one...
I had one that wouldn't work in win98, but works in debian:)



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



Re: Unidentified subject!

2003-03-01 Thread Russell Shaw
debian_newbie wrote:
Hello Everybody,

How do I change the number of times I can boot up before fsck does a
complete file system check? It does it on my Woody machine every 20
times. Also, I'm using ext3 filesystem. isn't it a journalized fs? I
thought journalized filesystems didn't have to be fscked?
man tune2fs

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



Re: Two ISA NICs

2003-03-02 Thread Russell Shaw
mike wrote:
Hello

I've got a Debian Woody.
I've got two ISA NICs (3com EtherLink III I guess).
And I've got a problem :)
A fragment of dmesg:
eth0 : 3c5x9 at 0x220, 10baseT port, address 00 10 5a dc ee bc, IRQ 5
eth1 : 3c5x9 at 0x300, 10baseT port, address 00 20 af 57 4d 4e, IRQ 10
Both of the cards are configured statically in
/etc/network/interfaces. However only one of the works at the time,
the second one behaves weird:
ifup eth1
interface eth1 already configured
ifdown eth1
SIOCDELRT: no such process
ifup eth1
SIOCSIFFLAGS: Device or resource busy
SIOCSIFFLAGS: Device or resource busy
The same goes for eth0 if eth1 have been raised first.
I had problems like that until i gave them both different
IP addresses on different nets.


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



Installing second gcc

2003-03-03 Thread Russell Shaw
Hi,
On woody, i got gcc-2.95.4 that came with the initial install.
I just apt-got gcc-3.2, but gcc --version still says 2.95.4.
Is there a debian way to make the system use 3.2, or do i just
rename gcc-3.2 to gcc and apt-remove the old gcc? Is it safe to
build kernels with 3.2?
"update-alternatives --display gcc" says there's no alternatives.

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



Re: Firewalling under Debian

2003-03-03 Thread Russell Shaw
bob parker wrote:
My son's proposed network is to be this:

Firewall / NAT / Gateway machine connected to cable using 1 nic.
Connects to hardware router / switch using 2nd nic.
He has the switch and will be buying a PIII 400 2nd hand for the fw.
We both know it's overkill but spares for PIIIs are cheaper than earlier 
models apparently.

Switch connects to 2 * dual boot Mdk/Win XP machines and 1 network printer.

The fw machine is to run Debian with 2.4 kernel and iptables.
My question is, what is the best way to go about setting up the Debian fw 
machine?

I have the 7 cds for 3.0r1.
Just connect the two new PCs into two NICs on the gateway pc. Verify the
local connections work and that the cable connection works on the gateway
pc, then install ipmasq.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Installing second gcc

2003-03-03 Thread Russell Shaw
Colin Watson wrote:
On Mon, Mar 03, 2003 at 11:18:45PM +1100, Russell Shaw wrote:

Is there a debian way to make the system use 3.2, or do i just
rename gcc-3.2 to gcc and apt-remove the old gcc?
See /usr/share/doc/gcc-3.2/README.Debian.gz.

"update-alternatives --display gcc" says there's no alternatives.
Deliberately so, yes.
Hi,
I haven't configured alternatives before. I get an error:

[EMAIL PROTECTED]: update-alternatives --config cc
There is only 1 program which provides cc
(/usr/bin/gcc). Nothing to configure.

Currently,
  /etc/alternatives/cc -> /usr/bin/gcc -> gcc-2.95
In /usr/bin, there is gcc-2.95, gcc-3.0, and gcc-3.2. What is
the proper way to make gcc-3.2 the system default?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Kernel errors

2003-03-04 Thread Russell Shaw
Joel Konkle-Parker wrote:
I just compiled a fresh 2.2.20 kernel and rebooted into it for the first 
time. During the boot, the kernel went into an endless cycle of the same 
error message, something to the effect of "cannot modprobe  
  binfmt###c; error=8". That's from memory, so I forget 
what the switches are, and 'modprobe' could have been "cannot insert 
module". I also can't remember the exact name, I just know it started 
with binfmtc. The error code is correct.

Did I set a configuration setting wrong?
Did you remember to do "make modules" and "make modules_install" ?

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



Re: kernel-source-2.4.18-bf2.4?

2003-03-05 Thread Russell Shaw
Kris Kerwin wrote:
Hi all,

Something tells me this is a question that has already been asked, and that 
I'll probably be flamed for it, so, flame away!  :-)  Anyways - could anyone 
tell me where I could find the source for kernel 2.4.18-bf2.4?  I've checked 
in Debian's archives, as well as kernel.org and on Google.  Scary thing - 
Google either says it doesn't exist, or (more likely) I don't know where to 
begin to look.  
maybe here: http://packages.debian.org/stable/devel/kernel-source-2.4.18.html

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



Realplayer seg.fault

2003-03-16 Thread Russell Shaw
Hi all,

I downloaded and ran the realplayer binary: rp8_linux20_libc6_i386_cs2.bin.
It gets thru the installation and registration process, runs for a second,
then seg.faults:
[EMAIL PROTECTED]: ./rp8_linux20_libc6_i386_cs2.bin
Segmentation fault
I am in the audio group. What sound infrastructure do i need installed?

Are there any alternatives to play realplayer .ram streaming audio, or
.asx windows media player streaming audio?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 'apt-cache search' question

2003-03-16 Thread Russell Shaw
Faheem Mitha wrote:
On Sun, 16 Mar 2003 10:46:46 -0500, Rick Pasotto <[EMAIL PROTECTED]> wrote:

There was recently a question about which .deb added GIF capability to
the gimp. Using 'apt-cache search gimp gif' did not return the correct
answer. The man page for apt-cache says:
search search  performs  a  full  text  search on all available package
  files for the regex pattern given. It searchs the package  names
  and  the  descriptions for an occurance of the string and prints
  out the package name and the short  description.
The problem seems to be that the word 'gimp' appears only in the package
name and the word 'gif' appears only in the description.
Shouldn't the search treat the package name and the description as a
single string? Doing so would have given the correct answer for the
above query.


I assume you mean gimp1.2-nonfree (or gimp1.3-nonfree)?  I looked at
the source code for apt-cache search but it is not clear what it is
doing.
I agree with you that combined searching of the package name and the
description is desirable. I think you should report this as a bug
against apt. I did a search, and I don't see anything currently like
this in the bug database. In fact, there only seem to be a few (a
couple or so) bugs against apt-cache search.
If you don't want to file a bug I can do so. Let me know.
I don't think "gimp gif" is a regular expression:

[EMAIL PROTECTED]: apt-cache search gimp.*gif
grokking-the-gimp - GIMP tutorial book by Carey Bunks (HTML)
[EMAIL PROTECTED]: apt-cache search gif.*gimp
grokking-the-gimp - GIMP tutorial book by Carey Bunks (HTML)
gimageview - Image Viewer using GTK+
"apt-cache search gimp" and "apt-cache search gif" show that both
the header and body are searched.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



make menuconfig fails

2003-03-16 Thread Russell Shaw
Hi all,

In the kernel source, when i do "make menuconfig" i get the error:

rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory 
`/home/russell/Kernels/2.4.20-win4lin-ipmasq/linux-2.4.20/scripts/lxdialog'
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'
make[1]: *** [ncurses] Error 1
make[1]: Leaving directory 
`/home/russell/Kernels/2.4.20-win4lin-ipmasq/linux-2.4.20/scripts/lxdialog'
make: *** [menuconfig] Error 2
I think i *have* got ncurses installed, because midnight commander runs, and
sudo ldconfig -p:
342 libs found in cache `/etc/ld.so.cache'
...
libncurses.so.5 (libc6) => /lib/libncurses.so.5
...
locate ncurses:

/lib/libncurses.so.5
/lib/libncurses.so.5.2
/usr/doc/libncurses5
/usr/doc/libncurses5-dev
/usr/include/ncurses.h
/usr/include/ncurses_dll.h
/usr/lib/libncurses++.a
/usr/lib/libncurses.a
/usr/lib/libncurses.so
"make menuconfig" used to run ok, so it's something that
happened to the system (2.4.20, gcc-2.95.4, libc6).
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Selection with mouse is bodged up on one machine

2003-03-16 Thread Russell Shaw
Alan E. Davis wrote:
I am stumped on this one:

  X selection (cut and pasting with the mouse) has been working, so that I can select a URL from an email, and middle click on galeon to follow the url.  But on one machine, this isn't working, on any account.  

This is a sid machine, up to date, and updates haven't helped.  I went through the XF86Config-4 file, and commented some lines in the mouse configurations, but no avail.  

Is this something I should have been able to find in the archives of this list?  
I don't know if it affects X, but have you got gpm installed?



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



Re: Realplayer seg.fault

2003-03-16 Thread Russell Shaw
Brian Potkin wrote:
On Mon, Mar 17, 2003 at 12:24:00PM +1100, Russell Shaw wrote:


Hi all,

I downloaded and ran the realplayer binary: rp8_linux20_libc6_i386_cs2.bin.
It gets thru the installation and registration process, runs for a second,
then seg.faults:
[EMAIL PROTECTED]: ./rp8_linux20_libc6_i386_cs2.bin
Segmentation fault
I am in the audio group. What sound infrastructure do i need installed?


You might be better off getting the rpm version of the binary and
installing it using the realplayer deb which you will find at
http://marillat.free.fr/

This worked for me when the package was last included in Debian.
 
Are there any alternatives to play realplayer .ram streaming audio, or
.asx windows media player streaming audio?
mplayer does both.  You can get it via the previous URL.
Thanks, that site has debs: http://marillat.free.fr/dists/testing/main/binary-i386/
I just added: deb http://marillat.free.fr/ testing main
to sources.list, then did apt-get update.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: make menuconfig fails

2003-03-16 Thread Russell Shaw
Bob Proulx wrote:
Russell Shaw wrote:

In the kernel source, when i do "make menuconfig" i get the error:


Common problem.  But most people just have not installed it yet.  You
look to have a corrupted library or something.
Thanks. It must have got uninstalled when i was fixing broken package problems.

/usr/bin/ld: cannot find -lncurses


Check that you have the following on your system.

  apt-get install libncurses5-dev

  /usr/include/curses.h
  /usr/lib/libncurses.a
  /usr/lib/libncurses.so

I think i *have* got ncurses installed, because midnight commander runs, and
sudo ldconfig -p:


Note that you do not need sudo for 'ldconfig -p'.  It is a read-only
command.
ldconfig updates /etc/ld.so.cache, so sudo is needed:

[EMAIL PROTECTED]: ldconfig -p
bash: ldconfig: command not found
[EMAIL PROTECTED]: sudo ldconfig -p
Password:
362 libs found in cache `/etc/ld.so.cache'
libzvt.so.2 (libc6) => /usr/lib/libzvt.so.2
libz.so.1 (libc6) => /usr/lib/libz.so.1
...
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Why use COPS?

2003-03-18 Thread Russell Shaw
Conrad Newton wrote:
From Deryk Barker on Tuesday, 2003-03-18 at 13:26:51 -0800:

...
But I half suspect that the Epson Stylus Color 800 is less well
supported because it is an older printer.  The 850 and the C82
are more recent, so it is perhaps not surprising that they are
less problematic.
The stylus color 400 is even older, and cups works perfectly with
both the stylus 400 and 440 i've got, using the included cups ppd.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Why use COPS?

2003-03-19 Thread Russell Shaw
Conrad Newton wrote:
From Russell Shaw on Wednesday, 2003-03-19 at 14:59:01 +1100:

Conrad Newton wrote:

From Deryk Barker on Tuesday, 2003-03-18 at 13:26:51 -0800:

...

But I half suspect that the Epson Stylus Color 800 is less well
supported because it is an older printer.  The 850 and the C82
are more recent, so it is perhaps not surprising that they are
less problematic.
The stylus color 400 is even older, and cups works perfectly with
both the stylus 400 and 440 i've got, using the included cups ppd.


OK, so maybe I have a different problem.  The fact remains that 
using two different computers and two different distributions
(Mandrake and Debian) I have twice experienced that CUPS melts
down completely, meaning that I although I can print a test page,
at some point an ordinary print job yields garbage on the page,
and although I kill the job and clean out the queue in /var/spool/cups,
I get mostly garbage thereafter.  I did everything I could think 
of to clean out the system, short of completely reinstalling CUPS, 
but the problems remained.

The only guesses that I could make---maybe both are wrong---
is that CUPS does not interact well with the old lpr-based
laptop on my network, or that it is unhappy with my long
parallel port cable (3m).  There was an explicit mention
of Epson and sensitivity to long parallel port cables in
the documentation.  But I do not see why I should have
to live with a problem of that kind, since I never had
it before.
I was enormously frustrated with these problems when they first 
appeared, because my first impression was that CUPS was very 
simple to set up and operate, and functioned beautifully.  
I would use it if the problems had not occured.
I have: /etc/cups/ppd/Stylus400.ppd
and i use lp to print (not lpr).
Stylus400.ppd came with cups.


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



Re: font size

2003-03-19 Thread Russell Shaw
Ruediger Noack wrote:
Hi all

I'm using woody, Gnome 1.4, Mozilla 1.2.1, ... with X resolution of 
1280x1024. All seems well, but...

Currently I'm using a locale with latin-1 (de_DE). But if I change it to 
[EMAIL PROTECTED] (or [EMAIL PROTECTED]) all my fonts in X are very small (gdm 
greeter, Gnome panels and menus, Mozilla and so on).
How can I change this? What config file have I to edit?
Settings are in Edit|Preferences|Fonts.

Maybe the size problem is caused by switching between scaleable and
non-scaleable fonts.


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



Re: Broken Zope, Python, xbase-clients, etc

2003-09-06 Thread Russell Shaw
Russ Cook wrote:
Russell,
  The sources.list file was OK, but it referenced a local
mirror for apt-move, which wasn't valid yet.  I corrected
that, and ran 'apt-get update' again, and then ran
apt-get install -t testing zope, as you recommend.  Attached
is that script file.  The errors are essentially the same.
Can you or anyone else offer more suggestions?  I would be
very grateful.
(Reading database ... 64003 files and directories currently installed.)^M
Preparing to replace zope 2.3.3-1 (using .../zope_2.6.1-10_i386.deb) ...^M
dpkg: warning - old pre-removal script returned error exit status 1^M
dpkg - trying script from the new package instead ...^M
invoke-rc.d: initscript zope, action "stop" failed.^M
dpkg: error processing /var/cache/apt/archives/zope_2.6.1-10_i386.deb (--unpack):^M
 subprocess new pre-removal script returned error exit status 1^M
dpkg -r --force-remove-reinstreq --force-depends zope
apt-get install zope
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How stable is SiD ?

2003-09-06 Thread Russell Shaw
Johan Kullstam wrote:
Paul Johnson <[EMAIL PROTECTED]> writes:

On Fri, Sep 05, 2003 at 03:27:47PM +0200, Joris Lambrecht wrote:

Can anyone advise on starting to use SiD as resource for my Debian
Workstation ? Doesn't it have to many issues left open, broken
dependencies etc.
If you have to ask, sid is not stable enough for you.
Perhaps his video card isn't supported with the woody shipped xfree86?
That's why I went straight for sid last August.  (ATI Radeon 8500
needs 4.2.1.)  At work I just got some crap corporate box with i845g
graphics.  I need xfree86 4.3.  Please advise.
There's some useful posts on installing X 4.3 in the archives in the
last couple of weeks.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: dpkg fails after removing some packages

2003-09-06 Thread Russell Shaw
Benedict Verheyen wrote:
Hello,

i reinstalled a local broken server using my own desktop backups. It's a
mixed testing/unstable system. All went well but when i tried to remove
some packages, something went wrong with dpkg. It seems linked to
base-files. dpkg is version 1.10.10, base-files 3.0.10
This is what happens when i try apt-get install base-files:
---
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
 base-files 

The following packages will be REMOVED:
 aalib1 gimp1.2 libwine wine 

1 packages upgraded, 0 newly installed, 4 to remove and 109  not
upgraded.
5 packages not fully installed or removed.

Need to get 0B/32.8kB of archives. After unpacking 48.5MB will be freed.

Do you want to continue? [Y/n] (Database inlezen ... E: Sub-process
/usr/bin/dpkg exited unexpectedly
---
apt-get update
apt-get install -f base-files
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: woody newbie help

2003-09-06 Thread Russell Shaw
mnicolet wrote:
Hello
I am a newbie to Linux, but not to the *NIX world. I allways tried Debian
distros. But I had no time to go too far.
Now I installed woody ( bf2.4 ). All went ok exception of
1) My Debian box has a generic two button serial mouse. Using some utility
( don´t remember which one ), the mouse is correctly seen as attached to
/dev/ttyS0. Main parameters as shown by stty seems correct, by example baud
rate is 1200. /dev/mouse is a symlink to /dev/ttyS0.
When I configure XFree86, xf86config correctly guess what the mouse device
is.
But when X and KDE are up, I have no mouse response. Of course, I need to go
to console mode.
Is there a console mouse test and trouble-shooting utility ?
Am I doing something wrong ? Am I missing something ?
XFree86 may be conflicting with gpm. gpm works the mouse in console mode.
When the mouse works in the console, use gpm repeater mode to send mouse
events to X. Google will find lots of answers.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mixing stable and testing

2003-09-06 Thread Russell Shaw
Vikki Roemer wrote:
On Fri, Sep 05, 2003 at 01:14:02PM +1000, Russell Shaw wrote:

In same directory:

dpkg-source -x metalog_0.7beta-3.dsc
cd metalog_0.7beta
dpkg-buildpackage -us -uc -rfakeroot
cd ..
dpkg -i metalog_0.7beta-3_i386.deb
Ok, I did all that, but when I try to run dpkg -i, I get the following output:
neuromancer:~# dpkg -i metalog_0.7beta-3_i386.deb 
dpkg: regarding metalog_0.7beta-3_i386.deb containing metalog:
 syslog-ng conflicts with system-log-daemon
  metalog provides system-log-daemon and is to be installed.
dpkg: error processing metalog_0.7beta-3_i386.deb (--install):
 conflicting packages - not installing metalog
Errors were encountered while processing:
 metalog_0.7beta-3_i386.deb
neuromancer:~# 

How can I uninstall syslog-ng and install metalog?  dpkg won't let me
uninstall syslog-ng before I install metalog because a plethora of packages
depend on system-log-daemon.
Maybe apt-get will work.

cp metalog_0.7beta-3_i386.deb /var/cache/apt/archives
apt-get install -t testing metalog
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Why held back? Command ...

2003-09-06 Thread Russell Shaw
[EMAIL PROTECTED] wrote:
I've a bunch of machines on unstable ... one is holding back a lot of
stuff on update/upgrade ... is there a command/switch that will tell me
what dependency is holding things up? ... I'll just kill it off if it's
non critical, as it's holding up postgres, openoffice, php and a bunch
of other stuff ...
You could apt-get install a single package and it should say what
it depends on and why it won't install.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: dpkg fails after removing some packages

2003-09-07 Thread Russell Shaw
Benedict Verheyen wrote:
Op zo 07-09-2003, om 04:45 schreef Russell Shaw:

apt-get update
apt-get install -f base-files
Nope, that doesn't work. Apt-get downloads the packages, then says
(Reading database...) and shortly afterwards, i get the E: Subprocess
/usr/bin/dpkg exited unexpectedly.
I really haven't got a clue of what is wrong.
I think i might be looking at a reinstall here.
Does dpkg succeed with anything? You could download the dpkg .deb
and install it.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: where is netscape 4 in testing?

2003-09-07 Thread Russell Shaw
Alexander Mikhailian wrote:
I recently upgraded to testing and found out that netscape 4 is missing
in the list of packages. Where can I get a working version of netscape 4
for testing?
Netscape is based on mozilla, so install that instead. Mozilla has
options to stop pop-up ads, but netscape has not.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Broken Zope, Python, xbase-clients, etc

2003-09-07 Thread Russell Shaw
Russ Cook wrote:
Hi Russell,
  Thanks for the continued help.  I tried the command
you suggested, and the result is in the attached
script file.  Still no luck.
On Sun, 7 Sep 2003, Russell Shaw wrote:

Russ Cook wrote:

Russell,
 The sources.list file was OK, but it referenced a local
mirror for apt-move, which wasn't valid yet.  I corrected
that, and ran 'apt-get update' again, and then ran
apt-get install -t testing zope, as you recommend.  Attached
is that script file.  The errors are essentially the same.
Can you or anyone else offer more suggestions?  I would be
very grateful.
(Reading database ... 64003 files and directories currently installed.)^M
Preparing to replace zope 2.3.3-1 (using .../zope_2.6.1-10_i386.deb) ...^M
dpkg: warning - old pre-removal script returned error exit status 1^M
dpkg - trying script from the new package instead ...^M
invoke-rc.d: initscript zope, action "stop" failed.^M
dpkg: error processing /var/cache/apt/archives/zope_2.6.1-10_i386.deb (--unpack):^M
 subprocess new pre-removal script returned error exit status 1^M
dpkg -r --force-remove-reinstreq --force-depends zope
apt-get install zope
Removing zope ...
dpkg: error processing zope (--remove):
 subprocess pre-removal script returned error exit status 1
/usr/lib/python1.5/py_compile.py:54: DeprecationWarning: strop functions are obsolete; 
use string methods
  codestring = string.replace(codestring,"\r\n","\n")
Zope assumes a later version of python:

stable: http://packages.debian.org/stable/web/zope.html

 [depends] python (>= 2.1.3-1)
An interactive object-oriented scripting language (default version)
 [depends] python (<< 2.2)
An interactive object-oriented scripting language (default version)
testing: http://packages.debian.org/testing/web/zope.html

[depends] python2.1 (>= 2.1.3-1)
An interactive high-level object-oriented language (version 2.1)
So,
apt-get update
apt-get install   (this should auto-deinstall 1.5)
apt-get install --reinstall [--fix-broken] zope
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Getting XFree 4.3?

2003-09-07 Thread Russell Shaw
Jon Haugsand wrote:
* Russell Shaw

dpkg --audit
or
dpkg --yet-to-unpack


dpkg --audit
The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure  or the configure menu option in dselect:
 console-common   Basic infrastructure for text console configuration
nbjhh1-laptop:/# dpkg --yet-to-unpack
nbjhh1-laptop:/# 

Try: apt-get install -t testing --fix-broken console-common
 apt-get install -t testing --fix-broken console-common
Reading Package Lists...
Building Dependency Tree...
Sorry, console-common is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 80  not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up console-common (0.7.25) ...
Looking for keymap to install:
no
dpkg: error processing console-common (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 console-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
(Tanks for your effort.  I must be pretty hopeless..)
dpkg -p console-common
shows it pre-depends on debconf.
dpkg -p debconf
shows it depends on a bunch of other things.
I'd either use dselect to install debconf from testing (with all its
suggests/recommends), or:
apt-get update
apt-get install -t testing 
Depends: debconf-i18n | debconf-english
Pre-Depends: perl-base (>= 5.6.1-4)
Recommends: apt-utils (>= 0.5.1)
Suggests: debconf-doc, debconf-utils, whiptail | dialog | gnome-utils,
  libterm-readline-gnu-perl, libgnome-perl, libnet-ldap-perl, perl
Conflicts: cdebconf, debconf-utils (<< 1.1.0), debconf-tiny (<< 1.0),
  apt (<< 0.3.12.1), menu (<= 2.1.3-1), dialog (<< 0.9b-20020814-1),
  whiptail (<< 0.51.4-7), whiptail-utf8 (<= 0.50.17-13)
apt-get install -t testing console-common

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



Re: Install a dfiferent network card on debian 3.0

2003-09-07 Thread Russell Shaw
momo momo wrote:
Have been trying to install a different NIC, a Tulip card.

Tried running /usr/sbin/base-config  This does not reconfigure the NIC

Would appreciate it if someone can point me in the right direction.
Make sure the card driver is available as a module or is built into
the kernel. If it's a module, put it in /etc/modules.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Broken Zope, Python, xbase-clients, etc

2003-09-08 Thread Russell Shaw
Russ Cook wrote:
Hi Russell,
  I ran apt-get update, then apt-get install python.  I did
not specify a version.  The system stated I am already at
the latest version.  I then ran apt-get install --reinstall --fix-broken
zope.  The log looks the same.  If you still have a log of the
session I sent previously, please notice that the python routines
which are run seem to be from /usr/lib/python1.5, even though python2.3
is installed.  Does Zope explicitly look for version 1.5?  I'm really
at a loss as to what is going on here.
On my system:

whereis python

  python: /usr/bin/python /usr/bin/python2.2 /usr/bin/python2.1
  /etc/python2.1 /etc/python2.2 /usr/lib/python2.1
  /usr/lib/python2.2 /usr/include/python2.1 /usr/include/python2.2
  /usr/share/man/man1/python.1.gz
ls -l /usr/bin/python

  /usr/bin/python -> python2.2

Your system may have: /usr/bin/python -> python1.5

If so, symlink it to point to python2.2.

The other way is the debian alternatives system. You can have multiple
versions of a tool, such as gcc-2.95.4, gcc-3.3, etc, but one gets called
by the generic name of "gcc".
man update-alternatives

rm /usr/bin/python
rm /usr/share/man/man1/python.1.gz
ln -s /etc/alternatives/pythonbin /usr/bin/python
ln -s /etc/alternatives/pythonman.1.gz /usr/share/man/man1/python.1.gz
update-alternatives --install /usr/bin/python pythonbin /usr/bin/python2.2 20 \
--slave /usr/share/man/man1/python.1.gz pythonman.1.gz 
/usr/share/man/man1/python2.2.1.gz
Now check.

ls -l /usr/bin/python

  /usr/bin/python -> /etc/alternatives/pythonbin

ls -l /etc/alternatives/pythonbin

  /etc/alternatives/pythonbin -> /usr/bin/python2.2

ls -l /usr/share/man/man1/python.1.gz

  /usr/share/man/man1/python.1.gz -> /etc/alternatives/pythonman.1.gz

ls -l /etc/alternatives/pythonman.1.gz

  /etc/alternatives/pythonman.1.gz -> /usr/share/man/man1/python2.2.1.gz



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



Re: kdm

2003-09-08 Thread Russell Shaw
[EMAIL PROTECTED] wrote:
hi!

i have a problem in woody: I installed it in a ibm thinkpad A31, but xfree 
(4.1.0) wasn't working because the video card (radeon M6) is not 
supported, so i went to xfree86.org and download 4.3.0 version, and 
installed it (with Xinstall.sh).

All is working ok, except kdm. In /var/log/kdm.log:

/usr/bin/kdm: relocation error: /usr/bin/kdm: undefined symbol:
_XdmcpWrapperToOddParity
I'm using kde with gdm, but i would like to use kdm.
apt-get remove gdm
apt-get install kdm
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mozilla and Print

2003-09-08 Thread Russell Shaw
Jerome Lacoste wrote:
On Sun, 2003-08-31 at 20:59, Bijan Soleymani wrote:

On Wed, Aug 27, 2003 at 05:28:22PM -0400, Rodrigo Gesswein wrote:

Hello!

  I have installed Debian 3.0r1 and Mozilla 1.4, but when I try to print
a html page, CPU goes to 100% and nothing happend, I must kill mozilla
manually. LPD is installed and configured right.
  Any ideas ?

What happens if you print to a file and then run lpr on that file?
I've had the same problem in the past month.
CPU goes 100% while preparing the document.
I cannot print on my printer neither on file.
I tried creating a new profile. It worked once but doesn't work anymore.
It could then be profile related, but I doubt.
I wonder if it could be font related...
I have been on #mozillazine but nobody could help me. 
In subdirectories of ~/.mozilla, you'll find mozilla-generated files
that are modified every session. Delete them. Mozilla will forget a
few graphics preferences and other things you previously set. Don't
delete the files that contain the main settings such as prefs.js.
(make a backup of all the files if you want to hack it more)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ctrl-Alt-Fn and Ctrl-Alt-Bksp switch to blank screens in X

2003-09-08 Thread Russell Shaw
Edward Ho wrote:
Recently I've installed Woody on my Dell CPt laptop (Mobile P2-400).
The installation was started from scratch using the bf2.4 floppy+http
(not from cdrom), so I'm sure my system has the latest stable release.
Since GUI is required for my engineering work, I used apt-get to
install the x-window-system-core and wmaker packages after I'm satisfy
with the network and apm setup in console mode. No [gkx]dm was
installed, and I typed 'startx'  manually after user login to go into
X.
The problem is that once I am in X, I cannot go back to text concole
mode any more without resetting the system by Ctrl-Alt-Del.
Ctrl-Alt-Bksp does kill the X server, but I am left with a blank screen
without the prompt. The system is not completely hung, as Ctrl-Alt-Del
can be issued to shut it down gracefully.
Similarly, Ctrl-Alt-F[1-6] does not give me a virtual console as
documented. I only get a blank screen. Ctrl-Alt-F7 would get me back to
X, and I can continue my work there.
Can someone kindly give me some clues on how to debug this?
Probably a few answers in the archives of debian-laptop.

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



Re: Upgrade to 'testing"

2003-09-08 Thread Russell Shaw
Jianan Huang wrote:
Hi folks,

I am now running 'stable' which I installed from a CDROM created online. 
Now I intend to upgrade to 'testing'. What's the easiest way to go about 
it? Can I upgrade online by downloading some approriate packages or do I 
have to create a 'testing' CDROM?
http://www.debian.org/doc/user-manuals#quick-reference
http://www.debian.org/doc/manuals/reference/ch-woody.en.html#s-upgrade-system
http://www.debian.org/doc/manuals/reference/ch-package.en.html
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: CUPS gone mad

2003-09-09 Thread Russell Shaw
Christophe Courtois wrote:
 Hi,
 I'm going crazy. Thanks for any idea how to solve this mess:
 * Although it worked perfectly some times ago When trying to print 
something from Gimp or KDE, Cups creates hundred thousands of files 
(000) in /var/spool/cups/. These are almost all 34796 bytes long,a d 
and file says these are "PostScript document text conforming at level 1.0
" . 
 I must stop cups by /etc/init.d/cupsys stop to gain control on my 
computer back, or it swaps until death.

 * I've tried to delete the printer and reinstall it. All seems perfect 
through KDE or the web interface. But when trying to print the test page, 
it fails immediately. The jobs list indicates : "Aborted".

 T've found this in my logs :...
Check the partition with fsck. If that doesn't help, reinstall CUPS.

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



Re: Broken Zope, Python, xbase-clients, etc

2003-09-09 Thread Russell Shaw
Russ Cook wrote:
Thanks for the continued help.  Attached are the results of
'whereis python' and 'ls -l /usr/bin/python'.  The symlink
points to python2.3.  And yet, the zope pre-removal script
encounters errors in python1.5, which makes me think it is
explicitly seeking and calling routines from the earlier version.
More thoughts?
Interesting. I'd try apt-get remove python1.5 if nothing
important depends on it.
Before a package is removed, its preremoval script is run.
After removal, the postremoval script is run. These scripts
are in /var/lib/dpkg/info. You could inspect the script and,
run it, but i don't know how messy or disruptive that would be.
fsck the partition

apt-get remove --force-remove-reinstreq --force-depends zope
(IIRC that was already tried)
If that doesn't work, i'd manually delete all the zope files
and directories, shown with dpkg -L zope. Edit /var/lib/dpkg/status
so that zope looks like an uninstalled package.
apt-get install zope

Make a backup of /var/lib/dpkg/status and anything else important.

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



Re: Remove pakages and it dependents

2003-09-10 Thread Russell Shaw
Wathen, Metherion wrote:
My guess is to use 'dselect'
after you select the package you want to remove
it shows you the dependencies, IIRC.
-Original Message-
From: Victory [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 8:32 AM
To: Debian-User
Subject: Remove pakages and it dependents
How to remove package and it dependents safely.
i.e. I want to remove ppp package and it dependencies.
maybe: dpkg -r -B ppp

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



Re: CUPS gone mad

2003-09-10 Thread Russell Shaw
Christophe Courtois wrote:
Le Mercredi 10 Septembre 2003 04:24, Russell Shaw a déclamé :

Check the partition with fsck. If that doesn't help, reinstall CUPS.
 !!! ...but it worked (dpkg -r --force-depends and apt-get). Thanks !

 But my first problem is not solved (only when printing is from KDE ; lp, 
gimp, openoffice all work). I have to investigate there, but no time 
tonight, so if you have an idea...
I can't help with printing from KDE. I use icewm.

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



Re: spam software

2003-09-26 Thread Russell Shaw
Paul Johnson wrote:
Please reply on list.  Please do not top post.  http://learn.to/quote/

On Fri, Sep 26, 2003 at 10:28:49AM -0400, Vivek Kumar wrote:

Thanks.. I got it. I was reading the docs and it seems there is no
configuration/install help for sendmail ?? Is there any docs/help for
sendmail configuration. I am sorry to bother you. I am new to Debian and
linux world so pardon my questions.
http://www.procmail.org/ might have information.  Sendmail is a real
bitch, I *strongly* recommend you use sa-exim and exim4, as this
really makes life easy.
Is exim4 any better than exim3? Exim3 is very vague on header re-writing
rules for dialup pop3 accounts (it seems to be an afterthought-cludge).
I'm trying out postfix now.
Also, i've been filtering M$ spam with mailfilter by deleting anything >100kB.
Unfortunately, you can't AND conditions together like procmail.
Is there a thing like mailfilter that can AND conditions and delete
the spam in the pop3 box before download?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Cron

2003-09-26 Thread Russell Shaw
Hi,
I set this with crontab -e :
3 * * * * /usr/bin/mailfilter ; /bin/echo "Mailfiltering" | /usr/bin/mail -s mai
1 * * * * /bin/echo "Date is `date`." | /usr/bin/mail -s cron root
###
I should get mail every minute, but it doesn't work. If i try:
  /bin/echo "Date is `date`." | /usr/bin/mail -s cron root
in the shell, then i do get mail.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cron

2003-09-26 Thread Russell Shaw
Travis Crump wrote:
Russell Shaw wrote:

Hi,
I set this with crontab -e :
3 * * * * /usr/bin/mailfilter ; /bin/echo "Mailfiltering" | 
/usr/bin/mail -s mai
1 * * * * /bin/echo "Date is `date`." | /usr/bin/mail -s cron root
###

I should get mail every minute, but it doesn't work. If i try:
  /bin/echo "Date is `date`." | /usr/bin/mail -s cron root
in the shell, then i do get mail.
3 * * * * would be once an *hour* at three minutes past the hour.  Five 
stars is every minute.
Aha, man 5 crontab :

# every 5 minutes:
*/5 * * * * /bin/echo "Date is `date`." | /usr/bin/mail -s cron root
###
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Exim (was Re: spam software)

2003-09-26 Thread Russell Shaw
Derrick 'dman' Hudson wrote:
On Sat, Sep 27, 2003 at 03:24:55AM +1000, Russell Shaw wrote:
| Paul Johnson wrote:
| >On Fri, Sep 26, 2003 at 10:28:49AM -0400, Vivek Kumar wrote:
| >
| >>Thanks.. I got it. I was reading the docs and it seems there is no
| >>configuration/install help for sendmail ?? Is there any docs/help for
| >>sendmail configuration. I am sorry to bother you. I am new to Debian and
| >>linux world so pardon my questions.
| >
| >http://www.procmail.org/ might have information.  Sendmail is a real
| >bitch, I *strongly* recommend you use sa-exim and exim4, as this
| >really makes life easy.
| 
| Is exim4 any better than exim3?

A lot.

| Exim3 is very vague on header re-writing rules for dialup pop3
| accounts (it seems to be an afterthought-cludge).
How so?  The rewriting rules are very flexible, and fully explained in
the manual (/usr/share/doc/exim/spec.txt.gz).
I've read thru the O'Reilly Exim3 book a few times. I wanted to rewrite
all From and Reply-To headers only on mail that is sent out the smtp
transport to my dialup isp. However, exim3 doesn't let you rewrite
envelope addresses on per-transport rewrites. The only other option
is to use the rewrite rule in the "generic" section of exim.conf.
This applies the rule to every local message floating around the system,
so its effects are too undefined for my liking.
Does exim4 allow envelope rewriting on only an smtp outgoing
mail transport?
| I'm trying out postfix now.

Also a good choice.


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



Re: Exim (was Re: spam software)

2003-09-27 Thread Russell Shaw
Ross Boylan wrote:
On Sat, Sep 27, 2003 at 03:43:13PM +1000, Russell Shaw wrote:
...
all From and Reply-To headers only on mail that is sent out the smtp
transport to my dialup isp. However, exim3 doesn't let you rewrite
envelope addresses on per-transport rewrites. The only other option
is to use the rewrite rule in the "generic" section of exim.conf.
This applies the rule to every local message floating around the system,
so its effects are too undefined for my liking.
Does exim4 allow envelope rewriting on only an smtp outgoing
mail transport?
Yes.  I use this feature ini an exim4 installation.  But I see it
described in the exim3 book on p 177: "a new generic transport option
called headers_rewrite was added to Exim for release 3.20."
There is more detail on P.342.

I have this in exim.conf:

remote_smtp:
driver = smtp
headers_rewrite = [EMAIL PROTECTED] [EMAIL PROTECTED]
Then test with:

mail -s test [EMAIL PROTECTED]
Another test
^D
The response shows that [EMAIL PROTECTED] hasn't been
replaced with [EMAIL PROTECTED]
Message 1:
From MAILER-DAEMON Sat Sep 27 19:08:21 2003
Envelope-to: [EMAIL PROTECTED]
X-Failed-Recipients: [EMAIL PROTECTED]
From: Mail Delivery System <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Mail delivery failed: returning message to sender
Date: Sat, 27 Sep 2003 19:08:21 +1000
This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
  [EMAIL PROTECTED]
SMTP error from remote mailer after MAIL FROM:<[EMAIL PROTECTED]> SIZE=1364:
host smtp.iprimus.com.au [203.134.152.42]: 553 <[EMAIL PROTECTED]> unable to 
verify address
-- This is a copy of the message, including all the headers. --

Return-path: <[EMAIL PROTECTED]>
Received: from russell by main.mypc.com.au with local (Exim 3.36 #1 (Debian))
id 1A3B3s-0001Or-00
for <[EMAIL PROTECTED]>; Sat, 27 Sep 2003 19:08:20 +1000
To: [EMAIL PROTECTED]
Subject: test
Message-Id: <[EMAIL PROTECTED]>
From: Russell Shaw <[EMAIL PROTECTED]>
Date: Sat, 27 Sep 2003 19:08:20 +1000
Another test

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



Re: Lots of scary segfaults

2003-09-27 Thread Russell Shaw
Kjetil Kjernsmo wrote:
Hi all!

Last night, the cronjob on my main server reported this:
...
So, there is a segfault there too, but I guess this really doesn't imply 
there is a trojan, but that this is a consequence of the same problem 
as above.

Any ideas?
fsck the disk. Find a specific program that segfaults. Reinstall the
program. If it still segfaults, then ldd  to find its libraries.
Check or reinstall the libraries. Run ldconfig and check for errors.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Lots of scary segfaults

2003-09-27 Thread Russell Shaw
Kjetil Kjernsmo wrote:
Thanks for the quick response!

On Saturday 27 September 2003 16:21, Russell Shaw wrote:

fsck the disk. 
OK! However, physical access to this computer is a complex issue, and to 
run fsck on the / and /usr partitions (which are the most obvious 
places to look), I can't think of a way to unmount them without having 
to reboot from a rescue system. Is there a way, or is there a way to 
check without unmounting?

Find a specific program that segfaults. Reinstall the
program. If it still segfaults, then ldd  to find its
libraries. Check or reinstall the libraries. Run ldconfig and check
for errors.
OK, so most likely, it is a damaged binary?
It could be, but it's usually a symptom of slight filesystem corruption
that can be easily fixed with fsck. If you know a specific binary that's
segfaulting, then you could copy it to your local pc and compare it
against a good one. If it's not that, you can do the same with its
shared libs.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OpenOffice.org Margins?

2003-09-27 Thread Russell Shaw
Robert Tilley wrote:
I am moving some documents from M$ Word to my home computer that uses Debian 
Linux.  The document in question was saved in the RTF format from Word and 
then re-opened in OOo Writer.  The issue with the document is margin-spacing.

I wish to have a document-wide left and right margin of one (1) inch.  
Selecting All (ctrl-A) and then adjusting the margins does not move the 
margins to a document-wide setting.  I suspect this is because in Word, the 
document had many "Section Break, Next Page"-marks thus causing many 
different margin settings to exist.  This should be easy to correct, now that 
I know the probable cause.

Without starting a flame-war, I would like to know a good editor for long 
text-based documents.  I have a set of documents that I am, as mentioned, 
transferring from M$ Word to an open standard (corporate bylaws, corporate 
minutes, etc.) that only need basic formatting (bold, underline, heading, 
etc.) for text files.  
Abiword

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



Re: kernel painic, failed to exec /sbin/modprobe -s -k

2003-09-27 Thread Russell Shaw
[EMAIL PROTECTED] wrote:
"kmod : failed to exec /sbin/modprobe -s -k
VFS : cannot open root device "305" or 03:05
Pleace append a correct "root=" boot option
kernel panic; VFS:unable to mount root fs on 03:05
Hello, this is the message when I try to boot up with my 
compiled 2.4.21 kernel, I did not use initrd, I tried that and does not
matter. I have two other kernels 2.4.18 and 2.4.22 and they both work. 

I cant find out what I did wrong in the compiling prosess.
3:05 looks like hda5. Did lilo run right? Did you compile
the root filesystem type into the kernel?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



  1   2   >