Go to advanced search

by iznobe
Mon Feb 17, 2020 10:46 am
Forum: Networking and servers
Topic: [ SOLVED ] how to verify internet connection
Replies: 16
Views: 674

Re: how to verify internet connection

Hi and thanks for your explanation ;)

i ' m learning and now i understand , thanks to you :D
by iznobe
Mon Feb 17, 2020 10:30 am
Forum: Networking and servers
Topic: [ SOLVED ] how to verify internet connection
Replies: 16
Views: 674

Re: how to verify internet connection

thanks for responding and giving your code ;)

questions : what is doing this part of code :

Code: Select all

if [ $? != 0 ] 


i know this a condition , but i don't understand the " ? "

what variable is it please?
by iznobe
Mon Feb 17, 2020 9:35 am
Forum: Networking and servers
Topic: [ SOLVED ] how to verify internet connection
Replies: 16
Views: 674

[ SOLVED ] how to verify internet connection

Hi all, my router seems to not work perfectly ... so i would like to do a little script to verify if my pi can access internet , if no reboot my router . i ' ve found a script to reboot my router , so this part is OK . i ' ve already seen in this forum a script to verify the internet connection , bu...
by iznobe
Wed Feb 12, 2020 9:32 pm
Forum: Français
Topic: Faisabilité de mon projet
Replies: 3
Views: 506

Re: Faisabilité de mon projet

Bonjour à tous, Je cherche à réaliser un projet de "Gestionnaire de mot de passe maison" sur une Raspberry Pi. Je n'ai plus forcément confiance en certain gestionnaire que j'utilisais auparavant et je souhaiterais donc me créer une petite base de données avec tout mes mots de passes. Je suis débuta...
by iznobe
Wed Feb 12, 2020 9:16 pm
Forum: Français
Topic: Réinstallation de NOOBS
Replies: 13
Views: 573

Re: Réinstallation de NOOBS

Je viens d'essayer d'installer directement raspbian à laide de Belena et quand j'insère la carte dans mon raspberry la led Act se met à faire un cycle de clignotement (comme que je le met sous tension sans mettre de carte) salut , quelle est la carte , ou l' avez vous acheté exactement ? pour teste...
by iznobe
Wed Feb 12, 2020 8:51 pm
Forum: Français
Topic: Utilisation de rpi-clone
Replies: 8
Views: 1108

Re: Utilisation de rpi-clone

Salut , si la copie est erronnée , logiquement le pi ne demarre pas et c' est tout , en fait tout se passe bien :D , mais comme il lit les fichiers de demarrage qui n ' existe pas ou sont faux , ben il demarre pas . physiquement , il n ' y a pas de risque pour le pi a essayer ca tant que le reste , ...
by iznobe
Wed Feb 12, 2020 8:12 pm
Forum: Français
Topic: ipv6 et Free
Replies: 7
Views: 588

Re: ipv6 et Free

Ipv6 !! plus de 20 ans qu'on en parle et personne n'en veut ... bizarre non ? ba effectivement l ' IPV6 complique les choses pour tout le monde , mais bon , on ne sait pas quand , mais on sera bien obligé d' y passer un jour ou l ' autre :roll: avec la multiplication des machines en acces externe f...
by iznobe
Thu Jan 23, 2020 9:57 pm
Forum: Networking and servers
Topic: Network Bridge not assigning IP to clients
Replies: 3
Views: 251

Re: Network Bridge not assigning IP to clients

HellScream2020 wrote:
Thu Jan 23, 2020 2:33 pm
SOLVED. MY BAD!!! SORRY.
The issue was in the file

Code: Select all

/etc/default/isc-dhcp-server
There I was defining wlan0 and eth1, not wlan and br0.

Issue is solved. Please close.
Hi ,

so just edit the title of your first post and add [ SOLVED ]

regards
by iznobe
Tue Jan 21, 2020 9:28 am
Forum: Networking and servers
Topic: Runing network script every 2 mins
Replies: 6
Views: 406

Re: Runing network script every 2 mins

Hi , open a terminal windows and type or past this : bash /home/pi/Desktop/check_inet.sh post complete command and result here please . this will launch your script and errors if any . You can have no errors too , but the script doesn ' work as expected so to debug your script , you can simply add e...
by iznobe
Mon Jan 20, 2020 11:01 am
Forum: Networking and servers
Topic: Two questions about using RPi 4 as an access point
Replies: 4
Views: 503

Re: Two questions about using RPi 4 as an access point

hi ,

to connect wirelessly , you certainly need to enter a passphrase in your computer ?

if yes , the arduinno need this passphrase to connect to your wireless AP .
by iznobe
Mon Jan 20, 2020 10:52 am
Forum: Networking and servers
Topic: Runing network script every 2 mins
Replies: 6
Views: 406

Re: Runing network script every 2 mins

hello ,

the script is working ?

or this is the crontab line not function : try this line : 2 * * * * /home/pi/Desktop/check_inet.sh

because your crontab line is wrong ;)

the first is for minute , the second = hours , the third is day of month etc ... check the contab documentation :|
by iznobe
Sat Jan 18, 2020 2:50 pm
Forum: Networking and servers
Topic: Accessing SSH outside local network
Replies: 52
Views: 225626

Re: Accessing SSH outside local network

hi ,

using a Dynamic DNS is simplest , simply suscribe to a free service , and write subcription infos to your router , all is ok during all the time ...
and no necessary to install script or other things , and nothing more to do .
by iznobe
Sat Jan 18, 2020 12:51 pm
Forum: Networking and servers
Topic: Updating Pis
Replies: 9
Views: 805

Re: Updating Pis

Maze_fr wrote:
Fri Jan 17, 2020 4:41 pm
Maybe you could put all your command line in one script and launch it in a cron ?
Hi , it seems to me that it is the simplest way ;)
by iznobe
Sat Jan 18, 2020 12:39 pm
Forum: Français
Topic: [Résolu] problème mise à jour paquet
Replies: 3
Views: 1058

Re: problème mise à jour paquet

surtout que c ' est pour une distribution anterieure , ca ne risquait pas de marcher meme avec le serveur en ligne :mrgreen:

buster et stretch melangé dans les depots !!!

editer si possible le titre de votre premier message et y ajouter resolu permet de savoir que le probleme est reglé ;)
by iznobe
Sat Jan 18, 2020 12:36 pm
Forum: Français
Topic: Nas Raspberry samba config pose peut être problème ?
Replies: 4
Views: 438

Re: Nas Raspberry samba config pose peut être problème ?

RE, pour partager ta cle USB de 64 GO , cela reste assez simple une fois le fichier /etc/fstab pret pour monter ta clé automatiquement a chaque demarrage , tu as donc du lui attribuer un dossier de montage que tu as cree expres . A partir de là , simplement il fait " parti integrante " de ton system...
by iznobe
Sat Jan 18, 2020 12:20 pm
Forum: Français
Topic: Raspberry NAS accès via internet
Replies: 1
Views: 320

Re: Raspberry NAS accès via internet

Salut , pour cela il faut dans un premier temps avoir une IP externe fixe ou utliser un DDNS qui permettent d' avoir une acces permanent a votre serveur . ensuite en fonction du protocole et du mode de partage du nas sur le routeur il faut ouvrir et rediriger un port ( plus securisé ) avec un port e...
by iznobe
Sat Jan 18, 2020 12:12 pm
Forum: Français
Topic: Apache2 permissions
Replies: 1
Views: 170

Re: Apache2 permissions

More information about this error may be available in the server error log. Salut , a priori , si tu as deja CHMOD tout en 777 , on peut affirmer que ce n ' est pas un probleme de droit . Perso , je commencerai deja par chercher ce qu ' est vraiment l ' erreur , pour cela verifier le fichier de log...
by iznobe
Sat Jan 18, 2020 12:06 pm
Forum: Français
Topic: Impossible de connecter un lecteur réseau pour accéder à un NAS
Replies: 1
Views: 214

Re: Impossible de connecter un lecteur réseau pour accéder à un NAS

Salut , pour pouvoir t ' aider , il faudrait donner bien plus d' information . Par exemple : ton fichier de config samba si c' est bien avec samba que tu partages . A partir de quel systeme tu essaies de te connecter a ton partage NAS . quel explorateur de fichier est utilisé pour tenter d' acceder ...
by iznobe
Sat Jan 18, 2020 11:56 am
Forum: Français
Topic: Raspberry Pi 4 accès NAS depuis l'extérieur
Replies: 7
Views: 1207

Re: Raspberry Pi 4 accès NAS depuis l'extérieur

Salut , comme l' a dit totoharibo , pour que ca marche , sans parler de protocole , de port etc , il faut d' abord aussi avoir soit une adresse IP externe fixe , soit passer par un DDNS ensuite on s' occupe de la redirection de port et des protocoles a mettre en place . sinon il est possible de conn...
by iznobe
Fri Jan 17, 2020 3:41 pm
Forum: Networking and servers
Topic: [ SOLVED ] state of GPIO after boot
Replies: 2
Views: 208

Re: state of GPIO after boot

finally , all is good and seems to work actually ;)

Add the line to read it on /etc/rc.local ;)

Code: Select all

bash /home/pi/projets_auto/bash/gpio-auto-at-boot.sh
by iznobe
Fri Jan 17, 2020 3:13 pm
Forum: Networking and servers
Topic: [ SOLVED ] state of GPIO after boot
Replies: 2
Views: 208

Re: state of GPIO after boot

i ve donne the script in bash and tested it now : #!/bin/bash heure=$(date +%H%M%S) gpio mode 6 out # lumiere laverie gpio mode 5 out # portail secours gpio mode 4 out # porte laverie gpio mode 3 out # portail sortie gpio mode 2 out # portail entree # portail de secours reste tout le temps ferme , o...
by iznobe
Fri Jan 17, 2020 3:08 pm
Forum: Networking and servers
Topic: Problems with Samba - can't acces folder on external HDD
Replies: 5
Views: 775

Re: Problems with Samba - can't acces folder on external HDD

hi , how is mounted your HDD ? and what is it file format ? options and permissions are not same for NTFS and EXT4 for example . the simplest way is to start with a EXT4 file format on your HDD , if it cause no probleme . after , you just have to do same rights permissions and options , so it shoul ...
by iznobe
Fri Jan 17, 2020 10:43 am
Forum: Networking and servers
Topic: [ SOLVED ] state of GPIO after boot
Replies: 2
Views: 208

[ SOLVED ] state of GPIO after boot

Hello , i ve writted a PHP code to open and close doors with my phone ( manually ) and it is working , protected by fail2ban , and all seems to be working like a charm , but :roll: when i restart my pi GPIO state are changed . i write a bash script and a cron task to close and open doors too (automa...
by iznobe
Fri Jan 17, 2020 10:23 am
Forum: Networking and servers
Topic: [SOLVED ] protect acces site by using fail2ban against bruteforce and DDOS attack
Replies: 2
Views: 558

Re: protect acces site by using fail2ban against bruteforce and DDOS attack

thanks for this reply !! it seems it is now working : pi@raspberrypi:~ $ sudo fail2ban-client status Status |- Number of jail: 13 `- Jail list: apache-auth, apache-badbots, apache-botsearch, apache-fakegooglebot, apache-modsecurity, apache-nohome, apache-noscript, apache-overflows, apache-shellshock...
by iznobe
Thu Jan 16, 2020 1:55 pm
Forum: Networking and servers
Topic: Neatest way to attach 2x USB HDD’s
Replies: 8
Views: 751

Re: Neatest way to attach 2x USB HDD’s

Hi do you have already buy your HDD ? if no , you can look at m2 SSD , it depends on what you want to do . it is more little than HDD 2.5" , and need less power than others HDDs. case example here : https://www.amazon.fr/gp/product/B016HL0W62/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1 HDD exam...

Go to advanced search