Mostrando entradas con la etiqueta Network. Mostrar todas las entradas
Mostrando entradas con la etiqueta Network. Mostrar todas las entradas

11 mar 2025

netdiscover - scan your local area network (LAN) [and wifi too!] like years ago.


Really usefull tool, available since I can renember... its location, and one of my usernames!

:)

now what has to be taken in consideration: this program used to ba available to root user by default but, for security reasons i presume, path to this folder was not set so to run without the / bedore command. If you want to "walk on the wild side of life", this not to be taken but as a joke please, you can

export PATH=$PATH:/usr/sbin

to run it from anywhere. Any path can be added to suit your need.

5 sept 2016

How to access LAN windows network shares from Debian command line

If you are using Debian OS running in Terminal, console or SSH and you would like to access shares available in that machine's Local Network Area connection capability, you may want to try these easy steps. To me it worked just perfect! Do not forget to run commands as root, involving it by writing su. Also an apt-get update && apt-get upgrade is always recommended. Then after:



1.- Install needed stuff:

apt-get install samba

apt-get install cifs-utils


2.-Edit fstab file

nano /etc/fstab

Nano is a small editor. Use the one you prefer the most, and add the line:

//192.168.x.x/nameOfShare       /mnt/smb      cifs       guest,uid=1000,iocharset=utf8      0      0

Check you local server IP to be right, and also check that your local smb folder path is real. You could also set user and password, but this is not explained hereby.


4.- Run the command:

mount -a


If it all worked all right you should be able to list (ls) and copy (cp) files, in the event of a guest user account available to connect.

I do not remember where I got this info, surely available in the world wide web. This I write to myself as a reminder, in the event I find myself in the need of having to repeat this easy steps, and not remembering where did I find the instructions. Sorry for not crediting properly the source of the information.