samba Napisano Luty 8, 2006 Zgłoszenie Share Napisano Luty 8, 2006 Prosze o szybką pomoc!! Mam 2 kompy 1 z FC4 z zainstalowaną neostradą USB Speedtouch 330 która działa do momentu kiedy włączy się drugi komputer. Samba działa jako PDC .Adres serwera samby 10.10.10.1. Gdy uruchomie drugi komp na (_linuxie_ → Linuksie) ORT nie działa neostrada ani pingi Poniżej przesyłam konfigi DHCP i iptables. Dodam iż mam firestartera który był niby ustawiony w tryb współdzielenia łącza ale to nie działa? Jak wspóldzielić neo dal XP Pro? dhcpd.conf undefined option netbios-name-servers 10.10.10.1; option domain-name-servers 10.10.10.1; option subnet-mask 255.0.0.0; ddns-update-style ad-hoc; allow unknown-clients; subnet 10.0.0.0 netmask 255.0.0.0 { range 10.10.10.140 10.10.10.190; } undefined iptables undefined # Firewall configuration written by system-config-securitylevel # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Firewall-1-INPUT - [0:0] # sm1 -A INPUT -m mac -i eth0 --mac-source 00:50:8D:EB:36:D9 -j ACCEPT -A INPUT -j RH-Firewall-1-INPUT -A FORWARD -j RH-Firewall-1-INPUT -A RH-Firewall-1-INPUT -i lo -j ACCEPT -A RH-Firewall-1-INPUT -i eth0 -j ACCEPT -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT -A RH-Firewall-1-INPUT -p 50 -j ACCEPT -A RH-Firewall-1-INPUT -p 51 -j ACCEPT -A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited COMMIT *mangle :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] -A PREROUTING -i eth0 -j MARK --set-mark 0x9 COMMIT *nat :PREROUTING ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] -A POSTROUTING -m mark --mark 0x9 -j MASQUERADE COMMIT undefined Po włączeniu XP komp sm1 mam takie logi messages (jak zrobic przekierowanie abym w var/log/messages nie miał logów z firewalla tylko w innym pliku??) undefined Feb 8 19:51:26 serwer kernel: e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex Feb 8 19:51:26 serwer netplugd[2350]: eth0: state INACTIVE flags 0x00001003 UP,BROADCAST,MULTICAST -> 0x00001043 UP,BROADCAST,RUNNING,MULTICAST Feb 8 19:51:26 serwer netplugd[4888]: /etc/netplug.d/netplug eth0 in -> pid 4888 Feb 8 19:51:28 serwer netplugd[2350]: eth0: state INNING pid 4888 exited status 0 Feb 8 19:51:32 serwer kernel: Unknown InputIN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:50:8d:eb:36:d9:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=0 PROTO=UDP SPT=68 DPT=67 LEN=308 Feb 8 19:51:32 serwer dhcpd: DHCPREQUEST for 192.168.0.72 from 00:50:8d:eb:36:d9 via eth0: ignored (not authoritative). Feb 8 19:51:36 serwer dhcpd: DHCPREQUEST for 192.168.0.72 from 00:50:8d:eb:36:d9 via eth0: ignored (not authoritative). Feb 8 19:51:36 serwer kernel: Unknown InputIN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:50:8d:eb:36:d9:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=1 PROTO=UDP SPT=68 DPT=67 LEN=308 Feb 8 19:51:44 serwer dhcpd: DHCPREQUEST for 192.168.0.72 from 00:50:8d:eb:36:d9 via eth0: ignored (not authoritative). Feb 8 19:51:44 serwer kernel: Unknown InputIN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:50:8d:eb:36:d9:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=2 PROTO=UDP SPT=68 DPT=67 LEN=308 Feb 8 19:52:09 serwer dhcpd: DHCPDISCOVER from 00:50:8d:eb:36:d9 via eth0 Feb 8 19:52:09 serwer kernel: Unknown InputIN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:50:8d:eb:36:d9:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=8 PROTO=UDP SPT=68 DPT=67 LEN=308 Feb 8 19:52:10 serwer dhcpd: DHCPOFFER on 10.10.10.190 to 00:50:8d:eb:36:d9 (SM1) via eth0 Feb 8 19:52:10 serwer kernel: Unknown InputIN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:50:8d:eb:36:d9:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=330 TOS=0x00 PREC=0x00 TTL=128 ID=10 PROTO=UDP SPT=68 DPT=67 LEN=310 Feb 8 19:52:10 serwer dhcpd: DHCPREQUEST for 10.10.10.190 (10.10.10.1) from 00:50:8d:eb:36:d9 (SM1) via eth0 Feb 8 19:52:10 serwer dhcpd: DHCPACK on 10.10.10.190 to 00:50:8d:eb:36:d9 (SM1) via eth0 Feb 8 19:52:12 serwer kernel: Inbound IN=eth0 OUT= MAC=00:50:8d:e7:01:85:00:50:8d:eb:36:d9:08:00 SRC=10.10.10.190 DST=10.10.10.1 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=11 PROTO=UDP SPT=68 DPT=67 LEN=308 Feb 8 19:52:12 serwer dhcpd: DHCPREQUEST for 10.10.10.190 from 00:50:8d:eb:36:d9 (SM1) via eth0 Feb 8 19:52:12 serwer dhcpd: DHCPACK on 10.10.10.190 to 00:50:8d:eb:36:d9 (SM1) via eth0 Feb 8 19:52:12 serwer kernel: Inbound IN=eth0 OUT= MAC=00:50:8d:e7:01:85:00:50:8d:eb:36:d9:08:00 SRC=10.10.10.190 DST=10.10.10.1 LEN=96 TOS=0x00 PREC=0x00 TTL=128 ID=12 PROTO=UDP SPT=137 DPT=137 LEN=76 Feb 8 19:52:12 serwer kernel: Inbound IN=eth0 OUT= MAC=00:50:8d:e7:01:85:00:50:8d:eb:36:d9:08:00 SRC=10.10.10.190 DST=10.10.10.1 LEN=96 TOS=0x00 PREC=0x00 TTL=128 ID=13 PROTO=UDP SPT=137 DPT=137 LEN=76 Feb 8 19:52:12 serwer kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:50:8d:eb:36:d9:08:00 SRC=10.10.10.190 DST=10.255.255.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=14 PROTO=UDP SPT=137 DPT=137 LEN=58 Feb 8 19:52:12 serwer kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:50:8d:eb:36:d9:08:00 SRC=10.10.10.190 DST=10.255.255.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=15 PROTO=UDP SPT=137 DPT=137 LEN=58 Feb 8 19:52:12 serwer kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:50:8d:eb:36:d9:08:00 SRC=10.10.10.190 DST=10.255.255.255 LEN=96 TOS=0x00 PREC=0x00 TTL=128 ID=16 PROTO=UDP SPT=137 DPT=137 LEN=76 Feb 8 19:52:12 serwer kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:50:8d:eb:36:d9:08:00 SRC=10.10.10.190 DST=10.255.255.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=17 PROTO=UDP SPT=137 DPT=137 LEN=58 Feb 8 19:52:13 serwer kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:50:8d:eb:36:d9:08:00 SRC=10.10.10.190 DST=10.255.255.255 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=18 PROTO=UDP SPT=137 DPT=137 LEN=58 Feb 8 19:52:13 serwer kernel: Inbound IN=eth0 OUT= MAC=00:50:8d:e7:01:85:00:50:8d:eb:36:d9:08:00 SRC=10.10.10.190 DST=10.10.10.1 LEN=96 TOS=0x00 PREC=0x00 TTL=128 ID=19 PROTO=UDP SPT=137 DPT=137 LEN=76 undefined reload usług dhcpd i pppd undefined reload dhcpd i modemu neostrady Feb 8 20:15:28 serwer pppd[3078]: Terminating on signal 15. Feb 8 20:15:28 serwer pppoa3[3080]: Received signal 15 (thread -1208125760) Feb 8 20:15:28 serwer pppoa3[3080]: Woken by a sem_post event -> Exiting Feb 8 20:15:28 serwer pppoa3[3080]: Read from usb Canceled Feb 8 20:15:28 serwer pppoa3[3080]: Write to usb Canceled Feb 8 20:15:28 serwer netplugd[2350]: ppp0: ignoring event Feb 8 20:15:28 serwer netplugd[2350]: ppp0: ignoring event Feb 8 20:15:28 serwer pppoa3[3080]: Exiting Feb 8 20:15:28 serwer pppd[3078]: Modem hangup Feb 8 20:15:28 serwer pppd[3078]: Connection terminated. Feb 8 20:15:28 serwer pppd[3078]: Connect time 53.5 minutes. Feb 8 20:15:28 serwer pppd[3078]: Sent 29531 bytes, received 309876 bytes. Feb 8 20:15:28 serwer netplugd[2350]: ppp0: ignoring event Feb 8 20:15:28 serwer pppd[3078]: Connect time 53.5 minutes. Feb 8 20:15:28 serwer pppd[3078]: Sent 29531 bytes, received 309876 bytes. Feb 8 20:15:28 serwer pppd[3078]: Exit. Feb 8 20:15:30 serwer pppd[6020]: pppd 2.4.2 started by root, uid 0 Feb 8 20:15:30 serwer netplugd[2350]: ppp0: ignoring event Feb 8 20:15:30 serwer pppd[6020]: Using interface ppp0 Feb 8 20:15:30 serwer pppd[6020]: Connect: ppp0 <--> /dev/pts/1 Feb 8 20:15:30 serwer pppoa3[6022]: pppoa3 version 1.3.1 started by root (uid 0) Feb 8 20:15:30 serwer pppoa3[6022]: Control thread ready Feb 8 20:15:30 serwer pppoa3[6022]: host --> pppoa3 --> modem stream ready Feb 8 20:15:30 serwer pppoa3[6022]: modem --> pppoa3 --> host stream ready Feb 8 20:15:31 serwer pppd[6020]: LCP terminated by peer Feb 8 20:15:34 serwer pppd[6020]: Connection terminated. Feb 8 20:15:34 serwer netplugd[2350]: ppp0: ignoring event Feb 8 20:15:34 serwer pppoa3[6022]: Error reading from source device Feb 8 20:15:34 serwer pppoa3[6022]: Woken by a sem_post event -> Exiting Feb 8 20:15:34 serwer pppoa3[6022]: Write to usb Canceled Feb 8 20:15:34 serwer netplugd[2350]: ppp0: ignoring event Feb 8 20:15:34 serwer pppoa3[6022]: Exiting Feb 8 20:15:34 serwer pppd[6020]: Using interface ppp0 Feb 8 20:15:34 serwer pppd[6020]: Connect: ppp0 <--> /dev/pts/4 Feb 8 20:15:34 serwer pppoa3[6047]: pppoa3 version 1.3.1 started by root (uid 0) Feb 8 20:15:34 serwer pppoa3[6047]: Control thread ready Feb 8 20:15:34 serwer pppoa3[6047]: host --> pppoa3 --> modem stream ready Feb 8 20:15:34 serwer pppoa3[6047]: modem --> pppoa3 --> host stream ready Feb 8 20:15:44 serwer pppd[6020]: CHAP authentication succeeded Feb 8 20:15:44 serwer netplugd[2350]: ppp0: ignoring event Feb 8 20:15:44 serwer pppd[6020]: not replacing existing default route to eth0 [10.10.10.1] Feb 8 20:15:44 serwer pppd[6020]: local IP address 83.24.170.55 Feb 8 20:15:44 serwer pppd[6020]: remote IP address 213.25.2.22 Feb 8 20:15:44 serwer pppd[6020]: primary DNS address 194.204.152.34 Feb 8 20:15:44 serwer pppd[6020]: secondary DNS address 217.98.63.164 Feb 8 20:15:44 serwer netplugd[2350]: ppp0: ignoring event Feb 8 20:15:44 serwer dhcpd: Internet Systems Consortium DHCP Server V3.0.2 Feb 8 20:15:44 serwer dhcpd: Copyright 2004 Internet Systems Consortium. Feb 8 20:15:44 serwer dhcpd: All rights reserved. Feb 8 20:15:44 serwer dhcpd: For info, please visit http://www.isc.org/sw/dhcp/ Feb 8 20:15:45 serwer dhcpd: dhcpd shutdown succeeded Feb 8 20:15:45 serwer dhcpd: Internet Systems Consortium DHCP Server V3.0.2 Feb 8 20:15:45 serwer dhcpd: Copyright 2004 Internet Systems Consortium. Feb 8 20:15:45 serwer dhcpd: All rights reserved. Feb 8 20:15:45 serwer dhcpd: For info, please visit http://www.isc.org/sw/dhcp/ Feb 8 20:15:45 serwer dhcpd: Wrote 1 leases to leases file. Feb 8 20:15:45 serwer dhcpd: Listening on LPF/eth0/00:50:8d:e7:01:85/10/8 Feb 8 20:15:45 serwer dhcpd: Sending on LPF/eth0/00:50:8d:e7:01:85/10/8 Feb 8 20:15:45 serwer dhcpd: Sending on Socket/fallback/fallback-net Feb 8 20:15:45 serwer dhcpd: dhcpd startup succeeded Feb 8 20:16:08 serwer kernel: Outbound IN= OUT=eth0 SRC=10.10.10.1 DST=10.255.255.255 LEN=241 TOS=0x00 PREC=0x00 TTL=64 ID=25 DF PROTO=UDP SPT=138 DPT=138 LEN=221 Feb 8 20:16:08 serwer nmbd[2985]: [2006/02/08 20:16:08, 0] libsmb/nmblib.c:send_udp(790) Feb 8 20:16:08 serwer nmbd[2985]: Packet send failed to 10.255.255.255(138) ERRNO=Operation not permitted Feb 8 20:16:08 serwer kernel: Outbound IN= OUT=eth0 SRC=10.10.10.1 DST=10.255.255.255 LEN=235 TOS=0x00 PREC=0x00 TTL=64 ID=26 DF PROTO=UDP SPT=138 DPT=138 LEN=215 Feb 8 20:16:08 serwer nmbd[2985]: [2006/02/08 20:16:08, 0] libsmb/nmblib.c:send_udp(790) Feb 8 20:16:08 serwer nmbd[2985]: Packet send failed to 10.255.255.255(138) ERRNO=Operation not permitted Feb 8 20:16:12 serwer kernel: Inbound IN=eth0 OUT= MAC=00:50:8d:e7:01:85:00:50:8d:eb:36:d9:08:00 SRC=10.10.10.190 DST=10.10.10.1 LEN=96 TOS=0x00 PREC=0x00 TTL=128 ID=609 PROTO=UDP SPT=137 DPT=137 LEN=76 Feb 8 20:16:13 serwer kernel: Inbound IN=eth0 OUT= MAC=00:50:8d:e7:01:85:00:50:8d:eb:36:d9:08:00 SRC=10.10.10.190 DST=10.10.10.1 LEN=96 TOS=0x00 PREC=0x00 TTL=128 ID=610 PROTO=UDP SPT=137 DPT=137 LEN=76 Feb 8 20:16:15 serwer kernel: Inbound IN=eth0 OUT= MAC=00:50:8d:e7:01:85:00:50:8d:e undefined Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się