Linux-Networking Digest #641, Volume #11 Wed, 23 Jun 99 20:13:49 EDT
Contents:
Linux and NT integrated user data ("john land")
IP adress for small network that needs internet access ("Nevyn")
Re: Debugging (Frank Sweetser)
Re: Linux+Windoze+Mac How To? (Alex Lam)
Re: Default Routing... ("Curt")
Re: Xwin-32 connections behind a masq machine (Job Eisses)
Re: About secondary name server ("Michael Faurot")
Network dies under Kernal 2.2.5-15 & 22 -- Kernal BUG?? (Jason Boerner)
Re: routing problem (Dick A. Miller)
Re: proxy arp question ("David Means")
Re: xDSL Modem - How do I test the speed? (Nick Zentena)
Re: Can Linux IP stack be "MS Proxy-fied"? (Ken Cormack)
Re: Linux and NT integrated user data (Nicholas E Couchman)
Debugging (Jerry Alexander)
Re: Why not C++ (Frank Sweetser)
Re: apache default document (Frank Sweetser)
----------------------------------------------------------------------------
From: "john land" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Linux and NT integrated user data
Date: Wed, 23 Jun 1999 13:46:04 -0500
Anyone have any links, solutions, or scripts to integrating user
administration between Linux systems and NT domains. Specifically single
entry user adds, changes, passwords etc.
Thanks,
john land
------------------------------
From: "Nevyn" <[EMAIL PROTECTED]>
Subject: IP adress for small network that needs internet access
Date: Wed, 23 Jun 1999 23:29:04 +0100
ok....got one computer....may get another soon.....i'll want to make a
network of the 2 of them....mostly cos i like to fiddle.....if i set up my
SuSE 6 box as if i have the network already as far as possible......what
would be a good IP adress range to give the computer considering i go on the
internet with it....or does ot not matter?
*************************************
** "yurtta sula cihanda sula" **
*************************************
------------------------------
From: Frank Sweetser <[EMAIL PROTECTED]>
Subject: Re: Debugging
Date: 23 Jun 1999 19:12:35 -0400
Jerry Alexander <[EMAIL PROTECTED]> writes:
> I wrote an extension for the LINUX snmp daemon and have begun
> debugging. The only tools that are available on LINUX , for debugging,
> that I am aware of is the good old "printf" and "gdb". Is anyone aware
> of additional tools available for debugging on LINUX (like a user
> friendly application debugger!). Would appreciate any help or guidance.
i highly reccomend DDD (find it by searching freshmeat.net)
> --------------EEA142F1A02504ED60152D7A
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> <HTML>
also, please drop the redundant html posting...
--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5 i586 | at public servers
They can always run stderr through uniq. :-)
-- Larry Wall in <[EMAIL PROTECTED]>
------------------------------
From: Alex Lam <[EMAIL PROTECTED]>
Subject: Re: Linux+Windoze+Mac How To?
Date: Wed, 23 Jun 1999 11:42:43 -0700
Dave Hamilton wrote:
>
> [[ This message was both posted and mailed: see
> the "To," "Cc," and "Newsgroups" headers for details. ]]
>
> There are two ways to do this. One is that you could install DAVE from
> Thursby Systems (www.thursby.com) on the Mac. This allows the Mac to
> act as a "Client for Microsoft Networks" and will see your samba
> broadcasts, etc. DAVE, of course, is not free.
>
> The other option would be to set up netatalk on your Linux machine,
> which essentially lets it act like an AppleShare (both Appletalk and
> IP) server. This works quite well and is free.
>
Thanks for the info. Sounds like not that difficult to imply too. :)
Alex Lam.
> -Dave
>
> In article <[EMAIL PROTECTED]>, Alex Lam
> <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I need to set up a Linux box to share files between other
> > Linux/FreeBSD, Windoze and Mac together. I got the Linux/FreeBSD/Windoze
> > part done through Samba and ipchains. Now how do I add Mac and PowerPC
> > to the chain?
> >
> > Thanks.
> >
> > Alex Lam.
--
*** *** *** *** *** *** ***
Remove all the upper case Xs from my email address if reply by e mail.
**************************************************
*If you receive any spam from my domain name. It's forged.
I DO NOT send spam e mail. But I've found out that my
domain has been forged many times.
**************************************************
------------------------------
Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Default Routing...
Date: Wed, 23 Jun 1999 17:41:23 -0500
it would help if you posted the results of 'netstat -nr'
before you disable the ethernet inteface
R. Alcazar <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello All,
>
> I have configured my machine with PPP and a dummy ethernet connection. I
> have to disable the ethernet connection in order to properly run PPP. I
> understand that this is a routing problem (perhaps my default route is on
my
> ethernet) and I don't know how to fix this.
>
> I probably want to set no default route to my ethernet. I'm running RHL
> 6.0. Can anyone advise me on the proper commands or procedures to do
this?
>
>
> Thanks much,
> R. Alcazar
>
>
------------------------------
From: Job Eisses <[EMAIL PROTECTED]>
Subject: Re: Xwin-32 connections behind a masq machine
Date: Thu, 24 Jun 1999 01:33:38 +0200
Steve Sobka wrote:
>
> I have been able to get Xwin-32 (http://www.startnet.com) to work without
> any problems on my internal IPMasqed LAN. But when I try and connect to
> the server from outside my lan, I get no response?
>...I also have installed SSH, but this problem started before the
> install of SSH...
In X the outside server has to connect to your Xwin-32 xserver,
and that does not work because ip-masquerading only works the other
way around, from inside to outside.
Why not use the X-channel built into SSH ?
Or use the plug-gw in the TIS firewall toolkit, or ip-port-forwarding,
or try the amazing vnc instead of Xwin-32
May the Source be with you -job
------------------------------
From: "Michael Faurot" <[EMAIL PROTECTED]>
Subject: Re: About secondary name server
Date: 23 Jun 1999 15:19:49 GMT
Lim <[EMAIL PROTECTED]> wrote:
: Hello,
: I have two servers running with bind 8.2 (primary & secondary), I use
: nslookup to check each server is worked. But I still have a problem, when I
: add a new record in a zone file at primary server and update the serial
: number, but secondary server do not update the new zone file.
: Any help would be more than appreciated. Thanks
Did you do an "ndc reload" or "ndc restart" on the primary after you made
the change to the zone file?
--
==============================================================================
Michael | mfaurot | It is better to have loved and lost -- much better.
Faurot | atww.org |
------------------------------
From: Jason Boerner <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Network dies under Kernal 2.2.5-15 & 22 -- Kernal BUG??
Date: Wed, 23 Jun 1999 19:38:36 GMT
Maybe this issue is RedHat specific but I'm seeing similare symptoms of
my problems listed fairly frequrently these days. The RedHat customers
that I'm talking too are generally just moving back to 5.2 but I
really don't like that answer. Can someone help me shed some light on
this issue.
My box is a Dell Latitude CPi D300XT.
The PCMCIA net card works fine under RH5.2 and other OS's:
# lsmod
Module Size Used by
nfsd 150936 8 (autoclean)
lockd 30856 1 (autoclean) [nfsd]
sunrpc 52356 1 (autoclean) [nfsd lockd]
serial_cs 3696 0 (unused)
3c574_cs 8648 1
ds 5740 2 [serial_cs 3c574_cs]
i82365 21956 2
pcmcia_core 39720 0 [serial_cs 3c574_cs ds i82365]
opl3 11208 0 (unused)
sound 57208 0 [opl3]
soundlow 300 0 [sound]
soundcore 2372 3 [sound]
# /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:86:1F:4D:DC
inet addr:192.168.100.2 Bcast:192.168.100.255
Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:511 errors:0 dropped:0 overruns:0 frame:0
TX packets:269 errors:47 dropped:0 overruns:0 carrier:4
collisions:6 txqueuelen:100
Interrupt:3 Base address:0x300
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:49 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
192.168.100.0 * 255.255.255.0 U 0 0 0
eth0
127.0.0.0 * 255.0.0.0 U 0 0 0
lo
default 192.168.100.1 0.0.0.0 UG 0 0 0
eth0
Here are my previous two postings seperated with a ******:
******
Subject:
Re: RH6 upgrade and lost network
Date:
Wed, 23 Jun 1999 11:49:05 -0700
From:
Jason Boerner <[EMAIL PROTECTED]>
Reply-To:
[EMAIL PROTECTED]
Organization:
Cox Communications
Newsgroups:
redhat.networking.general
References:
1
I posted a similar problem a few weeks ago where it looks
like some kind of
kernal bug. I dropped it while my time was taken elsewhere
but now I'm
forced to confront this issue.
During an FTP operation for example, I keep getting the
message:
eth0: Transmit timed out, Tx_status 00 status 2000 Tx FIFO
rooom 4092
My arp tables look fine and the network works fine until this
mysterious
time-out issue shows up. I am not running any routing
protocols.
This is running 2.2.5-22. Things were FAR worse under
2.2.5-15.
If someone can push me along to finding some better debug
tools I would
appreciate it.
Thanks
Klaus Sonnenleiter wrote:
> After I upgraded to RedHat 6.0, my Linux machine stopped
communicating
> with the rest of my network. I'm no longer able to ping the
gateway or
> any other machines on the same network and I can't ping the
Linux
> machine from any of the other machines. (Ehem yes, the
cabling is okay -
> it works when I plug it into a different machine <g>).
However, the
> Linux machine can ping itself from the console, using both
the loopback
> and the ethernet interface (127.0.0.1 and 192.168.154.12).
>
> netstat -r shows a normal routing table, but netstat -i
looks kind of
> unusual:
>
> IFace mtu Met rx-ok rx-err rx-drp rx-ovr tx-ok tx-err
tx-drp tx-ovr
> Flg
> eth0 1500 0 0 0 0 0 1107 0
0 1101
> BRU
> lo 3924 0 480 0 0 0 480 0
0 0
> LRU
>
> arp -a shows an empty arp table.
>
> Has anybody seen this before?
>
> Klaus Sonnenleiter
> The Media Machine, LLC
*******
Subject:
Kernal Hacks Only: Network stops responding when stressed
under RedHat6
Date:
Fri, 04 Jun 1999 21:27:34 -0700
From:
Jason Boerner <[EMAIL PROTECTED]>
Reply-To:
[EMAIL PROTECTED]
Organization:
Cox Communications
CC:
[EMAIL PROTECTED]
Newsgroups:
redhat.networking.general
Network stops responding when stressed under RedHat 6
I am using redhat 6 kernel 2.2.5-15 and -22
If I start to do something network intensive (A CVS "cvs -z3
<EVERYTHING>" operation toward mozilla to be specific), the
network
stops responding.
If I do an /etc/rc.../network stop; sleep 5;
/etc/rc.../network start
I can slip some more traffic through for a brief period but
then I need
to restart the network again.
At kernel level -22 I get slightly different symptoms.
I no longer need to restart the network. However my response
times
become VERY large (35000 ms range; up from 40 ms range). I
will get
these response times for a few minutes and then some resource
would
appear to be briefly available again (my response times drop
back to the
40 ms range).
This cycle persists until my large operation operation ends.
I can recreate this every time.
Any idea?
I have a gut feeling that this is not a network issue but I'm
out of
ideas to try.
Can someone give me hints as to getting snapshots of what
resources are
in use at any given time so that I can start to look for
starvation
issues?
Thanks
------------------------------
From: [EMAIL PROTECTED] (Dick A. Miller)
Subject: Re: routing problem
Date: Wed, 23 Jun 1999 19:23:07 GMT
Reply-To: [EMAIL PROTECTED]
> make sure you have ipmasq compiled into your kernel and then if it is
>a 2.0.* kernel, use ipfwadm. If it is a 2.2.* kernel, use ipchains
>(there are good howto's out there for both, you should read them if you
>haven't yet).
With regards to the opinion that the IPCHAINS-HOWTO is good, I beg to
differ. I found it sorely lacking in the practical aspects of setting
tight firewall rules to protect your local machines from break-ins via
an internet connection. After several readings of the how-to, and
numerous attempts at deciphering what the author was trying to do, I
gave up.
------------------------------
From: "David Means" <[EMAIL PROTECTED]>
Subject: Re: proxy arp question
Date: 23 Jun 1999 23:43:43 GMT
This is normal. When you give the arp command, that adds
an entry to the ARP cache on that machine only. No other
machine on the net will get a notification.
BTW, this is not the usual way I have heard of network address
translation being done. IP Masquerading in a boundary machine
will take care of all these low-level details without your having
to do it all by hand.
Guillaum Dallaire <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> when I add an arp entry with :
>
> arp -Ds x.y.z.w eth0 pub
>
> The others hosts in the lan doesn't "see" the x.y.z.w IP,
> I have to add the arp entry on each host manually to make my setup
> working (NAT).
>
> It's normal ?
>
------------------------------
From: Nick Zentena <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: xDSL Modem - How do I test the speed?
Date: Wed, 23 Jun 1999 20:05:06 GMT
Michel Harding wrote:
>
> I've just installed a xDSL Modem from Bell-Sympatico (Quebec, Canada)
> and I'm not too impressed with the speed yet. I'd like to test the speed
> and see if it's my perception, or if there is something I can do about
> it.
>
> Any ideas or commands I could use to benchmark the speed?
Are you upset about WWW or general speed?
Simple things.
1) ftp a large file from a well connected sight.
2) There is a test site check sympatico.highspeed it's been talked
about lately.
There is/was a linux based ftp server that sympatico was running. You
could download the win version of netscape off it to check your speed.
Personally I've haven't any speed problems lately with ftp. WWW is still
a problem at times.
Nick
--
=====================
Nick Zentena
SuSE 6.1 Linux 2.2.10
www.hophead.dyndns.org <Don't expect much-)>
=====================
------------------------------
From: [EMAIL PROTECTED] (Ken Cormack)
Subject: Re: Can Linux IP stack be "MS Proxy-fied"?
Date: Wed, 23 Jun 1999 22:57:26 GMT
On 22 Jun 1999 15:51:50 GMT, [EMAIL PROTECTED] (Michael Shuldman)
wrote:
>a) putting such stuff in the kernel seems rather silly, aswell as
> unnecessary.
Although I make no claim to fame as a kernel coder, such manipulation
of the IP stack strikes me as no less silly than the existing
masquerading support, or aliasing, or other such IP-based mechanisms
already in the kernel. Perhaps those are "silly" too, but...
The best solution might be to impliment something like a "virtual
NIC". I envision a default route table that makes the "virtual NIC"
it's default route.
The virtual NIC could then examine the target IP address. If the
target is on the local segment, hand the traffic off to the "real"
interface unmodified. Otherwise, "prep" the packets as needed to
satisfy MS Proxy's requirements before handing the data off to the
"real" interface to be sent along the wire. I believe this is how
95/98's PPTP (and AltaVista Tunnel, by extension) works.
I believe something similar is also used by VMWARE for their "bridged
networking" functionality.
This would satisfy your desire to keep the kernel free of this kind of
overhead (always a plus), would eliminate (I would think) any mods to
the IP stack, and would still provide me (the end user) with a
singular piece of software to have to compile and install.
>
>b) the main problem with msproxy support is that it's a protocol
> made by microsoft, and microsoft does not seem to have any
> intentions of making the description of it public.
Perhaps if they realized they could sell more MS Proxy servers if they
opened up to more client platforms... (am I dreaming here?)
I would have no clue how much on the Microsoft Proxy side would need
to be reverse engineered. Based on a comment you make below about
your Dante-related work, you would be far more aware of MSP's innards
than I.
I'm sure you are right in that some kind of "messaging" needs to occur
between the client and the proxy-server to say "Hey, this PC wants you
to do something on it's behalf and get back to it with the answer."
I'm probably wrong here, but again, I dont claim to know all the
innards of TCP/IP and proxies.
>
>For a), the README.socksify that comes with the (free) socks proxy
>implementation Dante describes how you can get virtually all your
>applications to use a proxy. The exception to this is applications
>linked staticly and applications that are set[ug]id (they must be
>recompiled).
Well I guess that was part of what drove my thoughts... it's far
easier, faster, and less error-prone for an end-user to rebuild a
singular package (like the kernel or a "virtual NIC" module) than to
chase down source code for possibly dozens of apps, tweak as needed,
find the proper libraries to satisfy all dependencies, recompile, and
hope they (and related libraries, etc.) all work together.
>
>Concerning b), with the help of some clever people I did some work
>on reverse engineering the msproxy protocol for Inferno Nettverk A/S
>a few months back and as a result the client part of Dante contains
>some support for msproxy. The msproxy support is however not
>complete, has some problems, and since Inferno Nettverk didn't
>receive much interest in it from customers, it's not likely that
>anyone will be assigned to work on completing it anytime soon.
Perhaps as more and more of us are fortunate enough to run Linux in a
business desktop environment where MS Proxy may be either already in
use or otherwise part of a company's infrastructure plans, the demand
might become great enough to warrant some more consideration.
>
>Of course, since Dante comes with full sourcecode, others are more
>than welcome to complete it and send us the diffs. There is in
>fact not very much missing, the bulk of the work is done.
Any takers? (And thanks for your input, Michael!) :)
Ken
------------------------------
From: Nicholas E Couchman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Linux and NT integrated user data
Date: Wed, 23 Jun 1999 23:13:00 GMT
I can use the WinNT server manager to access stuff on my Linux computer.
This comes with the new samba (2.x.x). I can see who is on the Linux
computer and disconnect them if so desired. I have not found anything in
the way of NT admin from Linux. I don't even know if this is what you were
asking about, but I tried.
--Nick
john land wrote:
> Anyone have any links, solutions, or scripts to integrating user
> administration between Linux systems and NT domains. Specifically single
> entry user adds, changes, passwords etc.
>
> Thanks,
> john land
------------------------------
From: Jerry Alexander <[EMAIL PROTECTED]>
Subject: Debugging
Date: Wed, 23 Jun 1999 17:59:29 -0500
==============EEA142F1A02504ED60152D7A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Dear Linux Users:
I wrote an extension for the LINUX snmp daemon and have
begun debugging.
The only tools that are available on LINUX , for debugging,
that I am aware of is the
good old "printf" and "gdb".
Is anyone aware of additional tools available for debugging
on LINUX (like a user friendly
application debugger!).
Would appreciate any help or guidance.
Thanks
Jerry
--
Jerry Alexander Software Engineer [EMAIL PROTECTED]
Interphase Corporation Dallas, TX 214-654-5246
==============EEA142F1A02504ED60152D7A
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
<P>Dear Linux Users:
<P> I
wrote an extension for the LINUX snmp daemon and have begun debugging.
<BR>
The only tools that are available on LINUX , for debugging, that
I am aware of is the
<BR>good old "printf" and "gdb".
<BR>
Is anyone aware of additional tools available for debugging on LINUX (like
a user friendly
<BR>application debugger!).
<BR>
Would appreciate any help or guidance.
<P>
Thanks
<BR>
Jerry
<PRE>--
Jerry Alexander Software
Engineer [EMAIL PROTECTED]
Interphase Corporation Dallas,
TX 214-654-5246</PRE>
</HTML>
==============EEA142F1A02504ED60152D7A==
------------------------------
From: Frank Sweetser <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 23 Jun 1999 19:08:50 -0400
"Ralph Glebe" <[EMAIL PROTECTED]> writes:
> I'v started to do some development on the linux platform. Looking at some of
> the source code around, I noticed that it is all C as opposed to C++.
> Although I've been a C programmer for many years, in the last year most of
> my programming has been in C++, and I've come to appreciate some of its
> benefits. Still, it makes me wonder if I'm headed for trouble trying to
> program in C++ on the linux platform. Are all the programs in C because:
>
> 1) The legacy programs were written in C, and its easier to keep them that
> way.
> 2) There is something inferior about the code produced with the GNU C++
> compiler.
> 3) It's an extra effort to download the C++ libraries, so if you want to
> distribute the source, C is the way to go if you want to be sure that your
> code is going to compile.
i would say it's mostly 1) and 2), though 2) is getting better (esp with egcs).
--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5 i586 | at public servers
> I was wondering why the ext2fs filesystems was developed for Linux
>rather than using the BSD4.4 Berkeley Fast Filesystem.
Because it was a real fun to design and program it...
-- Remy Card
------------------------------
From: Frank Sweetser <[EMAIL PROTECTED]>
Subject: Re: apache default document
Date: 23 Jun 1999 19:11:32 -0400
"Mark" <[EMAIL PROTECTED]> writes:
> I am migrating websites from an NT IIS server to a Linux Apache server. How
> can I change the default document from index.html to something like home.htm
> or default.htm. I need to do this on a vhost by vhost basis, as you can with
> IIS 4.0, or else all the sites will have to be edited.
in the future, i'd suggest you check out http://www.apache.org for simple
questions such as this, or just poke around in the config files.
found in srm.conf
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
DirectoryIndex index.html index.shtml index.cgi
--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5 i586 | at public servers
They can always run stderr through uniq. :-)
-- Larry Wall in <[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 (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
******************************