Linux-Misc Digest #749, Volume #25 Wed, 13 Sep 00 07:13:02 EDT
Contents:
Linux as an os9 nfs server problem ("Jacek M. Holeczek")
Dialup and Lease line (Eric Ho)
Re: Zip 100 Parallel Port Drive (Kasper Dupont)
Re: Swapping a Linux into a new Computer. (J00st)
OSS Instead of Esound (Brad Kinser)
Re: postgres : how recuperate old database files
calendar (Eric Mosley)
Re: Zip 100 Parallel Port Drive ("Peter T. Breuer")
Re: Anyone want to be part of a new website...? (Tony Lawrence)
Re: Zip 100 Parallel Port Drive (Kasper Dupont)
Re: Dialup and Lease line (Jean-David Beyer-valinux)
samba configuration ([EMAIL PROTECTED])
Re: Windows or Linux for games? (Kenny A. Chaffin)
Scripting SSH (Jeffrey Hood)
Linux on system with little RAM? ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: "Jacek M. Holeczek" <[EMAIL PROTECTED]>
Subject: Linux as an os9 nfs server problem
Date: Wed, 13 Sep 2000 10:23:24 +0200
Hi,
I have here a FIC (68040 CPU) which runs OS9. It gets the system over nfs
from an old HP station (running HP-UX 10.20). I would like to move the
file system to a i686 Linux machine (RH6.1). It almost works - the FIC
gets the IP address, downloads the boot file, then mounts the os9sys
subdirectory, then starts the internet, and finally jumps to the
startup.nfs :
-nt
echo "Executing startup.nfs ..."
echo "Making 1MB ramdisk ..."
UTILS/makeramdisk dd 1000k ;* 1MByte ram disk is dd
echo "Initializing devices ..."
* init devices
* ------------
iniz dd
iniz t1
echo "Calling commands to intialize subsystems ..."
* call commands to intialize subsystems
* -------------------------------------
.initdd >>>/nil ;* only if 'dd' is RAMdrive !!!
chd /dd
echo "Copying files to RAM disk..."
(...)
In that moment it hangs while "Making 1MB ramdisk ..." (executing the
"UTILS/makeramdisk dd 1000k"). It never reaches the "Initializing devices
..." step (if I run it from the HP it works well).
Any ideas ?
Thanks in advance,
Jacek.
------------------------------
From: Eric Ho <[EMAIL PROTECTED]>
Subject: Dialup and Lease line
Date: 13 Sep 2000 08:39:22 GMT
Hi,
My computer is currently using a lease line to connect to the
Internet with Slackware 7 (kernel 2.2.15).
Is it possible to set it up so that I can sometimes use the
lease line and sometimes use the dialup (56K) ?
If possible, please point me step by step instructions.
Thanks a million in advance.
Best Regards,
Eric Ho
------------------------------
From: Kasper Dupont <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.development.system
Subject: Re: Zip 100 Parallel Port Drive
Date: Wed, 13 Sep 2000 10:44:22 +0200
Wouter Verhelst wrote:
>
> In article <[EMAIL PROTECTED]>,
> Kasper Dupont <[EMAIL PROTECTED]> writes:
> > The speed for reading is as far as i remember:
> >
> > SPP: less than 200 kb/sec
> > ECP under DOS: 300 kb/sec
> > EPP under DOS: 400 kb/sec
> > EPP under Linux: 500 kb/sec
> >
> > For some reasons many new computers come with the BIOS default
> > set to SPP, does anyone have a very good explanation for that?
>
> I'm not sure about this, but perhaps because SPP is the oldest (is
> it?) so the 'default' that is supported by all OSses, also broken
> ones?
> Wouldn't make sense, but ya never know ;-)
Could make sense, but all software I have seen using
SPP works fine even with the bios set to EPP. And I
also think it would be a very strange choice to
configure new computers for old broken software
instead of configuring them for the new and more
effective ones.
--
Kasper Dupont
------------------------------
From: J00st <[EMAIL PROTECTED]>
Subject: Re: Swapping a Linux into a new Computer.
Date: Wed, 13 Sep 2000 09:12:12 GMT
It takes you less time to reinstall the OS than to fix all the errors
that might come up (if it even works!)
G'luck.
FyreFiend wrote:
> Hi again,
> I just got a new (to me) computer with no hard drive and I was
> thinking about swapping my Linux box's hard drive into it. I was
> wondering how much trouble am I going to have when Linux boots up and
> finds that all the hardware has changed.
> So, should I just go for it or should I reinstall on the new box.
>
> TIA,
> Fyre
------------------------------
From: Brad Kinser <[EMAIL PROTECTED]>
Subject: OSS Instead of Esound
Date: Wed, 13 Sep 2000 09:16:16 GMT
I'm running Enlightenment 0.16 with Helix Gnome on a stock Caldera
OpenLinux 2.4 machine. I enabled ESound and it works okay with my SB
Live card. I use XMMS and the ESound plug-in to play mp3 files, but the
sound is less than impressive. I have four speakers and get sound out
of all four with no way to control fading or balance (at least that I
know of). I was recently told that the OSS output plug-in sounds much
better (it was described as being closer to the output of WinAmp under
Windows with the SB LiveWare drivers, which is fabulous). However, I
don't know how to get sound without using ESound. When I try to play an
mp3 with XMMS before enabling ESound, I get an error telling me to make
sure I'm using the correct output plugin, the device is configured
properly and that no other program is blocking it. The system sees the
card properly, from what I can tell from looking at the bootup messages.
I've looked at what sound how-to's I could find, checked Creative's site
and http://how.to/sblive without finding anything useful. Can anyone
point me to the right information or give me instructions on how to use
the OSS driver?
Thanks,
Brad
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: postgres : how recuperate old database files
Date: Wed, 13 Sep 2000 09:28:38 GMT
ljb wrote:>>> [EMAIL PROTECTED] wrote:> >Hello !> >> >We have the following
problem:> >A database which had to be transferred from one system to another was not>
>dumped, but the person who did the transfer just copied the entire database>
>directory from within data/base/. Putting this directory into the new> >/data/base/
directory doesn't work, the system can not find the database.> >Is there any way to
recuperate this database, even if it is table by table ?>> I assume you are going to
the exact same PostgreSQL version. If you copied> the data/base/* directory trees
only, you missed some files inside data/> which it needs, like where it keeps the list
of databases. But you might be> able to recover by using createdb to create a new
empty database with the> same name, then replace data/base/'name' with the 'name' tree
from the> other system. If it works, I would then do a full dump and restore into a>
new database just to be safe.The database was created with 6.5.1 and I now have 6.5.3,
is that alreadytoo much of a diffference ?I created a new database with the same name,
untared the tarball of the oldinto the directory and was able to connect to the db.
But when I type '\d'I get 'ERROR: cache lookup for userid 26 failed' and when I type a
'select* from [existing table]' then I get 0 rows, even though the table is notempty
and postgers recognizes the correct column names.Moritz
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Eric Mosley)
Subject: calendar
Date: Wed, 13 Sep 2000 09:31:45 GMT
Hi,
Does anybody know of some good web based calendar applications that run
through perl and apache on Linux?
Only looking for something basic, user specific, add an appointment,
delete an appointment. Probably with a mySQL database...
There must be loads?
Thanks
Eric
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.development.system
Subject: Re: Zip 100 Parallel Port Drive
Date: 13 Sep 2000 09:28:15 GMT
In comp.os.linux.misc Kasper Dupont <[EMAIL PROTECTED]> wrote:
: Could make sense, but all software I have seen using
: SPP works fine even with the bios set to EPP. And I
: also think it would be a very strange choice to
: configure new computers for old broken software
: instead of configuring them for the new and more
: effective ones.
Then you would be very very very wrong. As well as gullible. May I sell
you a new improved glass of water? ;-)
(this is one of the things that mswin sometimes does right btw; its
settings by default are very conservative).
Peter
------------------------------
From: Tony Lawrence <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.m68k,comp.os.linux.networking,comp.os.linux.portable,comp.os.linux.powerpc,comp.os.linux.questions,comp.os.linux.redhat
Subject: Re: Anyone want to be part of a new website...?
Date: Wed, 13 Sep 2000 05:58:31 -0400
DCE wrote:
>
>
> > I think that even with 768K DSL it took a perilously long
> > time to load..
> >
>
> It also locked up netscape on my first attempt (the first page is
> huge..generally not good web design, but when I got in it looked like
> the guy is trying with content in a modern looking table filled page but
> there seemed to be a lack of any commercial content so I dont know what
> he is doing for revenue.
I think it's unfortunate that nowadays prettiness is seen as
important. Certainly there is something to be said for
aesthetic appeal (and yes, I know my pages could use more of
it) but if you are supplying content, and particularly if
it's technical content, you should be thinking more about
these things:
o The person accessing your technical pages may be doing so
because they are temporarily in a mess- they may be limping
along with Lynx or even telneting to port 80- therefore,
DON'T get in their way with Java, fancy Javascript, required
plugins or anything else that is going to hinder them.
o Even though more and more people have high speed access,
an awful lot of the world still has dial up- and again, if
your potential reader is having trouble with their high
speed line, they may have had to drop back to something
awful for the moment. I still keep 3 modems around here- 2
56K's and a 33.6; if I desperately needed info from your
pages and had to be on that 33.6, I won't be very happy if
it takes half an hour to download all your pretty stuff.
Not that you should ignore looks entirely, of course.
> so I dont know what
> > he is doing for revenue.
Who knows? Of course, not all of us do it for revenue. My
site generates maybe $1,000 a year from all sources
including the gratuitous contributions which are alays
deeply appreciated. That barely covers the hosting costs,
and certainly does nothing to pay me for the many hours a
week I put into it. You could say that it gets me business,
too, and it does, but no more business than I'd have anyway-
there are only so many hours in the week and I can only work
so many of them. With or without that web presence, it's
always been the same.
But there's always the fame. It's great being a household
name world wide because of my web page. OK, maybe not
exactly a household name, maybe not world wide- oh, all
right, nobody ever heard of me so it's not about fame
either.
So the real reason I do it is to pay back- to share what
I've learned with those just learning, just as people did
for me when I was new at this. I do get nice email from
people who have been helped by what they found, and that's
always nice. A big "Thanks!" doesn't pay the bills, but it
makes me happy for a minute or two anyway. Good enough for
me, and if it ever gets to the point where it does pay some
of the bills, well, that'd be nice, wouldn't it?
--
Tony Lawrence ([EMAIL PROTECTED])
SCO/Linux articles, help, book reviews, tests,
job listings and more : http://www.pcunix.com
------------------------------
From: Kasper Dupont <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.development.system
Subject: Re: Zip 100 Parallel Port Drive
Date: Wed, 13 Sep 2000 11:51:14 +0200
Peter T. Breuer wrote:
>
> In comp.os.linux.misc Kasper Dupont <[EMAIL PROTECTED]> wrote:
> : Could make sense, but all software I have seen using
> : SPP works fine even with the bios set to EPP. And I
> : also think it would be a very strange choice to
> : configure new computers for old broken software
> : instead of configuring them for the new and more
> : effective ones.
>
> Then you would be very very very wrong. As well as gullible. May I sell
> you a new improved glass of water? ;-)
>
> (this is one of the things that mswin sometimes does right btw; its
> settings by default are very conservative).
>
> Peter
There is quite a difference. Many people wants
to use ancient software on a new OS. But hardly
no one wants to use an ancient OS on a new
computer.
--
Kasper Dupont
------------------------------
From: Jean-David Beyer-valinux <[EMAIL PROTECTED]>
Subject: Re: Dialup and Lease line
Date: Wed, 13 Sep 2000 05:49:24 -0400
Eric Ho wrote:
> Hi,
>
> My computer is currently using a lease line to connect to the
> Internet with Slackware 7 (kernel 2.2.15).
> Is it possible to set it up so that I can sometimes use the
> lease line and sometimes use the dialup (56K) ?
> If possible, please point me step by step instructions.
>
> Thanks a million in advance.
>
> Best Regards,
> Eric Ho
My ISP has two hunt groups, one for 56.6K modems and one for up
to 33.6K modems. Since I have a 56.6K modem, I normally dial
into the appropriate hunt group. But sometimes, all those ports
are busy, and I never found in 4 years that the 33.6 hunt group
was busy.
SO, I just setup two connections, the one named ppp0 that I
usually use and that calls the 56.6K hunt group, and one named
ppp1 that calls a different telephone number and calls the 33.6
hunt group. I use the _usernet_ program to select and dial the
one I want. You might try something similar. I.e., just
configure a new interface to the modem.
In fact, do you not already have the modem configured?
If you are running Red Hat 6.0 or something like that, just
* be super-user and run _control-panel_.
* Select _Network Configuration_ (4th button from the top)
* Select _Interfaces_ tab
* Select _Add_ button (to add a modem, or to add your leased
line)
* Select _Hardware_ tab and configure the new device
* Select _Communication_ and configure the script for
connecting
* Select _Networking_ and configure that stuff
* Select _PAP_ and fill in that stuff if necessary (since I
never need that, I never learned how to fill that in).
If both are already configured because both the modem for
dial-up and the port for the leased line are already there, you
just need a scheme for selecting the connection you want.
If your leased line is set to connect whenever your machine is
booted up, I am not sure how you select between the connections
when you choose to run an application. I.e., since only ppp0 or
ppp1 on my machine is ever connected at one time (I have only
one modem), I have never looked into how to tell a program such
as Netscape which network connection to use. Come to think of
it, I do have two network connections, one to my ISP and one to
my other machine.
So, I guess I am curious about:
eth0 Link encap:Ethernet HWaddr 00:90:27:43:12:75
inet addr:192.168.1.250 Bcast:192.168.1.255
Mask:255.255.255.0
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500
Metric:1
RX packets:131259 errors:0 dropped:0 overruns:0
frame:0
TX packets:76970 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:100
Interrupt:17 Base address:0xf000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:92615 errors:0 dropped:0 overruns:0 frame:0
TX packets:92615 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
ppp0 Link encap:Point-to-Point Protocol
inet addr:208.225.67.131 P-t-P:208.225.64.55
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500
Metric:1
RX packets:462 errors:0 dropped:0 overruns:0 frame:0
TX packets:478 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
When I start up Netscape, how does it know to use ppp0 instead
of eth0? It is true that neither eth0 nor lo will be much fun
for Netscape, but eth0 might be connected to a firewall that
DOES connect to the Internet (it does not in my case). Likewise,
if I had two modems and both were dialed into an ISP, how does
an application choose which connection to use? I guess this is
the wrong newsgroup to ask this, since for me it is a Netscape
question.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 5:12am up 35 days, 12:39, 2 users, load average: 2.15, 2.16, 2.09
------------------------------
From: [EMAIL PROTECTED]
Subject: samba configuration
Date: Wed, 13 Sep 2000 10:35:14 GMT
I am trying to get my windows machine to connect to Linux via SMB. I
have done this before but have had to reload Linux. I can't seem to
remember all the settings. Here is my smb.conf file. Could anyone see
what I am missing.
Thank you
John MIller
[global]
workgroup = DBX
encrypt passwords = Yes
log file = /usr/local/samba/log%m
path = /video
hosts allow = 192.168.0.
[john]
comment = Home Directories
read only = No
create mask = 0770 guest ok = Yes
------------------------------
From: [EMAIL PROTECTED] (Kenny A. Chaffin)
Subject: Re: Windows or Linux for games?
Date: Wed, 13 Sep 2000 04:41:16 -0600
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> The best place for games is kindergarden ;-)
>
>
>
and the interesting thing is that kindegardeners can use windows but
probably not linux...
KAC
--
KAC Website Design
Custom Programming (java,Dynamo...), Web Design/Graphics
[EMAIL PROTECTED] - http://www.kacweb.com
------------------------------
From: Jeffrey Hood <[EMAIL PROTECTED]>
Subject: Scripting SSH
Date: Wed, 13 Sep 2000 10:44:45 GMT
I am a relative newbie to shell scripting, and have the following problem
that I am trying to solve...
Is there any way to script a file transfer with scp (part of the ssh
package) that will pass the password so no interaction is required...
All that I can seem to get is a prompt... Also, if I run across any
other programs that when run, take a parameter, how would this be done...
i.e. I just want to be able to answer a prompt and continue, sort of like
passing "y" to "del *.*" in a DOS batch file...
Thanks,
JH
--
Jeffrey Hood
Senior Analyst
Norsoft, Inc.
jhood [you-know-why] @epix.net
------------------------------
From: [EMAIL PROTECTED]
Subject: Linux on system with little RAM?
Date: Wed, 13 Sep 2000 10:52:13 GMT
I'm working for a company that is thinking on putting Linux onto our
(privatly developed) small embeded computer. We have enough flash for
it, and creating the drivers is a minor (and later) problem. The big
problem is that we only have 2 megs of RAM, and can not afford a system
where all programs and the OS is loaded into RAM.
Is there a way to make the kernel image and the programs/libraries
already "loaded" (rellocated) when downloading it into flash?
/ Joachim
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************