Re: lug-bg: IPX routing
- Subject: Re: lug-bg: IPX routing
- From: hristo@xxxxxxxxxxxxxxxx (Hristo Genkov)
- Date: Tue, 8 Jan 2002 12:11:47 +0200
Drasti mano!
Izobshto ne pretendiram da sym naqsno s kompiliraneto i /usr/include/linux
shturoptiite, ama kato gledam tova root@wireless si mislq, che vryzvash
bezjichno 2 LAN's i si reshili da minesh "tynko" kato slojish edna wlan na
linux mashinata mejdu tqh:)) Koeto si e pravilniq variant de. Samo che tova
deto se opitvash da go napravish, toest da se vijdat po IPX se pravi s Bridge
- ne ti trqbvat ipxd i drugi takiva shturotii. Bqh pisal tuk po temata predi
okolo 3-4 meseca i imashe dosta interesni predlojeniq, garantiram, che nito
edno ot tqh ne proraboti:)
Ako na mashinata m/u dvete lan's imash wlan0 i eth0 trqbva prosto da si
setup-nesh edin bridge. Koftito idva, ako tova ti e vynshna mashina - iskam
da kaja ako ot tazi mashina pravish routing za inet naprimer, shtoto 2-ta
interfaces ti stavat s obshto IP (predpolagam v tvoq sluchai interna IP) i
prosto zabravqsh za vsichko drugo:) Ako imash problemi sys setup-a pishi, az
sym go pravil na syshtata config - Slack 8 s kernel 2.2.19.
Pozdravi!
On Sunday 06 January 2002 23:57, you wrote:
> sorry za pravopisnata greshka:
> usr/src da se 4ete /usr/include , t.e.
>
> > V dneshni vremena (2.2.xx 2.4.xx kernels) da imash goreposo4enite
> > symlinks e prosto zaqvka za problem, i to _golqm_ . Vsustnost ti pak si
> > imash kernel headers v libc-to, no te sa tezi sprqmo kojto e kompilirano
> > libc-to, i ne biva da se promenqt. T.e. /usr/src/linux e direktoriq a NE
> > _symlink_ kym
>
> T.e. /usr/inlude/linux
>
> > sourceto na tekustiq ti kernel. Ponqkoga ima i /usr/src/linux.old , v
> > tazi
>
> /usr/include/linux.old
>
> > direktoriq se sydurzhat po-stari kernel headers i ponqkoga se prenaso4va
> > gcc s opciqta -I za da include-va ot tam i nomera minava pri kompilaciqta
> > na takiva stari source-ta kojto raz4itat na stari .h files.
> >
> > > root@wireless:/work/ipxripd# make
> > > cc -Wall -O2 -g -c -o ipxd.o ipxd.c
> > > In file included from ipxutil.h:28,
> > > from ipxd.h:27,
> > > from ipxd.c:33:
> > > /usr/include/linux/ipx.h:11: parse error before `__u16'
> > > /usr/include/linux/ipx.h:11: warning: no semicolon at end of struct or
> > > union /usr/include/linux/ipx.h:12: warning: data definition has no type
> > > or storage class
> > > /usr/include/linux/ipx.h:14: parse error before `sipx_type'
> > > /usr/include/linux/ipx.h:14: warning: data definition has no type or
> > > storage class
> > > /usr/include/linux/ipx.h:16: parse error before `}'
> > > /usr/include/linux/ipx.h:29: parse error before `__u32'
> > > /usr/include/linux/ipx.h:29: warning: no semicolon at end of struct or
> > > union /usr/include/linux/ipx.h:30: warning: data definition has no type
> > > or storage class
> > > /usr/include/linux/ipx.h:32: parse error before `}'
> > > /usr/include/linux/ipx.h:32: warning: data definition has no type or
> > > storage class
> > > /usr/include/linux/ipx.h:36: parse error before `__u32'
> > > /usr/include/linux/ipx.h:36: warning: no semicolon at end of struct or
> > > union /usr/include/linux/ipx.h:50: parse error before `}'
> > > /usr/include/linux/ipx.h:50: warning: data definition has no type or
> > > storage class
> > > /usr/include/linux/ipx.h:64: parse error before `__u32'
> > > /usr/include/linux/ipx.h:64: warning: no semicolon at end of struct or
> > > union /usr/include/linux/ipx.h:65: warning: data definition has no type
> > > or storage class
> > > /usr/include/linux/ipx.h:74: parse error before `}'
> > > In file included from ipxd.h:29,
> > > from ipxd.c:33:
> > > ipxsap.h:72: field `dest_addr' has incomplete type
> > > In file included from ipxd.h:30,
> > > from ipxd.c:33:
> > > ipxrip.h:58: field `dest_addr' has incomplete type
> > > In file included from ipxd.c:33:
> > > ipxd.h: In function `print_time':
> > > ipxd.h:71: warning: implicit declaration of function `time'
> > > ipxd.h:72: warning: implicit declaration of function `ctime'
> > > ipxd.h:72: warning: format argument is not a pointer (arg 3)
> > > ipxd.c: At top level:
> > > ipxd.c:64: initializer element is not constant
> > > ipxd.c: In function `ifc_net':
> > > ipxd.c:69: warning: `__v' might be used uninitialized in this function
> > > ipxd.c: In function `run':
> > > ipxd.c:462: storage size of `sipx' isn't known
> > > ipxd.c:462: warning: unused variable `sipx'
> > > make: *** [ipxd.o] Error 1
> > > root@wireless:/work/ipxripd#
> >
> > mda, eto kolko mnogo nesta sa promenini v ipxd.h , a tozi kojto e pisal
> > ipxd.c o4akva syvsem drugo da include ot tam :)
>
> imah predvid /usr/include/linux/ipx.h
>
> P.S. za durgite se sestajte :) , 23:56 e ... i az spq i gresha :)
--
Hristo Genkov
Lovechonline Ltd
System administrator
tel:+359 68 29179
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|