Linux-Misc Digest #736, Volume #27 Sun, 29 Apr 01 02:13:02 EDT
Contents:
Re: Getting network speed (SammyTheSnake)
rpm use question (Bob Hartung)
Re: SCSI polling order? (Robert Heller)
Samba over the internet? (Aaron Brice)
Re: Free ISP For Linux? (Vilmos Soti)
Re: rpm use question (Dave Uhring)
What ISP can I use??
Re: Kernel corruption? (Dave Uhring)
Re: Getting network speed (Dave Uhring)
help with configuring squid server (Hung Ngoc Lai)
Re: suck / suckxover / regex (Vilmos Soti)
Re: Getting network speed ("japhilp")
Re: Dual-boot blues ("japhilp")
is this setting possible ? ("tvn")
How to start httpd (Mike Song)
Video Cards on the Frontier (Michael Perry)
Re: Good linux mail client (Michael Perry)
Re: How to start httpd (David)
Low-cost wireless networking in Linux ("Dr. Aldo Medina")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: Getting network speed
Date: Sun, 29 Apr 2001 01:59:03 +0100
In article <9cej40$d0gre$[EMAIL PROTECTED]>, bert buchholz wrote:
>Greetings!
>
>Is there any possiblity to find out the current amount of data, that's
>coming / going through a device like eth0 or ppp0, especially ppp0, so that
>you can see, if you say got a maximum throughput of 786 kbits/sec, how much
>of this bandwidth goes unused, or when your bandwidth is full, and so on?
>
>I don't mean a overall download amount that's been shown in your logs when
>you kill pppd, I mean the current amount of Bytes flowing through some
>device.
>
>Any answer appreciated, thank you in advance,
>
>Bert
I use
xnetload ppp0 &
also look at pppstats and bing
HTH
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: Bob Hartung <[EMAIL PROTECTED]>
Subject: rpm use question
Date: Sat, 28 Apr 2001 19:43:47 -0500
Okay how is this possible?
I was trying to upgrade a library libxml.so.1 to libxml.so.2
I downloaded libxml-2.0.0-1.i386.rpm and did
rpm -i --test libxml-2.0.0-1.i386.rpm
and it returned
rpm libxml-1.8.1 is newer than libxml-2.0.0-1 and is
already installed.
I have just upgraded by RH 7.0 to RH 7.1. K6/2 500 MHz with
128 Mb ram.
This is a continuation of my question about library
incompatabilities
TIA
Bob Hartung
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: SCSI polling order?
Date: 29 Apr 2001 01:51:53 GMT
<[EMAIL PROTECTED]>,
In a message on Sat, 28 Apr 2001 20:02:01 GMT, wrote :
> Robert Heller wrote:
> <snip>
>
> Thanks. Let me ponder your info...
> Yes, I have a PCI buslogic card that polls up.
> No cards I know of fit in the MCA slots. Too bad...
>
> As far as I know, NCR3350 controller and 53c94 chip only know ID 0-6
OK, it is a typical 8-bit ('narrow') SCSI controller with the
controller as Id 7 (the 8-15 ids are possible only on 'wide' (16-bit)
controllers, such as the 2940*W*'s and only for 'wide' disks).
> and poll from 6 to 0. Original HD was on ID6. It's like the Mac---it
> doesn't seem to care what IDs the HDs are.
Does this beast have a 'setup' hook? If so, get into this and check the
boot target. Note: it is possible with a *well behaved* 2940 to get
exactly your behavior -- install a disk at 6, set the boot target to 6,
install another disk at say 1 -- the 2940 will map the drive at 6 to
0x80 (C:) and the one at id 1 to 0x81 (D:). Backwards scan? No, just
boot target first, then next/other (next == wraparound maybe?).
Note: none of the SCSI controllers I've dealt with (except a truly old
1540B jumper city ISA board) care what ids you set the disks to, so
long as none are the controller's id (7 usually) and so long as each
device on the bus has its own id and the bus is properly terminated (at
both ends). This includes built in SCSI controllers on Macs (so long
as the 'Startup disk' id (boot target) set on the Mac's nvram is a disk
with a proper System folder).
What happens if the drives are 0 and 1 (neither at 6)? I can think of
three possibilities:
1) The controller is truly dumb and fails to find a boot target.
If this is the case, I'd toss the board in the trash and get a sane
controller.
2) The controller starts with id 6, finds is vacant, skips 7, then
wraps around to 0, sets that disk to 0x80, (C:, /dev/sda) and sets it as
the boot disk, then continues to 1, sets it to 0x81, (D:, /dev/sda), sees
nothing at 2, 3, 4, and 5. This is what *I* would expect from a sane
controller.
3) The controller starts with id 6, finds is vacant, then tries
5, 4, 5, 2, 1 -- sees a disk and sets it to 0x80 (C:), 0 -- sees a disk
and sets it to 0x81 (D:), then boots from drive 1. This case I would
*NOT* expect and if I encountered such a controller, I'd toss it too.
My guess is that you are swapping 6 and some other ID and this is of
course swapping BIOS drive mappings, with the mappings always being
'backwards' from what you expect.
> I'll stick in the BIOS snooper disk and see if I can find anything...
> Regards, John Conley
If the board does not have a Ctrl-<mumble> setup hook, check to see if
it has jumpers -- if so, get some docs for those jumpers. It would not
sunrise me if there were jumper settings for things like boot target
and/or BIOS scan order. If the board has no Ctrl-<mumble> setup hook
*AND* no jumpers, it *might* have a setup utility floppy -- you'll need
to boot mess-dos (beg/borrow/steal a Win98 install/startup CD).
>
>
>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Aaron Brice <[EMAIL PROTECTED]>
Subject: Samba over the internet?
Date: Sun, 29 Apr 2001 03:16:17 GMT
I'm trying to get a friend's Win98 computer to be able to connect to my
samba server over the internet. He added the servers NetBIOS name and
IP address to his lmhosts file, and I added the IP to the hosts allow
variable in smb.conf but the Win98 computer can't find the samba
server. Looking at the samba log files (with log level set to 5) I
don't see any clients attempting to connect. Anyone have any ideas?
------------------------------
Subject: Re: Free ISP For Linux?
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Sun, 29 Apr 2001 03:20:53 GMT
[EMAIL PROTECTED] writes:
> I recently loaded Red Hat 7 on one of my computers, and realized that I
> have no way to connect to the Internet! My other computer uses a connection
> which needs Windows, and the software isn't available for Linux. Are there
> any
> free ISP's out there that will accept connections from Linux users?
A quick question. Where are you? This question is highly location specific.
Vilmos
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: rpm use question
Date: Sat, 28 Apr 2001 22:23:42 -0500
Bob Hartung wrote:
> Okay how is this possible?
>
> I was trying to upgrade a library libxml.so.1 to libxml.so.2
>
> I downloaded libxml-2.0.0-1.i386.rpm and did
>
> rpm -i --test libxml-2.0.0-1.i386.rpm
>
> and it returned
>
> rpm libxml-1.8.1 is newer than libxml-2.0.0-1 and is
> already installed.
>
> I have just upgraded by RH 7.0 to RH 7.1. K6/2 500 MHz with
> 128 Mb ram.
>
> This is a continuation of my question about library
> incompatabilities
>
> TIA
>
> Bob Hartung
>
The only way to ensure compatibility with these libraries is to get the
packages from the original distributor, in this case RedHat, and from
the same release number, 7.1.
You can always use the --prefix option to put the binaries in /tmp and
then add them by hand to where they are supposed to go. Then you get
the fun of using --nodeps for the package which depends on the
libraries which you just installed by hand :))
------------------------------
From: <[EMAIL PROTECTED]>
Subject: What ISP can I use??
Date: Sun, 29 Apr 2001 03:30:05 -0000
What dialup ISP access is available, and are there any free ISP that will
work?? Thanks.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Kernel corruption?
Date: Sat, 28 Apr 2001 22:42:38 -0500
Lance wrote:
> I have a very strange problem with Linux and I'm hoping someone here
> can
> help me. Yesterday XFree86 crashed, and I was forced to reset the
> computer. Now, when I boot Linux I'm getting all kinds of errors
> relating to the /proc
> filesystem and USB. I'm getting errors like "usb.c: too many
> configurations" and when I move my USB mouse I get a kernel panic.
>
> I figured the kernel must have been corrupted when X crashed, so I
> recompiled/reinstalled it. I'm still getting these errors, and it has
> basically crippled my Linux system. Does anyone have any ideas?
>
> Thanks
>
>
>
The kernel was probably not corrupted by anything which X could do. It
runs in protected memory. You could more than likely killed X with
ctl-alt-backspace and avoided your problems. If that failed to kill
off the offending process, then the Magic SysRq Key would have handled
the problem for you, if it was compiled into the kernel. Read
/usr/src/linux/Documentation/sysrq.txt.
>From your description, part of /etc got destroyed when you hit the
reset button, probably /etc/modules.conf. You get to either rebuild
/etc or re-install. Here is mine:
alias eth0 eepro100
alias parport_lowlevel parport_pc
alias sound-slot-0 via82cxxx_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
>/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
>/dev/null 2>&1 || :
alias usb-controller usb-uhci
Good luck with it.
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Getting network speed
Date: Sat, 28 Apr 2001 22:50:38 -0500
DMcBee wrote:
> I'm surprised you can't get the info you need from "ifconfig" ... Is
> there any options in the man page on ifconfig or netstat that will get
> you the info you need?
> Drew M
>
> "bert buchholz" <[EMAIL PROTECTED]> wrote in message
> news:9cej40$d0gre$[EMAIL PROTECTED]...
>> Greetings!
>>
>> Is there any possiblity to find out the current amount of data,
>> that's coming / going through a device like eth0 or ppp0, especially
>> ppp0, so
> that
>> you can see, if you say got a maximum throughput of 786 kbits/sec,
>> how
> much
>> of this bandwidth goes unused, or when your bandwidth is full, and so
>> on?
>>
>> I don't mean a overall download amount that's been shown in your logs
>> when you kill pppd, I mean the current amount of Bytes flowing
>> through some device.
>>
>> Any answer appreciated, thank you in advance,
>>
>> Bert
>
>
>
FreeBSD and OpenBSD ifconfig -a will tell you how the interface is
configured. The ifconfig in Linux and Solaris will not. But he is
looking for the net transfer speed, not what his interface speed is.
Bert, you might try dslreports.com. They used to have a speed test for
your DSL or cable modem connection.
------------------------------
From: Hung Ngoc Lai <[EMAIL PROTECTED]>
Subject: help with configuring squid server
Date: 28 Apr 2001 23:55:47 GMT
Hi Everyone,
Please help me with this situation:
I have a small home network (network 172.16.1.0/24). This network
has 5 clients with IP addresses: 172.16.1.1-5. The network has
a Linux Gateway with internal IP address 172.16.1.254 and external
IP address 207.172.1.150. The linux gateway is running NAT
(aka masquerading) for internal network to connect to the Internet.
The linux gateway is running Redhat Linux with kernel 2.4.3 and
Netfilter (aka iptables). Everything is working.
Now I like to put a squid (proxy server) onto the network. The IP
address of the squid server is 172.16.1.253. The squid can access
the Internet. How can I configure squid server in such a way that
clients on the internal network, when they access the Internet, has
to go through the squid BUT WITHOUT HAVING TO CONFIGURING
THE WEB BROWSER (Netscape or Internet Explorer). I heard that
this method is called TRANSPARENT PROXYING. What do I need
to modify the rc.firewall script on the Linux Gateway for this to work?
I am running both kernel 2.4.3 on the squid server and the linux
gateway.
Please help.
David
[EMAIL PROTECTED]
------------------------------
Crossposted-To: comp.os.linux.setup
Subject: Re: suck / suckxover / regex
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Sun, 29 Apr 2001 04:05:57 GMT
David Nowak <[EMAIL PROTECTED]> writes:
> I am downloading news with suck. I use the suckxover file to filter
> messages according to their subject field. I know how to keep (or
> delete) messages such that their subject field satisfies a regular
> expression.
>
> How can I keep messages with a title containing the string 'Linux' BUT
> NOT the string 'Debian'? I guess it is not possible with a single
> regular expression as there is no negation in regular expression. Is
> there a way to do this with suck? (there should be).
You can create a perl function in suck and pass some fields (depends
on your nntp server) from the header. Then you filter whatever you
want. Again, the keyword is that this is not a single regex but a
perl function. Yes, you are right that you cannot do this in one
single regex. You can negate, but only characters (or a bunch of chars)
but not strings.
Try something like
($from, $subject, $etc...) = @_;
return 0 if $subject =~ /debian/i;
return 1 if $subject =~ /linux/i;
Vilmos
------------------------------
From: "japhilp" <[EMAIL PROTECTED]>
Subject: Re: Getting network speed
Date: Sun, 29 Apr 2001 04:49:47 GMT
Not right on target, but
if x is running :
xosview +net
I think the cli version is
osview +net
hth
"bert buchholz" <[EMAIL PROTECTED]> wrote in message
news:9cej40$d0gre$[EMAIL PROTECTED]...
> Greetings!
>
> Is there any possiblity to find out the current amount of data, that's
> coming / going through a device like eth0 or ppp0, especially ppp0, so
that
> you can see, if you say got a maximum throughput of 786 kbits/sec, how
much
> of this bandwidth goes unused, or when your bandwidth is full, and so on?
>
> I don't mean a overall download amount that's been shown in your logs when
> you kill pppd, I mean the current amount of Bytes flowing through some
> device.
>
> Any answer appreciated, thank you in advance,
>
> Bert
------------------------------
From: "japhilp" <[EMAIL PROTECTED]>
Subject: Re: Dual-boot blues
Date: Sun, 29 Apr 2001 04:57:18 GMT
Do you have any pnp cards and have set the bios to "Plug and Play OS"or
something?
If linux does resource assignment in one way, reboot, and if windows decides
to use another, this can happen. Especially when a piece of hardware does
not successfully reset upon a warm boot.
"Aaron Ginn" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> I've set up a dual-boot box for my dad that works nicely with one
> strange exception: whenever he reboots from Linux into Windows 98SE
> without completely powering down the computer, Windows boots and then
> completely hangs. If he shuts down the box from Linux and then boots
> into Windows, everything works nicely. I have no idea what could be
> causing this, but I know if there's a solution, someone here will know
> what it is.
>
> Any help would be appreciated.
>
> Thanks,
> Aaron
>
> --
> Aaron J. Ginn Phone: 480-814-4463
> Motorola SemiCustom Solutions Pager: 877-586-2318
> 1300 N. Alma School Rd. Fax : 480-814-4058
> Chandler, AZ 85224 M/D CH260 mailto:[EMAIL PROTECTED]
------------------------------
From: "tvn" <[EMAIL PROTECTED]>
Subject: is this setting possible ?
Date: Sun, 29 Apr 2001 00:57:53 -0400
Currently, I have filled my computer with 4 devices, 2 HDs and 2
Optical drives (Cdrw & DVD). Both my channels on the IDE are full. So can
I buy another ATA 100 card to add more devices to it ? Another hard drive
and possibly a zip drive.
Will this setting have trouble with linux ? And will most card be supported
under linux ? thanks - I use red hat
Thanks for all inputs.
------------------------------
From: Mike Song <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat
Subject: How to start httpd
Date: Sun, 29 Apr 2001 05:02:57 GMT
Hello;
After installing RedHat Linux, httpd is not automatically.
I can manually start httpd by:
/sbin/service httpd start
How can make httpd automatically?
I see no entry for httpd in /etc/xinet.d directory.
Thanks in advance.
Manbo
------------------------------
From: [EMAIL PROTECTED] (Michael Perry)
Subject: Video Cards on the Frontier
Date: Sun, 29 Apr 2001 05:05:26 -0000
Well, I've been playing around a bit with a new system I am building which
is pretty nice for me. I have a AMD Athlon 1g, 384mb of PC133 memory, a
2940u2w, and a single 17g ibm scsi hard disk drive. I may actually buy
several cheaper and bigger ide drives as time goes by. This is a play
system for me overall.
Right now, I have a GeForce 2mx 32mb card in it. I have had a few stability
problems with StarOffice 5.2 and the X server dropping on me so have
been trying to find the cause for that. The distro I am using is debian
unstable using only the 2d drivers which ship with X4.0.2. The nvidia
drivers caused some problems so I don't use them.
In the spirit of true play and recreation, I decided to check out a few
other video cards. I purchased an ATI Radeon 32mb card and a Matrox G400.
Both are well supported by X4.0.2 according to xfree86.org. I would not
mind trying a third card either if anyone has a favorite.
I wanted to build a replacement desktop which could take over for me as I
recycle this system to the upgrade stack. Also, I found a pretty good place
that sells barebones systems with no onboard video, sound, or networking
crud. That's refreshing :)
So, any takers on video cards which are interesting, fun, provide some nice
support for some of the games out there now? The new system is anything but
slow and its soon going to the 2.4.4 kernel. Compiling a kernel is rather
nice on it as well.
--
Michael Perry
[EMAIL PROTECTED]
===================
------------------------------
From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Good linux mail client
Date: Sun, 29 Apr 2001 05:12:37 -0000
On Sun, 29 Apr 2001 00:35:06 +0000 (UTC),
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Jim Cochrane <[EMAIL PROTECTED]> wrote:
>>
>> I've been having some trouble with Netscape's email client lately - it may
>> be time to find something that works better. Can anyone recommend a good
>> GUI-based email client that works well on a home system with the email
>> server on the other side of a ppp-connected line?
>
> If you're a gnome guy, try balsa. evolution is still in beta and probably is the
>wasy to go
> in the future but maybe not yet.
>
> I've also been happy with mahogany. tkrat is a very mature program and is supposed
>to be the
> standard by which all are judged.
>
> I believe all of these are basically designed to work with a pop mail server over a
>ppp
> or slip connection.
>
> Tom
Hmmm. I used TKrat and I enjoyed it. But its the standard from which all
are judged? Thats a lofty claim. I could say that pine is a standard also.
Its been around awhile I think. However, I also think that there are others
like sylpheed and pronto which are pretty nice. But for me the thing that
holds the most interest is finding a good console-based email client which I
can dress up in a pretty Eterm frame. For me, mutt is the standard. I have
been using mutt and slrn for quite some time now. Both feel complementary
and I can use them anywhere. My ISP lets my mail accumulate on a shell
account and I fetch it from there. Nice ISP :). This kindly ISP also runs
BSD and on that shell resides mutt and slrn. I also ssh to my home network
while on the road. I travel about 50% of the time these days. At home, I
run debian unstable all over except for a firewall box. I get to use the
same mail program no matter where and what I am doing. Now that's standard
setting!
I think TKrat though is pretty cool all in all. YOu could not go wrong with
using it or perhaps sylpheed or pine or pronto. You could just be "right"
and use mutt :)
Just joshing there... :)
--
Michael Perry
[EMAIL PROTECTED]
===================
------------------------------
From: David <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat
Subject: Re: How to start httpd
Date: Sun, 29 Apr 2001 05:12:24 GMT
Mike Song wrote:
>
> Hello;
>
> After installing RedHat Linux, httpd is not automatically.
> I can manually start httpd by:
>
> /sbin/service httpd start
>
> How can make httpd automatically?
> I see no entry for httpd in /etc/xinet.d directory.
>
> Thanks in advance.
> Manbo
You can start it with:
/etc/rc.d/init.d/httpd start
Or to make it start at boot time use one of the following tools at the
command line.
setup # and then choose system services
ntsysv
tksysv
--
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.179% of seti users. +/- 0.01%
------------------------------
From: "Dr. Aldo Medina" <[EMAIL PROTECTED]>
Subject: Low-cost wireless networking in Linux
Date: Sat, 28 Apr 2001 23:57:57 -0600
I'm trying to install a mini-LAN in my home with three computers. I
would prefer a wireless LAN, but the solutions I've found either don't
work with Linux or are very expensive for me (many cost more than my
computers). Are there any Wireless card for Linux that I could use?.
TIA
--
Linux User #98419 -o) | Second Law of Robotics: A robot
http://counter.li.org /\ | must obey the orders given by human
ICQ 94335020 _\_v | beings except where such orders
Si quieres ayudarme, ponme de | would conflict with the First Law
referencia en www.puntosclub.com |
------------------------------
** 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
******************************