Nowe posty

Autor Wątek: Itables wszystkie wersje i ani jednej nie umie skompilowac  (Przeczytany 443 razy)

massior

  • Gość
Witam , moj problem jest nastepujący :
mam sieciowke i modem zewnetrzny na COM1, lacze odpalam przy uzyciu pppd /dev/ttyS0, wszystko ladnie pieknie, ale w momencie aktywowania sieci owki (monitor sieci), internet mi nie smiga, a wszystko probuje sie laczyc poprzez ta sieciowke :-/ jak to naprawic zeby domyslnym bym laczem bylo to przez ppp0 ?

jezior

  • Gość
Itables wszystkie wersje i ani jednej nie umie skompilowac
« Odpowiedź #1 dnia: 2006-03-07, 22:51:33 »
2006-03-07 20:45:57 massior napisał:

> Witam , moj problem jest nastepujący :
 > mam sieciowke i modem zewnetrzny na COM1, lacze odpalam przy uzyciu pppd /dev/ttyS0, wszystko
 > ladnie pieknie, ale w momencie aktywowania sieci owki (monitor sieci), internet mi nie smiga, a
 > wszystko probuje sie laczyc poprzez ta sieciowke :-/ jak to naprawic zeby domyslnym bym laczem
 > bylo to przez ppp0 ?

Motasz sie cos w zeznaniach...
#route -vnee
man route

massior

  • Gość
Itables wszystkie wersje i ani jednej nie umie skompilowac
« Odpowiedź #2 dnia: 2006-03-08, 14:21:44 »
 > Motasz sie cos w zeznaniach...
 > #route -vnee
 > man route
 >

oki to wyjasnie to inaczej :P
Mam zainstalowane Ubuntu 5.10, polaczenie z internetem mam poprzez modem zewnetrzny na COM1 ktore inicjuje przy uzyciu pppd ,gdy jakies klienty typu KPPP itp nie laczam sie z miom uslugodawca, natomiast w momencie gdy \\"aktywuje\\" polaczenie sieciowe, poprzez ktore sie laczyc z 2 komputerem w domu, wowczas domyslna bramka staje sie ta z ustawienia karty sieciowej i kazdy program ktory wykorzystuje polaczenie z internetem probuje sie wowczas laczyc przez bramke sieciowki a nie przez ppp0. Jak to naprawic ?

jezior

  • Gość
Itables wszystkie wersje i ani jednej nie umie skompilowac
« Odpowiedź #3 dnia: 2006-03-08, 15:33:55 »
2006-03-08 14:21:44 massior napisał:

 > Jak to naprawic ?

Odpowiedz ciagle ta sama ;-) Cos ubuntu robi za Ciebie czego robic nie powinien.

man route (szukaj \\'route add\\' \\'route del\\')

jezior

  • Gość
Itables wszystkie wersje i ani jednej nie umie skompilowac
« Odpowiedź #4 dnia: 2006-03-08, 15:41:13 »
2006-03-08 15:33:55 jezior napisał:

 > Cos ubuntu robi za Ciebie czego robic nie powinien.

To cos to jest defaultowa brama ustawiona w konfigu eth, nie moze byc 2 defaultowych bram wiec po wlaczeniu eth brama z ppp0 jest nadpisywana ;-)

renepl

  • Gość
Itables wszystkie wersje i ani jednej nie umie skompilowac
« Odpowiedź #5 dnia: 2006-03-07, 12:31:04 »
Witam
Mam od jakiegos czasu jak zaczolem sie bawic iproute2,IMQ , HTB,patch-o-matic

problemy z zainstalowaniem jakiej kolwiek wersji iptables
zawsze jakis blad przewaznie zwiazany z "name"
czegos nie umie przy kompilacji wykryc nazw co jest grane czy patch-o-matic spieprzył mi cały sys?

Co mam zrobic ? Proszę o pomoc


tu ew. błedy

W wersji 1.2.7a błedy typu:
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION="1.2.7a"  -fPIC -o extensions/libipt_ROUTE_sh.o -c extensions/libipt_ROUTE.c
extensions/libipt_ROUTE.c: In function `parse':
extensions/libipt_ROUTE.c:67: incompatible types in assignment
extensions/libipt_ROUTE.c:81: incompatible types in assignment
extensions/libipt_ROUTE.c: In function `print':
extensions/libipt_ROUTE.c:122: warning: unsigned int format, pointer arg (arg 2)
make: *** [extensions/libipt_ROUTE_sh.o] Error 1

w 1.2.8 typu


.2.8"  -fPIC -o extensions/libip6t_HL_sh.o -c extensions/libip6t_HL.c
extensions/libip6t_HL.c: In function `parse':
extensions/libip6t_HL.c:58: dereferencing pointer to incomplete type
extensions/libip6t_HL.c:58: `IP6T_HL_SET' undeclared (first use in this function
)
extensions/libip6t_HL.c:58: (Each undeclared identifier is reported only once
extensions/libip6t_HL.c:58: for each function it appears in.)
extensions/libip6t_HL.c:67: dereferencing pointer to incomplete type
extensions/libip6t_HL.c:67: `IP6T_HL_DEC' undeclared (first use in this function
)
extensions/libip6t_HL.c:76: dereferencing pointer to incomplete type
extensions/libip6t_HL.c:76: `IP6T_HL_INC' undeclared (first use in this function
)
extensions/libip6t_HL.c:84: dereferencing pointer to incomplete type
extensions/libip6t_HL.c: In function `save':
extensions/libip6t_HL.c:103: dereferencing pointer to incomplete type
extensions/libip6t_HL.c:104: `IP6T_HL_SET' undeclared (first use in this functio
n)
extensions/libip6t_HL.c:107: `IP6T_HL_DEC' undeclared (first use in this functio
n)
extensions/libip6t_HL.c:111: `IP6T_HL_INC' undeclared (first use in this functio
n)
extensions/libip6t_HL.c:115: dereferencing pointer to incomplete type
extensions/libip6t_HL.c: In function `print':
extensions/libip6t_HL.c:125: dereferencing pointer to incomplete type
extensions/libip6t_HL.c:126: `IP6T_HL_SET' undeclared (first use in this functio
n)
extensions/libip6t_HL.c:129: `IP6T_HL_DEC' undeclared (first use in this functio
n)
extensions/libip6t_HL.c:132: `IP6T_HL_INC' undeclared (first use in this functio
n)
extensions/libip6t_HL.c:136: dereferencing pointer to incomplete type
extensions/libip6t_HL.c: At top level:
extensions/libip6t_HL.c:150: sizeof applied to an incomplete type
extensions/libip6t_HL.c:151: sizeof applied to an incomplete type
make: *** [extensions/libip6t_HL_sh.o] Error 1

w 1.3.1


In file included from extensions/libipt_set.c:23:
extensions/libipt_set.h: In function `parse_bindings':
extensions/libipt_set.h:21: `IP_SET_MAX_BINDINGS' undeclared (first use in this function)
extensions/libipt_set.h:21: (Each undeclared identifier is reported only once
extensions/libipt_set.h:21: for each function it appears in.)
In file included from extensions/libipt_set.c:23:
extensions/libipt_set.h: In function `get_set_byname':
extensions/libipt_set.h:53: storage size of `req' isn't known
extensions/libipt_set.h:54: sizeof applied to an incomplete type
extensions/libipt_set.h:57: `IP_SET_OP_GET_BYNAME' undeclared (first use in this function)
extensions/libipt_set.h:66: sizeof applied to an incomplete type
extensions/libipt_set.h:70: sizeof applied to an incomplete type
extensions/libipt_set.h:71: `IP_SET_INVALID_ID' undeclared (first use in this function)
extensions/libipt_set.h:75: structure has no member named `index'
extensions/libipt_set.h:53: warning: unused variable `req'
extensions/libipt_set.h: At top level:
extensions/libipt_set.h:78: parse error before "ip_set_id_t"
extensions/libipt_set.h: In function `get_set_byid':
extensions/libipt_set.h:80: storage size of `req' isn't known
extensions/libipt_set.h:81: sizeof applied to an incomplete type
extensions/libipt_set.h:84: `IP_SET_OP_GET_BYINDEX' undeclared (first use in this function)
extensions/libipt_set.h:92: sizeof applied to an incomplete type
extensions/libipt_set.h:96: sizeof applied to an incomplete type
extensions/libipt_set.h:99: warning: int format, pointer arg (arg 3)
extensions/libipt_set.h:101: `setname' undeclared (first use in this function)
extensions/libipt_set.h:80: warning: unused variable `req'
extensions/libipt_set.c: In function `parse':
extensions/libipt_set.c:60: structure has no member named `match_set'
extensions/libipt_set.c: In function `print_match':
extensions/libipt_set.c:113: structure has no member named `index'
extensions/libipt_set.c:118: `IP_SET_MAX_BINDINGS' undeclared (first use in this function)
extensions/libipt_set.c: In function `print':
extensions/libipt_set.c:136: structure has no member named `match_set'
extensions/libipt_set.c: In function `save':
extensions/libipt_set.c:146: structure has no member named `match_set'
make: *** [extensions/libipt_set_sh.o] Error 1

w najnowszej  1.3.5-20060306

cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION="1.3.5-20060306"  -fPIC -o extensions/libipt_osf_sh.o -c extensions/libipt_osf.c
extensions/libipt_osf.c: In function `help':
extensions/libipt_osf.c:46: warning: too many arguments for format
extensions/libipt_osf.c: In function `parse':
extensions/libipt_osf.c:107: `IPT_OSF_CONNECTOR' undeclared (first use in this function)
extensions/libipt_osf.c:107: (Each undeclared identifier is reported only once
extensions/libipt_osf.c:107: for each function it appears in.)
make: *** [extensions/libipt_osf_sh.o] Error 1