Linux-Misc Digest #913, Volume #27 Mon, 21 May 01 01:13:02 EDT
Contents:
Problem using USB hub (Leonard Evens)
GCC 2.95.3 Configuration/Installation ("Harry Thompson")
Re: Tandy Model 100 as linux terminal ("Russell Filling")
Re: GCC 2.95.3 Configuration/Installation (Noble Pepper)
Re: problem with upgrading rpm ("Glitch")
Re: Deleting a partition On Windows Me... ("Glitch")
RPM hell ("Glitch")
lilo error ("Brooklyn Linux Solutions")
Re: RPM hell (Dave Uhring)
Re: Who to install a .gz.tar file? ("Mladen Gogala")
Re: Sharing net connection w/o LRP ("Pierre")
Re: RPM hell ("bowman")
Re: RPM hell ("bowman")
Re: lilo error (John in SD)
Re: lilo error ("Brooklyn Linux Solutions CEO")
Re: rsync with ssh and no password prompt (Neil Zanella)
Re: No DNS with DHCP sometimes ("grendel")
----------------------------------------------------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Problem using USB hub
Date: Sun, 20 May 2001 18:41:04 -0500
I have a VALinux Varstation 27. It has an Intel SE440BX Motherboard.
It is setup as a dual boot machine with two SCSI disks, one with
Windows 98 and the other with (currently) RH6.2. I plan to upgrade
to RH7.1 so I can use more USB devices, but I've encountered the
following problem. I now have two USB scanners (a flatbed and negative)
connected to it using both ports. I would like to also connect
a smartmedia reader for a digital camera. So I got a Belkin 4 port
USB hub. I can get it working on a laptop and my wife's Dell,
and I can also get it working on the Varstation, but if I shut
down or just reboot (which on this machine makes it start from
scratch), the machine appears to hang, probably in the hardware
check. The monitor green power light comes on briefly and then
switches to orange and stays that way. I can't see anything on
the monitor. I presume the boot up sequence is somehow confused
about what it sees on the USB bus. I don't hear any disk activity
suggesting the machine is booting. But I must admit that this
machine takes a long time to boot because of the memory check and
the check of the SCSI bus, so it is remotely possible I didn't
wait long enough, and the problem is some monitor/USB conflict,
although I doubt that. There is nothing I can
see in the BIOS that might be relevant except that legacy
USB is disabled. (I doubt if any of the devices I have
are "legacy devices".)
Has anyone else seen something like this?
Is this something that I might be able to fix by upgrading my
BIOS? Is there any chance doing that would mess up something
else up?
I've called VALinux, but they don't have any ideas, and Belkin
just says they follow the USB standard.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: "Harry Thompson" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,comp.os.linux.setup
Subject: GCC 2.95.3 Configuration/Installation
Date: Sun, 20 May 2001 19:37:54 -0500
I am trying the Beta Version of Redmond Linux. I have noticed that it
doesn't seem to have many programs installed with it. It is a very small
but well put together distro, but I need some extra features.
Everytime I try to do an rpm - i ?????.rpm, ???? being program Im
installing, I get basically the same error each time. Its states I don't
have a CC Compiler. I went and downloaded GCC 2.95.3 and have read the
installation notes and how-to, mini how-to, and tried all options, but I can
not get it to configure or compile.
This is the error I get when I try to get it to work:
Chiefslapahoe:~/untard/gcc-2.95.3# ./configure
Configuring for a i586-pc-linux-gnuoldld host.
Created "Makefile" in /root/untard/gcc-2.95.3
./configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
I have tried it with the ./configure --prefix=/usr --enable-shared options
also to no avail, I basically get the same errors.
I can not get any other programs to configure or make due to the CC Compiler
error, and would like to get this to work somehow.
Any help in this matter will be greatly appreciated. Please post and reply,
and excuse the ImAnMCSE in an Linux group.
Harry Thompson
Picayune MS
------------------------------
From: "Russell Filling" <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.tandy,comp.os.linux.powerpc
Subject: Re: Tandy Model 100 as linux terminal
Date: Sun, 20 May 2001 20:45:08 -0400
Hey is it possible to get lynx to work like that on a win98 box
so that u can null into com1 and lynx away on the m100 ?
Russ
Thomas Weeks <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> James Campbell Andrew wrote:
> [...]
> > Oh, absolutely yes, I would imagine. You need to have a terminal running
> > on one of your serial ports though, so read up on the relevent HOWTO's
> > (I would imagine that the serial HOWTO is the one you want).
> >
> > From there you're just a null-modem cable away from getting 'Logon
> > please:" on that 40char display. Stick to a slowish baud rate - around
> > 2400 baud should suffice, although it's been so long since I powered my
> > 100 on that I can't remember if it even *supports* that baud rate!
>
>
> You'll want to replace the "mgetty" RPM on LInux with "getty" so that
> you can redirect console tot he serial port..
>
> Then... you can even set up lilo so that it's i/o is pointed at the COMM
> port also!
>
> Good luck..
>
> Tweeks
------------------------------
From: Noble Pepper <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,comp.os.linux.setup
Subject: Re: GCC 2.95.3 Configuration/Installation
Date: Sun, 20 May 2001 20:20:39 -0500
Reply-To: [EMAIL PROTECTED]
Harry Thompson wrote:
>
> This is the error I get when I try to get it to work:
>
> Chiefslapahoe:~/untard/gcc-2.95.3# ./configure
> Configuring for a i586-pc-linux-gnuoldld host.
> Created "Makefile" in /root/untard/gcc-2.95.3
> ./configure: cc: command not found
> *** The command 'cc -o conftest -g conftest.c' failed.
> *** You must set the environment variable CC to a working compiler.
Seems that configure doesn't think you have a compiler either. I don't
understand why you need a compiler for rpms, I thought they were
supposed to eliminate the need to compile things. But I never grokked
rpm's, that's why EVERYTHING on my current system I compiled myself.
Anyway, to solve your problem you need a "working compiler"
See if you have gcc:
ls -l /usr/bin/gcc
if it is not there try:
locate */gcc
if that doesn't work try:
find / -name gcc
find will take FOREVER but it will search your whole filesystem as it
exists now.
if you find gcc then use
export CC=/usr/bin/gcc
to set the environment variable.
If you don't have gcc or this doesn't get there are more things to try,
just come back here for more abuse.
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: problem with upgrading rpm
Date: Sun, 20 May 2001 21:41:32 -0400
>> I upgraded RPM to 4.0.2 from 3.0.something and neither one lets me
>> install the libjpeg rpm. So it's not ME that can't open the correct
>> RPM.
>
> It "let's" you do whatever you want. You have control. If you don't want
> to take any notice of its dependency advice, force it with a switch
> override.
I tried --nodeps. I got the same error.
> You only want libjpeg.so.62, for crissake. Take it out of the
> package, put it in your own package, and install it.
i don't bother with ' all the time.
>
> (a) All rpm's come with source. Extract it, compile it, install it.
> (b) all distros come with source. Get somebody elses if you don't
> like redhat's. They're all over the web.
i don't use RedHat. I use Suse.
>
>> Linux *is* different than WIndows, right?
>
> Linux is a kernel. Redhat is a distribution based on the linux kernel
> and gnu tools.
>
well if u want to split hairs then the next time Windows crashes don't say
Windows did, say the kernel did.
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: Deleting a partition On Windows Me...
Date: Sun, 20 May 2001 22:01:02 -0400
In article <[EMAIL PROTECTED]>, "Amy" <[EMAIL PROTECTED]>
wrote:
> I just recently tried installing linux on my computer, and I partitioned
> my hard drive.
> My computer messed up after I installed linux so I reinstalled Windows
> ME and formatted my hard drive and everything, I thought it all would be
> the way it first was, now I notice instead of having a 20 GB hard drive
> it is now only 11 GB I have a feeling it has something to do with the
> partition. Can anyone tell me how to get rid of it so I can have my full
> hard drive again? It would be preffered if it didn't erase any of my
> Data, Thank you :)
>
You can delete it the same way u created it, with a partitioning tool
(either Partition magic or DOS's fdisk, even Linux's fdisk would work to
delete it)
Run fdisk and delete the Non-DOS partition. Recreate it then.
format the partition so u can use it
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: RPM hell
Date: Sun, 20 May 2001 22:38:40 -0400
In trying to run rpm2cpio to get around a previous problem with RPM im
told i dont have some libs installed (even though I would have thought
that the rpm of RPM4.0.2 that I downloaded would have installed them,
wouldnt u?) Anyway, in the process of trying to install the libs by
using RPM i'm told i dont have glibc_2.1.3, i have 2.1.1 instead.
Which means i have to upgrade my version of libc if i want to fucking use RPM
Next time someone recommends RPM i'm going to commit them. I'm also going
to remove it from my system as it's (happy Peter?) nothing but a piece of
shit. Tarballs work just fine for me.
its neverending
All i wanted was to install Opera, which needed libjpeg, which needed a
certain version of RPM so it could be installed, which needed extra libs
installed, which needed a newer version of glibc.....pretty soon i won't
be surprised if i have to upgrade my whole damn kernel.
this is fucking getting annoying. No wait. It is ANNOYING. I've never
had this type of dependency problem in Windows. I guess only "real" operating
systems have these problems.
------------------------------
From: "Brooklyn Linux Solutions" <[EMAIL PROTECTED]>
Subject: lilo error
Date: Sun, 20 May 2001 19:08:37 -0400
I got a strange error I didn't understand when I tried to install a new
system with Windows already installed on the system. It's failing to
insert into the MBR. The error says something about a hole in the map.
How can I fix this?
Ruben
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: RPM hell
Date: Sun, 20 May 2001 22:18:56 -0500
Glitch wrote:
> In trying to run rpm2cpio to get around a previous problem with RPM im
> told i dont have some libs installed (even though I would have thought
> that the rpm of RPM4.0.2 that I downloaded would have installed them,
> wouldnt u?) Anyway, in the process of trying to install the libs by
> using RPM i'm told i dont have glibc_2.1.3, i have 2.1.1 instead.
>
> Which means i have to upgrade my version of libc if i want to fucking use
> RPM Next time someone recommends RPM i'm going to commit them. I'm also
> going to remove it from my system as it's (happy Peter?) nothing but a
> piece of shit. Tarballs work just fine for me.
>
> its neverending
>
> All i wanted was to install Opera, which needed libjpeg, which needed a
> certain version of RPM so it could be installed, which needed extra libs
> installed, which needed a newer version of glibc.....pretty soon i won't
> be surprised if i have to upgrade my whole damn kernel.
>
> this is fucking getting annoying. No wait. It is ANNOYING. I've never
> had this type of dependency problem in Windows. I guess only "real"
> operating systems have these problems.
>
Can I ask just why you don't download the source code and build it yourself?
It's not like you are ever going to want to remove it.....
------------------------------
From: "Mladen Gogala" <[EMAIL PROTECTED]>
Subject: Re: Who to install a .gz.tar file?
Crossposted-To:
linux.redhat.misc,comp.os.linux,comp.os.linux.advocacy,comp.os.linux.help,comp.os.linux.networking,comp.os.linux.redhat,comp.os.linux.setup
Date: Mon, 21 May 2001 03:21:37 GMT
In article <[EMAIL PROTECTED]>, "David
Harvill" <[EMAIL PROTECTED]> wrote:
> for RH, I've always found that the mkisofs RPM is sufficient. As for
> what you have, I would look in the directory that untargzipping
> created for a README or INSTALL file, and follow the instructions
> there.
>
> -dave
>
> Lamar Thomas <[EMAIL PROTECTED]> wrote in message
> news:<[EMAIL PROTECTED]>...
>> I am running RH 7.1 on an Intel system. I am trying to get me CDRW
>> working and the "CD-Writing-HOWTO" said that I needed to download and
>> install "mkisofs". Well I downloaded it but I can't seem to find a
>> way to install it. I ran the commands: "gunzip filename.gz" and
>> "tar -xvf filename.tar" and extracted the files. Now what? Can
>> anyone help? Thanks,
>>
>> Lamar
There should be a directory called mkisofs-x.y[.z] where x, y and z are
digits. Go to that directory, and do the following:
./configure
make
$ su
Passwd:
# make install
Voila! Mkisofs is installed into /usr/local/bin.
Make sure that you do not burn copyrighted music to your CDs as it is
bad for your soul and for the recording industry profits.
--
Mladen Gogala
------------------------------
From: "Pierre" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: Sharing net connection w/o LRP
Date: Sun, 20 May 2001 22:50:44 -0500
You can use IP masquerade. I used it to give internet access to several
machines.
You only need to run three lines on the linux box.
You can find the 3 commands by looking for "ip masquerade"
in Linux HOWTO.
Pierre
Michael Pye <[EMAIL PROTECTED]> wrote in message
news:VsVN6.5746$[EMAIL PROTECTED]...
> I am going to get cable access and I would like to distribute it all round
> my home network with an old P100.
>
> However, I don't wish to use the Linux Router Project for this sort of
thing
> because it would also like to run a web server etc on it. Can anyone point
> me in the right direction?
>
> I had thought ipchains was the thing to use, but having a look at
> www.ipchains.net revealed that it isn't the extensive resource I had
> imagined hearing it discussed...
>
> Thanks
>
> MP
>
>
------------------------------
From: "bowman" <[EMAIL PROTECTED]>
Subject: Re: RPM hell
Date: Sun, 20 May 2001 22:17:55 -0600
"Glitch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> All i wanted was to install Opera, which needed libjpeg, which needed a
> certain version of RPM so it could be installed, which needed extra libs
> installed, which needed a newer version of glibc.....pretty soon i won't
> be surprised if i have to upgrade my whole damn kernel.
hell, you haven't even gotten to the point where you've downloaded some 7meg
POS over a slow line, only to have rpm politely say, "I only install major
numbers <= 3".
Of course, the tarball approach has the same problem: oh, well this requires
libfoo.so.6. So you
get the libfoo tarball, which of course requires libtar, which requires
glibc.666
And you though installing every version of VBRUNxxx.ddl known to man
sucked....
------------------------------
From: "bowman" <[EMAIL PROTECTED]>
Subject: Re: RPM hell
Date: Sun, 20 May 2001 22:17:55 -0600
"Glitch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> All i wanted was to install Opera, which needed libjpeg, which needed a
> certain version of RPM so it could be installed, which needed extra libs
> installed, which needed a newer version of glibc.....pretty soon i won't
> be surprised if i have to upgrade my whole damn kernel.
hell, you haven't even gotten to the point where you've downloaded some 7meg
POS over a slow line, only to have rpm politely say, "I only install major
numbers <= 3".
Of course, the tarball approach has the same problem: oh, well this requires
libfoo.so.6. So you
get the libfoo tarball, which of course requires libtar, which requires
glibc.666
And you though installing every version of VBRUNxxx.ddl known to man
sucked....
------------------------------
From: John in SD <[EMAIL PROTECTED]>
Subject: Re: lilo error
Reply-To: [EMAIL PROTECTED]
Date: Mon, 21 May 2001 04:28:11 GMT
On Sun, 20 May 2001 19:08:37 -0400, "Brooklyn Linux Solutions"
<[EMAIL PROTECTED]> wrote:
>I got a strange error I didn't understand when I tried to install a new
>system with Windows already installed on the system. It's failing to
>insert into the MBR. The error says something about a hole in the map.
This error usually occurs with versions of lilo that do not have the ReiserFS
fix, and versions of the ReiserFS that do not have the IOCTL to support lilo.
Get the latest lilo from the URL below (21.7.5), and ReiserFS > 3.6.18.
--John
LILO version 21.7 (24-Feb-2001) source at
http://www.ibiblio.org/pub/Linux/system/boot/lilo
patches to -2 at ftp://brun.dyndns.org/pub/linux/lilo
------------------------------
From: "Brooklyn Linux Solutions CEO" <[EMAIL PROTECTED]>
Subject: Re: lilo error
Date: Mon, 21 May 2001 00:34:53 -0400
Hmmm
This is SuSe7.0 using Rieser and W98
Ruben
In article <[EMAIL PROTECTED]>, "John in SD"
<[EMAIL PROTECTED]> wrote:
> On Sun, 20 May 2001 19:08:37 -0400, "Brooklyn Linux Solutions"
> <[EMAIL PROTECTED]> wrote:
>
>>I got a strange error I didn't understand when I tried to install a new
>>system with Windows already installed on the system. It's failing to
>>insert into the MBR. The error says something about a hole in the map.
>
> This error usually occurs with versions of lilo that do not have the
> ReiserFS fix, and versions of the ReiserFS that do not have the IOCTL to
> support lilo.
>
> Get the latest lilo from the URL below (21.7.5), and ReiserFS > 3.6.18.
>
> --John
>
>
> LILO version 21.7 (24-Feb-2001) source at
> http://www.ibiblio.org/pub/Linux/system/boot/lilo patches to -2 at
> ftp://brun.dyndns.org/pub/linux/lilo
------------------------------
From: [EMAIL PROTECTED] (Neil Zanella)
Subject: Re: rsync with ssh and no password prompt
Date: 20 May 2001 21:35:31 -0700
Thanks for your suggestion which is basically the contents of one of the question
from the FAQ I referred to earlier but with the client and server switched
around. I tried both your approach and the FAQ's approach but in both cases
I am still prompted for a password hence the expect script.
I also noticed that expect exits after spawning 256 processes or so hence I
wrapped the expect stuff in a shell script so that only one process is spawned
for each expect session:
#!/bin/sh
while test true; do
expect -c ' \
log_user 0; \
spawn rsync -rtpl --delete user@remote-host:remote-dir/ local-dir/; \
expect "password"; \
send "my-password\r"; \
sleep 1; \
log_user 1; \
puts "done syncronizing" '
done
-- Neil
Gareth Jones <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Generate a key for yourself on the client machine using ssh-keygen.
> Save it in the default location (~/.ssh/identity). Use an empty
> passphrase.
>
> This will create two files - ~/.ssh/identity, which is your private
> key, and ~/.ssh/identity.pub - your public key.
>
> Copy the public key to the remote machine, and append it to the file
> ~/.ssh/authorized-keys (create the file if it doesn't exist).
>
> Now you should be able to type:
>
> ssh remote-machine
>
> and connect without a password. Likewise, rsync should be able to
> connect without prompting for a password.
------------------------------
From: "grendel" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,alt.os.linux.suse,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: No DNS with DHCP sometimes
Date: Mon, 21 May 2001 04:35:01 GMT
Thanks for the tip. I was going back into YAST2 and allowing it to detect
the NIC again. This would reinitialize it and get the DNS again. However
what's strange is that I still had a network connection. Just the DNS would
be lost.
"Bill Runge" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> grendel wrote:
> >
> > I think the network card powers down after awhile and that's what's
> > happening. Could this cause the loss of DNS settings. (meaning it
changed
> > resolv.conf) This stopped working while using this and sometimes it
works in
> > the GUI so it's not a run level issue. All I can think is a lower down
> > issue. This happens on the same machine (network card powers down) if I
> > leave it alone for awhile.
> >
> > "Dean Thompson" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > >
> > > Hi!,
> > >
> > > > I do not run a DHCP server. I am a client not a server. I can not
put in
> > > > the server in debug mode since it's sitting at my ISP.
> > >
> > > But of course you could put your dhcp client into debug mode couldn't
you
> > ?
> > >
> > > See ya
> > >
> > > Dean Thompson
> > >
> > > --
> > >
> >
+____________________________+____________________________________________+
> > > | Dean Thompson | E-mail -
[EMAIL PROTECTED]
> > |
> > > | Bach. Computing (Hons) | ICQ - 45191180
> > |
> > > | PhD Student | Office - <Off-Campus>
> > |
> > > | School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office)
> > |
> > > | MONASH (Caulfield Campus) | Fax - +61 3 9903 1077
> > |
> > > | Melbourne, Australia |
> > |
> > >
> >
+----------------------------+--------------------------------------------+
> I believe you've found your problem. My RH 7.1 system does this after I
> power down the modem. I personally like the feature for security reasons
> as this NIC is connected to my DSL modem. To restart the connection all
> that is necessary is to power up the modem (allowing it time to train)
> and issue the command: ifconfig ethx up . If I want to verify the
> connection: ifconfig .
------------------------------
** 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.misc.
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
******************************