Linux-Networking Digest #694, Volume #10         Wed, 31 Mar 99 19:13:43 EST

Contents:
  configuring web/networking on dialup machine (colin roald)
  Re: Antivirus on network connections (Alex Butcher)
  Re: HELP!!!! DNS And Samba Questions.....?!?!!? (bgeer)
  Re: Bought modem to work in LINUX! (bill davidsen)
  Re: SAMBA/PASSWORDS (Porne Cavan)
  Re: setting up a routing table (Brian McCauley)
  Re: RedHat5.2 adding users ? ("J.S. Mammen")
  Re: NFS problem - Solaris client, RH 5.2 server (L J Bayuk)
  Epson Stylus Color II + Samba 2.0.3 (Redhat 5.9 Linux) = no print ("ICeeQueue")

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

From: [EMAIL PROTECTED] (colin roald)
Subject: configuring web/networking on dialup machine
Date: 31 Mar 1999 14:38:02 -0800


Okay, so my linux box at home does its networking through dialup PPP,
and gets a dynamic IP number from Stanford when it does so.  This is not
a favourable configuration for running a web server, and I've been unable
to find documentation that even mentions it---but I want to experiment with
different server programs (Apache, AOLserver) to figure out how to query
a database, and that's not the kind of thing I can do unless I own the 
server process (I don't think).  So I want to run a server on my standalone
machine, notwithstanding that I'll be the only person able to connect to
it.

However, I don't think I've got networking configured right, because when
I try to connect to my own machine, it hangs at 'Connect: contacting host'
stage.  This happens whether I try to connect to

        http://moonbase/index.html
        http://localhost/index.html

or even

        http://127.0.0.1/index.html

Can anybody take a guess at what I've got wrong here?  Or even point me
at an authoritative source to tell me what's supposed to be in 
/etc/hosts, /etc/sysconfig, /etc/resolv.conf, or whereever to have a 
machine configured correctly for this situation? 

Note, I don't want to break PPP in trying to fix this.



--
colin | opportunity calls from a payphone, bruno. you never get a chance to
roald | call it back.  (christopher baldwin)

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

From: [EMAIL PROTECTED] (Alex Butcher)
Crossposted-To: uk.comp.os.linux,comp.os.linux.setup
Subject: Re: Antivirus on network connections
Date: Wed, 31 Mar 1999 22:41:29 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 30 Mar 1999 10:01:51 +0100, Albert Want <al-want@#--remove--#usa.net>
  wrote:
>Does anyone know if there is an antivirus (also commercial) that scans at
>run-time all the network connections (I'd like to install it on a firewall)
>??
>
>Thanks in advance!

There is a GPL(?) package called AMiVaS (it's on www.freshmeat.net if you
search for it) which integrates with Sendmail to perform recursive
decomposition of mail messages (i.e. extract zips from zips from uue etc.)
and scan using any of the commercial AV tools for Linux (e.g. Sophos,
Dr Solomon's, McAfee etc.)

Alternatively, Content Technology's MIMEsweeper does pretty much the same
thing, but also for HTTP and FTP traffic, using a proxy. It presently only
runs on NT4. <http://www.mimesweeper.com>

There is also TrendMicro's VirusWall <http://www.antivirus.com>, which I
installed, once. NT and Solaris, this time. They integrate their own AV tool.

Disclaimer: I currently work for Integralis Network Systems, a sister company
of Content Technology.

Best Regards,
Alex.
-- 
Alex Butcher   Using Linux since '95 - because windows are too easy to break.
Berkshire, UK  URLBLAST:slashdot.org:www.freshmeat.net:www.dejanews.com:
               lwn.net:www.tomshardware.com:www.stardiv.de:www.gimp.org:

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

From: [EMAIL PROTECTED] (bgeer)
Subject: Re: HELP!!!! DNS And Samba Questions.....?!?!!?
Date: 31 Mar 1999 12:08:07 -0700

[EMAIL PROTECTED] writes:

 >PLEASE E-MAIL THE ADDRESS BELOW WITH ANY HELP YOU COULD PROVIDE!!!!!


 >...  BUT... Here's the problem...  Pinging FROM any other
 >(win95) machine using a FQDN or alias either takes an extremely long time to
 >return (one minute?) or waits and returns "Bad IP Address"  Why is this
 >behaving so strangely?

Is the Win95's DNS enabled with the correct IP for the DNS server?

Is "recursion" turned off in the DNS server?  See "man named".

 >QUESTION NUMBER TWO:

 >...[how] automatically mount the disk upon boot up?

Edit /etc/fstab.  See "man fstab".

 >QUESTION NUMBER THREE:

 >Once installed, I want to share this new disk with everyone on the network
 >with no restrictions.

Samba example config files shows how to share /tmp with everyone.
Thus the easiest way to share your new disk is to mount the new disk
on /tmp - the command would be something like:

        mount -t ext2 /dev/hdb /tmp

Of course, you can get a lot more elaborate than this.


-- 
<> Robert Geer & Donna Tomky  |               *             <>
<>    [EMAIL PROTECTED]      |    _o      *   o *      o   <>
<>    [EMAIL PROTECTED]     |   -\<,      * <\      </L   <>
<> Salt Lake City, Utah  USA  |   O/ O     __ /__,    />    <>

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

From: [EMAIL PROTECTED] (bill davidsen)
Subject: Re: Bought modem to work in LINUX!
Date: 31 Mar 1999 23:18:37 GMT

In article <YMkK2.1021$[EMAIL PROTECTED]>,
Bob D <[EMAIL PROTECTED]> wrote:
| You are all correct. Using isapnp fixed the problem quickly. I'm only left
| wondering why I didn't have this problem with the original Supra288i modem I
| replaced, it being a pnp also. Is there any way to monitor the connect
| speed? I'd like to see what the new modem is doing.

man pppstats

-- 
  bill davidsen <[EMAIL PROTECTED]>  CTO, TMR Associates, Inc
What I find astonishing is not that my cat has started to sing, but that
he has taken up country-western. This morning he sang `Momma, don't let
your kittens grow up to be barn cats' in the shower, followed by a
pretty decent yodeling version of `Roundup time in Texas when the catnip
is in bloom.'


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

From: Porne Cavan <[EMAIL PROTECTED]>
Subject: Re: SAMBA/PASSWORDS
Date: Tue, 30 Mar 1999 11:49:59 -0600

samba and win98 get confused w/ passwords.  I believe samba sometimes defaults
to cleartext passwords and win98 tries to encrypt them.  One solution is to
setup password encryption in samba and the other is enable cleartext passwords
for win98.

phil morle wrote:

> Hi All,
>
> I have setup SAMBA with Linux so that I can successfully browse Network
> Neighborhood in Win98 and see the Linux box...  when I go to map a network
> drive I am asked for a password.  Each time I give it it tells me that the
> password is wrong... any ideas?
>
> Thanks in advance
>
> Phil Morle


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

From: Brian McCauley <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: setting up a routing table
Date: 30 Mar 1999 18:53:12 +0100

[EMAIL PROTECTED] writes:

> We have two offices, A and B. I would like both A and B to have Internet
> access. Both offices will have dynamically assigned IP addresses through PPP.
> Also, the two offices will need to have a TCP/IP network going between them.
> I plan on using PPP for this also because of the ease of setup. So, we have a
> PPP link going from A to B also (the link should be able to be initiated by
> either).
> 
> I assume I need to setup a routing table with each machine in both A and B.

No.  You could set up the tables on every machine but usually clients
on a LAN just have a permanent route set to their default gateway
(router).  It is up to the router to decide what to do next.  If your
link A-B is handled by the same router as you link to the internet
that is the end of the story as far as the clients are concerned.  If
there are separate routers then the default router can use ICMP
redirects to inform the client that it should be using the other router.

> If the address is not in the table (not in A or B), the data will be sent
> over the Internet PPP link. This means if A has data not meant for any
> machine in A, then looks in the table and determines it does not go to B, it
> will go to the Internet. Also, if group B has data and the address does not
> belong to group A, then send it over their Internet link.

That is all correct.

> Also, I would like to enable Windows Networking over this link, as in having
> SAMBA setup in both A and B. So, group A could print to group B's printers (a
> cheap way to fax). Any problems with this? Anything to keep in mind?

Samba on A and B won't do the job unless one is defined as the WINS
server and all the clients know about it.

If you have NT servers you can set up mutliple redundant WINS servers
but Samba won't work this way because Microsift have not realeased the
WINS replication protocol.

-- 
     \\   ( )  No male bovine  | Email: [EMAIL PROTECTED]
  .  _\\__[oo   faeces from    | Phones: +44 121 471 3789 (home)
 .__/  \\ /\@  /~)  /~[   /\/[ |   +44 121 627 2173 (voice) 2175 (fax)
 .  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
  # ll  l\\  ~~~~ ~   ~ ~    ~ | http://www.wcl.bham.ac.uk/~bam/
 ###LL  LL\\ (Brian McCauley)  |

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

From: "J.S. Mammen" <[EMAIL PROTECTED]>
Subject: Re: RedHat5.2 adding users ?
Date: Tue, 30 Mar 1999 21:56:41 +0307

vaclav vyvoda wrote:
> 
> Or try Webmin (http://www.webmin.com - I think).
> 
> On Claus Meisel [EMAIL PROTECTED] wrote:
> : Hi
> 
> : I just installed RedHat 5.2 Server and I when I started X windows ( startx )
> : I could not see the utility to add users.
> : I thought I remembered from 5.0 that there was a utility to add users
> : easily. I know I can use useradd or adduser but I liked the xwindow utility.
> : Help, please e-mail me.
> 
> : Thanks
> 
> : claus

Use 
control-panel 

-- 
Sincerely,
J.S.Mammen
.........................................................................
. http://www.jminfotech.com                                             . 
.                       for Internet Design & Development               .
.                       RedHat Linux Consultants in UAE & India         .
.........................................................................

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

From: [EMAIL PROTECTED] (L J Bayuk)
Subject: Re: NFS problem - Solaris client, RH 5.2 server
Date: 31 Mar 1999 23:35:52 GMT

[EMAIL PROTECTED] wrote:
>Hello All,
>
>I have a RH 5.2 system that is exporting NFS filesystems to a Solaris 2.6
>machines.  When I mount the Linux-hosted filesystems on the Solaris box it
>complains that there is no file-locking but it proceeds anyway.

Linux NFS doesn't have file locking (lockd and statd), at least
not my version. This only would affect a program running on the
client which is specifically designed to use locks.

>Occasionally, expecially when FORTRAN prgrams are accessing data from these
>linux-hosted NFS partitions, I get a "Stale NFS filehandle" error.

There are "correct" and "incorrect" reasons to get this. Since NFS
is stateless, a file can be removed on the server while a client
is reading/writing it. When the client goes to read/write some more,
NFS returns "stale file handle" to tell the client that its NFS file
handle is no longer valid. That's the "correct" reason for stale
NFS file handle.  In practice, sadly, this error can often mean
something went awry in the server or client (that is, a bug in the
NFS server or client implementation).

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

From: "ICeeQueue" <[EMAIL PROTECTED]>
Subject: Epson Stylus Color II + Samba 2.0.3 (Redhat 5.9 Linux) = no print
Crossposted-To: 
linux.samba,linux.redhat.misc,comp.protocols.smb,comp.os.linux.misc,microsoft.public.windowsnt.misc,comp.periphs.printers,comp.os.ms-windows.nt.misc
Date: Tue, 30 Mar 1999 22:10:32 GMT

Hello all...
I'm having difficulties printing to my Samba networked printer from my
Windows NT Workstation SP4.  The printer is physically connected to my
Linux box, and is /dev/lp0 and lpd is running and everything.  Below is my
SMB.CONF file that SWAT has created for me:

# Samba config file created using SWAT
# from ******
# Date: 1999/03/30 14:03:35

# Global parameters
        netbios name = Server
        server string = Samba Server
        update encrypted = Yes
        log file = /var/log/samba/log.%m
        max log size = 50
        socket options = TCP_NODELAY
        printcap name = /etc/printcap
        os level = 65
        preferred master = Yes
        dns proxy = No
        hosts allow = 192.168.0.

[root]
        comment = Root directory
        path = /
        read only = No

[cdrom]
        comment = CD-ROM
        path = /mnt/cdrom
        read only = No

[wwwroot]
        comment = WWW root
        path = /home/httpd
        read only = No

[Epson Stylus Color II]
        path = /tmp
        print ok = Yes
==================
I can see the shares and use the mounted directories, and I added the
printer with "Epson Stylus Color ESC/P2" driver from Windows NT 4.0.  The
Linux printtool I configured as "Epson Stylus Color - any".  I also tried
the Uniprint driver but that didn't work.

If anyone can help me, it would be greatly appreciated.
Thank you. :)


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


** 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