Linux-Setup Digest #197, Volume #21 Wed, 9 May 01 20:13:08 EDT
Contents:
Re: Help I have a winmodem (David Efflandt)
Re: Adding DNS causes slow telnet (Ian Northeast)
Re: Help I have a winmodem (John Thompson)
Re: Machine name and Sendmail always sends from localhost.localdomain problem.
(David Efflandt)
Re: aha1542, module vs kernel, kernel doesn't work, need kernel (Ian Northeast)
Re: Wrong video mode, how can I get back into my system? (Conrad Newton)
Re: ...dup2: Bad file descriptor [FAILED] .../dev/null: Read-only file system
("Brian Wildasinn")
Re: LILO no boot .. says "LIL-" then just hangs there ("Steve Cox")
Re: Need Module for 3c905B-TX NIC card for RedHat 6.2 (James Rose)
Re: LILO no boot .. says "LIL-" then just hangs there (pip)
Re: help with dual boot, dual drive setup? (Angry Bob)
Re: Suse Linux 7 and Windows 2000 (Paul Lew)
Re: setup a CANON BJC-5000 printer (Angry Bob)
Re: inetd (Angry Bob)
Re: Mandrake 8.0 stops responding after sometime (Angry Bob)
Re: anyone have solution install RH7.1 on 16M RAM (Walter Dnes)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Help I have a winmodem
Date: Wed, 9 May 2001 21:12:44 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Wed, 9 May 2001, Deanne Maree Fowke <[EMAIL PROTECTED]> wrote:
> I have a winmodem, from windoze control panel (Conexant HCF V90 56K Data Fax
> PCI) So I can't get it set up with red hat 7.0
> I looked up http://www.idir.net/~gromitkc/winmodem.html which is where I
> worked out that the modem is the problem but it didn't go into enough detail
> about how to fix the problem. Can someone point me to an easy how-to so I
> can work out what I am doing wrong.
I got one of those with a computer, but drivers are limited to certain
older kernels, and it didn't even work very well in Windows (broke up the
music that my free MSN acct plays while dialing). Fortunatly I had an old
real ISA PNP modem laying around that works. I have not tried a PCI modem
so I am not sure how they work.
Your best bet is to get an external serial modem that will work with any
OS. The Diamond SupraExpress 56K external I use on another box has worked
flawlessly with default settings in Linux, FreeBSD and Windows.
--
David Efflandt (Reply-To is valid) 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: Ian Northeast <[EMAIL PROTECTED]>
Subject: Re: Adding DNS causes slow telnet
Date: Wed, 09 May 2001 22:14:04 +0100
charadeur wrote:
>
> When I add enteries for my DNS servers I get a slow connection to a
> telent session into the box. It even slows down pop3 and smtp and
> times out tring to connect. If I remove the DNS server entries it is
> fast. The OS is caldera. Any ideas?
When you telnet etc. in it tries to resolve the address of the client
into a host name. Clearly it can't. When you don't have any DNS enabled
it has nowhere to go so fails instantly. When you do it has the whole
Internet to ask so it does, and waits for a while (typically ~90s)
before giving up.
Ensure that the server can resolve its clients' addresses, either via
DNS or /etc/hosts. The latter is probably easier if you don't want to
set up a local DNS. I'm not sure what Caldera uses to define resolution
order, it's often /etc/nsswitch.conf or /etc/host.conf. Check your
documentation. Put "files" or "hosts" before "dns".
You don't say whether "your DNS servers" are on your LAN or at an ISP.
If they are on the LAN then the best solution may be to get the DNS
admins to add your client machines to the local DNS, provided they are
cooperative.
Regards, Ian
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: Help I have a winmodem
Date: Wed, 09 May 2001 12:50:56 -0500
Deanne Maree Fowke wrote:
> I have a winmodem, from windoze control panel (Conexant HCF V90 56K Data Fax
> PCI) So I can't get it set up with red hat 7.0
> I looked up http://www.idir.net/~gromitkc/winmodem.html which is where I
> worked out that the modem is the problem but it didn't go into enough detail
> about how to fix the problem. Can someone point me to an easy how-to so I
> can work out what I am doing wrong.
If your winmodem is not one of the supported models your will
either have to write your own driver or replace the modem with
one known to work.
--
-John ([EMAIL PROTECTED])
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Machine name and Sendmail always sends from localhost.localdomain problem.
Date: Wed, 9 May 2001 21:42:53 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Tue, 8 May 2001, John Beardmore <[EMAIL PROTECTED]> wrote:
> I don't use sendmail as a demon, but I'm using it from a shell scrip to
> do batch mailings. ( Return mail, mail to postmaster etc is redirected
> to another machine ! )
>
> The only change I have made to sendmail.cf is via Linixconf. Although
> Linuxconf doesn't seem too stable, (RH6.2), it has managed to set up an
> aliased domain so that my mail appears to come
>
> From: [EMAIL PROTECTED]
>
> but other parts of the header contain references to
> localhost.localdomain etc...
>
> This causes problems as some recipients sites are rejecting the mail as
> localhost.localdomain doesn't exist. ( Those recipients who get through
> can all reply OK. )
>
>
> Now the sending machine is running sendmail on an RH6.2 box which during
> the installation I called Alpha, although from my ISPs DNS point of view
> it's wookie.demon.co.uk !.
If you have a static IP and hostname, it is best to use that for the
system. It makes sendmail, apache, etc. much easier. You can always put
whatever you want for a return address in your mail reader.
> The questions are
>
> 1) why do we give a simple name like 'Alpha' during the install when
> DNS will almost certainly require a name of the form
> domain.isp.whatever?
I sometimes skip that and set it later.
> 2) how many different types of name can a box have, and where are they
> configured ? ( The only time I want to use the name Alpha is with
> Samba ! )
It can have as many names as you want (DNS or /etc/hosts), usually at
least 1 for each interface. But using an internet name as a hostname is
best when possible. For smb.conf see 'netbios name' and 'netbios alias'.
Samba can answer to more than one name (handy for dhcp).
> 3) how do I configure my machine so that mail originates from
> wookie.demon.co.uk rather than localhost.localdomain ? I can't see
> anything that looks appropriate in /etc/sendmail or /etc/hosts.
Remove the alias or masquerade setting from your sendmail configuration
and set your box's hostname to wookie.demon.co.uk. If you use the
'hostname' command to change it instead of linuxconf, you also have to
change it in one of the startup scripts (/etc/sysconfig?)). If your
interface with that name is not always up (ppp), you can assign that name
to 127.0.0.2 in /etc/hosts.
--
David Efflandt (Reply-To is valid) 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: Ian Northeast <[EMAIL PROTECTED]>
Subject: Re: aha1542, module vs kernel, kernel doesn't work, need kernel
Date: Wed, 09 May 2001 22:51:46 +0100
Gene Heskett wrote:
>
> The reason I need it as kernel code is so that I can put /usr on a
> seperate 8.2g drive.
>
> When aha1542 is built as a module, it pops up immediately before the
> login screen, and everything works as planned.
>
> Remaking the kernel with it set to be kernel code, it starts the bus
> scan during the boot, not too long after the ide devices are found, but
> then goes into a double loop of resetting the device 2-4 times, then the
> whole bus, then repeats the device, all the while saying it can't abort
> the call, but evertually it will find the drive at address 0 on the bus
> and go on, at which point it repeats this procedure for address one,
> each pass thru the loop taking about 5 minutes, finding the quatum 8.2g
> at each addreess in turn until it gets to address 4, at which point the
> discovery phase eventually finds a Colorado T4000s at address 4, which
> is its correct address, then also at 5 & 6.
>
> Then it apparently repeats the loop, asking each device for its capacity
> details, and going through this same error recovery time killer, except
> that this time it only gets partial answers only, and only at the
> correct address for the device.
>
> I let it go through all that, and finally got a login screen and did so,
> but was unable to open either device, not even with fdisk /dev/sda.
>
> I've used several of these cards in years past, and have always had to
> edit the source to lower the address of its port by 0x100, to the 0x230
> area, and to reset the irq from 11 to 10. Without those changes the
> module doesn't init itself, ever, and it has required those changes to
> the code in order to function on 3 different motherboards I've run it
> on.
>
> But here, I need the direct in the kernel version so I can put /usr on
> it. Put it in the kernel, and it fails miserably, both for 2.2.18,
> 2.2.19, and 2.4.2. The 2.4.2 failure surprised me as that code has a
> diff that looks to be in excess of 10k from the older code.
>
> So why can't I put aha1542.o into the (apparently any) kernel?
> Inquiring minds want to know. (-;
I don't know the answer I'm afraid, but I have a small machine with a
1542 with /usr on the SCSI disk (/ is on an IDE as the 1542 isn't
bootable), using an initial Ramdisk containing the aha1542 module. I
must admit that I thought that the reason I had to do this was because I
also have my swap partition on the SCSI (the IDE is only 120M). I didn't
think /usr needed it. I havn't tested this mind. My kernel is 2.2.16.
My 1542 is using IRQ 11 and I/O 330. I'm not exactly sure what the MB
is, this machine was cobbled together out of spare bits. This is a
simple machine used as an ISDN router/DNS/mailserver, it only has the
SCSI card, an RTL8139 ethernet and an AVM Fritz! PCI ISDN card. No sound
cards or such to screw things up.
You might try the Ramdisk approach to see if it works for you.
I have come to the conclusion (with a little help from the more
experienced) that Ramdisks are best avoided so had been thinking to
change this setup to the one you are attempting (I have already done
this on the large machine with a 2940). So I will exercise a little
caution in this, and follow this thread.
Regards, Ian
------------------------------
From: Conrad Newton <[EMAIL PROTECTED]>
Subject: Re: Wrong video mode, how can I get back into my system?
Date: Wed, 09 May 2001 22:29:40 GMT
Leon Stringer wrote:
> Hi,
>
> I plugged another monitor into my system. It detected the change and
> unsuccessfully changed settings. Now I've got a system which just shows
> a flickering image (as if the scan rate is out). The problem is I can't
> find out how to recover from this. My system loads X by default
> (runlevel 5?) and once this has loaded I can't access any consoles (i.e.
> Ctrl+Alt+F1-6 does nothing). When the system is loading it displays
> correctly but I can't interrupt this (Interactive Startup seems to be no
> help). So all I can do with my system is bring it up and press
> Ctrl+Alt+Del to bring it down. It's not networked so I can't telnet to
> it.
>
If single user mode seems too drastic (see previous message),
you can boot up in console mode by typing
linux 3
at the LILO boot prompt.
>
> My system is RedHat 6.1 and I've tried re-running the upgrade to no
> avail. Presumably a reinstall will kill everything?
>
> I haven't got a rescue disk. Is there any hope for me? I'm just asking
> for a way to get a console/text session so I can reconfigure X.
>
> Thanks in advance,
>
> Leon Stringer
------------------------------
From: "Brian Wildasinn" <[EMAIL PROTECTED]>
Subject: Re: ...dup2: Bad file descriptor [FAILED] .../dev/null: Read-only file system
Date: Wed, 9 May 2001 14:57:48 -0700
Hi,
Anyone have any ideas how to fix this? See original post for system setup
info.
I hazard to guess that the system bootup scripts are failing due to a
non-fscked, non-mounted /proc read-only filesystem. dup2 errors result
because rc.sysinit finds that the /proc directory is empty. The system will
not proceed to multiuser unless it has a clean (fsck'ed) filesystem. Running
top and df fails as well since these programs depend on pulling information
from the /proc directory, stating "Error: /proc must be mounted To
mount /proc at boot you need an /etc/fstab line like: /proc /proc proc
defaults In the meantime, mount /proc /proc -t proc
Looking at the dup2 error, "Bad file descriptor", it seems that since proc
wasn't mouted there are no virtual files to get a valid file description.
And thus, the error, "Bad file descriptor".
I'm not sure of the booting sequence of programs other than what the rhl
guide mentions 1) Lilo 2) Kernel 3) Init 4) rc.sysinit. But since the
filesystem remains "Read-only" it may be that there is a broken script
between Init and rc.sysinit. I think maybe that this has to do with mounting
the system read-only first for auto-fscking and then remounting the as
writable so that rc.sysinit can mount and get file descriptors from the
/proc directory.
What scripts are run between Init and rc.sysinit? Before rc.sysinit mounts
/proc it does:
1) # Rerun ourselves through initlog
if [ -z "$IN_INITLOG"]; then
[ -f /sbin/initlog ] && exec /sbin/initlog &INITLOG_ARGS -r
/etc/rc.sysint
fi
2) # If we're using devfs, start devfsd now -- we need the old device names
[ -e /dev/.devfsd -a -x /sbin/devfsd ] && /sbin/devfsd /dev
3) # Set the path
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
4) # Read in config data.
if [ -f /etc/sysconifg/network ]; then
. /etc/sysconfig/network
else
NETWORKING=no
HOSTNAME=localhost
fi
5) # Source functions
. /etc/init.d/functions
6) # Print a banner. ;)
echo -en "\t\t\tWelcome to "
[ "$BOOTUP" != "serial" ] && echo -en \\033[1;31m"
echo -en "Red Hat"
[ "$BOOTUP" != "serial" ] && echo -en \\033[0;39m"
echo " Linux"
if [ "$PROMPT" != "no" ]; then
echo -en "\t\tPress 'I' to enter interactive startup."
echo
sleep 1
fi
7) # Fix console loglevel
/bin/dmesg -n $LOGLEVEL
# Mount /proc (done here so volume labels can work with fsck)
action "Mounting proc filesystem" mount -n -t proc /proc /proc
And here's where the dup2 errors occur. The only place dup2 occurs in /etc
is in /etc/ltrace.conf: ; unistd.h ... int dup2(int, int); The comment
occurs in /usr/include/unistd.h: /* Duplicate FD to FD2, closing FD2 and
making it open on the same file. */ extern int dup2(int __fd, int __fd2)
__THROW;
Any help is appreciated!
Brian
[root@(none) /proc]#
> "Brian Wildasinn" <[EMAIL PROTECTED]> wrote in message
> news:9dc66r$bud$[EMAIL PROTECTED]...
> > Remounting read-write the root file system, the /proc filesystem is able
> to
> > be mounted.
> > However, upon rebooting the proc file system is added to /etc/mtab as
> >
> > none /proc /proc
> >
>
>
>
>
------------------------------
From: "Steve Cox" <[EMAIL PROTECTED]>
Subject: Re: LILO no boot .. says "LIL-" then just hangs there
Crossposted-To: comp.os.linux.advocacy
Date: Wed, 09 May 2001 23:41:44 +0100
In article <9dc3ut$[EMAIL PROTECTED]>, "Counts" <[EMAIL PROTECTED]> wrote:
> I installed everything successfully (Slackware 4.1), recompiled a
> kernel, rebooted, everything worked as expected. Then, not long
> afterwards on another reboot, LILO just hangs. I have to boot using a
> floppy now. Any suggestions on how to fix this?
>
> Should I uninstall LILO and then re-install?
>
> Thanks for any suggestions.
>
> Bob
>
>
This could be the 1024 cylinder problem. Make sure you install the LILO
boot loader on the disk's MBR and not a partition's boot sector (eg.
/dev/hda and not /dev/hda1).
Also, make sure the parititon containing the /boot directory is not too
far up on the disk. Tghe best thing is to create a small partition - say,
64 MB - right at the beginning fo the disk and configure linux to mount
this as /boot. That way, the kernel is below the 1024 cylinder limit.
Steve
------------------------------
From: [EMAIL PROTECTED] (James Rose)
Subject: Re: Need Module for 3c905B-TX NIC card for RedHat 6.2
Date: Wed, 09 May 2001 22:58:15 GMT
>It's in the kernel sources. Use the 3c59x module.
>
If this dosen't solve the sounds problem then you need to look at /var/log/dmesg
to see if the card is detected with out any problems. You should see a line
showing the module being loaded into the kernel. Then later in the file you
should see the card being detected and loaded with its IRQ#, Mem Range, and DMA
#
If you don't see those or you see any errors, please post your dmesg here so we
can better see what is happenning.
------------------------------
From: pip <[EMAIL PROTECTED]>
Crossposted-To: dc.org.linux-users,comp.os.linux.advocacy
Subject: Re: LILO no boot .. says "LIL-" then just hangs there
Date: Thu, 10 May 2001 00:20:46 +0100
Counts wrote:
>
> I installed everything successfully (Slackware 4.1), recompiled a kernel,
> rebooted, everything worked as expected. Then, not long afterwards on
> another reboot, LILO just hangs. I have to boot using a floppy now. Any
> suggestions on how to fix this?
>
> Should I uninstall LILO and then re-install?
No, LILO prints LILO on the screen to indicate each stage of startup,
therefore LIL actually gives you the error message that you should be
able to find in the LILO documentation.
As the other poster suggests it could be a BIOS problem - so maybe you
could locate /boot in your first primary partition.
Also I have heard good things about the GRUB bootloader.
------------------------------
From: Angry Bob <[EMAIL PROTECTED]>
Subject: Re: help with dual boot, dual drive setup?
Date: 9 May 2001 23:24:20 GMT
What would you like to read? [[EMAIL PROTECTED] or ?*]
this is a Kuenley Chiu scroll! it says:
> I was hoping to set up lilo so that I could choose either one to boot from
> -- but now, when I do "df" in linux, I only see the linux drive. The windows
> boot can only see its drive also (actually it sees a new hard drive, but can't
> open it).
you can use 'linuxconf' or 'diskdrake' to figure out what your windows
partition is (probably /dev/hdc2 or something like that)
then you need to put an entry in your /etc/lilo.conf that points to that
partition for booting.... I dont' remember the syntax off the top of my
head, but you can do a google search for "dual boot howto" or "windows
lilo" or something like that to figure out the syntax.
after you've added the entry, run 'lilo' to read in the new lilo.conf
file.
--
AngryBob Systems Consultant - http://www.trellisinc.com
"It is ridiculous claiming that video games influence children. For
instance, if Pac-man affected kids born in the eighties, we should
by now have a bunch of teenagers who run around in darkened rooms
and eat pills while listening to monotonous electronic music."
-- Joachim Lous
------------------------------
From: [EMAIL PROTECTED] (Paul Lew)
Subject: Re: Suse Linux 7 and Windows 2000
Date: Wed, 09 May 2001 23:29:19 GMT
On Wed, 09 May 2001, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> root wrote:
>>
>> After the first part of the installation was achieved the program
>> rebooted the PC to complete the installtion.
>> But I got always the LILO bootmanager and could not access windows.
>> I booted Linux and added to LILO a "win" boot image that should boot
>> from hda5 but in vain.
>
> Hmm, I wouldn't bet on it, that windump installs on any partition except
> the first primary partition at all. I have never tried it and I heard
> something about windows
> always using the letter c: for the first primary partition of the first
> harddrive.
> Did this change in Win2k????
Hasn't changed even if ms claims that win2k can be installed in any
partition or it can start any os....
Made a mistake for a "default" auto-install and win2k installed on my
d: partition BUT still placed the win2k bootloader in c: partition; now,
I have nt4 and win2k and linux :-( Couldn't do "update/upgrade" as C:
didn't have 430+ megs free (looks like win2k doesn't know how to replace
nt4).
>
> I think you would be better off by letting windump have it's will and
> let it use the primary partition and use the others for linux.
>
> Volker
------------------------------
From: Angry Bob <[EMAIL PROTECTED]>
Subject: Re: setup a CANON BJC-5000 printer
Date: 9 May 2001 23:26:00 GMT
What would you like to read? [[EMAIL PROTECTED] or ?*]
this is a Thierry Pot scroll! it says:
> I know BJC5000 is a windows printer but I heard that somebody succeed to
> print under linux with a bjc600 driver ... does anybody can confirm ?
http://www.linuxprinting.org/
--
AngryBob Systems Consultant - http://www.trellisinc.com
A little experience often upsets a lot of theory.
------------------------------
From: Angry Bob <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: inetd
Date: 9 May 2001 23:33:06 GMT
What would you like to read? [comp.os.linux.setup or *?]
This is a Norman Zhang <[EMAIL PROTECTED]> scroll! it says:
> I'm using Linux Mandrake 8.0. But I can't seem to be able to find inetd on
> the distribution CDs. All I see is xinetd. Has inetd being removed? Where
> can I find inetd? I search www.rpmfind.net, and there seems to be one for
> RedHat 6.2.
xinetd replaces inetd because inetd is crappy.
--
AngryBob Systems Consultant - http://www.trellisinc.com
You've never eaten a packing peanut?
--Nick Black
------------------------------
From: Angry Bob <[EMAIL PROTECTED]>
Subject: Re: Mandrake 8.0 stops responding after sometime
Date: 9 May 2001 23:40:13 GMT
What would you like to read? [[EMAIL PROTECTED] or ?*]
this is a Prabhu Raghavan scroll! it says:
> I have Mandrake 8.0 on a Pentium 200 with 64MB RAM. The system is on a
> network and I access it from another Linux box. The Mandrake system stops
> responding (including ping) after sometime. This stopping seems to
> correspond with the times when the console terminal goes on screen-save
> mode. When I hit a key on the main console that brings the console back
> alive, the ping from the other Linux box starts working!
> Is this really possible? Or is there any other problem I should be looking
> for? Is there a fix for this?
wierd.... but you shoudl re-install the mandrake8.0 kernel anyhow, it's
a bit buggy.... 2.4.4 cleans up some locking problems.
you might try turning off APM in the kernel.... it _might_ be the
problem, but I'm just guessing.
try a new kernel and see if that helps any.
--
AngryBob Systems Consultant - http://www.trellisinc.com
Somebody set up us the bomb!
-- Operator
------------------------------
From: [EMAIL PROTECTED] (Walter Dnes)
Crossposted-To:
alt.comp.linux,comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.redhat,comp.os.linux.security
Subject: Re: anyone have solution install RH7.1 on 16M RAM
Date: Wed, 9 May 2001 23:58:16 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Tue, 8 May 2001 13:39:42 +0100, Kevin Ford, <[EMAIL PROTECTED]> wrote:
> Remember all Linux's fitted in 16MB once!
And Bill Gates once remarked that nobody would ever need more than
640 Kilobytes of RAM <g>.
> 16MB is enough for a simple gui like Windowmaker, or possibly
> something archaic like twm. I'm sure they still come with Redhat.
> I would personally put Slack on this machine, as it is just as
> flexible to install on small machines as large ones. Certainly at
> todays memory prices it might be worth getting an extra 16MB. Linux
> isn't Windows after all but it is still probably best to protect
> your HD from excessive wear, especially if it is as old as the
> rest of the box.
Redhat 6.2 might be a better choice than 7.X for this setup.
--
Walter Dnes
<[EMAIL PROTECTED]>
------------------------------
** 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
******************************