Linux-Networking Digest #53, Volume #11           Wed, 5 May 99 22:13:34 EDT

Contents:
  Re: Redhat 6.0... the good, the bad, and the ugly ([EMAIL PROTECTED])
  PPP connection performance monitoring. (Paul Breed)
  Re: NFS problem (L J Bayuk)
  Re: Setting Linux up to pass thru Wingate proxy ("David L. Courtney")
  IP forwarding doesn't forward!! ("Dan Miller")
  Connect to Oracle from Linux ([EMAIL PROTECTED])
  Can't run ipfwadm commands from rc.firewall script??? ("Bill@Linux1")
  Multiple IP Addresses ("Brian Carter")
  Re: IP forwarding doesn't forward!! ("Curt")
  Re: domain name problem with e-mail ("Curt")
  Admin tools ("@T")
  Re: newbie question - fron red hat to suse ("Steven Sirota")
  Re: Anyone using 'timed'as a time server? (Dave Edick)
  Re: Multiple IP Addresses ("Curt")
  Setting Linux up to pass thru Wingate proxy ([EMAIL PROTECTED])
  Re: Newbie making network ("Curt")
  Re: SAMBA: How to get a complete list of computers Netbios name and IP  addresses in 
a NT network using a SAMBA CLIENT? (Luca Filipozzi)
  NIS Questions (Tom Tang)
  Re: SAMBA: How to get a complete list of computers Netbios name and IP  (Chris Wolfe)
  Re: Conflict IP Address in Linux (Wisquatuk)
  Re: Networking the Internet with Linux (Dumouchel Clermont)
  Re: NT Logon with Linux username (Denis Gyachev)
  Re: THTTPD ("Derek Smith")

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Redhat 6.0... the good, the bad, and the ugly
Date: Wed, 05 May 1999 20:26:43 GMT

How did you change this manually?


> I didn't see any. RH6 installed fine on a clean 18GB WD drive. I did notice
> that fdisk did not get the correct LBA translation for the drive but instead
> used the "real" values. I changed this manually to the LBA values. On a drive
> with a pre-existing FAT partition it got the values correctly.

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

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

From: Paul Breed <[EMAIL PROTECTED]>
Subject: PPP connection performance monitoring.
Date: Wed, 05 May 1999 17:25:45 -0400

I have a linux machine continously connected to the Internet.
via a dial up modem.

I want to write a program that maintains a file mirror of 
a remote machine.

I want this program to run whenever the PPP link is idle.
I do not want it to impact the performance of the PPP link.

What current PPP performance statistics are availible on Linux?

How would you suggest detecting an Idle connection?



Paul
P.S.
 I am a professional developer with lots of C, C++, Windows and 
embedded networking experience, but I am a linux/unix newbe.






===========================================
Paul Breed Chief Architect, NetBurner      
Networking in one day.
http://www.netburner.com

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

From: [EMAIL PROTECTED] (L J Bayuk)
Subject: Re: NFS problem
Date: 6 May 1999 00:11:22 GMT

[EMAIL PROTECTED] wrote:
>Here's my /etc/exports file:
># cat /etc/exports
>/home/ftp/pub/rh5.2    192.168.1.1(ro,no_root_squash) 192.168.1.8(ro)
>192.168.1.2(rw,no_root_squash)
>#
>
>That's all on one line.
...
>I can mount /home/ftp/pub/rh5.2 just fine *if* I'm at the server computer
>(192.168.1.2). Whenever I try to mount it from 1.1 or 1.8, it comes up with
>an error message to the effect of "Permission Denied".
>
>Here's what the /var/log/messages file says:
># tail /var/log/messages
>May  4 18:33:55 lf11 mountd[2375]: NFS mount of /home/ftp/pub/rh5.2 attempted
>from 192.168.1.1
>May  4 18:33:55 lf11 mountd[2375]: Unauthorized access by NFS client
>192.168.1.1.
>May  4 18:33:55 lf11 mountd[2375]: Blocked attempt of 192.168.1.1 to mount
>/home/ftp/pub/rh5.2
>#
>...

Mountd uses the access control from TCP wrappers. Could that be it?
Do you have /etc/hosts.allow and/or /etc/hosts.deny entries to block access
to all services by default? It seems consistent with the logged error
message. You may need something like this in the server's hosts.allow:
        rpc.mountd: 192.168.1.0/255.255.255.0

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

From: "David L. Courtney" <[EMAIL PROTECTED]>
Subject: Re: Setting Linux up to pass thru Wingate proxy
Date: Thu, 06 May 1999 00:21:09 GMT

> 
>  I am running Wingate 3.0 on a win98 machine. I recenlty put linux on my
> other machine. I am trying to set linux up so that it can access the internet
> thru the wingate server. But I can't seem to even find out where to start.
> 
> Wingate, AFAIK, provides its own client software.  Don't think there is 
a client for *nix.  You might see what's on their website. HTH.

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

From: "Dan Miller" <[EMAIL PROTECTED]>
Subject: IP forwarding doesn't forward!!
Date: Wed, 5 May 1999 17:09:45 -0700

I have two linux machines connected via a point-to-point link...
The two machines can ping each other successfully.  One of the
machines is connected to a LAN via Ethernet, and can
successfully ping and otherwise access that network.  However,
the "remote" machine cannot access (even ping) the LAN...
in fact, it can't even ping the Ethernet side of the main machine.

I *have* IP forwarding turned on, on both machines.

What else do I have to know about this???  Why won't our
local server pass the packets along???

        Dan Miller




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

From: [EMAIL PROTECTED]
Subject: Connect to Oracle from Linux
Date: Wed, 05 May 1999 20:39:11 GMT

I need to connect to a Oracle database (in a Sun box) from my Redhat Linux
box.  Please tell me what I need and where to get it.  Thank you!

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

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

From: "Bill@Linux1" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Can't run ipfwadm commands from rc.firewall script???
Date: Wed, 5 May 1999 16:40:58 -0500

I took the sample script for IP masquerading and saved it as rc.firewall.
In my rc.local script, I call it.  It is executing, as verified by "echo"
commands placed in various parts of the scripts.

However, when the script runs, masquerading doesn't work!  If I enter the
commands separately from the command line, it works perfectly.

Any ideas on why?  permissions are 700

thanks in advance

Bill Weaks
remove the onayamspay from my email address to respond



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

From: "Brian Carter" <[EMAIL PROTECTED]>
Subject: Multiple IP Addresses
Date: Wed, 5 May 1999 17:52:27 -0400
Crossposted-To: comp.os.linux.setup,linux.redhat.misc,redhat.general

I am trying to configure my Linux (Redhat 5.2) to run with multiple domains,
each having different IP addresses .. I know this can be done as my
ex-provider had this set up for me (I then forgot what he did).

I have two domains, and one NIC (eth0)

Can somebody point me in the right direction .. assuming the following :

domain 1 - cma1.com (195.60.36.1)
domain 2 - cma2.com (195.60.37.1)

regards
Brian Carter




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

Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: IP forwarding doesn't forward!!
Date: Wed, 5 May 1999 19:33:02 -0500

Please post the result of netstat -nr

Dan Miller <[EMAIL PROTECTED]> wrote in message
news:7gqmbj$[EMAIL PROTECTED]...
> I have two linux machines connected via a point-to-point link...
> The two machines can ping each other successfully.  One of the
> machines is connected to a LAN via Ethernet, and can
> successfully ping and otherwise access that network.  However,
> the "remote" machine cannot access (even ping) the LAN...
> in fact, it can't even ping the Ethernet side of the main machine.
>
> I *have* IP forwarding turned on, on both machines.
>
> What else do I have to know about this???  Why won't our
> local server pass the packets along???
>
>         Dan Miller
>
>
>



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

Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: domain name problem with e-mail
Date: Wed, 5 May 1999 19:32:02 -0500

Send your isp emails to the specific machine name.  (i.e.
[EMAIL PROTECTED]).

<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have the same problem, only I'm using qmail to send out mail.
> This solution works fine indeed, but there is one problem. My email
> address is [EMAIL PROTECTED], so now qmail thinks all mail for domain
> casema.net is local. What to do about this? I'd be thankful for
> suggestions.
>
> PS: I'm using fetchmail to grab my mail from my ISP, procmail to
> deliver it (all to one account) and qmail to send. It's probably a
> stupid setup, but it happens to work, apart from the problem mentioned
> above.
>
> >In pine choose setup from the main menu and config. In the user-domain
> >field put the domain name of your isp. Choose exit and select yes to
> >save changes. It willl send the username that you are logged into
> >linux the @ symbol and whatever you have set as the domain as your
> >email address. If you are logged in as root then it will say
> >[EMAIL PROTECTED] on all msg's you send out. This should get you past
> >the bogus domain issues at least.
>



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

From: "@T" <[EMAIL PROTECTED]>
Subject: Admin tools
Date: Thu, 6 May 1999 08:24:42 +0800

Hi,

Are there any text based admin tools for linux???
An integrated text based Admin tool  for samba, users, groups, folders, dns,
dhcp, apache, sendmail/smail/qmail, imap, pop3 etc....would be nice..

Thanks...



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

From: "Steven Sirota" <[EMAIL PROTECTED]>
Subject: Re: newbie question - fron red hat to suse
Date: Wed, 5 May 1999 14:44:47 -0400
Reply-To: "Steven Sirota" <[EMAIL PROTECTED]>

by default suse ppp script is in /etc/suseppp/scripts/ under that directory
there should be
ppp-up and ppp-down

to run them they need one argument try

#./ppp-up generic

if you used yast to set up your ppp connection.

your really not an abba fan are you ? you have to be kidding... ;-)


abba fan > wrote in message <7gpgur$ank$[EMAIL PROTECTED]>...
>Hi all,
>
>This is awfully basic but I'm stuck so please help.
>
>Under Red Hat, ifup ppp0 fired up ppp0 and connected me to the Net.
>
>Under SuSE, ifup is not recognised so I can't get the box to dial.
>
>What is the correct syntax to fire up ppp0 under SuSE please?
>
>Patrick
>
>



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

From: [EMAIL PROTECTED] (Dave Edick)
Subject: Re: Anyone using 'timed'as a time server?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 06 May 1999 00:37:20 GMT

For bootup, I'd recommend rdate instead of ntpdate.  ntpdate won't update the 
clock on the client if it varies more than 30 minutes from the server clock.
So if the hardware clock dies, or misses a daylight savings time change, the
clock won't get updated at all.  Rdate will update the clock regardless of the
time difference.  Personally, I don't need millisecond accuracy and just run
rdate once a day against an atomic clock server from cron.  My clocks have
never drifted more than 2 seconds in a day, and that's accurate enough for my
needs.  That way I don't have yet another process hanging around all the time.

/Dave Edick/   [EMAIL PROTECTED]

On 05 May 1999 16:56:25 -0700, Ronald Cole <[EMAIL PROTECTED]> wrote:
>If you're using NTP, then you'll want to run "ntpdate" to set the date
>prior to starting the ntpd daemon.
>

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

Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.misc,redhat.general
Subject: Re: Multiple IP Addresses
Date: Wed, 5 May 1999 19:38:15 -0500

See http://metalab.unc.edu/LDP/HOWTO/mini/IP-Alias.html

Brian Carter <[EMAIL PROTECTED]> wrote in message
news:u$$qZG0l#GA.60@cpmsnbbsa02...
> I am trying to configure my Linux (Redhat 5.2) to run with multiple
domains,
> each having different IP addresses .. I know this can be done as my
> ex-provider had this set up for me (I then forgot what he did).
>
> I have two domains, and one NIC (eth0)
>
> Can somebody point me in the right direction .. assuming the following :
>
> domain 1 - cma1.com (195.60.36.1)
> domain 2 - cma2.com (195.60.37.1)
>
> regards
> Brian Carter
>
>
>



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

From: [EMAIL PROTECTED]
Subject: Setting Linux up to pass thru Wingate proxy
Date: Wed, 05 May 1999 23:45:00 GMT

I have been baning my head on this one.

 I am new to linux. I do have a little networking background. But every
article I find regarding this problem seems to not relate to what I am
looking for.

 Basicly this is what I need to know.

 I am running Wingate 3.0 on a win98 machine. I recenlty put linux on my
other machine. I am trying to set linux up so that it can access the internet
thru the wingate server. But I can't seem to even find out where to start.

  So far I have managed to get my ethernet card detected using eexpress.c.
That was the EASY part. lol. I have read NET-3.HOWTO . No help there.

 Can someone please post a reply with some possible suggestions?


 Thanks,

 Mike Swearingen

  FYI - I am running Suse 2.2.5 if it matters.

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

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

Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Newbie making network
Date: Wed, 5 May 1999 19:44:43 -0500

http://metalab.unc.edu/LDP/HOWTO/Ethernet-HOWTO.html
http://metalab.unc.edu/LDP/HOWTO/SMB-HOWTO.html
http://metalab.unc.edu/LDP/HOWTO/mini/IP-Masquerade.htm

happy reading

JESPER ALBRECHT MADSEN <[EMAIL PROTECTED]> wrote in message
news:Fm2Y2.565$[EMAIL PROTECTED]...
> Hi!
> I'm trying to connect my Linux and W98 machines, but of course I'm having
> problems!
> I'm Using Ne2000 compitable Netcards on both machines, and I can make a
> connection and share folders/printers in Windows98.
> But I want Linux to work as a server (document, printer and Internet
> connection server). But first of all I want to configure it so I can
connect
> from the w98 machine.
> If you can help me but need more infomation about ...(?) something.
(Netcard
> etc.) feel free to mail me, or if you have a doc or HOWTO I can read and
> use.
> I have read some of the Howto that came with my RH51. but I'm still having
> problems.
>
> Any help is of course aperciated...    Thanks in advance
> Jesper
>
>



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

From: [EMAIL PROTECTED] (Luca Filipozzi)
Crossposted-To: comp.os.linux,comp.os.linux.help,comp.os.linux.setup
Subject: Re: SAMBA: How to get a complete list of computers Netbios name and IP  
addresses in a NT network using a SAMBA CLIENT?
Date: Wed, 5 May 1999 18:15:10 -0700

In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] says...
> Have a look at nslookup with the -B (ip-address) -A (ip-address)
> options.

You probably mean nmblookup.

-- 
Luca Filipozzi <[EMAIL PROTECTED]>

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

From: [EMAIL PROTECTED] (Tom Tang)
Subject: NIS Questions
Date: 6 May 1999 01:10:37 GMT

  Hello All :

    NIS question ...

    In RH 5.2, if I do not want people in the yp database to 
  be able to login to a machine, what is rule to add to 
  /etc/passwd ?  I am hoping for a one liner.  Only a 
  few people in the yp database are supposed to be able to 
  login to the machine.  Thanks.
  
   
-- 

                                          Tom Tang   
                                          [EMAIL PROTECTED]  
                                          http://wwwcsif.cs.ucdavis.edu/~tangj 

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

From: Chris Wolfe <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.help,comp.os.linux.setup
Subject: Re: SAMBA: How to get a complete list of computers Netbios name and IP 
Date: Thu, 06 May 1999 00:55:47 GMT

Have a look at nslookup with the -B (ip-address) -A (ip-address)
options.

Chris

(Does this really relate to comp.os.linux.setup?)

John Wong wrote:
> 
> Dear Linux Advancers,
> 
>     I have a Linux box on an NT network and use smbclient. However, I have
> to know the IP of the service-providing computer in advance. That's
> troublesome..
>     How to get a complete list of computers Netbios name and IP addresses in
> a NT network using a SAMBA CLIENT?
> 
> Thank you
> 
> Best Regards
>     John

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

From: Wisquatuk <[EMAIL PROTECTED]>
Subject: Re: Conflict IP Address in Linux
Date: 6 May 1999 01:27:06 GMT

�輺�� <[EMAIL PROTECTED]> wrote:

> Lets supose two hosts have the same IP.

Ouch. :)

> In case of this situation, What happens to Linux tcp/ip stack of
> Host A and B?  and Will it happens to other operating system tcp/ip
> stack (e.g. Win98 , Solaris , ...)

Well, even though Lose95/98/NT tend to handle networking in a
brain-damaged manner (I was monitoring the network today and sighing
quietly as I saw how much extra traffic Lose95 ACK-packet-lag was
causing), these are really the same question.  Basically, I think
things would continue to work as usual until the sending host or
router updated its ARP table, at which point whichever machine
answered first would be the one that would officially 'be' that IP
address (I presume).

If host A came onto the network first, opened some links, and then
host B came up with the same address, I'm guessing that if host B
started responding to ARP requests first, it would start receiving TCP
packets meant for links that are open only on host A.  It would thus
be getting packets for links that it thinks aren't open, and would
send RST (reset) packets back to the source, which would kill the TCP
link.

If one machine consistently responds to ARP requests first, then I
believe that machine would gain control of the IP in question.  If
they alternated at all, then things would start getting very, very
unreliable. :)

And things might also start getting *really* confusing if the machines
were in promiscuous mode (perhaps because you're doing packet
sniffing, or just like to get huge numbers in your 'RX packets'
field), because at that point, the NICs would start forwarding -all-
packets on the wire to the kernel.  The kernel would (I believe) look
at the IP address, not the MAC address (what ARP replies with), and
thus, *both* machines would start responding to packets.

The result?  Cripes, I really don't know.  If the RST packets got to
the source first, the link would die, but if they didn't, I'm not sure
how TCP is programmed to respond to an ACK packet followed by an RST
packet.  I *assume* it would close the link, but I'm not sure.  Also,
if more data were sent first (so the source receives an ACK from A,
data from A, and an RST from B), the sequence numbers would be outta
sync.  I *think* at that point the RST packets would be ignored and
the link would continue to operate normally, judging from this excerpt
from the RFC-793:

        In all states except SYN-SENT, all reset (RST)
        segments are validated by checking their SEQ-fields.
        A reset is valid if its sequence number is in the
        window.

Since the RST would be acknowledging a SEQ earlier than the current
data point, I think things would continue until one of the RST packets
made it to the source before data did (which would undoubtedly be
rather quickly).  However, I still don't know how these things respond
to just a plain ACK and then RST, without data inbetween.

Lacking any kind of formal education in the area, I can only speculate
on these matters (although knowing the way the education system works
these days, I honestly doubt they'd cover these kinds of scenarios
anyway).  Flames to /dev/null; all you ARP and TCP gurus out there,
please, let me live and learn in peace. :) If I'm wrong, though, I
certainly wouldn't mind some pointers (I love to think out these kinds
of things), and I look forward to seeing if this thread goes any
further.

-- 
 - Wisquatuk (name[1..4]@netrover.com to email)

=====BEGIN GEEK CODE BLOCK=====
Version: 3.12
GCS/CC/M d-(--) a--- C++(+++)>$ UL++++>$ P+++ L+++ E>++ W-(+>++) N+++
!o>++ K- w--- O- M- !V PS++(+++) PE- Y+ PGP+++@ t+@ 5 X+++@ R+ tv b+
DI+@ D+ G>+++ e- h!(++) !r z
======END GEEK CODE BLOCK======

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

Date: Wed, 05 May 1999 20:46:56 -0500
From: Dumouchel Clermont <[EMAIL PROTECTED]>
Subject: Re: Networking the Internet with Linux

I guess any distribution will do.

I'm using RedHat 5.0(hurricane)  an this is exactly the configuration I got
home.

1 pentium 133 with 56k modem( even I only connected at 28.8 (my ISP)
this one handle everything printer server, file server, internet gateway etc.

the only thing I still have problem with is the EMAIL so I use Netscape mail
and have an email account form everyone in the house through my ISP( does not
cost much).
1 486DX66 running RedHat5.0(Hurricane) only file server

by the way both of the linux box above provide SAMBA services

My wife has windows 95, hookup to the network,
My first Daughter has a pentium 90 running windows95 also networked.
My second Daughter has a 486DX50 running windows 95 again hookup to the
network.
I also have my laptop 486DX33 running windows95 not permanently hookup but
get access easily to the internet from this network.


I did a lot of reading books, HOWTO etc.. and I'm still reading and sometimes
ask questions.

Believe me you can do it. I will suggest get a notebook and keep daily tab of
what you doing.

so you can go back and refer and correct and update etc...
I'm still tuning my network.
Good Luck
D.C.



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

From: [EMAIL PROTECTED] (Denis Gyachev)
Crossposted-To: alt.os.linux,linux.rehat.misc,redhat.networking.general
Subject: Re: NT Logon with Linux username
Date: 5 May 1999 22:12:38 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 04 May 1999 02:26:11 GMT, alphaomega <[EMAIL PROTECTED]> wrote:
>Hi All....
>
>At the University we have many Windows NT 4.0 Workstation and we would like
>to make it to validate username and password using Linux RedHat 5.2 as
>account manager, and each time that the user logon in the NT Workstation, it
>would mount it's home directory stored in the Linux Box. I know that in order
>to setup this, NFS and NIS is involved, but I couldn't make it....
>
>Does anyone know another way to do this?
You have to use Samba (www.samba.org), but there is troubles, if you like to set 
up complete NT Domain Controller and store usernames and passwords at server, 
as i know currently it's realisation in samba is incomplete and experimental. 

-- 
Best regards,
Denis

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

From: "Derek Smith" <[EMAIL PROTECTED]>
Subject: Re: THTTPD
Date: Wed, 05 May 1999 22:59:05 GMT

If you are referring to Tiny HTTPD, try

http://www.acme.com/software/thttpd/thttpd.html

I haven't used it (still using Apache) but the author would be able to
answer your questions.


Derek Smith
Sound Technology Consultants


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


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