Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2003 13:46:18 -0500
From:      "Vaughan Moore" <vaughan.moore@verizon.net>
To:        "Terry J Dunlap Jr" <terrydunlap@netzero.net>
Cc:        <freebsd-questions@freebsd.org>
Subject:   RE: FTP installation through a NAT on a DSL connection
Message-ID:  <NGBBLBBPOLBCCFIPOFBOMEJGCBAA.vaughan.moore@verizon.net>
In-Reply-To: <000801c2dae9$a743f8c0$0201a8c0@barney>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the suggestion.  In this case, I don't think this is the problem.
I took a look at the debugging messages and I see the installation program:

Found ftp2.freebsd.org
logged me in
changed working directories to the 4.7-RELEASE
then:
Sending PASV
Entering Passive Mode (130,94,149,162,215,188)
Sending: RETR bin/bin.inf
Opening BINARY mode data connection for 'bin/bin.inf' (4255 bytes)
DEBUG: Parsing atributes file for distribution bin

Then I get an error message "Cannont parse information file for the bin
distribuiton:  I/O error.  Please verify that your media is valid and try
again.

So, it seems that I'm able to log in to the FTP server, change directories,
enter passive mode and request the bin.inf file.  All those activities don't
take much in the way of packet size.  But the bin.inf is 4255 bytes so the
packets will have to be broken down.  As I said in my original message, I
think the problem is my MTU setting.

Does anyone know how to change the Max MTU size in the Network Configuration
screen.  It seems like I would be able to put a command in the options box.
I experimented with this but I guess I'm not getting the syntax right.  I've
had to set the Max MTU on my Windows machine to 1330 so it makes sense that
I would have to do the same on freebsd.

Thanks for the help.

Vaughan

-----Original Message-----
From: Terry J Dunlap Jr [mailto:terrydunlap@netzero.net]
Sent: Saturday, February 22, 2003 10:14 PM
To: Vaughan Moore
Subject: Re: FTP installation through a NAT on a DSL connection


If your install box is connecting through the Win98 box with Zone Alarm, did
you add the FTP site as one of the authorized IPs you can connect with? And,
have you tried connecting when Zone Alarm is disabled?

I had the exact problem with my FreeBSD router. I could make the connection
to the site, but packets coming back were blocked. After some research, I
discovered I needed to add a dynamic rule that would allow it back in. The
only way I know how to do that with Zone Alarm is to add the IP to the list
of allowable hosts.

Terry

----- Original Message -----
From: "Vaughan Moore" <vaughan.moore@verizon.net>
To: "Willie Viljoen" <will@unfoldings.net>
Cc: <freebsd-questions@freebsd.org>
Sent: Saturday, February 22, 2003 9:57 PM
Subject: RE: FTP installation through a NAT on a DSL connection


> Well, at least now I'm getting packets back and forth.
>
> DNS: query 10.10.1.210:1024 -> 199.45.32.43:53 for ftp2.freebsd.org
> DNS: query 151.200.238.11:45175 -> 199.45.32.43:53 for ftp2.freebsd.org
> DNS: query 10.10.1.210:1025 -> 199.45.32.43:53 for ftp2.freebsd.org
> DNS: query 151.200.238.11:45176 -> 199.45.32.43:53 for ftp2.freebsd.org
> TCP: packet 5400, length 74, 10.10.1.210:1024 -> 130.94.149.162:21, flags:
> SYN , seq:2842580946 ack:0
> TCP: packet 5404, length 74, 151.200.238.11:45177 -> 130.94.149.162:21,
> flags: SYN , seq:2842580946 ack:0
> TCP: packet 5405, length 74, 130.94.149.162:21 -> 151.200.238.11:45177,
> flags: SYN ACK , seq:1377839201 ack:2842580947
> TCP: packet 5406, length 74, 130.94.149.162:21 -> 10.10.1.210:1024, flags:
> SYN ACK , seq:1377839201 ack:2842580947
> TCP: packet 5407, length 66, 10.10.1.210:1024 -> 130.94.149.162:21, flags:
> ACK , seq:2842580947 ack:1377839202
> TCP: packet 5408, length 76, 10.10.1.210:1024 -> 130.94.149.162:21, flags:
> ACK , seq:2842580947 ack:1377839202
> TCP: packet 5409, length 66, 151.200.238.11:45177 -> 130.94.149.162:21,
> flags: ACK , seq:2842580947 ack:1377839202
> TCP: packet 5410, length 76, 151.200.238.11:45177 -> 130.94.149.162:21,
> flags: ACK , seq:2842580947 ack:1377839202
> TCP: packet 5411, length 123, 130.94.149.162:21 -> 151.200.238.11:45177,
> flags: ACK , seq:1377839202 ack:2842580947
> TCP: packet 5412, length 123, 130.94.149.162:21 -> 10.10.1.210:1024,
flags:
> ACK , seq:1377839202 ack:2842580947
> TCP: packet 5413, length 124, 130.94.149.162:21 -> 151.200.238.11:45177,
> flags: ACK , seq:1377839259 ack:2842580957
> TCP: packet 5414, length 124, 130.94.149.162:21 -> 10.10.1.210:1024,
flags:
> ACK , seq:1377839259 ack:2842580957
> TCP: packet 5415, length 66, 10.10.1.210:1024 -> 130.94.149.162:21, flags:
> ACK , seq:2842580957 ack:1377839317
> TCP: packet 5416, length 99, 10.10.1.210:1024 -> 130.94.149.162:21, flags:
> ACK , seq:2842580957 ack:1377839317
> TCP: packet 5417, length 66, 151.200.238.11:45177 -> 130.94.149.162:21,
> flags: ACK , seq:2842580957 ack:1377839317
> TCP: packet 5418, length 99, 151.200.238.11:45177 -> 130.94.149.162:21,
> flags: ACK , seq:2842580957 ack:1377839317
> TCP: packet 5419, length 114, 130.94.149.162:21 -> 151.200.238.11:45177,
> flags: ACK , seq:1377839317 ack:2842580990
> TCP: packet 5420, length 114, 130.94.149.162:21 -> 10.10.1.210:1024,
flags:
> ACK , seq:1377839317 ack:2842580990
> TCP: packet 5421, length 74, 10.10.1.210:1024 -> 130.94.149.162:21, flags:
> ACK , seq:2842580990 ack:1377839365
> TCP: packet 5422, length 74, 151.200.238.11:45177 -> 130.94.149.162:21,
> flags: ACK , seq:2842580990 ack:1377839365
> TCP: packet 5423, length 86, 130.94.149.162:21 -> 151.200.238.11:45177,
> flags: ACK , seq:1377839365 ack:2842580998
> TCP: packet 5424, length 86, 130.94.149.162:21 -> 10.10.1.210:1024, flags:
> ACK , seq:1377839365 ack:2842580998
>
> But, I get this error message:
>
> Cannot parse information file for the bin distribution:  I/O error.
Please
> verify that your media is valid and try again.
>
> My ip gateway is 10.10.1.1
> My name server is 199.45.32.43
> My ip is 10.10.1.210
> My netmask is 255.255.255.0
>
> Again, thanks so much for the help.
>
> Vaughan
>
>
> -----Original Message-----
> From: Willie Viljoen [mailto:will@phoenix.home.laserfence.net]On Behalf
> Of Willie Viljoen
> Sent: Saturday, February 22, 2003 5:15 PM
> To: Vaughan Moore
> Cc: freebsd-questions@freebsd.org
> Subject: Re: FTP installation through a NAT on a DSL connection
>
>
> You're one step closer. When doing network configuration, make sure you
list
> a valid and real DNS server. Try setting it up to use the DNS at your ISP,
> or the winroute if it provides DNS.
>
> On Sunday 23 February 2003 0:08, Vaughan Moore wrote:
> > Thanks so much for the suggestion.  When I use passive mode I get an
> > error message "Could not open ftp connection to ftp3.freebsd.org.
> > Service not available, closing control connection."  When I hit OK
> > another error message comes up "unable to initialize selected media.
> > Would you like to adjust you media configuration and try again?"  When I
> > do that, I go through the network configuration process again, but I get
> > an immediate error message "Cannot resolve host name ftp3.freebsd.org!
> > Are you sure that your name server, gateway and network interface are
> > correctly configured?"  I'm using DHCP, and it is pulling the correct
> > IP's for these.
> >
> > Here's the log in my Winroute NAT.  What do you think I'm doing wrong?
> >
> > Vaughan
> >
> >
> > Interface Table:
> > Interface  Status  Medium  IP address  NAT  Index
> > NETGEAR FA310TX Fast Ethe...  Up  Ethernet  10.10.1.1   50331652
> > NETGEAR FA311 Fast Ethern...  Up  Ethernet  10.10.1.0   67108869
> > Dial in adapter  Down  RAS  0.0.0.0   0
> > line1  Up  RAS  151.200.238.11  on  16777218  dhcp
> >
> > TCP/IP stack's Routing Table:
> > Net Mask  Gateway Interface  Metric
> > 0.0.0.0  0.0.0.0   line1  1
> > 10.10.1.0  255.255.255.0   NETGEAR FA310TX Fast Ethe...  2
> > 10.10.1.0  255.255.255.0   NETGEAR FA311 Fast Ethern...  2
> > 151.200.0.0  255.255.0.0   line1  1
> >
> > DNS: query 10.10.1.210:1024 -> 10.10.1.1:53 for ftp3.freebsd.org
> > dns: query from 10.10.1.210:1024 id 41361
> > dns: question: A, ftp3.freebsd.org
> > dns: reply: ftp3.freebsd.org has 198.82.184.28
> > DNS: query 10.10.1.210:1025 -> 10.10.1.1:53 for ftp3.freebsd.org
> > dns: query from 10.10.1.210:1025 id 41362
> > dns: question: A, ftp3.freebsd.org
> > dns: reply: ftp3.freebsd.org has 198.82.184.28
> > TCP: packet 1278, length 74, 10.10.1.210:1024 -> 198.82.184.28:21,
flags:
> > SYN , seq:4161382813 ack:0
> > TCP: packet 1282, length 74, 151.200.238.11:45050 -> 198.82.184.28:21,
> > flags: SYN , seq:4161382813 ack:0
> >
> >  - > Snip - Repeats 8 times and drops down to a length of 60 after try
> > number 3
> >
> > DNS: query 151.200.238.11:45051 -> 199.45.32.43:53 for
> > 9.136.168.217.in-addr.arpa
> > DNS: query 151.200.238.11:45052 -> 199.45.32.38:53 for
> > 9.136.168.217.in-addr.arpa
> > TCP: packet 1323, length 74, 198.82.184.28:21 -> 151.200.238.11:45050,
> > flags: SYN ACK , seq:77305705 ack:4161382814
> > TCP: packet 1327, length 74, 198.82.184.28:21 -> 10.10.1.210:1024,
flags:
> > SYN ACK , seq:77305705 ack:4161382814
> > TCP: packet 1328, length 60, 10.10.1.210:1024 -> 198.82.184.28:21,
flags:
> > RST , seq:4161382814 ack:0
> >
> > This is where the install program quit and asked if I wanted to retry.
> >
> > -----Original Message-----
> > From: Willie Viljoen [mailto:will@phoenix.home.laserfence.net]On Behalf
> > Of Willie Viljoen
> > Sent: Saturday, February 22, 2003 11:26 AM
> > To: Vaughan Moore
> > Cc: freebsd-questions@freebsd.org
> > Subject: Re: FTP installation through a NAT on a DSL connection
> >
> > On Saturday 22 February 2003 16:55, Vaughan Moore wrote:
> > > I'm installing 4.7 at home.  The Intel box is behind a NAT running on
a
> > > Win98 box with ZoneAlarm running.  The point of installing 4.7 is so
> > > that I can replace the 98 box as my gateway to my Verizon DSL
> > > connection.
> > >
> > > My installation fails when the program tries to access one of the ftp
> > > servers.  When the time-out occurs I get an installation media error
> > > message.
> > >
> > > I know that my subnet on the NAT works because when I plug a 2000
> > > machine into the gateway I can access the Internet.  However, I had to
> > > lower the Max MTU settings in the registry to do it.  I understand
that
> > > PPPoE requires a lower MTU setting, but I'm not sure how to set MTU in
> > > the installation program.
> > >
> > > Can anyone help me with the problem?
> > >
> > > Vaughan Moore
> >
> > I'm almost sure MTU is not the problem in this case, the Windows machine
> > should be taking care of that. Try setting FTP into passive mode in the
> > installer's options screen, or turning off passive mode if that's the
> > default on your version. Windows 98 NATs are not famous for handling FTP
> > properly.
> >
> > --
> > Willie Viljoen
> > Freelance IT Consultant
> >
> > 214 Paul Kruger Avenue, Universitas
> > Bloemfontein
> > 9321
> > South Africa
> >
> > +27 51 522 15 60
> > +27 51 522 44 36 (after hours)
> > +27 82 404 03 27 (mobile)
> >
> > will@unfoldings.net
>
> --
> Willie Viljoen
> Freelance IT Consultant
>
> 214 Paul Kruger Avenue, Universitas
> Bloemfontein
> 9321
> South Africa
>
> +27 51 522 15 60
> +27 51 522 44 36 (after hours)
> +27 82 404 03 27 (mobile)
>
> will@unfoldings.net
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NGBBLBBPOLBCCFIPOFBOMEJGCBAA.vaughan.moore>