Linux-Misc Digest #72, Volume #27 Sat, 10 Feb 01 02:13:03 EST
Contents:
Re: Sun floppy access from Linux? (Oliver Wiegand)
Re: writing hello world in linux (Glitch)
Re: KDE vs FVWM - a quick question (Glitch)
Re: xmms and esd plugin config. (Glitch)
Re: WEb Cam for Newbi (Robert Heller)
Re: Apache (Oliver Wiegand)
Re: Apache (David Efflandt)
Re: Problem with a shared library. (Oliver Wiegand)
Re: PERL + MYSQL + CRONTAB question..... (Oliver Wiegand)
Re: Newbie: programming? (*Rotten_168*)
Re: qt programs compiling (Oliver Wiegand)
interpretting /var/log/messages ("Taylor Sutherland")
Re: the best? (*Rotten_168*)
Re: writing hello world in linux (*Rotten_168*)
I need software recommendations: (*Rotten_168*)
Re: Sun floppy access from Linux? (Alex Yung)
Re: lilo.conf and boot up questions (Zen Sorcerer)
Re: PCI: "the same IRQ is used by device" problem (Nader)
Re: Apache ("PCHservices")
----------------------------------------------------------------------------
From: Oliver Wiegand <[EMAIL PROTECTED]>
Subject: Re: Sun floppy access from Linux?
Date: Sat, 10 Feb 2001 05:05:35 +0100
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> I have been asked to work with a floppy used with a Sun machine, an
> older one I think, to read, copy files to and from etc. I can use Linux
> to do that if it is able. But I haven't worked with a Sun machine and
> don't know what to expect for file systems on a floppy.
>
> Anyone know?
>
> Sent via Deja.com
> http://www.deja.com/
I had success with exchanging files between solaris 2.6 and linux.
Floppy was formatted with plain old msdos :).
Greetings, Oli
------------------------------
Date: Fri, 09 Feb 2001 23:32:57 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: writing hello world in linux
Mint wrote:
> I have installed redhat linux 6.1 and am trying to write hello world c
> program.
>
> I have never done c programing and I am only just learning linux so am a
> serious amateur.
>
> please help.
>
> --
> Posted via CNET Help.com
> http://www.help.com/
learn how to do the programming first then worry about doing it on Linux.
doing it on linux isnt much different than on Windows: you edit a file
and compile it
use an editor to write the code, save the file, then use 'gcc' as the
compiler.
gcc -o prog prog.c
would be your syntax
------------------------------
Date: Fri, 09 Feb 2001 23:36:00 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: KDE vs FVWM - a quick question
Nick wrote:
> I'm fairly new to this Linux game (6 months or so) and have settled on
> SuSE Linux as my preferred distribution and KDE as my preferred GUI.
> However, one thing KDE lacks that the other variations on FVWMx have, is
> a X-Messages terminal screen. I find this very handy as when a program
> fails to run, you can see at once what the problem is. Under KDE if a
> program fails to run, I have to exit the GUI to see what the problem
> was.
>
> Can X-Messages (or something similar) be run under KDE? If so, how?
>
> Many thanks in advance,
>
> Nick
>
> P.S. I'm struggling with Wine too, so I'll stick around here for a while
> :)
if you hit ALT+Fx (x corresponding to the terminal number you used to
launch Xwindows) you can return to the terminal and 'exit' Xwindows. Hit
ALT+F7 to get back to Xwindows. You can also hit any ALT+Fx key
sequence to login using another console, if u don't want to open an
actual terminal window.
------------------------------
Date: Fri, 09 Feb 2001 23:38:33 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: xmms and esd plugin config.
[EMAIL PROTECTED] wrote:
> Hello,
> I have installed the xmms 1.2.4 rpm , the esd plugin rpm , and the
> xmms-devel rpm (all of them the helix-gnome builds) on a RH7 box, but
> the plug-in doesn't appear in the configuration for xmms. Without the
> esd plugin (i.e. using the oss plugin), when I play music, the quality
> is extremely poor and xmms pegs the CPU at 100%. How can I get the
> plugin to show up so that xmms can use it, and so other applications
> (like gkrellm) can play their event sounds while xmms is playing?
> Thanks for any answers you may have.
>
>
> Sent via Deja.com
> http://www.deja.com/
move the esd plugin to /usr/X11R6/lib/xmms/Input/ with the rest of the
plugins. Exit xmms and reload it,plugin should appear.
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: WEb Cam for Newbi
Date: 9 Feb 2001 22:36:44 -0600
"Peter T. Breuer" <[EMAIL PROTECTED]>,
In a message on Fri, 09 Feb 2001 23:45:58 GMT, wrote :
"TB> Michael Heiming <[EMAIL PROTECTED]> wrote:
"TB>
"TB>
"TB> >> This would probable help but my box has no usb ports and I already have a
"TB> >> bttv card :o(
"TB>
"TB> You can buy a pci-card with usb ports on. Or a pcmcia card. USB cameras
"TB> look to be where the market is at.
For a 100% plug and play web camera visit
<http://www.axis.com/r/?keyword=2100prodpage> -- with this 'toy' you can
set up a web cam, *and you don't even need a computer*. The AXIS
Network Camera is completely self-contained. It is camera, hardware
JPEG compresser, and webserver all in a small package. Just plug in the
power supply, pop in a Cat5 cable to a network hub/switch/router or
connect to a external serial (RS232) modem and presto, your webcam is up
and running.
Visit http://vis-www.cs.umass.edu/viscam.html for a web cam the CVRL got
a couple of weeks ago. Took me all of 5 minutes to get it up and running.
"TB>
"TB> There are also parallel port cameras - but harder to get hold of. Only
"TB> a very few are supported.
"TB>
"TB> >> If I get really desperate I may have to upgrade my machine and dump my video
"TB> >> card but this would be almost a last resort.
"TB>
"TB> I have both a tv card and a usb camera. I don't see why you need to
"TB> dump anything.
"TB>
"TB> > if your working bttv card has a working video input, I
"TB> > would suggest getting a Sony CCX-Z77E color vide camera.
"TB>
"TB> Any camera with an output to a tv input should be fine! But expensive.
"TB>
"TB> > I have one, it makes really great pictures (640x480) and was not
"TB> > that expensive (229,- DM don't know in $), its much better than any
"TB> > of those USB and other webcams I saw.
"TB>
"TB> If you can get it. 229DM is about twice the price of the camera I was
"TB> talking about, but it won't be ccd!
"TB>
"TB> Peter
"TB>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
Posted Via Nuthinbutnews Premium Usenet Newsgroup Services
==========================================================
** SPEED ** RETENTION ** COMPLETION **
==========================================================
http://www.nuthinbutnews.com
------------------------------
From: Oliver Wiegand <[EMAIL PROTECTED]>
Subject: Re: Apache
Date: Sat, 10 Feb 2001 05:43:58 +0100
Reply-To: [EMAIL PROTECTED]
PCHservices wrote:
>
> Hello, I am having a problem with apache that I am quite certain anyone
> that knows the software could help me with as I just started using it a
> bout two weeks ago. I had my Serverroot location working with no
> problems whatsoever so I started setting up the system for Userdirs. I
> can access the HTML in the individual public_html dir and pull up the
> pages in netscape or kfm with no problem by putting in
> http://my.ip.address/~user. The problem is, that noone else can from an
> external source.
What is my.ip.address ? A static/dynamic IP from your ISP ? An IP in
your internal network with several workstations ?
What is external source ? A workstation on your internal network ? Has
an "external source"
any access to your computer ('ping my.ip.address' for example) ?
Greetings,Oli
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Apache
Date: Sat, 10 Feb 2001 04:49:46 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Fri, 09 Feb 2001 18:57:37 GMT, PCHservices <[EMAIL PROTECTED]> wrote:
>Hello, I am having a problem with apache that I am quite certain anyone
>that knows the software could help me with as I just started using it a
>bout two weeks ago. I had my Serverroot location working with no
>problems whatsoever so I started setting up the system for Userdirs. I
>can access the HTML in the individual public_html dir and pull up the
>pages in netscape or kfm with no problem by putting in
>http://my.ip.address/~user. The problem is, that noone else can from an
>external source.
"http://my.ip.address/~user" is not a valid URL (trailing slash missing),
so apache redirects this to "http://ServerName/~user/". The question is,
can the remote client resolve the ServerName that apache thinks it is
running as? See apache docs for UseCanonicalName.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: Oliver Wiegand <[EMAIL PROTECTED]>
Subject: Re: Problem with a shared library.
Date: Sat, 10 Feb 2001 05:54:40 +0100
Reply-To: [EMAIL PROTECTED]
Jean-David Beyer wrote:
>
> When I try to download a .tsv file with Netscape (that will be imported
> by Applixware), I get the following message from Netscape:
>
> Gtk WARNING **: Unable to locate loadable module in module-path:
> libmetal.so
>
> This library definately exists:
>
> valinux:root[/usr/lib]# ls -l /usr/lib/gtk/themes/engines/libmetal.so
> -rwxr-xr-x 1 root root 40482 Aug 1 2000
> /usr/lib/gtk/themes/engines/libmetal.so
> valinux:root[/usr/lib]# file /usr/lib/gtk/themes/engines/libmetal.so
> /usr/lib/gtk/themes/engines/libmetal.so: ELF 32-bit LSB shared object,
> Intel 80386, version 1, not stripped
> valinux:root[/usr/lib]#
>
> I have recently run depmod -a, but that does not seem to help, because
> depmod does not look in /usr/lib/gtk/themes/engines unless I add the
> line
>
> path=/usr/lib/gtk/themes/engines to /etc/conf.modules. If I do that, it
> gets all bent out of shape because some of the other files in that
> directory are not .so files. I tried putting a symbolic link to the
> required module in /usr/lib and running depmod again. That does not hurt
> anything, as far as I can tell, but it does not solve the problem.
>
> What next?
>
> --
> .~. Jean-David Beyer Registered Linux User 85642.
> /V\ Registered Machine 73926.
> /( )\ Shrewsbury, New Jersey
> ^^-^^ 2:05pm up 10 days, 22:33, 4 users, load average: 2.18, 2.15, 2.10
depmod looks for dependencies of kernel modules, not for your libraries.
Gtk-modules are no kernel modules,so forget about depmod.
ldconfig updates /etc/ld.so.cache, where your libraries are
"registered".
Greetings Oli
------------------------------
From: Oliver Wiegand <[EMAIL PROTECTED]>
Subject: Re: PERL + MYSQL + CRONTAB question.....
Date: Sat, 10 Feb 2001 06:07:47 +0100
Reply-To: [EMAIL PROTECTED]
Breaking Spaces wrote:
>
> How do i receive email and process it into an mySql database using crontab?
> Can i use perl-scripts with crontab?
You can run any executable script with crontab.
Use Net::POP3 and Mysql.pm from CPAN.
Greetings Oli
> I'am running und redhat 7.0
>
> Greetings,
> Richard
------------------------------
From: *Rotten_168* <[EMAIL PROTECTED]>
Subject: Re: Newbie: programming?
Date: Sat, 10 Feb 2001 05:11:53 GMT
Leejay Wu wrote:
>
> Excerpts from netnews.comp.os.linux.misc: 5-Feb-101 Newbie: programming?
> by [EMAIL PROTECTED]
> > I have recently switched to Linux, and am ready to get started
> > programming. I have a little experience programming with Borland
> > C++ Builder, and M$ Visual Basic, both of which are exclusively
> > for Windows. Now, I took a look at GTK, and I have NEVER seen
> > anything so complicated! I also could not figure out Glade,
> > which is obviously a tool for making GTK programs.
> >
> > Where should I start? Should I start with C++? I would like to
> > make programs with GUI's (not text-based). Any guidance would be
> > a HUGE help. What language, how to get started, etc.
>
> Hrm. If portability is important, then Java and Tcl/Tk would both
> apply -- probably the former would be a better approach since it's
> structure and style are a bit like C++ (albeit being trapped in
> classes, forever...). For that, hrm, Sun provides tutorials IIRC.
> With Tcl/Tk, perhaps Ousterhout's "Tcl and the Tk Toolkit" would
> work. Tk interpreters can be built into C++ programs (perhaps C
> as well, IIRC), and, methinks, Perl.
>
> If you're instead interested primarily in Unixland, then toolkits
> like Xforms (http://world.std.com/~xforms) become an option.
> Xforms is one I like for designing small utils, because it's a)
> entirely in C, and b) includes a graphical layout manager, which
> means that I *don't* have to pull out graph paper and start
> plotting coordinates by hand. OTOH it's probably not as full-
> featured as GTK.
> --
> | [EMAIL PROTECTED] | the silly student |
> |--------------------------| he writes really bad haiku |
> | #include <stddiscl.h> | readers all go mad |
>
>
Bah. Vi and Gcc (or G++) are the best tools for getting started for
Linux programming.
--
Rotten168
=============================
http://rotten168.home.att.net
=============================
ICQ# 51265871
------------------------------
From: Oliver Wiegand <[EMAIL PROTECTED]>
Subject: Re: qt programs compiling
Date: Sat, 10 Feb 2001 06:12:06 +0100
Reply-To: [EMAIL PROTECTED]
XT wrote:
>
> I found some sample source files in the trolltech website, so I tried to
> compile them under linux with, but as I try to do it, the compiler tells me
> that it can't find header files such as qapplication.h ... even if qt and
> qt-devel packages are correctly installed.
> Thanks a lot in advance
Did you set 'export QTDIR=/path/to/your/qt_stuff', assuming you are
using bash ?
Greetings Oli
------------------------------
From: "Taylor Sutherland" <[EMAIL PROTECTED]>
Subject: interpretting /var/log/messages
Date: Sat, 10 Feb 2001 00:21:00 +0500
I've started to get an intermittent entry in my /var/log/messages
nivdome modprobe: modprobe: Can't locate module net-pf-10
It's started to, possibly, coincide with my my network stopping for no
apparent reason. The problem is, I can't seem to find what the heck is
looking for this net-pf-10 so I can shut it up.
------------------------------
From: *Rotten_168* <[EMAIL PROTECTED]>
Subject: Re: the best?
Date: Sat, 10 Feb 2001 05:21:36 GMT
Tom Badran wrote:
>
> Mandrake, every time, and ive used them all (well loads of them anyway).
> Although you will definately want a development install and use the 2cd
> version.
> --
> Microsoft is not the answer, its the question.
> And the answer is no. www.badran.co.uk
Argh, yes, when I was just beginning it was so frustrating when BASH
wouldn't recognize 'make' or 'gcc'. That's one of my many complaints
with Mandrake.
--
Rotten168
=============================
http://rotten168.home.att.net
=============================
ICQ# 51265871
------------------------------
From: *Rotten_168* <[EMAIL PROTECTED]>
Subject: Re: writing hello world in linux
Date: Sat, 10 Feb 2001 05:28:42 GMT
Mint wrote:
>
> I have installed redhat linux 6.1 and am trying to write hello world c
> program.
>
> I have never done c programing and I am only just learning linux so am a
> serious amateur.
>
> please help.
>
> --
> Posted via CNET Help.com
> http://www.help.com/
So using your preferred editor:
int main()
{
printf("Hello world.");
return 0;
}
save it as a *.c file and compile it by typing
gcc [your file].c
the output is by default a.out.
so run your program by typing:
./a.out
Hope this helps you get started.
--
Rotten168
=============================
http://rotten168.home.att.net
=============================
ICQ# 51265871
------------------------------
From: *Rotten_168* <[EMAIL PROTECTED]>
Subject: I need software recommendations:
Date: Sat, 10 Feb 2001 05:36:57 GMT
for:
A decent GUI-based mail/newsreader (as in all-in-one) like
Outlook/Netmail/Agent for Linux. I've used the Mozilla and Netscape ones
and I'm kinda' disappointed. I tried Pan but the dependencies thing was
ridiculous (I needed glibc.whatever and for that I needed gtk++.whatever
and for that I needed... well you get the picture).
A decent browser. NS and Mozilla are about as stable as Mike Tyson.
Mozilla .7 in particular likes to close every instance of the program
when I close just one. And Mozilla based browsers don't really render
HTML as good as IE.
--
Rotten168
=============================
http://rotten168.home.att.net
=============================
ICQ# 51265871
------------------------------
From: [EMAIL PROTECTED] (Alex Yung)
Subject: Re: Sun floppy access from Linux?
Date: 10 Feb 2001 06:06:03 GMT
I know Sun machine can create MSDOS/FAT16 and ufs file system on
floppy. You just mount your Sun floppy using "-t ufs" or "-t msdos".
That is about it.
[EMAIL PROTECTED] wrote:
: I have been asked to work with a floppy used with a Sun machine, an
: older one I think, to read, copy files to and from etc. I can use Linux
: to do that if it is able. But I haven't worked with a Sun machine and
: don't know what to expect for file systems on a floppy.
: Anyone know?
------------------------------
From: Zen Sorcerer <[EMAIL PROTECTED]>
Subject: Re: lilo.conf and boot up questions
Date: Sat, 10 Feb 2001 06:30:09 -0000
What does your /etc/fstab look like? Maybe there is a mistake in it or
something that is preventing the mounting of filesystems. :)
Are there any error messages during boot up? What are they, if any?
Or it could be that you've been hacked. :(
Next time edit /etc/hosts.deny and add:
#Deny all hosts access
#Hosts that are allowed to use system services
#are listed in /etc/hosts.allow
ALL:ALL
Then edit /etc/hosts.allow and allow access as needed.
Zen
Stearns28 wrote:
>
>
> Hi all,
>
> I have a question about lilo.conf and boot up uner RH 6.1. Please give
me a
> hand if you can.
>
> I found this line in my lilo.conf after the "image=" line:
>
> initrd=/boot/initrd-2.2.12-20.img
>
> What does this line do? I looked thru 'man lilo.conf' and could find
any
> thing on initrd .
>
> My RH 6.1 server failed to boot up after a cold reboot. The boot process
> stopped after mounting only the root file system in read-only mode.
All
> other filesystems in /etc/fstab were not mounted. /sbin/init was not
> executed and I was booted into a /bin/sh shell instead.
>
> I could not edit lilo.conf becaue /etc is in the read-only root system.
>
> What went wrong? Any idea?
>
> Thanks.
>
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Nader <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: PCI: "the same IRQ is used by device" problem
Date: Fri, 09 Feb 2001 22:46:14 -0800
When I had a similar problem with my PCI and my HPT366 controller, I had
to patch and configure the kernel to make it work.
OLD:
kernel 2.2.14
NEW:
kernel 2.2.16
+ HPT366 patch (see HPT366 How-To)
+ latest serial driver from SourceForge (5.05)
[EMAIL PROTECTED] wrote:
> Hello,
>
> My PCI subsystem (kernel 2.4.1) issues "the same IRQ is used
> by device..." message when I try to use, for example, my network
> card running the adsl-start script. The IRQ in question is 9 and
> it's shared by my network card (3Com 3c905B "Cyclone"), the sound
> card (SB 256 Live!) and the USB controller (VIA chipset); my
> motherboard is Asus A7V.
>
> Any suggestions how to get the PCI working? Thanks.
>
> Sent via Deja.com
> http://www.deja.com/
------------------------------
From: "PCHservices" <[EMAIL PROTECTED]>
Subject: Re: Apache
Date: Sat, 10 Feb 2001 06:46:39 GMT
Oli, my ip address is dynamic but I am having the "extrernal source" use
the syntax http://63.52.132.145 or whatever it happens to be at the time.
As I said, they can certainly get to my page in serverroot, just not the
userdirs so "external sources" do have access to my machine. All of the
pertinent files and directories are rwxr-xr-x. Do you have to specify the
port that the userdirs will use or will they use 80 or some other default
port? If they require a different port, then that is my problem as my
firewall is blocking them.
In article <[EMAIL PROTECTED]>, "Oliver Wiegand"
<[EMAIL PROTECTED]> looked down upon the people and proclaimed:
> PCHservices wrote:
>>
>> Hello, I am having a problem with apache that I am quite certain anyone
>> that knows the software could help me with as I just started using it a
>> bout two weeks ago. I had my Serverroot location working with no
>> problems whatsoever so I started setting up the system for Userdirs. I
>> can access the HTML in the individual public_html dir and pull up the
>> pages in netscape or kfm with no problem by putting in
>> http://my.ip.address/~user. The problem is, that noone else can from an
>> external source.
>
> What is my.ip.address ? A static/dynamic IP from your ISP ? An IP in
> your internal network with several workstations ? What is external
> source ? A workstation on your internal network ? Has an "external
> source" any access to your computer ('ping my.ip.address' for example) ?
> Greetings,Oli
------------------------------
** 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
******************************