Linux-Misc Digest #82, Volume #21                Mon, 19 Jul 99 13:13:06 EDT

Contents:
  Re: Altering BIOS Values w/ Program ? (William Burrow)
  Re: tulip.o (William Burrow)
  Re: Store a date in a variable. (Jon Skeet)
  Re: i am going insane (Alex)
  Re: RH6.0 Support for > 1GB RAM (Leonard Evens)
  Re: root password ([EMAIL PROTECTED])
  Re: linux on powerpc (Rod Smith)
  FVWM and VIrtual Windows (Greg Coggins)
  How to read/write/format MS-DOS floppy disks??? (GUAY Dominic)
  Re: HELP PLEASE!!  saving a linux file in windows 98 (Leonard Evens)
  Re: How to read/write/format MS-DOS floppy disks??? (toby)
  Re: Shortcomings of Linux? (Kevin Lamonte)
  Re: root password (Jon Skeet)
  Re: Question regarding syslogd and syslog.conf (rob)
  Re: Dead daemons? (Chris Harshman)
  Looking For HOWTO SuSE-CD ("Youngert")
  Shells ([EMAIL PROTECTED])
  Re: CIA assassinations (Horst von Brand)
  Re: RedHat 6.0 instability (Horst von Brand)
  Re: Problem with dial-up networking on Linux (Clifford Kite)
  Re: sin + cos in C (gus)
  Virtual consoles, terminals, process questions ([EMAIL PROTECTED])

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

From: [EMAIL PROTECTED] (William Burrow)
Crossposted-To: 
comp.sys.ibm.pc.hardware.misc,comp.sys.ibm.pc.hardware.systems,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Altering BIOS Values w/ Program ?
Date: 19 Jul 1999 14:21:09 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 19 Jul 1999 13:36:43 +0200,
Erik Lins <[EMAIL PROTECTED]> wrote:
>is there a possibility to alter bios setup values without using the
>internal bios setup program (hit del to enter...) but some other program
>? I have an embedded PC system without graphic and want to boot linux
>from some harddisk (configured on another machine), which already works.
>I compiled the kernal with root console on serial port. I thought it
>would be fine to have some Linux utility to alter BIOS settings.

There are already DOS programs that do this.  I don't know if Linux has
any such utilities.  If you want to adapt LILO to modify BIOS settings,
the DOS sources are probably what you want.  Check:

ftp://oakland.oak.edu/pub/msdos/

for these utilities.


-- 
William Burrow  --  New Brunswick, Canada             o
Copyright 1999 William Burrow                     ~  /\
                                                ~  ()>()

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

From: [EMAIL PROTECTED] (William Burrow)
Subject: Re: tulip.o
Date: 19 Jul 1999 14:27:35 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 19 Jul 1999 04:36:09 -0700,
Ricky J. Sethi <[EMAIL PROTECTED]> wrote:
>[SNIP]

You might snip a bit more liberally in future....

>You might want to check the "Re: Machine disappears till ping" thread under
>comp.os.linux and the IP Aliasing problem thread on linux.redhat.misc.

I believe that comp.os.linux is a defunct newsgroup since the formation
of col.misc.

-- 
William Burrow  --  New Brunswick, Canada             o
Copyright 1999 William Burrow                     ~  /\
                                                ~  ()>()

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

From: [EMAIL PROTECTED] (Jon Skeet)
Subject: Re: Store a date in a variable.
Date: Mon, 19 Jul 1999 13:57:13 +0100

[EMAIL PROTECTED] wrote:
> [emailed and posted]
> Bertrand LEFEBVRE  <[EMAIL PROTECTED]> wrote:
> >I'd like to store a formatted date like date +'%d%m%y' in a variable
> >called NOW to be able to keep trace of some files ex: passwd to keep it
> >like passwd.290799. Thanks .
> 
> First let me suggest changing the order to '%y%m%d', because
> files will then sort easily from the oldest to the newest.
> 
> To set a variable,
> 
>   NOW=`date +'%y%m%d'`
> 
> That can be used in a script,
> 
>   cp /etc/passwd ./passwd.${NOW}

However, I think this isn't what the poster wanted, as date is evaluated 
when NOW is set, rather than when the command using it is used, as it 
were. Of course, I could be wrong :)
 
> You can also do,
> 
>   cp /etc/passwd ./passwd.`date +'%y%m%d'`

That sounds more like what the guy wants...

-- 
Jon Skeet - [EMAIL PROTECTED]
http://www.pobox.com/~skeet/

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

From: Alex <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,redhat.general
Subject: Re: i am going insane
Date: Mon, 19 Jul 1999 22:45:30 +0800
Reply-To: [EMAIL PROTECTED]

Michael Browne II wrote:
 
 
> The Linux installation program boots just fine (from the cd). However, the
> fatal problem arises when I select my install type (workstation, server,
> or custom). As soon as I select it,

  Selected what, exactly?


>                                     a drive error message appears that
> says it can't find a device to write to.
 
> One last thing maybe I should mention, though I'm not certain it has any
> relevance to this situation, is the following. My hard drive is an EIDE
> drive, specifically a WDC AC31 3500D. My hard drive controller is a
> Promise Technology Inc. Ultra66 IDE Controller.

  How big is the drive? How big is your windows98 partition? Chill..we
can
  work this shit out.


  Alex

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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: RH6.0 Support for > 1GB RAM
Date: Mon, 19 Jul 1999 10:15:10 -0500

Charles Saliba wrote:
> 
> I am using RedHat 6.0 on an HP server with 1.25 GB of memory, but I can
> only use 970MG.
> 
> Does anybody know if this limitation is in the kernel (2.2) or is it in
> Redhat release. And, is there a work around, because we are looking at
> upgrading the memory to 2GB to enhance performance.
> 
> Cheers,
> 
> --
>      _                                               _
>     / ) +-----------------------------------------+ ( \
>    / /  |                                         |  \ \
>  _( /_  | _   Charles Saliba                    _ |  _) )_
> (((\ \> |/ )  Software Engineer                ( \| </ /)))
> (\\\\ \_/ /   E-Mail : [EMAIL PROTECTED] \ \_/ ////)
>  \       / Tel: 613-260-1349  Fax: 613-526-2858  \        /
>   \    _/                                         \_     /
>   /   / +-----------------------------------------+ \    \
>  /   /                                               \    \

I think you may be able to do this with an option passed
to the kernel in lilo.conf.  I forget what it is.

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup,redhat.general
Subject: Re: root password
Date: Sun, 18 Jul 1999 22:14:39 -0400

"Quiney, Philip (EXCHANGE:HAL02:HM10)" wrote:
---
> You can start the system in single user mode. At the LILO prompt type:
> linux single
> 
> When it finishes you will have a shell as root already logged in. You
> can then run the fsck command as:
---
     Why doesn't single user mode ask for root's password as well?  It
would seem to me that this could be a security breach.  What is there
to stop someone from walking into my office, booting my system up in
single user mode, and then having their way with my files?

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

From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: linux on powerpc
Date: Mon, 19 Jul 1999 14:22:27 GMT
Reply-To: [EMAIL PROTECTED]

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] (John Doe) writes:
> 
> Is there any thing equivalent to the dos program FIPS 
> for mac.

Nothing that's open source or freeware, AFAIK. I'm told that some of the
third-party Mac disk partitioning programs will do this, though, so you
might look into them.

> Also I read about this yellow dog linux and now I can only
> find www.linuxppc.com.  How many distributions are there 
> for linuxppc.com?

linuxppc.com is a domain name, and one associated with a specific
distribution (LinuxPPC).  Yellow Dog is an alternative distribution (I
don't know their URL offhand), as is Debian (http://www.debian.org). 
There's also MkLinux, which actually places the Linux kernel atop the
Mach micro-kernel, so MkLinux is the oddball of the bunch.  Apple was
behind MkLinux for a while, but I gather that they've lost interest in
it.

-- 
Rod Smith
[EMAIL PROTECTED]
http://www.channel1.com/users/rodsmith
NOTE: Remove the "uce" word from my address to mail me
Author of _Special Edition Using WordPerfect for Linux_, from Que

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

Date: Mon, 19 Jul 1999 11:20:13 -0400
From: Greg Coggins <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: FVWM and VIrtual Windows

I am using FVWM and having two problems.  Minor that they are I would
like to fix them

1. I have a system now that I use for client Internet browsing in our
Library. Right now, the system automatically su's into the public user
in whose .bashrc file says to startx and exit. This starts the .profile
and .xinitrc in the user pub directory.  Therefore when they kill the
browser, init will respawn it. We have just moved to the RedHat 6
version of Linux and are using fvwm as our window manager. When the
machine starts up, fvwm will not start until I manually reset the
X-server using the ctrl+alt+backspace, however netscape does and
netscape is part of the same scripts.  Does anyone have any ideas as to
why this is?

2. I have also noticed that I am getting random virtual windows.  I am
not sure why, but they are there at will.  Would like get this stopped,
but do not want to have to run the XF86Config to do this.  Any thoughts?

Thanks,
Greg


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

From: [EMAIL PROTECTED] (GUAY Dominic)
Subject: How to read/write/format MS-DOS floppy disks???
Date: Mon, 19 Jul 1999 14:27:47 GMT

Hi.
I need to do this under Linux.
Does anyone know if this can be done?
thanks,
D
-- 


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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: HELP PLEASE!!  saving a linux file in windows 98
Date: Mon, 19 Jul 1999 09:36:44 -0500

James Boehnlein wrote:
> 
> Hi,
> 
> Can someone please help me out??    About a month ago I was successful
> at mounting my Windows partition and reading files.  I was even able to
> transfer some graphics files that I saved in Linux to a Windows
> directory.  Now for the life of me when I try to transfer a file from
> Linux to Windows 98 directory it says "this is a read-only file
> system".    What is going on here.   I am root and the only thing I did
> is put this line in my etc/fstab
> 
> /dev/hda      /root/c     vfat     auto,users  0 0
> 
> What is going on here - How did I save the Linux files in Windows
> 98??      What might I be doing wrong??        Thanks in advance.
> Jim
I think you have to specifically say the file system is
rw.  For example, the mount man page suggests

/dev/cdrom  /cd  iso9660  ro,user,noauto,unhide

as the proper entry for a CDROM drive (which of course would be
read only.)  There doesn't seem to be much reason to  put
the auto option in since you have specified vfat anyway.  So
I think

/dev/hda      /root/c     vfat     rw,user,noauto,unhide  0 0

should work so you could mount the partition as will and be
abel to write to it as an ordinary user.  Of course, you would
also have to arrange that the directories (Windows folders)
you wanted to write to had permissions allowing ordinary users
to write to them.

Given the possibility of messing up Windows, I've always
resorted to su'ing to root when writing to my Windows partitions.
That way, I know I am doing something potentially dangerous
and am apt to be more careful.

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

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

From: toby <[EMAIL PROTECTED]>
Subject: Re: How to read/write/format MS-DOS floppy disks???
Date: Mon, 19 Jul 1999 11:19:22 -0400
Reply-To: [EMAIL PROTECTED]

shell>mount -t msdos /dev/fd0 /mnt/floppy

or

shell>man mtools


You need to have support for msdos and fat fs built into the kernel or
the modules loaded: fat.o first, then msdos.o.

Toby

GUAY Dominic wrote:

> Hi.
> I need to do this under Linux.
> Does anyone know if this can be done?
> thanks,
> D
> --


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

From: Kevin Lamonte <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.amiga.misc,comp.os.linux.advocacy
Subject: Re: Shortcomings of Linux?
Date: 19 Jul 1999 15:46:56 GMT

In comp.os.linux.advocacy [EMAIL PROTECTED] wrote:
:>In article <7mkmun$knv$[EMAIL PROTECTED]>,

In this thread I've seen several references to the "Linux API", e.g.:

: Apple is working on Darwin - a 4.4BSD/Mac OS X server based O/S.  Not
: sure if it support the Linux API...[snip]

Question:  What exactly is the "Linux API" being referred to?

Are we discussing the Linux Device Driver API?  The Linux Networking API?
The Linux Kernel Module API?  These things I know are linux-specific API's.
Everything else I've come across is simply "Unix networking API" (e.g.
sockets).  I ask this because I don't see the relevance of the "Linux API"
to this discussion -- everything I've written for networks requires minor
#ifdef changes for the OS ported to.  I've got one application right now
that does OSF, AIX, Solaris, Linux/libc5, Linux/glibc, all with #ifdefs
around two lines (getsockopt/setsockopt)!  Which "Linux API" is so unique
that it must be compared separately from BSD?

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

From: [EMAIL PROTECTED] (Jon Skeet)
Crossposted-To: comp.os.linux.setup,redhat.general
Subject: Re: root password
Date: Mon, 19 Jul 1999 16:30:25 +0100

[EMAIL PROTECTED] wrote:
> "Quiney, Philip (EXCHANGE:HAL02:HM10)" wrote:
> ---
> > You can start the system in single user mode. At the LILO prompt type:
> > linux single
> > 
> > When it finishes you will have a shell as root already logged in. You
> > can then run the fsck command as:
> ---
>      Why doesn't single user mode ask for root's password as well?  It
> would seem to me that this could be a security breach.  What is there
> to stop someone from walking into my office, booting my system up in
> single user mode, and then having their way with my files?

Nothing - but then, as I suspect there will be other posts to say, a 
computer which is not physically secure is *not* secure anyway.

There would be nothing to stop someone coming along with a boot floppy 
and mounting your hard disks anyway - and starting the system in single 
user mode allows you to set the root password if you forget it.

Consider physical access to a machine to be equivalent to root access.

-- 
Jon Skeet - [EMAIL PROTECTED]
http://www.pobox.com/~skeet/

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

From: rob <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,redhat.config
Subject: Re: Question regarding syslogd and syslog.conf
Date: 19 Jul 1999 14:31:07 GMT

How do i specify daemons?  Like i'd like to see all su messages.

Sitaram Chamarty wrote:
> 
> On Thu, 15 Jul 1999 13:31:04 GMT, rob <[EMAIL PROTECTED]> wrote:
> >Hey there, here's a quick one for you.  I want to see
> >practically everything that goes in and out of my machine via
> >syslog.  I thought i had my current syslog.conf file good...
> >but i don't see su attempts or auth attempts and the like...
> >how would i see *everything?*  thanks for your time.
> 
> Putting the line
>     *.* /var/log/messages
> in syslogd.conf makes _every_ message go into the specified file.
> 
> This only applies to daemons/programs that make use of syslog, of
> course (but most all of them do).
> 
> It also leads to *huge* amounts of output from - say - pppd!  Be
> warned :-)


==================  Posted via SearchLinux  ==================
                  http://www.searchlinux.com

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

From: Chris Harshman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,alt.os.linux
Subject: Re: Dead daemons?
Date: Mon, 19 Jul 1999 09:42:20 -0500

I just had my apprentice drive down from Arrowhead
to take a gander at the logfile hardcopy (sulog
and interactive login connections are tee'd to
files in /var/log as well as to an ancient Panasonic
1123 dot matrix printer - unalterable).  No su's
to root, no suspicious logins.  Just a pair of
dead daemons, one week apart.  Any other ideas?

- chris

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

Crossposted-To: comp.os.linux.advocacy
Date: Mon, 19 Jul 1999 08:25:53 -0600
From: "Youngert" <[EMAIL PROTECTED]>
Subject: Looking For HOWTO SuSE-CD

I could easily upgrade my RedHat CD set using CD-R/W media whenever RedHat
has put out the patches or updates.  Thanks to the people who wrote and
provide the HOWTO RedHat-CD.

Now that I have setup my Linus machine with the SuSE-6.1 distro, I would
like to know if there is such a HOWTO SuSE-CD or at least a written
procedure that I can follow to update my SuSE-6.1 CD set.

--
[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED]
Subject: Shells
Date: Mon, 19 Jul 1999 15:55:01 GMT

Hi,

I know there are many different shells available for linux.  What are
the most popular shells and what are the +'s and -'s for each shell.
Currently using bash. I would like to hear all of your opinions, so I
hope to hear many threads. TIA.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: Horst von Brand <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: CIA assassinations
Date: 19 Jul 1999 11:55:05 -0400

Phillip Lord <[EMAIL PROTECTED]> writes:
> >>>>> "Stefaan" == Stefaan A Eeckels <[EMAIL PROTECTED]> writes:

>   Stefaan> BTW, christianity also had/has enourmous appeal for
>   Stefaan> millions of oppressed people. Does that mean it's also
>   Stefaan> doing something right?

>       Definately. To (approximately) quote Marx "religion is the
> hope of the hopeless, the heart in a heartless world, the opium of the
> masses". Sadly even an impulse like this can be corrupted, and in many
> cases the large organised religions have turned into their own forms
> of oppressive machinary. The catholic chuch for most of this millenium
> is the best example.

And Marxism turned into a religion of sorts too...
-- 
Dr. Horst H. von Brand                       mailto:[EMAIL PROTECTED]
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

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

From: Horst von Brand <[EMAIL PROTECTED]>
Subject: Re: RedHat 6.0 instability
Date: 19 Jul 1999 12:02:28 -0400

[EMAIL PROTECTED] (Sitaram Chamarty) writes:
> On Fri, 16 Jul 1999 19:05:37 GMT, Sean Harding <[EMAIL PROTECTED]> wrote:
> >bit of trouble with programs randomly crashing (usually without a core
> >dump, so there's no way to see what happened) on my machine. The computer

[Much good advise deleted]

Check the RedHat updates, particularly the XFree86 shipped with RedHat 6.0
has a tendency to freeze or crash.
-- 
Dr. Horst H. von Brand                       mailto:[EMAIL PROTECTED]
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Problem with dial-up networking on Linux
Date: 19 Jul 1999 09:20:26 -0500

Mike Arias ([EMAIL PROTECTED]) wrote:
: I have gone through all the HOW-TO's and I am still not able to establish 
: a ppp connect with my ISP.  Here's what the log file looks like:

: Serial connection established.
: Using interface ppp0
: Connect: ppp0 <--> /dev/ttyS0
: sent [LCP ConfReq id=0x1 <mru 1500> <magic 0xdabccd7b> <pcomp> <accomp>]
: last message repeated 9 times
: LCP: timout sending Config-Requests
: Connection terminated.
: Exit.

This means that there is no PPP daemon running at the ISP or nothing at
all on the other end of the line.  The chat script isn't providing the
right things for the ISP to connect and start PPP.  One common problem
is a chat expect send like   CONNECT ''   which sends a carriage return
that confuses some ISPs.  This can be avoided by using   CONNECT  '\d\c'
when the chat script is written as chat arguments or   CONNECT \d\c
when the chat script is specified by the chat option -f .

Take a look at the chat messages using the chat -v option, they'll
usually give you a clue.  They should be in one of the log files defined
in /etc/syslog.conf .

: I've tried using +pap, +chap, ogin:.  Nothing seems to work.  I know for a 
: fact that they (my ISP) have the 3Com Total Control boxes.  I am able 
: toconnect from within Win95, and NT.

You never got to the stage where any of the pppd options make a difference.
And you don't want +pap or +chap anyway, they require the ISP to identify
itself to you and those that do are as rare as hen's teeth.

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* The signal-to-noise ratio is too low in many [news] groups to make
 * them good candidates for archiving.
 *    --- Mike Moraes, Answers to FAQs about Usenet */

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

From: gus <[EMAIL PROTECTED]>
Subject: Re: sin + cos in C
Date: Mon, 19 Jul 1999 17:06:50 +0100

Gergo Barany wrote:
> 
> In article <[EMAIL PROTECTED]>, Stephen Chadfield wrote:
> >Glitch wrote:
> >>
> >> any reason why we have 2 more responses than neeeded?
> >
> >You don't understand how newsgroups work, do you?
> 
> Part of using newsgroups is the ability to foresee which questions will
> get many responses, and to not answer them.
> 
> Gergo
> 
> --

To quote Major Major Major in Heller's Catch 22 "And what if everybody
thought like that?"

gus

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

From: [EMAIL PROTECTED]
Subject: Virtual consoles, terminals, process questions
Date: Mon, 19 Jul 1999 15:45:46 GMT

How can I prevent processes from dying when the terminal dies?
Example: Telnet in. Start program. Telnet gets disconnected. Currently,
the program dies with the connection.

Also, how can I move processes from one tty to another? Let's say I
start up a program while telnetted in, then I login on the console and
want to continue that program there. Is there a way?

Yet Another Question: If the screen on the console gets trashed, that
is, there's a bunch of high ascii stuff where there ought to be regular
text, how can I get it back? Assume that I can type commands, although I
can't see what I typed. I've had this happen, and clear or reset just
makes the screen go to it's equivalant of blank with characters at the
top that look like the command prompt, except with weird characters
instead of letters.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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


** 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.misc) 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-Misc Digest
******************************

Reply via email to