Go to advanced search

by epoch1970
Thu Jul 14, 2016 4:06 pm
Forum: Français
Topic: Accès SSH direct sur RPI3 par wifi avec smarmtphone
Replies: 17
Views: 3213

Re: Accès SSH direct sur RPI3 par wifi avec smarmtphone

Tu as des caractères de contrôle quelque part dans le fichier ou un truc comme ça (essaie "cat -v hostapd.conf") Je viens de copier-coller ta conf dans mon Pi 3 et "RPI3-ROBOT" est apparu. J'enlèverai le "ht-capab" à ta place. La carte Broadcom ne gère pas le 40MHz il me semble. Dans mon hostapd je ...
by epoch1970
Thu Jul 14, 2016 2:19 pm
Forum: Français
Topic: Accès SSH direct sur RPI3 par wifi avec smarmtphone
Replies: 17
Views: 3213

Re: Accès SSH direct sur RPI3 par wifi avec smarmtphone

Il faudrait aussi que j'installe dnsmask... Dnsmasq, ça marche bien, l'installer ça n'est pas la mort du petit cheval. Mais si tu as un seul client (ou très peu de clients), tu peux utiliser une configuration manuelle pour les IP. Dans une config d'AP normale on met un serveur DHCP car on s'attend ...
by epoch1970
Thu Jul 14, 2016 2:14 pm
Forum: Français
Topic: Accès SSH direct sur RPI3 par wifi avec smarmtphone
Replies: 17
Views: 3213

Re: Accès SSH direct sur RPI3 par wifi avec smarmtphone

https://wiki.debian.org/fr/WiFi/AdHoc Voué. Le haddock, à chaque fois que j'ai goûté j'ai pas trop aimé. Ca serait la réponse logique, vu que patsherbrooke ne demande l'accès que pour un seul client. Mais comme beaucoup moins de monde utilise ad-hoc que AP, je crois que point d'accès est un chemin ...
by epoch1970
Thu Jul 14, 2016 12:58 pm
Forum: Français
Topic: Accès SSH direct sur RPI3 par wifi avec smarmtphone
Replies: 17
Views: 3213

Re: Accès SSH direct sur RPI3 par wifi avec smarmtphone

Il faut que le Pi 3 soit un point d'accès wifi, auquel tu connecteras le téléphone. Le Pi doit gérer un réseau séparé, et donner accès via Hostapd. Vois les tutos/articles/posts sur ce thème, en anglais au moins il y a plus que le choix. Tu vas entrer dans une difficulté si tu veux que la carte wifi...
by epoch1970
Thu Jul 14, 2016 12:37 pm
Forum: Troubleshooting
Topic: New Modem- Communication Prohibited by filter
Replies: 7
Views: 3370

Re: New Modem- Communication Prohibited by filter

I can connect multiple computers/phones. IP 192.2.x.x. ... I had set up the pi at 192.68.2.82 with the other router. Probably not. "Class-C" local networks are numbered as 192.168. [0-255].[0-255] 192.2.something or 192.68.something are public networks, your router will (should) be displeased if yo...
by epoch1970
Wed Jul 13, 2016 2:37 pm
Forum: General discussion
Topic: I want to turn my Pi in to a local hardware firewall.
Replies: 4
Views: 4726

Re: I want to turn my Pi in to a local hardware firewall.

Welcome, I'm not sure why you'd want to do that but yes, I think it should work. I see one major hassle: adapting the passwd/security config of the Pi to its wireless environment. You'd have to connect from the mac, search for available networks, input credentials etc and start the connexion. That s...
by epoch1970
Wed Jul 13, 2016 1:16 pm
Forum: General discussion
Topic: Remote control via WI-FI
Replies: 7
Views: 7900

Re: Remote control via WI-FI

faramon wrote:Ok, i have done ...
For the record, you do what you want, but nobody should do the same unless they understand the potential consequences i. to the Pi in question, ii. to all other machines in the same network.
Do not expose ssh or ftp to the Internet as a matter of routine. On any machine.
by epoch1970
Wed Jul 13, 2016 10:46 am
Forum: General discussion
Topic: USB ethernet gigabit adapter
Replies: 16
Views: 13412

Re: USB ethernet gigabit adapter

Forgot to mention that earlier, sorry. Check how your adapter is setup. This is my gigabit adapter configuration, it's all auto-configured I didn't have to do anything special: admin@berck:~ $ sudo ethtool usb0 Settings for usb0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT...
by epoch1970
Wed Jul 13, 2016 9:51 am
Forum: General discussion
Topic: USB ethernet gigabit adapter
Replies: 16
Views: 13412

Re: USB ethernet gigabit adapter

I added the following, inspired by eth0 ifconfig command gave me the eth1 name auto eth1 iface eth1 inet dhcp But with or without that, same result in my tests If you use auto the interface goes up when networking goes up. If you use allow-hotplug, the interface goes up when udev senses the usb dev...
by epoch1970
Wed Jul 13, 2016 9:32 am
Forum: Français
Topic: Comment feriez vous pour programmer une sauvegarde
Replies: 9
Views: 1837

Re: Comment feriez vous pour programmer une sauvegarde

tu as sans doute raison… bref, mon idée est peut-être pas la plus simple. Si tu n'as pas le choix, tu peux toujours essayer à la main avec 2 mount et un cp. Tu vois le temps que ça prendrait. Si la durée est acceptable et que ça se passe la nuit, personne ne se plaindra que le réseau est lent ou le...
by epoch1970
Wed Jul 13, 2016 8:35 am
Forum: Français
Topic: Planté! Comment redémarrer ?
Replies: 3
Views: 1151

Re: Planté! Comment redémarrer ?

Si tu peux monter la SD sur une autre machine linux (éventuellement virtuelle), tu pourrais éditer confortablement ta partition root. Sinon ça devient un peu chagrin: éditer cmdline.txt et mettre init=/bin/sh à la fin, tu bootes dans un shell un peu foireux (pas de /proc etc.) avec un clavier US (da...
by epoch1970
Wed Jul 13, 2016 8:23 am
Forum: Français
Topic: Comment feriez vous pour programmer une sauvegarde
Replies: 9
Views: 1837

Re: Comment feriez vous pour programmer une sauvegarde

Ah oui ça c’est pas idiot. Je vais creuser cela quand… j’aurai réussi à sortir de mon plantage , ce qui n’a pas l’air simple. EDIT Que ces disques soient distants quel problème vois-tu ? Jusque que les octets vont faire l'aller-retour sur le réseau, ça sera plus long. ah mais non ! les octets iront...
by epoch1970
Wed Jul 13, 2016 8:10 am
Forum: Français
Topic: Comment feriez vous pour programmer une sauvegarde
Replies: 9
Views: 1837

Re: Comment feriez vous pour programmer une sauvegarde

Que ces disques soient distants quel problème vois-tu ? Jusque que les octets vont faire l'aller-retour sur le réseau, ça sera plus long. Pour le script pas trop d'avis. Le système de fichier, un langage de préférence... devraient te permettre de filtrer un peu les offres. PS: Si le NAS sait se met...
by epoch1970
Tue Jul 12, 2016 6:28 pm
Forum: Français
Topic: BOnjour , je cherche a trouve le chemin du shutdown
Replies: 5
Views: 1319

Re: BOnjour , je cherche a trouve le chemin du shutdown

Processing (Java) je ne connais pas.
Tu ne voudrais pas créer une nouvelle discussion avec un titre plus parlant? Style "Lancer shutdown depuis Java/Processing ?"
by epoch1970
Tue Jul 12, 2016 4:48 pm
Forum: Français
Topic: BOnjour , je cherche a trouve le chemin du shutdown
Replies: 5
Views: 1319

Re: BOnjour , je cherche a trouve le chemin du shutdown

/sbin/shutdown, c'est le chemin vers le programme shutdown. Ce programme exécute l'arrêt de la machine lorsqu'on l'appelle. Pour avoir le droit de l'appeler il faut être administrateur de la machine, ou utiliser un environnement graphique qui autorise cette opération. Si tu expliquais pourquoi tu ve...
by epoch1970
Tue Jul 12, 2016 4:41 pm
Forum: Français
Topic: Comment feriez vous pour programmer une sauvegarde
Replies: 9
Views: 1837

Re: Comment feriez vous pour programmer une sauvegarde

Je mettrais dans /etc/cron.d un appel quotidien vers un script aux environs de l'heure prévue. Le script ferait les verifs de base puis lancerait la copie. Avec peut être un envoi d'e-mail avant de quitter en cas d'erreur. Ce qui me plait nettement moins c'est que les 2 disques sont distants... Impo...
by epoch1970
Tue Jul 12, 2016 2:49 pm
Forum: Troubleshooting
Topic: Shutdown Text
Replies: 10
Views: 3560

Re: Shutdown Text

No ill effects AFAIK, but the strange thing is why this module was summoned in the first place.
I don't recall exactly but after installing the watchdog package for the 1st time on a Pi, I started looking for the module name, because it didn't load by simply installing the package.
by epoch1970
Tue Jul 12, 2016 1:46 pm
Forum: General discussion
Topic: USB ethernet gigabit adapter
Replies: 16
Views: 13412

Re: USB ethernet gigabit adapter

I've been looking at the power used by an ASIX AX88179 based USB -> gigabit adapter. It is using (comparatively speaking) a LOT of power (about 1 watt even in low power mode with a smart switch) The standard wifi dongle uses 1/2 watt. Both these figures are when idling. Will have to check performan...
by epoch1970
Tue Jul 12, 2016 11:57 am
Forum: Troubleshooting
Topic: New Modem- Communication Prohibited by filter
Replies: 7
Views: 3370

Re: New Modem- Communication Prohibited by filter

That's weird because there you have an iiNet machine refusing to respond to the ping... Your new box looks more like a modem, and not a router. Can you connect 2 computers at the same time at home, and have internet working on both? Does the address on the comps/devices look like 192.168.x.x or 172....
by epoch1970
Tue Jul 12, 2016 11:45 am
Forum: Troubleshooting
Topic: Shutdown Text
Replies: 10
Views: 3560

Re: Shutdown Text

Yes, this message is related to the hardware watchdog. When the system takes more than a few seconds to shutdown, the active watchdog complains it hasn't been taken care of (while the machine is still busy shutting down.) Do you have a watchdog package installed? It is not installed by default. (The...
by epoch1970
Tue Jul 12, 2016 11:10 am
Forum: Beginners
Topic: Unable to LISTEN on CUPS port 631
Replies: 8
Views: 4989

Re: Unable to LISTEN on CUPS port 631

I'd suggest to increase logging level in CUPS and see what it says.
If it says nothing (or shows no error before going silent) something's rotten at network level, e.g. firewall, networking...
If you see errors, try to google the error message.
by epoch1970
Tue Jul 12, 2016 8:50 am
Forum: Beginners
Topic: RPI3 - Possible to switch off (zero power) the WiFi and BT?
Replies: 10
Views: 2940

Re: RPI3 - Possible to switch off (zero power) the WiFi and

What about "apt-get install rfkill" ?
by epoch1970
Tue Jul 12, 2016 8:42 am
Forum: General discussion
Topic: Remote control via WI-FI
Replies: 7
Views: 7900

Re: Remote control via WI-FI

If you want to keep the Pi on the router's wifi network and in addition, offer another wifi link for the Mac to connect to, it might be tricky or impossible. You're looking at creating an additional virtual wireless interface, I predict a bumpy road. If connecting the Pi to the Internet does not mat...
by epoch1970
Tue Jul 12, 2016 8:15 am
Forum: Troubleshooting
Topic: incorrect system boot time
Replies: 3
Views: 942

Re: incorrect system boot time

I think the response is in the question. The Pi doesn't keep track of time when it is off since it has no battery-backed clock. So it boots on Jan. 1st, 1970 00:00:00 (shifted by your timezone) every time. "utmpdump /var/log/wtmp" will show you that. root@berck:~# utmpdump /var/log/wtmp | grep reboo...
by epoch1970
Mon Jul 11, 2016 8:10 pm
Forum: Français
Topic: BOnjour , je cherche a trouve le chemin du shutdown
Replies: 5
Views: 1319

Re: BOnjour , je cherche a trouve le chemin du shutdown

La commande pour ça c'est "which"

Code: Select all

admin@berck:~ $ which shutdown
/sbin/shutdown

Go to advanced search