Linux-Networking Digest #628, Volume #10         Thu, 25 Mar 99 14:13:50 EST

Contents:
  Re: Samba Questions?? ("Barton Phillips")
  Re: dual internet links (Ron Klatchko)
  Re: resolv+ (Bill Unruh)
  netscape install script won't run ([EMAIL PROTECTED])
  Re: Can't Execute httpd on Apache Server (Jim Roberts)
  NFS Client for NT ([EMAIL PROTECTED])
  Advice on NIC's and hubs (Erik)
  Diald question (star225)
  Diald question! Help (star225)
  Can Linux browse NT? (Mike)
  Re: netscape error - hosts unreachable (Daniel Linux user)
  Firewall and webserver problem! ("Michael")
  Re: Windows 95/98 -> to linux Samba; diald problems (Ronald Hovens)
  Re: No network - RH 5.2 (=?iso-8859-1?Q?St=E5le?= Raunholm)
  Re: Samba 19.18.p10 &Suse Linux 6.0 & NT4.0 Workstation... (Thomas Bader)
  Re: IPCHAIN help for web server behind gatewat ([EMAIL PROTECTED])
  Re: recvfrom: connection refused ([EMAIL PROTECTED])

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

From: "Barton Phillips" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.protocols.smb
Subject: Re: Samba Questions??
Date: Thu, 25 Mar 1999 09:38:40 -0800

Here are a couple of SAMBA news groups where you may get more info:
comp.protocols.smb
linux.samba

Vincent wrote in message <[EMAIL PROTECTED]>...
>Hi,
>
>I recently started testing Samba and from my prelimary evaulation I just
>love this service.  But after reading all of smb.conf manpage.  I still get
>these strange errors.  I'm not sure what these problems are.  Below, I've
>listed some issues that I'm having.  If somebody can help, I would really
>appreciate it.  Here's the questions:
>
>1)  Is it true that the 'create mask' service does NOT accept most absolute
>values?  And is it true, that 'chmod' and 'create mask' only works for EXT2
>filesystems.
>
>2)  Using 'smbclient -L computername', I get this:
>
>load_client_codepage:  filename /etc/codepages/codepages.850 does not
exist.
>
>start lmhosts:  Can't open lmhosts file /etc/lmhost.
>
>Question:  What is codepage? And what does /etc/lmhost do and do I really
>need these files?
>
>3)  When stoping SMB using 'smb stop', I get this:
>
>Shutting down SMB services.  smbd grep:2233:  No such file or directory
>nmbd.
>
>Question:  I know that nmbd is the NETBIOS name service.  But I don't
>exactly know why this error keeps coming up?
>
>4)  Login to a Samba server via Win95, a dialog box sometimes comes up (in
>Win95).  It looks something like this:
>
>Resource            \\computername\IPC$
>Password
>
>Question:  Why does this sometimes come up and what is IPC$?  Is IPC$ the
>Samba server?
>
>5)  Using 'usermod -e 03/24/99 username', I get this:
>
>usermod shadow passwords required for -e and -f
>
>Question:  I know -e and -f stands for expire and inactive, respectively.
>But what is shadow password?
>
>
>Well, those are the questions that I having trouble answering.  If anybody
>can help, that'll be great.
>
>Thanks,
>Vincent
>
>
>
>
>



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

From: Ron Klatchko <[EMAIL PROTECTED]>
Crossposted-To: comp.infosystems.www.servers.unix
Subject: Re: dual internet links
Date: Thu, 25 Mar 1999 08:57:04 -0800

Matt Chipman wrote:
> I have 2 links to the internet that serve the rest of my network.  I want
> Apache/Linux to choose one inet link over the other most of the time unless
> the main link fails.  If this happens i want Apache/linux to swap to the
> other connection so the internet is still accesible to the rest of the
> network even though the main link has shut down.

Apache does not directly know about physical network connections.  It
relies on the underlying OS to handle that.  Once you configure Linux to
handle this switch over, it will work for all applications, including
Apache.

Follow up redirected to comp.os.linux.networking.

moo
======================================================================
          Ron Klatchko - Manager, Advanced Technology Group           
           UCSF Library and Center for Knowledge Management           
                        [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: resolv+
Date: 25 Mar 1999 17:46:44 GMT

In <[EMAIL PROTECTED]> mike <[EMAIL PROTECTED]> writes:

>Where can I find the network utility "resolv+", which is
>refered to in some of the related networking HOWTO's

Already included in your distribution in libresolv.

> I would also like to find some doc on "nslookup"

man nslookup?

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

Date: Thu, 25 Mar 1999 11:49:35 -0500
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: netscape install script won't run

I am having a problem updating the Netscape on RH5.2 to Netscape 4.51.

The shell script doesn't seem to like blank lines, when all blank lines
are commented out, it fails when it starts to parse the tar parameters.
error is listed below:

'/ns-install: syntax error near unexpected token `in
'/ns-install: ./ns-install: line 51: `  case $1 in

Any ideas?


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

From: [EMAIL PROTECTED] (Jim Roberts)
Subject: Re: Can't Execute httpd on Apache Server
Date: Thu, 25 Mar 1999 17:39:54 GMT

The error is probably because httpd can't find a file it is looking
for during start-up. Check the errorlog in the "log" subdir of the
apache tree.

Also, you should probably start apache with the "apachectl" control
script with "# /usr/local/apache/bin/apachectl start "

> 
> Hi.  I am quite a newbie to Linux and Unix in general.  I have installed
> a Linux box here on a PC and have been doing some interesting stuff.  I
> decided to try getting it to run a HTTP server and heard that Apache was
> clearly the best.  Again, being a newbie, I didn't want to get into
> compiling and all that sort of thing, so I downloaded the binary version
> off the WWW.APACHE.ORG site.  (version 1.3.6).
> 
> I expanded the file and went about configuring the httpd.conf file.
> Strangely though when I try to execute the server by running
> /usr/local/apache/bin/httpd -f /usr/local/apache/conf/httpd.conf, I get
> a message: "bash: /usr/local/apache/bin/httpd: No such file or
> directory".  Now I know this is the same message you get when you try to
> execute a file that's not there, but it is there.  I know it is.  I can
> rename it, I can perform a strings command on it.  I just can't execute
> it for some reason.  I am logged in as root and all permissions seem
> correct:
> -rwxr-xr-x   1 root     root       291913 Mar 25 09:57 httpd*
> 
> This is very strange.  Anyone have any ideas.  I am running a rather old
> kernel (i.e. version 2.0.27.  Could this be the problem?
> 
> Dave
> 
> 
> --------------398E835B929ED50C5FFB2683
> Content-Type: text/x-vcard; charset=us-ascii;
>  name="Dave_J_Walsh.vcf"
> Content-Transfer-Encoding: 7bit
> Content-Description: Card for Dave_Walsh
> Content-Disposition: attachment;
>  filename="Dave_J_Walsh.vcf"
> 
> begin:vcard 
> n:Walsh;Dave
> x-mozilla-html:FALSE
> org:Keane Canada
> version:2.1
> email;internet:[EMAIL PROTECTED]
> title:Network Administrator
> tel;fax:902 422 6059
> tel;work:902 422 6036 x 249
> adr;quoted-printable:;;2000 Barrington Street=0D=0ASuite 300;Halifax;Nova Scotia;B3J 
> 3K1;Canada
> x-mozilla-cpt:;0
> fn:Dave Walsh
> end:vcard
> 
> --------------398E835B929ED50C5FFB2683--
> 

-- 
Jim Roberts         Never enough time!
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED]
Subject: NFS Client for NT
Date: Thu, 25 Mar 1999 10:29:20 GMT

Does anybody know a good NFS Client for Windows NT to access
my Linux NFS Server ?

If possible it should be free !

[EMAIL PROTECTED]

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

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

From: Erik <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Advice on NIC's and hubs
Date: Thu, 25 Mar 1999 17:55:46 +0000

I plan on purchasing a number of network cards and a hub (5-8 port).
I was wondering if anyone had any suggestions or recommendations
as to what cards will work well under linux, as well as win98 machines.
I'm interested in 10/100 Nics along with an autosensing 10/100 hub.
Any recommendations or suggestions would be greatly appreciated.
thanks,
-Erik
[EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (star225)
Subject: Diald question
Date: Wed, 24 Mar 1999 21:18:30 GMT
Reply-To: [EMAIL PROTECTED]

Hello,

I am desperately looking for help for installing the Diald program.
I am not quit new to Linux, but I didnt succeed in installing Diald.
Also.. when i try to unzip the source and install i get all sorts 
of "redefine" warnings and errors.. when i do make depend, 
make and make install thereby forfeiting the software all together

The faq's and Howto's and manpages I read did not brought a solution
for me.
They all had a different solution, so now Im totally confused.

I have 2 Windoze machines and 1 Linux server (2.2.1), configures in a
LAN.
I can ping the Linux box and viceversa. It seems to work well.
Now I want those Win-boxes to dialup to my ISP using the Linuxbox as a
dialup server.
I can make a internet-connection on the Linuxbox with chat and pppd
and a script.

Now I want to use Diald to do the job.

Please, can someone explain what config files etc I have to build, 
and what the contents is, and where I should place them?
Examples of config file would be great.

I want to use the standard Diald program. No extensions on it or so. I
want to 
use the basic program.

I am quit hooked on Linux and desperately want to use diald.

Hope someone can help me.

Thanks in advance


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

From: [EMAIL PROTECTED] (star225)
Subject: Diald question! Help
Date: Wed, 24 Mar 1999 21:23:47 GMT
Reply-To: [EMAIL PROTECTED]

Hello,

I am desperately looking for help for installing the Diald program.
I am not quit new to Linux, but I didnt succeed in installing Diald.
Also.. when i try to unzip the source and install i get all sorts 
of "redefine" warnings and errors.. when i do make depend, 
make and make install thereby forfeiting the software all together

The faq's and Howto's and manpages I read did not brought a solution
for me.
They all had a different solution, so now Im totally confused.

I have 2 Windoze machines and 1 Linux server (2.2.1), configures in a
LAN.
I can ping the Linux box and viceversa. It seems to work well.
Now I want those Win-boxes to dialup to my ISP using the Linuxbox as a
dialup server.
I can make a internet-connection on the Linuxbox with chat and pppd
and a script.

Now I want to use Diald to do the job.

Please, can someone explain what config files etc I have to build, 
and what the contents is, and where I should place them?
Examples of config file would be great.

I want to use the standard Diald program. No extensions on it or so. I
want to 
use the basic program.

I am quit hooked on Linux and desperately want to use diald.

Hope someone can help me.

Thanks in advance


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

From: Mike <[EMAIL PROTECTED]>
Subject: Can Linux browse NT?
Date: Wed, 24 Mar 1999 07:16:19 +0000

Hi all,
            I am fairly new to Linux.
I am running it both at home & at work. My work computer is also on a
network.
So I have it setup dual boot with W95 & Linux2.2.1
Can I browse the NT4.0 server at work?
My sys admin says Im free to do so but only if I can figure it out as he
has no idea how to do so.
I have read many times how windows can hook up to a Linux server but can
the reverse be done?
Our server is netbui & tcp/ip
I am able to ping all the machines at work so I know I have my eth0 card
set up.
Any help or a pointer to a URL that can help me would be appreciated.
Thanks,
                    Mike


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

From: Daniel Linux user <[EMAIL PROTECTED]>
Subject: Re: netscape error - hosts unreachable
Date: Wed, 24 Mar 1999 12:31:48 -0800

This is also caused by incorrect or missing nameservers. Check your
/etc/resolv.conf for correct entries.  Try pinging with numerical
addresses only, if that works, just add the correct DNS entries in the
above file.

Daniel

[EMAIL PROTECTED] wrote:
> 
> I have successfully connected to my internet server using xisp; however, when
> I try to browse the web using Netscape, I get the following message:
> 
> "
> Warning : the following hosts are unknown:
> 
>           home.netscape.com
>           home6.netscape.com
>           internic.net
> 
> This means that some or all hosts will be unreachable.
> 
> Perhaps there is a problem with your names server? If your site must use a
> non-root name server, you will need to set the $SOCKS_NS environment variable
> to point at the appropriate name server. It may (or may not) be necessary to
> set this variable, or the SOCKS host preference, to the IP address of the
> host in question rather than its name.
> 
> Consult your system administrator."
> 
> My problem is that I am my own system administrator and do not know how to
> handle this :(
> I tried creating the SOCKS variable, but that was of no use...
> 
> Thanks in advance, Mendeli
> 
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own

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

From: "Michael" <[EMAIL PROTECTED]>
Subject: Firewall and webserver problem!
Date: Thu, 25 Mar 1999 14:24:57 +0200

I am using linux redhat 5.2 as my firewall, behind my firewall I have got
the rest of my network and my webserver.
I have setup the firewall so all users can browse the net (no problem).
The problem I am having is getting users on the web to see my webserver
 NT) . The webserver worked when it was infront of the firewall.
I changed my mx records to point to the firewall now.
No luck
I am having the same problem with my mail server(Exchange).
Does not get mail out side users.
I have been using "ipfwadm" to set my rules with masquerading enabled. Have
have also set the firewall up so that all http traffic coming to my box is
sent to my webserver. Does not work!

What do I do for my web server to be on the net again ( I'm sure the problem
with exchange is similar)

Any help will be appreciated

Thanks
Michael



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

From: Ronald Hovens <[EMAIL PROTECTED]>
Subject: Re: Windows 95/98 -> to linux Samba; diald problems
Date: Thu, 25 Mar 1999 13:20:25 +0100

Brian,

I read your question about diald and win'98 today. I don't have an answer to
your problem, butmaybe you can help me in setting up a similar
infrastructure; I myself tried to configure my linux server and win'98
clients for use with diald but sofar I didn't succeed.

Can you send me some help, specifically I am interested in your following
files:

/etc/ppp/options
diald.conf

Furthermore I am interested in the command you use to start the diald daemon
(which commandline options do you use). Many thanks in advance, your help
will save me a lot of time and headaches!

Ronald Hovens

Scott Harvey wrote:

> Hello,
> I have a network with two windows 95 computers connected to a Linux
> server. The Linux server has ipfwadm and diad running.
>
> I am having trouble with my windows work group bringing up the dial on
> demand demon (diald). What is happening, is that, every 15 minuets or so
> a request goes out to the ( named ) name server to resolve the name of
> my workgroup and that request fires up diald to call my ISP.  Is there a
> way to filter this request out in standard.filter of diald or have a
> rule defined using ipfwadm to squash this request.
>
> Thanks in advance
>
> Scott Harvey




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

From: =?iso-8859-1?Q?St=E5le?= Raunholm <[EMAIL PROTECTED]>
Subject: Re: No network - RH 5.2
Date: Thu, 25 Mar 1999 18:46:37 +0100

> Was config of your network card successful?
> type:
> #ifconfig
> post the results

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

eth0      Link encap:Ethernet  HWaddr 00:60:97:54:C8:A3
          inet addr:129.177.53.134  Bcast:129.177.53.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:10 Base address:0x300



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

From: Thomas Bader <[EMAIL PROTECTED]>
Crossposted-To: 
de.comp.os.unix.linux.misc,fido.ger.linux,ger.pc.linux,maus.computer.linux
Subject: Re: Samba 19.18.p10 &Suse Linux 6.0 & NT4.0 Workstation...
Date: Thu, 25 Mar 1999 18:55:32 +0100

Karl-Heinz Lintz wrote:
> [...]
> Are there some other access-rights from Samba or Linux OS avaiable or
> nessessary?

Yes. Owner, group and other of the directory musst be "rwx" -->
1. "chmod u+rwx your_directory" 
2. "chmod g+rwx your_directory"
3. "chmod o+rwx your_directory"

Note: If you like to delete files in this directory, you must set their
access-right to "rwx" for owner, group and others too.

> Is it possible under Samba 19.18p10 to write from NT /NTFS to Linux 6.0
> ext2fs?

Yes, of course.

Greetings
Thomas

P.S.: Sorry for my very bad englisch. 


-- 
Thomas Bader <[EMAIL PROTECTED]>, Powered by LINUX 2.0
Infos und Tipps zu Linux, HowTo's des DLHP <http://surf.to/bader>

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

From: [EMAIL PROTECTED]
Subject: Re: IPCHAIN help for web server behind gatewat
Date: Thu, 25 Mar 1999 17:58:57 GMT

In article <7d7p8h$h2a$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
>
> ipchains -A input -p tcp -s xx.xx.xx.xx 80 -j REDIRECT -d 192.168.0.2 80
>
> Didn't work.

Shure !

The use of forwarding is not to redirect to another machine, but to
redirect to local another port.

ipchains -A input .... -j REDIRECT !!LOCALPORT!!

You must run some kind of a deamon or proxy to capture the requests from the
hosts outside the firewall and then redirect them to a proper location inside.

Sorry, but I do not know where to get thiese software.

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

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

From: [EMAIL PROTECTED]
Subject: Re: recvfrom: connection refused
Date: Thu, 25 Mar 1999 16:58:53 GMT

You have found the "enhancement" that is in UDP networking in Linux.
I found this myself several weeks ago and there is a solution.
More information on this is available in RFC1122, sect. 4.1.3.3.
There is also some information on this in the "Unix-socket-faq for network
programming" section 5.4.
There are copies of this available all over the place including:
http://www.cis.ohio-state.edu/hypertext/faq/usenet/unix-faq/socket/faq.html

I was just about to post the solution when I found your question.
So I will post the solution in this reply.

You can turn off this Linux "enhancement" by selecting BSD networking
compatibility mode.  Otherwise your application will need to handle these
unusual ICMP recvfrom errors when it sends a UDP message to a IP location
that is not receiving messages.
To select BSD metworking compatibility mode you need to use the undocumented
setsockopt SO_BSDCOMPAT option on the ICMP layer.
This needs to be called sometime after the socket() call and
before the sendto

E.g.
 int sock;

 sock = socket(...);
 .
 .
 .

 int buf = 1;
 int len = sizeof(buf);
 struct protoent * protoent;
 protoent =  getprotobyname("icmp");

 if (!protoent) {
    fprintf(stderr, "Cannot get icmp protocol\n");
 }
 else {
    if (setsockopt(sock, protoent->p_proto, SO_BSDCOMPAT, (char*)&buf, len)
          == -1) {
        fprintf(stderr, "setsockopt error SO_BSDCOMPAT :%s", strerror(errno));
    }
 }

That's it...
I hope this solves your problem.
I have spent way too much time getting to the
bottom of this.  I hope others find this and
can save some time by doing so.
I wish Linux was documented better.

In article <7d39mq$n6a$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Hi all!
>
> I have encountered a problem while programming with sockets.
>
> Briefly, a "connection refused" error is returned from a recvfrom() in a
> socket from which I have maked sendto() before. But, if I don't make that
> call to sendto(), recvfrom() blocks waiting for a response (i.e., all seems
> to work fine).
>
> Both sendto() and recfrom() calls are maked in the same machine, using
> localhost over a Linux Debian system with kernel 2.2 prerrelease 6.
> Does anyone know which can be the problem (and a fix for it...)?
>
> Thank you very much in advance.
> +++++++++++++++++++++++++++++++++++++++++++
> C�sar F. Acebal
> [EMAIL PROTECTED]
> Software Engineering Undergraduate
> University of Oviedo
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
>


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

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


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