Re: Jak odpalic inta spod Win3.1?

Autor: Jarek Lis (lis_at_ict.pwr.wroc.pl)
Data: Thu 09 Jan 1997 - 14:01:53 MET


In pl.comp.pecet Krzysztof Halasa <khc_at_hq.pm.waw.pl> wrote:
: Krzysztof Halasa <khc_at_intrepid.pm.waw.pl> writes:
: > Jarek Lis <lis_at_ict.pwr.wroc.pl> writes:
: > > A potrafisz juz zmusic swoj driver do rozeslania po intrfejsach informacji
: > > chocby glupim RIP'em, ze zna routing do drugiego interfejsu ? :))

: Wlasnie sprawdzilem. Operacje byly nastepujace:
: 1. Sciagnalem NetKit-0.09.tar.gz z sunsite.icm.edu.pl:/pub/Linux/Incoming

[root_at_jjl229 /root]# ftp sunsite.icm.edu.pl
Connected to sunsite.icm.edu.pl. ...
ftp> cd /pub/Linux/Incoming
550 /pub/Linux/Incoming: No such file or directory.
ftp> cd /pub/Linux
250 CWD command successful.
ftp> cd incoming
250-
250-All files uploaded here will be deleted unless otherwise agreed with
250-
250- hostmast_at_icm.edu.pl.
250-
250-If you're in for Delphi uploads, cd /incoming/delphi prior to uploading.
250-
250-
250 CWD command successful.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 472
drwxrwxrwt 3 FTP other 512 Jan 7 16:34 .
drwxr-xr-x 12 FTP other 512 Jan 9 04:40 ..
-rw-r--r-- 1 FTP other 168 Jan 5 21:08 .message
-rw------- 1 FTP daemon 225455 Jan 7 16:33 756.zip
drwxrwxrwt 2 4106 public 1024 Jan 9 00:50 delphi
-rw------- 1 FTP daemon 0 Jan 7 16:33 index.txt
-rw------- 1 FTP daemon 0 Jan 7 16:32 lista.txt
-rw------- 1 FTP daemon 0 Jan 7 09:27 msg.txt
-rw------- 1 FTP daemon 0 Jan 7 16:34 radiosity.zip
226 Transfer complete.
ftp> pwd
257 "/incoming" is current directory.
ftp>

Przy Tobie te Linux'y faktycznie chodza lepiej...

No nic - znalazlem na /pub/Linux/sunsite/Incoming

: 2. cd /usr/src; tar zxf /pub/Linux/utils/NetKit-0.09.tar.gz
: 3. cd routed; make
: successful

[root_at_jjl229 routed]# make
gcc -O2 -pipe -Wall -W -Wpoi [....]
/usr/include/posix1_lim.h:72: linux/limits.h: No such file or directory
In file included from defs.h:45,
                 from af.c:41:
/usr/include/sys/param.h:5: linux/limits.h: No such file or directory
/usr/include/sys/param.h:6: linux/param.h: No such file or directory
[....]
/usr/include/sys/socket.h:36: warning: truct sockaddr' declared inside parameter list
/usr/include/sys/socket.h:36: warning: its scope is only this definition or declaration,
/usr/include/sys/socket.h:36: warning: which is probably not what you want.
/usr/include/sys/socket.h:43: warning: truct sockaddr' declared inside parameter list
[...]
Calosci nie przytocze, bo mnie zastrzela...

: Nastepnie tak zrobionego routed'a odpalilem na routerze (routed -g), wywalilem: reczne (statyczne) routingi z innej maszyny, i na niej takze zapalilem routed'a
: (bez -g -> RTFM). Wszystko pracowalo ok. kwadransa bez zadnych bledow, chociaz
: nie lubie, jak mam tyle routes na komputerach.
: Mysle sobie, Ty uzywasz tam Novell'i, moze to problem z Novell'em. [...]

To uwazaj: ChangeLog:
New in 0.09: (29-Dec-1996) .......
- Added functioning routed. (Debian project and Alan Cox) [...]
- deprecated routed; I don't see how it could ever have worked, frankly.

Szkoda ze nie mielismy tej dyskusji dwa tygodnie temu. :-)

P.S. Nie ciesz sie:
/usr/doc/HOWTO/NET-2-HOWTO.gz:
  gated would normally be started from your rc.inet2 which is covered in
  the next section. You might already see a daemon called routed
  running. gated is superior to routed in that it is more flexible and
  more functional. So you should use gated and not routed.
                                               ^^^

: W kazdym razie odpowiedz brzmi: tak, da sie bez jakiegokolwiek problemu
: kazac linux'owi uzywac RIP'a, tak w charakterze serwera, jak i klienta,
: i nie dziala to krocej niz 30 minut. Nie widze tez zadnego powodu, by mialo
: to w ogole przestawac dzialac.

Najwyrazniej probujesz cos dopiero jak masz informacje ze to na 100% dziala,
a nie wtedy jak masz potrzebe :-)

P.S. Co niestety potwierdza moja opinie o Linuxie - moze to i dobry system,
    ale fakt ze przez ostatnich pare lat byl dystrubowany z wadliwym routed
    i nikomu to nie przeszkadzalo tez o czym swiadczy...

J.



To archiwum zostało wygenerowane przez hypermail 2.1.7 : Tue 18 May 2004 - 15:51:21 MET DST