Linux-Setup Digest #234, Volume #21 Tue, 15 May 01 17:13:09 EDT
Contents:
Re: General questions (Thomas Corriher)
/etc/rc.d/init.d/myscript? (Raymond Chui)
log.smb entries ("rloc")
Re: urgent help needed on kerneld ("ne...")
samba and password usage ("rloc")
Re: "too many open files" error .. (Vilmos Soti)
file permissions - still struggling ("rloc")
Re: Cisco emulator for practice? ("Harison Phinizy")
Re: General questions (Thomas Corriher)
Re: LILO no boot .. says "LIL-" then just hangs there ("rider web")
Re: adapter address (Jeff Muse)
Sorry - brain cramp w/ipconfig (Jeff Muse)
Re: HELP! Mandrake 8.0 kernel panic. (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: /etc/rc.d/init.d/myscript? (Michael Heiming)
Re: No DNS with DHCP sometimes ("grendel")
Re: RH 7.1 2.4 (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: Samba 2.2 dependencies (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: Linmodem for internet connection in a proxy server? (Gregory Davis)
Help with assigning eth0/eth1 to proper NICs ("Brian Davis")
Linux, Dell and modems (Jack Lewis)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Thomas Corriher)
Subject: Re: General questions
Reply-To: [EMAIL PROTECTED], abuse@[127.0.0.1]
Date: Tue, 15 May 2001 19:10:56 GMT
On Fri, 11 May 2001 07:49:21 +0200, Peet Grobler
<[EMAIL PROTECTED]> wrote:
>This is questions that's been bothering me. Please comment if
>you can.
>
>1) I've found a modem in a box. I can determine whether it's a
>winmodem by issuing "AT" from minicom, and checking for the "OK"
>response.
Smart idea.
>Great. How do I go about to find out the speed of the modem?
>14K? 28K? 56K?
Try "ATI", "ATI"1-4, "ATV" and "ATIV".
>2) Swap space. Is it better having 1x 64MB swap partition or
>2x 32MB partitions? If the machine has 32MB memory? (This
>might be a rethorical question, but give me comments anyway)
There are no clear guidelines for swap. Most people go with a
single swap partition. I do not know of any benefit of using two
or more. The size of the swap should be based on your amount or
memory, the software you will be running, and how hard you are
going to be driving that machine. A single swap partition of
128 Mb is ample for most people, most of the time. If you were
a home user and had something like 1 Gb of memory, you would
probably not even need swap. Swap is there to as a safety net
for when the system is running low on memory. With my distro
I can limit the amount of memory that users are allowed with
the /etc/security/limits.conf file.
>3) How do I shield a box from giving off RF signals? My box
>interferes with the TV quite badly, I've got it grounded beyond
>belief (cables running from chassis to ps to ground wire), but
>this didn't improve it much.
Maybe your house is not grounded well. If the house is grounded
poorly, then your attempts to ground your computer are useless.
That is worth checking into. Also, if the computer's power
supply is bad, then the computer might be injecting a signal
back into your home's wiring. You might only notice the effects
on radio equipment (like TVs). Since computers generate
frequencies in the MHz range, they are effectively broadcasting
on the frequencies that television stations do. You should
use a surge supressor on the computer that has noise-filters
(RF filters). You should have one of these anyway since they
are vastly superior to the surge supressors that have only MOVs.
(That is also a hint to everyone reading this). Surge
supressors with RF filters will block signal interference in
both directions. One word of warning however. THIS IS
IMPORTANT. If you want to use a back-up power supply with this
type of surge suppressor, make certain that the surge
suppressor is plugged into the outlet. Do NOT plug this type
of surge suppressor into a back-up power supply; because these
surge supressors have a tendency to amplify changes in current
and reflect them back to their source... a fried UPS.
Electronics can be neat.
--
From the desk of Thomas Corriher
The real email address is:
tcorriher at earthlink.
net
------------------------------
From: Raymond Chui <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.help
Subject: /etc/rc.d/init.d/myscript?
Date: Tue, 15 May 2001 14:55:18 -0400
This is a multi-part message in MIME format.
==============6C9E12EAC4C63A188DA7BBB9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I created /etc/rc.d/init.d/myscript file and
also
cd /etc/rc.d/rc5.d
ln -s /etc/rc.d/init.d/myscript K85myscript
ln -s /etc/rc.d/init.d/myscript S86myscript
then I do
myscript start
and
myscript stop
Both running fine.
But when I started Redhat Linuxconf, go to "Control service activity"
I don't see myscript list in there. Please tell me what did/do I
missing.
Thank you in advance!
--Raymond
==============6C9E12EAC4C63A188DA7BBB9
Content-Type: text/x-vcard; charset=us-ascii;
name="raymond.chui.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Raymond Chui
Content-Disposition: attachment;
filename="raymond.chui.vcf"
begin:vcard
n:Chui;Raymond
tel;fax:(301)713-0963
tel;work:(301)713-0624 Ext. 168
x-mozilla-html:TRUE
url:http://members.xoom.com/rchui/
org:NWS, NOAA
version:2.1
email;internet:[EMAIL PROTECTED]
title:SA, DBA
note:ICQ #: 16722494
adr;quoted-printable:;;NOAA, NWS, Office of Hydrology, OH=0D=0A1325 East-West Highway,
Room 8112;Silver Spring;MD;20910-3283;U.S.A.
x-mozilla-cpt:;-6384
fn:Raymond Chui
end:vcard
==============6C9E12EAC4C63A188DA7BBB9==
------------------------------
From: "rloc" <[EMAIL PROTECTED]>
Subject: log.smb entries
Date: 15 May 2001 21:33:00 +0200
The following questions relate to my small network consisting of Mandrake 7
as a server / internet gateway and a few Win 9x boxes as clients.
In my /var/log/samba/log.smb I have many of the following entries
Denied connection aaa.bbb.ccc.ddd
These are not part of my local network so I assume they come the internet.
Should I worry?
Also in log.smb I have many instances of the folowing message when a win9X
box tries to log in ( although the login works and the Win box accesses the
correct shares.
lib/utils_sock.c:client_name (0997)
gethostbyaddr failed for 192.168.0.100
I am not sure what to do with this one, so please give me a hand.
Thanks
Rob
------------------------------
From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: urgent help needed on kerneld
Date: Tue, 15 May 2001 19:34:45 GMT
On May 15, 2001 at 06:13, Jo eloquently wrote:
>Hello everyone;
>
>I just installed Redhat linux 5.2 on my sony vaio notebook. When I try to
>configure ppp and sound , it complains that my kernel does not support it.
>So I try to run kerneld from control panel, I got the following error:
>
>Starting kerneld; veriosn 2.1.85(pid 383)
>I am sorry, but your /boot/module-info-2.0.36 file is missing and I cannot
>do without it.
>
>I checked the said directory and find the following files:
>/boot/System.map-2.0.36-0.7
>/boot/module-info-2.0.36-0.7
>/boot/vmlinuz-2.0.36-0.7
> and three other binary files.
>
>I was able to read the System.map-2.0.36-0.7 and module-info-2.0.36-0.7
>
>Could somebody help?
As root
cp /boot/module-info-2.0.36-0.7 /boot/module-info-2.0.36
--
Registered Linux User # 125653 (http://counter.li.org)
"Being against torture ought to be sort of a multipartisan thing."
-- Karl Lehenbauer, as amended by Jeff Daiell, a Libertarian
3:34pm up 16 days, 21:28, 8 users, load average: 0.00, 0.00, 0.00
------------------------------
From: "rloc" <[EMAIL PROTECTED]>
Subject: samba and password usage
Date: 15 May 2001 21:34:24 +0200
I have a small network consisting of a Mandrake 7 server and a few Win9x
clients.
When I first set this up for test purposes, I allocated a username and
password at the server and then as root did smbpasswd -a <username>
<password>.
This worked fine but I now need to go live and I need to allow users to
select their own passwords and also to force them to change these passwords
every so often.
Is it possible to do this by having the server prompt for a new password
when they log in from a Win9x box? If not what do you suggest?
Thanks
Rob
------------------------------
Subject: Re: "too many open files" error ..
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Tue, 15 May 2001 19:36:19 GMT
Eoin Verling wrote:
> I'm running 2.2.16 (Suse 6.3) i386 ... I'm getting the error
>
> too many open files
>
> ... I know why it's happening, and I@m just waiting to get a new machine to
> take some of the load away from this machine, but in the mean time I want to
> increase the number of open files possible. Is this configurable and where
> is it set?
Take a look at /usr/src/linux/Documentation/proc.txt and look
for the /proc/sys/fs strings or file-max.
Vilmos
------------------------------
From: "rloc" <[EMAIL PROTECTED]>
Subject: file permissions - still struggling
Date: 15 May 2001 21:36:21 +0200
I am running up a small office network - Mandrake 7.0 as the server and e
few Win9X boxes as clients. My requirement is that all users have file
creation, deletion, and modification rights to files within
/home/public/"project_name"/"various_subdirectories" but can not modify or
delete the actual "directories". Any file created by a user should be
automatically accessible to all users in that group but should preserve the
creator's/modifier's user name.
This rule should aply to non public directories as well. I have tried
"force create mode = 0770" and force directory mode = 0765 in the [shares]
section of smb.conf but I am missing the magic combination somehow.
I still have not found a simple description of the suid, guid and "sticky
bit" functions and when to use them. Is there a howto or something similar
Thanks
Rob
------------------------------
From: "Harison Phinizy" <[EMAIL PROTECTED]>
Subject: Re: Cisco emulator for practice?
Date: Tue, 15 May 2001 19:54:15 GMT
Thanks...
"Glitch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> In article <ZPUL6.1407$[EMAIL PROTECTED]>, "Harison
> Phinizy" <[EMAIL PROTECTED]> wrote:
>
> > My question was; Is there any software available that can emulate a
> > cisco router. I realize that Linux can route and I know they are two
> > distinct operating systems. But are there any utilities out there that
> > can emulate a cisco router so one could mess around on a virtual cisco
> > router... I know there is something that exists on windows, that problem
> > is... it's windows.
> >
>
> To my knowledge an emulator does not exist however searches on various
> websites could prove me wrong. But I haven't heard any emulator that is
> available.
>
> >
> > "Glitch" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> >> In article <b50L6.2920$[EMAIL PROTECTED]>, "Harison
> >> Phinizy" <[EMAIL PROTECTED]> wrote:
> >>
> >> > Is it possible to emulate a Cisco router on a Linux box to practice
> >> > router config?
> >> >
> >> >
> >> >
> >> Cisco routers have their own operating system and their own commands.
> >> Although the purpose would be similar between a linux box and a cisco
> >> router a cisco router would have much more functionality since it is
> > a
> >> specific device used for routing. With a linux box you can't configure
> >> routing protocols, only routed protocols. A cisco router is a complex
> >> device much more attuned to routing than a linux box could be (complex
> >> enough to have its own OS and subset of commands).
> >>
> >> A more user-level problem with what u are asking is the fact that
> >> commands that are on a router don't exist on a linux box.
> >
> >
------------------------------
From: [EMAIL PROTECTED] (Thomas Corriher)
Subject: Re: General questions
Reply-To: [EMAIL PROTECTED], abuse@[127.0.0.1]
Date: Tue, 15 May 2001 19:56:11 GMT
On 11 May 2001 4:4:14 -0500, Gene Heskett
<[EMAIL PROTECTED]> wrote:
>Of the choices, the coax input of the newer tv's is much better
>shielded. I'm a tv engineer FWTW.
Show off!
Seriously, I hope you realize that you probably lost about 99%
of your readers in that posting. I have studied (general)
electronics, and you even lost me at several places.
Nevertheless.. It was interesting and worth saving for future
reference.
By the way... Your last point (quoted above) is a very good one.
Having the entire input shielded by the "common" ground is
excellent, as is in the case of coax cabling.
--
From the desk of Thomas Corriher
The real email address is:
tcorriher at earthlink.
net
------------------------------
From: "rider web" <[EMAIL PROTECTED]>
Crossposted-To: dc.org.linux-users,comp.os.linux.advocacy
Subject: Re: LILO no boot .. says "LIL-" then just hangs there
Date: Tue, 15 May 2001 16:07:39 -0400
this might help
http://www.redhat.com/support/docs/faqs/rhl_general_faq/FAQ-5.html
"Counts" <[EMAIL PROTECTED]> wrote in message
news:9dc3ut$[EMAIL PROTECTED]...
> 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
>
>
------------------------------
From: Jeff Muse <[EMAIL PROTECTED]>
Subject: Re: adapter address
Date: Tue, 15 May 2001 14:34:13 -0500
Jack wrote:
> i know you can find your addapter address by running winipconfig in windows,
> but how do you find it in linux?
As root, run 'ipconfig'. This will list all interface addresses and properties.
If you only want to see one interface, then use 'ipconfig devicename' - for
example, 'ifconfig eth0'.
You can also use 'ipconfig' to assign an address to an interface, as in
'ipconfig eth0 192.168.1.1'.
------------------------------
From: Jeff Muse <[EMAIL PROTECTED]>
Subject: Sorry - brain cramp w/ipconfig
Date: Tue, 15 May 2001 14:43:39 -0500
Jeff Muse wrote:
> Jack wrote:
>
> > i know you can find your addapter address by running winipconfig in windows,
> > but how do you find it in linux?
>
> As root, run 'ipconfig'. This will list all interface addresses and properties.
> If you only want to see one interface, then use 'ipconfig devicename' - for
> example, 'ifconfig eth0'.
>
> You can also use 'ipconfig' to assign an address to an interface, as in
> 'ipconfig eth0 192.168.1.1'.So
Sorry - I saw ipconfig in your post and typed it. It should be 'ifconfig'.
Mea maxima culpa and one thousand lasshes with a wet noodle for me.
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: HELP! Mandrake 8.0 kernel panic.
Date: Tue, 15 May 2001 22:24:32 +0200
On Tue, 15 May 2001, MBJ wrote:
> I have installed Mandrake 8.0 3 times already and I keep getting this
> message and freezes from there:
>
> EIP: 0010: [<c51339ea>]
> EFLAGS: 00010293
[SNIP - a long oops ]
> The machine is a Toshiba 320CDT, 64MB. Windows 2000 in the primary
> partition and Linux in the logical partition. Mandrake 7.1 works fine.
They tell where in the kernel something went wrong. It does not actually
make a human-readable measning until it is run through ksymoops
(ksymoops < oopsfile).
Rasmus
------------------------------
Date: Tue, 15 May 2001 22:32:26 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: /etc/rc.d/init.d/myscript?
[removed some non existing ng]
Raymond Chui wrote:
>
> I created /etc/rc.d/init.d/myscript file and
> also
> cd /etc/rc.d/rc5.d
>
> ln -s /etc/rc.d/init.d/myscript K85myscript
> ln -s /etc/rc.d/init.d/myscript S86myscript
>
> then I do
> myscript start
> and
> myscript stop
>
> Both running fine.
> But when I started Redhat Linuxconf, go to "Control service activity"
> I don't see myscript list in there. Please tell me what did/do I
> missing.
Looks as if you would miss nothing, check if your script is executed on
run level change. I don't know about linuxconf, but from what I have
heard
about it, it's like yast, that comes with SuSE, it's working quite nice,
but you don't really need it, if you get used to how Linux works...:-)
Michael Heiming
------------------------------
From: "grendel" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,alt.os.linux.suse,comp.os.linux.misc,comp.os.linux.networking
Subject: Re: No DNS with DHCP sometimes
Date: Tue, 15 May 2001 16:30:46 -0400
I do not run a DHCP server. I am a client not a server. I can not put in the
server in debug mode since it's sitting at my ISP.
"Dean Thompson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Hi!,
>
> > I'll wait till it happens again. Is there a log for the cleint that
shows
> > the info returned? I know the bootup log will show the request and ACK.
>
> There is a good chance that when the DHCP server starts it might actually
> write some of its debugging of version information into the
> /var/log/messages. If you want to see all the data that is passed around
you
> will have to provide the "-d" flag to put the server into debug mode.
>
> See ya
>
> Dean Thompson
>
> --
>
+____________________________+____________________________________________+
> | Dean Thompson | E-mail - [EMAIL PROTECTED]
|
> | Bach. Computing (Hons) | ICQ - 45191180
|
> | PhD Student | Office - <Off-Campus>
|
> | School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office)
|
> | MONASH (Caulfield Campus) | Fax - +61 3 9903 1077
|
> | Melbourne, Australia |
|
>
+----------------------------+--------------------------------------------+
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: RH 7.1 2.4
Date: Tue, 15 May 2001 22:30:09 +0200
On Tue, 15 May 2001, JP wrote:
> I'm now trying to compile a fresh install of RH7.1 to have LVM support and
> get to grips with iptables etc on a DELL laptop (don't want to trash my
> "live" box).
>
> I used to use make bzlilo but that appears to have changed to make install,
> unfortunately, on booting the new kernel the system hangs.
That often means that your kernel is too big. Try to put some more in
modules.
> Can anyone point me in the right direction for compiling 2.4. I seem to have
> lost the plot with this version of Linux at the moment and need to find my
> feet.
First download 2.4.4 from ftp.kernel.org. 2.4.2 had some serious bugs.
Then do mostly like in the 'old 2.2 days' - but the kernel has become
substantially larger, so try to put more in modules.
Rasmus
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: Samba 2.2 dependencies
Date: Tue, 15 May 2001 22:36:13 +0200
On 15 May 2001 [EMAIL PROTECTED] wrote:
> I have Redhat 7.0 and have downloaded the rpm for Samba 2.2. After trying to rpm
>-Uvh the samba package
> I get numorous dependencies errors. I tried to download and resolve some the the
>dependencies rpm's and just
> got dependencies errors from them.
What dependencies?
Try to remove all samba packages before upgrading: samba samba-client
samba-common samba-swat
> Has anyone successfully installed samba 2.2 on Redhat 7.0?
Yep. Works fine here.
Rasmus
------------------------------
From: Gregory Davis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Linmodem for internet connection in a proxy server?
Date: Tue, 15 May 2001 16:54:23 -0400
Thats just the hardware I currently have, though I plan to buy another LAN
card for the windows box, probably the same one as in the linux box as I
have experience getting it to work in either os. Also, I believe the modem
is HCF, so I am probably screwed. The modem currently in the windows box
is essentially a ghost: it came preloaded in a compaq desktop purchased
recently, has no driver support anywhere and is listed as a generic modem
in all windows config programs. That too is an HCF modem.
Greg
Justin Mahn wrote:
> Just out of curiosity why do you describe 2 modems and 1 lan card? what's
> to connect the two comps?
------------------------------
From: "Brian Davis" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Help with assigning eth0/eth1 to proper NICs
Date: Tue, 15 May 2001 17:04:04 -0400
Hi,
I've got 2 3c509s in a my Linux box (Mandrake 8). One is an ISA card, and
one is built on the Motherboard. Anyway, they are being setup with one as
eth0 and the other as eth1 (obviously). What I want to do is flip that
assignment (long story having to do with cable provider and scripts I've
already written). I want mac 00:10:4b:ce:11:55 to be eth0 and
00:c0:4f:c4:33:37 to be eth1. Here is the current output from ifconfig -a:
eth0 Link encap:Ethernet HWaddr 00:C0:4F:C4:33:37
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:5 Base address:0x220
eth1 Link encap:Ethernet HWaddr 00:10:4B:CE:11:55
inet addr:24.147.19.101 Bcast:24.147.23.255 Mask:255.255.248.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:43756 errors:4 dropped:0 overruns:0 frame:4
TX packets:19029 errors:0 dropped:0 overruns:0 carrier:0
collisions:156 txqueuelen:100
RX bytes:29961426 (28.5 Mb) TX bytes:1448254 (1.3 Mb)
Interrupt:10 Base address:0x230
I believe that the IRQs and IOs are being setup by PNP, especially since
I've tried the 3c5x9setup executable, changed the IRQ and IO, and they are
effectively ignored.
I've followed the Ethernet-HOWTO regarding eth0/eth1 assignment and setup
the /etc/modules.conf as follows:
alias eth0 3c509
alias eth1 3c509
options 3c509 io=0x230,io=0x220
But I get the following error output after running modprobe:
[root@h00104bce1155 net]# modprobe 3c509
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c509.o.gz: invalid
parameter parm_io
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c509.o.gz: insmod
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c509.o.gz failed
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c509.o.gz: insmod 3c509
failed
[root@h00104bce1155 net]#
Any help/ideas is greatly appreciated.
Thanks,
Brian
------------------------------
From: Jack Lewis <[EMAIL PROTECTED]>
Subject: Linux, Dell and modems
Date: Tue, 15 May 2001 16:06:57 -0500
I want to buy a computer from Dell, probably refurbished.
I want to run MS Windows and Linux on it. What is the
best type of modem to buy? Why?
------------------------------
** 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
******************************