Go to advanced search

by epoch1970
Fri Feb 15, 2019 11:44 am
Forum: Troubleshooting
Topic: Duplicating old avahi settings onto a new stretch image
Replies: 2
Views: 31

Re: Duplicating old avahi settings onto a new stretch image

Different interface names?
(I don’t see that the new Pi is failing, from your post. Run identical commands on each machine to make comparison possible. Beware of truncated lines, too)
by epoch1970
Fri Feb 15, 2019 12:15 am
Forum: Off topic discussion
Topic: Should the Pi Forum switch to Discourse?
Replies: 15
Views: 361

Re: Should the Pi Forum switch to Discourse?

No. Discourse is a marketing/customer support product designed for things like call avoidance and community engagement.
I don’t think it fits here.
by epoch1970
Thu Feb 14, 2019 11:18 pm
Forum: Troubleshooting
Topic: Some Pi's refuse to use local DNS server
Replies: 5
Views: 135

Re: Some Pi's refuse to use local DNS server

Well, your double entry in resolv.conf doesn’t work on some machines because they pick the other server, faster to respond or something like that. That is the single possible explanation, besides firewalling or some other external cause. I’ve told you how to fix your network config. I invite you to ...
by epoch1970
Thu Feb 14, 2019 10:08 am
Forum: Networking and servers
Topic: Two default gatway
Replies: 2
Views: 55

Re: Two default gatway

To solve the multihoming problem with linux you can:
- use "advanced" (source-based) routing/traffic control: https://lartc.org/lartc.html#LARTC.RPDB.MULTIPLE-LINKS
or,
- export one of the interfaces to a new netspace, with its own filtering and routing stack.
by epoch1970
Wed Feb 13, 2019 7:22 pm
Forum: Beginners
Topic: How to stop multiple scripts that are running simultaneously?
Replies: 8
Views: 148

Re: How to stop multiple scripts that are running simultaneously?

Also the basic job management functions: $ jobs $ <-- we start with no background tasks $ (while true; do echo "this"; sleep 30; done)& $ this $ (while true; do echo "that"; sleep 30; done)& $ that $ jobs <-- now there are 2 [2]+ Running (while true; do echo "that"; sleep 30; done) [1]- Running (whi...
by epoch1970
Wed Feb 13, 2019 2:32 pm
Forum: Troubleshooting
Topic: Boot from USB with bootcode.bin - kernel.img not found [Zero W]
Replies: 9
Views: 139

Re: Boot from USB with bootcode.bin - kernel.img not found [Zero W]

Well, I would have bet for 3 flashes, not 7 flashes. Maybe things have changed since last time I looked (sometime last year)
by epoch1970
Wed Feb 13, 2019 12:33 pm
Forum: Troubleshooting
Topic: Boot from USB with bootcode.bin - kernel.img not found [Zero W]
Replies: 9
Views: 139

Re: Boot from USB with bootcode.bin - kernel.img not found [Zero W]

I don't know if the latest bootrom will cope with GPT partitioned media, I had a feeling that it could, or that the GPT table had an MSDOS compatible table for compatibility purposes. I don't have the same feeling, maybe 3B+ improved things in this area? Do not, I repeat do not, try the "hybrid GPT...
by epoch1970
Wed Feb 13, 2019 12:20 pm
Forum: Troubleshooting
Topic: Boot from USB with bootcode.bin - kernel.img not found [Zero W]
Replies: 9
Views: 139

Re: Boot from USB with bootcode.bin - kernel.img not found [Zero W]

Just wondering, how is a GPT drive be handled by the firmware if it does not how to deal with it? It would not be handled at all, as you can see. The firmware is looking for an MBR, and then for the 1st partition, and it has to be FAT16 or FAT32 or VFAT, and nothing else AFAIK. Once it found its pa...
by epoch1970
Wed Feb 13, 2019 8:47 am
Forum: Troubleshooting
Topic: Boot from USB with bootcode.bin - kernel.img not found [Zero W]
Replies: 9
Views: 139

Re: Boot from USB with bootcode.bin - kernel.img not found [Zero W]

Use a DOS disklabel (MBR, not GPT) and have all the firmware and the kernel on a FAT file system located in the first partition.
The firmware doesn’t know how to deal with GPT, at all.
by epoch1970
Tue Feb 12, 2019 10:00 pm
Forum: Troubleshooting
Topic: Connection refused after reboot
Replies: 2
Views: 48

Re: Connection refused after reboot

SSH will say that when the server is indeed dead. It failed or it wasn't started (boot failed?)
Do any other service work?
Can you hook a monitor, and see what goes on?
by epoch1970
Tue Feb 12, 2019 7:53 pm
Forum: Troubleshooting
Topic: dhcpcd.conf setting static ip not working!
Replies: 4
Views: 92

Re: dhcpcd.conf setting static ip not working!

Dhcpcd reacts to a variety of netlink events to configure interfaces. Some parts of the config of an interface are processed when the interface comes up or down, others when a carrier is detected, etc. This bizarre question on SE received a response that could interest you. I’m not exactly sure whic...
by epoch1970
Tue Feb 12, 2019 4:00 pm
Forum: Troubleshooting
Topic: Some Pi's refuse to use local DNS server
Replies: 5
Views: 135

Re: Some Pi's refuse to use local DNS server

How do you imagine a client chooses between 192.168.2.1 and 192.168.2.115? https://serverfault.com/questions/398837/second-nameserver-in-etc-resolv-conf-not-picked-up-by-wget A: It sticks to the first one that is not dead. Round-robin mentioned in the link is not an option, because your servers have...
by epoch1970
Tue Feb 12, 2019 1:13 pm
Forum: General discussion
Topic: How to connect a ethernet device(having its own static I.p and netmask) wirelessly by my laptop?
Replies: 1
Views: 65

Re: How to connect a ethernet device(having its own static I.p and netmask) wirelessly by my laptop?

Bottom half of that page: https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md The Pi will create a wifi network. With a laptop configured with a static IP config in that network, eg 10.0.0.25/24, you'll be able to reach your device. If you want to reach the Pi as well, c...
by epoch1970
Mon Feb 11, 2019 5:27 pm
Forum: Troubleshooting
Topic: funny audio results
Replies: 2
Views: 74

Re: funny audio results

For digital audio, if an HDMI device has audio, it is required to implement the baseline format: stereo (uncompressed) PCM. Other formats are optional, with HDMI allowing up to 8 channels of uncompressed audio at sample sizes of 16-bit, 20-bit and 24-bit, with sample rates of 32 kHz, 44.1 kHz, 48 k...
by epoch1970
Mon Feb 11, 2019 9:50 am
Forum: Troubleshooting
Topic: Some Pi's refuse to use local DNS server
Replies: 5
Views: 135

Re: Some Pi's refuse to use local DNS server

Turn on “log-queries” in the dnsmasq config file and read /var/log/syslog to see what’s going on. Name resolution on a Unix machine starts at /etc/nsswitch and then usually goes through /etc/hosts and then /etc/resolv.conf Resolv.conf is modified via DHCP, among others. You might want to run with op...
by epoch1970
Sun Feb 10, 2019 10:26 am
Forum: Beginners
Topic: OpenVPN and Hostnames!!
Replies: 1
Views: 72

Re: OpenVPN and Hostnames!!

Your VPN client changes the machine’s name resolution setup once it connects. This is done by default following 2 assumptions: - you’re supposed to have private resources in your private network, and a name service pointing to them, - you don’t want your DNS queries to “leak” outside the VPN. If you...
by epoch1970
Sat Feb 09, 2019 10:32 pm
Forum: Graphics, sound and multimedia
Topic: Raspberry Pi DAC internet radio
Replies: 1
Views: 93

Re: Raspberry Pi DAC internet radio

AQ (and QA if you go for a brand) is probably much improved with an i2S add-on, yes.
Look at the chipset integrated on various cards. There is much less variation on the integrated (Texas Instruments?) chip than on the price tag, usually...
by epoch1970
Sat Feb 09, 2019 10:02 pm
Forum: Français
Topic: problème de Permission denied (publickey)
Replies: 12
Views: 188

Re: problème de Permission denied (publickey)

Bon. Faut pas installer des clés sur SSH sans savoir comment ça fonctionne. - Disons que je suis l’utilisateur pi sur mon Mac. Je tape ssh [email protected].local - Le client SSH trouve monpi.local et un serveur SSH. (S’il a déjà vu ce nom ou cette adresse, mais c’était un autre serveur qui lui avait répondu...
by epoch1970
Sat Feb 09, 2019 9:23 pm
Forum: General discussion
Topic: PXE Boot
Replies: 7
Views: 331

Re: PXE Boot

Is the value sent for next-server the right one? Should be the IP of the TFTP server. I would advise trying to NetBoot the Pi from a Raspbian desktop or Debian VM. This way you can use the same setup as in the official documentation. Experiment with it and then move to the separate black boxes. The ...
by epoch1970
Fri Feb 08, 2019 6:34 pm
Forum: Troubleshooting
Topic: download errors hostapd isc-dhcp-server
Replies: 1
Views: 37

Re: download errors hostapd isc-dhcp-server

Try dnsmasq, it is easier to install and configure. It doesn't do LDAP, but it does DHCP and DNS quite well.
by epoch1970
Fri Feb 08, 2019 6:28 pm
Forum: Français
Topic: problème de Permission denied (publickey)
Replies: 12
Views: 188

Re: problème de Permission denied (publickey)

Par défaut sur Raspbian SSH fonctionne avec des mots de passe, pas des clés. Soit la config a été modifiée, soit le mystérieux 10.0.1.xxx n'est pas la machine que tu crois... Le Mac a inventé zeroconf, autant utiliser "ssh [email protected].local" ("raspberrypi" étant le nom donné à la machine, le host...
by epoch1970
Fri Feb 08, 2019 6:22 pm
Forum: Troubleshooting
Topic: install and setup OpenVPN
Replies: 4
Views: 139

Re: install and setup OpenVPN

Did you try "sudo apt-get install openvpn" ?
(Also get rid of what that script tried installing)
by epoch1970
Thu Feb 07, 2019 11:06 am
Forum: General discussion
Topic: We've opened a shop!
Replies: 61
Views: 1855

Re: We've opened a shop!

Excellent.
Do you also organize factory tours?
by epoch1970
Thu Feb 07, 2019 11:03 am
Forum: Raspbian
Topic: Suggestion: make "hostapd" preinstalled
Replies: 8
Views: 164

Re: Suggestion: make "hostapd" preinstalled

I see the point, but IMHO this also pulls dnsmasq into the picture... If you can live with link-local addresses, may be there is a simple workaround: wpa_supplicant has an AP mode. I don't know if the version of wpa_supplicant that ships w/ Raspbian has support for it, documentation is scarce and o...
by epoch1970
Wed Feb 06, 2019 6:16 pm
Forum: Beginners
Topic: Pi hostname visible on first network, but not on second one
Replies: 1
Views: 47

Re: Pi hostname visible on first network, but not on second one

Windows names can come to other machines via the NetBIOS protocol. It works via UDP broadcast (on the local network) or via TCP connections (routable to the world). The raspberrypi.local name comes from the mDNS daemon (Avahi) in your Pi. mDNS works via UDP multicast, only over the local network. I ...

Go to advanced search