Linux-Misc Digest #72, Volume #25 Sat, 8 Jul 00 10:13:02 EDT
Contents:
Re: MAKEDEV is different...Hmmm... (Hendrix)
Starting a program at login or startup ("Chew GH")
Routing problem for Internet access ("Marcm")
Sawfish weirdness ("Cpt Dondo")
Re: Resolution of X (Hendrix)
booting stops when trying to mount partitions. ([EMAIL PROTECTED])
Re: Problem with compilation (Nicholas Murison)
Re: CD Burner woes ([EMAIL PROTECTED])
Re: Pine - how to automatically BCC myself? ([EMAIL PROTECTED])
Re: booting stops when trying to mount partitions. (DeAnn Iwan)
Re: booting stops when trying to mount partitions. (Aaron Kulkis)
Re: Pine - how to automatically BCC myself? ([EMAIL PROTECTED])
Re: booting stops when trying to mount partitions. ("Platinum Dragon")
Re: Connecting Dumb Terminals ("Marc Schlensog")
Re: Routing problem for Internet access (Robie Basak)
Re: Writing to CD-RW (Robie Basak)
Re: booting stops when trying to mount partitions. ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: Hendrix <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: MAKEDEV is different...Hmmm...
Date: Sat, 08 Jul 2000 08:54:20 -0230
Homer Jay wrote:
>
> > Hmm...
> >
> > Why is it that when I use the MAKEDEV script to make a new /dev
> > directory I only get 706 files, but when I look in my Red Hat 6.1 /dev
> > directory I get over 2300 files... This doesn't mean that I'll need to
> > 'mknod' almost 2000 files does it...???*s*
> >
> > The MAKEDEV options I used are:
> >
> > MAKEDEV -v generic
> >
> > Thanks,
> > --
> > Trevor Penney,
> > A+, Network+ Certified
> A+? Is that, like, a M$ certification? Go towards the light CarolAnn!
Nope... It's a vendor-neutral certification for mainly hardware,
although for a vendor-neutral certification, it sure had a lot to do
with Dos/Windows (one complete exam actually)... But the new test
covers Linux aswell... It lacks a lot of serious hardware issues, and
isn't anything past entry-level technicians, but I still post it with
*pride*...<s> A lot of people see me asking questions in many of the
newsgroups, and they question it's validity...But...The fact is, being
A+ certified doesn't mean that you know, claim to know, or must know
everything there is to know about hardware/software... I do not believe
that I am only certified on paper, rather than really knowing my
stuff... I just claim that I know, and know well, the objectives that
are required to pass both exams (hardware/software)... If I knew
everything, I wouldn't post a question... That seems to be hard to
knock into some people's heads... The world would move a lot smoother
if everyone didn't have a phobia of asking questions...
Thanks for your reply...
Trevor...
------------------------------
From: "Chew GH" <[EMAIL PROTECTED]>
Subject: Starting a program at login or startup
Date: Sat, 8 Jul 2000 19:45:34 +0800
Which files do I edit to start a certain program (for those who've heard of
it, it's Seti@home) that stays in the backgroud whenever a user, any user
logs in, without editing the $HOME/.profile files? The program should
preferably be executed with a specific user as the initiator of the program
since it writes files to the disk. A better arrangement is that the program
starts even before anyone logs in. How is this done?
------------------------------
From: "Marcm" <[EMAIL PROTECTED]>
Subject: Routing problem for Internet access
Date: Sat, 8 Jul 2000 05:09:17 -0700
I have a Redhat 6.0 Linux box that I connect to my ISP via a 56K USR
external modem using "pppd" and "chat". This works great and provides me
with an IP address. I can ping anywhere on the web, though I haven't
connected to my ISP's nameserver yet so I must always use IPaddresses.
I have a second PC that is running NT Server 4.0 and is connected to the
Linux box via a network card and hub. It can ping the Linux box. What I want
to do is have the NT box browse the web via the Linux box, (ie: pass through
the Linux system to the internet). But my routing is not right.
QUESTION: How do I set up routing to accomplish this?
Here is the setup of my system:
NT box: 172.17.10.100, mask 255.255.0.0, default gateway 172.17.10.116
Linux box: 172.17.10.116, mask 255.255.0.0, (default gateway 172.17.0.1???)
The default gateway of the Linux box was set up automatically when I
installed Redhat, but the default gateway of the Linux box shouldn't matter
here, (should it?).
When I attach to the internet I am assigned address 216.66.152.156 on the
PPP with a mask of 255.255.255.255.
On the NT box I cannot ping anything on the net or the 216.66.152.156,
therefore I do the following "route add" command at the dos prompt:
route add 216.66.152.0 mask 255.255.255.255 172.17.10.116
After adding this route on the NT box I am then able to ping 216.66.152.0 as
well as 172.17.10.116. But I cannot ping any other address on 216.66.152.0
or the internet, (the ISP-assigned address is actually a Class 'C', ie:
216.66.152.0 mask 255.255.255.0). At this point in my testing I am pinging
the ISP over the PPP interface going out the modem on the Linux box (from NT
across my LAN) because I get a reply from 216.66.152.0, (am I right?).
How can I get my NT box to ping anything on the net rather than just the
single IP address of the ISP (ie: 216.66.152.156)?
Thanks for any help,
Mark M.
------------------------------
From: "Cpt Dondo" <[EMAIL PROTECTED]>
Subject: Sawfish weirdness
Date: Sat, 08 Jul 2000 07:42:14 -0500
I upgraded to the latest gnome release and now I am experiencing something
weird.
When I shade a window, it leaves a thin border outlining the full window.
It is as if the window becomes transparent, with the frame still visible.
This has happened on two computers so far. I've looked all over the place
for a setting that can control this, to no avail.
It seems to be independent of themes and sawfish config. It appears to
happen only with sawfish.....
Gnome, sawfish, RH 6.2.
Any ideas? This is really annoying.
--Yan
------------------------------
From: Hendrix <[EMAIL PROTECTED]>
Subject: Re: Resolution of X
Date: Sat, 08 Jul 2000 09:43:14 -0230
Anas Mughal wrote:
>
> Hi,
> Could someone please advise me on how to change the resolution of X in
> RedHat 6.2.
> Thank you very much.
You can edit the /etc/X11/XF86Config file, or you can press CTRL-ALT-(+)
or CTRL-ALT-(-) to switch between resolution while running X...
Basically, the XF86Free file sets up the display and screen parameters
with Mode settings... You can create a basic XF86Config by running Red
Hat's 'Xconfigurator'... Then fill in the blanks that relate to your
monitor and adaptor specification... To start with a specific res, edit
the XF86Config file and insert the following in subsequent sections (see
end of email):
Example: This is an excerpt from my XF86Config file... It first sets
up my display adapter in the "Device" Section, and then it sets up the
"Screen"... In my file, I have three color depths (which refers to the
bit mode of the adapter)... These depths are 8, 16, and 32... In the
modes section (see below), is the set of resolutions that can be
attained for each color depth.... The way to set a default color depth
(bit mode) for X is shown with the option "DefaultColorDepth 16" (as
shown below)... This means that my X server will start in 16 bit
mode... Under the 16 bit mode, you will see that the resolutions are
given in the modes section... I have "1152x864" listed first... This
is the resolution that X will start in first... Then I can switch back
and forth between all modes listed under the color depth of 16 by using
CTRL-ALT-(+) or CTRL-ALT-(-) while the X server is running... In other
words, I will be switching between the following list: "1152x864"
"1024x768" "800x600" "640x480"....With "1152x864" being the default res
at startup.... If you need anymore help, feel free to email me... The
scripting part of this can be a little tricky... And don't always rely
on user programs to do the work for ya, you won't always be sitting at a
user-friendly distro
Section "Device"
Identifier "Matrox|MGA 2064W [Millennium]"
VendorName "Matrox...Duh, I just wrote that"
BoardName "ti3026...I hate useless id strings"
#VideoRam 2048
Clockchip "ti3026"
EndSection
Section "Screen"
Driver "svga"
Device "Matrox|MGA 2064W [Millennium]"
Monitor "Generic Monitor"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "640x480" "800x600" "1024x768" "1152x864"
"1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "640x480"
ViewPort 0 0
EndSubsection
EndSection
--
Trevor Penney,
A+, Network+, BCT, BKT Certified
======================
"That's alright, I still got my guitar"...
-James Marshall Hendrix (11/27/1942-09/18/1970)
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux,comp.os.linux.advocacy,alt.os.linux.mandrake
Subject: booting stops when trying to mount partitions.
Date: Sat, 08 Jul 2000 12:28:39 GMT
Reply-To: [EMAIL PROTECTED]
Hi all,
I cannot boot linux anymore because I did something I should not have.
I changed fstab to get access to a windows partition. Then I changed
mtab as well. I tried to shutdown and reboot. It would not shutdown
because it could not unmount partitions. (I probably should not have
changed mtab). So I rebooted violently pressing the reboot button.
Now it starts to boot up and stops after mounting root system. Then it
does nothing. I cannot boot with a boot floppy disc because it has been
damaged.
I was running Linux Mandrake 6.0.
Can anybody help me?
Thanks.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Nicholas Murison <[EMAIL PROTECTED]>
Subject: Re: Problem with compilation
Date: Sat, 08 Jul 2000 14:55:00 +0200
Reply-To: [EMAIL PROTECTED]
Slip Gun wrote:
>
> Hi,
> I have been using linux for about 2 years now, but one thing that seems
> to mess up more often than not is compiling programs which I have
> downloaded. I can compile the kernel fine, and have done so about 20
> times over the past year. However, I always seen to get a problem when
> compiling other progams. I am using gcc 2.95.2, kernel 2.2.14. I have
> been using redhat up till recently, now I am giving mandrake a try.
> An example of a typical problem is something I tried to do five minutes
> ago. I am trying to install the latest stable version of isapnptools for
> use with my sound card. When I type 'make' it tries to compile the first
> module, but then simply replies:
>
> pnpdump_main.c:64: initializer element is not constant
>
> It then exits with error 1.
> Any help would be greatly appreciated.
> Cheers,
> Ed
Have you run the ./configure script first?
--
Nicholas John Murison
~~~~~~~~~~~~~~~~~~~~~
Don't mess with penguins
Registered Linux User #153895 http://counter.li.org
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: CD Burner woes
Date: 8 Jul 2000 09:06:10 -0400
Hiawatha Bray <[EMAIL PROTECTED]> wrote:
> I've just installed a Ricoh MP 6200A CD burner in my Red Hat 6.0 box, and
> tried to recompile the kernel to make it work. The idea was to remove ATAPI
> CD-ROM support from the kernel and replace it with SCSI. But my cdrecord
> software still says it can't see a SCSI device on the computer.
SCSI support and
SCSI CD-ROM support and
SCSI generic driver (with, probably, vendor extensions)?
What does "cdrecord -scanbus" return? Nothing?
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Pine - how to automatically BCC myself?
Date: 8 Jul 2000 09:08:13 -0400
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> How do I configure Pine to automatically BCC me?
Did you try the setup/configure option from Pine's main menu screen?
There are LOTS of options you can set.
------------------------------
From: [EMAIL PROTECTED] (DeAnn Iwan)
Crossposted-To: comp.os.linux,comp.os.linux.advocacy,alt.os.linux.mandrake
Subject: Re: booting stops when trying to mount partitions.
Date: Sat, 08 Jul 2000 13:12:38 GMT
On Sat, 08 Jul 2000 12:28:39 GMT, [EMAIL PROTECTED] wrote:
>Hi all,
>
>I cannot boot linux anymore because I did something I should not have.
>
>I changed fstab to get access to a windows partition. Then I changed
>mtab as well. I tried to shutdown and reboot. It would not shutdown
>because it could not unmount partitions. (I probably should not have
>changed mtab). So I rebooted violently pressing the reboot button.
>Now it starts to boot up and stops after mounting root system. Then it
>does nothing. I cannot boot with a boot floppy disc because it has been
>damaged.
>I was running Linux Mandrake 6.0.
>Can anybody help me?
>Thanks.
>
>
There are a lot of boot/rescue disk images on the net. You
also probably have one on almost any cdrom image from any major
distribution. Use another pc to get one of these images onto a rescue
disk and boot from that. Linux router project and Mulinux are very
small floppy distributions that contain rescue tools, for example.
------------------------------
From: Aaron Kulkis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.advocacy,alt.os.linux.mandrake
Subject: Re: booting stops when trying to mount partitions.
Date: Sat, 08 Jul 2000 09:20:35 -0400
[EMAIL PROTECTED] wrote:
>
> Hi all,
>
> I cannot boot linux anymore because I did something I should not have.
>
> I changed fstab to get access to a windows partition. Then I changed
> mtab as well. I tried to shutdown and reboot. It would not shutdown
> because it could not unmount partitions. (I probably should not have
> changed mtab). So I rebooted violently pressing the reboot button.
NEVER edit mtab!!!!!
> Now it starts to boot up and stops after mounting root system. Then it
> does nothing. I cannot boot with a boot floppy disc because it has been
> damaged.
> I was running Linux Mandrake 6.0.
I'm still configuring IP masquerading, etc. so my Linux Box isn't
online yet.
Maybe I can send you a binary image of my boot disk and you can
use rawrite to make a copy.
> Can anybody help me?
In the future, make a WHOLE BOX of boot floppies, and store
them in seperate locations.
1) copy your boot floppy in /tmp
dd if=/dev/fd0 of=/tmp/bootfloppy
2) make images from the master copy in /tmp
while N in 1 2 3 4 5 6 7 8 9 10
do
echo "Remove disk from Floppy drive, "
echo "Insert floppy $N into drive and press [enter]"
read IGNORE
dd if=/tmp/bootfloppy of=/dev/fd0
echo "boot floppy $N complete"
echo; echo; echo
done
> Thanks.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
--
Aaron R. Kulkis
Unix Systems Engineer
ICQ # 3056642
I: "Having found not one single carbon monoxide leak on the entire
premises, it is my belief, and Willard concurs, that the reason
you folks feel listless and disoriented is simply because
you are lazy, stupid people"
A: The wise man is mocked by fools.
B: "Jeem" Dutton is a fool of the pathological liar sort.
C: Jet plays the fool and spews out nonsense as a method of
sidetracking discussions which are headed in a direction
that she doesn't like.
D: Jet claims to have killfiled me.
E: Jet now follows me from newgroup to newsgroup
...despite (D) above.
F: Neither Jeem nor Jet are worthy of the time to compose a
response until their behavior improves.
G: Unit_4's "Kook hunt" reminds me of "Jimmy Baker's" harangues against
adultery while concurrently committing adultery with Tammy Hahn.
H: Knackos...you're a retard.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Pine - how to automatically BCC myself?
Date: 8 Jul 2000 09:35:27 -0400
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> How do I configure Pine to automatically BCC me?
> Did you try the setup/configure option from Pine's main menu screen?
> There are LOTS of options you can set.
And one (at the top) is the "fcc" (file carbon copy - no need to
"send" yourself a copy, you can just file it without going through the
mail server).
------------------------------
From: "Platinum Dragon" <[EMAIL PROTECTED]>
Subject: Re: booting stops when trying to mount partitions.
Crossposted-To: comp.os.linux
Date: Sat, 08 Jul 2000 13:39:05 GMT
In article <8k76pi$7h8$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> It would not shutdown because it could not unmount partitions. (I probably
> should not have changed mtab). So I rebooted violently pressing the reboot
> button. Now it starts to boot up and stops after mounting root system. Then it
> does nothing.
I'm going to take a wild stab at this...but it mounts the root partition...do
you get any "partition not unmounted cleanly, check forced" messages? If you
don't, how large is your HD and root partition? I know if I smack the power
button (and I have, on occasion - so shoot me), scanning a 2 GB /usr partition
on a PII-266 takes a good couple of minutes. It would be dumb of Mandrake to
block "check forced" messages - Linux runs fsck to check and repair partitions
after dirty shutdowns where partitions aren't properly unmounted.
In any event...wait about five, six minutes...and if nothing then...grab the CD
and start over again:)
good luck.
mark
--
=====BEGIN GEEK CODE BLOCK=====
GMC d-(--) s: a? C++ UL++>+++ P+ L++>+++ E---- W++ N+ o? K+ w !O M-- V? PS+(+++)
PE Y+ PGP- t* 5+++ X R* tv+ b+ DI+ D++ G>+++ e>++ h-- r++ y+
======END GEEK CODE BLOCK======
http://platdragon.cjb.net - my dusty corner of the WWW
------------------------------
From: "Marc Schlensog" <[EMAIL PROTECTED]>
Subject: Re: Connecting Dumb Terminals
Date: Sat, 8 Jul 2000 15:30:18 +0200
Rick Pasotto <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
[EMAIL PROTECTED]
> On Fri, 30 Jun 2000 14:02:54 +0100 in comp.os.linux.misc, A Ominous wrote:
> > Start -> Run
> > type "telnet linux-host" ;)
>
> A dumb terminal is *dumb*. There is no "start". There is no "run". There
> is no "telnet".
>
I guess, he was referring to windows. Windows == dumb...
Got it?
------------------------------
From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: Routing problem for Internet access
Reply-To: [EMAIL PROTECTED]
Date: 8 Jul 2000 14:04:07 GMT
On Sat, 8 Jul 2000 05:09:17 -0700, Marcm said:
>I have a Redhat 6.0 Linux box that I connect to my ISP via a 56K USR
>external modem using "pppd" and "chat". This works great and provides me
>with an IP address. I can ping anywhere on the web, though I haven't
>connected to my ISP's nameserver yet so I must always use IPaddresses.
>
>I have a second PC that is running NT Server 4.0 and is connected to the
>Linux box via a network card and hub. It can ping the Linux box. What I want
>to do is have the NT box browse the web via the Linux box, (ie: pass through
>the Linux system to the internet). But my routing is not right.
>
>QUESTION: How do I set up routing to accomplish this?
>
>Here is the setup of my system:
>
>NT box: 172.17.10.100, mask 255.255.0.0, default gateway 172.17.10.116
>Linux box: 172.17.10.116, mask 255.255.0.0, (default gateway 172.17.0.1???)
>The default gateway of the Linux box was set up automatically when I
>installed Redhat, but the default gateway of the Linux box shouldn't matter
>here, (should it?).
>When I attach to the internet I am assigned address 216.66.152.156 on the
>PPP with a mask of 255.255.255.255.
>
>On the NT box I cannot ping anything on the net or the 216.66.152.156,
>therefore I do the following "route add" command at the dos prompt:
>
>route add 216.66.152.0 mask 255.255.255.255 172.17.10.116
>
>After adding this route on the NT box I am then able to ping 216.66.152.0 as
>well as 172.17.10.116. But I cannot ping any other address on 216.66.152.0
>or the internet, (the ISP-assigned address is actually a Class 'C', ie:
>216.66.152.0 mask 255.255.255.0). At this point in my testing I am pinging
>the ISP over the PPP interface going out the modem on the Linux box (from NT
>across my LAN) because I get a reply from 216.66.152.0, (am I right?).
>
>How can I get my NT box to ping anything on the net rather than just the
>single IP address of the ISP (ie: 216.66.152.156)?
You can't have your NT box hanging around on the net with an IP of
anything unless that IP has been assigned to you by your ISP (which, I
assume, it hasn't).
You can use IP Masquerading to have your Linux box dynamically switch
around IP addresses so that NT appears to have Linux's IP when on the
net - see the IP-Masquerading HOWTO at http://linuxdoc.org for
information on how to set this up.
However, if you just want web access, it is easier to install a proxy
server like squid (http://www.squid-cache.org) on the Linux box, and
set the NT web browser to use the Linux (ethernet) IP as the proxy.
Robie.
--
------------------------------
From: [EMAIL PROTECTED] (Robie Basak)
Crossposted-To: alt.os.linux
Subject: Re: Writing to CD-RW
Reply-To: [EMAIL PROTECTED]
Date: 8 Jul 2000 14:09:12 GMT
On Fri, 07 Jul 2000 09:09:40 -0700, Joachim Feise said:
>[EMAIL PROTECTED] wrote:
>>
>> In article <[EMAIL PROTECTED]>,
>> [EMAIL PROTECTED] wrote:
>> > [EMAIL PROTECTED] wrote:
>> > >
>> > > Hi,
>> > >
>> > > Is Linux capable of writing to rewritable CDs (CD-RW) ? I could only
>> > > find tools for burning CD-R's.
>> > >
>> > > Thanks
>> > >
>> > > Wroot
>> > >
>> > > Sent via Deja.com http://www.deja.com/
>> > > Before you buy.
>> >
>> > You will be able to use them, as the other posters already mentioned,
>> > but you cannot use the UDF filesystem yet as far as I know. So if you
>> > don't care to make an iso9660 FS on the CD-RW's you're OK. There is
>> read
>> > support for the UDF filesystem, but for writing there's no support
>> yet.
>> >
>> > Eric
>> >
>>
>> Are you saying I can't do incremental writing to CD-RW? So whenever I
>> want to add a file to my CD-RW, I will have to write the whole disk?
>> iso9660 is the CD-R standard, isn't it?
>
>Sure you can do incremental writing, i.e., multi-session. cdrecord
>supports that just fine.
In fact, packet writing support is currently in development - see
http://www.kernel.dk
Robie.
--
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux,comp.os.linux.advocacy,alt.os.linux.mandrake
Subject: Re: booting stops when trying to mount partitions.
Reply-To: [EMAIL PROTECTED]
Date: Sat, 08 Jul 2000 14:09:39 GMT
On Sat, 08 Jul 2000 12:28:39 GMT, [EMAIL PROTECTED] wrote:
>I was running Linux Mandrake 6.0.
^^^^
You said it yourself :)
Actually if the CD is bootable, like 7.0, you can go into rescue mode
and fix the FSTAB file.
I wish you luck.
------------------------------
** 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
******************************