logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 05-06-2017 15:01:32

calixtus06
Membre
Distrib. : Librazik 4
Noyau : 5.10.0-14-lzk-bl-amd64
(G)UI : mate
Inscription : 25-03-2016

Connaître les ports utilisés par sa freebox ??

Hello, j'ai un nouvel ordi à la maison. j'ai déjà installé les pc en serveur UPnP notamment avec le script de minidlna.

Comment faire pour que ça fonctionne à nouveau ?

nano /etc/minidlna.conf


 
# This is the configuration file for the MiniDLNA daemon, a DLNA/UPnP-AV media
# server.
#
# Unless otherwise noted, the commented out options show their default value.
#
# On Debian, you can also refer to the minidlna.conf(5) man page for
# documentation about this file.

# Specify the user name or uid to run as.
# user=nicolas


# Path to the directory you want scanned for media files.
#
# This option can be specified more than once if you want multiple directories
# scanned.
#
# If you want to restrict a media_dir to a specific content type, you can
# prepend the directory name with a letter representing the type (A, P or V),
# followed by a comma, as so:
#   * "A" for audio    (eg. media_dir=A,/var/lib/minidlna/music)
#   * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
#   * "V" for video    (eg. media_dir=V,/var/lib/minidlna/videos)
media_dir=A,/home/nicolas/Musique
media_dir=P,/home/nicolas/Images
media_dir=V,/home/nicolas/Vidéos
media_dir=T,/home/nicolas/Téléchargements
media_dir=D,/home/nicolas/Documents
media_dir=B,/home/nicolas/Bureau
# Path to the directory that should hold the database and album art cache.
db_dir=/var/cache/minidlna

# Path to the directory that should hold the log file.
#log_dir=/var/log

# Type and minimum level of importance of messages to be logged.
#
# The types are "artwork", "database", "general", "http", "inotify",
# "metadata", "scanner", "ssdp" and "tivo".
#
# The levels are "off", "fatal", "error", "warn", "info" or "debug".
# "off" turns of logging entirely, "fatal" is the highest level of importance
# and "debug" the lowest.
#
# The types are comma-separated, followed by an equal sign ("="), followed by a
# level that applies to the preceding types. This can be repeated, separating
# each of these constructs with a comma.
#
# The default is to log all types of messages at the "warn" level.
#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn

# Use a different container as the root of the directory tree presented to
# clients. The possible values are:
#   * "." - standard container
#   * "B" - "Browse Directory"
#   * "M" - "Music"
#   * "P" - "Pictures"
#   * "V" - "Video"
# If you specify "B" and the client device is audio-only then "Music/Folders"
# will be used as root.
#root_container=.

# Network interface(s) to bind to (e.g. eth0), comma delimited.
# This option can be specified more than once.
network_interface=wlan0

# IPv4 address to listen on (e.g. 192.0.2.1/24).
# If omitted, the mask defaults to 24. The IPs are added to those determined
# from the network_interface option above.
# This option can be specified more than once.
#listening_ip=

# Port number for HTTP traffic (descriptions, SOAP, media transfer).
# This option is mandatory (or it must be specified on the command-line using
# "-p").
port=49210

# URL presented to clients (e.g. http://example.com:80).
#presentation_url=/

# Name that the DLNA server presents to clients.
# Defaults to "hostname: username".
friendly_name=librazik_chambre
# Serial number the server reports to clients.
# Defaults to 00000000.
serial=681019810597110

# Model name the server reports to clients.
#model_name=Windows Media Connect compatible (MiniDLNA)

# Model number the server reports to clients.
# Defaults to the version number of minidlna.
model_number=1

# Automatic discovery of new files in the media_dir directory.
inotify=yes

# List of file names to look for when searching for album art.
# Names should be delimited with a forward slash ("/").
# This option can be specified more than once.
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg
album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg
album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

# Strictly adhere to DLNA standards.
# This allows server-side downscaling of very large JPEG images, which may
# decrease JPEG serving performance on (at least) Sony DLNA products.
strict_dlna=no

# Support for streaming .jpg and .mp3 files to a TiVo supporting HMO.
enable_tivo=no
# Notify interval, in seconds.
notify_interval=60

# Path to the MiniSSDPd socket, for MiniSSDPd support.
#minissdpdsocket=/run/minissdpd.sock
 

 



Comment savoir si le port 49210 est occupé ? S'il l'est  peut on l'indiquer pour plusieurs pc ?

Il y a un tuto très simple sur DF que j'avais utilisé . Qu'est ce que j'ai loupé comme épisode ?

merci

Dernière modification par calixtus06 (01-07-2017 23:12:18)


Il n'y a pas de mauvaises questions...

Hors ligne

#2 09-06-2017 15:59:50

daufinsyd
Membre
Lieu : 68, 63, Karlsruhe
Distrib. : Arch Linux + Debian Stable + Xubuntu
Noyau : Linux 4.17-amd64
(G)UI : Plasma 5.13
Inscription : 02-02-2013
Site Web

Re : Connaître les ports utilisés par sa freebox ??

Pour connaître l'état des ports tu peux utiliser nmap.

nmap -v 192.168.X.Y



ou ajouter l'options -p pour tester un port en particulier.

Sur le serveur même tu peux également utiliser lsof.

En revanche je ne connais pas minidlna, je ne peux malheureusement pas t'aider d'avantage. neutral
Vérifie les log du serveur wink


Portable i7 7700HQ, 16Go RAM, GTX 1050Ti, MX 500 Crucial
Intel i7-4790 - 12Go RAM - GTX460
Intel i7-6700 - 8Go RAM - AMD R9 280X 3Go - SSD 850Evo
Odroid C2, Raspberry Pi Zero

Hors ligne

#3 01-07-2017 23:11:27

calixtus06
Membre
Distrib. : Librazik 4
Noyau : 5.10.0-14-lzk-bl-amd64
(G)UI : mate
Inscription : 25-03-2016

Re : Connaître les ports utilisés par sa freebox ??

Salut,

nmap -v 192.168.0.43


root@debian:/home/nicolas# nmap -v 192.168.0.43

Starting Nmap 6.47 ( http://nmap.org ) at 2017-07-02 00:07 CEST
Initiating Parallel DNS resolution of 1 host. at 00:07
Completed Parallel DNS resolution of 1 host. at 00:07, 0.01s elapsed
Initiating SYN Stealth Scan at 00:07
Scanning 192.168.0.43 [1000 ports]
Discovered open port 22/tcp on 192.168.0.43
Discovered open port 111/tcp on 192.168.0.43
Discovered open port 6000/tcp on 192.168.0.43
Completed SYN Stealth Scan at 00:07, 2.38s elapsed (1000 total ports)
Nmap scan report for 192.168.0.43
Host is up (0.0000040s latency).
Not shown: 997 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
111/tcp  open  rpcbind
6000/tcp open  X11

Read data files from: /usr/bin/../share/nmap
Nmap done: 1 IP address (1 host up) scanned in 2.45 seconds
           Raw packets sent: 1061 (46.684KB) | Rcvd: 2125 (89.256KB)
root@debian:/home/nicolas#



ça ne répond pas à ma question à moins que je ne comprenne pas. Peut être aurais je dû donner le numéro de la passerelle ?

J'ai "créé" des serveurs upnp c'est à dire que je rends accessible mes pc par la freebox mais comment savoir si je n'indique pas un port déjà utilisé ??


Il n'y a pas de mauvaises questions...

Hors ligne

Pied de page des forums