Go to advanced search

by epoch1970
Tue Apr 23, 2019 8:53 pm
Forum: Français
Topic: PANIC: VFS: Unable to mount root fs on unknown-block(179,2)
Replies: 3
Views: 38

Re: PANIC: VFS: Unable to mount root fs on unknown-block(179,2)

Carte en lecture seule = carte morte.
C’est leur manière, relativement élégante, de cesser de fonctionner.
by epoch1970
Tue Apr 23, 2019 11:21 am
Forum: Networking and servers
Topic: having trubbel installing isc-dhcp-server
Replies: 2
Views: 37

Re: having trubbel installing isc-dhcp-server

Install Raspbian Stretch and not Jessie, install dnsmasq and not ISC dhcpd
Things will go much smoother.

Do not follow obsolete how-tos. Anything written more than 2 years ago and not updated since should not be trusted.
by epoch1970
Tue Apr 23, 2019 11:14 am
Forum: Raspbian
Topic: 0% [Connecting to raspbian.raspberrypi.org (2a00:1098:0:80:1000:75:0:3)]
Replies: 2
Views: 60

Re: 0% [Connecting to raspbian.raspberrypi.org (2a00:1098:0:80:1000:75:0:3)]

The name is resolved as an ipv6 address but ipv6 is blocked somewhere along the path.
You can configure apt-get to only use ipv4: https://unix.stackexchange.com/question ... pv6-method

In the meantime try

Code: Select all

sudo apt-get update -o Acquire::ForceIPv4=true
by epoch1970
Mon Apr 22, 2019 10:58 pm
Forum: Advanced users
Topic: How to permanently set wifi power
Replies: 6
Views: 152

Re: How to permanently set wifi power

Sure.
by epoch1970
Mon Apr 22, 2019 10:56 pm
Forum: Advanced users
Topic: Trouble getting AP client ip address (hostapd/dnsmasq)
Replies: 1
Views: 27

Re: Trouble getting AP client ip address (hostapd/dnsmasq)

Mhh. Perhaps dnsmasq is not running or not listening on the right interface? What iw tells you is more or less if the "cable is connected". Iw cares about the media, not a all about IP. Raspbian, by default, will use IPv4 and IPv6 link-local IP addresses. These addresses are auto configured when a D...
by epoch1970
Mon Apr 22, 2019 10:44 pm
Forum: Beginners
Topic: Control the Router Wi-Fi rf via Raspberry
Replies: 3
Views: 68

Re: Control the Router Wi-Fi rf via Raspberry

Welcome. I went and started looking at the descriptions and user guides for the 3 products. It's a bit of a chore so I botched the job, perhaps you want to check by yourself. This is what I found: - none of these products have a line-oriented management interface, like telnet or ssh. That would have...
by epoch1970
Mon Apr 22, 2019 7:08 pm
Forum: Advanced users
Topic: PiVPN (OpenVPN) routing woes...
Replies: 4
Views: 75

Re: PiVPN (OpenVPN) routing woes...

I'm OK with totally disassociating myself with my local LAN when I connect to the remote LAN. For the short periods of time I need to remotely work on the remote network I don't need any smart routing to get access to both networks simultaneously. Oh. So no problem I would think. I don’t use server...
by epoch1970
Mon Apr 22, 2019 6:50 pm
Forum: Advanced users
Topic: PiVPN (OpenVPN) routing woes...
Replies: 4
Views: 75

Re: PiVPN (OpenVPN) routing woes...

I think you’ll need “client-nat snat|dnat” config statements in order to get openvpn to execute a double 1:1 NAT so that LANs stop overlapping. https://unix.stackexchange.com/questions/57375/11-nat-with-several-identical-lans Not too pretty, overall. Perhaps renumbering one side is a better idea. (I...
by epoch1970
Mon Apr 22, 2019 6:38 pm
Forum: Networking and servers
Topic: HowTo Configure a Caching IPv4/IPv6 DNS Stub Resolver using “systemd-resolved”
Replies: 5
Views: 108

Re: HowTo Configure a Caching IPv4/IPv6 DNS Stub Resolver using “systemd-resolved”

So you don’t use hosts much. Me neither. I highly doubt everybody and their aunt tweak their nsswitch file to get rid of it. Nobody cares about this dinosaur of nsswitch, and that’s a good thing. Aren’t you posting a howto because when the resolver breaks on a machine, anything and everything can su...
by epoch1970
Mon Apr 22, 2019 12:19 pm
Forum: Troubleshooting
Topic: Raspberry Pi Zero doesn't boots after closing systemd-udev-trigger.service.
Replies: 1
Views: 29

Re: Raspberry Pi Zero doesn't boots after closing systemd-udev-trigger.service.

What do you mean by "closing"? Did you "systemctl disable" that service? I don't have a Raspbian machine to look at but on another systemd machine I have at hand (ubuntu), there is a file under /lib/systemd/system/systemd-udev-trigger.service There is a soft link to it in /lib/systemd/system/sysinit...
by epoch1970
Mon Apr 22, 2019 11:59 am
Forum: Troubleshooting
Topic: Autobackup USB drive when connected to PI
Replies: 1
Views: 46

Re: Autobackup USB drive when connected to PI

2 comments regarding your rules: a) You're matching "sdb" but there is no guarantee at all the HDD gets called "sdb" at every boot. Especially if it is plugged out and back in, you might find it under "sdc" or some other kernel name. You could match by serial number or, I think, filesystem UUID and ...
by epoch1970
Mon Apr 22, 2019 9:38 am
Forum: General discussion
Topic: simultaneously running MPICH2,SLURUM, Kubernetes, Dockerswarm, Openstack
Replies: 2
Views: 106

Re: simultaneously running MPICH2,SLURUM, Kubernetes, Dockerswarm, Openstack

Simultaneously, no. Why, anyway? EDIT I'll expound a little bit. A cluster is a distributed machine. An orchestrator (another nice buzzword) computes and enforces the state of that distributed machine. To do that it requires exclusive access to resources on the machine(s) it runs on. You'd immediate...
by epoch1970
Mon Apr 22, 2019 9:06 am
Forum: Networking and servers
Topic: HowTo Configure a Caching IPv4/IPv6 DNS Stub Resolver using “systemd-resolved”
Replies: 5
Views: 108

Re: HowTo Configure a Caching IPv4/IPv6 DNS Stub Resolver using “systemd-resolved”

And that makes /etc/hosts essentially useless. I understand the want to hit the cache, but I don’t believe overriding /etc/hosts is the best idea.
by epoch1970
Sun Apr 21, 2019 10:21 pm
Forum: Networking and servers
Topic: HowTo Configure a Caching IPv4/IPv6 DNS Stub Resolver using “systemd-resolved”
Replies: 5
Views: 108

Re: HowTo Configure a Caching IPv4/IPv6 DNS Stub Resolver using “systemd-resolved”

Yes, that will probably prove useful...
BTW, why the change to /etc/nsswitch?
by epoch1970
Sun Apr 21, 2019 10:14 pm
Forum: Beginners
Topic: Pi Security always on VPN
Replies: 2
Views: 83

Re: Pi Security always on VPN

So how much do you trust Nord? (Or Plex for that matter) You’ve done certainly enough on the software side. Nord provides what is called a full tunnel VPN, ie the default route of the machine (aka the route to anywhere besides your LAN) is set through the tunnel. That’s slow, but it is secure (as mu...
by epoch1970
Sun Apr 21, 2019 9:31 pm
Forum: Advanced users
Topic: How to permanently set wifi power
Replies: 6
Views: 152

Re: How to permanently set wifi power

orchardaudio wrote:
Sun Apr 21, 2019 9:17 pm
How do I make the script that runs at bootup?
Add “iwconfig wlan0 txpower 10” (no quotes, no sudo in front) to /etc/rc.local
This is a system provided shell script that is executed at boot and can run simple tasks.
by epoch1970
Sun Apr 21, 2019 9:25 pm
Forum: Français
Topic: Boot automatique après reprise du courant
Replies: 3
Views: 94

Re: Boot automatique après reprise du courant

Ok. C’est peut être un souci lié au SSD.
Je pense avoir vu passer quelques posts concernant des pis avec SSD qui boutent mais qui ne reboutent pas.
N’étant pas concerné je n’en sais pas plus.
by epoch1970
Sun Apr 21, 2019 3:10 pm
Forum: Beginners
Topic: RPi3B+ and watchdog...
Replies: 12
Views: 4829

Re: RPi3B+ and watchdog...

Hi mates, I?ve some questions too, sorry I'm a newbie here.. thanks for support Some additional comments hopefully answering Q. 2 to 4. The general principle of a watchdog. The logic is that if some machine ceases working OK, restarting it will solve the problem until next time. To achieve this, th...
by epoch1970
Sat Apr 20, 2019 5:45 pm
Forum: General discussion
Topic: Connecting to 2 networls, one ethernet and 1 wifi
Replies: 9
Views: 204

Re: Connecting to 2 networls, one ethernet and 1 wifi

Not quite clear to me.
Do you have a network configuration file you can post?
by epoch1970
Sat Apr 20, 2019 5:39 pm
Forum: Raspbian
Topic: Raspi3 autoconnect to WiFi with static IP
Replies: 6
Views: 148

Re: Raspi3 autoconnect to WiFi with static IP

Purge /etc/network/interfaces # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' auto lo iface lo inet loopback Define these interfaces blocks in dhcpcd.conf (untested). interface wlan0 metric 100 static ip_address=10.34.36....
by epoch1970
Sat Apr 20, 2019 4:45 pm
Forum: Beginners
Topic: RPi3B+ and watchdog...
Replies: 12
Views: 4829

Re: RPi3B+ and watchdog...

SOmebody else told to do that: In /boot/config.txt add/change: watchdog=on In /etc/systemd/systemd.conf, change #RuntimeWatchdogSec= to: RuntimeWatchdogSec=10s so what config file should be changed? This options is a good one. The 1st instructions you posted certainly date a few years back, they ar...
by epoch1970
Sat Apr 20, 2019 2:17 pm
Forum: Troubleshooting
Topic: RPI3B+ : No Wifi in 2019-04-08 but OK in 2018-11-13
Replies: 2
Views: 75

Re: RPI3B+ : No Wifi in 2019-04-08 but OK in 2018-11-13

Hmm. "Link is down" on eth possibly does not come from the Pi but from the other end, the router or switch. From times to times I do reboot the very same switch that does not re-power a port when the link flips off/on quickly (not only with Pi.) I take mental note of re-flashing that switch and then...
by epoch1970
Sat Apr 20, 2019 1:22 pm
Forum: Beginners
Topic: Defective ports?
Replies: 9
Views: 178

Re: Defective ports?

Ah, I should've just used mm instead of cm. Do you think 3mm is an issue or am I just being paranoid at this point? Indeed you are :) I plugged a random USB cable on a Pi3 I just had lying around and the plug doesn't go all the way in the socket. There is indeed a stick-out of something like 3 or 4...
by epoch1970
Sat Apr 20, 2019 12:57 pm
Forum: Troubleshooting
Topic: After electrical power restart Raspberry Pi not working.
Replies: 1
Views: 62

Re: After electrical power restart Raspberry Pi not working.

Sorry... Apparently the filesystem got corrupted by the sudden power loss ("unable to mount root fs on unknown block") If you were very unlucky, the SD also died (turned read-only) due to the sudden power loss. That is not likely to happen, but it is possible. The most simple solution, since you jus...
by epoch1970
Sat Apr 20, 2019 12:36 pm
Forum: Debian
Topic: Headless install
Replies: 5
Views: 132

Re: Headless install

Raspbian is a (very) close cousin to Debian...

Go to advanced search