Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3900: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3902: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3903: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3904: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
serwer www+debian ver stable • programosy.pl

  • Ogłoszenie:

serwer www+debian ver stable

Dyskusje i problemy z Unix'ami

serwer www+debian ver stable

Postprzez joe 11 Lip 2005, 21:33

reklama
Witam, chce sobie postawic wlasny serwer www. Mam dostep do internetu poprzez modem kablowy, posiadam zew. ip, dokupilem router (asmax BR-604) aby jeden komp z ktorego korzystam byl typu desktop a drugi ma byc serewerem i chodzic 24h.... zainstalowalem na przyszlym serwerku debiana woody 3.0 i mam problem bo nie moge nawiazac polaczenia poprzez router z internetem, przy czym z kompa gdzie mam win xp nie ma z tym problemu jednoczesnie zaznczam, ze jak podlacze www bezposrednio do modemu kablowego to moge korzystac z apt czyli nawiazuje laczenie z netem jednak chce uruchomic go poprzez routera tj. pisalem wyzej.
Moze ktos z Was drodzy forumowicze wie jak rozwiazac ten problem ??...Bede wdzieczny za kazde info w tej sprawie. Z gory dziekuje i pozdrawiam.
joe
~user
 
Posty: 18
Dołączenie: 11 Lip 2005, 21:21



Postprzez dark 11 Lip 2005, 22:36

Nie wiem czy dobrze zrozumiałem (fatalnie przedstawiony problem), ale wychodzi na to, że problem tkwi w samym routerze. Czyli nasuwają się 2 wnioski:

1. Router nie działa.
2. Router jest źle skonfigurowany.

U siebie w domu zrobiłem coś takiego:

1. Zainstalowałem na PIII 500MHz, 128MB RAM Debiana 3.1 Sarge (obecna stabilna wersja systemu).
2. Serwer robi jako router, FTP, HTTP.
3. W chwili obecnej wszystko działa poprawnie :^)
Long Hard Road Out Of Hell...
Awatar użytkownika
dark
~user
 
Posty: 387
Dołączenie: 07 Maj 2005, 15:38
Miejscowość: Głogów
Pochwały: 10



Postprzez joe 11 Lip 2005, 22:51

dark napisał(a):1. Router nie działa.

Jakby nie dzialal to bym nie laczyl sie z internetem za jego posrednictwem
z komputera na ktorym mam win xp.
dark napisał(a):2. Router jest źle skonfigurowany.

skonfigurowany jest tak aby automatycznie pobieral ustawienia z modemu mojego providera.
joe
~user
 
Posty: 18
Dołączenie: 11 Lip 2005, 21:21



Postprzez dark 12 Lip 2005, 12:13

joe napisał(a):Jakby nie dzialal to bym nie laczyl sie z internetem za jego posrednictwem z komputera na ktorym mam win xp.


Czy ja niewyraźnie napisałem: (fatalnie przedstawiony problem) ???

Jeżeli więc łączysz z Internetem to problem tkwi po stronie systemu operacyjnego. Interfejs masz skonfigurowany? Karta sieciowa jest w ogóle widziana przez system? W ogóle karta sieciowa jest zainstalowana?

# dmesg | grep eth
# ifconfig
# ip r

Co to zwraca?

joe napisał(a):skonfigurowany jest tak aby automatycznie pobieral ustawienia z modemu mojego providera.


A przydziela adres w sieci?

Powtarzam: fatalnie przedstawiony problem.
Long Hard Road Out Of Hell...
Awatar użytkownika
dark
~user
 
Posty: 387
Dołączenie: 07 Maj 2005, 15:38
Miejscowość: Głogów
Pochwały: 10



Postprzez joe 12 Lip 2005, 12:31

"jednoczesnie zaznczam, ze jak podlacze serwer www bezposrednio do modemu kablowego to moge korzystac z apt czyli nawiazuje laczenie z netem......"


- Karta sieciowa jest i dziala dobrze ale bez ruotera. Skonfigurowana pod debianem w taki sposob aby automatycznie pobierala adres ip, maske, gateway z dhcp. Probowalem statycznie przypisac.....nie pomoglo.

mysle ze problem juz jest lepiej przedstawiony :).

- router adres przydziela.
joe
~user
 
Posty: 18
Dołączenie: 11 Lip 2005, 21:21



Postprzez dark 12 Lip 2005, 12:41

Inaczej, przedstaw mi problem jak baranowi, bo już kompletnie się pogubiłem.

Masz serwer, workstacje i router.

INTERNET <- Router <- serwer i workstacja

Tak to wygląda?

Czyli router jest podłączony do Internetu, router rozdziela łącza na dwa komputery. Jeden to jest serwer, a drugi to workstacja. Na serwerze i na workstacji jest dostęp do Internetu. Więc gdzie jest problem? Bo już kompletnie nie rozumiem co chcesz zrobić.
Long Hard Road Out Of Hell...
Awatar użytkownika
dark
~user
 
Posty: 387
Dołączenie: 07 Maj 2005, 15:38
Miejscowość: Głogów
Pochwały: 10



Postprzez joe 12 Lip 2005, 12:51

jest Internet <- router <- serwer i workastacja
w tej konfiguracju internet (czyt. laczy z netem np. moge surfowac po stronkach badz pobierac film) dziala tylko na workstacja
jest INternet < - serwer
w tej konfiguracji dziala internet na serwerze (czyt. moge pobierac poprzez apt-get install .....)

wniosek jest taki ze karta sieciowa jest, dziala dobrze, pobiera adres, brame itp. ale jak podlaczam ja pod router pojawia sie problem bo nie moge korzystac z apt i doinstalowac np. apache

jest sposob aby to ominac i skorzystac z Internet < - serwer ; aby zainstalowac apache. Jednak ta opcja mnie nie rajcuje bo:
chce miec Internet <- router <- serwer i workastacja tak aby oba stanowiska dzialaly.
joe
~user
 
Posty: 18
Dołączenie: 11 Lip 2005, 21:21



Postprzez dark 12 Lip 2005, 13:14

No to zmienia trochę postać rzeczy. Teraz widzę, że:

- nie masz dostępu do Internetu tylko na serwerze w momencie gdy jest za routerem (i tyle postów trzeba było, by do tego dojść -- naucz się przedstawiać jaśniej problem; wróżką nie jestem).

A teraz mi powiedz/pokaż wynik:

# ifconfig
# ip r

Odnoszę wrażenie, że serwer nie pobrał sobie adresu, który przydziela router w sieci lokalnej. Ewentualnie nie ma gateway'a, co będzie prowadziło do braku kontaktu z Internetem.
Long Hard Road Out Of Hell...
Awatar użytkownika
dark
~user
 
Posty: 387
Dołączenie: 07 Maj 2005, 15:38
Miejscowość: Głogów
Pochwały: 10



Postprzez joe 12 Lip 2005, 13:21

w tej chwili nie moge Ci podac wyniku:
# ifconfig bo jestem w pracy.

Jednak wiem ze serwer pobiera adres od routera jest on kalsy C czyli 192.168.2.3 gateway'a tez pobiera. Problem jest dziwny bo jak dlal mnie powinno byc wszystko ok i serwer powinien miec laczenie z netem.

Moze to kwestia konfiguracji dhcpd.conf ???
joe
~user
 
Posty: 18
Dołączenie: 11 Lip 2005, 21:21



Postprzez dark 12 Lip 2005, 13:41

Rozumiem, że DNS'y masz? Tzn. /etc/resolv.conf nie jest puste. Możesz pingować router, albo onet.pl -> 213.180.130.200?

Jak będziesz mógł to sprawdzić to bardzo chętnie zobaczę wyniki.
Long Hard Road Out Of Hell...
Awatar użytkownika
dark
~user
 
Posty: 387
Dołączenie: 07 Maj 2005, 15:38
Miejscowość: Głogów
Pochwały: 10



Postprzez joe 12 Lip 2005, 21:57

oto wyniki:
64 bytes from 213.180.130.200: icmp_seq=1 ttl=1 time=29.5 ms
64 bytes from 213.180.130.200: icmp_seq=2 ttl=1 time=28.3 ms
64 bytes from 213.180.130.200: icmp_seq=3 ttl=1 time=33.0 ms
64 bytes from 213.180.130.200: icmp_seq=4 ttl=1 time=32.5 ms
64 bytes from 213.180.130.200: icmp_seq=5 ttl=1 time=26.9 ms
64 bytes from 213.180.130.200: icmp_seq=6 ttl=1 time=31.4 ms
64 bytes from 213.180.130.200: icmp_seq=7 ttl=1 time=30.8 ms
64 bytes from 213.180.130.200: icmp_seq=8 ttl=1 time=33.3 ms
64 bytes from 213.180.130.200: icmp_seq=9 ttl=1 time=31.4 ms
64 bytes from 213.180.130.200: icmp_seq=10 ttl=1 time=30.7 ms
64 bytes from 213.180.130.200: icmp_seq=11 ttl=1 time=32.6 ms
64 bytes from 213.180.130.200: icmp_seq=12 ttl=1 time=35.1 ms
64 bytes from 213.180.130.200: icmp_seq=13 ttl=1 time=29.4 ms
64 bytes from 213.180.130.200: icmp_seq=14 ttl=1 time=32.7 ms
64 bytes from 213.180.130.200: icmp_seq=15 ttl=1 time=37.1 ms
64 bytes from 213.180.130.200: icmp_seq=16 ttl=1 time=30.6 ms


PS. resolv.conf nie jest pusty.
joe
~user
 
Posty: 18
Dołączenie: 11 Lip 2005, 21:21



Postprzez dark 13 Lip 2005, 10:12

Jeżeli zrobiłeś to na serwerze, który jest za routerem to mogę powiedzieć Ci, że masz Internet :^)

Oczywiście nie próbowałeś pingować po domenach, nie?

A w resolv.conf co jest?

np. u mnie:
nameserver 81.168.240.5
nameserver 81.168.240.27
nameserver 217.30.129.149
nameserver 217.30.137.200

OMG, przecież nie pytam się o to, by niewiadomo co chciałbym wiedzieć.
Long Hard Road Out Of Hell...
Awatar użytkownika
dark
~user
 
Posty: 387
Dołączenie: 07 Maj 2005, 15:38
Miejscowość: Głogów
Pochwały: 10



Postprzez joe 13 Lip 2005, 20:49

no wiec podaje:
search joe.com.pl
192.168.2.1

Dodam ze adres ip to adres mojego routera...jak go wpisze w przegladarce to moge zmieniac jego ustawienia.
joe
~user
 
Posty: 18
Dołączenie: 11 Lip 2005, 21:21



Postprzez dark 14 Lip 2005, 00:09

Rozumiem, że router jest serwerem DNS. Jeżeli tak to wszystko powinno być w porządku, chyba że zastosowałeś jakieś dziwaczne skrypty filtrujące.
Long Hard Road Out Of Hell...
Awatar użytkownika
dark
~user
 
Posty: 387
Dołączenie: 07 Maj 2005, 15:38
Miejscowość: Głogów
Pochwały: 10



Postprzez joe 14 Lip 2005, 08:49

Tak router jest serwerem DNS....najsmieszniejsze jest to, że chwycil mi wczoraj instalacje poprzez "apt-get install" i zainstalowalem sobie apache; serwer ftp wu-ftpd; ssh;
nastepnie zresetowalem system i problem wrocil :/ ....chcialem doinstalowac jeszcze pakiet iptables jednak bezskutecznie, bo juz nie chce go pobrac.
Ping jest dobry na onet oraz na adres mojego routera.
O co chodzi :roll: ??
joe
~user
 
Posty: 18
Dołączenie: 11 Lip 2005, 21:21



Postprzez dark 14 Lip 2005, 09:18

A weź mu podaj takie DNS-y (dialogowskie):

nameserver 217.30.129.149
nameserver 217.30.137.200

oraz z TPSA.
Long Hard Road Out Of Hell...
Awatar użytkownika
dark
~user
 
Posty: 387
Dołączenie: 07 Maj 2005, 15:38
Miejscowość: Głogów
Pochwały: 10



Postprzez joe 15 Lip 2005, 01:19

dziala...
1- tylko jak zapisac to w resolv.conf aby po resecie systemu nadal te nameservery w nim widnialy ????
2- jak ustawic ssh tak abym mogl miec dostep do swojego servera z kazdego komputera z dostepem do internetu bo jak narazie mam tylko po sieci lokalnej ???
joe
~user
 
Posty: 18
Dołączenie: 11 Lip 2005, 21:21



Postprzez dark 15 Lip 2005, 09:45

1- tylko jak zapisac to w resolv.conf aby po resecie systemu nadal te nameservery w nim widnialy ????


Zmień konfigurację DHCP w routerze, tj. podaj dodatkowe DNS-y, albo napisz skrypt, który będzie zapisywał na nowo /etc/resolv.conf.

joe napisał(a):2- jak ustawic ssh tak abym mogl miec dostep do swojego servera z kazdego komputera z dostepem do internetu bo jak narazie mam tylko po sieci lokalnej ???


A to już musisz "powiedzieć" routerowi, tj. musisz przekierować porty. Router posiada zewnętrzny adres IP, serwer ma wewnętrzny, czyli połączenia na port 22 (SSH) idą na router, a nie na serwer. Przekierowanie to zmieni.
Long Hard Road Out Of Hell...
Awatar użytkownika
dark
~user
 
Posty: 387
Dołączenie: 07 Maj 2005, 15:38
Miejscowość: Głogów
Pochwały: 10



Postprzez joe 16 Lip 2005, 16:46

dark napisał(a):A to już musisz "powiedzieć" routerowi, tj. musisz przekierować porty. Router posiada zewnętrzny adres IP, serwer ma wewnętrzny, czyli połączenia na port 22 (SSH) idą na router, a nie na serwer. Przekierowanie to zmieni.

No wiec "powiedzialem" to routerowi i lipa...nie dziala
oto screen:
http://www.tkchopin.pl/strony/Mrozaq/asmax2.jpg
joe
~user
 
Posty: 18
Dołączenie: 11 Lip 2005, 21:21



Postprzez dark 16 Lip 2005, 16:49

To zmień router :^P Albo zrób z serwera router.
Long Hard Road Out Of Hell...
Awatar użytkownika
dark
~user
 
Posty: 387
Dołączenie: 07 Maj 2005, 15:38
Miejscowość: Głogów
Pochwały: 10



Następna

Powróć do System Linux / Unix

Kto jest na forum

Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 2 gości