Go to advanced search

by SurferTim
Sun Jul 16, 2017 12:42 pm
Forum: Advanced users
Topic: DNSMASQ refuses DNS requests, when DHCPCD is disabled.
Replies: 6
Views: 1689

Re: DNSMASQ refuses DNS requests, when DHCPCD is disabled.

Why are using a bridge? That connects eth0 and eth1, and the dhcp server on the eth0 network acts as the dhcp server.

edit: My suggestion is remove the bridge, allow the eth0 interface to get an IP from the router, and assign network settings to eth1. Then use a maquerade on the eth0 output.
by SurferTim
Sun Jul 16, 2017 12:09 pm
Forum: Troubleshooting
Topic: Network is unreachable
Replies: 8
Views: 14877

Re: Network is unreachable

My router has assigned my PI an IP address (192.168.2.19). Obviously it hasn't. It appears it has assigned that IP to some device though, since you are getting a response from the ping on your Windows box. Your ifconfig output shows the RPi did not get a dhcp address from the router. edit: What net...
by SurferTim
Sat Jul 15, 2017 7:01 pm
Forum: Troubleshooting
Topic: Can't access internet
Replies: 8
Views: 1897

Re: Can't access internet

See my edit above. Use 8.8.8.8 for your domain name server instead of 192.168.1.1.
by SurferTim
Sat Jul 15, 2017 6:55 pm
Forum: Troubleshooting
Topic: Can't access internet
Replies: 8
Views: 1897

Re: Can't access internet

So it works ok with domain names now?

edit: The DNS server may have failed. Since you can ping it, try the google dns server.
static domain_name_servers=8.8.8.8
by SurferTim
Sat Jul 15, 2017 6:44 pm
Forum: Troubleshooting
Topic: Can't access internet
Replies: 8
Views: 1897

Re: Can't access internet

Sounds like you have a DNS problem. IP addresses work, but domain names don't.
by SurferTim
Sat Jul 15, 2017 12:54 am
Forum: Troubleshooting
Topic: Multicast on WiFi
Replies: 3
Views: 1177

Re: Multicast on WiFi

I checked my RPi3 wifi with udp and it seems to work ok. I bridged my router's wifi and local ethernet port, and both unicast and broadcast sends to the RPi wifi from a PC on the ethernet interface went through. Maybe you should be more specific about the setup on your network and multicast. edit: C...
by SurferTim
Sat Jul 08, 2017 9:11 pm
Forum: Beginners
Topic: Connecting RELAY
Replies: 7
Views: 988

Re: Connecting RELAY

Connecting the 8 channel relay module directly to the RPi shouldn't be a problem. There are two diodes (LED) between the 5v supply and the 3.3v RPi input. The total voltage drop across the diodes should protect the RPi.
by SurferTim
Sat Jul 08, 2017 12:27 am
Forum: Beginners
Topic: RPi3 iptables Access Point
Replies: 2
Views: 786

Re: RPi3 iptables Access Point

You probably need to route the 192.168.11.0/24 network to gateway 10.137.162.183 in the OpenWRT router.

edit: I do this with Mikrotik routers. I don't masquerade anywhere except the WAN router. I route back through the APs.
by SurferTim
Fri Jul 07, 2017 12:12 pm
Forum: Troubleshooting
Topic: [RPi3] SSH not working via wifi
Replies: 156
Views: 114110

Re: [RPi3] SSH not working via wifi

It appears to be a ToS problem that occurs with older routers. Read Killertechno's post above.
by SurferTim
Wed Jul 05, 2017 8:09 pm
Forum: Beginners
Topic: Failed to open tty (Permission denied)
Replies: 15
Views: 3938

Re: Failed to open tty (Permission denied)

I have no problems opening /dev/ttyUSB0 over SSH.

Is that all it says? "Failed to open tty (permission denied)". If so, the tty device belongs to the tty group. Not sure what is there.
by SurferTim
Wed Jul 05, 2017 2:49 pm
Forum: Beginners
Topic: Failed to open tty (Permission denied)
Replies: 15
Views: 3938

Re: Failed to open tty (Permission denied)

The device /dev/ttyAMA0 belongs to group dialout. From a console, enter "groups" and see if the user you are logged in as belongs to group dialout.
by SurferTim
Wed Jul 05, 2017 1:48 pm
Forum: Troubleshooting
Topic: Can't Git clone/pull using SSH over WiFi on Raspberry Pi 3
Replies: 9
Views: 3736

Re: Can't Git clone/pull using SSH over WiFi on Raspberry Pi

Paul Webster wrote:and this is why some people cannot SSH into RPi over WiFi.
The problem has been hanging around for over a year
https://github.com/raspberrypi/linux/issues/1519
Thanks, Paul. That is the fix for NTP, not SSH.
by SurferTim
Wed Jul 05, 2017 1:04 pm
Forum: Troubleshooting
Topic: Can't Git clone/pull using SSH over WiFi on Raspberry Pi 3
Replies: 9
Views: 3736

Re: Can't Git clone/pull using SSH over WiFi on Raspberry Pi

There should not be any noticeable problems caused by this fix.

Like my edit above, I have a fix for NTP over wifi also if you need it. Does your system clock update ok on boot?
by SurferTim
Wed Jul 05, 2017 12:57 pm
Forum: Troubleshooting
Topic: Can't Git clone/pull using SSH over WiFi on Raspberry Pi 3
Replies: 9
Views: 3736

Re: Can't Git clone/pull using SSH over WiFi on Raspberry Pi

From what I understand, it is a ToS problem. The header format changed a while back, and some routers have a problem with the ToS sent by some apps. NTP has a problem on wifi only (edit: on some routers). The system clock will not update if no ethernet connection. I have a fix for that also if you n...
by SurferTim
Tue Jul 04, 2017 12:46 pm
Forum: Troubleshooting
Topic: Having trouble setting up Raspberry Pi.
Replies: 11
Views: 1541

Re: Having trouble setting up Raspberry Pi.

I presume RPi3. You don't have a usb keyboard, mouse, and tv with a hdmi input? Use it to set up everything, then disconnect them.
by SurferTim
Tue Jul 04, 2017 11:36 am
Forum: Beginners
Topic: Sharing internet from MAC to RPI3
Replies: 2
Views: 1013

Re: Sharing internet from MAC to RPI3

Something is wrong with your default gateway. It should show 192.168.2.1. You should have used /etyc/dhcpcd.conf to set your static network settings, as the output instructed you to do. # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man ...
by SurferTim
Mon Jul 03, 2017 12:51 pm
Forum: Troubleshooting
Topic: Can't Git clone/pull using SSH over WiFi on Raspberry Pi 3
Replies: 9
Views: 3736

Re: Can't Git clone/pull using SSH over WiFi on Raspberry Pi

To use ssh on wifi without ethernet:
Edit /etc/ssh/sshd_config and add this to the end
IPQoS 0 0

edit: If you are using ssh as a client, you may need to add the same to /etc/ssh/ssh_config
by SurferTim
Mon Jul 03, 2017 11:57 am
Forum: Troubleshooting
Topic: pigpio brushless motor starts at 1100
Replies: 5
Views: 853

Re: pigpio brushless motor starts at 1100

Most recreational electronics are not very accurate. Some may start at 1050, some at 1100. The components are not as precise as military grade. Crystals, caps and resistors will have a sloppy tolerance. An o-scope may help. Monitor the pulse train sent by the ESCs to the motors at each setting. Are ...
by SurferTim
Sun Jul 02, 2017 8:35 pm
Forum: Advanced users
Topic: how to run non arm application's ?
Replies: 5
Views: 1745

Re: how to run non arm application's ?

Some Windows apps can be run with Wine. I haven't tried it with a RPi.
https://eltechs.com/run-wine-on-raspberry-pi/
by SurferTim
Sun Jul 02, 2017 1:55 pm
Forum: Troubleshooting
Topic: date and time not updating on boot
Replies: 3
Views: 1294

Re: date and time not updating on boot

If you are using wifi with no ethernet connection:

Code: Select all

sudo /sbin/iptables -t mangle -I POSTROUTING 1 -o wlan0 -p udp --dport 123 -j TOS --set-tos 0x00
sudo apt-get install iptables-persistent
by SurferTim
Sun Jul 02, 2017 12:24 pm
Forum: Troubleshooting
Topic: Raspberry Pi problems with DNS address
Replies: 12
Views: 3298

Re: Raspberry Pi problems with DNS address

I'm running Jessie/Pixel, and I can't access the Apache web server using the host name without the .local extension. I can access it from Firefox and Chrome from my Ubuntu box (ethernet) and from my iPhone (wifi). I have both ethernet and wifi active on my RPi3. I'm not certain whether VNC has anyth...
by SurferTim
Sun Jul 02, 2017 12:09 pm
Forum: Beginners
Topic: Automount any usb drive
Replies: 3
Views: 1404

Re: Automount any usb drive

Is the usb drive always connected on bootup? Does the drive always show up as /dev/sda1? If so, you can use an entry in /etc/fstab.

If you want to plug in the drive after bootup, then you should use usbmount, and use a link from /media/pi to /home/pi/Desktop/volumi
by SurferTim
Sun Jul 02, 2017 1:40 am
Forum: Troubleshooting
Topic: pigpio brushless motor starts at 1100
Replies: 5
Views: 853

Re: pigpio brushless motor starts at 1100

Not really. It isn't clear whether it is the ESC or the timing on the servo controller that is different. It sounds like the best you can do is adjust the servo controller to start the ESCs at different pulse widths. edit: You will probably need to calculate a slope and offset for each engine. y = m...
by SurferTim
Sat Jul 01, 2017 4:14 pm
Forum: Troubleshooting
Topic: Raspberry Pi problems with DNS address
Replies: 12
Views: 3298

Re: Raspberry Pi problems with DNS address

Have you tried this?
http://raspberrypi.local
by SurferTim
Sat Jul 01, 2017 2:20 pm
Forum: Troubleshooting
Topic: pigpio brushless motor starts at 1100
Replies: 5
Views: 853

Re: pigpio brushless motor starts at 1100

It depends on the ESC. If it is a unidirectional ESC, then you need to set it to "stop" (1000us) for a few seconds. You should hear a series of beeps to let you know it is active. If it is bidirectional, you should set it to 1500us for a few seconds. edit: It should have about 100us "dead zone" arou...

Go to advanced search