Freesco, NND, CDN, EOS http://forum.freesco.pl/ |
|
DHCP nieznany błąd (HELP) http://forum.freesco.pl/viewtopic.php?f=22&t=12530 |
Strona 1 z 2 |
Autor: | oset17 [ środa, 24 maja 2006, 08:52 ] |
Tytuł: | DHCP nieznany błąd (HELP) |
Witam wszytsko z serwerem DHCPD było ok do nie dawna gdy dodałem nowego użytkownika teraz wyskoczył błąd przy starcie DHCPD: [root@netsysbidziny ~]# dhcpd start Internet Systems Consortium DHCP Server V3.0.3b3 Copyright 2004-2005 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ /etc/dhcpd.conf line 25: semicolon expected. option ^ /etc/dhcpd.conf line 29: host declarations not allowed here. host ^ /etc/dhcpd.conf line 36: host declarations not allowed here. host ^ /etc/dhcpd.conf line 43: host declarations not allowed here. host ^ /etc/dhcpd.conf line 50: host declarations not allowed here. host ^ /etc/dhcpd.conf line 55: unexpected end of file ^ Configuration file errors encountered -- exiting If you did not get this software from ftp.isc.org, please get the latest from ftp.isc.org and install that before requesting help. If you did get this software from ftp.isc.org and have not yet read the README, please read it before requesting help. If you intend to request help from the dhcp-server@isc.org mailing list, please read the section on the README about submitting bug reports and requests for help. Please do not under any circumstances send requests for help directly to the authors of this software - please send them to the appropriate mailing list as described in the README file. exiting. Proszę o pomoc. Obszukałem cale forum i nei wiem co jest grane, kojarze tylko ze w tych liniach pliku np. 29, 36 itp cos jest nie tak, przejzałem ten plik wiele razy i wydaje mi sie ze jest dobrze skonfigurowane |
Autor: | adamol [ środa, 24 maja 2006, 09:12 ] |
Tytuł: | |
Standardowo wymagasz pomocy jak i również postrzegania pozazmysłowego ![]() Jak wkleisz swój konfig to będziemy mogli ci bardziej pomóc. |
Autor: | Albercik [ środa, 24 maja 2006, 09:39 ] |
Tytuł: | |
Masz podane numery linii z błędami - musisz je zedytować - wygląda na użycie nieprawidłowego znaku do wpisu w configu. |
Autor: | oset17 [ środa, 24 maja 2006, 09:46 ] |
Tytuł: | |
# /etc/dhcp.conf # plik konfiguracyjny deamona dhcpd ddns-update-style=ad-hoc; option domain-name "netsystembidziny"; option domain-name-servers 194.204.152.34, 194.204.159.1; option subnet-mask 255.255.255.0; default-lease-time 21600; max-lease-time 86400; #jesli chcesz dodać statyczne wpisy dla komputerów #musisz ...... #tak aby ..... subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.2 192.168.1.2; #zakres przydzielanych adresów option broadcast-address 192.168.1.255; #adres rozgłoszeniowy option routers 192.168.1.1; #brama domyslna authoritative; } host A { hardware ethernet XX:XX:XX:XX:XX:XX; fixed-address 192.168.1.100; option broadcast-address 192.168.1.255; option routers 192.168.1.1; } host Admin { hardware ethernet XX:XX:XX:XX:XX:XX; fixed-address 192.168.1.101; option broadcast-address 192.168.1.255; option routers 192.168.1.1; } host Kamil { hardware ethernet XX:XX:XX:XX:XX:XX; fixed-address 192.168.1.102; option broadcast-address 192.168.1.255; option routers 192.168.1.1; } host Daniel { hardware ethernet XX:XX:XX:XX:XX:XX; fixed-address 192.168.1.103; option broadcast-address 192.168.1.255; option routers 192.168.1.1; } host Karolina { hardware ethernet XX:XX:XX:XX:XX:XX; fixed-address 192.168.1.104; option broadcast-address 192.168.1.255; option routers 192.168.1.1; } Tak mam skonfigurowane, po dodaniu ostatniego usera zaczały sie te bledy pokazywac, wczesniej dobrze chodzilo |
Autor: | oset17 [ środa, 24 maja 2006, 10:37 ] |
Tytuł: | |
Chcąc pokombimbinowac by naprawic blad zrobilem od nowa net_conf'a i co? otoz pojawił sie inny błąd ![]() nic to ponownie net_conf i znow to samo ... [root@netsysbidziny ~]# dhcpd stop Internet Systems Consortium DHCP Server V3.0.3b3 Copyright 2004-2005 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Wrote 1 leases to leases file. No subnet declaration for stop (0.0.0.0). ** Ignoring requests on stop. If this is not what you want, please write a subnet declaration in your dhcpd.conf file for the network segment to which interface stop is attached. ** Not configured to listen on any interfaces! If you did not get this software from ftp.isc.org, please get the latest from ftp.isc.org and install that before requesting help. If you did get this software from ftp.isc.org and have not yet read the README, please read it before requesting help. If you intend to request help from the dhcp-server@isc.org mailing list, please read the section on the README about submitting bug reports and requests for help. Please do not under any circumstances send requests for help directly to the authors of this software - please send them to the appropriate mailing list as described in the README file. exiting. Otwieram plik po raz setny i subnet jest wpisany jak byk 192.168.1.0 Pomożcie bo zwariuje z NND ![]() |
Autor: | tompl [ środa, 24 maja 2006, 10:57 ] |
Tytuł: | |
mialem ten sam blad(ten twoj drugi) Wiec tak, net_conf jest zjebany bo nie zrobil aliasa ktoregos z Twojego eth i nie dodal zapewne modulow na starcie. Co musisz zrobic? Zalozmy ze Karta0=internet, Karta1=lan - oczywscie za te Karta podstawaisz nazwe modulow ktore obsluguja Twoja karte np. 3c59x... wchodzisz do /etc/modules.conf i tam sprawdzasz czy jest(F4 by edytowac w midnight commander) # # /etc/modules.conf (for v2.4 kernels) # alias eth0 Karta0 alias eth1 Karta1 jesli jest to dobrze, jak nie to zrob jak widzisz chyba ze masz wiecej kart ktore uzywasz... Nastepnie po zapisaniu tamtego, idziesz do pliku /etc/rc.conf i szukasz liniki ~65 MODULES=(!ide-scsi ip_tables ip_nat_ftp ip_nat_irc iptable_nat ip_conntrack ip_conntrack_ftp ip_conntrack_irc Karta0 Karta1) Upewnij sie ze karta0 jest przed karta1, u mnie mial z tym problemy... Zobacz czy pomoze Mozesz miec po zmianie modules.conf bledy ze plik jest nowszy od /lib/modules/2.4.32-6nnd/modules.dep musisz poprostu tam edytowac i zapisac bez zadnej zmiany(F2) i bedzie git |
Autor: | MAC!EK [ środa, 24 maja 2006, 11:04 ] |
Tytuł: | |
- możesz mi powiedzieć po co robisz alias jak potem z niego nie korzystasz? zjebałeś koledzie modules.conf - a może kolega nie wybrał żadnej karty ethernet i dlatego sobie zjebał system? |
Autor: | oset17 [ środa, 24 maja 2006, 11:11 ] |
Tytuł: | |
Wiecie co ... juz po problemie ![]() Odinstalowałem dhcp, reboot, zainstalowałem z powrotem, net_conf, i działa Nastepnie dodałem wpisy do /etc/dhcpd.conf (statyczne IP po mac'u wpisałem) robie /etc/rc.d/dhcpd restart i wywala bład ze składni MAC'a!! 00:11:2S: - cos tam, pewnie ze jest nieprawidłowe, zachaszowałem tego usera i goli .... Dlatego pisałem ze po dodaniu ostatniego usera sie popsuło dhcp, no ale spoko powiedziałem mu zeby sobie wpisał stałe IP i jakoś przebolejemy ze jeden nie bedzie miał automata Takie cos wywala: [root@netsysbidziny ~]# /etc/rc.d/dhcpd restart NND: Stopping DHCP Server [Wykonane] NND: Starting DHCP Server [Trwa....] Internet Systems Consortium DHCP Server V3.0.3b3 Copyright 2004-2005 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ /etc/dhcpd.conf line 45: expecting numeric value. hardware ethernet 00:11:2S: ^ Configuration file errors encountered -- exiting If you did not get this software from ftp.isc.org, please get the latest from ftp.isc.org and install that before requesting help. If you did get this software from ftp.isc.org and have not yet read the README, please read it before requesting help. If you intend to request help from the dhcp-server@isc.org mailing list, please read the section on the README about submitting bug reports and requests for help. Please do not under any circumstances send requests for help directly to the authors of this software - please send them to the appropriate mailing list as described in the README file. exiting. [Nieudane] Chyba ze macie pomysł jak to mozna inaczej rozwiazać? Wszystkim i tak Bardzo Dziekuje za POMOC |
Autor: | tasiorek [ środa, 24 maja 2006, 11:27 ] |
Tytuł: | |
oset17 pisze: 00:11:2S: - cos tam, pewnie ze jest nieprawidłowe
Mac jest nieprawidlowy. Mac jest zapisany w postaci szesnastkowej, w ktorej "S" nie wystepuje. |
Autor: | oset17 [ środa, 24 maja 2006, 11:31 ] |
Tytuł: | |
MAC jest 00:11:2S: na 100% potwierdzenie nawet mam tego, poniewaz mam go wpisanego do pliku ethers i jakby byl niepoprawny to user nie mial by neta a jednak ma tylko dhcp wywala błąd i musi on wpisywac recznie |
Autor: | tasiorek [ środa, 24 maja 2006, 11:43 ] |
Tytuł: | |
Wiesz co to jest zapis szesnastkowy? Po raz drugi Ci powtorze: NIE MASZ S W ADRESIE MAC. Jak dopisales tak do /etc/ethers, to statyczne przypisanie w tym miejscu pokazuje blad i wpuszcza urzadzenie z dowolnym adresem mac na to ip. |
Autor: | oset17 [ środa, 24 maja 2006, 11:48 ] |
Tytuł: | |
Nie bardzo wiem ale coś słyszałem o tym Wiesz co ... masz racje ![]() no to czyżby windows zwariował? wyjasnie iz to mac karty siec zintegrowanej w plycie gł. asusa i sam osobiscie sprawdzałem MAC (ipconfig/all) A komp jest podłączony przez APClient (D-link DWL-700AP) ale jak wpisywałem MAC dlinka to wogole neta nie było i tak dziwnie jakos ... ale niedługo wymienie APC na Planeta z WDS'em |
Autor: | Raflik [ środa, 24 maja 2006, 15:34 ] |
Tytuł: | |
jak masz XP zobacz komende "getmac" wywali wszystkie sieciowki i adresy mac moze zamiast S wpisz 5;) podobnie mogles spisac:) |
Autor: | wesyr87 [ czwartek, 25 maja 2006, 11:57 ] |
Tytuł: | |
oset17 pisze: Chcąc pokombimbinowac by naprawic blad zrobilem od nowa net_conf'a i co? otoz pojawił sie inny błąd
![]() nic to ponownie net_conf i znow to samo ... [root@netsysbidziny ~]# dhcpd stop Internet Systems Consortium DHCP Server V3.0.3b3 Copyright 2004-2005 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Wrote 1 leases to leases file. No subnet declaration for stop (0.0.0.0). ** Ignoring requests on stop. If this is not what you want, please write a subnet declaration in your dhcpd.conf file for the network segment to which interface stop is attached. ** Not configured to listen on any interfaces! If you did not get this software from ftp.isc.org, please get the latest from ftp.isc.org and install that before requesting help. If you did get this software from ftp.isc.org and have not yet read the README, please read it before requesting help. If you intend to request help from the dhcp-server@isc.org mailing list, please read the section on the README about submitting bug reports and requests for help. Please do not under any circumstances send requests for help directly to the authors of this software - please send them to the appropriate mailing list as described in the README file. exiting. Tak samo jak u mnie jest wpisany subnet 192.168.1.0 ale dhcp mowi ze jest 0.0.0.0, nie pomaga odinstalowanie i zainstalowanie dhcp oraz ponowna konfiguracja net_confem wcaiz wyskakuje ten blad ![]() |
Autor: | wesyr87 [ czwartek, 25 maja 2006, 12:06 ] |
Tytuł: | |
Moj konfig wyglada tak: Cytuj: # /etc/dhcp.conf
# plik konfiguracyjny deamona dhcpd ddns-update-style=ad-hoc; option domain-name "Wesyt's Net"; option domain-name-servers 192.168.1.1; <- tutaj dalem adres NND gdzie jest net option subnet-mask 255.255.255.0; default-lease-time 21600; max-lease-time 86400; #jesli chcesz dodać statyczne wpisy dla komputerów #musisz ...... #tak aby ..... subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.2 192.168.1.2; #zakres przydzielanych adresów option broadcast-address 192.168.1.255; #adres rozgłoszeniowy option routers 192.168.1.1; #brama domyslna authoritative; } host tata { hardware ethernet XX:XX:XX:XX:XX:XX; fixed-address 192.168.1.3; option broadcast-address 192.168.1.255; option routers 192.168.1.1; } . . . . uzywam AP OvisLinka 5460AP, na NND jest internet, a na kliecie nie ma ![]() ![]() |
Autor: | adamol [ czwartek, 25 maja 2006, 13:14 ] |
Tytuł: | |
ddns-update-style=ad-hoc; option domain-name "umpapumpa:P"; option domain-name-servers 192.168.1.1; 194.204.152.34, 194.204.159.1, 212.191.132.126; option subnet-mask 255.255.255.0; default-lease-time 604800; max-lease-time 1209600; Tak wkleiłem bo brakuje mi DNSów u Ciebie wesyr87, chyba ,że masz jakiegoś BINDa, DNSMASQa...etc. Pozdro |
Autor: | tasiorek [ czwartek, 25 maja 2006, 13:14 ] |
Tytuł: | |
A zainstalowales jakies dns proxy? |
Autor: | wesyr87 [ czwartek, 25 maja 2006, 13:17 ] |
Tytuł: | |
Nie instalowalem DNS proxy ani nic takiego ,jedyne co mam zainstalowane na NND to niceshaper oraz dhcpd (ale to juz bylo ![]() ![]() |
Autor: | tasiorek [ czwartek, 25 maja 2006, 13:21 ] |
Tytuł: | |
No to dlaczego wpisujesz adres swojego routera w miejsce serwerow dns? Wpisz tam dnsy swojego operatora, zamiast wlasnego routera. |
Autor: | wesyr87 [ czwartek, 25 maja 2006, 13:28 ] |
Tytuł: | |
![]() ![]() ![]() ![]() ![]() ![]() |
Strona 1 z 2 | Strefa czasowa UTC+2godz. |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |