Thanks for the info, I (almost) have it working now. The proper usage
seems to be to leave the interface *out* of the command line, and it
will pick the proper one based upon the IP address which is given to the
interface by ifconfig. I.e, i modified dip's attach.c to do:
ifconfig sl0 my-ip-address pointopoint gateway-ip-address [other opts]
route add default gw gateway-ip-address
This seems to work for me.
I was having another problem also, this may need to be in the NET-2 FAQ,
if your service provider's gateway is on a different network than your
IP address would indicate, i.e., no bits are in common between your IP address
and your SLIP gateway's IP address, you must use the netmask option to
ifconfig, giving netmask 0.0.0.0. Otherwise route will fail and tell you
the network is unreachable.
Alas, I am still having problems--I was able to ftp to tsx-11 and get a
directory listing but when I tried to download a file everything stopped.
ifconfig showed interfaces up, netstat showed connection alive, but the
network was unusable, i.e., no data flowing in or out of the SLIP line.
I'm not sure if it was a random event or if it was induced by attempting
to start an ftp download (which opens a separate data connection). I think
it must have been random, because I was able to get a directory listing
through FTP and that uses a separate connection also.
--
[] [] [][] [][] Kevin Sanders, KN6FQ NCR Torrey Pines
[] [] [] [] [] kevin.sanders@torreypinesca.ncr.com (619) 597-3602
[][] [][] [][] kevin%beacons@cyber.net
[] [] [] [] []
[] [] [] [] [][] Dump MS-DOS. Prevent Programmer Burnout with Linux.
| Borislav Petkov | 2.6.23-rc1: no setup signature found... |
| Andrew Morton | Re: [PATCH] Memory management livelock |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Steven King | ti_usb_3410_5052 breakage in 2.6.24-rc1 |
git: | |
| Linus Torvalds | cleaner/better zlib sources? |
| Theodore Ts'o | [PATCH] Add --no-reuse-delta, --window, and --depth options to git-gc |
| Karl | Re: [PATCH] Add a birdview-on-the-source-code section to the user manual |
| Yossi Leybovich | corrupt object on git-gc |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Richard Stallman | Re: Real men don't attack straw men |
| David Newman | setting dscp or tos bits |
| Stijn | Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1 |
| Quentin Garnier | [cube@cubidou.net: Re: Moving ethfoo in the main tree] |
| cube | Moving ethfoo in the main tree |
| Blair Sadewitz | PCI latency timer values |
| Oliver Gould | kqemu: driver(9)/filedesc(9) questions |
