[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DSelect and ftp



Robert-Jan Kuijvenhoven:
> The problem is that dselect fails to connect. Dselect shows the following
> message:
> 
> Connecting to ftp.debian.org
> Failed to connect

The ftp program normally doesn't dial the modem for you, because it doesn't
know whether you aren't just intending to use the ethernet, or even just
connect locally. (Which is usually not done with ftp, but sometimes is with
other things.)

You *can* set up your network so that whenever any program tries to contact
a remote computer it'll dial your ISP, if you want, but first you should
set it up so it works manually using the pon command.

> If I try the pon command, some of the lights of my modem flash, but when
> dselect is trying to connect, the modemlights don't flash. My modem is a
> cable modem, which can be configured just like a normal 28k8 modem.

After you do pon, can you ping your ISP's computer? Like this:
	ping machine.isp.com

If so, try pinging ftp.debian.org

If neither of these says anything, try the command `ifconfig' which will
tell you about all the network interfaces - it should list a loopback, any
ethernet cards you have configured, and the ppp link. `ifconfig -a' will
also list any interfaces that are currently down.

Once the ppp link is UP and RUNNING, the `route' command will tell you how
the kernel thinks it ought to route packets. It should probably have a
none-of-the-above entry at the end that points to the ppp0 Iface.


Oh yeah, does /var/log/ppp.log or /var/log/syslog contain anything
interesting?

HTH

Jiri
-- 
<jiri@baum.com.au>
We'll know the future has arrived when every mailer transparently
quotes lines that begin with "From ", but no-one remembers why.


Reply to: