Linux-Setup Digest #116, Volume #21 Thu, 26 Apr 01 14:13:12 EDT
Contents:
Linux Installation Problem ("Giannis Trigonakis")
Re: Mandrake 8.0 Update (Stuart Williams)
Re: Kernel Panic (Stuart Williams)
Changing graphics card with Linux Mandrake 7.2 (Darren Wyn Rees)
Re: Red Hat 7.1 & Two mice (Brian Langenberger)
Linux install on a laptop with PCMCIA but no floppy nor cdrom (Greg Tokarski)
Re: Changing graphics card with Linux Mandrake 7.2 (David)
Re: HP OfficeJet G85 is not recognised by RedHat 7 (Mark Meytin)
Re: Windoze to Linux IP Masquerade Networking Problem (Joeri Sebrechts)
Re: Startup scripts? (karel)
Re: accessing linux drives from windows. ("Chris Divine")
Re: Red Hat 7.1 & Two mice ("SilentNight")
----------------------------------------------------------------------------
From: "Giannis Trigonakis" <[EMAIL PROTECTED]>
Subject: Linux Installation Problem
Date: Thu, 26 Apr 2001 19:11:04 +0300
I have bought a new PC AMD Athlon and a QDI motherboard ...ever since i
cannot install Linux , either RedHat 7 or Mandrake 7.2.
I boot with the linux CD but after i choose what kind of installation to do
(text,graphics etc) a screen is filled with info and then it stops at the
point where it informs about the drives.I can do nothing more.....
Don't know if i should do something with my BIOS or change the way i have
connected my IDE devices (Hard Disks and CD-Drives).
------------------------------
From: Stuart Williams <[EMAIL PROTECTED]>
Subject: Re: Mandrake 8.0 Update
Date: Thu, 26 Apr 2001 11:33:36 -0400
Ken Koch wrote:
> Just updated Mandrake 7.2 to 8.0, and having some troubles.
>
> After fighting with getting Linux actually on my system for 2 days, I
> updated it with 8.0. During the update, about 85% through, it was erroring
> out like there was no tomarrow. I figured that maybe, I could at least get
> into linux, and install the rest from inside it.
>
> And it did work. I was able to get in fine, looked about. It didn't seem as
> though anything was wrong, but there is. When I go to Control Center->Look
> N Feel->Font Manager, I get an error that says,
> libstdc++-libc6.1-2.so.3:cannot load shared object file: No such file or
> directory. I look for libc6 on my system, and I can't find it.
>
> So I try to install it, and I'm just guessing on this, that it is included
> within either GLibC or libstdc++ distribution. But everytime I try to
> install these two rpm's, the manager says they're already installed.
>
> I've even tried the command line rpm --force --install [rpm name] and each
> tiime I try it seems to install, but the error keeps coming up. I even
> thought I should reboot, which I did, and no luck.
>
> Also, I thought maybe, I should uninstall the libstdc++ and when I tried,
> it said it wasn't installed, even though when I try to do the install, it
> says its installed.
>
> What the heck is going on. What can I do, besides reinstalling everything?
>
> Thanks
> Ken
I feel like your rpm data base is messed up. I think there is a command to
rebuild your data base, but I dont know it.
I would keep posting message to the newgroup and someone will help you more
than I have.
------------------------------
From: Stuart Williams <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.misc,redhat.general,redhat.kernel.general,redhat.servers.general
Subject: Re: Kernel Panic
Date: Thu, 26 Apr 2001 11:28:20 -0400
Justus wrote:
> I recenlty installed RH6.2 on my Gateway NS7000. It is a dual PII 333Mhz,
> SCSI. The install went fine. I then tried to recompile the kernel with 2.4.2
> Everytime I get
> this message after I reboot. "Kernel panic: VFS: Unable to mount root fs on
> 08:05" Which I know is my /dev/sda5. It does say this in my /etc/lilo.conf
> and I know it
> will boot to that with orginal kernel. The redhat site recommmended. "This
> is a common problem and it has only a few causes. First, check the device
> XX:YY against the list of device codes in
> /usr/src/linux/Documentation/devices.txt. If it is incorrect, you probably
> didn't do an rdev -R, or you did it on the wrong image. If the device code
> is correct, then check carefully the device drivers compiled into your
> kernel. Make sure it has floppy disk, ramdisk and ext2 filesystem support
> built-in. " I did confirm all this but still no luck. Is there a way I can
> compare the 2 kernel incase I am missing something when I compile the new
> kernel. Any thoughts or suggestions would be appreciated.
>
> Thanks,
> Justus
What does your lilo.conf in /ect look like
------------------------------
From: Darren Wyn Rees <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Changing graphics card with Linux Mandrake 7.2
Date: Thu, 26 Apr 2001 17:28:07 +0100
If I change the graphics card on a Linux Mandrake system,
upon reboot, will the OS recognise and try to configure
the new graphics card (as does Windows 2000, for example).
I really don't want to try this and fry/ruin/break a good
graphics card and monitor.
--
"S+M is outta the question, have you got a better suggestion
I'm fed up of waving my right hand" - rat salad www.ratsalad.co.uk
------------------------------
From: Brian Langenberger <[EMAIL PROTECTED]>
Subject: Re: Red Hat 7.1 & Two mice
Date: Thu, 26 Apr 2001 16:35:31 +0000 (UTC)
John Hong <[EMAIL PROTECTED]> wrote:
: I can't seem to get Red Hat 7.1 setup working with two mice. One
: a PS/2, the other a USB mouse. This is for my notebook. It is
: frustrating since SuSE 7.1 has this working perfectly. Under Red Hat, it
: is only one or the other under Xfree86 4.x. I can get Red Hat running
: with both mice with the GPM command, though.
I found a link for this off of linux-usb.org:
http://linuxkb.cheek.com/pages/usb-howto/x201.html
It's a fairly straightforward edit of your XF86Config file
and has worked for me in the past.
------------------------------
From: Greg Tokarski <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install
Subject: Linux install on a laptop with PCMCIA but no floppy nor cdrom
Date: Thu, 26 Apr 2001 18:51:37 +0200
Hello.
I looked on the web and played with things quite a bit, but got nowhere
so maybe someone can help:
I got a laptop without floppy or cdrom, and want redhat 7.1 (preferably)
on it - tried slackware but ran into same problem....
I got booting through loadlin and know nfs works, but cannot get new
RedHat startup process to work (slackware either). In older RedHat (6.0)
all works there but I get errors from anaconda during nfs install, so I
decided to go for the newest.
The pcmcia disk in these distributions requires another disk with pcmcia
drivers inserted into a floppy, and I cannot find a way to change that
to got for either premounted directory, or some other way.
I played with mounting boot images over loop to see what I can possibly
change but had no luck figuring that out.
If RedHat install disk gave me option of a bash prompt and restarting
install after setting up modules and mounts manually I'd be fine, but it
does not do that any more... neither does slackware.
Any suggestions that may help me?
I could probably stand on my head to get a floppy drive :) but it's just
the case of "I want to know how" - so any ideas will be appreciated.
Thx!
--
===================================================
Greg Tokarski Grzegorz Tokarski
Denver, CO, U.S.A. Poznan, Polska
http://www.angelfire.com/co/gtokarsk
[EMAIL PROTECTED] [EMAIL PROTECTED]
===================================================
------------------------------
From: David <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: Changing graphics card with Linux Mandrake 7.2
Date: Thu, 26 Apr 2001 17:04:01 GMT
Darren Wyn Rees wrote:
>
> If I change the graphics card on a Linux Mandrake system,
> upon reboot, will the OS recognise and try to configure
> the new graphics card (as does Windows 2000, for example).
>
> I really don't want to try this and fry/ruin/break a good
> graphics card and monitor.
At the lilo prompt enter "linux 3" to get into a text console and then
run "Xconfigurator" to reconfigure X for the new card.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 99.174% of seti users. +/- 0.01%
------------------------------
From: Mark Meytin <[EMAIL PROTECTED]>
Subject: Re: HP OfficeJet G85 is not recognised by RedHat 7
Date: Thu, 26 Apr 2001 13:12:55 -0400
Did you look at the software/instructions at:
http://hpoj.sourceforge.net/
Also, you may want to check out HP's Official Linux support page:
http://www.hp.com/products1/linux/
-M-
Xiaoming Cai wrote:
>
> The HP OfficeJet G85 is not recognised by RedHat 7, although both
> parallel ? USB connections are set up. Even simple command of
> 'cat file ? /dev/lp?', where ? was tried as 0, 1, and 2, gives
> the error of 'Device not configured'.
>
> Could anyone help me out? How to configure a port?
>
> Many thanks,
>
> Xiaoming
>
> --
>
> Dr. Xiaoming Cai, Senior Lecturer
> School of Geography and Environmental Sciences
> University of Birmingham
> Edgbaston, Birmingham
> B15 2TT United Kingdom
> Tel: 44 (121) 414-5533 (O)
> Fax: 44 (121) 414-5528
> Email: [EMAIL PROTECTED]
> which will be directed to the alternative: [EMAIL PROTECTED]
------------------------------
From: Joeri Sebrechts <[EMAIL PROTECTED]>
Subject: Re: Windoze to Linux IP Masquerade Networking Problem
Date: Thu, 26 Apr 2001 17:30:47 GMT
Rogue2000 wrote:
>
> I have just Install RedHat7, which I want to use as a gateway for my
> Windoze PC which runs W2Ksp1, which was connected to my cable modem with
> a Intelpro10 NIC TCP/IP and DHCP for IP address (had no problems). My
> linux PC has 2 NetgearFA310Tx NIC one (eth0) connected to cable modem,
> the other (eth1) to Windoze PC. I have followed the IP Masquerade HOWTO
> and rebuilt the kernal to include everything required for Masquerading.
> I have the following in a script called rc.firewall
>
> /sbin/depmod -a
> /sbin/modprobe ip_masq_ftp
> echo "1" > /proc/sys/net/ipv4/ip_foward
> echo "1" > /proc/sys/net/ipv4/ip_always_defrag
> echo "1" > /proc/sys/net/ipv4/ip_dynaddr
> /sbin/ipchains -M -S 7200 10 160
> /sbin/ipchains -A input -j ACCEPT -i eth0 -s 0/0 67 -d 0/0 68 -p udp
> /sbin/ipchains -P forward DENY
> /sbin/ipchains -A forward -i eth0 -s 192.168.0.5/24 -j MASQ
>
> Cable connection work and I can browse the www.
>
> I then changed the W2K network options to IP 192.168.0.5 subnet
> 255.255.255.0 and gateway 192.168.0.1 (eth1 address in linux) and DON'T
> REBOOT.
>
> I then go through the tests Linux ping W2K OK, Linux ping itself
> OK,Linux ping external address of eth0 OK, W2K ping linux OK, W2K ping
> eth0 IP OK, W2K fails on MASQ ICMP forwarding test.
> This is where the fun begins.
>
> I reboot W2K thinking it may require it after changing settings, as soon
> as its up I ping the linux pc and get the following error
> Ping: Transmit Failed error code 65
> I try to ping itself and get the same error
> Ping: Transmit Failed error code 65
> (I think its a PC problem but hope some ppl here have had the same
> problem) but I don't know why it failed the MASQ ICMP forwarding test.
> Thanks for any help
Try this, it's the firewall script named /etc/init.d/firewall on my
debian box.
Don't know where it should be on redhat, or if it even works there.
As far as I can tell it works on my system.
Note that a "firewall stop" will completely block all traffic. This is a
security measure, you could set the policy to ACCEPT just as well if you
understand deactivating the firewall as allowing all traffic through.
No guarantees that it will solve your problem though.
#!/bin/sh
case "$1" in
start|restart|reload|force-reload)
# activate ip masquerading
echo "1" > /proc/sys/net/ipv4/ip_forward
# enable defragmenting (no idea what it does)
echo "1" > /proc/sys/net/ipv4/ip_always_defrag
# enable dynamic ip functionality for dhcp
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
# set timeouts
# 2 hours for tcp; 10 secs after FIN packet; 160 sec for udp
# needed by icq, telnet, ftp ... to make sure sessions stay open for
hours when idle
/sbin/ipchains -M -S 7200 10 160
# external interface (to the 'net)
extint="eth0"
# get current external ip
extip=`/usr/local/bin/getip $extint`
# getip contains " /sbin/ifconfig $1 | grep 'inet addr' | awk '{print
$2}' | sed -e 's/.*://' "
# internal interface
intint="eth1"
# local machines
intnet="192.168.0.0/24"
####################
# incoming traffic #
####################
# flush input rulechain, and set default policy to DENY
/sbin/ipchains -F input
/sbin/ipchains -P input DENY
# allow local machines on internal interface access to everything
/sbin/ipchains -A input -i $intint -s $intnet -d 0/0 -j ACCEPT
# log and DENY external machines posing as internal machines
/sbin/ipchains -A input -i $extint -s $intnet -d 0/0 -l -j DENY
# allow dhcp server entry through firewall
/sbin/ipchains -A input -i $extint -s 0/0 67 -d 0/0 68 -p udp -j ACCEPT
# block telenet's multicast packets (224.0.0.1 means ALL)
# to stop the log messages of multicast packets every 2 minutes
/sbin/ipchains -A input -i $extint -s 0/0 -d 224.0.0.1 -p 2 -j DENY
# if there's an external ip
if [ -n "$extip" ]
then
# reject identd accesses, speeds up opening of ftp servers
# another option is to accept these
/sbin/ipchains -A input -i $extint -s 0/0 -d $extip 113 -p tcp -j
REJECT
fi
# log and DENY all ports below 1024 on external interface
# only non-root apps can listen on 1024 or higher
/sbin/ipchains -A input -i $extint -s 0/0 -d 0/0 0:1023 -p tcp -l -j
DENY
/sbin/ipchains -A input -i $extint -s 0/0 -d 0/0 0:1023 -p udp -l -j
DENY
# log and deny all X accesses coming from the outside
/sbin/ipchains -A input -i $extint -s 0/0 -d 0/0 6000:6099 -p tcp -l -j
DENY
# if there is an external ip
if [ -n "$extip" ]
then
# Allow all other incoming traffic on external interface
# Because this machine masquerades a range of ports needs to remain
open
# This range might as well be every port available
/sbin/ipchains -A input -i $extint -s 0/0 -d $extip/32 -j ACCEPT
fi
# allow loopback interface access to everything
/sbin/ipchains -A input -i lo -s 0/0 -d 0/0 -j ACCEPT
# Catch all rule, all other incoming is logged and denied
/sbin/ipchains -A input -i $extint -s 0/0 -d 0/0 -l -j DENY
####################
# outgoing traffic #
####################
# flush output rulechain, and set default DENY policy
/sbin/ipchains -F output
/sbin/ipchains -P output DENY
# accept all traffic on local interface
/sbin/ipchains -A output -i $intint -s 0/0 -d $intnet -j ACCEPT
# log and deny outgoing traffic to local net on external interface
/sbin/ipchains -A output -i $extint -s 0/0 -d $intnet -l -j DENY
# log and deny outgoing traffic from local net on external interface
/sbin/ipchains -A output -i $extint -s $intnet -d 0/0 -l -j DENY
# if there is an external ip
if [ -n "$extip" ]
then
# anything else outgoing on external interface is valid
/sbin/ipchains -A output -i $extint -s $extip/32 -d 0/0 -j ACCEPT
fi
# loopback interface is valid
/sbin/ipchains -A output -i lo -s 0/0 -d 0/0 -j ACCEPT
# catch all rule
# log and deny all remaining outgoing traffic
/sbin/ipchains -A output -s 0/0 -d 0/0 -l -j DENY
#####################
# forwarded traffic #
#####################
# flush forwarding ruleset, and set default policy to deny
/sbin/ipchains -F forward
/sbin/ipchains -P forward DENY
# masquerade from local net on local interface to anywhere
/sbin/ipchains -A forward -i $extint -s $intnet -d 0/0 -j MASQ
# catch all rule, all other forwarding is logged and denied
/sbin/ipchains -A forward -s 0/0 -d 0/0 -l -j DENY
;;
stop)
# deny all traffic
/sbin/ipchains -P input DENY
/sbin/ipchains -F input
/sbin/ipchains -P output DENY
/sbin/ipchains -F output
/sbin/ipchains -P forward DENY
/sbin/ipchains -F forward
;;
esac
exit 0
Have a nice day,
Joeri Sebrechts
------------------------------
From: karel <[EMAIL PROTECTED]>
Subject: Re: Startup scripts?
Crossposted-To: alt.linux,alt.os.linux
Date: Thu, 26 Apr 2001 17:32:21 GMT
Michael Pye wrote:
> OK, I have a motherboard with a bit of a strange tendency. The year 2000
> fix on it crashed and was left incomplete. It can work with 21st century
> dates no bother, but it can't remember the year after power down. Date
> time etc are fine with the exception of the year field which goes back to
> 1994.
>
> In dos, I just add a "date" command to the autoexec.bat so I am prompted
> to enter the date before the system is booted and hence before it screws
> up all my time stamps. How could I achieve a similar effect in Redhat, or
> indeed any linux distro (as I am also building my own using
> linuxfromscratch.com).
>
> Ideally I want the year set to 2001 automatically, but a prompt would be
> fine...
>
> Cheers.
>
> MP
>
>
>
use the date command (man date for more info)
you can put the command you need in /etc/rc.d/rc.local
this is the last script that is executed before your system is completely
booted
the command you probably want is: date -s 2001
--
karel janssen
i don't live in spamium, i live in belgium
(so it's be in stead of spam to email me)
"I'd love to go out with you, but the last time I went out, I never
came back."
------------------------------
From: "Chris Divine" <[EMAIL PROTECTED]>
Subject: Re: accessing linux drives from windows.
Date: Thu, 26 Apr 2001 10:34:22 -0700
"Snowman" <[EMAIL PROTECTED]> wrote in message
news:xhVF6.4586$[EMAIL PROTECTED]...
> The problem is that if I download something in
> linux, and need it while in windows, I have to reboot, copy the file
across
> to the other drive (seperate physical drvies, not one partitioned drive)
and
> then boot back into windows. There has got to be a better way, but I don't
know it. any ideas?
Good info here:
http://www.itworld.com/Net/4160/lw-01-legacy/
------------------------------
From: "SilentNight" <[EMAIL PROTECTED]>
Subject: Re: Red Hat 7.1 & Two mice
Date: Fri, 27 Apr 2001 03:00:36 +0900
"John Hong" <[EMAIL PROTECTED]> wrote in message
news:9c9ejv$j0p$[EMAIL PROTECTED]...
> I can't seem to get Red Hat 7.1 setup working with two mice. One
> a PS/2, the other a USB mouse. This is for my notebook. It is
> frustrating since SuSE 7.1 has this working perfectly. Under Red Hat, it
> is only one or the other under Xfree86 4.x. I can get Red Hat running
> with both mice with the GPM command, though.
>
>
I put 3 mice in the box: serial, ps/2 and usb.
When RH 7.1 installs it selects usb mouse. But after installation, it uses
ps/2.
Now only ps/2 mouse left for use.
SN
------------------------------
** 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
******************************