Linux-Setup Digest #877, Volume #20              Wed, 21 Mar 01 01:13:09 EST

Contents:
  Re: Linux router (Adam Schuetze)
  Re: Linux router (Adam Schuetze)
  Re: Exceed and xdmcp (Donald)
  Re: I want to set chroot in my proftp service... but (Pavel Mateja)
  Re: /dev/null is read-only ? (Paul Colquhoun)
  Linux <scream>Frustration!</scream> (Laura Goodwin)
  Re: RAID under kernel 2.2.18: mkraid aborted (Markus Kossmann)
  Fetchmail from 1 mailbox to multiple recievers? ("Liquor")
  Re: Linux router ("Hernandez")
  how do I get a service to start automatically? ("Anthony")
  Re: how do I get a service to start automatically? (Michael Williams)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Adam Schuetze)
Crossposted-To: alt.os.linux,comp.os.linux,comp.os.linux.networking
Subject: Re: Linux router
Date: 21 Mar 2001 02:11:18 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 19 Mar 2001 20:58:03 -0600,  L <[EMAIL PROTECTED]> wrote:
> I think the card names are determined by the order the modules are loaded...
> e.g. the first module loaded and first card initialized is eth0
> 

I messed around with this a while back, and if I recall
correctly, the cards are initialized based on the io address.

A card with io address of 0x240 would load before a card with 
0x300.  The first card to be loaded becomes eth0, then eth1,
etc..

This was with isa cards.  I confirmed the load order by 
moving cards around in the isa slots.

-- 
Adam Schuetze, Mechanical Engineering Technologist
Mechanical Engineering Student, University of Victoria                
Cellular: 250.882.3938  Email: [EMAIL PROTECTED] 
Visit my website at www.adam-schuetze.org      

------------------------------

From: [EMAIL PROTECTED] (Adam Schuetze)
Crossposted-To: alt.os.linux,comp.os.linux,comp.os.linux.networking
Subject: Re: Linux router
Date: 21 Mar 2001 02:14:23 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 19 Mar 2001 20:58:51 -0600,  L <[EMAIL PROTECTED]> wrote:
> > Also... if you're looking for a good router distribution, check out coyote
> > linux at
> 
> http://www.coyotelinux.com
> 
> It's great--- ran first time wihout much trouble and freed up a hard drive to
> put in my db server.

If you feel you are a more experienced user, I'd recommend Linux
Router Project over coyote.  Coyote is a lrp derivative, and
somewhat dumbed down.

Check out http://lrp.c0wz.com

-- 
Adam Schuetze, Mechanical Engineering Technologist
Mechanical Engineering Student, University of Victoria                
Cellular: 250.882.3938  Email: [EMAIL PROTECTED] 
Visit my website at www.adam-schuetze.org      

------------------------------

From: Donald <[EMAIL PROTECTED]>
Subject: Re: Exceed and xdmcp
Date: 20 Mar 2001 21:30:45 -0500

Eric <[EMAIL PROTECTED]> wrote:
:>
:> : I use gdm, so things may be different for your case:
:>
:> : make sure [xg]dm is running on the linux machine
:>
:> : in /etc/X11/gdm/gdm/conf, go to the xdmcp section
:> : and set enable to 1
:>
:> : [xdmcp]
:> : Enable=1
:>
:> : That's all I had to do.
:>
:> : Eric
:>
:> This is what is so frustrating.  Everywhere I read gives the
:> same information but I have done this and it does not work.
:>
:> Is there a special way to start Exceed?  Is there a way I can
:> get an error message or some logging info to maybe see why this
:> does not work?  The Exceed troubleshooting turns up nothing useful.

: Anything in the logfiles on your linux machine?
: connections that are attempted/refused

:> I'm just not sure what I am missing, I think this is supposed to
:> be really easy.
:>

: I use this Exceed.ses file

: [Xsession]
: Desc=Login PC_HOSTNAME
: Interval=2
: Count=0
: RunXServ=1
: [Server]
: Window=1
: Startup=2
: ReStart=1
: Host=PC_HOSTNAME
: Configuration File=

: (I just copied it, I don't fully understand the options)
: Clicking it on my desktop, brings up the Exceed X server)

I just looked through my logs:
the xdm-erros log returns the following:

xdm error (pid 945): error 98 binding socket address 177

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


When reporting a problem related to a server crash, please send
the full server output, not just the last messages

xdm error (pid 945): server unexpectedly died
xdm error (pid 945): Server for display :0 can't be started, session disabled

--- end log ---
It looks like it is trying to start an X server on screen 0
(which alreay has one running locally <-- I will change this eventually)

So how do you tell exceed to start elsewhere?

Anyway I shut down my local Xserver by hand and started Exceed again
and it looks like things were starting but then I got the following 
errors from xdm-errors:
<snip>
(**) SVGA: Monitor ID: "Unprobed Monitor"
(--) SVGA: Mode "320x200" needs vert refresh rate of 69.93 Hz. Deleted.
(--) SVGA: Mode "320x240" needs hsync freq of 39.38 kHz. Deleted.
(--) SVGA: Mode "400x300" needs hsync freq of 35.16 kHz. Deleted.
(--) SVGA: Mode "400x300" needs hsync freq of 37.88 kHz. Deleted.
(--) SVGA: Mode "400x300" needs hsync freq of 48.08 kHz. Deleted.
(--) SVGA: Mode "480x300" needs hsync freq of 35.16 kHz. Deleted.
(--) SVGA: Mode "480x300" needs hsync freq of 37.80 kHz. Deleted.
(--) SVGA: Mode "480x300" needs hsync freq of 39.56 kHz. Deleted.
(--) SVGA: Mode "480x300" needs hsync freq of 48.00 kHz. Deleted.
(--) SVGA: Mode "512x384" needs vert refresh rate of 77.97 Hz. Deleted.
(--) SVGA: Mode "512x384" needs hsync freq of 34.38 kHz. Deleted.
(--) SVGA: Mode "640x400" needs vert refresh rate of 69.93 Hz. Deleted.
(--) SVGA: Mode "640x400" needs hsync freq of 37.86 kHz. Deleted.
(--) SVGA: Mode "640x480" needs hsync freq of 36.46 kHz. Deleted.
(--) SVGA: Mode "640x480" needs hsync freq of 37.50 kHz. Deleted.
(--) SVGA: Mode "640x480" needs hsync freq of 43.27 kHz. Deleted.
(--) SVGA: Mode "640x480" needs hsync freq of 53.01 kHz. Deleted.
(--) SVGA: Mode "800x600" needs hsync freq of 35.16 kHz. Deleted.
(--) SVGA: Mode "800x600" needs hsync freq of 37.88 kHz. Deleted.
(--) SVGA: Mode "800x600" needs hsync freq of 48.08 kHz. Deleted.
(--) SVGA: Mode "800x600" needs hsync freq of 55.84 kHz. Deleted.
(--) SVGA: Mode "800x600" needs hsync freq of 64.02 kHz. Deleted.
(--) SVGA: Mode "1024x768" needs hsync freq of 48.36 kHz. Deleted.
(--) SVGA: Mode "1024x768" needs hsync freq of 56.48 kHz. Deleted.
(--) SVGA: Mode "1024x768" needs hsync freq of 62.50 kHz. Deleted.
(--) SVGA: Mode "1024x768" needs hsync freq of 70.24 kHz. Deleted.
(--) SVGA: Mode "1024x768" needs hsync freq of 80.21 kHz. Deleted.
(--) SVGA: Mode "1152x864" needs hsync freq of 53.51 kHz. Deleted.
(--) SVGA: Mode "1152x864" needs hsync freq of 62.42 kHz. Deleted.
(--) SVGA: Mode "1152x864" needs hsync freq of 70.88 kHz. Deleted.
(--) SVGA: Mode "1152x864" needs hsync freq of 76.01 kHz. Deleted.
(--) SVGA: Mode "1152x864" needs hsync freq of 89.62 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 64.25 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 74.59 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 78.86 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 81.13 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 91.15 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 107.16 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 75.00 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 87.50 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 93.75 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 105.77 kHz. Deleted.
(--) SVGA: Mode "1800X1440" needs hsync freq of 96.15 kHz. Deleted.
(--) SVGA: Mode "1800X1440" needs hsync freq of 104.52 kHz. Deleted.
(--) SVGA: Mode "1920x1200" needs hsync freq of 90.98 kHz. Deleted.
Warning: The directory "/usr/X11R6/lib/X11/fonts/TrueType" does not exist.
         Entry deleted from font path.

<snip>

AUDIT: Tue Mar 20 21:13:19 2001: 1146 X: client 2 rejected from local host
AUDIT: Tue Mar 20 21:13:23 2001: 1146 X: client 3 rejected from local host
AUDIT: Tue Mar 20 21:13:23 2001: 1146 X: client 3 rejected from local host
AUDIT: Tue Mar 20 21:13:25 2001: 1146 X: client 3 rejected from local host
AUDIT: Tue Mar 20 21:13:29 2001: 1146 X: client 3 rejected from local host
AUDIT: Tue Mar 20 21:13:35 2001: 1146 X: client 3 rejected from local host
AUDIT: Tue Mar 20 21:13:35 2001: 1146 X: client 3 rejected from local host
AUDIT: Tue Mar 20 21:13:43 2001: 1146 X: client 3 rejected from local host
AUDIT: Tue Mar 20 21:13:53 2001: 1146 X: client 3 rejected from local host
AUDIT: Tue Mar 20 21:14:05 2001: 1146 X: client 3 rejected from local host
AUDIT: Tue Mar 20 21:14:19 2001: 1146 X: client 3 rejected from local host
AUDIT: Tue Mar 20 21:14:35 2001: 1146 X: client 3 rejected from local host


---end log---

Does anyone have any idea what could cause either of these errors?

All help is appreciated (I think I am actually making progress)

I also found this in the log:
(--) SVGA: Intel i740 (AGP) chip
(--) SVGA: i740: Memory Type: SGRAM
(--) SVGA: i740: MMIO registers at 0xD5000000
(--) SVGA: i740: Linear framebuffer at 0xD6000000
(--) SVGA: i740: Using hardware cursor

This video card is the one on the remote linux box not the
one on my local machine running exceed.  Why is it trying to
start the Xserver on the remote machine?!

Thank you for your help
-Donald

------------------------------

From: Pavel Mateja <[EMAIL PROTECTED]>
Subject: Re: I want to set chroot in my proftp service... but
Date: Mon, 19 Mar 2001 19:47:41 +0100

Do you have their login command from /etc/passwd in /etc/shells?

------------------------------

From: [EMAIL PROTECTED] (Paul Colquhoun)
Crossposted-To: linux.redhat,comp.os.linux.questions,comp.os.linux.networking
Subject: Re: /dev/null is read-only ?
Reply-To: <[EMAIL PROTECTED]>
Date: Wed, 21 Mar 2001 02:40:03 GMT

On Wed, 21 Mar 2001 00:12:35 GMT, Christopher H <[EMAIL PROTECTED]> wrote:
|Hi everyone,
|
|My RedHat's 7.0 /dev/null is having some problems I think ;P
|
|When I rebooted my computer RedHat wouldn't boot any further because it was
|complaining (sp ?) that /dev/null was a read-only filesystem. It would then
|prompt me for root's password for repairing.


Is that "/dev/null was a read-only filesystem" OR "/dev/null was ON a read-only 
filesystem"?

What does 'mount' say amount the root ( / ) filesystem?

Have you changed /etc/fstab recently?


-- 
Reverend Paul Colquhoun,      [EMAIL PROTECTED]
Universal Life Church    http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
xenaphobia: The fear of being beaten to a pulp by
            a leather-clad, New Zealand woman.

------------------------------

From: Laura Goodwin <[EMAIL PROTECTED]>
Crossposted-To: alt.comp.hardware.pc-homebuilt
Subject: Linux <scream>Frustration!</scream>
Date: Tue, 20 Mar 2001 22:17:07 -0500

Here's my problem in a nutshell:  I can't even get started with Linux. 
God knows I tried.  I've jumped though flaming hoops and crawled through
electrified mud to just get to the point where I can send a single piece
of email via Linux without replacing all my components.  I am still
unsuccessful, and the problem is my hardware.

Supposedly Linux supports all that I've got, but it sure is hard to
tell.

My Specs:

EPOX 7KXA mobo (slot A), Athlon 550, 256 MB PC-133 SDRAM, Jaton GeForce
MX AGP vid, WD 15.3 G ATA 66 7200 RPM main drive (WinME), Maxtor 6.3 G
ATA 66 slave drive (Linux), CompUSA 12X DVD ROM, Teac FDD, Komodo
(Sceptre) 17" CRT, SMC PCI NIC, PCI Happauge WinTV, Dell ps/2 key,
Logitech Marblemouse ps/2 trackball.  All but the new vid card and the
new HD worked before.  I don't suspect the new HD - it's doing its job. 
Oh yeah, and a lovely Boca Tidalwave USB external HARDWARE, NOT WINMODEM
56K V.90 modem.

I'm working with Mandrake 7.1. I have several other distros knocking
around (long story), I've got VM Ware for Linux (a gift from an
over-optimistic Linux advocate pal of mine) and the new kernel standing
by on CD.  I need the new kernel so I can theoretically get online with
my USB modem.

I won't bore you with all I went through just to get to the point where
I am now.  My problem now is that Linux doesn't like my wonderful new
video card.

When I was using my crummy old unstable Diamond s540 vid I had no
trouble installing and booting into Linux.  I had Linux on a partition
on my main drive at that time. I could accept the display defaults at
install time and get a gorgeous display.  I plunked down some real money
for a much better card, the Jaton GeForce MX, and under Windows this
card is a dream.  It solved a lot of instability problems I was having
with the old card.

I added the second drive specifically for Linux today.  I was all
excited about a fresh install.  Unfortunately, when I installed Mandrake
7.1 today (the same CD that never failed before) I get as far as testing
the display setup and I get a garbled image and the whole system locks. 
I know after a brief interval the display is supposed to flip back if I
don't OK the setup I chose.  That doesn't happen.  It just locks, and I
have to restart to escape.

It's the vid card.  It's that simple.

Somebody please tell me: now what?  I'm not putting back the old Diamond
card.  I'd rather give up on Linux completely, and I'm not going to do
that either, although heaven knows by this time I've been given ample
reason.  Please don't tell me to RFM.  I'm going to shoot the sadist who
WFM, OK?


Laura Goodwin

------------------------------

From: Markus Kossmann <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: RAID under kernel 2.2.18: mkraid aborted
Date: Wed, 21 Mar 2001 04:02:42 +0100

Dan Smith wrote:
> 
> Can you elaborate on the solutions to problem #2?
> 
> What is devfs-isation?
> 
> My raidtab is good, and I am using raidtools 0.9; isnt' that the most current 
>version?  My kernel (d/l 2.2.18 from kernel.org) already has raid support in it).
Did you patch your kernel sources with the patch for raid-0.90 before
building it ? 

-- 
Markus Kossmann                                    
[EMAIL PROTECTED]

------------------------------

From: "Liquor" <[EMAIL PROTECTED]>
Subject: Fetchmail from 1 mailbox to multiple recievers?
Date: Wed, 21 Mar 2001 04:04:48 GMT

I'm sure there are many ways to do it :)

I have a gateway/firewall machine on a dial-up line, and
it has a default (RedHat 6.2) installation of sendmail (not
running as a daemon, just invoked locally by mail) and 
imap server that at the moment is just providing shared mail
folders for multiple clients.

I know I can just use fetchmail to bring mail from a single
server account to a single user account accessible by imap -
but I want to sort mailing-list traffic into a separate 
inbox.  I can distinguish it by the sender address, the
reply-to address, or even by the contents of the subject line.

Does anybody have any suggestions for the easiest way to
accomplish this?  or even pointers for what part 
of TFM I should R?

TIA,
--
Liquor




------------------------------

From: "Hernandez" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux,comp.os.linux.networking
Subject: Re: Linux router
Date: Wed, 21 Mar 2001 05:06:06 GMT

If you are going to use two of the same type of NIC's,  I would suggest
using a Win98 boot disk to boot into Dos and run the card configuration
utility to setup your irq and i/o settings.  If linux gets confused and
loads only one module, you can look at /etc/conf.modules (5.2) or
/etc/modules.conf (6.x-7.x) and insert:
alias eth0 ne
alias eth1 ne
options -o ne.o-0 io=0x280 irq=5
options -o ne.o-1 io=0x300 irq=10

This will load two modules and should work with most distributions.  The
only trouble I have run into is with the 3com 3c509 cards as they give all
sorts of grief.
"James Knott" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> ellen migdal wrote:
> >
> > To Group:
> >
> > I am about to set up an old PC as a router - using either linux or
freseco.
> > My problem is prior to this - I need 2 NIC cards - one coming in from
ISP,
> > one going out to hub.  I put in 2 Linksys cards fine - but - how do tell
> > which card is which as far as the IRQ addresses are concerned.  The
router
> > software needs to know, and I need to know,the IRQ of the "top" NIC card
and
> > the IRQ of the "bottom" card.
>
> Just configure the two ports and see which one works when you try to
> access the ports.
>
> >
> > Also, the Linsys people strongly suggested that I NOT put 2 NIC cards,
of
> > their ,or other makes, into the same chassis.  Is there anything to
this??
>
> I don't know why.  I have a pair of WD cards in my firewall.
>
> --
> Replies sent via e-mail to this address will be promptly ignored.
> To reply, replace everything to the left of "@" with "james.knott".
> 



------------------------------

From: "Anthony" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: how do I get a service to start automatically?
Date: Wed, 21 Mar 2001 05:13:39 GMT

There's autoexec in dos & windows.  Does linux (mandrake 7.2) have a
similar file?




------------------------------

From: Michael Williams <[EMAIL PROTECTED]>
Subject: Re: how do I get a service to start automatically?
Crossposted-To: alt.os.linux.mandrake
Date: Wed, 21 Mar 2001 05:54:10 +0000

Anthony wrote:
> There's autoexec in dos & windows.  Does linux (mandrake 7.2) have a
> similar file?

Sure. There's a directory (/etc/rc.d/). In this directory are 
subdirectories called rcX.d where X is a number from 0-6 indicating the 
run-level to which its contents refers. The run-level is basically the 
state the system is in. If your system is set up to login directly to X 
then it's 5 you're interested but if you log into the terminal it's 3.

cd into the relevant directory (rc3.d or rc5.d) and take a look. You'll see 
a load of files called things like Snnxxxx or Knnxxxx where nn is a number 
from 00 to 99 and xxxx is the name of the service. These files are 
generally symbolic links to executables. Those with K are executed first 
and kill any preexisting processes. Those with an S are executed to start 
new ones. So the files Snnxxxx correspond to entries in autoexec.bat in 
DOS. The numbers are to tell init what order to exute the programs in; 
those with lower numbers are executed first.

To add a file you need to locate the executable for the service that you 
would like to start automaically and create a symbolic link to it. By 
convention (I think) these executables are place in /etc/rc.d/init.d so 
copy your program over to there then in either /etc/rc.d/rc3.d or 
etc/rc.d/rc5.d issue

        ln -s ../init.d/myprogram Snnxxxx

where xxxx is any old name for the service (make it relevant though - it's 
success is displayed during start-up). The choice of number is relatively 
arbitrary but try and find some services already in rc3.d or rc5.d that are 
along the same lines. If you're unsure make the number larger rather than 
smaller. BTW, the number needn't be unique to the directory.

Reboot and Bob's your uncle.

--
Michael Williams



------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.setup.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Setup Digest
******************************

Reply via email to