Linux-Misc Digest #542, Volume #26 Wed, 13 Dec 00 22:13:03 EST
Contents:
Re: IP Alias does not seem to work on 6.2 RH (Neal Rhodes)
Re: very strange "Bus error" in Netscape ("Anthony")
Re: samba and win2k
Re: tulip.o plz (kevin)
Re: Good embedded Linux sites ([EMAIL PROTECTED])
Re: Good embedded Linux sites ([EMAIL PROTECTED])
Re: LINUX
Re: qmail vs sendmail (Rod Smith)
Re: Moving files w/ same extension ([EMAIL PROTECTED])
Re: folder size (John Wingate)
Re: ramdisk size (Dances With Crows)
Gnome / KDE Icon Properties ([EMAIL PROTECTED])
Re: Q: .Xauthority -- copying from another system ([EMAIL PROTECTED])
Re: KDE: starting job on specific desktop (Lauri Watts)
----------------------------------------------------------------------------
Date: Wed, 13 Dec 2000 20:31:03 -0500
From: Neal Rhodes <[EMAIL PROTECTED]>
Subject: Re: IP Alias does not seem to work on 6.2 RH
Steve Wolfe wrote:
>
> > Ok, we've got four 6.2 RH systems in various places. On all of them
> > we have used linuxconf to add an IP alias to eth0. On two of the
> > servers an ifconfig -a shows the alias, and on two of them it does
> > not.
> >
> > Question 1: Should I not in fact see the aliased address in the
> > ifconfig -a?
>
> You should.
>
> > Question 2: Any clues on what is not working?
>
> If you have compiled your own kernel as opposed to the stock RH kernel,
> you may not have included support for IP aliasing.
>
> > Question 3: Can't I issue a manual ifconfig command to add the alias?
> > The man page seems ambiguous on the syntax.
>
> Yep. ifconfig eth0:1 {blah blah blah}
>
> steve
Thanks. That works on the 3rd machine, but not on the fourth...
1044:nimitz(** ROOT **):/lib/modules/2.2.15# ifconfig eth0:1
192.168.1.127
SIOCSIFADDR: No such device
SIOCSIFFLAGS: No such device
It definately has a twinked kernel. I shall have to dive into that
I suppose and try and figure out that they did. It does not have
a module file for ipaliasing.
--
==============================================================================
Neal Rhodes MNOP Ltd (770)-
972-5430
President Lilburn (atlanta) GA 30247 Fax:
978-4741
[EMAIL PROTECTED]
http://www.mnopltd.com/
------------------------------
From: "Anthony" <[EMAIL PROTECTED]>
Subject: Re: very strange "Bus error" in Netscape
Date: Thu, 14 Dec 2000 09:31:12 +0800
In article <8vlp35$us4$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> Did you install the plugger plugin? if so this is a known bug and you
> have to get the sources and recompile without the
> -DDEBUG option.
Another possibility is overclocking.
====== Posted via Newsfeeds.Com, Uncensored Usenet News ======
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
======= Over 80,000 Newsgroups = 16 Different Servers! ======
------------------------------
From: <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: samba and win2k
Date: Wed, 13 Dec 2000 20:28:59 -0500
Samba should be using password encryption to work with any win OS from
winnt4.0 SP3. This includes win98, and any subsequent issues from
Microsoft.
Are the windows clients configured to send clear text passwords ?
Last time I checked, My win2000 pro computer connected through SMB to my
linux computer ( But I am running RH 6.0 on the latter ).
I prefered to change Samba to use encrypted passwords as that was much
easier than running around with a registry fix for windows and rebooting
each computer.
Unless RH7.0 is really buggered, things should be working fine once setup
as per the instructions.
hth
Lion <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> hi
> i tried to configure samba on my suse linux 7.0.
> i got no problems at all with all the windows98 clients, but whatever i
do,
> i can't connect with windows2k professional.
> i think it has something to do with the security-model...?
>
> thanx
> lion
>
>
------------------------------
From: kevin <[EMAIL PROTECTED]>
Subject: Re: tulip.o plz
Date: Thu, 14 Dec 2000 01:36:35 GMT
Sudhakar R. <[EMAIL PROTECTED]> wrote:
> If anyone has a working version of the tulip.o module for RH 7.0/kernel
> 2.2.16-22 kindly mail it to me.
> I am in desperate need of this.
Works for me, I have a Linksys Network Everywhere NC100
-Kevin
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Good embedded Linux sites
Date: Thu, 14 Dec 2000 01:34:54 GMT
Chris,
Try: www.mvista.com
Monta Vista is an Open Source FREE Embedded Linux distributor, and we
support multiple architectures (PowerPC, Arm, MIPC, x86, etc)
Thanks,
Lilia
www.mvista.com
In article <[EMAIL PROTECTED]>,
Chris Webster <[EMAIL PROTECTED]> wrote:
>
> > I'm seraching in-depth information about how to embed Linux (e.g.:
how
> > to downscale a Normal Linux distribution) Can anyone give me really
good
> > sites?
>
> Have you been to http://www.rtlinux.org?
>
> --Chris
>
> It's tough to make predictions, especially about the future.
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Good embedded Linux sites
Date: Thu, 14 Dec 2000 01:27:29 GMT
Try us: www.mvista.com
Monta Vista is a fully Open Source distributors of
embedded linux on almost all architectures!
Lilia
www.mvista.com
In article <[EMAIL PROTECTED]>,
Chris Webster <[EMAIL PROTECTED]> wrote:
>
> > I'm seraching in-depth information about how
to embed Linux (e.g.: how
> > to downscale a Normal Linux distribution) Can
anyone give me really good
> > sites?
>
> Have you been to http://www.rtlinux.org?
>
> --Chris
>
> It's tough to make predictions, especially
about the future.
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: LINUX
Date: Wed, 13 Dec 2000 20:39:17 -0500
Francis Oyakhire <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I HAVE A HOME NETWORK RUNNING WITH A NT SERVER 4.0
Ok, we heard.
> with service pack 5 as the domain controller . I have 3 linux
> boxes on the domain . a redhat 7.0 , mandrake 7.0 and mandrake
> 6.1 .
> I have 2 problems .
> QUESTION 1
> I need help acitvating swat on redhat. i get a message a
> netsocket connection problem when trying to connect to swat.
Perhaps your ipchains rules deny connection permissions ?
> QUESTION 2
> I have setup samba on the mandrake boxes on the network i am
> unable to browser the linux box from any windows machine on
> the domian . I do see the machine in my network neighbourhood
The machine will show up if it has announced itself on the network.
> . I am not certain if my shares have been setup correctly. I
> might need some help with the shares. I also can not use the
You need to authenticate before you are able to see the shares.
Use encrypted passwords.
Tell samba to use the domain controller for authentication
encrypt passwords = yes
Security = share
Password server = <ip of domain server>
Oh, and create unix accounts for the users.
Then, what's shared out will be their home dirs.
Additionally , you can put an entry in the common part to share out the
cdrom drive or some other read only partition.
I use this at home to share out my mp3 files.
> samba browser to access any share file on any of the windows
> machines.
> I will be happy if any of my questions can be answered
> Thank you
> Francis
>
look under smbmnt in the man pages .
You will have to specify the username, password, and the resource
\\\\computername\\sharename ) on the command line.
> --
> Posted via CNET Help.com
> http://www.help.com/
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: qmail vs sendmail
Date: Thu, 14 Dec 2000 02:01:32 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:
>
> On the one hand, Sendmail has a configuration format that is downright
> _frightening_, if taken to extremes.
...
> This is quite entirely perverse, and qmail's "simpler" approach that
> rules out such perverse programmability might be _expected_ to lead to
> it being simpler to configure.
>
> On The Other Hand, the "potential scariness" of /etc/sendmail.cf is
> mitigated by the fact that just about everybody need only mess with
> the two lines with
> DS
> and _maybe_
> #Dj$w.Foo.COM
There are cases where sendmail configuration falls down, though. I had
serious troubles setting up masquerading adequately for one particular
configuration, for instance -- no matter what I did, the hostname (as
returned by the "hostname" command) crept into the messages, which in
this particular case was NOT desirable. Perhaps there's some easy way to
get around this in sendmail.cf, but if so I couldn't find it. (I'm
admittedly far from an expert on sendmail.) This was comparatively easy
to fix in both qmail and Postfix.
> I've _never_ found that I had to spend 4 hours trying to fiddle with
> /etc/sendmail.cf, whereas, despite the _apparently_ simpler config
> scheme of qmail, the last time I played with it, I spent 4 hours
> fighting with it to get it to do what I wanted.
As always, it depends on one's needs and experience. Somebody with
years of experience futzing with sendmail will doubtless have no
trouble with it. Likewise for somebody whose desired configuration is
pretty close to what sendmail does by default. Some people aren't so
lucky, though, and in at least some of these cases, it is easier to
ditch sendmail and replace it with something else. Whether that
"something else" should be qmail, Postfix, Exim, or some other program
is a matter to be decided on a case-by-case basis. (I tried all three,
and ultimately settled on Postfix, but that's just me. Also, my needs
have since changed, so I don't know if I'd make the same decision were
I to do it again, but I'm still using Postfix out of inertia and
because it meets my changed needs as well as it did my needs when I
first switched to it.)
> - qmail encourages, and I'd argue, _requires_ that the configurer
> have a pretty clear understanding of what it's doing when it
> forwards mail through its different programs.
>
> It is small enough that someone interested can readily understand
> the whole thing; unfortunately, if it mandates that you understand
> the whole thing, that may make it more daunting than Sendmail.
This doesn't reflect my experience when I was trying to get the systems
up and running. qmail was frustrating in some ways, but sendmail was far
worse for my particular situation at the time.
> I'd give my vote to Postfix; I've found it extremely satisfactory:
...
> -> It is _simpler_ to set up a simple Postfix configuration in
> /etc/postfix/postfix.conf than is the case for qmail, and it
> doesn't have the frightening macro rewriting language of Sendmail.
Minor point of clarification: The default main Postfix configuration
file is /etc/postfix/main.cf. There are several others in the same
directory, but on my system anyhow, I don't see anything called
postfix.conf.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: Re: Moving files w/ same extension
Date: Thu, 14 Dec 2000 02:16:19 GMT
>>>>> "Frank" == Frank da Cruz <[EMAIL PROTECTED]> writes:
Frank> In article <[EMAIL PROTECTED]>, Joshua Beard
Frank> <[EMAIL PROTECTED]> wrote: I was wondering if there is a
Frank> simple way to move multiple files with the same extension to a
Frank> new extension, preserving the file's prefix. For example, if I
Frank> have file1.abc, file2.abc, file3.abc and want to move them to
Frank> file1.123, file2.123, file3.123, can i do them all at once? In
Frank> DOS I would type "ren *.abc *.123" but I can't find an
Frank> equivilent for that in Linux. Please help! Thank you.
Frank> ftp://kermit.columbia.edu/kermit/scripts/ckermit/changetype
Running a file transfer utility just to rename a few files seems to be
a mite of overkill.
Not that the alternatives don't have some aspects of complexity...
:-(
Supposing all the files are of uniform length, e.g.
file1.abc
file2.abc
file3.abc
...
file9.abc
I would do [I'm using zsh here; csh works similarly]:
% foreach i (file?.abc)
> short=`echo $i | cut -b 1-5`
> mv $i "$short.123"
> end
Alternatively, if the list would include "file9.abc" and "file10.abc",
I'd use:
% foreach i (file*.abc)
> short=`echo $i | cut -f 1 -d .`
> mv $i "$short.123"
> end
In Korn shell or Bash, you might instead do:
$ for i in `ls *.abc`; do
short=`echo $i | cut -f 1 -d .`
mv $i "$short.123"
done
These solutions are somewhat preferable to using Kermit insofar as
anyone with a functioning Linux system is likely to have at _least_
Bash installed, and doubtless has "cut" and "mv" around as well.
--
(concatenate 'string "cbbrowne" "@hex.net")
<http://www.ntlug.org/~cbbrowne/>
"One World. One Web. One Program." -- MICROS~1 hype
"Ein Volk, ein Reich, ein Fuehrer" -- Nazi hype
(One people, one country, one leader)
------------------------------
From: John Wingate <[EMAIL PROTECTED]>
Subject: Re: folder size
Date: Thu, 14 Dec 2000 02:24:16 GMT
John Thompson <[EMAIL PROTECTED]> wrote:
> marc wrote:
>
>> Grant Edwards wrote:
>>
>> >> Does anyone know a way to get the size of a folder and all its
>> >> subfolders even if it's very small let's say less than 100k.
>> >
>> >
>> > For what definition of "size of a folder"?
>> >
>> >
>> >> usualy I use du but it doesn't work well if the folder is too small.
>> >
>> >
>> > It works quite well for some definitions. ;)
>
>> How many definitions do you know? I only know one and it is the total of
>> bytes of every file in that folder and all its subfolders. And for my
>> definition du doesn't work well. It may work for big folders but not for
>> small folders because of block_size. for exemple if I want to know the
>> size of a folder that contains 40kB it shows 120K.
> Odd. It doesn't do that here. 1k seems to be the resolution:
> [example snipped]
Remember that du is concerned with disk usage. The minimum disk space
used by a nonempty file is the fragment size of the filesystem, which
may be 512 bytes, 1024 bytes, 4096 bytes, or some other value. John's
filesystem seems to have 1K fragments.
Adding up the sizes reported by ls -l for files will underreport the
space on the disk used by those files. If you are interested in
disk usage, use du. (It also knows not to count multiple links to the
same file more than once.)
--
John Wingate Language serves three functions. One is to
[EMAIL PROTECTED] communicate ideas, one is to conceal ideas, and
the third is to conceal the absence of ideas.
--Otto Jespersen
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: ramdisk size
Date: 14 Dec 2000 02:40:12 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 13 Dec 2000 15:20:50 -0500, Edmund C. Greene staggered into
the Black Sun and said:
>I would like to take this further.
>I am trying to set up Linux to run on Network Computers (basically
>diskless workstations). I would like to make a RAM disk of about 32Meg
>so that I could copy often used applications (Netscape) to it so I can
>run it off of it. However, when I try any of the methods mentioned it
>won't work. It seems that the limit of a RAM disk is about 4Meg. Does
>anyone know how to make a 32Meg (contiguous) RAM disk?
>
>Also, I am using kernel 2.2.14 and have no choice about the kernel at
>the moment.
I assume the ramdisk support is compiled directly into the kernel, so
you'd have to use the ramdisk_size kernel parameter to start up with a
ramdisk of 32M. You can pass that via LILO with an append= statement,
or use rdev to change the value directly in the kernel. One caveat: It
seems as if there's no support for having 2 ramdisks of unequal sizes!
This may pose a problem, if the initial ramdisk and the auxilliary
RAMdisk you're loading are both sized as 32M and the machine only has
32M, you could run out of memory and lose severely. Argh, can't easily
test this out atm; the only time I use ramdisks is for rescue or install
purposes....
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED]
Subject: Gnome / KDE Icon Properties
Date: Thu, 14 Dec 2000 02:27:32 GMT
Where are the icon properties for a file or link
stored in gnome? Is there an easily editable conf
file? Is there an analog for KDE?
I'd like to be able to set this property via a
script - and preferaly force a rescan of the
desktop.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Reply-to: [EMAIL PROTECTED]
Subject: Re: Q: .Xauthority -- copying from another system
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.x
Date: Thu, 14 Dec 2000 02:55:29 GMT
>>>>> "Jonathan" == Jonathan G Campbell <[EMAIL PROTECTED]> writes:
Jonathan> I've just installed Mandrake 7.2 on a spare computer. I
Jonathan> installed X and at first it worked okay.
Jonathan> As is my custom, I backed up my entire home directory
Jonathan> (N.B. not '/home'!) from my main computer (running RH 6.2)
Jonathan> and transferred it to the new (MDK 7.2) system.
Jonathan> X now would not work. I traced it to my overwriting
Jonathan> '~/.Xauthority'; I assume that the first 'startx'
Jonathan> establishes this file.
Jonathan> I've now redone everything, ensuring that no '~/.X*' file is
Jonathan> transferred with the transfer of the home directory --
Jonathan> success.
Jonathan> This has never caused a problem before -- I _think_ I
Jonathan> successfully carried out the same steps with RH 6.2 ->
Jonathan> Mandrake 7.1.
Jonathan> Can anyone help with a general rule?
The rule is that when you start X, it _should_ set up ~/.Xauthority;
this might get generated either by 'startx' or by 'xdm', depending on
how your system starts X.
It should be quite a safe thing to nuke the .Xauthority file on the
new machine; it may be that the permissions are inappropriate and that
'startx' is getting confused.
--
(concatenate 'string "cbbrowne" "@hex.net")
<http://www.ntlug.org/~cbbrowne/>
"Moebius strippers only show you their back side." -- Unknown
------------------------------
From: Lauri Watts <[EMAIL PROTECTED]>
Crossposted-To: comp.windows.x,comp.os.linux.x
Subject: Re: KDE: starting job on specific desktop
Date: Thu, 14 Dec 2000 03:22:18 +0100
(Wm. Randolph Franklin) wrote:
>
> In KDE, is there a way to start a new job's window on a specific
> desktop? I like to say something like
>
> xterm -desktop 2 &
>
For KDE 2.x (not sure if it was in KDE 1.x, try
kstart xeyes --desktop 2
--
Lauri Watts
------------------------------
** 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.misc.
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-Misc Digest
******************************