Linux-Networking Digest #853, Volume #11         Sat, 10 Jul 99 17:13:31 EDT

Contents:
  Re: Private addresses and the internet (David Efflandt)
  Re: Automating FTP sessions in Linux...?....? (David Efflandt)
  Re: Automating FTP sessions in Linux...?....? (David Efflandt)
  Re: Connecting linux on a windows LAN using DCHP (john)
  Linix and IPFWADM (mike lupo)
  Re: "Network Unreachable" ("Devoid")
  Re: Transparent printing thru telnet? (David Efflandt)
  Re: Client/Server how do I? (David Efflandt)
  Re: connecting two networks w/o a router?? (Carl Philipp Staszkiewicz)
  Re: tcpdump help (thebrownhighlander)
  Re: Problem networking two computers WD8013 - Coax - ifconfig - route- hosts? 
(D.Baker)
  Re: Cant get smb running on 2 linux servers ("Andrey Smirnov")
  Re: Network compatability Question. ([EMAIL PROTECTED])
  Re: Binding DHCPD to a particular interface in dhcpd.conf (KevCo)
  IP routing, am I missing something? ([EMAIL PROTECTED])
  firewall/masquerade  -> FTP ("Bodo Noering")
  access to the internet (Martin Rieff)
  Re: Should NIS server run ypbind? (Lorenzo)
  Looking for an NFS guru! (Lorenzo)

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Private addresses and the internet
Date: 10 Jul 1999 19:54:46 GMT
Reply-To: [EMAIL PROTECTED]

On Sun, 04 Jul 1999 07:08:15 -0700, dkselich <[EMAIL PROTECTED]> wrote:
>If I set up my computers with a private network using private addresses
>(ethernet), will I still be able to connect to the internet through my
>ISP (modem)? From what I read in the RedHat guide it dosen't appear
>so. 

You should DEFINATELY use private addresses for any machine that does not
have an IP address from your ISP.  However, the machine that connects to
the internet will use an IP from your ISP for that connection (ppp or
whatever).  In this case you would use IP Masquerade to hide your private
LAN from the outside world.  The internal machines can still communicate
with the internet, but machines on the internet cannot connect to your
internal network unless you let them.  See the HOWTO on IP Masquerade for
more info.

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/


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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Automating FTP sessions in Linux...?....?
Date: 10 Jul 1999 19:13:55 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 10 Jul 1999 08:49:20 -0400, Michael Smith
<[EMAIL PROTECTED]> wrote:
>Is there a way in Linux to automate a ftp session?
>
>In <bad word> NT, you can issue 'ftp -s xxxx.txt ftp.myserver.com', where
>xxxx.txt is a 'ftp script'.

For Perl there is a Net::FTP module available, but is is probably not on
your system (CPAN @ www.perl.com).  The libnet modules include:

Net::FTP        RFC959          File Transfer Protocol
Net::SMTP       RFC821          Simple Mail Transfer Protocol
Net::Time       RFC867          Daytime Protocol
Net::Time       RFC868          Time Protocol
Net::NNTP       RFC977          Network News Transfer Protocol
Net::POP3       RFC1939         Post Office Protocol 3
Net::SNPP       RFC1861         Simple Network Pager Protocol

There is a separate Net::Telnet module also.

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Automating FTP sessions in Linux...?....?
Date: 10 Jul 1999 19:11:24 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 10 Jul 1999 08:49:20 -0400, Michael Smith
<[EMAIL PROTECTED]> wrote:
>Is there a way in Linux to automate a ftp session?
>
>In <bad word> NT, you can issue 'ftp -s xxxx.txt ftp.myserver.com', where
>xxxx.txt is a 'ftp script'.

For Perl there is a Net::FTP module available, but is is probably not on
your system (CPAN @ www.perl.com).  The libnet modules include:

Net::FTP        RFC959          File Transfer Protocol
Net::SMTP       RFC821          Simple Mail Transfer Protocol
Net::Time       RFC867          Daytime Protocol
Net::Time       RFC868          Time Protocol
Net::NNTP       RFC977          Network News Transfer Protocol
Net::POP3       RFC1939         Post Office Protocol 3
Net::SNPP       RFC1861         Simple Network Pager Protocol

There is a separate Net::Telnet module also.

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

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

From: [EMAIL PROTECTED] (john)
Subject: Re: Connecting linux on a windows LAN using DCHP
Date: Sat, 10 Jul 1999 11:45:31 -0800

Raymond thanks for the infos, but can you please be more specific on where I
can find these howtos and man pages..

Revned



   -**** Posted from RemarQ, http://www.remarq.com/?c ****-
 Search and Read Usenet Discussions in your Browser

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

From: mike lupo <[EMAIL PROTECTED]>
Subject: Linix and IPFWADM
Date: Sat, 10 Jul 1999 16:01:45 -0400

Does anybody know how to specifically open a port number with IPFW?

I am clueless when it comes to this.  The man pages were helpful, but a
good example would be nice.

Thanks
Mike


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

From: "Devoid" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.caldera
Subject: Re: "Network Unreachable"
Date: Sat, 10 Jul 1999 15:29:24 -0400


Tim Kelley <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Fri, 9 Jul 1999 11:41:53 -0400, Devoid <[EMAIL PROTECTED]> wrote:
>
> >I've gotten my win 95 box and Linux box talking, but I still haven't
managed
> >to get Samba working.  I can't see the Linux box in the network
> >neighborhood, though I can ping both ways and telnet/ftp
> >from the windows box.  I assigned bogus IP addresses (consecutive)

> If you can ping both ways then your networking is set up correctly.
>
> Are you running both smbd and nmbd?  If so you should see the linux
> machine in Network Neighborhood.
>
> That said, if your samba is not going to be a PDC, then W95 cannot
> access it until you set it for share level access (in smb.conf). Samba
> defaults to user level access, which works fine with NT.  You will
> only be able to see the IPC$ (inter process communication) share (and
> that is not something useable to you).
>
> There is also the password gotcha, and there is some VERY good info in
> the /usr/doc/samba directory.
>
>
> >As stated earlier I've been having the same problem with Samba here, even
> >thought my win box and Linux box are communicating.
>
> Can you mount the Win95 machine's shares on the linux machine
> (smbmount)?  If so, then you need to look at your smb.conf.

Sugoi!
it works now.   I had to do a few registry hacks on the win box, and
change the security as you suggested, but I now am linked.  Thanks
10^6 for your help.
Hasta la victoria sempre!



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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Transparent printing thru telnet?
Date: 10 Jul 1999 20:05:44 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 10 Jul 1999 07:35:01 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>I have been able to make transparent printing work thru xterm/telnet as
>follows:
>
>The client machine is RH6.0 with X windows. A dot matrix printer is attached
>to this machine and defined in lpd. I login to another machine (SCO Unix) on
>the local ethernet using the command: xterm -xrm '*printerAutoClose:true' -e
>telnet scoboxname Now whenever the sco application running in telnet sends
>media copy (mc) esc seq, it prints fine.
>
>Here is the question: How do we make the transparent printing work on linux
>machine where X is not installed? Any ideas?
>
>It seems printing is working due to xterm and not telnet. Is there a telnet
>work-alike with this feature?

I am not familiar with the technique you are using, but I have used 'rlpr'
to print on my Linux box from a telnet session to Solaris which uses a
totally different printing system than Linux does.  Although, I did have
to run rplr's proxy in Linux, because I did not know how to set up lpr to
accept remote printing.  For the Solaris end, I simply compiled rlpr on
Solaris and set up .rlprrc with my Linux hostname and printer (I have
static IP).

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Client/Server how do I?
Date: 10 Jul 1999 19:40:07 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 10 Jul 1999 20:40:59 +0530, Hrishikesh M <[EMAIL PROTECTED]> wrote:
>How do I get Red Hat Linux 5.2 to work in a client/server configuration?
>
>I tried putting a "exec telnet" but it responded with "unable to connect
>to server"
>or something like that. However telnet works fine once I log in on the
>local host.
>
>The server is an Intranet server, and IPs are configured in the
>172.66.x.y range.

Have you tried simply:  telnet 172.66.1.1
(substitute the actual address of your Linux box)
or from the Linux machine iteself try:  telnet localhost

Check /etc/hosts.allow and /etc/hosts/deny and see 'man 5 hosts_access'

For other machines on the LAN to recognize your machine by name you will
either need DNS or put IP and names in /etc/hosts or \windows\hosts of
machines involved.  Also put IP name entries for any non-DNS names that
will connect to Linux in its /etc/hosts.  Linux likes to do a reverse
lookup on anyone that connects to it.

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

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

From: Carl Philipp Staszkiewicz <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.tcp-ip
Subject: Re: connecting two networks w/o a router??
Date: Sat, 10 Jul 1999 22:06:05 +0200

you will have to enable IP forwarding/gatewaying in the kernel (parameter
CONFIG_IP_FORWARD). Then simply configure your intefaces via ifconfig, and add
static routes for the two networks, pointing to the relevant interfaces (route
add -net ..., see 'man route'). With this configuration, users should be able to
communicate across the two networks.

Carl Philipp

flinx wrote:

> On Wed, 05 May 1999 06:32:02 GMT, [EMAIL PROTECTED] wrote:
>
> >
> >The big question is _how_ is the machine connected to the LAN? If you have
> >two network interfaces [one for public, one for private], then your machine
> >can be its own gateway.  Simply run `routed` or `gated` or some variant.
> >There are FAQs that cover this, do a search on the two keywords I just
> >mentioned.
> >
> I have a similar problem...On a Linux machine I have two NIC (eth0 on
> 110.24.55.50 and eth1 on 10.113.231.114) and I would connect the two
> network to permit the user on the first network to go on the second.
> What configuration I must implemented on the machine?
> Gateway? Router?
> Can you help me?
> Sorry for my english :-((
>
> Antonio


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

From: [EMAIL PROTECTED] (thebrownhighlander)
Subject: Re: tcpdump help
Date: Sat, 10 Jul 1999 19:30:14 GMT

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> It would help if you described or included a sample of the incoming packets.
> 
> 

well here is a typescript of the stuff that I am receiving from @home.

Script started on Sat Jul 10 13:26:39 1999
[root@localhost /root]# tcpdump -i eth1

tcpdump: listening on eth1

13:26:48.912648 arp who-has 24.66.201.45.ab.wave.home.com tell 
24.66.201.1

13:26:48.932648 24.65.238.82.ab.wave.home.com.1249 > 
proxy1.rdc1.ab.wave.home.com.domain: 39608+ (43)

13:26:48.962648 proxy1.rdc1.ab.wave.home.com.domain > 
24.65.238.82.ab.wave.home.com.1249: 39608 1/2/2 (184)

13:26:48.972648 24.65.238.82.ab.wave.home.com.1250 > 
proxy1.rdc1.ab.wave.home.com.domain: 39609+ (42)

13:26:48.992648 proxy1.rdc1.ab.wave.home.com.domain > 
24.65.238.82.ab.wave.home.com.1250: 39609 NXDomain* 0/1/0 (125)


13:26:48.992648 24.65.238.82.ab.wave.home.com.1251 > 
proxy1.rdc1.ab.wave.home.com.domain: 39610+ (41)

13:26:49.012648 proxy1.rdc1.ab.wave.home.com.domain > 
24.65.238.82.ab.wave.home.com.1251: 39610 1/2/2 (179)

13:26:49.022648 24.65.238.82.ab.wave.home.com.1252 > 
proxy1.rdc1.ab.wave.home.com.domain: 39611+ (43)

13:26:49.032648 proxy1.rdc1.ab.wave.home.com.domain > 
24.65.238.82.ab.wave.home.com.1252: 39611 1/2/2 (184)

13:26:52.042648 arp who-has 24.66.201.45.ab.wave.home.com tell 
24.66.201.1

13:27:05.282648 arp who-has 24.66.201.45.ab.wave.home.com tell 
24.66.201.1

13:27:06.592648 arp who-has 24.66.201.45.ab.wave.home.com tell 
24.66.201.1

13:27:12.122648 arp who-has 24.66.201.45.ab.wave.home.com tell 
24.66.201.1

13:27:14.992648 arp who-has 24.66.201.45.ab.wave.home.com tell 
24.66.201.1

13:27:25.382648 arp who-has 24.66.201.45.ab.wave.home.com tell 
24.66.201.1

13:27:26.002648 arp who-has 24.64.53.103.ab.wave.home.com tell 24.64.53.1

13:27:26.012648 24.65.238.82.ab.wave.home.com.1253 > 
proxy1.rdc1.ab.wave.home.com.domain: 39612+ (43)

13:27:26.022648 proxy1.rdc1.ab.wave.home.com.domain > 
24.65.238.82.ab.wave.home.com.1253: 39612 1/2/2 (183)

13:27:26.032648 24.65.238.82.ab.wave.home.com.1254 > 
proxy1.rdc1.ab.wave.home.com.domain: 39613+ (41)

13:27:26.042648 proxy1.rdc1.ab.wave.home.com.domain > 
24.65.238.82.ab.wave.home.com.1254: 39613 NXDomain* 0/1/0 (123)

13:27:26.722648 arp who-has 24.66.201.45.ab.wave.home.com tell 
24.66.201.1

13:27:32.122648 arp who-has 24.66.201.45.ab.wave.home.com tell 
24.66.201.1

13:27:35.122648 arp who-has 24.66.201.45.ab.wave.home.com tell 
24.66.201.1



23 packets received by filter

0 packets dropped by kernel

[root@localhost /root]# 
Script done on Sat Jul 10 13:27:43 1999


I am curious.

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

From: [EMAIL PROTECTED] (D.Baker)
Subject: Re: Problem networking two computers WD8013 - Coax - ifconfig - route- hosts?
Date: Sat, 10 Jul 1999 09:38:34 GMT

I finally gave up on this and switched back to the
3com etherlink III  509TP. To get this to  work
ran 3com config utity in dos mode on both
machines. Them in Linux I setup the
Kernal config as
io=
irq=7
addl args= 

Note this will only work with the io and add args left 
blank. Now wasn't that intuitively obvious? The one
thing that clued me into the extra field problem was
an error message like don't understand io= and 
mem=. 
Hope this helps someone.
I havn't been able to get these cards working with
an NT server and win95 client. I downloaded the
latest drivers from 3COM. The NT server always 
boots up saying device error.

Doug



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

From: "Andrey Smirnov" <[EMAIL PROTECTED]>
Subject: Re: Cant get smb running on 2 linux servers
Date: Sat, 10 Jul 1999 13:37:24 -0700

Hello,

In the global section of smb.conf is line that starts with 'hosts allow=',
if you remark this line with semicolon, samba will allow all clients on the
interface it was started.

Also look at man smb.conf

Good luck!

Zorlu Yusuf wrote in message <7m85ho$uhr$[EMAIL PROTECTED]>...
>hi there,
>
>i have 10 WindowsNT/SP4 Workstations and 2 Linux 6.x, kernel 2.2.x
>servers running. The only prob i have, is that smb is not running
correctly.
>My clients (WindowsNT) can't access the shares because
>they get a message like this: "Login from this machine not allowed".
>
>Is there someone, somewhere who can send me a sample
>SMB.CONF file?
>
>
>




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

From: [EMAIL PROTECTED]
Subject: Re: Network compatability Question.
Date: Sat, 10 Jul 1999 20:40:11 GMT

I've networked two Win95 PCs using the SOHOware Network ISA cards and
hub (10M).  So far, I can't get the RedHat 6.0 installation routine to
recognize this network (I want to install Linux to a network drive).

I haven't quite given up yet but it sure don't look good.  There's some
discussion of rebuilding the kernel with a revised version of tulip.c;
but if I can't install Linux, I can't rebuild the kernel for the
installer.

If I get it working, I'll let you know.

FredH

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Tigas77) wrote:
> I bought a SOHOware quick networking kit at compusa by NDC
communications and
> I'm running it at home all my pc's has windows nt OS running on it.
Is it
> possible that I can add a linux box on it? is it compatible with the
hub?
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: KevCo <[EMAIL PROTECTED]>
Subject: Re: Binding DHCPD to a particular interface in dhcpd.conf
Date: Sat, 10 Jul 1999 21:01:13 GMT

Well, I don't know if it can be done in dhcpd.conf or not but I modified
the the dhcpd script in init.d and it works fine for me.

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

From: [EMAIL PROTECTED]
Subject: IP routing, am I missing something?
Date: Sat, 10 Jul 1999 20:07:52 GMT

Hi, I have a PC with two WD8003 Network cards, as below

Interface1:     IP:             128.127.70.213
                Netmask:        255.255.0.0
                device:         eth0

Interface2:     IP:             192.168.2.1
                Netmask:        255.255.0.0
                device:         eth1

IP_FORWARD=YES

What routing table do I need to get packets passed through this
machine?


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

From: "Bodo Noering" <[EMAIL PROTECTED]>
Subject: firewall/masquerade  -> FTP
Date: Sat, 10 Jul 1999 22:59:31 +0200

Hi all,

perhaps someone can give me an advice:

Configuration of my net:
Linux-Server (SuSE 6.1)
2 Win98 WS

Connection to Internet (http) works fine.

Now the probs:
1    Can�t connect to any FTP-Server via FTP on the Win98 WS
2    Can�t connect to any Newsgroup on the Win98 WS

Have set up Firewall/Masquerade, nothing changed.

Would anyone please post (or eMail) the settings of the Firewall/Masquerade
with a similar net configuration?

How I have to configure the FTP software (Win98): Port? PASV?

Have read all man pages and other infos, but did not find anything that
helped me.

Thanks in advance!
Bodo




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

From: Martin Rieff <[EMAIL PROTECTED]>
Subject: access to the internet
Date: Sat, 10 Jul 1999 23:01:59 +0200

you have to start the smb-server and, i only know SuSe-Linux, to edit
the smb configuration files!
See also the help files on ftp.suse.com.

M.Rieff


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

From: Lorenzo <[EMAIL PROTECTED]>
Subject: Re: Should NIS server run ypbind?
Date: Sat, 10 Jul 1999 21:34:30 +0200

[EMAIL PROTECTED] wrote:

> Should a NIS server run ypbind like all its client machines?
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.

I don't think so! What should be the reason?

Lorenzo


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

From: Lorenzo <[EMAIL PROTECTED]>
Subject: Looking for an NFS guru!
Date: Sat, 10 Jul 1999 21:40:10 +0200

Hi, since I've installed Red Hat 6.0 with NIS and NFS on a Server that
shares  two file system (/home and /usr/local), each time a user logs in

from the client I get some strange and unsafe errors on the server:

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

fh_verify: //lorenzo permission failure, acc=1, error=13
fh_verify: //lorenzo permission failure, acc=1, error=13

fh_verify: PC1.UNIPD.IT/.nfs0002b80200000001 permission failure, acc=a,
error=13
exifh_verify: root/PC1.UNIPD.IT permission failure, acc=13, error=13

//quota.user permission failure, acc=4, error=13
fh_verify: //quota.user permission failure, acc=4, error=13
fh_verify: //quota.user permission failure, acc=4, error=13
fh_verify: //quota.user permission failure, acc=4, error=13
fh_verify: //quota.user permission failure, acc=4, error=13
fh_verify: //lorenzo permission failure, acc=1, error=13

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

Is anybody smart enough to explain to me what this crap means?

Lorenzo




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


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