Linux-Networking Digest #980, Volume #10         Wed, 28 Apr 99 17:13:38 EDT

Contents:
  Re: Linux Uptimes (Mark)
  ipautofw compile errors ("Lars A. Christensen")
  3com NICs -- waranty? (Dave Brown)
  Re: Help! Reverse DNS on Red Hat 5.2 (Phil Mayers)
  Re: Routing Samba over LAN (Thomas Klettke)
  Basic networking info (Tommy Malloy)
  testing struct sockaddr_in for equality... ([EMAIL PROTECTED])
  DHCP - UDP packet error between Win95 & Linux - need help! (Les Hazelton)
  Re: PPPD Works - GUI's Don't for me (Clifford Kite)
  Re: Setting a 3c509 NIC to 10baseT ([EMAIL PROTECTED])
  Re: ppp0 and eth0 (Clifford Kite)
  Re: smbmount on 2.0.36 kernel? (Pedro Garrett)
  Re: smbmount on 2.0.36 kernel? (Pedro Garrett)
  Re: Ethernet problem under Linux 2.2.6 (Brian McMurphy)
  Re: 10/100 hub connect with both networks? (Kevin Martin)
  WIn98 logon (john xu)
  Re: I know this has been posted before but ... (Luca Filipozzi)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Mark)
Subject: Re: Linux Uptimes
Date: Wed, 28 Apr 1999 16:50:20 GMT

On 28 Apr 1999 14:29:19 GMT, [EMAIL PROTECTED] (Willis Sarka
III) wrote:

>Hello all,
>
>I am writing a proposal to my work about the benefits of using Linux.  I would like 
>to site some uptime examples.  Does anyone out there have some good uptimes of a year 
>or more?  Any famous examples or anecdotes?
>
>Much thanks in advance.....


emily:/var/log# uptime
 11:43am  up 53 days,  3:06,  7 users,  load average: 0.08, 0.12, 0.12

It will be going down soon though to upgrade Samba but I have had
uptimes of 147 days on this same box berore this and again, we only
took it down to add RAM so who knows how long it might have stayed up.
Linux has been nothing but stable for me

------------------------------

From: "Lars A. Christensen" <[EMAIL PROTECTED]>
Subject: ipautofw compile errors
Date: Wed, 28 Apr 1999 09:51:02 +0200
Reply-To: [EMAIL PROTECTED]

Hi

I am trying to compile ipautofw 2.0.0 under redhat linux kernel
2.0.36-3.

When I try to compile it, I get a lot of warnings about re-definitions
of macros and errors on incosistent re-definitions of structures.

What I am doing wrong ?

TIA

Lars

-- 
Lars A. Christensen <[EMAIL PROTECTED]>,
http://hjem.get2net.dk/dittehus/lac/

------------------------------

Subject: 3com NICs -- waranty?
From: [EMAIL PROTECTED] (Dave Brown)
Date: 28 Apr 99 17:37:33 GMT

3com advertizes that their NICs have a "lifetime" waranty.

I have a bad one, but have no idea how to get a replacement.
Their website doesn't mention it anywhere (intentionally?).
I bought this in an "OEM" pack, so I got no manual with it,
which might have had an address to contact.

-- 
Dave Brown  Austin, TX


------------------------------

From: Phil Mayers <[EMAIL PROTECTED]>
Subject: Re: Help! Reverse DNS on Red Hat 5.2
Date: Wed, 28 Apr 1999 14:48:44 +0100

That should be

zone "208.170.144-in-addr.arpa" if your IPs are 144.170.208.*

Cheers,
Phil

[EMAIL PROTECTED] wrote:

> I am setting up a DNS server on Red Hat 5.2, and I can't get the reverse
> lookups to work.  The forward lookup is working fine.  I'm using BIND 8.
>
>
>
> zone "144.170.208.in-addr.arpa" {
>         type master;
>         file "named.144.170.208";
> };



>
> localhost                          IN     A       127.0.0.1
> dns.hqusareur.army.mil.            IN     A       144.170.208.254
> dave.hqusareur.army.mil.           IN     A       144.170.208.254
>
> named.144.170.208:
>
> @       IN      SOA     dns.hqusareur.army.mil. allstond.hqusareur.army.mil. (
>                           1999021004 ; Serial, todays date + todays serial
>                           8H      ; Refresh
>                           2H      ; Retry
>                           1W      ; Expire
>                           1D)     ; Minimum TTL
>                   NS      dns.hqusareur.army.mil.
>
> 254        IN       PTR     dns.hqusareur.army.mil.
> 254        IN       PTR     dave.hqusareur.army.mil.
>
> If anyone can provide any insight as to what is causing this problem I would
> greatly appreciate it.  Please respond to [EMAIL PROTECTED] as well as
> the newsgroup.
> Thanks!
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own

--

==========================================================

to reply to me, remove the .obfuscate part of my address
(sorry if this Inconveniences anyone, but I have a limited
 amount of time for junkmail)



------------------------------

From: Thomas Klettke <[EMAIL PROTECTED]>
Subject: Re: Routing Samba over LAN
Date: Wed, 28 Apr 1999 09:04:16 -0500

Have you considered adding a second card to your Linux box, use Linux as a
router and connect your Win98 through the Linux gateway. That way you had
both machines talking to each other directly, avoid sending internal traffic
over the Internet, wouldn't need a second IP address from your ISP (cost?)
and would still be able to connect to the web with Win98.

I have a similar scenario, only I use ISDN instead of DSL (lucky you...).


Zach Forsyth wrote:

> Here's a tricky one:
>
> I have a RedHat 5.2 linux box running Samba 2.0.3 and a Windows 98 box.
> Both computers are connected to the internet through the hub to a DSL
> line plugged into the uplink port of the hub.  Everything works fine and
> both computers can browse the internet.
>
> However, since both computers have dynamic IP addresses (using DHCP) and
> may not even be on the same subnet, there really isn't any way that I
> can think of to keep traffic between my computers *LOCAL*.  Any FTP,
> Samba shares, or web access makes a round trip to my ISP and back to the
> other computer.  Samba drive sharing takes a real hit over the Internet
> but I can live with my FTP and web traffic going through my ISP.
>
> Now drive sharing was possible when both boxes were Win98.  I assume
> this was because the drive sharing was not being conducted over TCP/IP.
> I don't suppose there is a vanilla NetBEUI daemon for linux is there?
>
> Someone mentioned IP Aliasing, but while its possible on the linux box,
> there doesn't seem to be a way to do it in Win98.
>
> Basically, is there a way to set up a fake local subnet
> (192.168.1.x/255.255.255.0) between a linux machine and a Win98
> machine?  Or do I have to put two network cards in the linux box and two
> linux cards in the Win98 box and set up the subnet there?
>
> Thanks in advance,
> Zach Forsyth


------------------------------

From: Tommy Malloy <[EMAIL PROTECTED]>
Subject: Basic networking info
Date: Wed, 28 Apr 1999 13:49:43 -0400

After a long delay I am finally ready to put together a small training
network in my apartment. First I have some basic questions. 
There are 3 machines one AMD 586 133 /64 mg (my primary machine) and 2
Intel 486 66 /8 mg.  All have ISA NE2000 cards

        1.  Can I live with 8 mg in the 486s?

        2.   How much of Debian/Gnu Linux  do I actually need to install on the
486s?  For example only one machine in the network should have the MTA,
or be a DNS server.  But if I only install the bare minimum how is that
differnt than just setting up a terminal.

        3.  Come to think of it how do you just set up mutiple terminals?  Do I
need special video cards?

        4. What is the best way to simulate user activity on a training network
when there is really only one person?

        5. I have a couple of other operatiing systems lying around.(Freebsd,
Solaris7, win311, I could probably borrow 95 or NT) Can I mix and match
them on the network. How do you do that?

Any recommeded reading material is appreciated.  Thanks for any help

Tom

PS number two is the most important question at this time

------------------------------

From: [EMAIL PROTECTED]
Subject: testing struct sockaddr_in for equality...
Date: Wed, 28 Apr 1999 17:17:44 GMT

hello-

i'm trying to write an app that uses datagrams to communicate, and i was
wondering how i would test two received packets to see if they originiating
from the same place.

right now in the beginning of my receiving loop i have:

recvfrom( incoming_socket, packet_message, MAX_PACKET_LENGTH, 0, &clientaddr,
&addrlength )

i want to know how to test the clientaddr (they are being written to a struct
sockaddr_in) to see if thye are equal on different calls.  i've tried
memcmping the results of two calls (after coping the clientaddr to another
sockaddr_in), but that doesn't seem to work.

can anybody offer some advice?

thanks!

rk

ps - please cc to [EMAIL PROTECTED]

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

Date: Wed, 28 Apr 1999 14:18:27 -0400
From: Les Hazelton <[EMAIL PROTECTED]>
Subject: DHCP - UDP packet error between Win95 & Linux - need help!

I am attempting to configure a linux dhcp server to provide addresses
to some win95 systems on a local private network.  If I set a specific
IP address in the win95 systems then all works well.  e.g., ip masq,
samba, printer share etc.. etc..

However, when I set the tcp/ip properties in the win95 system to expect
a dynamic ip address then all the connectivity is broken. The dhcp
daemon on the linux system is up and listening/sending on the correct
private network interface (eth0), and about every 5 minutes I get an 
error message in the /var/log/messages.

The error is: 

"Apr 25 12:35:04 farpt dhcpd: 5 udp packets in - 5 too long - dropped"

I have scanned all the how to, mini how to, dhcp doc etc.. I can locate
and see nothing that would help resolve this error.  If anyone has
suggestions on where to look I would greatly appreciate the pointers.

Also, I have tried removing and reinstalling the IP protocol stack on 
the Win95 systems.  No change :-(

-- 
Les Hazelton
============================================
It's hard to get ivory in Africa, but in Alabama the Tuscaloosa.
                -- Groucho Marx

------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: PPPD Works - GUI's Don't for me
Date: 28 Apr 1999 08:58:12 -0500

J. Peterson ([EMAIL PROTECTED]) wrote:

: I am having a hard time in making KPPP or the GUI that comes with RH52
: to work correctly through IBM Global Network. Thanks to the help of
: others,  I was able to modify the correct files (resolv.conf,
: ppp/options, pap-secrets, & ppp-on & off) and then connect to my ISP
: with a script for pppd. I am able to ping and browse other internet
: sites.

: My problem is: I can't ping or connect to any site if I use KPPP.  I
: also tried the GUI that comes with RH52, but it seem to have the same
: problem.


What ppp version?  The ppp-2.3.7 (and maybe 2.3.6) changed the way logging
is done and broke kppp.  There is a new kppp out that works with it but
I don't use it and can't say where to find it.


--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* Microsoft is a great marketing organization.
 * It _has_ to be */

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Setting a 3c509 NIC to 10baseT
Date: Wed, 28 Apr 1999 17:22:15 GMT

There are 2 ways to resolve your problem:
1. Download the setup utility program (DOS) from 3com. Then put the utility
program on a DOS bootable floppy disk. Boot your system with the DOS bootable
disk and run the setup program to set which port you want to use.

2. Go to Donald Becker's site and go into "Ethercard Setup Programs". You
should see 3com family setup program in C source code. Download the source
code and compile on your Linux box (see instruction on the site). Run the
setup program and set the port.

I have tried both ways and they both work fine.


In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Setting up a 3com Etherlink III ISA card, detects the IRQ and IO
> correctly, but the module loading indicates it is using the BNC port.
>
> Went to Donald Becker's site... entered "xcvr=4" in the eth0 module
> options under the kernel configurator (in linuxconf), no luck, tried
> "xcvr=0" also, which is supposed to indicate the default (usually
> 10baseT).  The module doesn't balk when loading, just loads in as BNC.
>
> Chris
>
> --
> Tip: To reply to me by e-mail,
> replace the "XXXX" in my reply-to address with "JJMA".
>
>

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: ppp0 and eth0
Date: 28 Apr 1999 12:52:42 -0500

Cliff ([EMAIL PROTECTED]) wrote:

: I am unable to get dialup and my internal network at home working at the
: same time...the only way i can ping anything outside of my network is to do
: ifconfig eth0 down, which of course kills connectivity with the other
: machines on my internal network...my goal is to get ip masq working, but i
: would think that i have to solve this routing problem first. i am using
: mandrake 5.3

It's a good bet that you have a default route set for your LAN.  Pppd won't
replace an existing default route even with the defaultroute option.  Take
out the default route to the LAN and replace it with a network specific
route which will work fine for the LAN and pppd can create a default route
through the ppp interface.  The routing is done at boot-up in one of the
/etc/rc.* files; the particular file varies with distribution and I don't
run RH.

--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* Microsoft is a great marketing organization.
 * It _has_ to be */

------------------------------

From: Pedro Garrett <[EMAIL PROTECTED]>
Subject: Re: smbmount on 2.0.36 kernel?
Date: Wed, 28 Apr 1999 19:59:45 +0000

Roland Thienpont wrote:
> 
> Mark Krischer wrote:
> 
> > Pedro Garrett wrote:
> > >
> > > I can't seem to find an smbfs (with smbmount) patch for my 2.0.36 kernel
> > > (i686).  Am I supposed to be doing something else?  If not, could
> > > someone direct me to the correct patch?
> >
> > if recall correctly, smbfs is part of the kernel compile menu--under
> > filesystems.  i think i compiled it as a module.  smbmount i think came
> > with the samba distribution.
> >
> > hope that helps.
> >
> > --mk
> 
> I downloaded  samba-2.0.3-19990228.i386.rpm but did not find smbmount in the
> filelist:-(
> 
> Roland

Yeah, me too.  The Samba 2.0.3 source comes with smbmount as a configure
option, but it only compiles under kernel 2.2.  I found an smbfs patch
that updates the kernel source (in /usr/src/linux/fs/smbfs) to include
smbmount, but it's only up to kernel 2.0.28 and won't patch 2.0.36.

I compiled smbsh in the Samba 2.0.3 source, but the docs on it are
sparse and I can seem to get that to work either.

Any ideas at all would be greatly appreciated!

------------------------------

From: Pedro Garrett <[EMAIL PROTECTED]>
Subject: Re: smbmount on 2.0.36 kernel?
Date: Wed, 28 Apr 1999 20:07:26 +0000

Pedro Garrett wrote:
> 
> Roland Thienpont wrote:
> >
> > Mark Krischer wrote:
> >
> > > Pedro Garrett wrote:
> > > >
> > > > I can't seem to find an smbfs (with smbmount) patch for my 2.0.36 kernel
> > > > (i686).  Am I supposed to be doing something else?  If not, could
> > > > someone direct me to the correct patch?
> > >
> > > if recall correctly, smbfs is part of the kernel compile menu--under
> > > filesystems.  i think i compiled it as a module.  smbmount i think came
> > > with the samba distribution.
> > >
> > > hope that helps.
> > >
> > > --mk
> >
> > I downloaded  samba-2.0.3-19990228.i386.rpm but did not find smbmount in the
> > filelist:-(
> >
> > Roland
> 
> I compiled smbsh in the Samba 2.0.3 source, but the docs on it are
> sparse and I can seem to get that to work either.

I found the problem with smbsh in dejanews if anyone is interested:

http://www.dejanews.com/[ST_rn=qs]/getdoc.xp?AN=465764789

------------------------------

From: Brian McMurphy <[EMAIL PROTECTED]>
Subject: Re: Ethernet problem under Linux 2.2.6
Date: Wed, 28 Apr 1999 16:41:05 -0400

I've had a similar problem on my eth0. After I boot up and am connected to the
network for a few minutes, I lose the ability to ping my default gateway.
Running Ben's script revives my IP stack for a few minutes. I have a DE435 on
eth0, and DE500 card on eth1. So far I haven't noticed the problem with eth1.

"J�n Gu�mundsson" wrote:

> Ben Ginter wrote:
> > Maybe I should be telling Alan Cox or Linus about this.  I have other
> > machines running 2.2.6 with 3Com cards and I haven't had any problems.  So
> > maybe Donald Becker should be aware of it (a problem with the ethernet
> > driver?).  Hopefully, I can get some suggestions here before I go
> > bothering them with this.
> >
> > Has anyone else experienced this problem?  Does anyone know a fix?  Please
> > reply to the newsgroup and via e-mail if possible.
>
> If you dont get any replys on this within three days, then it is obvious
> no one have a clue so you should mail the problem to Becker first and if
> he doesnt respond then you should try Cox and/or Linus...
>
> --
> The idea that Bill Gates has appeared like a knight in shining armour
>  to lead all customers out of a mire of technological chaos neatly
> ignores the fact that it was he who, by peddling second-rate
> technology, led them into it in the first place. (Douglas Adams)


------------------------------

From: [EMAIL PROTECTED] (Kevin Martin)
Subject: Re: 10/100 hub connect with both networks?
Date: Wed, 28 Apr 1999 16:33:23 GMT

In article <pYuV2.2512$[EMAIL PROTECTED]>, it says 
<[EMAIL PROTECTED]> wrote:

>We have a 100 Base-T PC and several Linux network, and have a SUN
>workstation, but only with 10Mb NIC. Is this SUN can connect with the
>network using 10/100 hub, or only either 10 or 100, but not both?

As long as the wiring is compatible and the hub is reasonably smart, you 
should have no problem. 


I just made the jump from 10Base2 (coax with BNC connectors) to 100BaseTX, 
with a motley assortment of old and new NICs.  Removed all the coax, first.  
Two of the old NICs were BNC-only, all the others handled both coax and an 
RJ45 jack.  I had one new card that was 100BaseTX only, so I used that to 
replace one of the coax-only cards and then set up the hub (it's a low-end 
Netgear, but it's smart enough to handle either speed on any port 
automatically.  I'm quite happy with it).

I only had to reconfigure one card that didn't auto-switch to the RJ45 port, 
by  using a DOS configuration program.  (Make sure you have driver 
disks for your non-Linux machines!)

Then I got two new 100BaseTX NIC's, which frees up a 10BaseT capable card 
for the orphaned machine, and gives me 100Mbits between the major nodes.  I 
can really see a difference going between the 10Mbit machines and the 
100Mbit machines, by the way.  But they all still work.  :-)



------------------------------

From: john xu <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: WIn98 logon
Date: Wed, 28 Apr 1999 16:33:34 GMT

All:
Need help for win98 log on to linux.
I have Redhat linux 5.2 installed on PII 400. I am trying to telnet and
ftp to this linux server from a machine which OS is win98. But it
failed. The message from linux is "Incorrect user name" or "Password" is
not correct. Even
anonymous ftp can not log on to linux from this machine. The fact is
that, any
other machines in my network (WIN NT, WIN95 and linux) have no problem
logon to this linux machine using the same username and password which
failed
log on from that WIN98.

Anybody has some clue or can give me some seggustion what's wrong?

Thank you very much
Please reply to [EMAIL PROTECTED] so I won't miss you.


--
==============================================
John



------------------------------

From: [EMAIL PROTECTED] (Luca Filipozzi)
Subject: Re: I know this has been posted before but ...
Date: Wed, 28 Apr 1999 13:54:02 -0700

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> I recently had to reinstall Linux (Red Hat 5.2 kernel 2.0.36) on my home
> computer. I have a simple 2 node home network going and had the Linux
> box sharing a printer, hard drive and cd rom with a Win95 (gasp)
> machine.
> 
> Now I can't find the How-to pages to get this going again. I am running
> Samba and can see the printer on the Win95 machine but can't print from
> my Linux box to it. If anyone has any ideas or could point me to some
> How-to's to do this again. I'd greatly appreciate it. (and this time
> I'll print it out and save it) 
> 
> Thanx
> 
> Rob Thompson 
> 
> home: [EMAIL PROTECTED]
> work: [EMAIL PROTECTED]
> 
> Please respond to the home email address.
> 
Check the smb log files. If it says something like permission denied, 
check the printer's spool directory and make sure that it is writable by 
the user that the 95 box has logged onto samba as.
-- 
Luca Filipozzi <[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
******************************

Reply via email to