Linux-Misc Digest #748, Volume #18               Sun, 24 Jan 99 10:13:15 EST

Contents:
  Netscape must have libg++?? (Kenny Zhu)
  Re: tgz file (Ronny Haryanto)
  compiling and booting from 2.2.0-pre9 ("JaKoon")
  Re: running Spice under Linux ("John McKown")
  tgz - uncompressing using ANY UNIX ("Michael Lee Yohe")
  Re: Linux instead of Windows - just one problem (Ben Sandler)
  Problem with large memory ("Noah Malmstadt")
  Re: pax archiver (fred smith)
  Re: Home Network Guidance - Please ("Robert C. Paulsen, Jr.")
  Re: Home Network Guidance - Please ("Rob Lauer")
  CyberVision C52 monitor and X (Douglas J Hagen)
  How to make wine access ports directly.? (Miernik)
  Re: A newbie versus "vi" (Leslie Mikesell)
  Re: running SL / RH without swap partition (David Efflandt)
  Re: Linux or FreeBSD? (Martin Dieringer)

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

From: [EMAIL PROTECTED] (Kenny Zhu)
Subject: Netscape must have libg++??
Date: 24 Jan 1999 05:02:44 GMT

I just upgraded my gcc to 2.8.1 and my g++ lib too. And I thought I don't
need the old libg++.2.7.o any more so I deleted it. Now my Netscape
Navigator 4.0.6 doesn't work any more. What's the problem here? How to
circumvent it? Thanks.

Kenny


--
                       __--------__
                     /      |      \
                    /       |       \
                 _[/----------------- \]_
               / _ |\       0        /| _ \
              | (_)| \              / |(_) |
              |____|__\_____!______/__|____|
              [________|  KENNY  |_________]
               |__|     ~~~~~~~~~      |__|
       ___  _________  ___  ___   ___    __ _______  __
      / _ )/  _/ ___/ / _ )/ _ | / _ \  / //_/ __/ |/ /
     / _  |/ // (_ / / _  / __ |/ // / / ,< / _//    / 
    /____/___/\___/ /____/_/ |_/____/ /_/|_/___/_/|_/  
                                                  
 $$$$  http://www.chebucto.ns.ca/~ah190/Profile.html $$$$

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

From: Ronny Haryanto <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: tgz file
Date: Sun, 24 Jan 1999 05:13:29 GMT

Jeff Grossman wrote:
> What is a tgz file?  And how do I uncompress it?

it's actually a gzip compressed tar file. so after you gunzip, it's a tar
file, you then can use tar to unarchive it.

if you have gnu tar (which most linux has), can use 'tar xfz filename.tar.gz'

-- 
"The shortest distance between two points is under construction." --Alito

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

From: "JaKoon" <[EMAIL PROTECTED]>
Subject: compiling and booting from 2.2.0-pre9
Date: Sat, 23 Jan 1999 22:31:51 -0600

I'm running my linux off of my k6-2, i've compiled a new kernel, and
modified my lilo.conf, i think that i'm ready to go, but when i boot to that
kernel, my machine immediatley reboots (no error message or anything)...i'm
wondering if it's because i chose the wrong processor type in the configure
step of the kernel compiling process...which one should I choose?
thanks for the help!




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

From: "John McKown" <[EMAIL PROTECTED]>
Subject: Re: running Spice under Linux
Date: Sat, 23 Jan 1999 23:48:39 -0600

Usually you use the redirection operator

spice <input.file

This assumes that is really is reading stdin and not /dev/tty (direct to
console).



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

From: "Michael Lee Yohe" <[EMAIL PROTECTED]>
Subject: tgz - uncompressing using ANY UNIX
Date: Sun, 24 Jan 1999 00:04:50 -0600
Crossposted-To: linux.redhat.misc

>What is a tgz file?  And how do I uncompress it?

tar xzvf {name of tgz file}

This only works with the GNU version of "tar".  Most UNIXes don't use the
GNU version of tar.  Thus, the syntax would be reported as incorrect.  The
"universal" way of uncompressing the tgz (.tar.gz) file:

zcat {name of tgz file} | tar -xvf -

 ***************************************************************************
 * Michael Lee Yohe                                   Office:      TH N318 *
 * UAH ASPIRE System Administrator                    Office: 256-890-6904 *
 * UAH CS Assistant Administrator                       Home: 256-828-2667 *
 * Email: [EMAIL PROTECTED]        Web: http://www.aspire.cs.uah.edu/mlyohe *
 ***************************************************************************




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

From: Ben Sandler <[EMAIL PROTECTED]>
Subject: Re: Linux instead of Windows - just one problem
Date: Sun, 24 Jan 1999 06:42:37 +0000

Phil Brutsche wrote:
> 
> On Fri, 22 Jan 1999, Ben Sandler wrote:
> 
> > I'm running an all-Linux shop here.  There's someone (the boss) who
> > wants one machine for himself just to do data entry in Excel.  I'm sure
> > if I sat him down at a Linux box with Star Office and told him it's just
> > like Windows, he'd be fine.  That is, until I told him that he needs to
> > type mount /mnt/floppy before he uses his floppy disk, and umount
> > /mnt/floppy afterwards.  Is there any simple way to have the floppy
> > drive automatically mounted and umounted, without running development
> > kernels or hacking at it for 3 days and 3 nights?  I'm running RedHat
> > 5.1, standard install out of the box.
> You could try to use the automount daemon, amd.  When he tries to access
> /mnt/floppy, the daemon will automatically mount /dev/fd0, and will try
> every five minutes or so to unmount /dev/fd0 until it succeeds.  I think
> the time delay is configurable.
> 
I'm sorry if I sound like a moron, but I've having a lot of trouble
getting this set up.  Does amd use fstab to get the mount points?  Is
/etc/amd.conf the only file I need?  Do you have a working setup I could
look at?  The only thing I want to automount is the floopy drive.  I
used the example from the man page, and amd runs, and I created a
/mnt/floppy section, but I don't get anything trying to ls the floppy. 
Any help would be greatly appreciated.

Thanks,
- Ben

> There's also autofs, although I'm not sure whether or not that's 2.2+
> only.
> 
> ----------------------------------------------------------------------
> Phil Brutsche           [EMAIL PROTECTED] | [EMAIL PROTECTED]
> 
> Microsoft:  "Where do you want to to today?"
> Linux:  "Where do you want to go tomorrow?"

-- 
Ben Sandler
email me: sandler at ymail dot yu dot edu

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

From: "Noah Malmstadt" <[EMAIL PROTECTED]>
Subject: Problem with large memory
Date: Sun, 24 Jan 1999 00:06:15 -0800

I recently added 64Mb to my 32Mb system.  I included the requisite append
"mem=96M" line to my lilo.conf file as well.  Now however, while running X,
I get very bad behavior very quickly.  The behavior varies, either lock-ups
(I can't even toggle to a different console) or severe video degradation
that quickly makes the screen unreadable.  I'm pretty certain the memory is
all good--it all works fine together when I'm running NT and the new 64Mb
runs Linux fine on its own.  Oh, one more thing, when I run "free" on the
command line with all 96Mb of memory in, I get only 64Mb.  Any ideas?

Thanks,
Noah

PS:  I'm running slackware 3.4 on a P100.  I've had problems with both olvwm
and afterstep as the window manager, but they seem more severe with
afterstep.



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

From: [EMAIL PROTECTED] (fred smith)
Subject: Re: pax archiver
Date: Sat, 23 Jan 1999 18:56:17 GMT

John McKown ([EMAIL PROTECTED]) wrote:
: I've seen a "new" archive format called "pax". From what I've read, it is
: the "correct" one to use to be POSIX compliant. Anyway, has anyone seen a
: Linux version? In case you're interested, the IBM mainframe at work
: implements this - that's why I'm curious. It implements tar and cpio too, so
: transfering files in not the question. I'm just weird enuf to be curious. I
: have found the source, got errors when I tried to compile, tried to fix
: errors, compiled clean, but the silly thing goes into an infinite loop
: recursing subdirectories. I'll work on it as I have time, but was wondering
: what others thought. No, I don't know why we need yet another archiver
: function.

Pax isn't really NEW, but anyway... There is an implementation of PAX
written in the late eighties by Mark Colburn. I also saw one once on a
BSD archive (sorry, can't remember where) which was a completely different
implementation.

I've got source here for a slightly modified (mostly fixes) version of 
Mark Colburn's PAX, I can make it available if anyone wants it, or if
anyone has a web or ftp site it can be placed on. It compiles just fine
on my Linux box, or on SCO and AIX at work.

Fred


--
---- Fred Smith -- [EMAIL PROTECTED] -----------------------------
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
      it with justice and righteousness from that time on and forever."
=============================== Isaiah 9:7 (niv) ==============================

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

From: "Robert C. Paulsen, Jr." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Home Network Guidance - Please
Date: Sat, 23 Jan 1999 22:41:39 -0600



David Francis wrote:
> 
> Hello:
> 
> I have just torn down a dedicated PPP internet connection with a block of
> assigned IP addresses and moved the server to my office. Now, back at the
> homefront, I have set up a brand-new RedHat 5.2 LINUX system...
> 
> My only Internet access now is a dynamicaly assigned IP address through a
> dial-up connection. I want to set-up my LINUX box to dial-out on demand from my
> Win9* boxes on the home LAN.
> 
> LINUX Box= 192.168.0.1
> Win9* Box= 192.168.0.2
> 
> I don't need to be "spoon fed" the steps. I'd just like to get others input on
> how they handle this routing scenario, security considerations, various
> options, etc...
> 
> Any pointers would be appreciated. Thanks in advance.
> 

1) Compile the kernel to include ip-masquerading.
2) Put the following somewhere near the end of your boot scripts (e.g.
rc.local):
        ipfwadm -F -p deny
        ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0
3) Set up ppp.
4) Set up diald.
5) Configure all other boxes on the LAN to:
        a) use 192.168.0.1 as their gateway
        b) use the ISP's name server as their name server

(I think that's a little short of "spoon fed")

-- 
Robert Paulsen                         http://paulsen.home.texas.net
If my return address contains "ZAP." please remove it. Sorry for the
inconvenience but the unsolicited email is getting out of control.

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

From: "Rob Lauer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Home Network Guidance - Please
Date: Sun, 24 Jan 1999 00:09:29 -0500


David Francis wrote in message ...
>Hello:
>
>I have just torn down a dedicated PPP internet connection with a block of
>assigned IP addresses and moved the server to my office. Now, back at the
>homefront, I have set up a brand-new RedHat 5.2 LINUX system...
>
>My only Internet access now is a dynamicaly assigned IP address through a
>dial-up connection. I want to set-up my LINUX box to dial-out on demand
from my
>Win9* boxes on the home LAN.
>
>LINUX Box= 192.168.0.1
>Win9* Box= 192.168.0.2
>
>I don't need to be "spoon fed" the steps. I'd just like to get others input
on
>how they handle this routing scenario, security considerations, various
>options, etc...
>
>Any pointers would be appreciated. Thanks in advance.
>
>David
>[EMAIL PROTECTED]


David,

First, although you don't want to be spoon fed, I found Paul G. Sery's book
"Linux Network Toolkit" extremely helpful.  It not only addressed the
specific issue you are asking about, but provided some other information
about Samba that helped out.  You'll want Samba for sharing network
resources with Windows clients.  It is installed in the RH 5.2 install if
you installed everything.

Briefly, you'll need to set up the ppd daemon.  You'll also want the diald
daemon available at Sunsite or from various other sites including the diald
homesite http://www.loonie.net/~eschenk/diald.html This will allow you to
setup dial on demand.  You will also need to setup ip masquerading and will
probably want to install some firewall rules.  Use ipfwadm for this task.

Again, I think you'll find that even a techie will appreciate the help from
the book I referenced.

Some gotchas...

1. Win 98, Win 95 (w/SR2) and Windows NT all use encrypted passwords so
check out the specific info about this issue in the Samba documentation.
You need to either disable that on the clients or support it at the server
level (one or the other).  Check the docs...

2. If you want your clients to be able to use an ftp program like CuteFTP or
other ftp client you'll need to add the ip_masq_ftp.o module.  On my RH 5.2
install it worked as follows:

insmod /lib/modules/2.0.36-0.7/ipv4/ip_masq_ftp.o

3. If you do put up some firewall rules ala the book instructions, make sure
you add some services to /etc/services as needed.  I needed to add https and
aol for example to get to E*Trade and AOL respectively.  My kids
workstations have AOL going through TCP/IP rather than dial-up.  I keep an
AOL account even though I have another ISP so the kids don't bug me for
help, they just get it from their friends.

4. Test the internet connection from your workstations before building your
firewall.  This way you'll know that it's your rules blocking the traffic
and not some other setup problem.  The line below will basically enable ip
masquerading.  This allow your client stations to use the connection.  Lot's
of good info on this at http://www.xos.nl

ipfwadm -F -p masquerade

5. You'll need to tweak some of the timeout parameters for diald.  The file
to hack is /usr/lib/diald/standard.filter.  This looks pretty intimidating
but after you read more about what diald does it will make some sense.  Read
the FAQs and docs carefully.  I tweaked the www source and destination
timeouts to 900 and 900.

accept tcp 900 tcp.dest=www
accept tcp 900 tcp.source=www

This gives users about 15 minutes of no traffic before the link will go
down.  You can keep the link up all the time if you want by placing the
single word rule 'up' in the diald.conf file.

I stay up all the time in my neck of the woods since my ISP is a local call,
but I chose to be nice to the rest of the users and give up the line if no
one in the family has generated any traffic in the last 15 minutes.

Not a lot of spoon feeding there I hope, just some nudges in the right
direction.  Good luck!




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

From: Douglas J Hagen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.x,comp.os.linux.hardware,alt.os.linux
Subject: CyberVision C52 monitor and X
Date: Sat, 23 Jan 1999 13:24:18 -0500

Hello...

I'm a newbie at Linux and have a problem with my monitor and X-windows.
I have Linux installed fine on my computer, but at startx, I cannot get
my display configured at all!  I know that it has to do with the
modelines, but that's where my knowledge ends.

If anyone out there has a CyberVision monitor or is a modelines guru,
PLEASE reply via email to me!  Any help is GREATLY appreciated!

--
Doug Hagen
[EMAIL PROTECTED]



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

From: Miernik <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: How to make wine access ports directly.?
Date: Sat, 23 Jan 1999 23:28:14 GMT

I run a program under wine which controls my local PBX telephone
exchange. It uses the COM2 port, but it accesses it directly. Linux
doesnot allow wine to do that. What can I do?

--
www.miernik.nask.com/miernik/        _/                             _/
[EMAIL PROTECTED]   _/_/    _/_/_/                        _/ _/
                         _/ _/  _/ _/     _/_/  _/ _/ _/ _/_/     _/  _/
GSM: (+48) 603 201 700  _/  _/_/  _/_/  _/  _/ _/_/  _/_/  _/ _/ _/ _/
tel.:(+48 22) 7744 700 _/   _/   _/_/  _/_/_/ _/    _/    _/ _/ _/_/
page:(+48) 64 2222 864_/        _/_/  _/     _/    _/    _/ _/ _/  _/
ICQ UIN: 4004001     _/        _/ _/_/ _/_/ _/    _/    _/  _/_/    _/

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

From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To: comp.os.linux.setup
Subject: Re: A newbie versus "vi"
Date: 20 Jan 1999 22:57:53 -0600

In article <[EMAIL PROTECTED]>,
Kelly and Sandy  <[EMAIL PROTECTED]> wrote:
>
>    Well, of course in the time it's taken for me to be reading this
>after the initial posting, I've kind of gotten used to, or at least less
>scared of vi.  Thanks to people who emailed me saying basically "there's
>only 3 commands I ever remember, i to go into insert mode, (ESC) ZZ to
>save and exit, or (ESC) :q! to quit without saving".  This is
>reassuring.

Actually the first thing you should learn in vi is <u> (single undo)
and <U> undo all changes since you moved to the current line.  After
that you don't have to worry so much about mistakes.  'Real' vi only
had one <u> step (although it could have been a global that affected
the whole file), and the next <u> would reverse the previous.  Vim
adds more steps and makes you use control-r to redo an undo.

 Les Mikesell
   [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: comp.os.linux.x,comp.os.linux.setup
Subject: Re: running SL / RH without swap partition
Date: 23 Jan 1999 20:37:55 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 19 Jan 1999 08:56:18 -0500,
Daniel TONG <[EMAIL PROTECTED]> wrote:
>I have been running SL and RH without the swap
>partition. Now I have problem configuring x
>windows. Any possibility that it has something to
>do with the lack of the swap partition?
>
>I have 96 MB of ram.
>
>Any input to my email  [EMAIL PROTECTED] would be
>most appreciated.
>
>Daniel
>

I am not sure if the X configuration program hogs RAM,  but in RedHat 5.2 
I am currently running a root console and X with nxterm, licq, Netscape
and slrn in rxvt and am showing 47.5 meg used, 48.3 meg free and 0 swap
(1024x768 16 bpp).

--
David Efflandt    [EMAIL PROTECTED]
http://www.xnet.com/~efflandt/

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

From: Martin Dieringer <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: Linux or FreeBSD?
Date: 23 Jan 1999 20:14:54 +0100

Stephen Montgomery-Smith <[EMAIL PROTECTED]> writes:

> steve mcadams wrote:
> > 
> > [Snipped for brevity, quoted material marked with ">"]
> > On 22 Jan 1999 06:53:08 GMT, "Benny K.Y. Li" <[EMAIL PROTECTED]>
> > wrote:
> > 
> > >1. Stability, stability, stability
> > >2. Java support
> > >3. Support my SoundBlaster AWE 64
> > >4. Able to view VCD
> > >5. Simpler setup & management
> > 
> > Based solely on your requirements, I'd recommend Windows NT
> > Workstation.  (Gasp! Tar and feather the heretic!).
> > 
> 
> Except that it does not meet requirement 1.  Well, just my personal
> experience.  I don't use Windows NT much, but a friend at work
> uses it, and it gives him a lot of trouble.  So much so that
> our system administrator refuses to install NT on any more 
> computers.  (Now we are using FreeBSD.)

and point 5. (three floppy disks? LOL)

tar and gzip the heretic!


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


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