Linux-Setup Digest #312, Volume #21 Sun, 27 May 01 08:13:06 EDT
Contents:
kppp connects, but no internet ("mike")
Re: howto move the errors from gcc to a file? (David. E. Goble)
Re: help: Undefined reference to '...' (David. E. Goble)
Re: kppp connects, but no internet ("firebit")
Re: FTP Question RH 7.1 (Markku Kolkka)
Re: SuSE Firewall problems (Michael Heiming)
About RH Linux ("Tyron Washington")
Re: REQ: Help mounting SCSI drive (Michael Heiming)
Re: voodoo3 under linux (Michael Heiming)
Telnet Problem - Help (daemonX)
Re: LILO with rh7.1 & win2000 ("Mello")
Re: FTP Question RH 7.1 (Dave Uhring)
Re: Telnet Problem - Help (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: linux install on 486SX (SuSE) (Kevin Croxen)
Re: About RH Linux (Peer Hebing)
Re: Using linux as secondary DNS (Steve Martin)
----------------------------------------------------------------------------
From: "mike" <[EMAIL PROTECTED]>
Subject: kppp connects, but no internet
Date: Sun, 27 May 2001 01:08:48 -0700
i have configured kppp... it will connect, but i can not use the internet...
no ping, nothing...
what am i doing wrong??
------------------------------
From: goble@gtech (David. E. Goble)
Crossposted-To: alt.linux,aus.computers.linux,comp.os.linux.development.apps
Subject: Re: howto move the errors from gcc to a file?
Date: Sun, 27 May 2001 07:07:07 GMT
Reply-To: goble@gtech
On Fri, 25 May 2001 04:33:33 GMT, goble@gtech (David. E. Goble) wrote:
>
>My problem is when I use gcc ...etc it produces a scolling list of
>errors. How can I move or pipe the errors to a file. ie something like
>
> gcc -o hello.c > error.txt?
>
Hi All;
Thank you all who replied. I learned a few things. Again thank you
all.
------------------------------
From: goble@gtech (David. E. Goble)
Crossposted-To: alt.linux,aus.computers.linux,comp.os.linux.development.apps
Subject: Re: help: Undefined reference to '...'
Date: Sun, 27 May 2001 07:55:05 GMT
Reply-To: goble@gtech
On Thu, 24 May 2001 07:52:32 GMT, goble@gtech (David. E. Goble) wrote:
>
Hi All;
I have redHat 6.2 (server install)
I am trying to do some programming.
How that I know how to save the error messages, here is what is
happening;
/*######## Here is the c file I am trying to compile and run #######*/
/*
* testlibpq.c Test the C version of Libpq, the Postgres frontend
* library.
*
*
*/
#include<stdio.h>
#include "libpq-fe.h"
void exit_nicely(PGconn *conn)
{
PQfinish(conn);
exit(1);
}
main()
{
char *pghost,
*pgport,
*pgoptions,
*pgtty;
char *dbName;
int nFields;
int i,
j;
/* FILE *debug; */
PGconn *conn;
PGresult *res;
/*
* begin, by setting the parameters for a backend connection if
the
* parameters are null, then the system will try to use reasonable
* defaults by looking up environment variables or, failing that,
* using hardwired constants
*/
pghost = NULL; /* host name of the backend server */
pgport = NULL; /* port of the backend server */
pgoptions = NULL; /* special options to start up the
backend
* server */
pgtty = NULL; /* debugging tty for the backend
server */
dbName = "template1";
/* make a connection to the database */
conn = PQsetdb(pghost, pgport, pgoptions, pgtty, dbName);
/*
* check to see that the backend connection was successfully made
*/
if (PQstatus(conn) == CONNECTION_BAD)
{
fprintf(stderr, "Connection to database '%s' failed.\n",
dbName);
fprintf(stderr, "%s", PQerrorMessage(conn));
exit_nicely(conn);
}
/* debug = fopen("/tmp/trace.out","w"); */
/* PQtrace(conn, debug); */
/* start a transaction block */
res = PQexec(conn, "BEGIN");
if (!res || PQresultStatus(res) != PGRES_COMMAND_OK)
{
fprintf(stderr, "BEGIN command failed\n");
PQclear(res);
exit_nicely(conn);
}
/*
* should PQclear PGresult whenever it is no longer needed to
avoid
* memory leaks
*/
PQclear(res);
/*
* fetch instances from the pg_database, the system catalog of
* databases
*/
res = PQexec(conn, "DECLARE mycursor CURSOR FOR select * from
pg_database");
if(!res || PQresultStatus(res) != PGRES_COMMAND_OK)
{
fprintf(stderr, "DECLARE CURSOR command failed\n");
PQclear(res);
exit_nicely(conn);
}
PQclear(res);
res = PQexec(conn, "FETCH ALL in mycursor");
if(!res || PQresultStatus(res) != PGRES_TUPLES_OK)
{
fprintf(stderr, "FETCH ALL command didn't return tuples
properly\n");
PQclear(res);
exit_nicely(conn);
}
/* first, print out the attribute names */
nFields = PQnfields(res);
for (i = 0; i<nFields; i++)
printf("%-15s", PQfname(res, i));
printf("\n\n");
/* next, print out the instances */
for (i = 0; i<PQntuples(res); i++)
{
for (j = 0; j<nFields; j++)
printf("%-15s", PQgetvalue(res, i, j));
printf("\n");
}
PQclear(res);
/* close the cursor */
res = PQexec(conn, "CLOSE mycursor");
PQclear(res);
/* commit the transaction */
res = PQexec(conn, "COMMIT");
PQclear(res);
/* close the connection to the database and cleanup */
PQfinish(conn);
/* fclose(debug); */
}
/*
This is how I am trying to do it;
gcc -O3 -o testlibpq testlibpq.c -I/usr/include/pgsql -Llibpq
2>testlibpq.txt
And here are the results
/tmp/cc2HM1Be.o: In function `exit_nicely':
/tmp/cc2HM1Be.o(.text+0x8): undefined reference to `PQfinish'
/tmp/cc2HM1Be.o: In function `main':
/tmp/cc2HM1Be.o(.text+0x66): undefined reference to `PQsetdbLogin'
/tmp/cc2HM1Be.o(.text+0x77): undefined reference to `PQstatus'
/tmp/cc2HM1Be.o(.text+0xa1): undefined reference to `PQerrorMessage'
/tmp/cc2HM1Be.o(.text+0xd4): undefined reference to `PQexec'
/tmp/cc2HM1Be.o(.text+0xeb): undefined reference to `PQresultStatus'
/tmp/cc2HM1Be.o(.text+0x118): undefined reference to `PQclear'
/tmp/cc2HM1Be.o(.text+0x130): undefined reference to `PQclear'
/tmp/cc2HM1Be.o(.text+0x141): undefined reference to `PQexec'
/tmp/cc2HM1Be.o(.text+0x158): undefined reference to `PQresultStatus'
/tmp/cc2HM1Be.o(.text+0x180): undefined reference to `PQclear'
/tmp/cc2HM1Be.o(.text+0x198): undefined reference to `PQclear'
/tmp/cc2HM1Be.o(.text+0x1a9): undefined reference to `PQexec'
/tmp/cc2HM1Be.o(.text+0x1c0): undefined reference to `PQresultStatus'
/tmp/cc2HM1Be.o(.text+0x1e8): undefined reference to `PQclear'
/tmp/cc2HM1Be.o(.text+0x200): undefined reference to `PQnfields'
/tmp/cc2HM1Be.o(.text+0x229): undefined reference to `PQfname'
/tmp/cc2HM1Be.o(.text+0x265): undefined reference to `PQntuples'
/tmp/cc2HM1Be.o(.text+0x29d): undefined reference to `PQgetvalue'
/tmp/cc2HM1Be.o(.text+0x2d7): undefined reference to `PQclear'
/tmp/cc2HM1Be.o(.text+0x2e8): undefined reference to `PQexec'
/tmp/cc2HM1Be.o(.text+0x2f9): undefined reference to `PQclear'
/tmp/cc2HM1Be.o(.text+0x30a): undefined reference to `PQexec'
/tmp/cc2HM1Be.o(.text+0x31b): undefined reference to `PQclear'
/tmp/cc2HM1Be.o(.text+0x327): undefined reference to `PQfinish'
collect2: ld returned 1 exit status
*/
------------------------------
From: "firebit" <[EMAIL PROTECTED]>
Subject: Re: kppp connects, but no internet
Date: Sun, 27 May 2001 16:13:56 +0800
Does u start the browser program by u-self or script to start the browser?
"mike" <[EMAIL PROTECTED]> ���g��l��
news:E31Q6.134$[EMAIL PROTECTED]...
> i have configured kppp... it will connect, but i can not use the
internet...
> no ping, nothing...
> what am i doing wrong??
>
>
------------------------------
From: Markku Kolkka <[EMAIL PROTECTED]>
Crossposted-To:
linux.redhat.misc,comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.questions
Subject: Re: FTP Question RH 7.1
Date: 27 May 2001 11:27:49 +0300
Lamar Thomas <[EMAIL PROTECTED]> writes:
> Just installed RH 7.1 and am trying to get FTP working. When I dial
> into my ISP from a Windows system I get an access denied msg. When I
> run "chkconfig --list wu-ftpd" it returns "wu-ftpd off". Is this why I
> can't connect?
Yes. Use "chkconfig wu-ftpd on" to start ftpd automatically at boot,
or "service wu-ftpd start" to start it immediately.
--
Markku Kolkka
[EMAIL PROTECTED]
------------------------------
Date: Sun, 27 May 2001 11:09:31 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: SuSE Firewall problems
Chuck Lalli wrote:
>
> I have installed and update SuSE 7.1 on my system. It is coonected through
> a SDSL line with a static IP address. I have tried to start SuSE firewall
> but when I enable it in Control Center/ Yast2/ rc.config and restart I get
> messages saying it failed to start. It gives messages for part 1, 2 and 3
> ???
>
> I have also created a script with a firewall tool online but I don't know
> what to do with it. Can anyone help ???
>
> Thanks,
>
> Chuck
Did you check www.suse.com for 7.1 updates?
Michael Heiming
------------------------------
From: "Tyron Washington" <[EMAIL PROTECTED]>
Crossposted-To:
alt.comp.linux,comp.os.linux,comp.os.linux.questions,linux.redhat,linux.redhat.install,linux.redhat.misc,linux.redhat.rpm
Subject: About RH Linux
Date: Sun, 27 May 2001 05:14:29 -0400
I've just done my first install of RedHat Linux (7.0) on a 4 year old
laptop. I'm learning the in's and out's very quickly but there's some things
about Linux and stuff I just can't figure out:
[1] Does the sequence of commands, <./configure>, <make> and <su -c 'make
install'> always successfully install a app, lib, etc from it's source file
(*.tar.gz) grabbed off the web? Should I do this install method over instead
of the RPM install method (RPM installs gives me too many dependency
errors)?
[2] Whenever I try to install a package (*.i386.rpm) downloaded from the
web, I get a dependency error. What am I suppose to do after that? Do I
download the needed files and put them in the same folder as the rpm file or
install them and then try the RPM install again?
[3] I come across RPMs with i386, i586 or i686 in their filenames. Which one
do I download (I use a Pentium 150 and PIII 866)? What's the difference?
What happen to i486?
[4] I also come across RPMs with -1, -2, -3, etc. after their version number
in the filenames (i.e. like "-1" in gabber-0.8.3-1.i386.rpm, "-7" in
gtk+-1.2.8-7.i386.rpm, "-4" in Eterm-0.9-4.i386.rpm, etc.) What does those
mean? Or are they part of the version number?
[5] What do I do with RPMs with the *.src.rpm extension? How are they
different from *.i386.rpm RPMs?
[6] "Gabber is a GNOME client" When I see program descriptions like this,
does that mean the program will only work under the specified desktop
environment (GNOME, KDE, E, Sawfish, etc.)? If so, do I just download the
source and install with the ./configure, make, make all method and it will
work on any DE I'm using?
[7] What are the quick tips to dealing with the kernel? Because I have to
install pcmcia-cs and it tells me I have to do something about obtaining the
current stable kernel source (in /usr/src/linux). I have the RedHat
2.2.16-22 version. Does that mean I should download the kernel version
2.2.16, 2.2.17, 2.2.18, 2.2.19, 2.2.20, 2.2.21 or 2.2.22? Or can I download
any version higher than my current version? Should I download and install
2.3 or 2.4, or do I have to stay within my current version's range?
Any kind of help to any question or part of a question will be greatly
appreciated.
Thanks in advance,
[EMAIL PROTECTED]
------------------------------
Date: Sun, 27 May 2001 11:17:18 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: REQ: Help mounting SCSI drive
"Innov@tion" wrote:
>
> REQ: Help mounting SCSI drive
>
> I've got Linux RedHat v 7.1 on two burned CDs. The system is an AMD
> K6-500, with a CDROM, floppy, an IDE hard drive (set up with the
> RedHat), and a SCSI drive on an adapter. BIOS finds the SCSI adapter,
> and the adapter finds Device 0, the drive. Now the only issue is that
> the SCSI drive is in Xenix.
>
> I'm the newest kid on the block, and I'm learning all the terminal
> commands and my way around Gnome. When I try to mount the SCSI, I
> can't get it done. First, I had to reboot a couple times until I saw
> that Linux was naming the SCSI drive as /dev/sda (I think!). I tried
> this mount command:
> mount -t xenix /dev/sda /mnt/SCSI
The partition should be /dev/sda1, /dev/sda2,...
Try "fdsik -l" to check.
Try "mount -t auto ..."
Case everything is working put your partition in /etc/fstab to
mount it auto magically, case of reboot.
"man mount" for more info
Good luck
Michael Heiming
[SNIP]
------------------------------
Date: Sun, 27 May 2001 11:23:28 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.hardware
Subject: Re: voodoo3 under linux
Ting Li wrote:
>
> Hi. Could anyone give me pointers on how to configure voodoo3 under
> X 3.36 and 2.2x kernel? Thanks.
Which vooddo?
I had 3dfx Voodoo 3 3000 PCI working with Xfree 3.? with the
SVGA driver, but some fiddling with XF86config was necessary.
Now I run 3dfx Voodoo 3 3500 AGP, with Xfree 4.0 and tdfx driver,
it worked out of the box (SuSE 7.0).
So updating to Xfree 4.x would be the easiest way for you.
Michael Heiming
------------------------------
From: daemonX <[EMAIL PROTECTED]>
Subject: Telnet Problem - Help
Date: Sun, 27 May 2001 17:49:20 +0800
i can't telnet into my linux server from a workstation. i know this is
somekind of security and can anyone tell me how can i disable this so
anyone who has an account in the server is able to telnet into it. I
can't even login as root, it won't let me.
thanks for any help.
p/s...i am using RH7.0
------------------------------
From: "Mello" <[EMAIL PROTECTED]>
Subject: Re: LILO with rh7.1 & win2000
Date: Sun, 27 May 2001 12:03:54 +0200
Thank's now everything is working properly
Mello
"Mello" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:9enmut$8f2$[EMAIL PROTECTED]...
> I've just installed succesfully my rh7.1 but i've some problems with lilo.
>
> When i finish the installation of rh my lilo can't see win2000 so i
entered
> in linux and i typed lilo -u /dev/hda, now with my old mbr i can see
win2000
> but there's no notice of linux, the only way to login is to use the boot
> dosk. And so i did, in order to reinstall the lilo, but another time my
lilo
> can't see win2000
>
>
> My lilo.conf is:
>
> boot="/dev/hda"
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout="50"
> message=/boot/message
> linear
> default linux
>
> image="/boot/wmlinuz-2.4.2-2"
> label="linux"
> read-only
> root="/dev/hda5"
>
>
>
> Is there anuone who could help a fresh linux man?
> Thank's
> Maury
>
>
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Crossposted-To:
linux.redhat.misc,comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.networking
Subject: Re: FTP Question RH 7.1
Date: Sun, 27 May 2001 05:29:57 -0500
Markku Kolkka wrote:
> Lamar Thomas <[EMAIL PROTECTED]> writes:
>> Just installed RH 7.1 and am trying to get FTP working. When I dial
>> into my ISP from a Windows system I get an access denied msg. When I
>> run "chkconfig --list wu-ftpd" it returns "wu-ftpd off". Is this why I
>> can't connect?
>
> Yes. Use "chkconfig wu-ftpd on" to start ftpd automatically at boot,
> or "service wu-ftpd start" to start it immediately.
>
Or edit /etc/xinetd.d/wu-ftpd and change "disable = yes" to "disable = no"
Then execute /etc/rc.d/init.d/xinetd restart. And the next time you reboot
you don't have to run any chkconfig command.
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: Telnet Problem - Help
Date: Sun, 27 May 2001 13:38:05 +0200
On Sun, 27 May 2001, daemonX wrote:
> i can't telnet into my linux server from a workstation. i know this is
> somekind of security and can anyone tell me how can i disable this so
> anyone who has an account in the server is able to telnet into it. I
> can't even login as root, it won't let me.
Edit /etc/xinetd.d/telnet, change "disable = yes" to "disable = no"
and run "service xinetd reload" - first make sure telnet-server is
installed.
But consider using ssh instead.
Rasmus
--
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
Programming is a race between programmers, who try and make more and
more idiot-proof software, and universe, which produces more and more
remarkable idiots.
Until now, universe leads the race.
- R. Cooka
================================= [ moffe at amagerkollegiet dot dk ] =0
------------------------------
From: [EMAIL PROTECTED] (Kevin Croxen)
Subject: Re: linux install on 486SX (SuSE)
Date: Sun, 27 May 2001 11:39:51 GMT
Use a distro like Slackware or Debian that are friendlier to antiquated
hardware. SuSE is a notoriously bad fit for the environment you're trying
to use it on, worse in that regard than the RH you tried to use first.
--Kevin
On Sun, 27 May 2001 00:44:59 +0200, Banzai <[EMAIL PROTECTED]> wrote:
> Hi there !
>
> I have the following problem:
> I'm trying to install linux (SuSE 7.1) on an old 486SX.
> But none of the bootdisks has math emulation (SX means no coprocessor)
> built in (not even the one meant for old 386 computers.. grr).
> There is also no CDROM available, so I have to use NFS install (which I
> didn't get working with RedHat 7.0, that's why I don't use Redhat, although
> RedHat bootdisks have math emulation).
>
> Now I tried to compile a new kernel with math emulation and copy it over
> the SuSE kernel on the bootdisk.
> But the kernel panics: couldn't mount root filesystem ( I copied the
> ramdisk word and root fs settings from the old kernel with rdev, but it
> didn't help).
>
> Can someone tell me how to build a install bootdisk for SuSE with math
> emulation ? Any hints are welcome !
>
> Ciao, Branko.
>
------------------------------
From: Peer Hebing <[EMAIL PROTECTED]>
Crossposted-To:
alt.comp.linux,comp.os.linux,comp.os.linux.questions,linux.redhat,linux.redhat.install,linux.redhat.misc,linux.redhat.rpm
Subject: Re: About RH Linux
Date: Sun, 27 May 2001 13:39:23 +0200
==============D85B29007AB9AE30EA271428
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Tyron Washington schrieb:
> I've just done my first install of RedHat Linux (7.0) on a 4 year old
> laptop. I'm learning the in's and out's very quickly but there's some things
> about Linux and stuff I just can't figure out:
>
> [1] Does the sequence of commands, <./configure>, <make> and <su -c 'make
> install'> always successfully install a app, lib, etc from it's source file
> (*.tar.gz) grabbed off the web? Should I do this install method over instead
> of the RPM install method (RPM installs gives me too many dependency
> errors)?
No , sometimes it just stops due to an error . If an error occurs , u cannot
use the binary u tried to compile for example .
Thats difficult to find out how to solve the problem . Might be a dependency
problem as well sometimes .
Thats the reason for me to prefer rpm -packages (=precompiled ) .
>
>
> [2] Whenever I try to install a package (*.i386.rpm) downloaded from the
> web, I get a dependency error. What am I suppose to do after that? Do I
> download the needed files and put them in the same folder as the rpm file or
> install them and then try the RPM install again?
>
The dependency problem can be solved by installing the rpm ( open a terminal ,
type in rpm -ivh package.rpm) containing the missing files . To find out what
packages u need use a search engine , http://www.google.com is very good or
go to http://www.tuxfinder.com or http://www.rpmfind.net/
After u have installed these packages u are ready to install the RPM again .
>
> [3] I come across RPMs with i386, i586 or i686 in their filenames. Which one
> do I download (I use a Pentium 150 and PIII 866)? What's the difference?
> What happen to i486?
>
i486 ? no idea ,never seen . i386 should work with all types of processors
(intelarchitecture of course ,not on sparc or alpha ) , i586 does not work with
386 or 486 processors , but work with 586 or 686 processors and so on .
>
> [4] I also come across RPMs with -1, -2, -3, etc. after their version number
> in the filenames (i.e. like "-1" in gabber-0.8.3-1.i386.rpm, "-7" in
> gtk+-1.2.8-7.i386.rpm, "-4" in Eterm-0.9-4.i386.rpm, etc.) What does those
> mean? Or are they part of the version number?
>
Yes, part of the version number .
>
> [5] What do I do with RPMs with the *.src.rpm extension? How are they
> different from *.i386.rpm RPMs?
The src. packages contains the source code of a binary or whatever .
It is similar to the tar.gz packages u already mentioned . U need to compile
them before using .
The advantage is that everybody is allowed to change this source code to
fulfill his own needs or to eliminate bugs or errors .
But if u do not know what it is u do not need it .
>
> [6] "Gabber is a GNOME client" When I see program descriptions like this,
> does that mean the program will only work under the specified desktop
> environment (GNOME, KDE, E, Sawfish, etc.)? If so, do I just download the
> source and install with the ./configure, make, make all method and it will
> work on any DE I'm using?
>
> [7] What are the quick tips to dealing with the kernel? Because I have to
> install pcmcia-cs and it tells me I have to do something about obtaining the
> current stable kernel source (in /usr/src/linux). I have the RedHat
> 2.2.16-22 version. Does that mean I should download the kernel version
> 2.2.16, 2.2.17, 2.2.18, 2.2.19, 2.2.20, 2.2.21 or 2.2.22? Or can I download
> any version higher than my current version? Should I download and install
> 2.3 or 2.4, or do I have to stay within my current version's range?
>
Is the kernel-source package installed ?
[root@host dir]$ rpm -q kernel-source
> q stands for query
This command should return with kernel-source-2.2.16-22
If not insert CD1 , mount CD1 and cd /mnt/cdrom1/RedHat/RPMS
followed by rpm -ivh kernel-so press tab then and return
Hope this helps .
Oh , by the way there are a lot of nice howtos and man pages available .
For example type in man rpm
Cu
P.Hebing
>
> Any kind of help to any question or part of a question will be greatly
> appreciated.
>
> Thanks in advance,
> [EMAIL PROTECTED]
==============D85B29007AB9AE30EA271428
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Tyron Washington schrieb:
<blockquote TYPE=CITE>I've just done my first install of RedHat Linux (7.0)
on a 4 year old
<br>laptop. I'm learning the in's and out's very quickly but there's some
things
<br>about Linux and stuff I just can't figure out:
<p>[1] Does the sequence of commands, <./configure>, <make> and <su
-c 'make
<br>install'> always successfully install a app, lib, etc from it's source
file
<br>(*.tar.gz) grabbed off the web? Should I do this install method over
instead
<br>of the RPM install method (RPM installs gives me too many dependency
<br>errors)?</blockquote>
No , sometimes it just stops due to an error . If an error occurs , u cannot
use the binary u tried to compile for example .
<br>Thats difficult to find out how to solve the problem . Might be a dependency
problem as well sometimes .
<br>Thats the reason for me to prefer rpm -packages (=precompiled ) .
<blockquote TYPE=CITE>
<p>[2] Whenever I try to install a package (*.i386.rpm) downloaded from
the
<br>web, I get a dependency error. What am I suppose to do after that?
Do I
<br>download the needed files and put them in the same folder as the rpm
file or
<br>install them and then try the RPM install again?
<br> </blockquote>
The dependency problem can be solved by installing the rpm ( open
a terminal , type in rpm -ivh package.rpm) containing the missing files
. To find out what packages u need use a search engine , <u><A
HREF="http://www.google.com">http://www.google.com</A></u>
is very good or go to <u><A
HREF="http://www.tuxfinder.com">http://www.tuxfinder.com</A></u> or <u><A
HREF="http://www.rpmfind.net/">http://www.rpmfind.net/</A></u>
<p>After u have installed these packages u are ready to install the RPM
again .
<blockquote TYPE=CITE>
<br>[3] I come across RPMs with i386, i586 or i686 in their filenames.
Which one
<br>do I download (I use a Pentium 150 and PIII 866)? What's the difference?
<br>What happen to i486?
<br> </blockquote>
i486 ? no idea ,never seen . i386 should work with all types of processors
(intelarchitecture of course ,not on sparc or alpha ) , i586 does not work
with 386 or 486 processors , but work with 586 or 686 processors and so
on .
<blockquote TYPE=CITE>
<br>[4] I also come across RPMs with -1, -2, -3, etc. after their version
number
<br>in the filenames (i.e. like "-1" in gabber-0.8.3-1.i386.rpm, "-7" in
<br>gtk+-1.2.8-7.i386.rpm, "-4" in Eterm-0.9-4.i386.rpm, etc.) What does
those
<br>mean? Or are they part of the version number?
<br> </blockquote>
Yes, part of the version number .
<blockquote TYPE=CITE>
<br>[5] What do I do with RPMs with the *.src.rpm extension? How are they
<br>different from *.i386.rpm RPMs?</blockquote>
The src. packages contains the source code of a binary or whatever .
<br>It is similar to the tar.gz packages u already mentioned . U need to
compile them before using .
<br>The advantage is that everybody is allowed to change this source code
to fulfill his own needs or to eliminate bugs or errors .
<br>But if u do not know what it is u do not need it .
<blockquote TYPE=CITE>
<br>[6] "Gabber is a GNOME client" When I see program descriptions like
this,
<br>does that mean the program will only work under the specified desktop
<br>environment (GNOME, KDE, E, Sawfish, etc.)? If so, do I just download
the
<br>source and install with the ./configure, make, make all method and
it will
<br>work on any DE I'm using?
<p>[7] What are the quick tips to dealing with the kernel? Because I have
to
<br>install pcmcia-cs and it tells me I have to do something about obtaining
the
<br>current stable kernel source (in /usr/src/linux). I have the RedHat
<br>2.2.16-22 version. Does that mean I should download the kernel version
<br>2.2.16, 2.2.17, 2.2.18, 2.2.19, 2.2.20, 2.2.21 or 2.2.22? Or can I
download
<br>any version higher than my current version? Should I download and install
<br>2.3 or 2.4, or do I have to stay within my current version's range?
<br> </blockquote>
Is the kernel-source package installed ?
<p>[root@host dir]$ rpm -q kernel-source
<blockquote TYPE=CITE>q stands for query</blockquote>
This command should return with kernel-source-2.2.16-22
<br>If not insert CD1 , mount CD1 and cd /mnt/cdrom1/RedHat/RPMS
<br>followed by rpm -ivh kernel-so press tab then and
return
<p>Hope this helps .
<br>Oh , by the way there are a lot of nice howtos and man pages available
.
<br>For example type in man rpm
<p>Cu
<br>P.Hebing
<blockquote TYPE=CITE> </blockquote>
<blockquote TYPE=CITE>Any kind of help to any question or part of a question
will be greatly
<br>appreciated.
<p>Thanks in advance,
<br>[EMAIL PROTECTED]</blockquote>
</html>
==============D85B29007AB9AE30EA271428==
------------------------------
From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Using linux as secondary DNS
Date: Sun, 27 May 2001 07:53:46 -0400
Dave Uhring wrote:
>
> Mark Johnson wrote:
> > I would like to setup my Linux box as a secondary DNS in addition to the
> > primary corporate DNS at our office. What I would like to do is set it up
> > so that I can type http://voodoo or telnet foobar from my windows machine
> > and it will resolve to the linux box. I know that I could easily do this
> > by editing my local etc/hosts file on my windows machine but i don't want
> > to do it this way becuase there are about 10 of us in our little cube pod
> > at work that need this type of resovling. I don't want to bother out IT
> > group about updating the DNS everytime we are screwing around with this
> > type of thing.
> Adding another DNS server is very likely to upset your network
> administrator. Create a /etc/hosts file on 1 machine and ftp it to the
> rest.
An alternative you might consider is asking the IT guys to allow you
to administer your own zone. Then you could set your Linux box up
to be authoritative just for those ten or so machines, and have it
refer all other queries to the corporate DNS machines. They might not
want to do this, but it's better than simply hanging another DNS
machine on the network without permission.
------------------------------
** 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 by posting to comp.os.linux.setup.
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
******************************