Linux-Setup Digest #154, Volume #19              Fri, 14 Jul 00 03:13:09 EDT

Contents:
  Re: how to put named in rc scripts (RH6.2)? ("David ..")
  Re: Using NT bootload to boot to linux ("tvn")
  Re: Second network adapter (E J)
  Re: Attention: Linux Experts ... (E J)
  Re: Graphical to Command Line Login ("Lonni J. Friedman")
  Re: Help! Cron and Samba / Cron and missing directories? ("Adam H.")
  Re: Soundcard problem RH 6.2 (Creative soundblaster 16 PnP (WDM)) (David Efflandt)
  Re: eth1 fails on boot!! (Donald Becker)
  Re: Help needed to add an user (E J)
  Re: Help! Cron and Samba / Cron and missing directories? ("David ..")
  Re: lilo trouble ([EMAIL PROTECTED])
  Help: dual boot windows98 and linux (Steve Lam)
  GUI Installation instructions for RedHat 6.1 server ([EMAIL PROTECTED])
  Re: etc/rc.d stuff doesn't start at boot time ([EMAIL PROTECTED])
  Re: Changing Prompt Color (Faux_Pseudo)
  Re: Turning off startup services? (E J)

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

From: "David .." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: how to put named in rc scripts (RH6.2)?
Date: Thu, 13 Jul 2000 19:59:06 -0500

Noah Green wrote:
> 
> Hi,
> I am sorry to bother you all I am pretty new at this and am at my wit's
> end.
> When my linux box was set up, it did not have named in the rc startup
> scripts. Now I have finally set up DNS, but cannot figure out how to get
> 
> the named command into the startup scripts!  Every time a start the
> machine

As root run the commans /usr/sbin/setup then choose system services and
place an asterisk next to the service you wish to start at boot time.
The next time you boot the system it will start these services.

> 
> Also, this box has the RH ppp dialer on it.  Whenever I run it, it takes
> the
> local DNS server address out of the resolv.conf file.  Is there a way to
> 
> prevent this?

Edit /etc/sysconfig/network-scripts/ifcfg-ppp0  and place the PEERDNS
line just below the PAPNAME= line like this:

PAPNAME=
PEERDNS=no

You could also use the command "chattr +i /etc/resolv.conf" to stop any
changes from being made to the file.

--
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: "tvn" <[EMAIL PROTECTED]>
Subject: Re: Using NT bootload to boot to linux
Date: Thu, 13 Jul 2000 21:12:22 -0400

Hi,

Thanks for your response ;

I created that lilo.conf by myself so only the basics are included there.
And yes, root and boot are both on hdb1

I've searched though the system but can't find any file named "initrd" ... ,
there is no file with *.img extension either ..




> You're sure that your boot and root are the same partition?
>
> Your lilo.conf might not be setup correctly for RedHat.  Here is mine (I
> have RedHat 6.1 and use NT boot loader):
>
> ---------
> boot=/dev/hdb1
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> default=linux
>
> image=/boot/vmlinuz-2.2.12-20
>         label=linux
>         initrd=/boot/initrd-2.2.12-20.img
>         read-only
>         root=/dev/hdb8
>         vga=extended
> ----------
>
> You probably need that initrd and maybe the read-only in there.






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

From: E J <[EMAIL PROTECTED]>
Subject: Re: Second network adapter
Date: Thu, 13 Jul 2000 18:20:43 -0700

Go to Windoze
Start->Settings->Control Panel->System
Write down the io and irq settings of your 3Com card.
(While you are there click off the automatic setting of both your network
card, Windoze might change the settings without you knowing it, it screwed up
my linux network for three days)

$ su -
password: <secret>
# # back up your conf.modules just in case you screw up :)
# cp /etc/conf.modules /etc/conf.modules.bak
# # use an editor to edit conf.modules.
# vi /etc/conf.modules

Add this to the end of your conf.modules with your io and irq settings (Here
is an example)

options eth1 io=0x280 irq=9
alias eth1 3c509

# reboot

bring up the second network card
In my case, I bring up dhcpcd

# dhcpcd eth1

AJ-San wrote:

> I'm a newbie, and I'm also new here, so if I should post this elsewhere,
> please
> tell me!
>
> I've just successfully (!) installed my Slackware 7 Distribution on my
> P120/32MB, and so far it's running smoothly.
>
> In general: Where do I go from here?
> More specific:
> I have one NE2000 (PCI) network adapter, which is working fine.
> The second one a 3COM 509 (ISA) is not.
> How do I configure things so that I can use them both (I want use it as a
> gateway/proxy/firewall between my cable modem and my PIII-550)
>
> I know I should be more specific, but I'm just a beginner and I don't know
> much about Linux, so if somebody could help me out here ....
>
> Greetz,
>
> Arjo


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

From: E J <[EMAIL PROTECTED]>
Subject: Re: Attention: Linux Experts ...
Date: Thu, 13 Jul 2000 18:24:04 -0700

So are you going to provide the beer and pizza for our help :)


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

From: "Lonni J. Friedman" <[EMAIL PROTECTED]>
Subject: Re: Graphical to Command Line Login
Date: Thu, 13 Jul 2000 18:55:06 -0400

edit /etc/inittab so that the default runlevel is 3.  this is VERY FAQ,
and could have been found by doing a search at deja.com

Ben Popoola wrote:
> 
> Yes I mean after every boot up
> 
> Karsten Priegnitz wrote:
> 
> > Ben, Popoola wrote:
> >
> > > HI,
> > >      How can I change from a graphical login to a command line login?
> > >  I am currently using TurboLinux 4.0 and gnome is my default window manager.
> > >
> > > Thanks
> > >
> > > ==================================
> > > Posted via http://nodevice.com
> > > Linux Programmer's Site
> >
> > On every Linux I used you can change from Graphical login to command-line login
> >
> > by using Alt-Ctrl-F1 to F6. Or do you mean that you want to have the
> > command-line login
> > after every boot-up?

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

From: "Adam H." <[EMAIL PROTECTED]>
Subject: Re: Help! Cron and Samba / Cron and missing directories?
Date: Fri, 14 Jul 2000 09:16:37 +1000

Great! That's helped me with the first problem,
however, I still get these problems with cron.daily
not being a directory. Any ideas?

TIA

Adam

> Change "samba" to "smb" so that the line looks like this
> "/etc/rc.d/init.d/smb restart" without quotes.
>
> --
> Registered with the Linux Counter.  http://counter.li.org
> ID # 123538



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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Soundcard problem RH 6.2 (Creative soundblaster 16 PnP (WDM))
Date: 14 Jul 2000 02:25:29 GMT
Reply-To: [EMAIL PROTECTED]

On 13 Jul 2000 13:07:00 +0200, Sverre Torjussen <[EMAIL PROTECTED]> wrote:
>Hello,
>
>I have a Linux RH6.2 dual boot PC with two speakers and a Creative
>soundblaster 16 PnP (WDM) soundcard. Although this soundcard is not
>"supported", I wonder if there is a way to make it work.  On NT W2K,
>no problems (although it did not work before I connected the speakers).
>
>I have used sndconfig to set up the PC to use SB 16. And this seems to
>be successful (plays a sound). The sound services (three kinds) starts
>up with status OK at boot time.
>
>However, I am neither able to play mp3 files or other audio formats,
>(like .au).  Hissing or scratch sounds (basically noise) is all I am
>able to hear. I do not use a separate MP3 player.
>
>I have tried several MP3 supported products (front ends), e.g.
>mpg123, xmms, splay etc without any luck. For example, xmms seem to
>play the MP3 songs (can see the time elapsed etc) but I am not able
>to recognise any songs (only low noise).
>
>Any suggestions?
>
>%wmosl1wi0305:~ {127} $ more /etc/conf.modules
>alias eth0 3c59x 
>alias sound-slot-0 sb
>options sound dmabuf=1
>alias midi opl3
>options opl3 io=0x388
>options sb io=0x220 irq=5 dma=0 mpu_io=0x330

Not sure if something changed in RH 6.2, but this is what I use for SB 16
ISA (non-pnp) in RH 6.1 as set up by sndconfig, and everything works fine 
including XMMS and playmidi:

alias sound sb 
pre-install sound /sbin/insmod sound dmabuf=1 
alias midi opl3 
options opl3 io=0x388 
options sb io=0x220 irq=5 dma=3 dma16=7 mpu_io=0x330 

That alias sound-slot-0 looks like an Alsa sound driver thing, but Alsa
needs a bunch of other modules.  Have you read about soundcards in
/usr/src/linux/Documentation/sound?

If sounds get chopped or aborted with an error, try disabling PNP during
boot in CMOS setup.  I think my main PC was already set up that way and I
had to do that with my laptop to play larger .wav files and to stop gnome
sounds from repeating.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


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

From: [EMAIL PROTECTED] (Donald Becker)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.networking
Subject: Re: eth1 fails on boot!!
Date: 13 Jul 2000 22:48:07 -0400

In article <Ua4b5.226$[EMAIL PROTECTED]>,
Devon Harding <[EMAIL PROTECTED]> wrote:
>insmod seems to fail on boot-up.
...
>Here's a few lines from my /var/log/messages:
>
...
>Jul 9 13:36:14 mars insmod: /lib/modules/2.2.14-5.0/net/3c509.o: invalid
>parameter parm_io

Uhmm, don't try to set a module parameter that doesn't exist.
That error will prevent the module from loading.

(The bogus line is likely in /etc/conf.modules)
-- 
Donald Becker                           [EMAIL PROTECTED]
Scyld Computing Corporation             http://www.scyld.com
410 Severn Ave. Suite 210               Beowulf Clusters / Linux Installations
Annapolis MD 21403

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

From: E J <[EMAIL PROTECTED]>
Subject: Re: Help needed to add an user
Date: Thu, 13 Jul 2000 20:26:58 -0700

Just a guess, are you running linuxconf or useradd as a non-root?
Try running linuxconf or useradd as root

Is your /etc/group file missing or corrupt?


"K.C.RajKumar" wrote:

> Hi,
>         When I tried to add an user using linuxconf (or) useradd, I am getting an
> error message saying
>
>             "useradd: error locking group file".
>
>         Please help me in fixing this problem.
>
> TIA,
> KC
>
> --
> Posted via CNET Help.com
> http://www.help.com/


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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Help! Cron and Samba / Cron and missing directories?
Date: Thu, 13 Jul 2000 22:40:27 -0500

"Adam H." wrote:
> 
> Great! That's helped me with the first problem,
> however, I still get these problems with cron.daily
> not being a directory. Any ideas?

Have you tried to restart cron?

  /etc/rc.d/init.d/crond restart

-- 
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: [EMAIL PROTECTED]
Subject: Re: lilo trouble
Date: Fri, 14 Jul 2000 04:54:50 GMT

In article <8klak4$28e$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Lilo took a dump on my machine last night where when you boot up it
> just comes up LI and never goes any further.  This has happened
before,
> and all I had to do was act like I was doing an up grade and just tell
> it to put LILO back on the mbr.  Well it ain't working this time.  I
> have even reinstalled completely, yet it won't update the mbr.  Any
> ideas out there
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Ok I must have a corrupt mbr.  I did a fdisk /mbr while that worked it
kept giving me a read/write error.  I did a sys c:, and that also gave
me some problems but it also ended up giving me a read/write error.  If
I boot to dos with a boot disk it give me read/write error all over the
place.  The catch is that I can boot into linux and mount the vfat
drive and tar up files no problem.  Although I can't mount my second
hard drive.  I wonder if that is something to do with that whole first
1024kb I have been seeing out there.  I'm still trying to figure out
what that is all about.  Any ideas?



Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Steve Lam <[EMAIL PROTECTED]>
Subject: Help: dual boot windows98 and linux
Date: Thu, 13 Jul 2000 22:25:23 -0700

Can anyone point me to where I can get instructions on how-to
install dual boot win98 and linux? I had seen information about
NT+linux dual boot but haven't seen any info about win98 and linux.
Thank you


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

From: [EMAIL PROTECTED]
Subject: GUI Installation instructions for RedHat 6.1 server
Date: Fri, 14 Jul 2000 05:08:00 GMT

Everybody,

Here is a list of procedures I compiled for my installation.There could
be some gaps in these procedures but most of it is here. Any questions
send me a mail.

Installation of redhat 6.1 server GUI

1) Install the server first.
2) log in as root
3)insert the package CD-ROM (CD #1) into CD drive and type the
following:
mount /mnt/cdrom
cd /mnt/cdrom/RedHat/RPMS
4) Type:
rpm -Uvh --nodeps X11R6-contrib* XFree86-3.3* XFree86-libs*
Xconfigurator* fvwm* xinitrc* gtk+-* tcl-* tk-*
5) If it doesn�t fit into one line separate into 2 or 3 command lines
like
        rpm -Uvh --nodeps X11R6-contrib* XFree86-3.3*
        rpm -Uvh --nodeps XFree86-libs* Xconfigurator*
        rpm �Uvh �nodeps fvwm* xinitrc* gtk+-* tcl-* tk-*
6) If you do not know what your video card is, then type:
                Xconfigurator on the command line
   and configure your monitor. It creates an XF86Config file for you.
   Do not choose the option where it asks you for automatic X at
startup, you can do that later in /etc/inittab.
8) Type:
Startx
9) It might give you an error, saying netscape not found
10) Then type:
Install rpm �Uvh xpm*
Install rpm �Uvh netscape*
It might say certain dependencies are missing.
Then type rpm �Uvh <dependency*> which would load the rpms from the cd.

Installing KDE after installing X

1) You need to install the KDE files in the following order:
rpm �Uvh qt*
      rpm -Uvh kdesupport*
      rpm -Uvh kdelibs
           rpm -Uvh kdebase
  The rest in any order

2) create a new .xinitrc and just add one line called startkde.
3) Reboot the system and you are good to go with a GUI.

Let's compile a HOWTO. If you guys find any gaps in this please fill
them up and post a new list, so that it can be made as a good document.

Thanks,
Moorthy([EMAIL PROTECTED])


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED]
Subject: Re: etc/rc.d stuff doesn't start at boot time
Date: Fri, 14 Jul 2000 05:44:00 GMT

Thanks EJ,
  A book I had read about linux implied that if you
were at runlevel 3, rc0.d, rc1.d, rc2.d and rc3.d
start and kill links would ALL be run.
I'm at run level 5 and thought the lower numbered
directories would start it up, but apparently
you need the link in every rc*.d (runlevel) directory that you
want it started.
Now I understand it.

  E J <[EMAIL PROTECTED]> wrote:
> You did not say what init level you are running on.  I assume you are
> running on init 5
> what happens when you type the following as root
> # init 5
> There is no /r/etc/rc.d/rc5.d/S45pcmia file to start at level 5
> I don't why /etc/rc.d/rc5.d/S10network file is not running at level 5
> If you are using redhat 6.x
> # control-panel
>
> Click on the stop lights icon
>
> Remove/add the programs that are started and stopped at each level
(i.e.
> level 5)
>
> [EMAIL PROTECTED] wrote:
>
> > ls -l rc*/*pcmcia*
> > lrwxrwxrwx    1 root     root           16 Jan 15 07:27
rc0.d/K96pcmcia
> > -> ../init.
> > d/pcmcia
> > lrwxrwxrwx    1 root     root           16 Jan 15 07:27
rc1.d/K96pcmcia
> > -> ../init.
> > d/pcmcia
> > lrwxrwxrwx    1 root     root           16 Jan 15 07:27
rc2.d/S45pcmcia
> > -> ../init.
> > d/pcmcia
> > lrwxrwxrwx    1 root     root           23 Jan 15 16:29
rc3.d/S09pcmcia
> > -> /etc/rc.
> > d/init.d/pcmcia
> > lrwxrwxrwx    1 root     root           16 Jan 15 07:54
rc3.d/k96pcmcia
> > -> ../init.
> > d/pcmcia
> > lrwxrwxrwx    1 root     root           16 Jan 15 07:27
rc4.d/S45pcmcia
> > -> ../init.
> > d/pcmcia
> > lrwxrwxrwx    1 root     root           16 Jan 15 07:54
rc5.d/k96pcmcia
> > -> ../init.
> > d/pcmcia
> > lrwxrwxrwx    1 root     root           16 Jan 15 07:27
rc6.d/K96pcmcia
> > -> ../init.
> > d/pcmcia
> > [root@tosh rc.d]# ls -l rc*/*network*
> > lrwxrwxrwx    1 root     root           17 Jan 15 07:14
rc0.d/K90network
> > -> ../init
> > .d/network
> > lrwxrwxrwx    1 root     root           17 Jan 15 07:14
rc1.d/K90network
> > -> ../init
> > .d/network
> > lrwxrwxrwx    1 root     root           17 Jan 15 07:14
rc2.d/S10network
> > -> ../init
> > .d/network
> > lrwxrwxrwx    1 root     root           17 Jan 15 16:28
rc3.d/S10network
> > -> ../init
> > .d/network
> > lrwxrwxrwx    1 root     root           17 Jan 15 07:14
rc4.d/S10network
> > -> ../init
> > .d/network
> > lrwxrwxrwx    1 root     root           17 Jan 15 07:54
rc5.d/S10network
> > -> ../init
> > .d/network
> > lrwxrwxrwx    1 root     root           17 Jan 15 07:14
rc6.d/K90network
> > -> ../init
> > .d/network
> >
> > But yet I still have to type:
> >  cd init.d/
> > [root@tosh init.d]# ./pcmcia start
> > Starting PCMCIA services: modules cardmgr.
> > [root@tosh init.d]# ./network start
> > Bringing up interface lo                                    [  OK  ]
> > Bringing up interface eth0                                  [  OK  ]
> >
> > I have to type it everytime I boot my laptop.
> > Any ideas on a way to debug this?
> > I haven't had any luck at all getting /etc/rc.d/rc*.d/S*
> > stuff to run that I have added.
> > But the stuff from installation off the CD seems to work ok??
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED] (Faux_Pseudo)
Crossposted-To: comp.os.linux.misc
Subject: Re: Changing Prompt Color
Reply-To: [EMAIL PROTECTED]
Date: Fri, 14 Jul 2000 06:10:35 GMT

--(Once apon a time, in comp.os.linux.setup,)--
                --(Kevin Brown said it like only they can.)--
$How do I change the color of the prompt when using bash or tcsh?  Also,
$how do I get it to display the full path instead of just the current
$directory?
$
$Thanks,
$Kevin
$[EMAIL PROTECTED]
$

ibpconf.sh is a interactive bash prompt config script avaliabl at freshmeat.net
with it you can do both of those things with out haveing to actualy learn
anyting about the processes involved

if you want to learn then try the bash-prompt-howto
-- 
 ._______.                                         ._______.
 | <> <> |  To all who say evolution is to slow to | <> <> |
  \-|o|-/  make a race as advanced as ours I have   \-|o|-/
   /___\  only one thing to say. Have you ever seen  /___\
   (MMM)  the Jerry Springer Show?    UIN=66618055   (MMM)

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

From: E J <[EMAIL PROTECTED]>
Subject: Re: Turning off startup services?
Date: Thu, 13 Jul 2000 23:51:38 -0700

I assume you are running at run level 5.
$ su -
password: <secret>
# cd  /etc/rc.d/rc5.d
#    # remove the offending starting problem
# rm S##offending_program
#     # since you are removing the offending starting program you might as
well remove the offending stopping program also.
# rm K##offending_program

[EMAIL PROTECTED] wrote:

> X-Article-Creation-Date: Thu Jul 13 16:53:06 2000 GMT
> X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
> X-Http-Proxy: 1.1 x61.deja.com:80 (Squid/1.1.22) for client 207.27.249.216
> X-MyDeja-Info: XMYDJUIDcapt_troy
>
> Hi-
>
> I have an old P133 running Mandrake 7.1.  Currently when it boots, I
> can see it starting all kinds of crap (you know, with the
> green "[PASSED]" or red "[FAILED]" markers), which I'd rather it not.
> For example, it tries to detect USP stuff (my computer dosn't have
> USB!) and it does some raid stuff, starts httpd, starts sendmail etc.
> I'd like some information on how to turn this stuff on and off.  I'm
> not interested in fancy gui tools either, I'm trying to learn the
> basics so no X here (it runs like a dog anyways!).
>
> Also, does anyone know of a good site I could go to and learn about all
> this stuff?  Thanks.
>
> -capt_troy
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.


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


** 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 (and comp.os.linux.setup) via:

    Internet: [EMAIL PROTECTED]

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