Linux-Misc Digest #415, Volume #24 Tue, 9 May 00 15:13:04 EDT
Contents:
Re: LPT1 not recognized (Leonard Evens)
which fiie is my sound blaster ? ([EMAIL PROTECTED])
Re: LILO 1024 cyl thing (Tom)
Re: Help: Problem moving from netscape mail to pine (H.Bruijn)
Re: LPT1 not recognized (Thomas Schonborg)
Where is the kernel source? (Ken Yasuda)
Re: Need to find my IP address (bill davidsen)
Re: How to print page range in Netscape/Linux (Achim Linder)
Re: LILO 1024 cyl thing ("Foogar")
Re: new !!! Milcom Advanced Information Services ("Michael Bernardo")
Re: Minimum Hard Ware Requirement for Windows NT,95,Dos & linex, (mst)
Re: Is this a win modem?? ("Michael Bernardo")
----------------------------------------------------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: LPT1 not recognized
Date: Tue, 09 May 2000 12:13:11 -0500
Thomas Schonborg wrote:
>
> Hi All-
>
> I have a bit of a problem with my printer port. Let me start by saying I
>
> have RedHat 6.1 running on an HP Kayak XM600 (P-III, 256 MB RAM.) I have
>
> read and implemented all the known fixes for this I could find.
>
> A couple more points before I get started. One, I know the port works
> because I dual boot with NT and can print fine from NT. Two, this worked
>
> fine in Linux before I reloaded the system.
>
> What I have done so far.....
>
> 1. I disabled plug and play in the BIOS
> 2. I added the following lines to /etc/conf.modules
>
> alias /dev/printers lp
> alias /dev/lp* lp
> alias parport_lowlevel parport_pc
>
> 3. I checked my /dev directory and found lp0's last modified data is
> older than all the other installed devices. (I am under the impression
> that when you install Linux and it finds various devices it some how
> updates the device file thus giving it a newer, and in my case very
> recent, date.)
>
> Now, as I had mentioned before this was working before I wiped the
> system and reinstalled. As I recall a friend of mine did "something??"
> to update and thus activate lp0. She is quite a *nix pro and sometimes
> she does things so fast I don't know what she did(case in point?)
>
> I have searched the web for info about how to activate devices but to no
>
> avail. I would greatly appreciate yourLPT help on this. I would also be
> interested in finding out where I can find information regarding many of
>
> the "built-in" devices i.e. parrallel ports, serial ports, floppy disks.
>
> I mean if I want to install a Jaz drive (mine works fine BTW) I can
> easily find a HOWTO and I'm off. With some of the devices that are taken
>
> for granted the information is tough to find. Thanks in advance.
>
> Tom Schonborg
The usual problem with RH6.1 and the printer port is the missing
alias parport_lowlevel parport_pc
statement in /etc/conf.modules. I had to add that in my case.
I don't have the other two statements you mention. You can try
omitting them. After setting up /etc/conf.modules, you have
to make sure the modules are loaded, and the simplest way
to be sure you've done it is to reboot.
The printer device should be /dev/lp0.
ls -l /dev/lp0 should yield something like
crw-rw---- 1 root daemon 6, 0 May 5 1998 /dev/lp0
Also, what happens when you try to run printtool. Does it detect
lp0? And what does
/etc/rc.d/init.d/lpd status
show?
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: [EMAIL PROTECTED]
Subject: which fiie is my sound blaster ?
Date: Tue, 09 May 2000 17:39:51 GMT
Hi,
I have a soundblaster installed in redhat6.1. it works fine and can play
music. But I need to know which file in /dev/ it is connected to.
Specifically, I need to specify it in my vmware virtual machine.
Can anyone give me some hints?
thnx a loooot.
Ben
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Tom <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: LILO 1024 cyl thing
Date: Tue, 09 May 2000 17:52:04 GMT
Ok, here's my game plan. Install Win '95. Install Linux using a boot
diskette. After Linux is installed, download the new LILO and install it
(somehow). Does that sound good? My prob is a bit different than that at
the start of this thread. I have not installed Linux yet, but I wish to,
but beyond the 1024 limit. Will a boot disk allow me to do that? What is
on the boot disk?
Also, I am trying desperately to get a CD created from an ISO image. I
have Sony CD-Write and Nero at my disposal, but they seem to just copy
the file to the disk. I want the .ISO file "expanded" so it has all
files and directories on it. How would I go about doing that?
Step-by-step would be nice, but I'll take anything I can get. Thanks.
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Crossposted-To: comp.os.linux.setup
Subject: Re: Help: Problem moving from netscape mail to pine
Date: 9 May 2000 18:12:12 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 05 May 2000 19:42:04 -0500, Dennis James allegedly wrote:
>This is a cryptographically signed message in MIME format.
more signature then message (by a factor of 10) please don't! I couldn't
care less whether or not you really are Dennis James.
>
> I am trying to move from netscape mail to sendmail/pine. I have
>everything working, but the return address. It sends out the address and
>name of my user id, instead of what I want. I have changed the databases
>in sendmail, but it doesn't seem to see them. Any ideas?
>
edit your ~/.pinerc file:
# Over-rides your full name from Unix password file.
personal-name=Dennis James
# Sets domain part of From: and local addresses in outgoing mail.
user-domain=some.doamin.here
# Add these customized headers
customized-hdrs="Reply-To: [EMAIL PROTECTED]"
Now if this isn't enough, you'll have to edit sendmail to allow you to
write your own from address:
First you'll need to add your username to sendmails list of trusted users
ie users which are allowed to set their own from address rather then the
system-wide default. Below the relevant section of sendmail.cf
#####################
# Trusted users #
#####################
# this is equivalent to setting class "t"
Ft-o /etc/mail/sendmail.ct %[^\#]
Troot
Tdaemon
Here /etc/mail/sendmail.ct contains the list of trusted users.
simply add your username to that file and you'llbe allowed to create
customised From: headers. Or add a line like the ones for root and
daemon with your own username fi "Tdennis"
Then edit your .pinerc again.
# This names the path to an alternative program,
# and any necessary arguments, to be used in posting
# mail messages. This will make all messages appear to be sent
# by [EMAIL PROTECTED]
sendmail-path=/usr/sbin/sendmail -bm -t [EMAIL PROTECTED]
--
Herman
========================================================================
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn mail: [EMAIL PROTECTED]
The Netherlands GnuPG key: http://www.bruyn.org/gpgkey
------------------------------
From: Thomas Schonborg <[EMAIL PROTECTED]>
Subject: Re: LPT1 not recognized
Date: Tue, 09 May 2000 12:11:44 -0600
Leonard Evens wrote:
> The usual problem with RH6.1 and the printer port is the missing
> alias parport_lowlevel parport_pc
> statement in /etc/conf.modules. I had to add that in my case.
> I don't have the other two statements you mention. You can try
> omitting them. After setting up /etc/conf.modules, you have
> to make sure the modules are loaded, and the simplest way
> to be sure you've done it is to reboot.
>
> The printer device should be /dev/lp0.
> ls -l /dev/lp0 should yield something like
> crw-rw---- 1 root daemon 6, 0 May 5 1998 /dev/lp0
>
> Also, what happens when you try to run printtool. Does it detect
> lp0? And what does
> /etc/rc.d/init.d/lpd status
> show?
> --
>
> Leonard Evens [EMAIL PROTECTED] 847-491-5537
> Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
Thanks. Here's some additional clarification of the problem.
1. I have rebooted, I am very familiar with windoze so naturally I tried the
MS fix all - reboot.
2. /dev/lp0 does exsist but as I mentioned earlier, I find the date of the
file questionable.
3. The error I get from the printer configuration applet in the RedHat
control-panel is as follows:
Auto-detection found the following:
/dev/lp0 : Not detected
/dev/lp1 : Not detected
/dev/lp2 : Not detected
You may disregard this message
if you are setting up a serial printer.
This auto-detection may not always work
on Sparc and Alpha architectures.
If no devices were detected, this could
indicate a hardware problem that justifies
further investigation.
4. /etc/rc.d/init.d/lpd status shows:
lpd (pid 405) is running...
I apologize for not giving this info in my first post. I was a bit frazzled
and omitted this.
Thanks again.
Tom Schonborg
------------------------------
From: [EMAIL PROTECTED] (Ken Yasuda)
Subject: Where is the kernel source?
Date: 9 May 2000 18:30:25 GMT
I guess this should be a fairly easy one:
I am trying to do a "make" and (various gui modifications) on my kernel in
/usr/src/linux. I keep getting the error that there is no target for config,
menuconfig, xconfig, etc...
I've been told that it may be because my kernel source is not in the
/usr/src/linux directory. What exactly do I look for in order to determine this,
and how do you actually go about finding the kernel?
An ls -l in /usr/src/linux gives:
drwxr-xr-x 16 root root 4096 Jan 28 21:32 include
Any suggestions?
Thanks!
Ken
(To reply via email, please remove "nospam.")
------------------------------
From: [EMAIL PROTECTED] (bill davidsen)
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Date: 9 May 2000 18:28:39 GMT
In article <[EMAIL PROTECTED]>,
Kaz Kylheku <[EMAIL PROTECTED]> wrote:
| On Sat, 06 May 2000 21:06:50 GMT, Chris <[EMAIL PROTECTED]> wrote:
| >Herein lies one of my biggest complaints about the Linux development
| >environment: there should be no reason why an application programmer must
| >rely on undocumented "catch-all" calls to accomplish simple tasks. The
| >"man ioctl_list" page is a complete waste of time-- it's hopelessly out of
|
| Get real; these ioctl's are easy to find in the kernel source code.
|
| >date and only contains the argument type for each command without any
| >explaination of where, why or how each should be used. Application
| >programmers shouldn't have to resort to sifting through the kernel source
| >code to figure out how to perform simple and common tasks.
|
| I disagree on both counts. Having the operating system source code
| is a blessing. I'd rather read ten lines of code than a thousand lines
| of documentation.
Do you work for Microsoft? Why else would anyone argue that having
documentation is not as good as wading through the kernel source?
| Secondly, I disagree that tasks accomplished through operating system specific
| ioctl's are ``simple and common''. There is no need for something other than a
| system management utility to be making the SIOCGIFADDR ioctl. People writing
| system management utilities should have intimate knowledge of the operating
| system.
|
| This stuff needs to be hard to find and hard to use, otherwise people will go
| rampant writing programs that depend on shaky semi-private interfaces in the
| OS.
Is it that you have a reason to promote the "Linux is really hard to
use" approach, that you believe in "security through obscurity," or that
you are a kernel coder and "if it was hard to write it should be hard to
read?" In any case you are dead wrong, the documentation should be
written first, and then used as a template for both the application
programmer and the kernel implementor. Looking at the source code
encourages applications to use bugs as features, rely on implementation
errors, etc.
| >People who write device drivers or kernel modules should provide a proper
| >man(2) or man(3) page. Ideally, we should kill off the ioctl() function
| >and place all accessible driver variables in /proc.
|
| The ioctl call is not just for setting and retrieving parameters; ioctl's can
| be used to perform synchronous tasks, such as blocking until something happens
| in a driver.
|
| The idea of replacing ioctl by /proc is absurd.
So was the idea of tuning the kernel on the fly using /proc/sys until
someone did it. Now if you said that some ioctl functions don't map
well into a /proc model, I would agree completely. And for portability,
as much as there is with ioctls, it's important to still provide that
functionality, and desirable for small . But there is a lot of worth to
the idea that many of the ioctl functions could be provided via a /proc
interface, even though that is certainly non-portable.
--
bill davidsen <[EMAIL PROTECTED]> CTO, TMR Associates, Inc
"Doing interesting things with little computers since 1979"(tm)
The hardest test of maturity is knowing the difference between
resisting temptation and missing a once-in-a-lifetime opportunity.
------------------------------
From: [EMAIL PROTECTED] (Achim Linder)
Subject: Re: How to print page range in Netscape/Linux
Date: Tue, 9 May 2000 20:25:03 +0200
On Sat, 06 May 2000 11:09:32 -0400, Nguyen-Dai Quy wrote:
>Robert Lynch wrote:
>> I've thought about trying to program a print filter (pages, page
>> numbering shouldn't be too big a problem), but how to get the URL info
>> from Netscape?
>
>For URL I don't know how to get it :-( But I have already a Perl script
>which used to add date, time and page number to ps file created by
>Netscape. I would like to get URL too, but it seems impossible for me,
>but maybe you know some tricks ...
Perl solution:
#!/usr/bin/perl
@datum = (split ' ', localtime(time))[0,1,2,4];
$getid = '`xwininfo -tree -root | sed -n "/Navigator/{s/ [^ 0].*//p;q;}"`';
chop($url = `xprop _MOZILLA_URL -id $getid`);
chop($url);
$fline = substr($url, 24, 80);
$sline = substr($url, 104);
$fline =~ s/[()]/\\$&/g;
$sline =~ s/[()]/\\$&/g;
$flag = "";
$flagn = "grestore\n";
$pscom = "gsave\n" .
"0 setgray\n" .
"50 45 moveto\n" .
"/Helvetica findfont 10 scalefont setfont\n" .
"(p ";
$wline = " @datum $fline ) show\n" .
"50 32 moveto\n" .
"($sline) show\n" .
"grestore\n";
while (<>) {
if (/^%%Page:/) {
$_ = $flag . $_ . $pscom . ++$pcount . $wline;
$flag = $flagn;
}
print;
}
Doesn't work with Netscape 6 PR1 (no _MOZILLA_URL property). See also:
www.cs.indiana.edu/docproject/programming/postscript/postscript.html
Achim
------------------------------
From: "Foogar" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: LILO 1024 cyl thing
Date: Tue, 9 May 2000 13:24:02 -0500
Reply-To: "Foogar" <[EMAIL PROTECTED]>
Don't laugh but I used Adaptec's Easy CD Creator software to make my disk
from the iso, and all i had to do was double click the iso file to get it
all to start. If nero supports it you should try burning from a disk
immage, then point it at the iso.
--
========================================
to reply via email, send to [EMAIL PROTECTED]
"Tom" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
| Ok, here's my game plan. Install Win '95. Install Linux using a boot
| diskette. After Linux is installed, download the new LILO and install it
| (somehow). Does that sound good? My prob is a bit different than that at
| the start of this thread. I have not installed Linux yet, but I wish to,
| but beyond the 1024 limit. Will a boot disk allow me to do that? What is
| on the boot disk?
|
| Also, I am trying desperately to get a CD created from an ISO image. I
| have Sony CD-Write and Nero at my disposal, but they seem to just copy
| the file to the disk. I want the .ISO file "expanded" so it has all
| files and directories on it. How would I go about doing that?
| Step-by-step would be nice, but I'll take anything I can get. Thanks.
------------------------------
Reply-To: "Michael Bernardo" <m i c h a e l @ a s y l u m . t o>
From: "Michael Bernardo" <m i c h a e l @ a s y l u m . t o>
Subject: Re: new !!! Milcom Advanced Information Services
Date: Tue, 9 May 2000 15:01:27 -0400
That's very nice. Now get off our newgroup!
"Milcom Techie" <[EMAIL PROTECTED]> wrote in message
news:8f9b19$a17$[EMAIL PROTECTED]...
> www.ct-milcom.com
>
> We would like to Welcome you to:
>
>
> --- Milcom Information Technology Services Website ----
>
> Milcom provides state of the art Services in the following areas.
>
> Web Page Design - Flash Animation Design
> Web Site Hosting
> Online Business Advertising
> Linux Setup,
> Kernel Configurations,
> Server Setup, Web Server, Dialup, Proxy
> Programming Javascript, Perl,
> Unix Shell Programming , Automation, XML,
> Networking, TCP/IP Troubleshooting and configuration
> Lan and Wan Configuration
> Security analysis of your business and recommendations
> Reasonable quotes.
>
>
> Our Web Site: www.ct-milcom.com
>
>
> MILCOM - PROVIDING SMALL BUSINESS WITH BIG BUSINESS SOLUTIONS.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: mst <[EMAIL PROTECTED]>
Subject: Re: Minimum Hard Ware Requirement for Windows NT,95,Dos & linex,
Date: Tue, 09 May 2000 15:04:12 -0400
Villy Kruse wrote:
>
> On 9 May 2000 16:21:12 GMT, Karel Jansens <jansens_at_ibm_dot_net> wrote:
> >uzman ali <[EMAIL PROTECTED]> wrote:
> >
> >> My Name is Uzman,I want to ask the minimum(complete)hardware requirement
> >> for WindowsNT,95,98,Dos,Linex.
> >>
> >For DOS: a computer.
> >For Linux: a computer with at least a 386 CPU and 8 mb RAM (should
> >work with less, but more difficult).
> >For Windowsxx: the fastest, most expensive machine you can find in the
> >shop is the minimum required machine. For smooth running you will
> >always need next year's hardware..
> >
>
> Same for linux if you intend to run the latest and gratest x-windows
> application, web browsing, and multimedia. Good old CLI programs are
> much more modest in memory requirements.
>
> Villy
X runs fine here, with KDE, Netscape, Real Player (a tad choppy, I
agree), on a 486-DX2/50.
MST
------------------------------
Reply-To: "Michael Bernardo" <m i c h a e l @ a s y l u m . t o>
From: "Michael Bernardo" <m i c h a e l @ a s y l u m . t o>
Subject: Re: Is this a win modem??
Date: Tue, 9 May 2000 15:03:45 -0400
Open the box. If it don't have jumpers, it ain't a real modem.
--
M i c h a e l B e r n a r d o
m i c h a e l @ a s y l u m . t o
"tricky" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> Just getting into Linux at the moment ... so forgive the dumb question
> ..... could someone tell me if this is a win modem:-
>
> Compaq Presario 56k-DFi ??
> Machine is a Compaq Presario 5030
>
> I am having great success with SuSE Linux 6.3 apart from the modem
> thing
>
> thanks
>
> richard
------------------------------
** 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
******************************