2 pcs ethernet, win , linux

Estoy intentando conectar 2 pc's. Uno con hasefroch y el otro con una gentoo. Es la primera vez que lo hago, haber si me comentáis un poco

Empiezo, paso por paso para no dejarme nada ;-)
- Me he comprado el cable ethernet, el que tiene los 2 y 3 cruzados ya que el del cable modem no sirve. Veo que al conectar el cable se enciende las luces de las tarjetas de red así que wai, con el cable ethernet normal no pasaba. Iba a pillar un switch pero parece que tampoco hace falta para esto teniendo este cable

- Configuración de gentoo:
--------------------------------

/etc/hosts:
127.0.0.1         localhost  darkstar
192.168.1.0     hasefroch   


No sé si al localhost le debería dar otra ip (por ejemplo 192.168.1.0 y al hasefroch 192.168.1.1), o quizás vale esa misma

- Configuración de windows:
-----------------------------------
- He hecho lo del asistente de crear una red doméstica pero no sale nada, elijo la opción de 'Otro, sin conexión a Internet' (es la máquina GNU/Linux la que tiene la conexión). Son 3 pasos, me pide reiniciar y se queda ahí. Supongo que tendría que decirle a la máquina windows qué IP es o algo de eso. Tengo una carpeta compartida que se llama 'compartido'

- Tengo un tutorial de samba aquí que más o menos he seguido: http://www.gentoo.org/doc/en/quick-samba-howto.xml
Parece muy bueno. Tengo el /etc/samba/smb.conf igual y he emergido samba. El kernel tiene soporte smbfs también. No sé si hay alguna opción del kernel para conectar 2 ordenadores con un cable de red.

En /etc/fstab, tengo:
//192.168.1.0/compartido   /comp          smbfs           noauto,user,rw  0 0


Al hacer un 'mount /comp' me sale un:
Error connecting to 192.168.1.0 (No route to host)
8301: Connection to 192.168.1.0 failed
SMB connection failed


Al arrancar, de samba también me sale:
* Starting freshclam ...
ERROR: Can't open /var/log/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.
* Failed to start freshclam                                 [ !! ]   
* samba -> start: smbd ...                                  [ !! ] 
* samba -> start: nmbd ...                                 [ ok ] 
* Error: stopping services (see system logs)
* samba -> stop: smbd ...                                  [ ok ]
* samba -> stop: nmbd ...                     [ !! ]          


Haber si me váis sacando los agujeros que tiene esto, que fijo que son muchos

Muchas gracias [beer]
Error: stopping services (see system logs)


¿Y qué dicen los logs?
En el Windows vete al panel de control -> conexiones de red. Si ya tienes una conexión LAN creada la editas, y si no pues creas una nueva.

Dentro de esa conexión, en el apartado de TCP/IP le pones la dirección IP que quieres que use en la red local (por ejemplo 192.168.1.1), como máscara de subred pones 255.255.255.0 y como puerta de enlace la IP del otro pc (192.168.1.2 o la que pongas... no se seguro si el 0 vale).

Ahora ya deberías poder hacer ping entre los dos ordenadores. Si no responden al ping es que hay algo mal configurado, sean las propiedades de la conexión en alguno de los pcs o las reglas de algun firewall, si es que tienes alguno puesto.

Para ver los compartidos de windows desde linux, abre el konqueror (si usas KDE) y pon como dirección smb://192.168.1.1

Si hasta aquí va bien, ya te puedes empezar a liar con la parte de samba [sonrisa]
Muchas gracias.
Edito, perdón, los pings:
darkstar samba # ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
From 10.72.128.1 icmp_seq=1 Packet filtered
From 10.72.128.1 icmp_seq=2 Packet filtered
From 10.72.128.1 icmp_seq=3 Packet filtered
From 10.72.128.1 icmp_seq=4 Packet filtered
From 10.72.128.1 icmp_seq=5 Packet filtered
From 10.72.128.1 icmp_seq=6 Packet filtered
From 10.72.128.1 icmp_seq=7 Packet filtered

--- 192.168.1.2 ping statistics ---
7 packets transmitted, 0 received, +7 errors, 100% packet loss, time 6005ms

En el win tengo ahora 192.168.1.1 y el linux sería la 192.168.1.2, /etc/hosts cambiado. He editao esto de los ping varias veces. He estao haciendo pruebas y bueno...

Ferdy escribió:
¿Y qué dicen los logs?

Ops, los logs eran los que pongo:

/var/log/samba/log.smbd:
[2006/02/03 01:03:56, 0] smbd/server.c:main(806)
  smbd version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/03 01:03:56, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/03 01:03:56, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/03 01:03:56, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(195)
  startsmbfilepwent_internal: file /var/lib/samba/private/smbpasswd did not exist. File successfully created.
[2006/02/03 01:03:56, 1] lib/account_pol.c:account_policy_get(196)
  account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), returning 0
[2006/02/03 01:03:56, 1] lib/account_pol.c:account_policy_get(196)
  account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), returning 0
[2006/02/03 01:03:56, 1] lib/account_pol.c:account_policy_get(196)
  account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to change password), returning 0
[2006/02/03 01:03:56, 1] lib/account_pol.c:account_policy_get(196)
  account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age), returning 0
[2006/02/03 01:03:56, 1] lib/account_pol.c:account_policy_get(196)
  account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password age), returning 0
[2006/02/03 01:03:56, 1] lib/account_pol.c:account_policy_get(196)
  account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), returning 0
[2006/02/03 01:03:56, 1] lib/account_pol.c:account_policy_get(196)
  account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count minutes), returning 0
[2006/02/03 01:03:56, 1] lib/account_pol.c:account_policy_get(196)
  account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout attempt), returning 0
[2006/02/03 01:03:56, 1] lib/account_pol.c:account_policy_get(196)
  account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), returning 0
[2006/02/03 01:03:56, 1] lib/account_pol.c:account_policy_get(196)
  account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine password change), returning 0
[2006/02/03 01:05:00, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:08:40, 1] libsmb/ntlmssp.c:ntlmssp_update(252)
  got NTLMSSP command 3, expected 1
[2006/02/03 01:08:54, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:09:28, 0] lib/util_sock.c:read_data(526)
  read_data: read failure for 2964 bytes to client 83.213.159.193. Error = Connection reset by peer
[2006/02/03 01:09:47, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:10:12, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:10:42, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:11:18, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:19:38, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:21:12, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:22:09, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:22:24, 0] lib/util_sock.c:read_data(526)
  read_data: read failure for 44 bytes to client 83.213.12.86. Error = Connection reset by peer
[2006/02/03 01:23:37, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:25:46, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:27:36, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:28:40, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:50:49, 0] smbd/server.c:main(806)
  smbd version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/03 01:50:50, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/03 01:50:50, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/03 01:51:01, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:51:16, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:51:52, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:53:00, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 01:53:03, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:04:41, 0] smbd/server.c:main(806)
  smbd version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/03 02:04:41, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/03 02:04:41, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/03 02:04:57, 1] libsmb/ntlmssp.c:ntlmssp_update(252)
  got NTLMSSP command 3, expected 1
[2006/02/03 02:05:06, 1] libsmb/ntlmssp.c:ntlmssp_update(252)
  got NTLMSSP command 3, expected 1
[2006/02/03 02:06:14, 1] smbd/service.c:make_connection(731)
  make_connection: refusing to connect with no session setup
[2006/02/03 02:10:31, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:11:32, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:11:51, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:13:34, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:14:18, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:15:26, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:17:02, 1] libsmb/ntlmssp.c:ntlmssp_update(252)
  got NTLMSSP command 3, expected 1
[2006/02/03 02:18:32, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:21:37, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:21:58, 1] smbd/service.c:make_connection(731)
  make_connection: refusing to connect with no session setup
[2006/02/03 02:23:03, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:28:39, 1] libsmb/ntlmssp.c:ntlmssp_update(252)
  got NTLMSSP command 3, expected 1
[2006/02/03 02:30:51, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:31:43, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:37:07, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:40:28, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:42:23, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:46:26, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:50:44, 1] libsmb/clispnego.c:parse_negTokenTarg(251)
  Failed to parse negTokenTarg at offset 21
[2006/02/03 02:51:05, 1] libsmb/ntlmssp.c:ntlmssp_update(252)
  got NTLMSSP command 3, expected 1
[2006/02/03 02:52:47, 1] param/params.c:Parameter(385)
  params.c:Parameter() - Ignoring badly formed line in configuration file: global]
[2006/02/03 02:52:47, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 02:52:47, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 02:52:47, 1] param/params.c:Parameter(385)
  params.c:Parameter() - Ignoring badly formed line in configuration file: global]
[2006/02/03 02:52:47, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 02:52:47, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 02:54:53, 1] param/params.c:Parameter(385)
  params.c:Parameter() - Ignoring badly formed line in configuration file: global]
[2006/02/03 02:54:53, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 02:54:53, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 02:59:07, 1] param/params.c:Parameter(385)
  params.c:Parameter() - Ignoring badly formed line in configuration file: global]
[2006/02/03 02:59:07, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 02:59:07, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 03:03:41, 1] param/params.c:Parameter(385)
  params.c:Parameter() - Ignoring badly formed line in configuration file: global]
[2006/02/03 03:03:41, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 03:03:41, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 03:34:40, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 03:34:40, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/06 00:13:45, 0] smbd/server.c:main(806)
  smbd version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/06 00:13:45, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/06 00:13:45, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/06 00:13:46, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/06 00:13:46, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/06 00:13:48, 1] auth/auth_util.c:make_server_info_sam(807)
  User samba in passdb, but getpwnam() fails!
[2006/02/07 20:50:23, 0] smbd/server.c:main(806)
  smbd version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/07 20:50:23, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/07 20:50:23, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/07 20:50:24, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/07 20:50:24, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/07 20:50:26, 1] auth/auth_util.c:make_server_info_sam(807)
  User samba in passdb, but getpwnam() fails!
[2006/02/07 20:53:47, 0] smbd/server.c:main(806)
  smbd version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/07 20:53:47, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/07 20:53:47, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/07 20:53:47, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/07 20:53:47, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/07 20:53:49, 1] auth/auth_util.c:make_server_info_sam(807)
  User samba in passdb, but getpwnam() fails!
[2006/02/07 23:47:22, 0] smbd/server.c:main(806)
  smbd version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/07 23:47:22, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/07 23:47:22, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/07 23:47:22, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/07 23:47:22, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2006/02/07 23:47:24, 1] auth/auth_util.c:make_server_info_sam(807)
  User samba in passdb, but getpwnam() fails!


/var/log/samba/log.nbmd
[2006/02/03 01:03:57, 0] nmbd/nmbd.c:main(717)
  Netbios nameserver version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/03 01:09:38, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
 
  Samba name server DARKSTAR is now a local master browser for workgroup WORKGROUP on subnet 172.16.180.1
 
  *****
[2006/02/03 01:09:38, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
 
  Samba name server DARKSTAR is now a local master browser for workgroup WORKGROUP on subnet 172.16.245.1
 
  *****
[2006/02/03 01:09:38, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
 
  Samba name server DARKSTAR is now a local master browser for workgroup WORKGROUP on subnet 83.213.80.167
 
  *****
[2006/02/03 01:30:23, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2006/02/03 01:30:23, 0] libsmb/nmblib.c:send_udp(791)
  Packet send failed to 172.16.180.255(138) ERRNO=Invalid argument
[2006/02/03 01:30:23, 0] libsmb/nmblib.c:send_udp(791)
  Packet send failed to 172.16.180.255(138) ERRNO=Invalid argument
[2006/02/03 01:30:23, 0] libsmb/nmblib.c:send_udp(791)
  Packet send failed to 172.16.245.255(138) ERRNO=Invalid argument
[2006/02/03 01:30:23, 0] libsmb/nmblib.c:send_udp(791)
  Packet send failed to 172.16.245.255(138) ERRNO=Invalid argument
[2006/02/03 01:50:51, 0] nmbd/nmbd.c:main(717)
  Netbios nameserver version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/03 01:54:29, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2006/02/03 01:54:29, 0] libsmb/nmblib.c:send_udp(791)
  Packet send failed to 172.16.180.255(138) ERRNO=Invalid argument
[2006/02/03 01:54:29, 0] libsmb/nmblib.c:send_udp(791)
  Packet send failed to 172.16.245.255(138) ERRNO=Invalid argument
[2006/02/03 02:04:42, 0] nmbd/nmbd.c:main(717)
  Netbios nameserver version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/03 02:10:20, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
 
  Samba name server DARKSTAR is now a local master browser for workgroup WORKGROUP on subnet 172.16.180.1
 
  *****
[2006/02/03 02:10:20, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
 
  Samba name server DARKSTAR is now a local master browser for workgroup WORKGROUP on subnet 172.16.245.1
 
  *****
[2006/02/03 02:10:20, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
 
  Samba name server DARKSTAR is now a local master browser for workgroup WORKGROUP on subnet 83.213.80.167
 
  *****
[2006/02/03 03:34:53, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2006/02/03 03:34:53, 0] libsmb/nmblib.c:send_udp(791)
  Packet send failed to 83.213.95.255(138) ERRNO=Invalid argument
[2006/02/03 03:34:53, 0] libsmb/nmblib.c:send_udp(791)
  Packet send failed to 83.213.95.255(138) ERRNO=Invalid argument
[2006/02/06 00:13:48, 0] nmbd/nmbd.c:main(717)
  Netbios nameserver version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/06 00:13:50, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2006/02/07 20:50:26, 0] nmbd/nmbd.c:main(717)
  Netbios nameserver version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/07 20:50:28, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2006/02/07 20:53:49, 0] nmbd/nmbd.c:main(717)
  Netbios nameserver version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/07 20:53:51, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2006/02/07 23:47:24, 0] nmbd/nmbd.c:main(717)
  Netbios nameserver version 3.0.20b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2005
[2006/02/07 23:47:31, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...


/var/log/samba/log.127.0.0.1 (o cualquiera de los que pone log.ip)
[2006/02/03 03:30:18, 0] param/params.c:OpenConfFile(538)
  params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/vscan-clamav.conf":
        No such file or directory
[2006/02/03 03:31:01, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 03:31:01, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 02:52:47, 0] lib/access.c:check_access(328)
  Denied connection from  (83.213.109.57)
[2006/02/03 02:52:47, 1] smbd/process.c:process_smb(1107)
  Connection denied from 83.213.109.57
[2006/02/03 02:56:32, 0] lib/access.c:check_access(328)
  Denied connection from  (83.213.109.57)
[2006/02/03 02:56:32, 1] smbd/process.c:process_smb(1107)
  Connection denied from 83.213.109.57
[2006/02/03 03:30:18, 0] param/params.c:OpenConfFile(538)
  params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/vscan-clamav.conf":
        No such file or directory
[2006/02/03 03:31:01, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 03:31:01, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 03:31:05, 0] param/params.c:OpenConfFile(538)
  params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/vscan-clamav.conf":
        No such file or directory
[2006/02/03 03:31:05, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
[2006/02/03 03:31:05, 1] param/loadparm.c:lp_do_parameter(3283)
  WARNING: The "printer admin" option is deprecated
Parece que anda buscando el antivirus y como no lo encuentra, lo tira abajo... no sabría decirte si es un bug o un fallo de configuración

Saludos.Ferdy
lo del antivirus lo he metido sólo para samba. Lo voy a quitar a ver,

rc-update del ...

El único ping que parece que funciona sin perder los paquetes es localhost 127.0.0.1 XD

Edito:

En /etc/conf.d/net, tengo ahora:
config_eth0=("192.168.1.1 netmask 255.255.255.0")


Quedando en /etc/hosts:
192.168.1.1     localhost darkstar
#127.0.0.1      localhost  darkstar
192.168.1.2     hasefroch


Vuelvo a editar, ping ya funciona perfecto para 192.168.1.1 y 192.168.1.2 desde las 2 máquinas:
Faltaba en la máquina linux lo de:
rc-update add net.eth0 default


Vuelvo a editar otra vez:
Samba funciona!! Cómo mola jeje. La carpeta es de windows, quizás me podría interesar otra carpeta compartida en la máquina linux también.
Lo del antivirus sigue saliendo
5 respuestas