Linux-Setup Digest #804, Volume #19              Wed, 11 Oct 00 01:13:13 EDT

Contents:
  Re: dialup and a proxy server ("David Fulton")
  Re: Input/output error with Tape Drive ("Jeff Borders")
  configure script fails on gcc test ([EMAIL PROTECTED])
  Unable to detect a DVD while installing (Pankaj Sethi)
  Re: lossing chmod +s /usr/sbin/pppd setting after reboot (John)
  Re: help setting up newsreader... (John Hasler)
  Help! Samba 2.0.6 under RH 6.2 ([EMAIL PROTECTED])
  Re: NIC recommendation (John)
  X Fonts -- HELP (Dodd)
  Re: soffice51 install ("David ..")
  telnet enable ("GreatFree")
  Re: X question (gnome) ("bluster")
  Caldera's 2.4 Preview Release (Visitor)
  Re: lossing chmod +s /usr/sbin/pppd setting after reboot (Bill Unruh)
  Re: ###How to Install Linux Mandrake??### ("David ..")
  Re: soffice51 install (Mike Oliver)

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

From: "David Fulton" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.linux.dial-up,comp.os.linux.misc
Subject: Re: dialup and a proxy server
Date: Tue, 10 Oct 2000 00:48:28 -0600

I have noted in Red-Hat 6.1 that the PPP module fails to compile. you may
want to get  a new kernel and try your scripts again.

"David Efflandt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Sat, 2 Sep 2000 14:17:58 -0700, Steven L. Dahlin <[EMAIL PROTECTED]>
wrote:
> >Can anyone tell me if there is a product or a way to setup a proxy server
> >with dial up capabilities, i.e., allowing anyone on my network to make a
> >request and, if there is no current connection to the ISP, disl up and
> >establish the connection.  Earlier I tried diald but despite a lot of
input
> >from several and a lot of elbow grease I was unable to make it work.
> >Currently I am using a product call WinProxy on an NT workstation that
works
> >like a charm.  It was easy to setup and configure and has been easy to
> >maintain.  But I would certainly prefer to have a linux server in that
role,
> >but the pain and trouble of diald was too much.
>
> I had diald working great in RH 5.2, including a Perl fifo to monitor and
> control it.  But I never could get it to work in RH 6.1.  My
> pppd-demand.txt file at http://www.de-srv.com/linux/ may be helpful for
> getting demand pppd working.
>
> You don't really need a proxy.  There is a 3-liner in the IPCHAINS-HOWTO
> that will get you up and running with ip masquerade.  But you have to load
> the ip_masq_ftp module to ftp through it.  If you have a dynamic IP, you
> may also have to plug a 1 into /proc/sys/net/ipv4/ip_dynaddr.
>
> Note: I run my own caching DNS with zones added for my LAN (DNS-HOWTO) and
> haven't tried demand pppd with a dynamic IP.  It works fine with my laptop
> on the LAN whether it is running Mandrake or Win98se.
>
> --
> 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: "Jeff Borders" <[EMAIL PROTECTED]>
Subject: Re: Input/output error with Tape Drive
Date: Tue, 10 Oct 2000 22:59:57 +0400
Crossposted-To: comp.os.linux.misc

I'm loading the modules:
insmod scsi_mod.o 
insmod aic7xxx aic7xxx='verbose'
insmod st.o

I've even tried loading sg.o but it didn't matter.

The messages.log output is below.

kernel: (scsi0) <Adaptec AIC-7850 SCSI host adapter> found at PCI 0/19/0 
kernel: (scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs 
kernel: (scsi0) Cables present (Int-50 YES, Ext-50 YES) 
kernel: (scsi0) Downloading sequencer code... 415 instructions downloaded 
kernel: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.31/3.2.4 
kernel:        <Adaptec AIC-7850 SCSI host adapter> 
kernel: scsi : 1 host. 
kernel: (scsi0:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 15. 
kernel:   Vendor: SONY      Model: SDT-7000          Rev: 0150 
kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02 
kernel: st: bufsize 32768, wrt 30720, max buffers 5, s/g segs 16. 
kernel: Detected scsi tape st0 at scsi0, channel 0, id 4, lun 0 

I'm using an Adaptec 2910AU.  This card might have been sold by
Gateway2000, but the firmware is AIC-7850.  The 2910AU is not on the
supported list, but the AIC-7850 is.

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

From: [EMAIL PROTECTED]
Subject: configure script fails on gcc test
Date: Wed, 11 Oct 2000 02:58:19 GMT

I have this problem on two platforms now, AIX and Linux, we'll try linux
and i'll fix AIX later:

I'm running the configure script from GIMP 1.1.27 and it fails early
with:

checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.

I know that gcc works just fine since I've compiled other code with it
recently (in fact, after the error just to make sure)

config.log contains:

configure:1104: checking whether the C compiler (gcc  ) works
configure:1120: gcc -o conftest    conftest.c none 1>&5
gcc: none: No such file or directory
configure: failed program was:

#line 1115 "configure"
#include "confdefs.h"

main(){return(0);}


there is no conftest.c currently in the directory, but it looks like the
script is supposed to write and destroy it as it runs anyway.

If I cat that demo program to a file and compile, it compiles fine

perhaps the error is the word "none"  ??
I don't speak configurease, so I don't know if that's supposed to be
there or not.  Is there a quick way I can disable the gcc check and let
it keep running happily along?

much  thanks,

Matt K


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

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

From: Pankaj Sethi <[EMAIL PROTECTED]>
Subject: Unable to detect a DVD while installing
Date: Tue, 10 Oct 2000 23:19:56 -0400

Hi, 
I have a SAMSUNG DVD-ROM SD-612 on my PIII box. I tried installing linux, but it is 
unable to detect CDROM. ( I guess  linux will detect the DVD-ROM as a CDROM). Do I 
have any hope other then buying putting a supported CD-ROM on my box.
Thanks in advance
Pankaj

==============================================================================
          So close no matter how far, couldn't be much more from the heart
               forever trusting who we are, and nothing else matters
                                                       -Metallica

                              PANKAJ SETHI
                    614-688-8708(W)  614-294-9265(H)
                1550 Neil Ave, Apt D, Columbus, OH-43201 
                  http://www.cis.ohio-state.edu/~psethi
============================================================================== 


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

From: John <[EMAIL PROTECTED]>
Subject: Re: lossing chmod +s /usr/sbin/pppd setting after reboot
Crossposted-To: alt.linux,alt.os.linux,aus.computers.linux
Date: 11 Oct 2000 10:36:01 +0800

In aus.computers.linux David. E. Goble <goble@gtech> wrote:
> Hi all;

> Sorry, Iam running redhat 6.2. If I login as root on tty1 and login as
> root on tty4, and setuid from tty4, then exit/reboot cause this.

> As I was runng linuxconf on tty1 (to veiw the mail que[?]) and testing
> users email account on tty2. So as I did not want to waste time
> waiting for my old 486 to exit out of linuxconf then rerun it, I
> relogin thru tty4.


I've heard of linuxconf doing this to people. I don't run linuxconf;-)




-- 

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

From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,aus.computers.linux
Subject: Re: help setting up newsreader...
Date: Wed, 11 Oct 2000 02:27:55 GMT

Zebee Johnstone writes:
> Do a google search (www.google.com) on leafnode or slrnpull.

> Any other method requires your ISP to agree to feed you, it's easier to
> use something like slrnpull especially if you are using slrn.

Not true.  'suck' will work fine with either inn or cnews.  It sould be
included in your distribution.

> I usually copy the lpd script and change the appropriate bits.

You should copy the 'skeleton' script.  That's what it is for.  However,
the inn package should have installed a script.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

From: [EMAIL PROTECTED]
Subject: Help! Samba 2.0.6 under RH 6.2
Date: Wed, 11 Oct 2000 03:26:40 GMT

Hi, The upgrade from RH 5.2 to RH 6.2 is driving me crazy again. Just when I
thought I was done with all the problems that were created by the upgrade
from RH 5.2 to RH 6.2, I discovered that Samba behaves very strangely
(comparing to the previous version 1.9.18 that was installed on my RH 5.2).

[email]
   comment = Email directory, should be accessible by both user1 & user2
   path = /home/email
   valid users = user1 user2
   public = no
   writable = yes
   printable = no
   create mode = 0770
   force group = email
   strict locking = yes

both user1 and user2 belong to the group 'email'. All I want is that both
user1 and user2 will be able to access the directory /home/email as a shared
volume from their Win98 machines.

drwxrwx---    7 user1   email        1024 Sep  5 23:26 /home/EMAIL

This (along with the above smb.conf section) used to work for me FLAWLESSLY
under RH5.2 and Samba 1.9.18. However, under RH 6.2 and Samba 2.0.6 only
user1 can access the shared email directory. user2 which belongs to the email
group, is denied access for some reason. Except for upgrading to RH 6.2 I
have changed NOTHING in the system (nor smb.conf neither anything in the
Win98 clients).

Any clue to the mystery?

TIA,
Swengtoo

P.S. I tried to find some clues in the samba log files, but all they say is:

[2000/10/10 22:24:21, 0] smbd/service.c:make_connection(487)
  Can't change directory to /home/email (Permission denied)

So I can't really tell WHY it can't change directory.



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

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

From: John <[EMAIL PROTECTED]>
Subject: Re: NIC recommendation
Crossposted-To: alt.os.linux,comp.os.linux.hardware
Date: 11 Oct 2000 10:54:14 +0800

In comp.os.linux.hardware Steve Jost <[EMAIL PROTECTED]> wrote:
>> #Hi all,
>> #
>> #I recently purchased a NetGear NIC model FX-310 that I discovering is NOT
>> #the best choice for my Cyrix P150 Linux (RH 5.2) box. Could anyone make a
>> #recommendation for a more appropriate card??


I can't see the original post. However, I suggest updating Linux, or at least
the kernel, first.

2.0 kernels are a bit long in the tooth, wouldn't you say?




-- 

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

From: [EMAIL PROTECTED] (Dodd)
Crossposted-To: alt.linux,comp.os.linux
Subject: X Fonts -- HELP
Date: Wed, 11 Oct 2000 03:44:16 GMT

I just installed xfstt to try to get Truetype fonts working on my
RH6.2 box.  I got the RPM installed fine, copied the fonts to
/usr/share/fonts/truetype and sync-ed xfstt.  Now when I try to start
X (KDE) I get a Fatal Error that says it cannot find default font
'fixed'.  Where do I get 'fixed' and where do I put it??  And anything
else I need to know to get this thing to work again.

Thanks,

Dodd
Remove BLAH from e-mail to reply.

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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: soffice51 install
Date: Tue, 10 Oct 2000 22:54:12 -0500

"C. Shen" wrote:
> 
> I had install a SUN office (soffice51) on my linux machine. I installed
> it as a root, but now I can not use it as a normal user. When I login as
> a normal user, under xterm, I enter "soffice", and wait for a while(it
> seems it is runing under background), but nothing happend. If I change
> into root, I can run it very well.
> what's wrong with my configuration?
> 
> Thanks for your help.
> 
> chao

When you install you have to use the "/net" switch something like this.

so-5_1-linux-en.bin /net

I install it into /usr/lib as root. Then make a symlink from
"/usr/lib/office51/soffice" to "/usr/bin/soffice" then login as a user
and enter "soffice" or make a launcher for it on the desktop.

Hope this helps.
-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: "GreatFree" <[EMAIL PROTECTED]>
Subject: telnet enable
Date: Tue, 10 Oct 2000 21:10:05 -0700

Dear All,

The telnet on my Solaris 7 machine is disabled. No I need to enable it. How
to do that?

Thanks,
Bing





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

From: "bluster" <[EMAIL PROTECTED]>
Subject: Re: X question (gnome)
Date: Wed, 11 Oct 2000 00:30:20 -0400

Hagbard wrote:

> thanks for the reply.

You're welcome!

> after choosing a desktop program, when i exit and then restart will
> that desktop program be automatically loaded or would i have to run
> switchdesk again?  from what i recall when i had linux running for a
> bit earlier, it saves each users desktop information as a 'session' or
> something like that, so maybe i just answered my own question.

The switchdesk setting will stick, in fact you must restart X11 before
it takes effect.

> what files does 'startx' look to when deciding what you're running?
> i'd like to poke around and see what's what.

Well, it can be set up a lot of different ways, but the default
RedHat setup works kind of like this:(warning: big long post follows)

As far as the switchdesk thing goes, before a user selects an
individual desktop preference the system default is used, this default
desktop setting is stored in the /etc/sysconfig/desktop file.
Mine has one line:
DESKTOP="GNOME"
When a user does select an individual desktop preference using
switchdesk, a file named .Xclients is created in the home directory
for that user (e.g. /home/bluster/.Xclients) which contains the
"preferred desktop" setting.  More about this file later.
NOTE: - The file is "hidden" because the first character is a dot
      - the "ls -a" command will list all files (even if hidden)

The startx program looks first for personal settings files in the
users home dir. If not found there startx uses the system default
files in the /etc/X11/xinit/ dir.  These are the files looked at
by startx:

Personal settings|System Defaults  |            Basic
In Home Dir      |In /etc/X11/xinit|         Description
=================|=================|================================
.xserverrc       |    xserverrc    |To determine the server to run
.xinitrc         |    xinitrc      |To determine the client(s) to run

The default xinitrc script (which is run by startx) looks
for some personal settings files in the users home dir, and then system
default files in the /etc/X11/xinit/ dir, BUT xinitrc merges them
together and uses BOTH. These are the files looked at by xinitrc:

Personal settings|System Defaults  |            Basic
In Home Dir      |In /etc/X11/xinit|         Description
=================|=================|=================================
.Xresources      |   Xresources    |X server resource database settings
                 |                 | ("man xrdb" for more info)
=====================================================================
.Xmodmap         |   Xmodmap       |keyboard scancode-to-function mapping
                 |                 | ("man xmodmap" for more info)
=====================================================================
.Xkbmap          |   Xkbmap        |another style of keyboard settings
                 |                 | (that I've not fiddled with yet)
=====================================================================
.Xclients        |   Xclients      |script to start 1st X11 client prog's
                 |                 | (e.g. xclock, xterm, GNOME, etc.)

The last X11 client program started in the (.)Xclients script gets
control of the X server session, (when you close it the X server closes)
so that is usually the desktop manager if you use one (e.g. GNOME or KDE).

Gnome or KDE will look for a bunch of other files for its own settings,
saved desktops, menu items, desktop icons, background, etc., etc...

If you're feeling ambitious, the /usr/bin/X11/startx file itself is a
bash shell script, so it is viewable text, you can read it using the
less command, e.g. type:

[bluster@zephyr]$ less /usr/bin/X11/startx

You can get an idea of how X11 is started from reading it even without
knowing a lot about shell script programming.  The same thing goes for
the /etc/X11/xinit/xinitrc program.

BTW: you can find out what "type" a file is by using the "file" command e.g.

[bluster@zephyr]$ whereis startx
startx: /usr/bin/X11/startx
[bluster@zephyr]$ file /usr/bin/X11/startx
/usr/bin/X11/startx: Bourne shell script text
[bluster@zephyr]$

If you're not bored silly yet, then for even more info. do a "man" on the
commands in this message. :-)

> sorry if i sound like a complete dumbass, but when it comes to linux i
> am :-)

No problem, I like people who WANT to "learn to fish", instead of just
ordering up some fish 'n chips, their questions keep getting better! ;-)

Hope this helps,
Bluster



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

From: [EMAIL PROTECTED] (Visitor)
Subject: Caldera's 2.4 Preview Release
Date: Wed, 11 Oct 2000 04:32:14 GMT

I've installed Caldera's Technology Preview Release of the 2.4 kernel
and am at a loss how to fix this distro's problem with the shut-down
that RH 6.1 handles right.  It keeps rebooting instead of the power-off
shut-down it should be.

Windows ME had also a shutdown problem till I installed the new
driver for the Netgear FA310TX NIC, so I wonder if this Caldera
edition also needs updated NIC driver.

Could it be that these newer OS releases use a newer power management
that my PC's BIOS is not compatible with?

Anybody with a similar problem?

Thanks,
Joe

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

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: alt.linux,alt.os.linux,aus.computers.linux
Subject: Re: lossing chmod +s /usr/sbin/pppd setting after reboot
Date: 11 Oct 2000 04:33:56 GMT

In <[EMAIL PROTECTED]> John <[EMAIL PROTECTED]> writes:

]In aus.computers.linux David. E. Goble <goble@gtech> wrote:
]> Hi all;

]> Sorry, Iam running redhat 6.2. If I login as root on tty1 and login as
]> root on tty4, and setuid from tty4, then exit/reboot cause this.

]> As I was runng linuxconf on tty1 (to veiw the mail que[?]) and testing
]> users email account on tty2. So as I did not want to waste time
]> waiting for my old 486 to exit out of linuxconf then rerun it, I
]> relogin thru tty4.


]I've heard of linuxconf doing this to people. I don't run linuxconf;-)


If you click on 
"preview what has to be done"
you will see one of the lines
Changing permissions of file /usr/sbin/pppd from 105755 to 104755
which removes suid. It is totally stupid.
DO NOT CLICK ON "Activate Changes" All it does is cause trouble. 
Just Quit.
This is one aspect of Linuxconf that is just plain stupid.
I have severe doubts that the writers of linuxconf actually know
anything about security. I know that the people at redhat do not. They
make pppd not suid root, when it is almost useless without that, and
then they make a whole bunch of games suid root. 




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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: ###How to Install Linux Mandrake??###
Date: Tue, 10 Oct 2000 23:07:19 -0500

Learner wrote:
> 
> i am running win Me, but i want to install Linux Mandrake
> I used partition magic to create two partitions for Linux
> first is the Linux Ext2 partition and the other is the Swap partition. They
> both are logical partition. During the setup process, it requires me to
> create a root in the Linux ext2 partition, i don't quiet understand what
> does it mean.
> does anyone can tell me? it is in the partition setup part.
> 
> Please Help~

Picture a tree.
The "/" or root is where all files are installed with the branches being
the different partitions, directories and/or files.

ALSO known as RULER of the system.

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: Mike Oliver <[EMAIL PROTECTED]>
Subject: Re: soffice51 install
Date: Tue, 10 Oct 2000 22:03:52 -0700

"David .." wrote:
> 
> "C. Shen" wrote:
> >
>> I had install a SUN office (soffice51) on my linux machine. I installed
>> it as a root, but now I can not use it as a normal user.
> When you install you have to use the "/net" switch something like this.
> 
> so-5_1-linux-en.bin /net

If I might ask -- how did you find this out?  I saw no hint
of it on Sun's site (nor, really, any installation instructions
of any kind).

Also, when I installed StarOffice 5.2, it said something about
ABABAS not being available (not sure of spelling).  Any
idea what that is?

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


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