X displays but console doesn't: vga=?

2004-06-13 Thread Michael West
I cannot get to a console, but X works fine.  If my runlevel is set to
start graphically my monitor flashes "Invalid Scan Freq" three times and
then works fine.  If I start in single user mode it flashes "Invalid
Scan Freq" forever.  when I pass vga=ask to the kernel and select 80x25
the result is the same.  When I choose "scan" it never comes back.  

I have been using the same monitor and video card for 3 years, but this
just started last week when I put the card into a different box.  The
old motherboard is fried so there is no going back.

What is the next step in diagnosing? 


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



where are netboot ide-disk modules?

2004-04-18 Thread Michael West
I am installing debian on a system with no removable media.  
I am netbooting the installation using pxe, dhcp, tftp.  This works
fine and I can start the installation.  However, the install cannot
access my harddisk because the ide-disk.o modules is not found.  That
the module is needed is autodetected, but insmod module load failed so I
cannot access my harddrive.  

What is the solution to this?

~Michael



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



Real Time Clock won't boot

2004-02-15 Thread Michael West
 When I compile the Real Time Clock into my kernel I cannot complete
 the boot process and login.  This is true in single user mode.
 Strangly, most of the boot process completes.  The hang appears to
 be in the
 /etc/rcS.d scripts.  The last message to the screen is "WARNING: no
 network interfaces found" which is what I get when mounting samba
 shares I am mounting at boot.  I can't believe the RTC would
 break Samba, and I get that message with every successful boot as
 well.

 What can I try next?  Where should I look to fix this?

 Kernel 2.4.24
 Debian Sarge

 
  


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



libGL dlopen() woes in unstable

2003-11-06 Thread Michael West
I run unstable, and after the latest upgrade of nvidia-glx and glibc, I
seem to be having no end of trouble with commercial opengl applications
that like to dlopen() libGL.so.1.  This seems to have something to do
with the recent addition of TLS specific GL libraries to the nvidia
driver.  The readme from nvidia notes a similar problem in Redhat 9,
which was later fixed by redhat with a glibc patch.

Has anyone else seen this problem lately?

On my machine, quake2, quake3, ut2003, ut, marble blast, and ballistics
are affected.  All but the last 2 of these work when
LD_PRELOAD=/usr/lib/tls/libGL.so.1.  When not set, the applications
simply exit with a diagnostic message after dlopen returns an error
(ltrace confirms this).  When set, the applications that don't work
simply crash.  Not *all* commercial applications I have suffer from this
problem (enemy territory, rtcw, neverwinter nights).  Is this buggy use
of dlopen? A glibc bug?  

I can't seem to find any bugs assigned to binutils, glibc, or nvidia-glx
that describe this problem, but I don't want to file a bugreport before
I know that it isn't some borked configuration on my part.

Thanks in advance for any info.

Michael West


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



samba print samsung ML-1710

2003-10-19 Thread Michael West
I am having some trouble figuring out how to get my Samsung ML-1710
printer to be shared with winXP.

I am using lpr.  I can print fine from linux, and can see the printer
from XP.  I can print gibberish from windows when using the same printer
as defined in printcap that I use in linux.  I figure that all I need to
do is set up a raw printer and have XP use that.  

I cannot get my raw printer to print anything, either from windows or
linux.  I do not get any errors.  The only time I see anything in the
queue is when I turn the printer off and then print.  When I turn it
back on, the queue goes away and nothing comes out.

Here is my printcap.  The "network" entry is supposed to be raw, the lp
entry works fine ( except for the gibberish from XP )

lp:\
:sh:\
:mx#0:\
:sd=/var/spool/lpd/lp:\
:if=/usr/local/linuxprinter/filters/spl2print:\
:af=-Plp:\
:lp=/dev/usblp0:

network:\
:lp=/dev/usblp0:\
:sd=/var/spool/lpd/network:\
:lf=/var/spool/lpd/network/log:\
:mx#0:\
:sh:


-- 
"In the land of the blind, the one-eyed man is caned."


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



Re: .procmailrc

2003-10-05 Thread Michael West
On Sun, Oct 05, 2003 at 08:14:46PM +0200, [EMAIL PROTECTED] wrote:
> How do I make procmail sort out the debian user list?
> I've tried:
> 
> #Debian user
> :0
> * ^To:[EMAIL PROTECTED]
> debian
> 
> But it doesn't work.
> 

I use 

:0:
* X-Mailing-List: <\/[EMAIL PROTECTED]
`echo $MATCH | sed -e 's/[\/]/_/g'`

To match all mails with X-Mailing-List headers in one go.


-- 
"In the land of the blind, the one-eyed man is caned."


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



usb mouse does not work after kernel upgrade

2003-09-25 Thread Michael West
My usb mouse no longer works after upgrading my kernel from 2.4.18 to
2.4.22.  

I have found a few posts on this list and others with this problem, but
no solutions.  Most notably:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg13790.html

I have the same modules loaded, and the mouse is recognized when the
modules are loaded.  If I go back to my old kernel it works again. 

-- 
"In the land of the blind, the one-eyed man is caned."


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



Re: simple audio recording

2003-09-14 Thread Michael West
Thanks,
 I was hoping to avoid an external mixer/equilizer since I would
 like to make this system portable.  I should have mentioned this in
 my original post.  Maybe I should just get a mini-disk for
 portability and do as you suggest for the rest. 

 sox sounds perfect.  I am glad there is a command line option to do
 this.  

 Is there a mic recording card available which could allow quality
 recording directly to my laptop?



On Sun, Sep 14, 2003 at 12:20:44AM -0600, Jacob Anawalt wrote:
> Michael West wrote:
> 
> >I would like to record single track audio to my computer.  I do not need
> >to sync to video, I have little interest in editing.  However, I would
> >like high quality recordings.  What do I need from a software/hardware 
> >side to
> >record org-vorbis or wav files from a high quality microphone?
> >
> > 
> >
> Since you said simple, here is the simple system I've used for recording 
> from the line-out of my mini-disc player of recordings I've made or of 
> other audio I want a digital copy for portability.
> 
> Hook the line-out of the source device to the 1/8" line-in of your PC 
> sound card. (Unless you have a better PC sound in option.) Use rec (from 
> the sox package) specifying the data size, output file, format (WAV), 
> and the sampling rate you want. Encode the WAV file to  ogg-vorbis format.
> 
> I noticed that sox (at least the version in Sid) has ogg support. Maybe 
> you could record right to vorbis if you have a fast enough computer. 
> It's worth giving a try, since the WAV files will be quite large.
> 
> Recording a tape of Let Sleeping Vet's Lie (audiobook) to ogg to listen 
> to from my computer instead of my tape deck later:
> 
> rec -V -c 1 -s w -r 44100 lsvl-2.wav
> oggenc -b 8 lsvl-2.wav
> 
> Sox is quite flexible. The manual might be a bit of a read and 
> disqualify itself on the 'simple to use' grounds, but it's a 'simple 
> system' of command-line recording that I quite like.
> 
> Jacob
> 
> P.s. Don't make the common mistake of recording by hooking to the mic 
> jack on your sound card. Most consumer grade sound cards don't do a very 
> good job of recording off of the mic, and even if they would people 
> often give them the wrong type of input since they are made for a 
> _microphone_ and not the output of say your headphone jack on your mp3 
> player. The best recordings will be line out to line in, and if needs be 
> use an external mixer/equalizer's line out.
> 


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



simple audio recording

2003-09-13 Thread Michael West
I would like to record single track audio to my computer.  I do not need
to sync to video, I have little interest in editing.  However, I would
like high quality recordings.  What do I need from a software/hardware side to
record org-vorbis or wav files from a high quality microphone?


-- 
"In the land of the blind, the one-eyed man is caned."


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



Re: Setting up mail server behind iptables firewall

2003-08-14 Thread Michael West

iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth1 -j DNAT --to
192.168.69.2:25

you mean --dport 25 don't you?


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



Re: How fast should chrony close the time gap?

2003-04-01 Thread Michael West
On Mon, Mar 31, 2003 at 07:24:49AM +0100, Alan Chandler wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Monday 31 Mar 2003 12:32 am, John Hasler wrote:
> > Eric G. Miller writes:
> > > To set the time explicitly, see the settime command of chronyc (info
> > > chrony).
> >
> > Setting the time with date as the OP did has the same effect.
> 
> But after doing that, should chronyd bring the time as seen by date in 
> synchonism with the server?  Even after leaving it all night, the two 
> machines are exactly 40 secs apart.
> 
> Is there some parameters that I can look at (perhaps with chronyc) which would 
> tell me why the times are not getting closer together?
> 
 Sounds like you are just experiencing skew.  I do not use chrony
 but I expect it has a parameter that will not skew and just set
 the time.

 I have a server right now which is over 200 seconds off.  I don't
 know how that happened.  It is righting itself at the rate of 2 sec/hour.

 skew keep cron jobs from getting skipped if the time goes right
 past them.

 You may want to look at /etc/adjtime.

 Then again, you may not.


 


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



Re: ssh X11 forwarding

2003-03-30 Thread Michael West
On Mon, Mar 31, 2003 at 12:15:36AM +0200, Vincent Lefevre wrote:
> On Sun, Mar 30, 2003 at 13:46:36 -0800, Michael West wrote:
> > I have "X11Forwarding yes" in sshd_config and login with `ssh -X
> > hostname` but `echo $DISPLAY` gives '0.0' after successful login.
> 
> Look at all the scripts (either in your $HOME or in /etc) that can
> be run by the shell at startup. Perhaps one of them sets $DISPLAY
> to "0.0". I've already seen that on one of my accounts...
> 
 Yes, $DISPLAY was set in a start up script.  I unset it and
 everything works great!

 Thanks,
   ~Michael


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



ssh X11 forwarding

2003-03-30 Thread Michael West
I haven't been able to get ssh to forward X11 traffic.  I also get no
errors that I can find.

I have "X11Forwarding yes" in sshd_config and login with `ssh -X
hostname` but `echo $DISPLAY` gives '0.0' after successful login.

I see no errors on either the server or client side or an any logs I
have looked into.

 Is there a specific message I should see or process that I can see
 created on the server or client side when this is working
 correctly?

 



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



Re: can't forward

2003-03-15 Thread Michael West

On Sat, Mar 15, 2003 at 08:30:31AM -0800, Michael West wrote:
> I am setting up a new gateway and it will not forward.
> 

Forwarding is working fine actually.  I found a problem with the routing
on the machine with the 10.0.0.1 interface.  10.0.0.1 can ping 10.0.2.2
but 10.0.2.2 still cannot ping 10.0.0.1  I can't see why this is, but
10.0.2.2 can see past 10.0.0.1 and ping though that interface and
traceroute shows.  So everything works except direct connections to
10.0.0.1.

 ~Michael


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



can't forward

2003-03-15 Thread Michael West
I am setting up a new gateway and it will not forward.

The gateway looks like:

eth0 10.0.0.2

eth1 10.0.1.1

eth2 10.0.2.1

-

route:

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
10.0.0.0*   255.255.255.0   U 0  00 eth0
localnet*   255.255.255.0   U 0  00 eth1
10.0.2.0*   255.255.255.0   U 0  00 eth2
default 10.0.0.10.0.0.0 UG0  00 eth0

-

cat /proc/sys/net/ipv4/ip_forward

1

-

iptables -L

Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

-

I cannot ping from 10.0.2.2 through the gateway to 10.0.0.1

The gateway can ping both 10.0.2.2 and 10.0.0.1

from 10.0.2.2 a traceroute 10.0.0.1 shows that the packets are routed to
the correct gateway interface 10.0.2.1 but that is a far as they get.

What is the next step in diagnosing the problem.  Did I forget something
silly?

 ~Michael

 


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



Re: can't mount homemade cdroms on one machine

2003-03-02 Thread Michael West
On Sat, Mar 01, 2003 at 12:13:35PM -0600, Todd Pytel wrote:
> Yup, pretty much. Some older machines I work with (`96-`97 era) don't
> even spin up for CD-RW's - the hardware has no idea the disc is there.
> CD-R's work fine though. But I would think `98 era drives would be
> better behaved. Maybe the fact that it was an early DVD unit meant that
> they cut some corners in the CD department. Might be worth trying out
> some other media as well.
> 
> --Todd

 You are right CD-R's I make work fine.  

 This gave me a chance to try out my new favorite command from the
 new "Linux Server Hacks" book.  

mkisofs -r . | ssh quag "cdrecord -v speed=24 dev=0,0,0 fs=8m -data -"

Worked like a charm.


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



can't mount homemade cdroms on one machine

2003-03-01 Thread Michael West
 I have one machine that will not mount cdrom I make, though
 store bought ones mount fine.

 My own cds mount fine on my other two boxes.

 The message I get on mounting is "No medium found"

 The drive is actually a dvd-rom.
 Kernel boot message is:
   "Toshiba DVD-ROM SD-M1102, ATAPI CD/DVD-ROM drive"

 The machine that will not mount them also will not boot from any
 cd, though the bios seems to support it. It has never booted from a cd.
 It is my oldest machine c1998.

 I have tried using a different ide controller with no change.

 I have tried from a rescue floppy with the same results.

 Are some cdroms just too picky?

  ~Michael
  



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



Re: [OT] Multiple NICs with Monolithic kernel

2003-02-24 Thread Michael West
On Mon, Feb 24, 2003 at 03:10:40PM +1100, 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?

 How you do this depends on whether you are loading your drivers as
 modules or if they are built in.  If there are built in like mine
 you pass the ether= parameter to the kernel.

 ether=9,0x2000,eth0

 If you use modules then you assign them in /etc/modules.conf

 alias eth0  tulip 
 alias eth1  eepro100 

 ~Michael

 I don't know what you do when multiple cards use the same module.



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



Re: Multiple NICs with Monolithic kernel

2003-02-24 Thread Michael West
On Tue, Feb 25, 2003 at 04:56:10AM +1100, Russell Shaw wrote:
> Michael West wrote:
> >On Mon, Feb 24, 2003 at 11:41:30PM +1100, Russell Shaw wrote:
> > 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?
> 
 hub and switch ports do not have ip addresses.  
 hubs do not even know what an ip address is. 

 Here is a pretty picture of the OCI model which shows this

 http://www.howstuffworks.com/lan-switch7.htm

 Hubs just get packets from one interface to another on a network
 segment.  Hubs work by broadcasting the packets to all interfaces
 connected to the hub, they only need a physical connection and so
 are at OCI level 1.  Switches inspect the ip infomation and route
 the packets to the correct interface, they operate at OCI level 2.
 Routers can also connect different network segments perform 
 firewalling/NAT/port forwarding packet mangling, and general TCP
 stuff and so use OCI level 3.  

 I believe it is possible to have two cards with the same ip for
 redundancy/performance, but I expect it takes some special setup.  

 Also you can stripe ( think raid ) across two cards.  This is
 called channel bonding.  

 http://sourceforge.net/projects/bonding/



-- 
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 Michael West
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.
 
 Fileservers will often have multiple NICs to get the throughput and full 
 use of raid-5.

 I realize that some of these things are set automatically, but it gives
 me comfort to see them.  One more thing I can enter wrong, but one
 more thing I can see is right. 
  
Thanks for your reply,

 ~Michael

> --
> 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]



Re: Multiple NICs with Monolithic kernel

2003-02-23 Thread Michael West
On Sun, Feb 23, 2003 at 07:48:45PM -0500, Fraser Campbell wrote:
> On Sun, 2003-02-23 at 11:51, Michael West wrote:
> 
> > With this setup and only one card with a cable attached I can ping all
> > three addresses 10.0.1.10, 10.0.1.11, and 10.0.1.12.  This is true no
> > matter which card is plugged in.  
> 
> That's because the kernel doesn't particularly care which physical
> interface a packet arrives on (unless you implement firewalling).  A
> packet arrives on the ethernet interface and the kernel says "is that
> me?" ... it is, it accepts the packet and it responds.  This is very
> simplistic but I believe that's what's happening.

 That makes sense to me.  

  --SNIP--
> 
> 
> 10.0.1.00.0.0.0   255.255.255.0 [snip]  eth0
> 10.0.1.00.0.0.0   255.255.255.0 [snip]  eth1
> 10.0.1.00.0.0.0   255.255.255.0 [snip]  eth2
> 0.0.0.010.0.1.3   0.0.0.0   [snip]  eth0
> 0.0.0.010.0.1.3   0.0.0.0   [snip]  eth1
> 0.0.0.010.0.1.3   0.0.0.0   [snip]  eth2

 Yes, that is the routing table, I tried different ones as well, I
 really don't need three identical default routes.  
> 
> I might be wrong on this but I don't think the kernel tries additional
> routes, when it finds the first matching route it routes that way and is
> done with the packet.

 Right.  And if none match then it tries the default.
> 
> So, no matter which ethernet cable is plugged in, the route to your
> local network will always be bound to eth0, AFAIK.  To prove this try
> pinging the other IPs from a remote machine, then check what MAC address
> shows up in that machine's arp tables ... I suspect that you will see
> the same MAC address for all IPs, obviously because all reponses are
> coming through the same interface.
> 
> What is the effect that you're trying to achieve by assigning IPs to
> dedicated network cards?  Are you expecting enough traffic to saturate
> the ethernet connection?  If you're doing this for load balancing then
> it can be done with multipath routing (see iproute2 tool).

 I was only testing that my new cards worked.  So I have achieved
 that, but was confused about what I was experiancing.  This is
 going to be a gateway/firewall machine connecting 3 subnets.  
 
 I had never attached two cards on a box to the same network, and
 had never thought about how that would work.  So I am trying to
 learn.  You have helped.


 The final thing which I still do not understand is that, after I
 passed the ether= kernel parameters for each card, only eth0 would
 work.  But if I `ifdown eth0` then only eth1 would work.  Finally
 if I `ifdown eth1` then eth2 would work.  This one has got me
 stumped.  

> > I wish to use a monolithic kernel for security.  Can you help me
> > understand either how to set this up so each card gets one ip and/or
> > understand how each card is getting all three?  
> 
> By monolithic kernel do you mean not using modules?  Why is that more
> secure?

 Yes, I mean not using modules.  This is the completly paranoid way
 of avoiding kernel module rootkits.  I use only monolithic kernels
 on DMZ and Firewall machines.  Not that I am really much of a
 netadmin, as is evident.  This is my hobby. 

 Here is a link if you what to learn a little about kernel module
 security.  
 
http://www.debian.org/doc/manuals/securing-debian-howto/ch9.en.html#s9.3

And here is much more detail:

http://packetstormsecurity.org/docs/hack/LKM_HACKING.html

 Thanks for your help!



-- 
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 Michael West
On Mon, Feb 24, 2003 at 04:22:19AM +1100, CaT wrote:
> On Sun, Feb 23, 2003 at 08:51:31AM -0800, Michael West wrote:
> > With this setup and only one card with a cable attached I can ping all
> > three addresses 10.0.1.10, 10.0.1.11, and 10.0.1.12.  This is true no
> > matter which card is plugged in.  
> 
> >From where can you ping them?
> 

 From the same subnet, I have tried from 10.0.1.3 and 10.0.1.5.  I
 


-- 
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 Michael West
On Sun, Feb 23, 2003 at 08:51:31AM -0800, Michael West wrote:
> I am having trouble setting up a system for 3 nic cards with a monolithic
> kernel ( 2.4.18 )
> 

I tried passing kernel parameters

ether=11,0x2000,eth0 ether=10,0x4000,eth1 ether=9,0x6000,eth2

Now I can only ping all three addresses if eth0 is connected by cable.
eth1 and eth2 no longer respond though ifconfig output has not changed.

Also if I bring the interfaces down and backup I get an error both
ways on the last interface.  The order of the interfaces does not
matter.

--
SIOCADDRT: File exists
--

for example

ifup eth1
ifup eth0
ifup eth2
SIOCADDRT: File exists

ifdown eth0
ifdown eth2
ifdown eth1
SIOCDELRT: No such process


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



Multiple NICs with Monolithic kernel

2003-02-23 Thread Michael West
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

--
loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian
# installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 10.0.1.10
netmask 255.255.255.0
network 10.0.1.0
broadcast 10.0.1.255
gateway 10.0.1.3

 auto eth1
iface eth1 inet static
address 10.0.1.11
netmask 255.255.255.0
network 10.0.1.0
broadcast 10.0.1.255
gateway 10.0.1.3

auto eth2
iface eth2 inet static
address 10.0.1.12
netmask 255.255.255.0
network 10.0.1.0
broadcast 10.0.1.255
gateway 10.0.1.3


And the output of ifconfig


eth0  Link encap:Ethernet  HWaddr 00:02:B3:87:52:49
  inet addr:10.0.1.10  Bcast:10.0.1.255  Mask:255.255.255.0
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:977 errors:0 dropped:0 overruns:0 frame:0
  TX packets:736 errors:0 dropped:0 overruns:60 carrier:0
  collisions:0 txqueuelen:100
  RX bytes:247132 (241.3 KiB)  TX bytes:55033 (53.7 KiB)
  Interrupt:11 Base address:0x2000

eth1  Link encap:Ethernet  HWaddr 00:03:47:B1:D7:7D
  inet addr:10.0.1.11  Bcast:10.0.1.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:232 errors:0 dropped:0 overruns:0 frame:0
  TX packets:174 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:100
  RX bytes:27658 (27.0 KiB)  TX bytes:19535 (19.0 KiB)
  Interrupt:10 Base address:0x4000

eth2  Link encap:Ethernet  HWaddr 00:02:B3:87:71:B5
  inet addr:10.0.1.12  Bcast:10.0.1.255  Mask:255.255.255.0
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:23 errors:0 dropped:0 overruns:0 frame:0
  TX packets:18 errors:0 dropped:0 overruns:9 carrier:0
  collisions:0 txqueuelen:100
  RX bytes:2535 (2.4 KiB)  TX bytes:1097 (1.0 KiB)
  Interrupt:9 Base address:0x6000

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:117 errors:0 dropped:0 overruns:0 frame:0
  TX packets:117 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0


With this setup and only one card with a cable attached I can ping all
three addresses 10.0.1.10, 10.0.1.11, and 10.0.1.12.  This is true no
matter which card is plugged in.  

I have setup multiple nics before but they always used different
drivers, and I assigned which was eth0 and eth1 via aliases.  

I wish to use a monolithic kernel for security.  Can you help me
understand either how to set this up so each card gets one ip and/or
understand how each card is getting all three?  

~Michael


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



Re: Problems installing Woody from Hard Disk using GRUB

2003-02-19 Thread Michael West
On Mon, Feb 17, 2003 at 02:56:14PM +0100, Frank Murphy wrote:
> > >   What is wrong with the following setup for Grub? I always ended up with 
> > > problems booting from hda5, which is not a partition on my system. (hda1
> > > is windows, hda2 is swap, hda3 is going to be Sarge, and hda4 is Woody.)
> > >
> > > Here's my Grub config:
> > > 
> > > title Woody install
> > > kernel (hd0,3)/boot/newinstall/linux-2.4.bin
> > > initrd (hd0,3)/boot/newinstall/root-2.4.bin
> > > 
> > > Any ideas as to why this doesn't work? I end up with a kernel panic
> > > because the root filesystem can't be mounted.
> > >
> > > Frank
> >
> > Have you tried telling the kernel where the root device is?
> >
> >  kernel (hd0,3)/boot/newinstall/linux-2.4.bin root=/dev/hda4
> >
> >  Or go the grub command line and see if you can't boot by hand.
> >  The ability to get to a command line when having boot problems is
> >  the reason I use grub.
> 
> I have tried the root= parameter. The problem is that the kernel should be 
> using the initrd for it's initial filesystem. If I give root=/dev/hda4, then 
> it boots into my normal system, not into the Debian installer. What is the 
> required value for the root= parameter to get the kernel to use the init rd?
> 
> Or is this a limitation of Grub? I notice that the Debian install guide says 
> nothing of installing via Grub.
> 
> 
 You are right.  Ignore my silly respose.

 The kernel parameter for initrd is just
 initrd=/boot/newinstall/root-2.4.bin
 but this is just doing what you have done with the grub command so
 I would expect anything different.  Is your initrd image valid?
 Can you loopback mount it?  


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




Re: Problems installing Woody from Hard Disk using GRUB

2003-02-16 Thread Michael West
On Sun, Feb 16, 2003 at 01:36:10PM +0100, Frank Murphy wrote:
> 
>   I wanted to install Sarge on an empty partition in my machine that I have 
> booting with GRUB. So I decided to start by installing Woody. I tried 
> following the Installation directions for booting from LILO, but modifying 
> them for Grub. (I failed and ended up installing from floppies.)
> 
>   What is wrong with the following setup for Grub? I always ended up with 
> problems booting from hda5, which is not a partition on my system. (hda1 is 
> windows, hda2 is swap, hda3 is going to be Sarge, and hda4 is Woody.)
> 
> Here's my Grub config:
> 
> title Woody install
> kernel (hd0,3)/boot/newinstall/linux-2.4.bin
> initrd (hd0,3)/boot/newinstall/root-2.4.bin
> 
> Any ideas as to why this doesn't work? I end up with a kernel panic because 
> the root filesystem can't be mounted.
> 
> Frank

 Have you tried telling the kernel where the root device is?

  kernel (hd0,3)/boot/newinstall/linux-2.4.bin root=/dev/hda4

  Or go the grub command line and see if you can't boot by hand.
  The ability to get to a command line when having boot problems is
  the reason I use grub.

  ~Michael


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




Re: Motherboard with vid, sound, nic

2003-02-14 Thread Michael West
On Fri, Feb 14, 2003 at 08:00:34AM -0600, Steve Waterman wrote:
> Looking for a good, stable all-in-one motherboard with a small form factor in 
> which all the components are supported.  The board should have video, sound, 
> nic, modem, usb, etc.  Hoping to build a small box with enough power to run 
> KDE3, multimedia, OpenOffice, et al, of course, with Debian as the 
> distribution.  Any suggestions?
> 
> Thanks
> 

 The mini-itx via c3 boards should suit.  They make a very small boxen.

  http://www.mini-itx.com/


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




Re: [Solved] cfdisk not working!

2003-02-14 Thread Michael West
On Thu, Feb 13, 2003 at 11:55:21AM +0330, Aryan Ameri wrote:
> On Thursday 13 February 2003 04:52, Michael West wrote:
> > On Thu, Feb 13, 2003 at 01:55:30AM +0330, Aryan Ameri wrote:
> > > Hi there:
> > >
> > > I want to repartition my hard disk, but when I try running cfdisk (and
> > > yes, I am root), I get an error message saying:
> > >
> > > "Cannot create logFATAL ERROR: Bad logical partition 7: tended partitions
> > >   Press any key to exit cfdisk"
> >
> > What do you get when you try fdisk?
> 
> well, fdisk did the job, but I can't figure out why cfdisk doesn't work.
> 
> anyway, I now repartitioned, so the matter is over, atleast for a couple of 
> months, when I want to repartition it again!
> 

 I often find that cfdisk will not work when fdisk does. 



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




Re: cfdisk not working!

2003-02-12 Thread Michael West
On Thu, Feb 13, 2003 at 01:55:30AM +0330, Aryan Ameri wrote:
> Hi there:
> 
> I want to repartition my hard disk, but when I try running cfdisk (and yes, I 
> am root), I get an error message saying:
> 
> "Cannot create logFATAL ERROR: Bad logical partition 7: tended partitions
>   Press any key to exit cfdisk"
> 

What do you get when you try fdisk?

 ~Michael


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




Re: network print server

2003-01-12 Thread Michael West
On Sat, Jan 11, 2003 at 10:00:41PM -0800, Alvin Oga wrote:
> a print server should never go down ... if not being able to print
> at any time is not acceptable, then
>   - put the printer on the gw or the mail server...
>   ( a machine that presumably doesn't go down )
>   because if those machines does go down... you might as
>   well go watch tv for a while and printing is not the only
>   issue anymore
> 
 Funny you should mention the gw.  The reason I am bringing this up
 now is that I am finally getting a dedicated gateway machine.  My
 dev box is functioning as the gateway now, which is not good.

 But I would like to minimize the number of services on the gateway,
 because the more services on your firewall box, the less secure the
 firewall.  

 I appreciate all the good discussion on my specific question, but
 now lets open it up.  

 Philosophy of Network Architecture:  

  I have 4 boxes at home.  My wife's and mine, the gateway, and
  the web/mail server in the DMZ.  Also a Cisco 678 DSL router
  which provides NAT and port forwarding.
  
  I am debating what to do with
  squid,junkbuster,lpd,bind,apt-proxy.

  Should all this go on the gateway?  Should any be in the DMZ?
  I am trying to restrict the DMZ to only public services, but
  maybe I do not have enough resources.  It would be nice to
  have yet another box to host services in the LAN, but that is
  not going to happen soon.  

  Basically I need help understanding the pros and cons of
  different setups.  I am very concerned about security.


 ~Michael
 


 


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




network print server

2003-01-11 Thread Michael West
 I have been using samba as a print server at home, but 
 I am often mucking around on my debian box, and sometimes this
 results in my wife not being able to print.

 To increase user satisfaction I am considering purchasing one of
 these dedicated print server appliances which attach directly to
 the network.  It must work for win98, XP pro and Debian.  Ideally
 it would have parallel and usb support.  

 I am looking for recommendation as to where to research what would
 work best.  I couldn't find anything at linuxprinting.org on this.

  ~Michael


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




Re: sas fileserver

2003-01-11 Thread Michael West
On Fri, Jan 10, 2003 at 10:45:51AM +, Karsten M. Self wrote:
> on Tue, Jan 07, 2003 at 06:21:17PM -0800, Michael West ([EMAIL PROTECTED]) wrote:
> > I have been asked to help with getting a server for SAS.  One of the
> > large expenses of this is the 200Gb+ RAID-5 disk on the EMC frame.
> > When presented with $ the question came, can't I just get
> > something I can put under my desk and save $? 
> > 
> > The SAS server will be on WIN2K.  I am thinking of using Debian with
> > software RAID and SAMBA.  I have had good experience with this.  Maybe
> > even use the 8mg cache western digital IDE drives.  We only expect a
> > dozen users simultaneous or so, but working with large datasets.  
> > 
> > I have never seen anything about the best configuration of a file
> > server with few connections and gobs of data being used per
> > connection.  
> > 
> > Does anyone have experience with something similar?  How will SAMBA
> > perform when hammered by SAS?   
> > 
> > For the purposes of this thread, let us assume that the maintenance,
> > service, backup and recovery and such is satisfactorily worked out.
> > They are the major problems, but I am looking for advice on just the
> > fileserver question.
> 
> Michael, a few suggestions.
> 
> I've done a lot of SAS work, most of it in my past.  I've also worked
> with GNU/Linux and some RAIDed filestorage, as well as Samba, more
> recently.  GNU/Linux and Samba should be more than robust enough for
> this purpose.
> 
> First, if what you're replacing is an EMC server, I'd suggest going
> whole-hog with GNU/Linux:  SCSI RAID beats software on performance, and
> IDE RAID on reliability.  The cost is higher by a significant fraction
> (more than double), but if this is your primary data store, that
> shouldn't be a hard sell.  200 GiB isn't all that big these days (you
> can buy single IDE drives with that capacity).  Focus on reliability and
> backups.  I've had very mixed results with 3Ware's Escalade products
> (5xxx, 6xxx, and 7xxx) over a couple of years.

 Thanks,
  The cost of a SCSI RAID adapter and SCSI vs. IDE disk is tiny compared
  to what we get charged to use the EMC.  
  
  Is there an adapter you would recommend?

> 
> SAS analysis usage is usually a large single data pull, followed by
> summarization and/or subsetting.  Networked access kills performance, so
> you're likely not going to have all that much traffic on the dataserver.
> If you can run multiple NICs out of the box, either dedicated to a
> single analyst's PC, or on a load-balanced network, you'll improve
> throughput markedly.  Contention on the fileserver itself is likely to
> be low, but SCSI will help you there.
> 
 Dual attached network.  Got it.

> The pessimal configuration is when your SAS programmers try to do *all*
> their work on the fileserver, and there's always some yahoo who does.
> Saving working sets back is reasonable, but using the server for
> SASWORK, SASSSORT, or other temporary or scratch space, really loads up
> network traffic.  Discourage this if possible.

 We will have a large SASWORK on the application server.  A
 SAS/Compaq rep is going to come out and train our SAS folks on how
 to get the processing going on in the right place.  
> 
> Peace.
 and Plenty
> 

> -- 
> Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
>  What Part of "Gestalt" don't you understand?
 I am having trouble with the "alt"

 Thanks for your help,
  ~Michael


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




Re: apt-get problem

2003-01-07 Thread Michael West
On Tue, Jan 07, 2003 at 09:17:59PM -0500, Tom Allison wrote:
> I keep getting the following error when I run 'apt-get update'
> 
> Reading Package Lists... Error!
> E: Dynamic MMap ran out of room
> E: Error occured while processing kernel-headers-2.4.13-586-ext3 
> (NewPackage)
> E: Problem with MergeList /var/lib/dpkg/status
> E: The package lists or status file could not be parsed or opened.
> Reading Package Lists... Error!
> E: Dynamic MMap ran out of room
> E: Error occured while processing kernel-headers-2.4.13-586-ext3 
> (NewPackage)
> E: Problem with MergeList /var/lib/dpkg/status
> E: The package lists or status file could not be parsed or opened.
> 
> 
> If I remove some of the entries in my /etc/apt/sources.list the problem 
> goes away.
> It's not always kernel-headers-2.4.13-586-ext3 and it's not always the same 
> sources I have to remove.
> 
> Is there a limit to how many entries you can have in your sources.list file?
> I had 18 originally.
> I've cut it down to 8.
> I still get this same problem.
> 
> The 8 that I do have, which fail, are:
> deb http://http.us.debian.org/debian stable main contrib non-free
> deb http://non-us.debian.org/debian-non-US stable/non-US main \
> contrib non-free
> deb http://security.debian.org stable/updates main contrib non-free
> deb http://http.us.debian.org/debian/ testing main non-free contrib
> deb http://non-us.debian.org/debian-non-US testing/non-US main \
> contrib non-free
> deb http://http.us.debian.org/debian/ unstable main non-free contrib
> deb http://termserv.berlios.de/debian stable main non-free
> deb http://ftp.freenet.de/pub/ftp.vpn-junkies.de/openoffice/ woody \
> main contrib
> 

Try upping your apt cache

set

APT::Cache-Limit "4194304";
in apt.conf

Good luck!


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




sas fileserver

2003-01-07 Thread Michael West
 I have been asked to help with getting a server for SAS.  One of
 the large expenses of this is the 200Gb+ RAID-5 disk on the EMC frame.
 When presented with $ the question came, can't I just get
 something I can put under my desk and save $? 

 The SAS server will be on WIN2K.  I am thinking of using Debian
 with software RAID and SAMBA.  I have had good experience with this.
 Maybe even use the 8mg cache western digital IDE drives.  We only expect a
 dozen users simultaneous or so, but working with large datasets.  
 
 I have never seen anything about the best configuration of a file
 server with few connections and gobs of data being used per
 connection.  

 Does anyone have experience with something similar?  How will SAMBA
 perform when hammered by SAS?   

 For the purposes of this thread, let us assume that the maintenance,
 service, backup and recovery and such is satisfactorily worked out.
 They are the major problems, but I am looking for advice on just
 the fileserver question.

 


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




Re: squid and internal web server

2003-01-04 Thread Michael West
 Clarification:

 I should add that I am not running bind.  Basically, I am trying to
 get squid to resolve an name from /etc/hosts.

On Fri, Jan 03, 2003 at 08:12:53PM -0800, Michael West wrote:
>  I cannot get squid to point to the internal ip of my webserver, it
>  resolves to the public ip.  It is ignoring the /etc/host.conf
>  entry:
> 
>  order hosts,bind
> 
>  I can ping the web server and it resolves correctly to the Class C
>  address.
> 
>  I have gone through the large squid FAQ and searched for a few
>  hours, but have found nothing on this.  
> 
>  How to I get my www.mydomain.com address to resolve to
>  10.1.2.3 on my internal network when the browser request is
>  processed through squid?
> 
>   Thanks,
>  ~Michael 


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




squid and internal web server

2003-01-03 Thread Michael West
 I cannot get squid to point to the internal ip of my webserver, it
 resolves to the public ip.  It is ignoring the /etc/host.conf
 entry:

 order hosts,bind

 I can ping the web server and it resolves correctly to the Class C
 address.

 I have gone through the large squid FAQ and searched for a few
 hours, but have found nothing on this.  

 How to I get my www.mydomain.com address to resolve to
 10.1.2.3 on my internal network when the browser request is
 processed through squid?

  Thanks,
 ~Michael 


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




mutt && =?unknown-8bit?q?=DFmpt?=

2002-11-01 Thread Michael West
 I just changed one debian box from exim to ssmtp.  When I send mail
 from mutt with:
  "set use_from"
 I get the error:
  "ssmpt: no local part" 
 
 I use a number of from addresses. 

 How can I choose which from address to use with ssmtp?

 I tried ssmtp -F local@domain but got "ssmtp: no local part"
 anyway.  Mail sent from mailx works fine.

 Thanks,
  Michael


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




Re: exim reject most of a domain

2002-10-30 Thread Michael West
On Tue, Oct 29, 2002 at 02:53:32PM +, Steve Haslam wrote:
> On Mon, Oct 28, 2002 at 11:21:00AM -0800, Michael West wrote:
> >  How would I configure exim to reject most of a domain?
> > 
> >  I have read the exim spec on host_reject, sender_reject,
> >  host_reject_recipients etc, but am not sure.
> > 
> >  If I want to reject all mail from aol except for mail from one
> >  account I think it might be:
> > 
> >  sender_reject ! [EMAIL PROTECTED] : aol.com
> 
> sender_reject = [EMAIL PROTECTED] : aol.com
>  perhaps.
> 
> Try try sth like
> 
> exim -bh 64.12.136.89
> 
> and type these commands:
> 
>  MAIL FROM:<[EMAIL PROTECTED]>
>  RSET
>  MAIL FROM:<[EMAIL PROTECTED]>
>  RSET
>  QUIT
> 
> and look at the output. Do you get 5xx rejections from [EMAIL PROTECTED]?

 That works!  Thanks Steve.

  ~Michael

For those of you following along at home, Alan idea of testing with:

exim -bt -f [EMAIL PROTECTED]

doesn't work here because it bypasses the global settings and heads
directly for the routers,directors,and transports.  With exim -bh you
can test rbl lists, host_reject, helo_verify and all that other spam
reducing stuff.  

 Thanks again!




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




Re: xv?

2002-10-29 Thread Michael West
On Tue, Oct 29, 2002 at 11:11:55AM -0500, Gregory Seidman wrote:
> Is there a policy reason why there is no xv package, or is it just that no
> one has bothered to package it?
> 
> --Greg
> 
I prefer xzgv

from http://xzgv.browser.org/ :

xzgv differs from other picture viewers for X in that it uses one window
for both the file selector and viewer, it (unlike xv) allows both
scrolling and fit-to- window methods of viewing large pictures, and it
(unlike xv and some others) doesn't ever mangle the picture's aspect
ratio without you telling it to.

and it is in main

 ~Michael



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




Re: exim reject most of a domain

2002-10-29 Thread Michael West
On Mon, Oct 28, 2002 at 08:11:35PM -0800, Paul Johnson wrote:
> On Mon, Oct 28, 2002 at 11:21:00AM -0800, Michael West wrote:
> >  sender_reject ! [EMAIL PROTECTED] : aol.com
> 
> You want an MDA like procmail to do this after it reaches the MTA but
> before the MUA.

 I do not want to filter, I want to reject from the MTA.

 I don't want my address to show as valid to the senders I wish to block.
 
 If procmail can do this, I would be interested in how.

  ~Michael


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




Re: exim reject most of a domain

2002-10-28 Thread Michael West
On Mon, Oct 28, 2002 at 07:44:52PM +, Alan Chandler wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Monday 28 October 2002 7:21 pm, Michael West wrote:
> >  How would I configure exim to reject most of a domain?
> >
> >  I have read the exim spec on host_reject, sender_reject,
> >  host_reject_recipients etc, but am not sure.
> >
> >  If I want to reject all mail from aol except for mail from one
> >  account I think it might be:
> >
> >  sender_reject ! [EMAIL PROTECTED] : aol.com
> >
> >  Does this look right?  How do I test it?
> 
> ?
> 
> exim -bt -f [EMAIL PROTECTED] 

This appears to be the right way to test it.
But I cannot get exim to reject anyone, even with:

sender_reject = *

and host_reject does not offer localpart control.  I have been through
the manpage and the exim spec and can figure this out.  
More help would be helpful.

 Thanks,
  Michael


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




exim reject most of a domain

2002-10-28 Thread Michael West
 How would I configure exim to reject most of a domain?

 I have read the exim spec on host_reject, sender_reject,
 host_reject_recipients etc, but am not sure.

 If I want to reject all mail from aol except for mail from one
 account I think it might be:

 sender_reject ! [EMAIL PROTECTED] : aol.com

 Does this look right?  How do I test it?

  ~Michael


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




Re: Apache and Port 192

2002-10-26 Thread Michael West
 

On Sat, Oct 26, 2002 at 03:44:13PM +1000, Tim Barker wrote:

> Cannot find any reference to Port 192 in anything, httpd.conf, services

 According to http://www.iana.org/assignments/port-numbers
 port 192 is "OSU Network Monitoring System"
 Are you sure this is an apache error?  What do the apache logs say?

~Michael 


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




Re: msttcorefonts

2002-10-24 Thread Michael West
 I thought this didn't work anymore since microsoft pulled their
 fonts.

 I get a 404 when trying to retrieve the fonts:

---

apt-get install msttcorefonts
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  cabextract 
The following NEW packages will be installed:
  cabextract msttcorefonts 
0 packages upgraded, 2 newly installed, 0 to remove and 0  not upgraded.
Need to get 0B/28.0kB of archives. After unpacking 270kB will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
Selecting previously deselected package cabextract.
(Reading database ... 45951 files and directories currently installed.)
Unpacking cabextract (from .../cabextract_0.2-2_i386.deb) ...
Selecting previously deselected package msttcorefonts.
Unpacking msttcorefonts (from .../msttcorefonts_1.0.0_all.deb) ...
Setting up cabextract (0.2-2) ...

Setting up msttcorefonts (1.0.0) ...

These fonts are provided by Microsoft "in the interest of cross-
platform compatibility".  You are free to download these fonts and
use them for your own use, but you may not redistribute these fonts
without first registering with Microsoft and following their
restrictions.

--09:24:07--  http://www.microsoft.com/typography/downloads/andale32.exe
   => `andale32.exe'
Resolving www.microsoft.com... done.
Connecting to www.microsoft.com[207.46.230.218]:80... connected.
HTTP request sent, awaiting response... 404 
09:24:07 ERROR 404: (no description).

dpkg: error processing msttcorefonts (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)
 


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




Re: custom kernel compilation scripts

2002-10-21 Thread Michael West
> Maybe I am not quite clear on the modules and patches thing.
> 
> I want to go ahead and produce kernel-image and kernel-headers with
> a selection of the installed kernel-patch and *-modules packages.
> 
> Say I have kernel-patch-freeswan, kernel-patch-2.4-grsecurity,
> kernel-patch-vlan, and kernel-patch-xfs installed on a machine, along
> with pcmcia-modules and alsa-modules.
> 
> now i want to create three kernel images:
> 
>   1. one for the machine 'albatros', which needs freeswan, grsecurity,
>  and XFS. ideally, it should be called something like
>kernel-image-2.4.19-grsec+freeswan+xfs-albatros
> 
>   2. one for the machine 'fishbowl', which needs freeswan, grsecurity,
>  vlan, and the pcmcia and alsa modules. i want to create
>kernel-image-2.4.19-grsec+freeswan+vlan-fishbowl
>pcmcia-modules-2.4.19-grsec+freeswan+vlan-fishbowl
>alsa-modules-2.4.19-grsec+freeswan+vlan-fishbowl
> 
>   3. one for the machine 'piper', which needs xfs and vlan, and the
>  alsa modules:
>kernel-image-2.4.19-xfs+vlan-piper
>alsa-modules-2.4.19-xfs+vlan-piper
>
> How can I do all this with one unified interface?

the `make-kpkg --added-patches` option allows you to specify which
patches to apply for a specific kernel build.  

What kind of interface are you looking for?  Something like 
`make-kpkg hostname` and everything is taken care of?  I think that
would be nice.  Let me know if you come up with something :)



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




Re: exim with both smarthost and direct send

2002-10-21 Thread Michael West
On Mon, Oct 21, 2002 at 07:49:25PM +0200, Patrik Modesto wrote:
> Hi,
> First: I'm using Debian testing, daily updated as my home PC, exim is
> setup to send outgoing mail directly to MX record.
> Second: Now I need to setup exim to send all mail for some domain
> through my ISP's smtp server.
> 
> So how to setup exim to do this?

 You want a domainlist router, see the doc.

 http://www.exim.org/exim-html-3.30/doc/html/spec.html


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




Re: Unsubscribe DOES NOT work!

2002-10-11 Thread Michael West

All your subscriptions are belong to us.


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




Re: make menuconfig

2002-10-11 Thread Michael West

 Maybe you need libncurses5-dev :)

 I don't know.  Have you tried running ldconfig?
  
 Good luck.

  ~Michael


On Fri, Oct 11, 2002 at 09:36:49AM -0500, Jason Wojciechowski wrote:
> Cristi Banciu wrote:
> 
>  | > library.  I have libncurses5-dev and all of its friends installed. 
>^^^
> 
>  | U need libnucurses5-dev
> 
> Again.
> 
> -- 
> Jason [EMAIL PROTECTED]
> http://wonka.hampshire.edu/~jason



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




Re: using external VGA as separate display

2002-10-11 Thread Michael West

I imagine that you can set up an additional X display.  I have not done
this, nor have I ever used a laptop.

Here are two non-debian links to get you started. 
http://www.realtimesoft.com/multimon/linux/mandrake7/
http://www.linuxjournal.com/article.php?sid=5958

Hope this helps!

 ~Michael

On Thu, Oct 10, 2002 at 11:20:32PM +0200, martin f krafft wrote:
> hi,
> 
> WinXP of all things allows you to control a laptop's external VGA
> connector as a separate display, totally independent of the internal
> LCD. Can this be done in XF86 (4.2.1 here, thanks Branden + XFTF!)?
> 
> The reason I ask is because I have an LCD that does 1400x1050 and any
> lower resolution is just too fuzzy. And I also have an external
> monitor that can do 1280x1024, but not 1400x1050. I prefer to work
> with the external monitor as it's bigger and better in terms of
> ergonomical placement. But I don't feel like restarting X to set a new
> resolution every time I connect to the external monitor.
> Alt-Ctrl-Numlock+ and Alt-Ctrl-Numlock- don't work (they produce crazy
> patterns on the screen for all resolutions but the one I started out
> with. Maybe that's a framebuffer issue.
> 
> It would rock if I could use the external VGA separately from the
> internal one (it's a Radeon Mobility M6 LY driving this baby) because
> then I could have a dual-headed setup, which would be incredible!
> 
> Any hints appreciated!
> 
> -- 
> martin;  (greetings from the heart of the sun.)
>   \ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
>  
> "it appears that pl/i (and its dialects) is, or will be, the most widely
>  used higher level language for systems programming."
>   -- j. sammet



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




Re: login: cannot cd /home/user

2002-10-02 Thread Michael West

I figured this out.  It turns out that the "." directories
/. and /.. had permissions 700 when they should have been 755.

If you know why this should be I would be interested.  root's umask is
0002.

 ~Michael

On Wed, Oct 02, 2002 at 08:53:40AM -0700, Michael West wrote:
> I copied my root file system onto a seperate partition.  When I try to
> boot into new partition as / I cannot login.
> 
> I get the error:
> cannot cd /home/user
> 
> When I boot normally and chroot into the new partition and run login I
> get:
> 
> cannot determine tty name
> 
> I copied devices ( and everything else ) with `cp -a`  I have done this
> before many times without a problem.  
> 
> What should I be looking at to understand what is happening?
> 
> ~Michael
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


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




login: cannot cd /home/user

2002-10-02 Thread Michael West

I copied my root file system onto a seperate partition.  When I try to
boot into new partition as / I cannot login.

I get the error:
cannot cd /home/user

When I boot normally and chroot into the new partition and run login I
get:

cannot determine tty name

I copied devices ( and everything else ) with `cp -a`  I have done this
before many times without a problem.  

What should I be looking at to understand what is happening?

~Michael


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




exim security = unprivileged

2002-09-29 Thread Michael West

I have just reconfigured exim to run with the security = unprivileged
option as described here:

http://www.exim.org/exim-html-3.30/doc/html/spec_55.html#SEC922

This is working fine, with exim owning the mailboxes.

None of my local_parts have system accounts.

Now I find that the pop3 daemon I use, popa3d, will not allow delivery
without system accounts.

Can you recommend a pop3 server to use for this configuration?

There are a number which say that they do not require system accounts,
but I can't find any documentation for any of them which describes how
to set the uid for the pop3 server after authentication without an
account.

I have been looking at:
cyrus
cucipop
teapop
courier

I only manage mail in the hundreds per day so high performance is not a
requirement.  I am much more interested in security then performance at
any rate.

 Thanks,
   Michael



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




compile one kernel module

2002-09-09 Thread Michael West

 I is possible to compile just a single kernel module and copy it to
 /lib/modules by hand and have it work?

 Sometimes with new hardware I end up trial and error compiling to
 see what will work.  Just doing a `make modules modules_install`
 works, but it would be nice to have to recompile everything to get a 
 single module added.

 How would I go about this?




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




lilo, 3 disks, 6 controllers

2002-04-07 Thread Michael West
On Sat, Apr 06, 2002 at 08:26:45PM -0800, web wrote:
>  I would like to change which controllers my disks are on, but when I do my
>  system no longer boots.  
>  
>  I have three ide drives on hde, hdi, and hdk.  My main system is
>  completely on hdk.  I boot into hdk.  If I move the other two drives I
>  can no longer boot into hdk. 
>  
>  Depending on where I move the other drives I get one of two results when
>  I try to boot into hdk again.
>  
>  1.  Usually I get 'L 01 01 01 01 01 01...'  Repeating O1's forever.  
>   For instance, this happens if I simply remove one of the other two
>   drives.  According to the lilo users guide "this shouldn't happen"
>  
>  2.  Sometimes I get "Not a System Disk", that is, I don't even get lilo
>  started.  
>  For instance, this happens if I move hde->hdi and hdi->hda. 
>  
>  hde and hdg are an off board promise controller.  
>  I would like to remove this controller, but without it my system will
>  not boot.
>  
>  I realize that once I get this working I will need to modify /etc/fstab.
>  
>  Thanks for your help.
>  


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



Unidentified subject!

2002-04-07 Thread Michael West
 I would like to change which controllers my disks are on, but when I do my
 system no longer boots.  
 
 I have three ide drives on hde, hdi, and hdk.  My main system is
 completely on hdk.  I boot into hdk.  If I move the other two drives I
 can no longer boot into hdk. 
 
 Depending on where I move the other drives I get one of two results when
 I try to boot into hdk again.
 
 1.  Usually I get 'L 01 01 01 01 01 01...'  Repeating O1's forever.  
  For instance, this happens if I simply remove one of the other two
  drives.  According to the lilo users guide "this shouldn't happen"
 
 2.  Sometimes I get "Not a System Disk", that is, I don't even get lilo
 started.  
 For instance, this happens if I move hde->hdi and hdi->hda. 
 
 hde and hdg are an off board promise controller.  
 I would like to remove this controller, but without it my system will
 not boot.
 
 I realize that once I get this working I will need to modify /etc/fstab.
 
 Thanks for your help.
 


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



iptables not logging (much)

2002-03-31 Thread Michael West
I cannot get my iptables firewall to log

syslog.conf:  kern.* -/var/log/kern.log

lsmod shows ipt_LOG moduled loaded

I created this test "firewall" in an attempt to log something

iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source   destination
LOGall  --  anywhere anywhere   LOG level emerg

Chain FORWARD (policy ACCEPT)
target prot opt source   destination
LOGall  --  anywhere anywhere   LOG level emerg
ACCEPT all  --  anywhere anywhere   state
NEW,RELATED,ESTABLISHED
ACCEPT all  --  anywhere anywhere   state
NEW,RELATED,ESTABLISHED

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination
LOGall  --  anywhere anywhere   LOG level emerg


I get nothing in the logs.

However, some firewall logging does work.
For instance I can log martians with:

for f in /proc/sys/net/ipv4/conf/*/log_martians; do
echo 1 > $f
done

Any ideas on how to get logging to work?


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