Go to advanced search

by JimmyN
Tue Mar 08, 2016 9:17 pm
Forum: General discussion
Topic: RPi3 which is default if wlan0 and eth0 are both "up"?
Replies: 3
Views: 645

Re: RPi3 which is default if wlan0 and eth0 are both "up"?

Yep, that's it. eth0 has a lower metric. Thanks! Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.0.1 0.0.0.0 UG 202 0 0 eth0 default 192.168.0.1 0.0.0.0 UG 303 0 0 wlan0 192.168.0.0 * 255.255.255.0 U 202 0 0 eth0 192.168.0.0 * 255.255.255.0 U 303 0 0 wl...
by JimmyN
Tue Mar 08, 2016 8:48 pm
Forum: General discussion
Topic: RPi3 which is default if wlan0 and eth0 are both "up"?
Replies: 3
Views: 645

RPi3 which is default if wlan0 and eth0 are both "up"?

I just got my RPi3, about two hours ago, so of course I'm checking it out. I set static IP's for both wired and wireless using my typical number scheme. So this Pi got 192.168.0.10 for wired (even number), and 192.168.0.11 for wireless (wired # plus 1). Wireless worked fine so I plugged in the ether...
by JimmyN
Tue Mar 08, 2016 4:59 pm
Forum: Troubleshooting
Topic: Starting a GUI program at startup
Replies: 2
Views: 6898

Re: Starting a GUI program at startup

Put it in your desktop autostart file. That will run it when the desktop starts.

Code: Select all

nano ~/.config/lxsession/LXDE-pi/autostart
Add a line at the bottom

Code: Select all

@/path/to/your/script.sh
by JimmyN
Tue Mar 08, 2016 1:40 pm
Forum: Beginners
Topic: Trouble with DHCP/static IP
Replies: 7
Views: 1166

Re: Trouble with DHCP/static IP

Look in your "/etc/network/interfaces" file. If it contains these lines at the top then you're using dhcpcd. # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' Change any "static" or "dhcp" settings back to the default (manu...
by JimmyN
Tue Mar 08, 2016 1:04 pm
Forum: Beginners
Topic: rpi2 rasbian jessie, automatically display desktop
Replies: 5
Views: 684

Re: rpi2 rasbian jessie, automatically display desktop

It works with Jessie. When they switched to using systemd raspi-config was updated to check for it. I'm running uname -a Linux rpi2 4.1.18+ #846 Thu Feb 25 14:11:56 GMT 2016 armv6l GNU/Linux When I look in raspi-config it's using systemd if [ $SYSTEMD -eq 1 ]; then systemctl set-default graphical.ta...
by JimmyN
Tue Mar 08, 2016 12:20 pm
Forum: Networking and servers
Topic: NAS but want a display to show available storage
Replies: 5
Views: 1529

Re: NAS but want a display to show available storage

I use a 20x4 LCD character display on a headless RPi. It shows IP address, CPU temp, CPU load, RAM Usage, and Disk Usage along with some other info. It updates every 5 seconds and constantly rotates though the different info lines. And I have another headless setup that uses a 24bar LED graph. The f...
by JimmyN
Tue Mar 08, 2016 10:57 am
Forum: Troubleshooting
Topic: [RESOLVE]reboot system bring dirty bit to boot partition
Replies: 11
Views: 5660

Re: reboot system bring dirty bit to boot partition

Try using this. You have to unmount /boot, run the repair, then mount /boot again sudo umount /boot sudo fsck.vfat -ar /dev/mmcblk0p1 fsck.fat 3.0.27 (2014-11-12) 0x25: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt. 1) Remove dirty bit 2) No action ? 1 Perform changes ...
by JimmyN
Tue Mar 08, 2016 10:25 am
Forum: Beginners
Topic: Help with apt-get update
Replies: 2
Views: 436

Re: Help with apt-get update

It can't connect to the internet to update the package list.
What do you get with this command

Code: Select all

ping -c 4 google.com
If that times out and you get no response try

Code: Select all

ping -c 4 8.8.8.8
by JimmyN
Tue Mar 08, 2016 10:14 am
Forum: Beginners
Topic: rpi2 rasbian jessie, automatically display desktop
Replies: 5
Views: 684

Re: rpi2 rasbian jessie, automatically display desktop

You just have to set it to boot to desktop and auto login, using raspi-config, the same place where you set the Locale, time zone, etc. From the command line run "raspi-config". sudo raspi-config Choose Option 3, "Boot Options" Choose Option B4, "Desktop Autologin" When you reboot the desktop will s...
by JimmyN
Mon Mar 07, 2016 9:12 pm
Forum: Networking and servers
Topic: How to switch off IPv6 on RPi3?
Replies: 32
Views: 107973

Re: How to switch off IPv6 on RPi3?

I turned it off using "/etc/sysctl.conf", by adding the line "net.ipv6.conf.all.disable_ipv6 = 1" That resulted in no ipv6 address: eth0 Link encap:Ethernet HWaddr b8:27:eb:4f:95:d6 inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packe...
by JimmyN
Mon Mar 07, 2016 3:40 pm
Forum: Raspberry Pi OS
Topic: Where is the script that sets the cpu governor to ondemand?
Replies: 7
Views: 3335

Re: Where is the script that sets the cpu governor to ondema

I'm surprised adding it to rc.local works for you, it never worked for me. I found it needs to be changed after the boot completes, or use "/etc/init.d/raspi-config". Apparently cpufreq hasn't taken control yet and it's still set on "powersave" until after it checks for the shift key being held down...
by JimmyN
Mon Mar 07, 2016 2:38 pm
Forum: Raspberry Pi OS
Topic: Where is the script that sets the cpu governor to ondemand?
Replies: 7
Views: 3335

Re: Where is the script that sets the cpu governor to ondema

"ondemand" is the default, there would be no need to set it.
by JimmyN
Mon Mar 07, 2016 1:36 pm
Forum: Troubleshooting
Topic: Permissions for virtual drive
Replies: 5
Views: 723

Re: Permissions for virtual drive

If you can mount it from the command line then you can mount it with fstab. Try using this in fstab: //ip/downloads /mnt/torrents cifs username=user,password=password,uid=1000,gid=1000,x-systemd.automount 0 0 I mount a number of Windows folders on the RPI's. That way the files are actually on the PC...
by JimmyN
Mon Mar 07, 2016 1:18 pm
Forum: Raspberry Pi OS
Topic: Where is the script that sets the cpu governor to ondemand?
Replies: 7
Views: 3335

Re: Where is the script that sets the cpu governor to ondema

I don't think "conservative" will do what you want. It works just like "ondemand" except that "conservative" increases the speed in steps as the load increases (you can specify the step values), whereas "ondemand" just switches between min/max. It's useful for battery powered systems to provide some...
by JimmyN
Mon Mar 07, 2016 12:05 pm
Forum: Raspberry Pi OS
Topic: WiFi icon removed from system tray, how to re-add?
Replies: 1
Views: 1190

Re: WiFi icon removed from system tray, how to re-add?

Right click in the system tray.
Select "Add/Remove Panel Items"
Click on the "ADD" button (top right)
Select "WiFI Networks (dhcpcdui)" from the list and "Add" it.
by JimmyN
Sun Mar 06, 2016 7:42 pm
Forum: Troubleshooting
Topic: Permissions for virtual drive
Replies: 5
Views: 723

Re: Permissions for virtual drive

Can you mount it manually using this:

Code: Select all

sudo mount -t cifs //ip/downloads /mnt/torrents -o username=user,password=password,uid=1000,gid=1000
by JimmyN
Sun Mar 06, 2016 7:21 pm
Forum: Raspberry Pi OS
Topic: How to change default login account w/o deleting pi account
Replies: 7
Views: 2113

Re: How to change default login account w/o deleting pi acco

There isn't any default account, when you log in that's your default. I think what you probably need to do is add the new user to the same groups as pi, so that everything works. Get a list of the groups that pi belongs to: groups pi Then add the new user to the same groups. I always create a new us...
by JimmyN
Sun Mar 06, 2016 5:31 pm
Forum: Troubleshooting
Topic: Permissions for virtual drive
Replies: 5
Views: 723

Re: Permissions for virtual drive

Try //ip/downloads /mnt/torrents username=user,password=password,uid=1000,gid=1000,iocharset=utf8 0 0 "ntml" is the old method of password encryption between server and client, everything has moved to "ntlmssp" as the default. If you're trying to access an older version of Windows, a NAS, etc, and y...
by JimmyN
Sun Mar 06, 2016 1:00 pm
Forum: Raspberry Pi OS
Topic: How to change default login account w/o deleting pi account
Replies: 7
Views: 2113

Re: How to change default login account w/o deleting pi acco

That's coming from the "/etc/systemd/system/autologin@.service" file.

Scroll down to the "[Service]" section in the file and you'll have "--autologin pi" in the "ExecStart=" line. That is starting the three processes you're seeing.
by JimmyN
Sat Mar 05, 2016 5:15 pm
Forum: Beginners
Topic: Powering Pi 2
Replies: 4
Views: 684

Re: Powering Pi 2

During the day when it's charging the battery the solar panel will also need to power the Pi. So the solar panel has to have enough output to do both at the same time. How many watts is the solar panel?
by JimmyN
Sat Mar 05, 2016 12:20 pm
Forum: Official Foundation Display
Topic: [How To] Two finger touch for right click
Replies: 49
Views: 45254

Re: [How To] Two finger touch for right click

Thanks, I knew somebody would come along that knew what to do about the changing inputs. I guess I should edit the instructions to include editing the .rules file, and specifying the alternate input is no longer needed if using "/dev/twofingtouch".
by JimmyN
Fri Mar 04, 2016 8:44 pm
Forum: General discussion
Topic: MPEG License Confusion
Replies: 5
Views: 1211

Re: MPEG License Confusion

Now, to play MPEGs should the license be on the server, the Kodi clients or both? The license is for the RPi itself. You provide the RPi's internal 16 digit serial number, and that is used to generate the license key. It will only work on that specific RPi. The key enables hardware decoding of MPEG...
by JimmyN
Fri Mar 04, 2016 4:55 pm
Forum: Troubleshooting
Topic: [SOLVED] Restore RPI to a smaller SD card
Replies: 13
Views: 6752

Re: RPI image size 1 sector too big

There's also "rpi-wiggle" which lets you set the amount of "wiggle" room.

https://github.com/devotox/rpiwiggle/bl ... rpi-wiggle
viewtopic.php?t=17573&p=297385#p896113
by JimmyN
Fri Mar 04, 2016 12:08 pm
Forum: General discussion
Topic: RPi 3 SoC at nearly 100 °C, reporting 80 °C
Replies: 238
Views: 108401

Re: RPi 3 SoC at nearly 100 °C, reporting 80 °C

If you want to compare different boards to look for variance you need to use exactly the same stress test on each, or it's not a true comparison. Just because the CPU is at 100% doesn't necessarily mean it's at peak power, 100% clock doesn't necessarily mean 100% power. As an example the PC I'm typi...
by JimmyN
Fri Mar 04, 2016 1:43 am
Forum: Official Foundation Display
Topic: [How To] Two finger touch for right click
Replies: 49
Views: 45254

[How To] Two finger touch for right click

Credit goes to @ gadgetoid for finding the method, testing it, and confirming that it works in this thread. https://www.raspberrypi.org/forums/viewtopic.php?f=108&t=121602&start=25 I'm just adding some polish. Since "right click" is a popular feature that was lost with the upgrade to Jessie I though...

Go to advanced search