User Tools

Site Tools


informatica:linux:resolver_nombres_netbios

This is an old revision of the document!


dns hosts servidor de nombres

Antecedentes

Estamos en una red donde una máquina tiene un nombre NetBIOS, por ejemplo 'w4100006'. Si desde una máquina windows se le hace ping a ese nombre responde, pero si se le hace desde una máquina GNU/Linux no.

Solución

(Todo como root)

1. aptitude update && aptitude install winbind libnss-mdns

2. Editar /etc/nsswitch.conf y dejarlo tal que así:

<ocde> # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc “Name Service Switch”' for information about this file.

passwd: compat group: compat shadow: compat

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 wins networks: files

protocols: db files services: db files ethers: db files rpc: db files

netgroup: nis </code>

3. Grabar y salir

4. Probar el pìng

informatica/linux/resolver_nombres_netbios.1259778800.txt.gz · Last modified: 2015/04/13 20:19 (external edit)