Linux-Misc Digest #782, Volume #18 Wed, 27 Jan 99 07:13:08 EST
Contents:
Prin to network-printers from Slackware (Max Wiberg)
Re: LILO problem with win98 (Redhat) ("Sonnik (Anthony F.)")
Re: why no as86 ??? (Gary Momarison)
Re: Criminally Insane Programmers Are Attracted To Open Source Code (Donal K.
Fellows)
Re: Criminally Insane Programmers Are Attracted To Open Source Code (Donal K.
Fellows)
I can't c and fortran link ("������")
Re: 2038 and Linux (Glen Turner)
How to copy buttsniff (Eric Goforth)
Re: Changed Lilo boot options, now Win98 won't boot ("David J. DeFrain")
Re: Please HELP!!! PPPD is driving me mad!!!! (David Kirkpatrick)
Re: newb q - recompiling kernel for ppp (David Kirkpatrick)
Re: A newbie versus "vi" (John E. Davis)
Re: Prin to network-printers from Slackware (John Forkosh)
USR 56 K WinModem driver. (Martin Gillett)
Re: Getting the local IP addess after ifup ppp0 (Ian Hay)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Max Wiberg)
Subject: Prin to network-printers from Slackware
Date: Wed, 27 Jan 1999 11:19:32 +0100
What do I need to do, to able to print to
our printers thats on the network.
1: Tektronix 550+ 1200DPI
2: HPlaser 4V
Both printers have their own networkcard
Ethernet/TCP-IP.
Both printers have their own IP-adress
Both printer(s)-queues are handled by the
Primary Domain Controller on our network
a win NT server 4.0 with sp3 (swedish)
Have the default installation from Slackware CD 3.5
distribution. Smbclient works, Apache works,
Xfree86/Xwindows works, SCSI-support to my internal
SCSI-Zip works, Ping, FTP, Telnet, elm, Pine etc. works.
My soundcard a XLerate TeraTec PCI DOESNT work,
Printing doesnt work.
Max!
--
My God it's full of stars�
------------------------------
From: "Sonnik (Anthony F.)" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To:
comp.os.linux,comp.os.linux.setup,comp.os.linux.portable,comp.os.linux.help,comp.os.linux.questions
Subject: Re: LILO problem with win98 (Redhat)
Date: Wed, 27 Jan 1999 02:48:37 GMT
I agree... I read this the other day in the RedHat documentation. I had
previously suggested doing a VER command to transfer in dos (not sure if this
changes MBR).
I haven't tried it though...
Fred Forester wrote:
> This could be dangerous.
>
> boot with a dos disk (not a win95 bootdisk) with msdos fdisk on the
> floppy. do fdisk /mbr
>
> boot with the linux floopy so you can get to the cdrom and run setup then
> reinstall lilo.
>
> Might see if others agree with this.
>
> Felix Lam wrote in message <[EMAIL PROTECTED]>...
> > hi there,
> >
> >As a newbie in Linux, I tried installing redhat 5.1 on the
> >Sony Vaio 505 notebook. After days and nights, it finally
> >installed ... :)
> >
> >The problem now is with booting my linux kernel. Booting
> >off disk is fine, but no luck with lilo. When I went thru the
> >step of setting up lilo during installation, it always reported
> >"an error has happened ..." and I eventually aborted this step.
> >
> >I have fiddled with my /etc/lilo.conf file but with no luck.
> >It always boot straight into win98 instead. When I run /sbin/lilo
> >, it always return
> >
> >Added Linux *
> >Partition entry not found.
> >
> >Here is a copy of my lilo.conf
> >
> >boot=/dev/hda
> >map=/boot/map
> >prompt
> >timeout=50
> >image=/boot/vmlinuz
> > label=linux
> > root=/dev/hda5
> > read-only
> >other=/dev/hda1
> > label=win98
> > table=/dev/hda
> >
> >Thanks a lot in advance. It has been bugging me many nights now ... :(
> >
> >P.S. When I run fdisk in Linux, it reports "unknown" type for my win98
> >partition, will this have anything with this problem??
--
Anthony F.
Sonnik Innovations
Resume padding available upon request.
------------------------------
From: Gary Momarison <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: why no as86 ???
Date: 26 Jan 1999 17:22:29 -0800
"Oo.et.oO" <[EMAIL PROTECTED]> writes:
> hello again everyone-
> I am having plenty of problems with RedHat 5.1. It seems to have left
> many key items off of my recent installation (new machine)
> I am now trying to recompile the kernel 2.0.34 for now so I can use my
> sound card. I have done this many times before in other installations.
> I get to the assembly parts of make zImage and I realize I have no as86!
>
> what is going on? I have as and gcc but as doesn't work for the
> assembler part and none of my cd's have as86 rpms on them. am I doing
> something dumb????
> thanks for any insight...
$ rpm -qf $(which as86)
bin86-0.4-3
--
Look for Linux info at http://www.dejanews.com/home_ps.shtml and in
Gary's Encyclopedia at http://www.aa.net/~swear/pedia/index.html
------------------------------
From: [EMAIL PROTECTED] (Donal K. Fellows)
Crossposted-To:
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Criminally Insane Programmers Are Attracted To Open Source Code
Date: 27 Jan 1999 11:05:36 GMT
In article <[EMAIL PROTECTED]>,
Jim Frost <[EMAIL PROTECTED]> wrote:
[ attribution lost ]
>> Also, making time_t 64 bits doesn't help programs that were compiled when
>> it was 32 bits.
>
> That's true, but in the UNIX world the hardware usually changes too fast to
> have to worry about maintaining backward binary compatibility. And if the
> hardware hasn't changed, the OS has.
>
> After all, I've gone through three generations of hardware since I started
> working with UNIX.
Filing systems. They have[*] to have binary dates, they tend to last
for a long time, and people aren't too keen on changing them to the
latest-and-greatest. Square or cube that for network-based filing
systems.
> The solution? Don't throw away the source code.
Sage advice indeed.
Donal.
[* OK, not strictly. But the alternative? Eeeww! ]
--
Donal K. Fellows http://www.cs.man.ac.uk/~fellowsd/ [EMAIL PROTECTED]
Department of Computer Science, University of Manchester, U.K. +44-161-275-6137
--
"And remember, evidence is nothing." - Stacy Strock <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Donal K. Fellows)
Crossposted-To:
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Criminally Insane Programmers Are Attracted To Open Source Code
Date: 27 Jan 1999 11:07:13 GMT
In article <[EMAIL PROTECTED]>,
Chris Mikkelson <[EMAIL PROTECTED]> wrote:
> Mr S A Penny <[EMAIL PROTECTED]> wrote:
>> then how did he become a father?
>
> A "General Protection Fault" perhaps?
Or maybe an Illegal Access Error.
Donal.
--
Donal K. Fellows http://www.cs.man.ac.uk/~fellowsd/ [EMAIL PROTECTED]
Department of Computer Science, University of Manchester, U.K. +44-161-275-6137
--
"And remember, evidence is nothing." - Stacy Strock <[EMAIL PROTECTED]>
------------------------------
From: "������" <[EMAIL PROTECTED]>
Subject: I can't c and fortran link
Date: Wed, 27 Jan 1999 11:49:18 +0900
I use linux 2.0.36
Function consist of fotran.
C language call function in define in fortran.
ex) fotran tlib.f
subroutine tlib1()
print*,"This is a test"
return
end
subroutine tlib3(ixl,iyl)
print*,ixl,iyl
return
end
subroutine tlib2(xl,yl)
print*,xl,yl
return
end
C main.c
#include <stdio.h>
#define tlib1 tlib1_
#define tlib2 tlib2_
#define tlib3 tlib3_
void main(int argc, char **argv)
{
float x,y;
int ix,iy;
tlib1();
x=100.; y=100.;
tlib2(&x,&y);
ix=10;iy=10;
tlib3(&ix,&iy);
}
if I main.c and tlib.o link
ex) cc -c tlib.f
ex) cc -o main main.c tlib.o
tlib.o: In function `tlib_':
tlib.o(.text+0x9): undefined reference to `s_wsle'
tlib.o(.text+0x21): undefined reference to `do_lio'
tlib.o(.text+0x39): undefined reference to `do_lio'
tlib.o(.text+0x41): undefined reference to `e_wsle'
Please help me
Thank you previous.
But, fortran call function in C. All program well operate
------------------------------
Date: Wed, 27 Jan 1999 12:06:05 +1030
From: Glen Turner <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: 2038 and Linux
gus wrote:
> > > The ironic thing about all this is that DEC VMS has had a 64-bit date
> > > representation all along: since, oh, 1985 or '86?
> > VMS uses a 64-bit time field. Its epoch is (somewhere in) 1858, and its
> > increment is 100 ns.
> The real problem with this system is the granularity of the 100ns. In
> about 10 years time I imagine that systems will be aproaching the lower
> bound of this time field, being able to compute, time, and store time
> values of perhaps 1ns or less .... ;-)
The granularity is also a problem because time and interval
measurement require differing hardware and software
techniques, and thus differing APIs.
I doubt that obtaining the time to a resolution of 100nS is useful
to anyone but astromomers. The ability to measure intervals of
time to 100nS or less is of much wider utility.
But by providing such as high resolution API, VMS encourages
programmers to use the time to measure the interval between
events.
As a concrete example, consider a timens() call that takes
one second, but returns the time to the nearest nS. Not
quite what one wants for interval measurement.
Similarly, when measuring intervals, you don't particularly
care that the computer's clock doesn't beat exactly in time
with a reference 'atomic' clock. But you do care that the
interval between those beats is 1S. The last thing you
want is a leap-second inserted to keep the time correct. [1]
Like floating point arithmetic, there is much more complexity
to time than is apparent at a first glance.
Cheers,
glen
[1] In fact, the poor calibration and temperature stability
of the typical computer clock makes it extremely unlikely
that the built-in clock measures either time or intervals
accurately.
------------------------------
Date: Wed, 27 Jan 1999 02:00:51 +0000
From: Eric Goforth <[EMAIL PROTECTED]>
Subject: How to copy buttsniff
I'm trying to copy a file that I've downloaded from my home directory to
a floppy, so that I can install it on my Windows machine.
[eric@localhost eric]# ls BUTTSniff-0.9.3.zip
BUTTSniff-0.9.3.zip
[eric@localhost eric]# cp BUTTSniff-0.9.3.zip
/mnt/floppy/"BUTTSniff-0.9.3.zip"
cp: cannot create regular file `/mnt/floppy/BUTTSniff-0.9.3.zip':
Invalid argument
[eric@localhost eric]# cp BUTTSniff-0.9.3.zip
/mnt/floppy
cp: cannot create regular file `/mnt/floppy/BUTTSniff-0.9.3.zip':
Invalid argument
[eric@localhost eric]# cp BUTTSniff* /mnt/floppy
cp: cannot create regular file `/mnt/floppy/BUTTSniff-0.9.3.zip':
Invalid argument
[eric@localhost eric]# cp "BUTTSniff-0.9.3.zip" /mnt/floppy
cp: cannot create regular file `/mnt/floppy/BUTTSniff-0.9.3.zip':
Invalid argument
[eric@localhost eric]# df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda5 1806411 1054111 658936 62% /
/dev/hda6 204913 154246 40085 79% /home
/dev/hda1 4187568 2300940 1886628 55% /dosc
/dev/fd0 1423 675 748 47% /mnt/floppy
[eric@localhost eric]#
--
To respond via e-mail please remove what's between Eric and Goforth in
my return e-mail address.
------------------------------
From: "David J. DeFrain" <[EMAIL PROTECTED]>
Subject: Re: Changed Lilo boot options, now Win98 won't boot
Date: Tue, 26 Jan 1999 22:20:53 -0500
That did it. Thanks a ton.
Justin Ryan [PHT] wrote in message <78j7p9$sp4$[EMAIL PROTECTED]>...
>on your dos boot disk, run fdisk /mbr, that'll make you be able to boot
>windows again, course you won't be able to use lilo off your hdd b/c that
>will kill it but until you get that worked out, fdisk /mbr will fix your
>windows booting problem, or it should..
>-Justin
>
>--
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Justin Ryan
>
>Internet/Developer Relations Associate
>Pacific HiTech / TurboLinux
>http://www.turbolinux.com/
>[EMAIL PROTECTED]
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>David J. DeFrain <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> I tried to edit Lilo options from
>> Linxconf. I was booting Linux strictly from a boot disk,
>> and wanted to be able to boot without a disk from the Lilo
>> prompt, with Win98 being the default. After setting this up
>> (I thought) on Linxconf, I am unable to boot Win 98, while
>> Linux works fine. Within Linux, I cannot mount my C: drive
>> either, which I could do before. I get the message "wrong fs type, bad
>> option,
>> bad superblock on /dev/hda1 (which is my C: drive). I cannot
>> boot Windows from a startup disk, either. At a DOS prompt,
>> I can see C: and it's contents, however. I must have hosed some
>> boot record, or something. I'm lost. TIA.
>>
>>
>>
>
>
------------------------------
From: David Kirkpatrick <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.help,comp.os.linux.setup
Subject: Re: Please HELP!!! PPPD is driving me mad!!!!
Date: Tue, 26 Jan 1999 20:34:26 +0000
Reply-To: [EMAIL PROTECTED]
Isn't the modem usually on com2 == cua1. I set my modem there
and
it fired right up. Com3 would be an odd-duck.
Jeremy Ellman wrote:
>
> Todd Schrubb wrote in message <01be4966$c432ada0$[EMAIL PROTECTED]>...
> >Make that two!
> >
> >I seem to be having the same problem... minicom will dial my modem, but
> >connects at an unbelievably slow rate. The connection times out before I
> >can even get to the login prompts. Additionally I can't get pppd or chap
> >to dial out using the ppp-on script.
> >
>
> [snip]
>
> I've finally (after several weeks fixed this one) thanks to some kind soul.
> It seems that Linux (or at least Red Hat 5.1) uses the same interrupts for
> /dev/cua0 (DOS COM1) typically your mouse,
> and /dev/cua2 (COM3 -- usually the modem).
>
> The way to check this is by using SETSERIAL. This will both report and
> change the irq used. If this is your problem
> you need to find an unused interrupt and use this for the modem.
>
> Jeremy
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: newb q - recompiling kernel for ppp
Date: Tue, 26 Jan 1999 20:36:41 +0000
Reply-To: [EMAIL PROTECTED]
Jerk - grow up.
7ate9 Designs wrote:
>
> I recently installed RedHat 5.2 and could have sworn I configured it
> for PPP but when I try to run pppd it complains that my kernel isn't
> configured with PPP support. I have read all the documentation I can
> find on recompiling the kernel and, being a relative newbie, I still
> have a few questions that I would really appreciate someone answering
> before I go fucking around with my kernel.
>
> 1. Since I have made slight alterations to my system (installing games,
> window managers and what-not) will a new kernel complain to me about
> bad paths and dependencies or whatever? Or is the kernel just there to
> talk to the hardware and the filesystem independent?
>
> 2. Since I can't get on the net with my Linux box yet, I can't download
> a new kernel...can I compile a new one from the source of the original?
>
> 3. If so, do I have to do this in a new directory or does one do this
> over the existing files?
>
> I am very happy with my current installation and would rather avoid
> re-installing the whole thing just to configure my kernel for PPP
> support..everything else works great. If anyone has found themselves
> in this situation before please let me know how you went about
> correcting it.
>
> - Germ
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (John E. Davis)
Crossposted-To: comp.os.linux.setup
Subject: Re: A newbie versus "vi"
Date: 27 Jan 1999 11:42:25 GMT
On Sat, 23 Jan 1999 00:03:41 +0100, Matthias Warkus <[EMAIL PROTECTED]>
wrote:
>Delete doesn't work, and for some strange reason, the keyboard layout is
>broken (I can't enter backquotes!). Must be because I've got a German
>keyboard.
What version of JED are you using? I suggest using the latest
development version available from
ftp://space.mit.edu/pub/davis/jed/snapshots. When you say `delete',
exactly what key are you referring to? Regarding backquotes, the
default binding of the backquote key is to `quoted_insert'. This
means that you must press the backquote key twice to insert a
backquote. Finally, run jed as:
jed -l keycode -f keycode
This will prompt for keys and report the escape sequences associated
with the keys. This information is useful for binding keys to
functions. See also question 9 in jed/doc/jed_faq.txt.
--John
------------------------------
From: [EMAIL PROTECTED] (John Forkosh)
Subject: Re: Prin to network-printers from Slackware
Date: 27 Jan 1999 06:45:17 -0500
Max Wiberg ([EMAIL PROTECTED]) wrote:
: What do I need to do, to able to print to
: our printers thats on the network.
: 1: Tektronix 550+ 1200DPI
: 2: HPlaser 4V
: Both printers have their own networkcard
: Ethernet/TCP-IP.
: Both printers have their own IP-adress
: Both printer(s)-queues are handled by the
: Primary Domain Controller on our network
: a win NT server 4.0 with sp3 (swedish)
Not exactly sure, but first edit /etc/printcap so that
the lp line reads
lp:mx#0:rm=ntserver.net
Notes:
o The mx#0 permits you to print files larger than 1MB.
See man printcap for more info.
o Obviously, ntserver.net is "dummy." Replace it with
whatever name is appropriate. If you don't have a
name for it on your machine, edit /etc/hosts and
make up a name for it using the actual IP address.
Possibly, check /etc/host.conf to make sure it contains
a line like order hosts, bind so that your hosts
file is actually read.
o You might be able to use IP address of one of the
printers, directly, instead of the NT server.
I have no real idea about that, but it should be
easy to try (modulo screams from sysadmin:).
Hope this helps,
John ([EMAIL PROTECTED])
------------------------------
From: Martin Gillett <[EMAIL PROTECTED]>
Subject: USR 56 K WinModem driver.
Date: Wed, 27 Jan 1999 06:51:35 -0500
Reply-To: [EMAIL PROTECTED]
Hi
Does anyone know of a driver for a USR 56K WinModem for Linux.
Thanks in advance
Martin Gillett
[EMAIL PROTECTED]
------------------------------
From: Ian Hay <[EMAIL PROTECTED]>
Subject: Re: Getting the local IP addess after ifup ppp0
Date: Tue, 26 Jan 1999 20:43:48 -0500
GeekGirl wrote:
>
> Hi everyone-
>
> One more small question. I would like to upload my local IP addess to
> a web site whenever the connection is re-established. Then I can
> telnet in from work, or set up an unreliable web server, etc. ;)
>
> So I have no problem using sed to replace a string with the IP in an
> html file. I don't imagine having a problem using expect and ftp to
> upload the page. What I need to know is:
>
> (1) Where can I get the new ip address (env variable)?)
I just use a small script to dig the new IP out of /var/log/messages:
if [ "$1" = "" ]; then
tail /var/log/messages |grep "local IP" |awk '{print $9}'
elif [ "$1" = "-mail" ]; then
tail /var/log/messages |grep "local IP" |awk '{print $9}' |mail
-s "Current IP" INSERT_YOUR_EMAIL_ADDRESS
else
echo usage: current_ip [ -mail ]
fi
--
========================================================
Ian R. Hay <mailto:[EMAIL PROTECTED]>
Toronto, Canada <http://www3.sympatico.ca/ian.hay/>
Linuxing about since June 21, 1998 <Redhat 5.1 - 2.0.35>
========================================================
------------------------------
** 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
******************************