Linux-Networking Digest #231, Volume #10 Wed, 17 Feb 99 10:14:25 EST
Contents:
Re: named help (Nightmare)
Re: HELP: Sharing Access Database on Linux File Server is Slow (Martin)
Re: @Home with TCI cable modem? ("gc")
something is missing! (george wilson)
samba 2.0.2 (Joe Ringer)
linux crashes with netatalk and RedHat 5.2 (Claudio Sanchez)
formation linux!!! ([EMAIL PROTECTED])
Connecting to service over PPP ([EMAIL PROTECTED])
Re: 3com officeconnect sugestions (Dave Bevan)
Re: mgetty + ppp + pap = what user? (M. Buchenrieder)
Re: How do i get linux onto a 486 box eh?!!?!?!?! (M. Buchenrieder)
Re: LAN (telnet) connection takes LONG time to login! (M. Buchenrieder)
Re: Scripting ftp ("Fran�ois Deppierraz")
Somebody stop me... (Peter Kortvelyessy)
Re: Monitoring network device (Erwin Burgstaller)
Re: Workaround for netgroup under NIS+ -Y (Matthew C. Aycock)
Re: Ping problem ("Bob Glover")
----------------------------------------------------------------------------
From: Nightmare <[EMAIL PROTECTED]>
Subject: Re: named help
Date: Wed, 17 Feb 1999 12:33:16 GMT
Thanks for all of the replies (exactly one), but I found the problem.
In article <7a5ibt$ip7$[EMAIL PROTECTED]>,
Nightmare <[EMAIL PROTECTED]> wrote:
> I'm attempting to get named working as a cacheing name server. I followed the
> instructions in the DNS-HOWTO, but it doesn't seem to be working.
>
> First off, I'm using the Slackware 3.5 release with the kernel updated to
> 2.0.35. I am using this system as an Internet gateway using diald.
>
> Here are the config files I'm using for named:
>
> /etc/named.conf:
>
> ___________________________________________________________________
> // Config file for caching only name server
>
> options {
> directory "/var/named";
>
> // Uncommenting this might help if you have to go through a
> // firewall and things are not working out:
>
> // query-source address * port 53;
> }
This last line should have a ; at the end.
>
> zone "." {
> type hint;
> file "root.hints";
> };
>
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "pz/127.0.0";
> };
> ___________________________________________________________________
[...]
> Okay, now here is the relevant portion of /var/log/messages that I get when
> running "ndc start":
>
> ___________________________________________________________________ Feb 13
> 21:27:47 st-gate named[607]: starting. named 8.1.2 Sat May 23 13:48:59
CDT
> 1998 ^Iroot@darkstar:/tmp/BIND-8.1.2-REL/src/bin/named Feb 13 21:27:47
> st-gate named[607]: master zone "0.0.127.in-addr.arpa" (IN) loaded (serial 1)
> Feb 13 21:27:47 st-gate named[607]: listening on [127.0.0.1].53 (lo) Feb 13
> 21:27:47 st-gate named[607]: listening on [192.168.2.1].53 (eth0) Feb 13
> 21:27:47 st-gate named[607]: listening on [209.99.50.67].53 (ppp0) Feb 13
> 21:27:47 st-gate named[607]: Forwarding source address is [0.0.0.0].1057 Feb
> 13 21:27:47 st-gate named[608]: Ready to answer queries. Feb 13 21:27:59
> st-gate named[608]: No root nameservers for class IN Feb 13 21:27:59 st-gate
> named[608]: sysquery: findns error (SERVFAIL) on ns.linux.bogus?
> ___________________________________________________________________
>
> Starting nslookup is okay, but when I try to query a domain name, it doesn't
> work. What am I doing wrong? (BTW - I have a Win95B and a Win98 machine
> hooked up via Ethernet, and I want to configure both to use the Linux box as
> the DNS server.)
>
> Thanks in advance for any assistance anyone can provide.
>
> Bill
Works like a charm now.
Bill
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (Martin )
Subject: Re: HELP: Sharing Access Database on Linux File Server is Slow
Date: Wed, 17 Feb 99 14:03:57 GMT
In article <[EMAIL PROTECTED]>, Tim Lines <[EMAIL PROTECTED]> wrote:
>We had a similar problem when we put an Access database on an NT server. We
>moved the database to a Unix server (Solaris 2.6) and let the clients access
>it via hummingbird nfs. Still unacceptably slow.
>
>Luckily, we have paid for Microsoft Premier Support. We decided to use it.
>Microsoft told us that we're not supposed to do that. Access databases are
>only supposed to be accessed from the local disk. If you need to share a
>database, Microsoft says that you need to setup an SQL server and put the
>data there.
>
>The problem is not Linux.
>
>
>
>
It is certainly true that it is not a good idea to use .mdb Access databases
across a lan, but I am surprised that the original poster is seeing such a
large degradation. We have run Access to databases on file servers at the far
end of a 64k ISDN line and, though the performance is irritatingly slow, it is
usable. On a 100 Base/T network, I would not have expected the degradation to
be very noticable.
I wonder if you have all the necessary indexes in place? You must remember
that Access reading an mdb database across a network is not running in
client/server mode - it is opening a binary file and reading it random access.
If you don't have the appropriate indexes in place, it will have to do table
scans which could involve moving large amounts of data back and forth across
your lan. If the database has not been compacted for a while and has become
fragmented, this could become even worse...
The lack of indexes would impact on local performance as well, of course, but
if you have enough memory in the machine for it to have allocated a reasonably
large disk cache, this may not be very noticable. Networked disk access,
however, can never be safely cached, so you will always see a substantial
performance hit...
Martin
------------------------------
From: "gc" <[EMAIL PROTECTED]>
Subject: Re: @Home with TCI cable modem?
Date: Wed, 17 Feb 1999 13:59:32 GMT
Look at it this way: TCI is about the cable equivalent of Microsoft.
That being said...
Yes, works just fine. But since TCI is a corporation of, by and for idiots,
they can't support it, let alone spell it, so they just say no.
I have TCI @home, and have had from one to three linux boxes on it wirh no
pain or strain. I'd advise non-dhcp, since it is just less crap to deal
with. When they say it isn't supported, it seems they really are talking
about the web content. It seems like these jackasses think internet means
only little Johhny doing his geography homework, and needs a
"portal"...content. Look at all the groussing over TCI/ATT by the idiots at
AOL. They seem to neglect the huge fact that to most users it is access to
the network. Who in their right mind has anything looking at a providers
"web site"?
Gee...got the ole blood pressure up there for a minute...
Back to your note, Matt...
You will have to have a win95 type box running when the tech gets there. He
or she will not be able to relate otherwise. I'd also get hold of and
install/test an ethernet card before they get there. They'll give you a
3c509-TP0, it can go in the round file if need be, but you won't have to
watch in horror as "the Cable Guy" opens your computer. Then they'll install
the modem, and connect up. While all of that is going on, you can get the ip
address from 'em and get yer box setup whilst they gaze at signal strength
meters, trying to appear as if they understand it, so that an hour and a
half later you can try it.
Refuse to load their software. It is some kind of browser mail/news client.
Never looked at it, but others tell me that is establishes a first page
loaded as their content site. I've seen it, and had to use it to sign up for
multiple ip addresses, and remote e-mail, etc. But I don't need them to let
me know what the temperature is, and what movies are playing locally.
Part of the user agreement is to not provide a web based service or resell
access. They just modified the agreement yesterday. Over-lawyered beyond
belief. Now specifies protocols not allowed as services: http/ftp/irc, etc.
It over emphasises that @HOME is for private residential, non-business
service. Right. Does that mean that I can't get my corporate e-mail? Or send
stuff to my company's web site? Cold day in hell. They can put in a firewall
and have all access thru a proxy if that's the case. Oh yeah, they do have
proxy servers. Seems to slow stuff down, as you could expect from TCI/ATT.
Good luck! Thanks for putting up with the rantings of ME.
-George C
[EMAIL PROTECTED]
http://dyb.com
Matt Rizzo wrote in message <7a2e3j$[EMAIL PROTECTED]>...
>Has anyone successfully installed a cable modem through @Home and TCI in
>Linux? I called their 800 number and they said they do not support the
>Linux OS. I was wondering if it would even work. I am running RedHat 5.2.
>Thanks for your time.
>
>-Matt
>
>
------------------------------
Date: Wed, 17 Feb 1999 09:06:42 -0500
From: george wilson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: something is missing!
Naturally a linux newbie has missed something...any help gratefully
accepted.
Before I mess up a network I'm testing linux <>win95/NT
Computers A & B running win95
Computer B running linux
A<>B lan works ok on win95 (both file hsaring & printers both ways)
A > B linux no go
B linux > A no go
Also ppp setup on A & B(both win95 & linux) accessing wan.
Hopefully someone will spot the silly error...2 days of this & I'm near
bonkers;-)
# rc.inet1 This shell script boots up the base INET system.
HOSTNAME=`cat /etc/HOSTNAME`
# Attach the loopback device.
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
IPADDR="192.168.32.2" # REPLACE with YOUR IP address!
NETMASK="255.255.255.0" # REPLACE with YOUR netmask!
NETWORK="192.168.32.0" # REPLACE with YOUR network address!
BROADCAST="192.168.32.255" # REPLACE with YOUR broadcast address, if you
# have one. If not, leave blank and edit below.
GATEWAY="" # REPLACE with YOUR gateway address!
# Uncomment the line below to configure your ethernet card.
/sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
if [ ! $? = 0 ]; then
cat << END
/sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0
if [ ! "$GATEWAY" = "" ]; then
/sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 metric 1
fi
# rc.inet2 This shell script boots up the entire INET system.
# Start the INET SuperServer
if [ -f ${NET}/inetd ]; then
echo -n " inetd"
${NET}/inetd
else
echo "no INETD found. INET cancelled!"
exit 1
fi
# Start the ROUTEd server.
if [ -f ${NET}/routed ]; then
echo -n " routed"
${NET}/routed -g -s
fi
# Start the various INET servers.
for server in ${IN_SERV} ; do
if [ -f ${NET}/${server} ]; then
echo -n " ${server}"
${NET}/${server}
fi
done
# rc.modules 1.2 Sat Feb 21 01:51:30 CST 1998 pjv <[EMAIL PROTECTED]>
/sbin/modprobe ppp
/sbin/modprobe ne io=0x300 irq=5 # NE2000 at 0x300
# /etc/rc.serial
STD_FLAGS="session_lockout"
SETSERIAL=/sbin/setserial
echo -n "Configuring serial ports...."
# Do wild interrupt detection
#
#${SETSERIAL} -W /dev/cua0
${SETSERIAL} /dev/cua0 uart 16450 port 0x3F8 irq 4 ${STD_FLAGS}
${SETSERIAL} /dev/cua1 uart 16450 port 0x2F8 irq 3 ${STD_FLAGS}
${SETSERIAL} -bg /dev/cua? /dev/cua??
#
# rc.samba: Start the samba server
#
if [ -x /usr/sbin/smbd -a -x /usr/sbin/nmbd ]; then
echo "Starting Samba..."
/usr/sbin/smbd -D
/usr/sbin/nmbd -D
fi
#smb.conf
[global]
workgroup = HOMEBASE
server string = Samba Server
hosts allow = 192.168.32.0
load printers = yes
guest account = guest
log file = /usr/local/samba/var/log.%m
max log size = 50
security = user
include = /usr/local/samba/lib/smb.conf.%m
socket options = TCP_NODELAY
remote announce = 192.168.32.255 192.168.32.2
local master = yes
preferred master = yes
#
# hosts This file describes a number of hostname-to-address
# For loopbacking.
127.0.0.1 localhost
192.168.32.2 server1
192.168.32.3 number1
# End of hosts.
#resolv.conf
domain intnet.net
nameserver 198.252.32.20
nameserver 198.252.32.110
time stream tcp nowait root internal
time dgram udp wait root internal
ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -l -i -a
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
comsat dgram udp wait root /usr/sbin/tcpd in.comsat
#
# Shell, login, exec and talk are BSD protocols.
#
shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L
login stream tcp nowait root /usr/sbin/tcpd in.rlogind
exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
# talk dgram udp wait root /usr/sbin/tcpd in.talkd
ntalk dgram udp wait root /usr/sbin/tcpd in.talkd
pop3 stream tcp nowait root /usr/sbin/tcpd ipop3d
imap2 stream tcp nowait root /usr/sbin/tcpd imapd
#finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -w
systat stream tcp nowait nobody /usr/sbin/tcpd /bin/ps -auwwx
netstat stream tcp nowait root /usr/sbin/tcpd /bin/netstat -a
ifconfig result:
auth stream tcp wait root /usr/sbin/in.identd in.identd -w -t120 -l
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:118 errors:0 dropped:0 overruns:0 frame:0
TX packets:118 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
eth0 Link encap:Ethernet HWaddr 00:C0:F0:27:88:0D
inet addr:192.168.32.2 Bcast:192.168.32.255
Mask:255.255.255.0
UP BROADCAST RUNNING 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
Interrupt:5 Base address:0x300
route -n result:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.32.0 0.0.0.0 255.255.255.0 U 0 0 2
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 1
lo
------------------------------
From: [EMAIL PROTECTED] (Joe Ringer)
Subject: samba 2.0.2
Date: 17 Feb 1999 12:54:47 GMT
Reply-To: [EMAIL PROTECTED]
I was trying to upgrade my samba installation from 2.0.0 to 2.0.2 but bomb
with:
Compiling locking/shmem_sysv.c
Compiling passdb/passdb.c
gcc: Internal compiler error: program cc1 got fatal signal 6
make: *** [passdb/passdb.o] Error 1
Any ideas? I've got a Slackware setup (kernel: 2.0.36 and gcc 2.7.2.3).
--
clear skies, |http://www.erols.com/jringer3/astro1.htm
Joe |
|It all boils down to freedom. A shrink-wrap
|agreement is, at best, a mild form of bribery
|and at its worst, nothing short of slavery.
|--Walter Dunz
------------------------------
From: Claudio Sanchez <[EMAIL PROTECTED]>
Subject: linux crashes with netatalk and RedHat 5.2
Date: Tue, 16 Feb 1999 05:35:31 -1000
I'm having problems getting netatalk to work on my RedHat 5.2 box. I can
log in as guest or registered user and mount the server fine (although, I
can only do this by typing in the server's IP address--it does not appear
automatically in the chooser).
Everything works until I transfer a large file or group of files from the
server to the Mac. That's when my Linux box crashes and leaves the Mac in
limbo until it realizes the server is kaput. Usually, it happens when
about 30 MB have transferred. The Linux box totally freezes up, and I must
do a hardware reset to recover.
Can anybody suggest a solution to this problem? Here's the details of my
configuration:
I am using netatalk-1.4b2+asun2.1.2-2.i386.rpm from contrib.redhat.com.
The Linux box is a Cyrix 6x86-233MX running RedHat 5.2. The ethernet card
is a 3Com 3C905BTX. The server is totally stock RedHat 5.2 except for
XFree86 3.3.3 and netatalk. Other than the netatalk problem, the machine
is stable and is crash-resistant when not subjected to file transfers via
netatalk.
The Mac is a PowerComputing PowerBase 200 running MacOS 8.1 with Open
Transport 1.3.1. The Mac's NIC is an AsanteFast 10/100 PCI. TCP is
functioning between the machines; I can FTP files with no problems to and
from either machine, as well as 'drive' the Linux box from the Mac by
telnet.
Thanks in advance.
--Claudio
------------------------------
From: [EMAIL PROTECTED]
Subject: formation linux!!!
Date: Tue, 16 Feb 1999 16:43:09 +0100
Salut,
Je recherche une formation sous linux (reseaux, script, programmation en
C, commande et configuration de base) sur paris si vous connaissez
quelques choses pourriez vous m'ecrire a [EMAIL PROTECTED]
mercis
Harry--
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.protocols.ppp
Subject: Connecting to service over PPP
Date: Tue, 16 Feb 1999 15:46:48 GMT
I'm a little baffled, maybe someone can help. I've started a service on my
linux machine, specifically the ASE sybase which I've setup port 7100 as the
listening port. If I telnet from localhost (127.0.0.1) to port 7100 all is OK.
But if I connect using a PPP dialup link which from the client assigned a
server IP 192.168.1.5 and telnet to port 7100 I get 'Connection refused' as if
the service does not exist. From the client, I can telnet to a number of
services OK (i.e. telnet port-23, ftp port-21, finger port-79).
I'm not exactly sure how the pppd translates the specified server IP
(192.168.1.5 which I specified when starting the client) to localhost
(127.0.0.1). There's no network card on this machine. Also, I did not
put the entry into /etc/services (did'nt think I have to). Is there anything
special I need to setup making this service available over the PPP link?
Mike Knueven
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Dave Bevan <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.setup,comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.development.apps
Subject: Re: 3com officeconnect sugestions
Date: Tue, 16 Feb 1999 16:04:38 +0000
Matt Zagni wrote:
> Hi,
>
> I wish to create a network it must be, easy to maintain,
> rubust, connect both linux (suse glib2.0.7) -
> windows and NT, fast and modestly cheap (4 PCs).
>
> I have seen 3com office connect it looks like it may fit
> my ideas, does anyone else have any other sugestions.
>
> Many thanks
>
> Matt
look at the Bay Networks "NetGear" range - good, cheap and a no-brainer
to use. suggest you also look at implementing 100Base-T from the start -
prices for hubs are so cheap now.
-- Dave.
------------------------------
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: mgetty + ppp + pap = what user?
Date: Tue, 16 Feb 1999 13:22:01 GMT
Kyler Jones <[EMAIL PROTECTED]> writes:
>Just a small problem:
>I've installed mgetty to handle my ppp login using the AutoPPP feature.
>Works great except users don't show up when I type 'w' or 'who'.
[...]
>This is my login.config entry:
>/AutoPPP/ - - /usr/sbin/pppd auth -chap +pap login modem crtscts lock
...which means that no login name will be written to /etc/utmp .
>I'm using a wildcard pap-secrets file so that users are authenticated
>using my /etc/passwd file.
>Everything is working like gold except the wtmp/utmp part. I thought
>the double dash ( - - ) was supposed to handle that for me.
[...]
No. Please read the comments in the login.config file again:
"utmp_entry is what will appear in the "who" listing. Use "-" to
not set an utmp entry (a must for /bin/login), use "@" to set it to the
username entered. Maximum length is 8 characters."
Michael
--
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't mungle your address.
------------------------------
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: How do i get linux onto a 486 box eh?!!?!?!?!
Date: Tue, 16 Feb 1999 13:17:31 GMT
"Dane Maxwell" <[EMAIL PROTECTED]> writes:
>I want to set up a network in my room of 3 computers, i no nothing about
>networking (yet). i have one main host computer, it has windows98 pent ii
>266 so i should have no trouble setting this as the host computer... now,
>the biggie, how do i setup slack3.5 on a 486 when i dont have a cdrom or
>anything on it?
Your problem is not getting Linux onto the 486 (either borrow a CDROM
drive or use a nullmodem cable). But you can't use the Win98 box as
server, since Win9* doesn't do routing at all. Make the Linux 486 box
the router instead.
Michael
--
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't mungle your address.
------------------------------
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: LAN (telnet) connection takes LONG time to login!
Date: Tue, 16 Feb 1999 13:14:36 GMT
"Jani Eskeli" <[EMAIL PROTECTED]> writes:
[...]
>In Linux machine telnet login to localhost is instant. As well win98
>machines Netscape will find my Linux Apache server immediatly.
>Also sending mail to localhost in Linux machine takes exactly same time
>(over minute.)
[...]
You didn't add your LAN's machine names into /etc/hosts.
Michael
--
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't mungle your address.
------------------------------
From: "Fran�ois Deppierraz" <[EMAIL PROTECTED]>
Subject: Re: Scripting ftp
Date: 16 Feb 1999 15:41:01 +0100
[EMAIL PROTECTED] (Greg McPherson) writes:
> A newbie question. More to do with scripting than networks, perhaps.
> I want to write a simple shell script that will log onto a ftp site,
> upload a file, then log off.
> It seems to be not possible in the bash shell, and ftp macros dont seem
> to be the answer either.
>
> The solution has to be very general. It has to work on Sun UNIX boxes too.
>
> Any pointers in the right direction are welcome.
> thanks
> greg
I think you can use the wget program qhich can fetch files with ftp
and httpd. Make a search on http://www.linuxapps.com
--
__________________________________________________
Francois Deppierraz etudiant
[EMAIL PROTECTED] ICQ: 176 77 009
http://blackbird.ch.eu.org/
------------------------------
From: Peter Kortvelyessy <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.advocacy
Subject: Somebody stop me...
Date: Tue, 16 Feb 1999 16:46:55 +0100
Hi, my name's Korte, and I'm a recovering Windows user.
(Everybody say Hi, Korte...)
I 'd just like to say that I haven't really used Windows for anything
except games for about four years. I've been using Linux almost
exclusively for all that time, with or without an Internet connection.
Meny around me have come to rely on me for Linux-related advice, etc...
and now I'm thinking of switching back :-<<<
The reason? Peer pressure... It seems that I can't get out of using
Netscape for my daily sustenance of web+news+e-mail(preferably
encryptable). I just got a cable modem and the connection is pretty
decent, but I can't even ftp properly (I need a proxy to have reverse
DNS).
Whichever version of Netscape I try (4.0<) it ends up freezing on me.
I'm right now using the 4.5 glibc version, and IMHO it couldn't even be
called flaky, rather it's plain broken. This is true for the libc5
versions as well.
Another thing is this plugin-mania. I keep telling people that if they
*have* to use them at least try not to rely on them exclusively... but
it's all in vain. Again, plugins mostly come built for... You've guessed
it!
So, seeing that I still spend most of my time reading and writing news
and e-mail and browsing the net, and code very little on a weekly
basis... It seems that in a very short time I'll be primarily a Windows
user... Unless someone can throw me a rope here. I've tried things like
Arena, but the that does not seem quite finished yet. Somebody, help me!
Korte
------------------------------
From: Erwin Burgstaller <[EMAIL PROTECTED]>
Subject: Re: Monitoring network device
Date: Wed, 17 Feb 1999 14:01:15 +0100
Luca Filipozzi wrote:
>
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> > I'm running a linux box as gateway to the internet. Since we pay our
> > provider in MB, I want to know how much data we're transfering from and
> > to the internet. My world device is an ethernet card being on the same
> > network as the cisco-isdn-router. I have no access to the router, cause
> > it belongs to our provider.
> >
> > Is there any tool which can report me how much data has been transferred
> > over that ethernet device? Sure I can look at /proc/net/dev, but aren't
> > packets of variable size? If not, how large is a packet? And how can I
> > reset the counter without putting the device down?
> >
> > Erwin
> >
> Doesn't ipfwadm accounting work for you?
>
Aehm, yes it does now, thanks. Didn't ever took a look at ipfwadm's man
page before. I've configured the firewall with the SUSE firewall package
(on Redhat :-).
Although the stuff would be more cool if I could monitor for different
domains. E.g. one counter for all hosts in *.at and another for the
rest, cause our provider makes a difference in price. Transfers inside
*.at are cheaper.
Erwin
------------------------------
From: [EMAIL PROTECTED] (Matthew C. Aycock)
Crossposted-To: comp.unix.solaris
Subject: Re: Workaround for netgroup under NIS+ -Y
Date: 17 Feb 1999 14:14:13 GMT
Peter C. Tribble ([EMAIL PROTECTED]) wrote:
: In article <7acm86$sas$[EMAIL PROTECTED]>,
: [EMAIL PROTECTED] (Tom Holub) writes:
: > I'm running an NIS+ server on Solaris 2.6. For a long time it was running
: > in NIS+ only mode, but recently I've had to start hooking up Linux boxes
: > to it, so I've had to turn on YP compatibility mode. This works for
: > most things, but apparently netgroups are not supported under YP
: > compatibility mode (per the Solaris FAQ). We make fairly extensive
: > use of netgroups, so this is a significant problem.
There is also supposed to be a NIS+ client module for Linux. I would
suggest checking into this. Apparently, HP/UX and IRIX are supposed to be
shipping a NIS+ client soon as well.
Matt
==========
Matthew C. Aycock
Operating Systems Analyst/Admin, Senior
Dept Math/CS
Emory University, Atlanta, GA
Internet: [EMAIL PROTECTED]
------------------------------
From: "Bob Glover" <[EMAIL PROTECTED]>
Subject: Re: Ping problem
Date: Wed, 17 Feb 1999 12:51:47 -0000
Some sites (big sites) don't respond to pings because everybody pings them!
Miguel Cruz wrote in message <7adem4$54m$[EMAIL PROTECTED]>...
>Wes Hopkins <[EMAIL PROTECTED]> wrote:
>> I've been going nuts over this problem with "ping". Somebody please
>> enlighten me.
>>
>> Here's the skinny:
>>
>> I can ping any machine on my local network (192.168...) any machine on my
>> ISP's network (@home) the @Home network (24.112...) but why can't I ping
>> other stuff like www.microsoft.com (or microsoft's IP for that matter)
>>
>> I've got my ISP's DNS severs set up in resolv.conf, and I'm able to use
>> the net through netscape, ftp, telnet, etc... but for some reason, I
>> cannot ping.
>
>Are you using IP Masquerading for your gateway? If you haven't configured
>for ICMP masquerading, then pings will not make it through. Though this
>doesn't explain being able to ping 24.0.0.0 hosts, unless you only have one
>NIC in your gateway host and it's on a hub with all the rest as well as the
>cable modem.
>
>miguel
------------------------------
** 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 (and comp.os.linux.networking) via:
Internet: [EMAIL PROTECTED]
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-Networking Digest
******************************