Linux-Setup Digest #480, Volume #20 Tue, 23 Jan 01 04:13:09 EST
Contents:
Re: X Windows Resolution (H.Bruijn)
Re: Protect yourself! I got hacked by the Ramen worm ("tonygroff")
Re: "unable to mount root fs" seems common prob.... (Eric)
Re: Need help with DLink DFE-530TX (Martin Stockhammer)
Re: Partition confusion (Eric)
Re: HELP!!Only the L appears in LILO (Eric)
Re: Root partition full (Eric)
Re: W2K in MBR + booting Mandrake from floppy: how to move to HD? (Eric)
Re: PPPSETUP ("Schuylar Marshall")
Re: Boot Problems (Eric)
Re: instrumentation displays (question) (Steve Allen)
please help! (BOB)
Usage of rexec on RH7.0 ("E.M. Stegehuis \(Marcel\)")
Re: Can't Find Server Name for Address 192.168.1.4 (Villy Kruse)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: X Windows Resolution
Date: 23 Jan 2001 07:28:55 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 23 Jan 2001 05:51:46 GMT, [EMAIL PROTECTED] allegedly wrote:
>Can someone please tell me how I can change the resolution in X? I just
>installed Red Hat 7 (I decided to beat my head against the wall AGAIN by
>trying to use Linux).
>
>I can not find how to set the resolution ANYWHERE in the documentation. Isn't
>this kind of something common that people would probably want to do?
>(Especially that it defaults to 640x480; what is this 1985?)
Normally you would set up X during the install including the
resolutions. If you didn't do that correctly, either use xf86config
from the commandline (text based simply read write and your done...)),
or do it directly by hand:
the usual solution then is to edit the /etc/X11/XF86Config file and add a
default colordepth line to force 8 bit = 2^8 = 256 colors, 16 bit =
2^16= 65536 colors or 24 or 32 bit ("==>"s are not part of the file, just
pointing to the interesting lines!) as done below.
The modes descibe the resolutions a particular colourdepth can use. They
are probed in the order they appear in, so in this case the Xserver will
first try the default 16-bit colour at 1024x768, then if that doesn't
work try at 800x600 or 640x480. So in your case simply make sure that
fi "1600x1200" is the first of the modes. Now the reason that by default
the most conservative setting is used is that when one uses settings
which are out of reach for your monitor, it can burn out eventually.
Most modern monitors can handle nearly anything you throw at them but
older ones would fry at the wrong settings.
from the /etc/X11/Xf86Config file (almost all the way down, the file
starts first with loads of comments and modelines)
A relatively userfriendly text editor for the novice user is pico.
Log in as root, type on the commandline "pico /etc/X11/XF86Config"
edit the lines which aren't to your liking and save the changes by
typing Ctrl+X.
>From my /etc/X11/XF86Config
.....
Section "Screen"
Driver "svga"
Device "My Videocard"
Monitor "My Monitor"
==> DefaultColorDepth 16
Subsection "Display"
Depth 8
==> Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
==> Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
....
The maximum setting you can use is dependant on the amount of memory you
have, as the memeory usage is determined by the formula;
H-res times V-res times Colordepth equals Memory needed.
Thus for 1600x1200 at 32 bit one needs 1600*1200*32=61.44*10^6 bit, or
7.5 Mbytes of video memory on the card.
>
>And if anyone has ANY clue about how to get my sound card to work, that would
>be appreciated too (1.2Gigs of RPM's I guess weren't enough).
sndconfig from the comandline but for any sound advice (in both senses)
we need the type of sound card.
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn mail: [EMAIL PROTECTED]
The Netherlands website: http://hermanbruijn.com
------------------------------
Reply-To: "tonygroff" <[EMAIL PROTECTED]>
From: "tonygroff" <[EMAIL PROTECTED]>
Subject: Re: Protect yourself! I got hacked by the Ramen worm
Date: Tue, 23 Jan 2001 01:41:48 -0600
Crossposted-To: linux.redhat.install,linux.redhat.misc,comp.os.linux.misc,alt.os.linux
"Jan Johansson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> >It wiped out all of my index.html with the Ramen worm webpage.
> >I had to do an upgrade of all the RH7.0 packages I installed. (2
hours
> >of work)
> >I had to get all personal index.html from my quite recent backup.
> >I wrote to www.digitaldesk.com because they said it was a
beneficial
> >worm in their news story.
> >What a shitty story!!!
> >The Ramen work causes too much damage to my computer.
> >
>
> Hmm, lets see here, you didnt check for security updates before
> connecting to the internet?
>
<smart ass comment>
Um... if you have to connect to the Internet to check for security
updates... how are you supposed check for security updates before
connecting to the Internet? :)
</smart ass comment>
Sorry folks, it's late and I'm a little punchy :)
Tony G.
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: "unable to mount root fs" seems common prob....
Date: Tue, 23 Jan 2001 08:47:30 +0100
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> I appreciate your time in responding to my post.
>
> You say 07:07 is not a HD partition. I believe this edition of
> Mandrakesoft Linux for Windows 7.2, which I installed from a commercial
> CD distribution, is supposed to allow me to run linux without creating
> a partition o my HD. Instead, when I boot the machine I choose to run
> linux or windows. Choosing linux is supposed to create a virtual drive
> ("RAM drive?" "swap file?), and that is where the root fs is supposed
> to reside (I think...). If I boot to windows, there is a folder with
> my linux for windows files.
Okay, I never got the part that this was a windows installation.
Can't help you.
I'd say, if you want to give linux a try, give it a real install.
> I removed linux and reinstalled too, just to see if it would fix the
> problem. One of the options is to choose how many MB I want for
> my "root" and for my "swap". I chose more space for my root and my
> swap. But the problem still remains...
No doubt.
Linux is at least a consequent OS
>
> I did figure out what a root fs is and what mounting is from supplied
> Mandrakesoft documentation.
A good start.
Reading is very important
> I do have an email in to Mandrakesoft install support, and am awaiting
> response.
>
> Any more clues as to what might fix this? I don't think I ever get
> a "LILO prompt" ..........
Well whatever bootloader you use.
There surely must be something?
> > > i got the "kernel panic:vfs:Unable to mount root fs on 07:07" death
> > > message.
extract from `man 4 vcs`
/dev/vcs[1-63] are character devices for virtual console
terminals, they have major number 7 and minor number 1 to
63, usually mode 0644 and owner root.tty.
so 07:07 is a virtual console.
Still sounds odd to me.
Eric
------------------------------
From: Martin Stockhammer <[EMAIL PROTECTED]>
Crossposted-To: linux.debian.user
Subject: Re: Need help with DLink DFE-530TX
Date: Tue, 23 Jan 2001 08:37:02 +0100
Hello,
you should use the latest via-rhine driver module for the DFE-530TX.
They changed a chip with the revision B I think.
Look at
http://www.scyld.com/network/ethercard.html
Bye
Martin
Rasmus B�g Hansen schrieb:
>
> On Sat, 20 Jan 2001, Jerry Segers, Jr. wrote:
>
> > alias eth0 rtl8139 # note rtL _not_ rt1
>
> Hmm... A lot of DFE530TX's use the via-rhine driver.
>
> Rasmus B�g Hansen
--
Martin Stockhammer
Visual Analysis AG
http://www.visualanalysis.com
email: [EMAIL PROTECTED]
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Partition confusion
Date: Tue, 23 Jan 2001 08:56:36 +0100
Reply-To: [EMAIL PROTECTED]
> Here's my partition table by Disk Druid:
>
> hda1 4Gb FAT32
> hda5 5Gb FAT32
> hda6 2.5Gb FAT32
> hda7 2.5Gb FAT32
> free space 5Gb
>
> > > Hi! Im a bit confused about partitioning in Linux. I have a 20 gig HD
> > > partitioned to 4(c/d/e/f). Win98 is in c. I intend to install Win2000 in
> d
Not sure if NT will accept this. D: is a logical drive. Some OS's insist
on being
installed in a primary partition.
> > > for dual booting. I reserve free space of 5 gigs for RH7. Fips is saying
> of
> > > with making new primary partition while Partition Magic and other disk
> > > readme's tell you only 1 primary partition can be active at any time and
> > > having 2 primary partitions visible can cause data loss. Im stuck in
> this
You shouldn't make two partitions active. The default DOS MBR could get
confused.
If you use LILO, it doesn't really matter
> > > partition explanation and need help. Shall i use fips or disk druid to
> > > partition my free space?
FIPS???
Use diskdruid or fdisk.
FIPS is used to split an existing FAT partition into two parts.
As the free space lies beyond 8GB it surely passes the 1024th cylinder.
Therefor you may have problems booting from that space if you insatll an
OS there.
Make a small partition for linux, /boot, that lies entirely below
cylinder 1024.
For the rest I don't see any problem with linux.
How to install, depends where the free space is.
Is it inside hda2 (the extended partition) or is it only usable for
primary partitions
You should read the partitioning HOWTO (search the web for it)
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: HELP!!Only the L appears in LILO
Date: Tue, 23 Jan 2001 09:00:10 +0100
Reply-To: [EMAIL PROTECTED]
Chris Mills wrote:
>
> I too am having the same problem. I'm trying to dual boot on a Win98 box.
>
> Upon boot, only the letter "L" appears on the screen. If I booted with the boot
> disk, I could get into Linux, but not windows. So I booted with a win disk and
> did a "fdisk /mbr", fixed the master boot record to boot dos. Right now I'm
> stuck on having a direct boot to dos, but have the ability to use a boot disk to
> get to the linux partition. A real pain in the arse.
>
> I'm still trying to read up and research the problem. I WILL get this thing to
> work!
>
Run the following commands:
`fdisk -l /dev/hd[a-d]`
`cat /etc/lilo.conf`
And show the output here.
Maybe then I can help you
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Root partition full
Date: Tue, 23 Jan 2001 09:03:12 +0100
Reply-To: [EMAIL PROTECTED]
Peter B. Ensch wrote:
>
> My root partition is full. I'm not sure why as I thought 175M
> would be plenty. I've only noticed problems recently.
>
> I have plenty of space elsewhere. Is it possible to increase
> the size of my root partition without doing a full reinstall?
> I'm running Suse v6.4 on a system with 2 HDD. The df command
> output is as follows:
>
> ~> df
> Filesystem Size Used Avail Use% Mounted on
> /dev/hda2 175M 175M 0 100% /
> /dev/hda7 4.9G 1.6G 3.1G 33% /usr
> /dev/hda1 15M 2.5M 12M 18% /boot
> /dev/hda5 486M 27M 434M 6% /home
> /dev/hda6 2.6G 597M 1.9G 23% /opt
> /dev/hdb1 457M 250M 183M 58% /quantum1
> /dev/hdb2 1.4G 767M 584M 57% /quantum2
> /dev/hdb3 485M 7.5M 452M 2% /quantum3
>
> Thanks,
> Peter
>
Place /var and/or /tmp on one of the other partitions
and use symlinks in / to the new locations.
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: W2K in MBR + booting Mandrake from floppy: how to move to HD?
Date: Tue, 23 Jan 2001 09:09:19 +0100
Reply-To: [EMAIL PROTECTED]
Frederic Faure wrote:
>
> Hi,
>
> I have W2K installed in the first two partitions, and Mandrake
> installed in the next three (/boot, swap, /). Since I wasn't positive
> W2K would boot OK if I added Grub in Linux's partition instead of the
> MBR, I prefered to tell Linux to boot from a floppy.
>
> Now that things work, I'd like to move the boot from the floppy into
> Linux's partition, and update W2K's boot loader to list Linux as an
> alternative OS.
>
> I've read the docs on Lilo, but besides the fact that Mandrake uses
> Grub instead of Lilo, most docs talk about doing the opposite, namely
> creating a boot floppy once you have Linux running from the HD. Any
> tip from those running W2K + Linux?
>
> FWIW, here's /etc/lilo.conf and printout from fdisk, respectively
>
> boot=/dev/fd0
change this to boot=/dev/hda2
then run `/sbin/lilo -v`
now `dd if=/dev/hda2 of=bootsect.lnx count=1`
and follow the NT bootloader howto
> map=/boot/map
> install=/boot/boot.b
> vga=normal
> default=linux
> keytable=/boot/fr-latin1.klt
> lba32
> prompt
> timeout=50
> message=/boot/message
> menu-scheme=wb:bw:wb:bw
> image=/boot/vmlinuz
> label=linux-nonfb
> root=/dev/hda8
> read-only
> image=/boot/vmlinuz
> label=failsafe
> root=/dev/hda8
> append=" failsafe"
> read-only
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 260 2088418+ 7 HPFS/NTFS
> /dev/hda2 261 2434 17462655 5 Extended
> /dev/hda5 261 770 4096543+ 7 HPFS/NTFS
> /dev/hda6 771 782 96358+ 83 Linux
> /dev/hda7 783 798 128488+ 82 Linux swap
> /dev/hda8 799 2434 13141138+ 83 Linux
>
Have fun.
Eric
------------------------------
From: "Schuylar Marshall" <[EMAIL PROTECTED]>
Subject: Re: PPPSETUP
Date: Tue, 23 Jan 2001 01:14:58 -0700
sure:
atdt9,,12345678900
commas tell the modem to wait 2 seconds per comma
hope this helps Sky
"Harry" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Can someone tell me how to put a pause in the middle of the dialled
> out telephone number, atdt?????
>
> Thanks
>
> Harry
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Boot Problems
Date: Tue, 23 Jan 2001 09:16:46 +0100
Reply-To: [EMAIL PROTECTED]
> Autorun...
> ... autorun done
> Invalid session number or type of track.
> Kernal panic: vfs: unable to mount root fs on 22:46
22:46 ??????
Doesn't sound right.
Try supplying the correct parameters when you boot
root=/dev/hdXXXX
If that still fails, search /dev for the correct major and minor number
of the root partition, and supply those, eg.
root=major:minor
Eric
------------------------------
Crossposted-To:
comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.security,comp.os.linux.x
From: [EMAIL PROTECTED] (Steve Allen)
Subject: Re: instrumentation displays (question)
Reply-To: [EMAIL PROTECTED]
Date: Mon, 22 Jan 2001 15:45:53 GMT
In article <[EMAIL PROTECTED]>,
James Knott <[EMAIL PROTECTED]> writes:
> Steve Allen wrote:
>> What I want is to have the display be presented on the RH systems without
>> having to log in to them. What do I need to do to accomplish this? In
>
> You could try rexec.
Wouldn't work for us. We have a single system generating four displays,
which will be going to the RH boxes. SGI has in their Xlogin script a
thing like this:
============
# visuallogin: on: clogin; off: plain xdm login
# also, "-f" in clogin means grab input focus
# to allow remote login to execute commands ( use displays ) on this machine
# when no one is logged in, delete the $1 at the end if the clogin command exec
if /etc/chkconfig visuallogin ; then
if [ -x /usr/Cadmin/bin/clogin ] ; then
# exec /usr/Cadmin/bin/clogin -f $1
exec /usr/Cadmin/bin/clogin -f
fi
fi
============
What I'm looking for is a similar construct in the Linux world, and was
hoping that someone would know offhand what it is. (I've already spent
many hours looking at FAQs and examining code; it'd be nice if someone
knows the answer and could save me some time. :-)
~Steve
--
Steven R. Allen - SGI Admin Weenie
http://www.eskimo.com/~wormey/
Contrary to popular belief, Unix is user friendly.
It just happens to be selective about who it makes friends with.
------------------------------
From: BOB <[EMAIL PROTECTED]>
Subject: please help!
Date: Tue, 23 Jan 2001 08:22:15 GMT
I need to;
change IP
rename computer
rename HOST name
OS = Linux RedHat7
I need to do all this via a script.
(ie...similar to autoexec.bat/config.sys)
This has to be a single click via GNOME first login as root on the desktop (shortcut)
i.e.
menu
computer 1
computer 2
computer 3
clicking on computer 1 changes;
computer name = computer1
Host Name = computer1
IP = 192.168.2.1
Is their a way?
------------------------------
From: "E.M. Stegehuis \(Marcel\)" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.networking,nl.comp.os.linux.installatie,nl.comp.os.linux.netwerken
Subject: Usage of rexec on RH7.0
Date: Tue, 23 Jan 2001 09:46:46 +0100
Reply-To: "E.M. Stegehuis \(Marcel\)" <[EMAIL PROTECTED]>
A while ago I shifted from RH6.2 to RH7.0. Although the system runs smoother
there is a small problem. Rexec, which ran perfectly before, didn't ran
anymore. (I posted before, but was unable to solve the problem as it ended
up in a discussion about using rexec/rsh).
Does anyone had the same problem and solved it.
I use Starnet's Xwin-32 (http://www.starnet.com/)
NOTE: I don't want to give root access via rexec/rsh.
I included some files of which I thought would be handy to find the problem.
Merci beaucoup,
Marcel
# Rexec call
/usr/bin/X11/xterm -display mstege:0.0 -ls -geometry 120x40 -sb -sl 256 -bg
PeachPuff -fg black -title "Linux - E.M. Stegehuis (Marcel)" -bd black
# Cat secure
[root@hvi4 log]# cat secure
Jan 23 09:30:23 nl3002go000004 xinetd[513]: START: exec pid=3381
from=135.85.84.185
# Cat /etc/xinetd.d/rexec
[root@hvi4 xinetd.d]# cat rexec
# default: on
# description: Rexecd is the server for the rexec(3) routine. The server \
# provides remote execution facilities with authentication based \
# on user names and passwords.
service exec
{
disable = no
socket_type = stream
wait = no
user = root
log_on_success += USERID
log_on_failure += USERID
server = /usr/sbin/in.rlogind
}
# Cat /etc/pam.d/rexec
[root@hvi4 pam.d]# cat rexec
#%PAM-1.0
auth requisite /lib/security/pam_securetty.so debug
auth requisite /lib/security/pam_stack.so service=system-auth
debug
#auth required /lib/security/pam_nologin.so debug
account requisite /lib/security/pam_stack.so service=system-auth debug
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Can't Find Server Name for Address 192.168.1.4
Date: 23 Jan 2001 09:04:40 GMT
On Mon, 22 Jan 2001 19:51:31 -0500, Jeff Borders <[EMAIL PROTECTED]> wrote:
>Hello,
>
>I'm a Mandrake 7.2 user. I have a linux gateway machine connecting with
>a dialup connection. I'm not running a local DNS. My problem is this:
>
It would help if you did. Set it up as a caching name server and add
primary zones for your domain name and your network IP numbers.
Then this DNS server can resolve internal as well as external names and
IP numbers.
However, if you run a http proxy on the gateway machine your internal
systems won't need to resolve hostnames for web browsing.
Villy
------------------------------
** 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.setup.
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-Setup Digest
******************************