Go to advanced search

by Ernst
Sun Apr 16, 2017 4:44 pm
Forum: Troubleshooting
Topic: Mouse Weirdness with Pi Zero (no W)
Replies: 7
Views: 814

Re: Mouse Weirdness with Pi Zero (no W)

https://www.raspberrypi.org/documentati ... ine-txt.md

I suggest you test with "usbhid.mousepoll=0", see link above
by Ernst
Thu Apr 13, 2017 5:41 pm
Forum: General discussion
Topic: no DNS
Replies: 6
Views: 3476

Re: no DNS

What happens when you ping 8.8.8.8 from the RPi?
What happens when you ping the three DNS server addresses from the RPi?
by Ernst
Thu Apr 13, 2017 5:04 pm
Forum: General discussion
Topic: no DNS
Replies: 6
Views: 3476

Re: no DNS

as before, the modem has 3 DNS-addresses, which cannot and never were changed. but why does the RPi loose the change I made in /etc/resolv.conf ?? 192.168.11.x is the correct default for this make and model. a) A modem does not have DNS-addresses b) RPi did not loose the change, it was told to chan...
by Ernst
Thu Apr 13, 2017 3:39 pm
Forum: General discussion
Topic: no DNS
Replies: 6
Views: 3476

Re: no DNS

Fix your router.

The DNS address was provided by the DHCP service on your router.

[EDIT] is your router in the 192.168.11.x subnet ?????? or is this a typing error ?
by Ernst
Thu Apr 13, 2017 7:58 am
Forum: Troubleshooting
Topic: ssh file issue
Replies: 5
Views: 1783

Re: ssh file issue

Well, if you can't connect a monitor and keyboard, and SSH is the only way to get to the Pi, then Yes , you Must reformat and reload the SD card. Your conclusion is correct but the cause is (very likely) something else. I have observed that not being able to ssh into a newly installed headless gadg...
by Ernst
Tue Apr 11, 2017 5:21 pm
Forum: Troubleshooting
Topic: Time to replace?
Replies: 4
Views: 664

Re: Time to replace?

Nothing to be worried about: pi@raspi2:~ $ Scripts/bcmstat.sh Config: v0.4.4, args "", priority lowest (+19) Board: 4 x ARMv7 cores available, ondemand governor (Pi3 rev 1.2, BCM2837 SoC with 1GB RAM by Sony) Memory: 1008MB (split 944MB ARM, 64MB GPU) plus 1024MB Swap HW Block: | ARM | Core | H264 |...
by Ernst
Tue Apr 11, 2017 6:31 am
Forum: Troubleshooting
Topic: Using Skywire with Raspberry Pi
Replies: 1
Views: 609

Re: Using Skywire with Raspberry Pi

https://nimbelink.com/Documentation/Skywire/30119_UsingSkywireWithRaspberryPi.pdf Hello, Attached is the manual I am using to try to setup Skywire with raspberry pi. We are on steps 3.5/3.6. It does not appear that we have access to the contents of peers. We are unable to save the two files in peer...
by Ernst
Mon Apr 10, 2017 5:55 pm
Forum: Beginners
Topic: Mounting a windows share in Raspbian
Replies: 5
Views: 18511

Re: Mounting a windows share in Raspbian

This is what I have in fstab to mount a samba share on another raspberry:

Code: Select all

//raspi1/hdd1   /mnt/raspi1     cifs    user=pi,password='',x-systemd.automount  0 0
by Ernst
Mon Apr 10, 2017 3:46 pm
Forum: Python
Topic: else and elif syntax error [solved]
Replies: 21
Views: 11888

Re: else and elif syntax error

Do you notice the space character ?

Code: Select all

' Y'
by Ernst
Mon Apr 10, 2017 3:39 pm
Forum: Python
Topic: else and elif syntax error [solved]
Replies: 21
Views: 11888

Re: else and elif syntax error

What I know about Python is little, with a little bit of effort I came up with this: RLG=raw_input(" Welcome RLG Gamers is there a admin with you? Y or N").upper() if RLG=="Y": print("cool") print("Admin(s) let the players answer the questions") elif RLG== "N": print("ok..") print("that is fine but ...
by Ernst
Mon Apr 10, 2017 2:40 pm
Forum: Python
Topic: else and elif syntax error [solved]
Replies: 21
Views: 11888

Re: else and elif syntax error

I do not know much about python but I can see your mistake.
Take a close look and you should be able to identify the problem with your code.
by Ernst
Sat Apr 08, 2017 1:50 pm
Forum: Advanced users
Topic: best way to monitor multiple pi's
Replies: 6
Views: 4435

Re: best way to monitor multiple pi's

What do you mean with "monitoring" ? What do you want to "monitor" ?
RPI-Monitor monitors quite a few objects and can easily be modified.
When you know what then you might be able to adapt RPI-Monitor to your needs.
by Ernst
Fri Apr 07, 2017 7:36 pm
Forum: Python
Topic: Bitwise LEFT shift
Replies: 9
Views: 1542

Re: Bitwise LEFT shift

Shifting left is not the problem, it is the use of the variables. Let me give it another try: # More difficult code import time import sys a = 0xff b = a c = b << 4 for i in range(0, 4): b = b << 1 print(bin(c)) print(bin(b)) print(bin(a)) # end Do you see it now ? Do you notice that there are two s...
by Ernst
Fri Apr 07, 2017 5:16 pm
Forum: Python
Topic: Bitwise LEFT shift
Replies: 9
Views: 1542

Re: Bitwise LEFT shift

Maybe this will help:

Code: Select all

# Difficult code 
import time
import sys
b = 0xff
for i in range(0, 4):
          a = b << 1
          b = a
print(bin(b))
print(bin(a))
# end
should be clear by now .... :)
by Ernst
Wed Apr 05, 2017 8:15 pm
Forum: Troubleshooting
Topic: Change keyboard key by key
Replies: 9
Views: 1702

Re: Change keyboard key by key

biengoodgutbenehao wrote:Thank you for your replies, but none of the solutions work...
What are the contents of /etc/default/keyboard ?

Code: Select all

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="de"
XKBVARIANT="nodeadkeys"
XKBOPTIONS=""

BACKSPACE="guess"
by Ernst
Wed Apr 05, 2017 5:34 pm
Forum: Troubleshooting
Topic: Change keyboard key by key
Replies: 9
Views: 1702

Re: Change keyboard key by key

use sudo raspi-config:

4 Localisation Options
I3 Change Keyboard Layout
select "Generic 105-key (Intl) PC"
select "German - German (eliminate dead keys)"
select defaults from here
by Ernst
Wed Apr 05, 2017 1:49 pm
Forum: Troubleshooting
Topic: How to allow a port listening on a firewall?
Replies: 7
Views: 10282

Re: How to allow a port listening on a firewall?

I know that the firewall does not come installed. How can I install? Port has introduced on the router and its running now. If ServerApp run on the Windows, all systems work because I configured this port on firewall but if ServerApp move from Windows to Raspberry, systems doesn't work on over inte...
by Ernst
Sun Apr 02, 2017 7:40 pm
Forum: Troubleshooting
Topic: Change keyboard key by key
Replies: 9
Views: 1702

Re: Change keyboard key by key

I have lots of german keyboards, but none of my keyboards show the same problem.
Have you changed the keyboard settings with raspi-config ?
Are you using Raspbian with Pixel or Raspbian Lite ?
Can you give an exact description of your keyboard, meaning manufacturer/model/etc. ?
by Ernst
Sun Apr 02, 2017 3:16 pm
Forum: Troubleshooting
Topic: Pi Zero W in gadget mode reports as wrong device to Windows
Replies: 17
Views: 3116

Re: Pi Zero W in gadget mode reports as wrong device to Wind

Sometime ago I ran into the same problem. It was resolved when I found that I made a mistake in the configuration. It is easy to mistake "load-modules" for "modules-load" and this mistake is easily overlooked: But you have no reason to believe that OP made that same mistake as you, do you? Or do yo...
by Ernst
Sun Apr 02, 2017 2:32 pm
Forum: Beginners
Topic: Simple LED doesn't turn on?! [solved]
Replies: 6
Views: 1410

Re: Simple LED doesn't turn on?!

What does the following command tell you ?

Code: Select all

gpio readall
What is connected to the other side of Pin 18 ?
by Ernst
Sun Apr 02, 2017 2:17 pm
Forum: General discussion
Topic: SCP Command not working
Replies: 8
Views: 3857

Re: SCP Command not working

You need pscp executed on your Windows system. scp from Pi to Windows will not work because you do not have an ssh server running on your Windows system.
by Ernst
Sun Apr 02, 2017 2:09 pm
Forum: Troubleshooting
Topic: Pi Zero W in gadget mode reports as wrong device to Windows
Replies: 17
Views: 3116

Re: Pi Zero W in gadget mode reports as wrong device to Wind

Sometime ago I ran into the same problem. It was resolved when I found that I made a mistake in the configuration. It is easy to mistake "load-modules" for "modules-load" and this mistake is easily overlooked: This is the right form: modules-load=dwc2,g_ether and this is wrong: load-modules=dwc2,g_e...

Go to advanced search