Linux-Setup Digest #104, Volume #19 Fri, 7 Jul 00 11:13:09 EDT
Contents:
Re: How To (DeAnn Iwan)
Re: LD_LIBRARY_PATH problem (=?iso-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: How To (=?iso-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: Newbie needs help... (sylvain hutchison)
Re: Still doesn't work... (=?iso-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: How To (Eric)
Re: Still doesn't work... (RMB)
Re: ATI All-in-Wonder 128 problem - support? (Alex)
Re: apache (Yidao Cai)
Re: Changing partition sizes - query (Eric)
Re: Still doesn't work... (Eric)
CHAP auth + Linux don't work ("linman")
How to boot from the *second* hard disk? (Paul Hughett)
HiSax and 2.2.14 ([EMAIL PROTECTED])
Re: Where to do this? ("D F")
meaning of "owner" option for mount (doug reeder)
Re: CHAP auth + Linux don't work (Villy Kruse)
----------------------------------------------------------------------------
From: DeAnn Iwan <[EMAIL PROTECTED]>
Subject: Re: How To
Date: Fri, 07 Jul 2000 09:16:15 -0400
You can read the cdrom files from linux or windows. There are probably
readme files on it that tell how to do the install.
"m.rossi" wrote:
> How to install Mandrake 7.1 from an Iso image downloaded on the web ?
>
> Thanks for your help !
------------------------------
From: =?iso-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: LD_LIBRARY_PATH problem
Date: Fri, 7 Jul 2000 15:15:21 +0200
On Fri, 7 Jul 2000, Gary Knopp wrote:
> I just installed RedHat Linux 6.2 (2.2.14-12). When I try to
> compile a C++ program, I get an error that it can't find any of the
> X libraries. The library path '/usr/X11R6/lib' is in the /etc/ld.so.conf.
> If I set the LD_LIBRARY_PATH=/usr/X11R6/lib, I still get an error.
> If I issue the env command I can see that LD_LIBRARY_PATH has
> been set, however the only way to get my program to compile is to hard
> code the lib path in my makefile.
LD_LIBRARY_PATH tells running programs where to find the runtime-libraries
at runtime. What you are trying is another sort of thing. You are linking
the program, but it has to find out what libraries to link with. The
directories searched by the linker are hardcoded in the linker, but you
specify additional search directories. I assume you are using the g++
compiler, and in this case you will have to do a g++ -L/usr/X11R6/lib
world.cc -o world. The -L parameter specify an additional directory to
search at link time. When you actually run the program, it will search the
directories specified in /etc/ld.so.conf and LD_LIBRARY_PATH. When
/usr/X11R6/lib is already in /etc/ld.so.conf, it should not be necessary
to do LD_LIBRARY_PATH.
Hope this helps.
Rasmus B�g Hansen
------------------------------
From: =?iso-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: How To
Date: Fri, 7 Jul 2000 15:19:44 +0200
On Fri, 7 Jul 2000, m.rossi wrote:
> How to install Mandrake 7.1 from an Iso image downloaded on the web ?
You will have to burn it to a CD and then do a CD install.
I am not sure if mandrake allows harddisk installs, but else you could
copy all the contents to a directory on your harddrive. This assumes, that
you already have a functional linux installed. Here is how to do it -
just change pathnames to your choice:
mkdir /tmp/mandrake
mkdir /tmp/mount
mount -o loop makdrake.iso /tmp/mount
cd /tmp/mount
tar cf - . | (cd /tmp/mandrake ; tar xf -)
And then you can do a harddisk install (you have to know what partition
/tmp/mandrake is on.
Good luck
Rasmus B�g Hansen
------------------------------
From: sylvain hutchison <[EMAIL PROTECTED]>
Subject: Re: Newbie needs help...
Date: Fri, 07 Jul 2000 09:23:17 -0700
First of all, you can change the resolution with the command "ctrl" "+" or "-".
But that won't change the settings, for that you have to go into
/usr/X11R6/lib/X11 and open XF86Config through pico or emacs or whatever text
editor you know (ex pico XF86Config), go down to the screen sections, and then
just put the "mode" (resolution size) you want your X-windows to start with (ex:
"1152x864) first, because X-windows will boot up with the firt resolution it
sees. And yes change them for all 3 modes (important one is depth 16).
Then exit, save changes, and that should do it, and reboot your computer of
course to make sure that the changes work.
Hope that works,
Sly.
PS: I forgot to tell you that my RH is 6.1, so I'm not sure about 6.2, the files
might not be in the same place, I don't know, if it is different can someone
tell him what is different!!!
Chaz wrote:
> I just installed RH6.2 for the first time running gnome also. problem is the
> display isto large for my monitor (ie. I have an off screen area in each of
> my desktops. ) how can i adjust the settings so I don't have to slide the
> desktop to get to icons or open windows. Any help would be greatly
> appreciated. the more detailed an answer the better as I'm dumber than dirt
> when it comes to linux. Thanks again.
>
> Chaz
------------------------------
From: =?iso-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: Still doesn't work...
Date: Fri, 7 Jul 2000 15:25:57 +0200
On Fri, 7 Jul 2000, RMB wrote:
> I posted the other day about a problem I was having with X
> starting up. I was told that in order to keep it from booting
> up, you go into the /etc/inittab file and change the line
> id:5:initdefault to id:3:initdefault.
>
> This didn't work.
Strange... Perhaps X is setup to start in runlevel 3? Try to look for a
line like:
xdm:5:respawn:/etc/X/prefdm
If it says xdm:35:respawn:/etc/X/prefdm, then remove the '3' - then it
should not run X in runlevel 3, which is your default, as I
understand. Note that the xdm:... line can change between distros - try
too look for the one, that seems to have something to do with X - usually
the last one.
> Is there anything else I need to change? I am having some
> problems configuring X. I don't want it to boot, I just want to
> boot into text mode.
configuring X? You mean it is not configured properly? Or do you mean,
that it starts on bootup?
In the first case try to run Xconfigurator (on RedHat) - else XF86Setup or
xf86config.
Rasmus B�g Hansen
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: How To
Date: Fri, 7 Jul 2000 13:06:26 GMT
Reply-To: [EMAIL PROTECTED]
m.rossi wrote:
>
> How to install Mandrake 7.1 from an Iso image downloaded on the web ?
>
> Thanks for your help !
Ehhh, burn image on a CD, put CD in CD-Drive, power-on PC and follow the
instructions on the screen. :-)
There are some things to pay attention to
You may need to make a bootfloppy if the PC can't boot from CD (image
will be on the CD, so copy from there).
And make sure to burn the CD as an image, don't copy it as a file to the
CD.
Make sure there's space to install linux into. If you've windows
installed you'll need to free a partition on that disc (Or plugin a new
one).
The installer of Manddrake is supposed to be very good, so folllow the
instructions and have yourself a nice linux install. ;-)
Eric
------------------------------
Subject: Re: Still doesn't work...
From: RMB <[EMAIL PROTECTED]>
Date: Fri, 07 Jul 2000 06:44:19 -0700
Well, I wouldn't mind it starting up and everything if I had X
configured correctly.
With xf86config, it asks a lot about your monitor and and video
card and stuff. I don't know that information and have been
trying to guess. I've been guessing wrong. In the meantime,
until I can find that monitor and v.card info, I just want it to
boot up into text mode.
Speaking of, do you know anywhere online where I can get monitor
infomation?
Thanks,
Ryan
>... configuring X? You mean it is not configured properly? Or
do you mean, that it starts on bootup?
>In the first case try to run Xconfigurator (on RedHat) - else
>XF86Setup or xf86config.
>Rasmus B�g Hansen
Ryan
[EMAIL PROTECTED]
===========================================================
Got questions? Get answers over the phone at Keen.com.
Up to 100 minutes free!
http://www.keen.com
------------------------------
From: Alex <[EMAIL PROTECTED]>
Subject: Re: ATI All-in-Wonder 128 problem - support?
Date: Fri, 07 Jul 2000 10:11:22 -0400
> I have the above mentioned card, and there is very little help for the
> RedHat 6.1 user. I have gone to SuSE.com, and gotten the XServer files. I
> have put them in usr. I have done a [file] --install on both of them. They
> say I need the Rage128 server. looks ok, but I cant figure out how to get
> the install to recognize it's there.
>
> Does someone have step-by-step instructions on how to unpackage and install
> this video server? Please Help!
>
Check this web site. I have the same card and I have followed the instructions
there. It works pretty well.
http://www4.ncsu.edu/~distclai/2daccel.html
Also, check out GATO. I might need it later on.
http://cvs.core.binghamton.edu/~insomnia/gatos/
hope this helps.
Alex.
>
> George Hardy
> [EMAIL PROTECTED]
--
============================================
The Search for Extraterrestrial Intelligence
http://www.seti.org/
Registered with the Linux Counter. ID# 175126
http://counter.li.org/index.html
------------------------------
From: Yidao Cai <[EMAIL PROTECTED]>
Subject: Re: apache
Date: Fri, 07 Jul 2000 09:12:30 -0500
Reply-To: [EMAIL PROTECTED]
It would NOT work by default, period. The reason was with RedHat's
private group.
One way to do it is to change the permission of /home/walterk. A better
way is to set up a directory /home/httpd/walterk and change UserDir to
/home/httpd in srm.conf.
cai
gLiTcH wrote:
>
> looking at the apache error_log wouldn't hurt either to make sure it is
> really looking to that directory
>
> walter wrote:
>
> > I set up apache as directed by my book. typeing in "http://localhost"
> > brings up the startup page provided. however when I type
> > "http://localhost/~walterk" or same with a trailing "/" I get a
> > message that I do not have permission in that directory. The
> > web page I am looking for is "/home/walterk/public_html/index.html"
> > It is there, It is set up as read/write for all. I also checked
> > the directory tree to make sure I could read and everything looks
> > good. I have run it as a user and as root and I still get permission
> > errors. The part of the config files that set up "user/public_html"
> > were left as default.
> >
> > what am I doing wrong?
> >
> > --
> > Posted via CNET Help.com
> > http://www.help.com/
--
email: [EMAIL PROTECTED]
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Changing partition sizes - query
Date: Fri, 7 Jul 2000 13:51:53 GMT
Reply-To: [EMAIL PROTECTED]
Rasmus B�g Hansen wrote:
>
> There are not many partitioners, that can change partition sizes. However
> you could try partitionmagic. It is commercial however, but it recognizes
> FAT (12, 16 and 32) ext2 and linux swap (which, I presume, are the
> relevant ones).
>
Well there's ext2resize (or something like that), it's free, try
searching freshmeat.net for it, or else google.com
And even better would be parted, which can handle FAT too and is also
free,
http://www.gnu.org/software/parted/
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Still doesn't work...
Date: Fri, 7 Jul 2000 14:13:56 GMT
Reply-To: [EMAIL PROTECTED]
RMB wrote:
>
> Well, I wouldn't mind it starting up and everything if I had X
> configured correctly.
>
> With xf86config, it asks a lot about your monitor and and video
> card and stuff. I don't know that information and have been
> trying to guess. I've been guessing wrong. In the meantime,
> until I can find that monitor and v.card info, I just want it to
> boot up into text mode.
>
> Speaking of, do you know anywhere online where I can get monitor
> infomation?
I do,
go to www.xfree86.org
There are a lot of pointers there
------------------------------
From: "linman" <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp
Subject: CHAP auth + Linux don't work
Date: Fri, 7 Jul 2000 16:30:52 +0200
Hello!
I have a problem with PPP 2.3.11 and REDHAT 6.2. My ISP use
CHAP authentication.
This is my /etc/ppp/options file
domain xxxxxxx.net
crtscts
modem
defaultroute
noipdefault
I connect with minicom to my ISP then
CTRL A Q and try
pppd -d -detach /dev/modem 115200 &
Then i get the output...
[1] 783
[root@kfc /root]# Using interface ppp0
Connect: ppp0 <--> /dev/modem
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd1f06c30> <pcomp> <accomp>]
rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xd1f06c30>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0xd1f06c30>]
rcvd [LCP ConfReq id=0x8 <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
sent [LCP ConfNak id=0x8 <auth chap MD5>]
rcvd [LCP ConfReq id=0x9 <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
sent [LCP ConfNak id=0x9 <auth chap MD5>]
rcvd [LCP ConfReq id=0xa <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
sent [LCP ConfNak id=0xa <auth chap MD5>]
rcvd [LCP ConfReq id=0xb <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
sent [LCP ConfNak id=0xb <auth chap MD5>]
rcvd [LCP ConfReq id=0xc <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
sent [LCP ConfNak id=0xc <auth chap MD5>]
rcvd [LCP ConfReq id=0xd <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
sent [LCP ConfRej id=0xd <auth pap>]
rcvd [LCP ConfReq id=0xe <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
sent [LCP ConfRej id=0xe <auth pap>]
rcvd [LCP ConfReq id=0xf <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
sent [LCP ConfRej id=0xf <auth pap>]
rcvd [LCP ConfReq id=0x10 <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
Anyone know what to do ?
Ljubo
------------------------------
From: Paul Hughett <[EMAIL PROTECTED]>
Subject: How to boot from the *second* hard disk?
Date: 7 Jul 2000 14:33:36 GMT
I have been taken by the desire to do some experimenting with other
distributions of Linux and even -- gasp! -- FreeBSD. Since I have
both an IDE hard disk (/dev/hda) and a Jaz drive (/dev/sda), the
obvious approach is to keep my production system on the IDE drive and
swap the different experimental systems in on different Jaz disks.
But I am running into problems trying to boot onto the Jaz disk.
Approach 1: Configure the BIOS to boot from the SCSI disk, and install
LILO in the MBR of this disk. But when I do this, the bios reports
finding a boot record on the SCSI disk, which then types LI and hangs.
If I understand the LILO documentation correctly, this means that the
BIOS read and executed the boot sector, which then loaded what it
thought was the secondary loader, but wasn't really. (The documentation
is a bit obscure, but I think the secondary loader types the second
L in LILO before it does anything else. Thus LI alone implies that
the secondary loader never actually started.)
Approach 2: Add the line "other=/dev/sda" or "other=/dev/sda1" in
lilo.conf for the MBR on /dev/hda, and chain to the loader already
installed on /dev/sda. But attempting this apparently hangs with a
message from LILO that the disk is not ready. My analysis is that if
you're not booting from the SCSI disk, the BIOS doesn't bother to make
sure that it's already spun up and available.
Approach 3: Create a boot floppy containing the boot sector, map file,
secondary loader, kernel, and initial ramdisk. This works fine, but
is a bit awkward. It would be nicer to have the whole thing contained
on the Jaz disk.
Does anyone have any suggestions for getting this to work the way I
want?
Thanks.
Paul Hughett
------------------------------
From: [EMAIL PROTECTED]
Subject: HiSax and 2.2.14
Date: Fri, 07 Jul 2000 14:36:20 GMT
Hi,
Anyone familiar with Teles 16.3 PnP and kernel 2.2.14 ?
When trying to load the modules I get the following :
[root@ml rvo]# /sbin/insmod isdn
[root@ml rvo]# /sbin/insmod hisax
/lib/modules/2.2.14/misc/hisax.o: init_module: Device or resource busy
[root@ml rvo]#
The ISDN module loads fine, but the hisax module doesn't. As far as I
can tell there are no conflicts.
Thx,
Rob
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "D F" <[EMAIL PROTECTED]>
Subject: Re: Where to do this?
Date: Fri, 7 Jul 2000 10:52:19 -0400
RMB wrote:
[snip]
> Here is my prob-
>
> Everytime I reboot, X loads. I don't want X to load. Where
in
> the OS can I tell X to not load. There is no point in
starting
> up X when I don't have it configured correctly.
>
> Thanks for the help,
>
> Ryan
> [EMAIL PROTECTED]
For a permanent fix to this problem, as root, edit the file
/etc/inittab. Change the line
id:5:initdefault:
to
id:3:initdefault:
At the command line, to test your X configuration, type
startx
If you want to capture the messages X produces when it
starts up (for debugging purposes), type
startx > x_msgs
This will create a file (x_msgs) in your home directory
containing those startup messages.
Hope this helps,
Dave Fluri
North Bay, Ontario Canada
------------------------------
From: [EMAIL PROTECTED] (doug reeder)
Crossposted-To: osu.sys.linux
Subject: meaning of "owner" option for mount
Date: 7 Jul 2000 15:00:20 GMT
What is the meaning of the "owner" option for the mount command?
It shows up on entries for removeable media in my fstab, but
is not mentioned in the man pages.
--
P. Douglas Reeder Lecturer, Computer. Science. Dept., Ohio State Univ..
[EMAIL PROTECTED] http://www.cis.ohio-state.edu/~reeder/reeder.html
GE/S d+ s+:- a C+@$ UH+ P+ L E W++ N+ o? K? w !O M+ V PS+() PE Y+ PGP- t 5+ !X
R>+ tv+ b+++>$ DI+ D- G e+++ h r+>+++ y+>++
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: comp.protocols.ppp
Subject: Re: CHAP auth + Linux don't work
Date: 7 Jul 2000 15:08:23 GMT
On Fri, 7 Jul 2000 16:30:52 +0200, linman <[EMAIL PROTECTED]> wrote:
>Hello!
>
>I have a problem with PPP 2.3.11 and REDHAT 6.2. My ISP use
>CHAP authentication.
>
They lied, or was clueless.
>[root@kfc /root]# Using interface ppp0
>Connect: ppp0 <--> /dev/modem
>sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd1f06c30> <pcomp> <accomp>]
>rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
The remote end doesn't like you pcomp and accomp, but that isn't fatal
>sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xd1f06c30>]
Your system accepts and tries again
>rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0xd1f06c30>]
The remote end has now acvepted your paramters.
--
Now the the parameters from the remote end.
>rcvd [LCP ConfReq id=0x8 <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
The other end kindly ask your system to use PAP authentication.
>sent [LCP ConfNak id=0x8 <auth chap MD5>]
Your system kindly ask the other end to use CHAP MD5 instead.
>rcvd [LCP ConfReq id=0x9 <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
>sent [LCP ConfNak id=0x9 <auth chap MD5>]
>rcvd [LCP ConfReq id=0xa <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
>sent [LCP ConfNak id=0xa <auth chap MD5>]
>rcvd [LCP ConfReq id=0xb <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
>sent [LCP ConfNak id=0xb <auth chap MD5>]
>rcvd [LCP ConfReq id=0xc <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
>sent [LCP ConfNak id=0xc <auth chap MD5>]
>rcvd [LCP ConfReq id=0xd <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
>sent [LCP ConfRej id=0xd <auth pap>]
Your system tels the other end not to use pap auth.
>rcvd [LCP ConfReq id=0xe <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
>sent [LCP ConfRej id=0xe <auth pap>]
>rcvd [LCP ConfReq id=0xf <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
>sent [LCP ConfRej id=0xf <auth pap>]
>rcvd [LCP ConfReq id=0x10 <auth pap> <magic 0xba2f0f8e> <asyncmap 0x0>]
>
>
>
>Anyone know what to do ?
>
>
Configure for pap.
Villy
------------------------------
** 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
******************************