Subject: Linux-Admin Digest #5
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Wed, 31 Aug 94 08:14:51 EDT

Linux-Admin Digest #5, Volume #2                 Wed, 31 Aug 94 08:14:51 EDT

Contents:
  color_xterm .... again (Jozsef Kadlecsik)
  Re: pppd's ip-up doesn't work (Jason White)
  Re: What is my root password???????? (Viktor T. Toth)
  MSDOS FS dates off by 5 days! (Slackware 2.0 bug! - here it is) (Alberto Vignani)
  Re: [Q] How to remote tape backup DOS -> Linux <- Sun (Leslie Mikesell)
  Re: DNS/BIND/nameserver problems (J.S. van Oosten)
  Re: dip: hostname lookup failure (Greg Cisko)
  Re: Q: NFS, Linux -> Macintosh (Shannon Hendrix)
  network install w/Intel Ether Express? (Ken Neighbors)
  Re: How to use 14400bps with modem? (Kristian August Mowinckel)
  Re: Backing up to QIC-80 (Adam Tilghman)
  Video-setting for a et4000/w32i VesaLocalBus (Bernd Giesinger)
  Re: Testing a pointer (Rob Janssen)
  Re: Got.... (Rob Janssen)
  Re: stdio.h(linux) (Rob Janssen)
  Re: **** HOW TO FIX YOUR CDROM!! **** (Rob Janssen)
  Re: Admin utils for linux ? (Safuat Hamdy)
  Re: Shutting down when running in runlevel 6 (X) (Gary Schrock)

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

From: [email-masked] (Jozsef Kadlecsik)
Subject: color_xterm .... again
Date: 31 Aug 1994 07:45:58 GMT

Hi,

Ok, I haven't tried all possibilities: after setting *LoginShell: true in
..../app-defaults/XTerm if I type at the prompt

> color_xterm

the xterm comes up and it can be checked that .bashrc has been executed. Fine.

But if one click on "Color Xterm" of the menu "Shells" of openwin, that
xterm doesn't seems to execute .bashrc at all!! (Of course Xterm or Rxvt
from the menu do execute .bashrc.)

This "Color Xterm" menu is as follows

"Color Xterm (7x14 font)"               exec /usr/bin/X11/color_xterm -sb -sl 500 
-j -ls -fn 7x14

I added "-l", "-e /bin/bash -login", no use.

Could you help me again to complete the solution of this problem?

Best regards,
Jozsef Kadlecsik

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

From: [email-masked] (Jason White)
Subject: Re: pppd's ip-up doesn't work
Date: 31 Aug 1994 08:03:03 GMT

In article <[email-masked]>,
Gregory Trubetskoy <[email-masked]> wrote:
>Has anybody used /etc/ppp/ip-up script?
>
>I set one up, but it doesn't seem to be executing at all...

  Did you give it execute permission?  Had this problem myself, briefly. :)

>Is there a command line option for it?

  Don't believe so.

>I really need this feature, cause I have to do some ifconfiging and routing
>that pppd itself doesn't allow on the command line.

  I agree, I really like this feature.

-- 
   Jason D. White                        Durham Center Operations Staff
 [email-masked]             Repeater Chairman, Cyclone Amateur Radio Club
Iowa State University
     Ames, Iowa

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

From: [email-masked] (Viktor T. Toth)
Subject: Re: What is my root password????????
Date: Tue, 30 Aug 1994 18:03:41

In article <[email-masked]> [email-masked] (Greg Cisko) writes:

>All that is neccissary is to boot up in "single user mode". On a SUN
>I think you would give "vmunix -s" to boot in singleuser. (I only had
>to do it once :-) ) I don't know what the same command would be in Linux
>though. I'm sure it is possible. Then you can re-edit your passwd file
>with vi. After all this was done, then I think a CNTL-D switched from
>single user to multi-user mode. All this was about 2 years ago, so I 
>may be rusty.

If you use LILO, simply type 'linux S' at the LILO: prompt. (If that prompt 
doesn't appear for you, hit the Shift key when the word LILO is displayed, and 
you will get a prompt). This will boot your box in single-user mode.

Viktor

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

From: Alberto Vignani <[email-masked]>
Subject: MSDOS FS dates off by 5 days! (Slackware 2.0 bug! - here it is)
Date: 31 Aug 1994 05:34:48 -0400
Reply-To: [email-masked]

[email-masked] (Alan Modra) wrote:

|I hit this bug quite a while ago, and fixed util-linux-1.9/clock.c.  The
|following is the relevant patch I sent to Rik Faith.  If util-linux-1.10
|is not yet out, you may wish to apply the following patch yourself.
 --------------------------------------------------------------------
|It appears that the slackware 'clock' program was calling
|settimeofday() with tz_minuteswest set to secondswest, ie. out by a
|factor of 60.
 --------------------------------------------------------------------

(original message/patch has been posted to c.o.l.d.)

It was not a kernel problem, as I first suspected.
Bye
Alberto

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

From: [email-masked] (Leslie Mikesell)
Subject: Re: [Q] How to remote tape backup DOS -> Linux <- Sun
Date: 30 Aug 1994 19:13:28 -0500

In article <[email-masked]>,
Dennis Director <[email-masked]> wrote:
>>Yet another possibility in the near future may be to run WFWG on the
>>PC sharing the drive with it's native networking and mounting
>>it on Linux with the smbfs filesystem that someone is working on.

>I would love to hear more about this.  I also would like to
>backup up DOS machines on my Linux tape.  Mounting a WFWG file
>system sounds like a good clean solutions.

I don't think it's quite ready for prime time yet. See the
file nimbus.anu.edu.au:/pub/tridge/samba/PROJECTS for the
author and current state.  But my tar will work if you don't
mind the cruft.  Arrange for a packet driver on the pc (either
native or one of the interface shims), and execute "tar --rshd"
on the pc(s).  Then run "rsh pc tar -cf c:/ -| dd of=tape_drive" on
the unix side, using the no-rewind device if you are doing more
than one.  The usual gnutar options work plus some stuff to support
the dos archive bit and other attributes.

Les Mikesell
  [email-masked]

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

Crossposted-To: comp.os.linux.help
From: [email-masked] (J.S. van Oosten)
Subject: Re: DNS/BIND/nameserver problems
Date: Mon, 29 Aug 1994 01:32:57 GMT

Rusty L. Atkins ([email-masked]) wrote:
:  Thanks to all that responded! The problem was that I had the nameserver
: name and not the nameserver address in /etc/resolv.conf.

I want to add to this that all the relevant config-files (named.boot,
resolv.conf, host.conf, etc) in /etc must be world readable. I had the same
problem , until I found out I could always use names as root but not as
'normal' user. That lead me to look at the file-permissions, which were
(obviously) wrong.

Just my $.02

J.v.O. "Hooba!"

--
paradox n.  A state arising when a lifeform is able to find his arse with
            on hand but not the other.

                                         - from alt.fan.pratchett. 
                                           Terrible, isn't it? :-)
-- 
PGP public key available on request.

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

From: [email-masked] (Greg Cisko)
Subject: Re: dip: hostname lookup failure
Date: 30 Aug 1994 20:11:16 GMT
Reply-To: [email-masked]

In article [email-masked], [email-masked] (Neil W. Weber) writes:
>In <[email-masked]> [email-masked] (Robert Stockmann) writes:
>>When I try to start up dip I get the following 
>>*strange* error message:
>
>>[stm40:stock]:(~)$ dip
>>stm40: Host name lookup failure
>>[stm40:stock]:(~)$ 

I had the same problem & fixed it. FOr me the clue was that when I did "domainname"
I got the same name as when I got "hostname". If I changed one the other would
change too. I found domainname & hostname were linked together! So they were
the same program. I removed the link an made sure I had 2 seperate programs:
domainname & hostname. Then everything worked great. Until the next problem :-)

Do the "domainname" & "hostname" check & see what happens.

>
>Try adding the hostname of your machine to /etc/hosts.  Here is my /etc/hosts:
>
># For loopbacking.
>127.0.0.1      localhost
>127.0.0.1      gonedaddy.teleport.com gonedaddy
>-- 
>Neil W. Weber             [email-masked]                No brain, no pain.

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

From: [email-masked] (Shannon Hendrix)
Subject: Re: Q: NFS, Linux -> Macintosh
Date: Wed, 31 Aug 1994 01:23:13 GMT

[email-masked] (Jeff Medcalf) writes:

>>Has anyone succesfully mounted a Linux disk on a macintosh via a network?
>>What should I do on the linux-side of the connection and what program
>>should I use on the macintosh-end?

>I have done so using Intercon's NFS/Share software.  Good stuff.  They
>are in Herndon, VA.

How much?  I need a relatively inexpensive way to share printers and
disks on my Linux system with a Mac, no matter how bad it hurts.

>--
>--
>[email-masked]   | How many Microsoft employees does it
>Jeff Medcalf                |   take to change a lightbulb?
>Johnston Technical Services | None: Microsoft declares darkness to
-- 
csh
===========================================================================
[email-masked]      | Linux and BSD

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

From: [email-masked] (Ken Neighbors)
Subject: network install w/Intel Ether Express?
Date: 31 Aug 1994 08:42:29 GMT
Reply-To: [email-masked]

I tried the "net.gz" boot disk but it can't find the Intel Ether
Express 16C.  It tried typing "ramdisk ether=3,0x300,eth0" at the
boot: prompt, but it still didn't work.  It says something about
3c305(?) not found.  Do I need to use the "reserve=" option that I saw
mentioned in another post?

So, is the Ether Express driver in the net kernel?  If not, how should
I go about installing Linux over the net with this card?  Will I have
to compile a kernel another Linux box, and if so, how do I put it on
the boot disk?
-- 
Ken Neighbors                        | +1 (415) 390-9414
Aero/Astro, Stanford University      | using:
[email-masked]          | Linux, the choice of a GNU generation
http://www-leland.stanford.edu/~wkn/ | OS/2, the choice of a blue generation

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

From: Kristian August Mowinckel <nfykw@golf>
Crossposted-To: comp.os.linux.help,comp.os.linux.misc
Subject: Re: How to use 14400bps with modem?
Date: Wed, 31 Aug 1994 05:04:01 +0200 (MET DST)

On Tue, 30 Aug 1994, Lorenzo da Ponte wrote:

> In article <[email-masked]> you wrote:
> : Today my USRobotics Sportster 14400 FAX MODEM arrived.
> : Now I use it at 9600 bps since 14400 is not an option offrered.
> : (I use Seyon by the way.)
> : How can I use 14400 bps?
> : Do I have to recompile the kernel?
> : 2400 4800 9600 19200 etc are supported, but not 14400.
> 
> You do not need to set the port baud rate to 14400, the modem can talk
> to the Linux box at speeds up to 115200 (depending on the Linux box).
> The dte (data terminal equipment) speed does not need to match the dce (
> data communications equipment) speed.  I use Seyon Also and I use a baud
> rate of 38400 on the PC and the modem is automatically set up to adjust
> it's baud rate to the PC and the dce speed is set when it connectes to
> another modem.  If you are not getting connected at the highest speed,
> it is possible that the modem you are connecting to at the other end
> is not negotiating the protocol - ie does not support data compression etc...
> 
> If your PC does not have a 15560A uart, I would suggest staying at a dte 
> speed of 19200 or less as you may experience data loss.

I finally discovered that there were two speeds:
the one which the two modems talk to each other 14400
and the speed linux talks to the modem 19200, 38400 or higher

Now everything is functioning perfectly.
I get CONNECT 14400.

The connection is *fast*.

Thanks everybody!

Kristian 

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

From: [email-masked] (Adam Tilghman)
Subject: Re: Backing up to QIC-80
Date: 31 Aug 1994 01:01:41 GMT

In article <[email-masked]> [email-masked] ( Jonathan Williams ) writes:
>interleaving properly, but I can't get tar to write to the QIC-80 tape.  Every
>time I try I get the message:

        [ I attempted to mail a response to you, but cs.uni.edu
complains that "williamj" is an unknown user.  ]

        Remember to issue an "mt -f /dev/rft0 erase" command before
trying to use the tape.  You will find this bit of information
buried in your syslog amongst all the other FTape debugging
information.

        -- adam

-- 
Adam G. Tilghman | email:              | voice:          | Rng FCNZ naq yvir.
                 | [email-masked]    | +1 619 658 0743 | Cyhf PurrmJvm?

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

From: [email-masked] (Bernd Giesinger)
Subject: Video-setting for a et4000/w32i VesaLocalBus
Date: 31 Aug 1994 11:35:55 GMT

Can anybody sent me a working entry or whole file Xconfig for above vga-card ?

Thanks
Bernd

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

From: [email-masked] (Rob Janssen)
Subject: Re: Testing a pointer
Reply-To: [email-masked]
Date: Wed, 31 Aug 1994 08:21:45 GMT

In <[email-masked]> [email-masked] writes:

>Is there a command/function in C to test if a pointer is pointing to
>accessable memory? GDB can tell you if a pointer's contents are
>"unaccessable"... so there must be a way.

Just catch SIGSEGV and dereference it?

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   [email-masked]           |
| e-mail: [email-masked]     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: [email-masked] (Rob Janssen)
Subject: Re: Got....
Reply-To: [email-masked]
Date: Wed, 31 Aug 1994 08:23:33 GMT

In <[email-masked]> [email-masked] (Liam Slusser) writes:

>     How does Linux stand up to like OS/2, and Win/NT.  Right now, i am
>running OS/2 2.99 'Warp II beta', and i like it.  But, is Linux as good?  I
>have never used unix before, but know alot about computers, and stuff like
>that.  I also program in 'C'.  If anybody can give me a good answer, it would 
>be nice.  Thanx.

It depends on what you like about them.
Just follow the flamewar-of-the-week to get all info you ever want!

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   [email-masked]           |
| e-mail: [email-masked]     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

Crossposted-To: comp.os.linux.help
From: [email-masked] (Rob Janssen)
Subject: Re: stdio.h(linux)
Reply-To: [email-masked]
Date: Wed, 31 Aug 1994 08:26:09 GMT

In <[email-masked]> [email-masked] (Softwareentwicklung) writes:

>Hi,
>where is: _IOREAD, _IOWRT, -flag from <stdio.h>(struct _iobuf)?
>Other unixes have it.
>Help! Thanks!

You are not supposed to use these...
Are they documented in any other unixes' manual pages?

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   [email-masked]           |
| e-mail: [email-masked]     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

Crossposted-To: comp.os.linux.help
From: [email-masked] (Rob Janssen)
Subject: Re: **** HOW TO FIX YOUR CDROM!! ****
Reply-To: [email-masked]
Date: Wed, 31 Aug 1994 09:04:43 GMT

In <[email-masked]> [email-masked] (Serge Solski u) writes:

>    
>       I've finally found out why most of us have CDROM's that work on 
>installation, but don't work when running Linux regularily. The problem 
>is that the wrong driver is being used. You have to use 
>the "standard" driver rather than the "enhanced" driver. This may not work 
>for all of you, but it worked for me.

>       1) If you look in /root/linux/drivers/block (this may be in 
>another directory for you), you'll see "cdu31a.c", "cdu31a.c-enhanced", 
>and "cdu31a.c-standard." I suspect that those of you not using the CDU31A 
>drivers will see something similiar for whatever CDROM you're using. If 
>you type "ls-l cdu31a.c", you'll see that "cdu31a.c" is linked to 
>"cdu31a.c-enhanced." If it's linked to "cdu31a.c-standard" then forget 
>about this fix -- you have another problem. Move "cdu31a.c" to 
>cdu31a.c-backup (just in case), and then copy "cdu31a.c-standard" to 
>"cdu31a.c" Instead of copying, you could just change the link, but I 
>forget the exact syntax of the command. Basically, all you have to do is 
>make "cdu31a.c-standard" the CDROM driver, which is called "cdu31a.c".

There is no such file in the standard Linux kernel.  You must be talking
about a modified kernel here.  (what origin??)

I doubt that "most of us have this problem", given the fact that it is
not in the standard kernel, and cdu31a drives seem to be a pretty small
part of the CDROM market...

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   [email-masked]           |
| e-mail: [email-masked]     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: [email-masked] (Safuat Hamdy)
Subject: Re: Admin utils for linux ?
Date: 31 Aug 1994 11:46:22 GMT

Mike Suzio ([email-masked]) wrote:

: >I'd volunteer for contibutions to such a project _if_ there will be a team.

: So would I.  I would *love* to do this kind of stuff.  I have very little
: time to dink around with stuff, but I'd volunteer to help on a project like
: this.  heck, i'd even be willing to learn IRC to do something like this
: :-O

OK, I notified this, anybody else out there? What about those mentionened
by Harald M.?

: Three people/teams are currently working on such a tool, independently
: of each other: 
: 
: Pat Spinler ([email-masked])
: Riccardo Facchetti ([email-masked])
: Thomas Woerner ([email-masked])
: 
: according to the Projects Map. I wish those would join their efforts.

S. Hamdy                ([email-masked])

--

 Baba baby mama shaggy papa baba bro baba rock a shaggy baba sister
shag saggy hey doc baba baby shaggy hey baba can you dig it baba baba

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

From: [email-masked] (Gary Schrock)
Subject: Re: Shutting down when running in runlevel 6 (X)
Date: 31 Aug 1994 12:00:03 GMT

In article <[email-masked]>, [email-masked] (sharpe randall k) writes:
|> I have been following this thread for a while. I used to use run level 6
|> but quit because when I started up xtrems I got strange key mappings,
|> that is whereas normaly my <- (backspace key) deletes a character back
|> it now would delete the whole line. The delete key did yhe same thing.
|> I like my old keymappings but I guess I am too inexperienced to figure
|> out how to implement them in xdm. I am using the defaults as provided
|> by Slackware 2.0. I am currnetly using rl 5 and startx in my .login
|> file. I would prefer using xdm, but won't until I learn how to fix this
|> problem. I have gone over and over O'Reilly's xsindows administrator's
|> guide to no avail. I know this is a bit off topic but there seems to be
|> several knowledgeable people on this thread.

I found sticking an stty sane command in my .login file worked nicely.  (actually,
I stuck it in the /etc/csh.login file.  Fixed the backspace problem, and I
didn't notice any adverse side effects.

Gary Schrock
[email-masked]

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

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

You can send mail to the entire list (and comp.os.linux.admin) via:

    Internet: [email-masked]

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

End of Linux-Admin Digest
******************************