Linux-Setup Digest #89, Volume #21 Sun, 22 Apr 01 10:13:05 EDT
Contents:
LILO problem ("Marek Kulbacki")
Interesting failure rebooting LINUX ("Salim Douba")
PPPd - I can't get it to compile into the kernel ("Phil Matthews")
RH Linux 7.1 on a Pentium box with 16MB ram. (Brian Lee)
Re: Interesting failure rebooting LINUX (Dougie Richardson)
Re: DHCP and Road Runner blues (grooveman)
Re: GA-7ZX Onboard Sound Problem (Matan Ziv-Av)
Cannot Mount floppy as Non-root User (Cory Phillips)
Re: Modem trouble (Dougie Richardson)
Re: Cannot Mount floppy as Non-root User (Edwin Johnson)
Re: DHCP and Road Runner blues (grooveman)
Re: Is my creative idea possible...........??? (Kwan Lowe)
Re: DHCP and Road Runner blues (Bit Twister)
Re: How do I access Windows disk with Linux? (Kwan Lowe)
Re: 486 Install Problems (Rand Simberg)
Re: 486 Install Problems (Kwan Lowe)
Motorola Sm56 Modem Drivers (George Trapkov)
----------------------------------------------------------------------------
From: "Marek Kulbacki" <[EMAIL PROTECTED]>
Subject: LILO problem
Date: Sun, 22 Apr 2001 14:19:14 +0200
I've W2K and RH 7.0 and problem with booting
it's on HDD 40 GB and partitioned like this
6GB for W2K - primary and active partition
4GB for Linux native - also primary
200MB for Linux Swap
and rest of disk space for rest partiions
when I did
dd if=/dev/hda2 of=linux.bin bs=512 count=1 (as a root naturally)
and placed in the boot.ini : c:\linux.bin
is problem with lilo booting (doesn't starting)
when I change active partition on linux native partition
there is an error of : missing opreating system
I can load liux only from lilo disk (fdd)
do anyone knows any method what to do ?
------------------------------
Crossposted-To:
comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.redhat
Subject: Interesting failure rebooting LINUX
From: "Salim Douba" <[EMAIL PROTECTED]>
Reply-to: [EMAIL PROTECTED]
Date: Sun, 22 Apr 2001 12:30:23 GMT
Hi All,
This is a peculiarly interesting problem. I am trying to install linux on my
laptop. Things go extremely well during installation. The system reboots
successfully (from hard disk) upon finishing the install and is fully
usable. Subsequent reboots however, fail to bring up the system. I don't
even get to the point of seeing the Linux boot prompt. Instead BIOS prompts
me with a message that there is no valid bootable partition on my disk. For
now, I am rebooting from a boot floppy. But I would really appreciate being
able to boot from the hard disk.
Any ideas?
Thanks
Salim
P.S. Please email me your responses at [EMAIL PROTECTED]
------------------------------
From: "Phil Matthews" <[EMAIL PROTECTED]>
Subject: PPPd - I can't get it to compile into the kernel
Date: Sun, 22 Apr 2001 13:31:26 +0100
The subject says it, but here's a bit more detail.
I need to compile a 2.4 kernel with PPP - I must be missing something
because, whether I compile as a module or built-in, pppd gives an error.
Anyone able/willing to help?
Phil
------------------------------
From: Brian Lee <[EMAIL PROTECTED]>
Subject: RH Linux 7.1 on a Pentium box with 16MB ram.
Date: Sun, 22 Apr 2001 21:50:20 +0900
Is it possible? Anyone who installed RedHat Linux 7.1 (not the
beta version) on a Intel machine with small(16MB) ram?
I've a compaq computer and there is no CMOS setup screen on the
computer. I want to use 8GB HDD on it. How can I make the
computer detect the big HDD?
Any replies will be very helpful for me. Sorry for short English.
- Brian,.
--
replace ``nospam'' to ``com'' in my email address to
reply to me.
------------------------------
From: Dougie Richardson <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.redhat
Subject: Re: Interesting failure rebooting LINUX
Date: Sun, 22 Apr 2001 13:49:21 +0100
Salim Douba wrote:
> Hi All,
>
> This is a peculiarly interesting problem. I am trying to install linux on
> my laptop. Things go extremely well during installation. The system
> reboots successfully (from hard disk) upon finishing the install and is
> fully usable. Subsequent reboots however, fail to bring up the system. I
> don't even get to the point of seeing the Linux boot prompt. Instead BIOS
> prompts me with a message that there is no valid bootable partition on my
> disk. For now, I am rebooting from a boot floppy. But I would really
> appreciate being able to boot from the hard disk.
You need to let me know how your harddisk is partitioned. It sounds as
though you have installed LILO on a partition that's doesn't have its
bootable flag set. You can change this by using the boot floppy to boot and
then running fdisk, press l to list partitions and see which one is
bootable. If this is the problem, make the Linx partition bootable (b, then
whatever /dev/hdX)
> P.S. Please email me your responses at [EMAIL PROTECTED]
This is usenet...
--
Dougie Richardson //================================
//
[EMAIL PROTECTED]
=================// http://www.incarnate.uklinux.net
------------------------------
From: grooveman <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.x,alt.linux.redhat,alt.linux,alt.os.linux,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.x
Subject: Re: DHCP and Road Runner blues
Date: Sun, 22 Apr 2001 13:04:27 GMT
Hey bit,
Guess what? I can find no trace of a dhcpcd-eth0.info file on my machine. Should
I "touch" one in that directory? I thought it was supposed to generate one of
those automatically. Do you think that could be the source of my difficulty?
Thanks again!
Chris
Bit Twister wrote:
> On Fri, 20 Apr 2001 22:04:28 GMT, grooveman <[EMAIL PROTECTED]> wrote:
> >Sorry bit,
> >
> >I posted the code outside this thread... but it is only a couple threads
> >away....
> >
> >I tried this, and I still get nothing...
> >
> >BTW: How did you know it was nic-c54-102?
>
> @HOME has no clue about helping you hide from crackers.
> They post your ip in the news header.
>
> >Also, doing ls -al /etc/sysconfig/network-scripts/ifcfg-eth0 simply tells me
> >the mode for that file.... unless I am missing something there.... Was that
> >a typo, or am I in err?
>
> Auh, there was a malfunction between the keyboard and the chair,
> /etc/dhcpc/dhcpcd-eth0.info's date stamp is the last time
> dhcpcd obtained the lease.
------------------------------
From: [EMAIL PROTECTED] (Matan Ziv-Av)
Crossposted-To: comp.os.linux.hardware
Subject: Re: GA-7ZX Onboard Sound Problem
Reply-To: [EMAIL PROTECTED]
Date: Sun, 22 Apr 2001 11:03:45 GMT
On Fri, 20 Apr 2001 23:30:13 GMT, gman1 wrote:
> I have a GA-7ZX1 with the VIA sound chip, and it works just fine under red hat
> 6.1, and 7.0(I skipped 6.2).... I used the sound config program under
> 'setup'....
> ET1Mac wrote:
> > I'm using RH6.2 and have installed it on a GA-7ZX with a Duron 800.
> >
> > When configuring sound with sndconfig it autodetects Ensoniq:CT5880. But
> > when it goes to play the sample sound the system locks up.
> >
> > /etc/conf.modules has the following inserted: alias sound-slot-0 es1371
> >
> > Reading other post with similar issues I changed it to the following: alias
> > char-major-14 es1371 with no success.
I have a ga-7zxr, and could not get the kernel es1371 to work with the
onboard sound (it found no codec). The ALSA driver does work fine,
though.
--
Matan Ziv-Av. [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Cory Phillips)
Subject: Cannot Mount floppy as Non-root User
Reply-To: [EMAIL PROTECTED]
Date: 22 Apr 2001 08:12:57 -0600
Actually the subject is not entirely true. I can mount the floppy with
a non-root account, but the privileges are wrong and I can't write to
it.
In the file /etc/fstab I have the following entry:
/dev/fd0 /mnt/floppy auto user,suid,noauto 0 0
(Perhaps it's the suid option causing my problem?)
In the file /etc/filesystems I have the following entries:
ext2
iso9660
vfat
Here are the permissions on the floppy before a mount.
drwxrwxr-x 2 root users 1024 Oct 9 1998 cdrom/
drwxrwxr-x 2 root users 1024 Feb 6 1996 floppy/
drwxr-xr-x 5 root root 1024 Apr 20 19:32 slave/
drwxr-xr-x 2 root root 1024 Apr 6 10:51 win98/
Here are the permissions on the floppy after mount w/ non-root account.
Notice the group changes from users to root.
drwxrwxr-x 2 root users 1024 Oct 9 1998 cdrom/
drwxr-xr-x 3 root root 1024 Apr 22 08:04 floppy/
drwxr-xr-x 5 root root 1024 Apr 20 19:32 slave/
drwxr-xr-x 2 root root 1024 Apr 6 10:51 win98/
--
Cory Phillips
[EMAIL PROTECTED]
------------------------------
From: Dougie Richardson <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.redhat
Subject: Re: Modem trouble
Date: Sun, 22 Apr 2001 14:17:45 +0100
Steve Martin wrote:
> Keith Mastin wrote:
> >
> > Its a winmodem. Remove the modem. Get a hammer. Hit the modem. Hit it
> > again. It not a real modem. Go to the linmodem site, which has some
> > drivers for one or two winmodems. Mostly, I'de say that you're sol. Get
> > a real modem, but first check the linux_hardware_compatability_howto at
> > linuxdoc.org.
>
> I'm a little confused. I know about the issues with winmodems and
> understand
> why they're a problem. However, Krstanovic states that this modem worked
> under
> DOS; doesn't that mean it's *not* a winmodem??
Winmodems usually come with a DOS driver which implements the codecs
--
Dougie Richardson //================================
//
[EMAIL PROTECTED]
=================// http://www.incarnate.uklinux.net
------------------------------
From: [EMAIL PROTECTED] (Edwin Johnson)
Subject: Re: Cannot Mount floppy as Non-root User
Reply-To: [EMAIL PROTECTED]
Date: 22 Apr 2001 13:21:56 GMT
As root look at the privileges with ls -l /dev/fd0 and you will probably
find it doesn't contain write for anyone but root. Just use chmod to change
it to something like 666.
...Edwin
On 22 Apr 2001 08:12:57 -0600, Cory Phillips <[EMAIL PROTECTED]>
wrote:
>Actually the subject is not entirely true. I can mount the floppy with
>a non-root account, but the privileges are wrong and I can't write to
>it.
>
>In the file /etc/fstab I have the following entry:
>/dev/fd0 /mnt/floppy auto user,suid,noauto 0 0
>
>(Perhaps it's the suid option causing my problem?)
>
>In the file /etc/filesystems I have the following entries:
>ext2
>iso9660
>vfat
>
>Here are the permissions on the floppy before a mount.
>
>drwxrwxr-x 2 root users 1024 Oct 9 1998 cdrom/
>drwxrwxr-x 2 root users 1024 Feb 6 1996 floppy/
>drwxr-xr-x 5 root root 1024 Apr 20 19:32 slave/
>drwxr-xr-x 2 root root 1024 Apr 6 10:51 win98/
>
>
>
>Here are the permissions on the floppy after mount w/ non-root account.
>Notice the group changes from users to root.
>
>drwxrwxr-x 2 root users 1024 Oct 9 1998 cdrom/
>drwxr-xr-x 3 root root 1024 Apr 22 08:04 floppy/
>drwxr-xr-x 5 root root 1024 Apr 20 19:32 slave/
>drwxr-xr-x 2 root root 1024 Apr 6 10:51 win98/
>
>
>
>--
>Cory Phillips
>[EMAIL PROTECTED]
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Edwin Johnson ....... [EMAIL PROTECTED] ~
~ http://www.shreve.net/~elj ~
~ ~
~ "Once you have flown, you will walk the ~
~ earth with your eyes turned skyward, ~
~ for there you have been, there you long ~
~ to return." -- da Vinci ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
From: grooveman <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.x,alt.linux.redhat,alt.linux,alt.os.linux,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.x
Subject: Re: DHCP and Road Runner blues
Date: Sun, 22 Apr 2001 13:30:29 GMT
Well, I just touched a file there, and waited for the lease... no change. The
file remained empty....
What the heck is going on?
chris
Bit Twister wrote:
> On Fri, 20 Apr 2001 22:04:28 GMT, grooveman <[EMAIL PROTECTED]> wrote:
> >Sorry bit,
> >
> >I posted the code outside this thread... but it is only a couple threads
> >away....
> >
> >I tried this, and I still get nothing...
> >
> >BTW: How did you know it was nic-c54-102?
>
> @HOME has no clue about helping you hide from crackers.
> They post your ip in the news header.
>
> >Also, doing ls -al /etc/sysconfig/network-scripts/ifcfg-eth0 simply tells me
> >the mode for that file.... unless I am missing something there.... Was that
> >a typo, or am I in err?
>
> Auh, there was a malfunction between the keyboard and the chair,
> /etc/dhcpc/dhcpcd-eth0.info's date stamp is the last time
> dhcpcd obtained the lease.
------------------------------
From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: Is my creative idea possible...........???
Date: Sun, 22 Apr 2001 13:42:20 GMT
"v.naga srinivas" <[EMAIL PROTECTED]> wrote:
> Hi
> I am newbee to linux.
> Am using SuSe6.3 linux on a 2nd parition of windowsNT machine,booting
> through a floppy drive.
> all my LAN having windows machines only...
> Can i access the drives of those machines ,
> like there are existing on linux mounted volume or drive ..
> How to achieve this .........so that i needed not by new
> hard disk , i can able to use windows disks memory.........
> Could any one help me out the configuration..
If I understand correctly, you want to access the Windows machines on your Linux
box. You can do this with a program called samba. Use the smbmount command to
access your Windows shared directories.
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Crossposted-To:
comp.os.linux.x,alt.linux.redhat,alt.linux,alt.os.linux,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.x
Subject: Re: DHCP and Road Runner blues
Reply-To: [EMAIL PROTECTED]
Date: Sun, 22 Apr 2001 13:44:07 GMT
On Sun, 22 Apr 2001 13:04:27 GMT, grooveman <[EMAIL PROTECTED]> wrote:
>Hey bit,
>
>Guess what? I can find no trace of a dhcpcd-eth0.info file on my machine. Should
>I "touch" one in that directory?
Depends on what your dhcpcd wants. Won't hurt to create one.
I am running dhcp-3.0b1pl12-4mdk rpm on my firewall box
on eth1 because I want to be able to get in on eth0 from my other machine
if dhcpc fails and I have to set it static.
> I thought it was supposed to generate one of those automatically.
> Do you think that could be the source of my difficulty?
No telling. Have seen posts in athome.discussion-athomesvc with
a few areas having dhcp server problems. Mine had been out for 6 days once.
man dhcpcd for my dhcpcd release shows
FILES
/etc/dhcpc
directory used for storing files created by dhcpcd
/etc/dhcpc/dhcpcd-<interface>.info
file in which dhcpcd saves the host information.
The word interface is actually replaced with the
network interface name like eth0 to which dhcpcd is
attached.
/etc/dhcpc/dhcpcd-<interface>.exe
file which dhcpcd will try to execute whenever it
detects a change in IP address.
=======================================================
ls -al /etc shows
drwxr-xr-x 2 root root 4096 Apr 22 07:47 dhcpc
===================== ls =l * /etc/dhcpcd dir =============================
-rw------- 1 root root 124 Apr 22 07:47 dhcpcd-eth1.cache
-rwxr-xr-- 1 root root 2821 Aug 26 2000 dhcpcd-eth1.exe
-rw-r--r-- 1 root root 409 Apr 22 07:47 dhcpcd-eth1.info
-rw-r--r-- 1 root root 106 Apr 22 07:47 resolv.conf
======================================================================
.cache and .info are created by dhcpcd
You might try creating /etc/dhcpc/dhcpcd-eth0.info with
this one I modified for your setup
IPADDR=24.131.54.102
NETMASK=255.255.255.0
NETWORK=24.131.54.0
BROADCAST=24.131.54.255
GATEWAY=24.131.54.1
HOSTNAME=nic-c54-102
DOMAIN=mw.mediaone.net
DNS=24.131.1.44
DHCPSID=24.131.1.43
NAMESERVER_1="24.131.1.44"
here is your /etc/dhcpcd/resolv.conf
domain mw.mediaone.net
search localhost mw.mediaone.net
nameserver 24.131.1.44
=====================================================================
here is a script I wrote to read the .info file
#******************************************************************************
#*
#* lease - display lease infomation created by dhcpcd deamon
#*
#* Information comes from /etc/dhcpc/dhcpcd-ethX.info
#*
#* Change _nic=eth1 to _nic=eth0, if that is where the lease comes from.
#* Change _loc=To location of dhcpcd-ethX.info
#*
#* Do a locate dhcpcd- | grep info to find dhcpcd-ethX.info
#* You may have to do a updatedb to create the file location db.
#*
#* chmod +x lease after you save this to disk
#*
#******************************************************************************
_nic=eth1 # nic that the lease is from
_loc=/etc/dhcpc # location of dhcpcd-ethX.info
if [ ! -s ${_loc}/dhcpcd-${_nic}.info ] ; then
echo ${_loc}/dhcpcd-${_nic}.info does not exist
exit 1
fi
. ${_loc}/dhcpcd-${_nic}.info # load dhcpcd-ethX.info vars
set `date`
_yy=$6 # save this year
set `date -r ${_loc}/dhcpcd-${_nic}.info`
_obt="$1 $2 $3 $4 $5" # save obtained date
_day=$3
_time=$4
case $2 in
Jan) _mo=1 ;;
Feb) _mo=2 ;;
Mar) _mo=3 ;;
Apr) _mo=4 ;;
May) _mo=5 ;;
Jun) _mo=6 ;;
Jul) _mo=7 ;;
Aug) _mo=8 ;;
Sep) _mo=9 ;;
Oct) _mo=10 ;;
Nov) _mo=11 ;;
Dec) _mo=12 ;;
esac
_lease="${_yy}-${_mo}-$_day ${_time}Z +$LEASETIME seconds"
_new="${_yy}-${_mo}-$_day ${_time}Z +$RENEWALTIME seconds"
_reb="${_yy}-${_mo}-$_day ${_time}Z +$REBINDTIME seconds"
echo " "
echo ${_loc}/dhcpcd-${_nic}.info
echo " "
echo "Obtained `date -d "$_obt"` "
echo "Renewal `date -d "$_new"` "
echo "Expires `date -d "$_lease"` "
echo "Rebind `date -d "$_reb"` "
echo " "
echo "DNS $DNS "
echo " "
#*************************** end lease **************************************
------------------------------
From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: How do I access Windows disk with Linux?
Date: Sun, 22 Apr 2001 13:46:28 GMT
Ken Bennett <[EMAIL PROTECTED]> wrote:
> Hi, I'm new to Linux so I don't know how to get it to recognize a
> fat file system on a floppy or how to read the other hard drive that I
> have installed that has Win98 on it. Could someone inform a new comer?
> Like I said I set up my system to dual boot two hard drives, one with
> Win98 and the other with Redhat 6.1.
> Thanks in advance.
> Ken
Besides mounting the floppy, you could also try:
mdir a:
mdir is a component of the mtools package which lets you work with Winders
floppies. There's also mcopy, mformat, etc..
------------------------------
From: [EMAIL PROTECTED] (Rand Simberg)
Subject: Re: 486 Install Problems
Date: Sun, 22 Apr 2001 13:45:50 GMT
On Sun, 22 Apr 2001 17:50:54 +1000, in a place far, far away,
Stanislaw Flatto <[EMAIL PROTECTED]> made the phosphor on my
monitor glow in such a way as to indicate that:
>> That might work great, if I had a Slackware CD...
>
>lsl, cheapbytes, local LUG, another Linux user, computer magazines.
>Versions 4.0, 7.0, 7.1 all can do it.
Needed it today. Thanks anyway.
--
simberg.interglobal.org * 310 372-7963 (CA) 307 739-1296 (Jackson Hole)
interglobal space lines * 307 733-1715 (Fax) http://www.interglobal.org
"Extraordinary launch vehicles require extraordinary markets..."
Replace first . with @ and throw out the "@trash." to email me.
Here's my email address for autospammers: [EMAIL PROTECTED]
------------------------------
From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: 486 Install Problems
Date: Sun, 22 Apr 2001 13:55:21 GMT
Rand Simberg <[EMAIL PROTECTED]> wrote:
> I'm trying to bring up my old 486 as a firewall. It has no PCI bus,
> and it has 8 MB of RAM. It has dual EIDE, but it isn't native to the
> board--I'm using a Promise ISA card.
I have a 486 with NE2K NICs being used as a router. Drives are accessed through
the sound card.
> I tried installing Slackware from floppies but it kept dying in the
> process of loading the "A" series--it wouldn't even take the first one
> (diska1), and said that the file system was wrong type or that too
> many filesystems were mounted. So I gave up and tried installing RH
> 6.2 from CD-ROM, after booting with a Win98 rescue disk. It would get
> to the point of asking me for my NIC (3Com Ether III), then it would
> die with a signal 9.
Why are you using a Win 98 rescue disk? Do you have another Linux machine that
you could use as an FTP or HTTP server? If so, try doing the network install
using the network boot disk.
What other errors are you receiving. Try pressing ALT plus different function
keys to see the error log and determine where it's failing.
------------------------------
From: George Trapkov <[EMAIL PROTECTED]>
Subject: Motorola Sm56 Modem Drivers
Date: Sun, 22 Apr 2001 09:59:29 -0400
Has anybody used the new drivers provided by Motorola for SM56
SoftModem? Do they actually work?
George
------------------------------
** 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
******************************