Go to advanced search

by JimmyN
Sun Feb 26, 2017 7:08 pm
Forum: Networking and servers
Topic: unable to mount ntfs drive
Replies: 12
Views: 5765

Re: unable to mount ntfs drive

The first USB drive will be "sda1", but when you plug in a second one it will be "sdb1", a third one would be "sdc1", and so forth. If you're trying to mount the second one using the same sda as the source it won't work, since sda is already mounted. If that is your actual fstab line remove the "/" ...
by JimmyN
Fri Feb 24, 2017 8:52 pm
Forum: Raspbian
Topic: Help connecting RPi to home NAS
Replies: 11
Views: 3879

Re: Help connecting RPi to home NAS

Try mounting it from the command line first. Then when it works from the command line you'll know what to do in fstab. Try this sudo mount -t cifs -o guest,uid=pi,gid=pi //192.168.1.61/private /home/pi/networkdrive The "uid/gid" will set "pi" as the owner of the share, otherwise it will belong to "r...
by JimmyN
Fri Feb 24, 2017 8:07 pm
Forum: Raspbian
Topic: LXDE
Replies: 5
Views: 1496

Re: LXDE

"/etc/xdg/lxsession/LXDE/autostart" is a global autostart file, if you have a user autostart file it will take precedence and LXDE doesn't use the global file. So if you have a "~/.config/lxsession/LXDE-pi/autostart" you need to add your line in that autostart instead of the global one. Don't use "s...
by JimmyN
Thu Feb 23, 2017 11:09 am
Forum: Raspbian
Topic: Help connecting RPi to home NAS
Replies: 11
Views: 3879

Re: Help connecting RPi to home NAS

You stated that the NAS has " logon credentials consisting of a user name (letters and numbers) ", but when you try to connect it is asking for a password for "root". I'm assuming "root" is not the user name you intended for login to the NAS. You need to show us what your fstab line looks like, or w...
by JimmyN
Tue Feb 14, 2017 2:45 pm
Forum: Troubleshooting
Topic: Configurations is not surviving reboot
Replies: 5
Views: 1063

Re: Configurations is not surviving reboot

It sounds like you may be running out of storage space.
Check the free space on "/" to see what you have available

Code: Select all

df -h /
by JimmyN
Tue Feb 14, 2017 10:37 am
Forum: Networking and servers
Topic: Problem mounting a share
Replies: 6
Views: 1766

Re: Problem mounting a share

When you put it in fstab you prefixed "//" to the server address, you didn't do that with the manual mount command. You're using NFS which expects the server address to be formatted as " 192.168.10.10: " rather than " //192.168.10.10: " Try changing the fstab line to 192.168.10.10:/backup /home/pi/b...
by JimmyN
Mon Feb 13, 2017 1:16 pm
Forum: General discussion
Topic: Windows 10 share. R / W permission
Replies: 7
Views: 1557

Re: Windows 10 share. R / W permission

If you want to mount it manually, yes you'll have to use that line each time. Instead you can add it to fstab so that it mounts automatically every time the RPi boots. First make a copy of the file, just in case you mess up when editing you can replace it with the original and start over. sudo cp /e...
by JimmyN
Mon Feb 13, 2017 9:04 am
Forum: General discussion
Topic: Windows 10 share. R / W permission
Replies: 7
Views: 1557

Re: Windows 10 share. R / W permission

Since the drive is mounted by root (sudo) and it's a CIFS share, the mounted share belongs to root by default, that's why you can read but not write. If you look at a directory listing after it's mounted you'll see that everything belongs to root. You need to designate "pi" as the owner of the share...
by JimmyN
Thu Feb 02, 2017 6:32 pm
Forum: Troubleshooting
Topic: Force internet on WiFi
Replies: 8
Views: 2863

Re: Force internet on WiFi

Outgoing connections are always routed to the interface with the lowest "metric" value. For incoming connections either address (interface) will work, but for outgoing it has to choose which interface to use (when you have more than one) and it will automatically route outgoing connections to the in...
by JimmyN
Mon Jan 02, 2017 11:52 am
Forum: Official Foundation Display
Topic: [How To] Two finger touch for right click
Replies: 43
Views: 36703

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

That will work, but if you plug in a USB keyboard/mouse the touchscreen input event number will change and the two finger touch function will stop working. The udev rule assures that twofing uses the correct event number for the touchscreen regardless of other input devices that may or may not be pl...
by JimmyN
Sat Dec 24, 2016 2:43 pm
Forum: Beginners
Topic: Adding new user with SUDO permission
Replies: 13
Views: 32060

Re: Adding new user with SUDO permission

I always create a new user, since I like to have the same username on all my PC's, RPi's, NAS, etc. These are the steps I use to make the new user identical to the "pi" user: 1) I prefer to use the "adduser" command to create the new user, that will automatically create the /home/ directory for the ...
by JimmyN
Mon Dec 19, 2016 7:33 pm
Forum: Raspbian
Topic: ls unicode characters
Replies: 8
Views: 2377

Re: ls unicode characters

If a drive contains unicode characters just add "iocharset=utf8" to the mount command.
by JimmyN
Tue Dec 13, 2016 12:19 pm
Forum: Troubleshooting
Topic: Can't mount NAS / Don't really understand fstab
Replies: 9
Views: 2004

Re: Can't mount NAS / Don't really understand fstab

You can use the ID or the user name to specify ownership of the share, it will work either way. I'd try something like //192.168.1.100/bob /home/pi/PersonalCloud cifs username=Kwark,password=123456,uid=pi,gid=pi 0 0 Since root mounts the share it will belong to root by default, so you can read but n...
by JimmyN
Fri Dec 09, 2016 2:23 pm
Forum: Beginners
Topic: won't show on screen
Replies: 2
Views: 663

Re: won't show on screen

I just downloaded noob and followed the instructions to put it on the sd card. I then loaded it to the Pi and hook up the hdmi cable. I got only one image and then nothing. I thought maybe it was hdmi related, so I checked the connection another device and it worked. What do you guys think that I s...
by JimmyN
Mon Dec 05, 2016 2:42 pm
Forum: Official Foundation Display
Topic: Official drawing dimensions for the 7" touch screen display?
Replies: 13
Views: 22749

Re: Official drawing dimensions for the 7" touch screen disp

am i the only one who is not getting the dimensions between the outer and the inner screw drills? All the mounting hole dimensions are there, and can be referenced from the edge of the screen and/or the metal back pan. Like many drawings you have to do some math to obtain dimensions not specificall...
by JimmyN
Mon Dec 05, 2016 10:07 am
Forum: Troubleshooting
Topic: LXDE autostart
Replies: 2
Views: 805

Re: LXDE autostart

Remove the "@" from the autostart line that starts your program. If the line begins with a "@" it will restart it if the process dies, is killed, etc. For the system defaults that are there, like lxpanel and pcmanfm, that can be beneficial, but for your own scripts/programs that may not be the behav...
by JimmyN
Thu Dec 01, 2016 9:00 am
Forum: Troubleshooting
Topic: Pi official 7" screen
Replies: 5
Views: 1239

Re: Pi official 7" screen

You need to rotate the display 180deg, and also rotate the touch inputs at the same time, so use "lcd_rotate".

Edit "/boot/config.txt" and add the following line at the bottom of the file

Code: Select all

lcd_rotate=2
by JimmyN
Tue Nov 29, 2016 6:51 pm
Forum: Official Foundation Display
Topic: Rotate to 90 or 270 degrees
Replies: 14
Views: 9290

Re: Rotate to 90 or 270 degrees

Yes, display_rotate works for what it does, but the point of lcd_rotate is to rotate both the display and the touchscreen settings. Only lcd_rotate=0, and lcd_rotate=2 rotate the touch inputs along with the screen (0 and 180deg). As noted in the blog link you posted, when rotating 90 and 270 lcd_ro...
by JimmyN
Mon Nov 28, 2016 1:14 pm
Forum: Other projects
Topic: DIY PI-TOP, rise against hoarding manufacturers !
Replies: 15
Views: 3391

Re: DIY PI-TOP, rise against hoarding manufacturers !

2. Wait the "battery" voltage ? like of the individual units inside the bank ? I just supposed it to be 5V for the advertised capacity. Is there actually a way to find that out short of finding an in depth review ? (or breaking it open : ) The capacity rating is for the cells, which are 3.6V nomina...
by JimmyN
Mon Nov 28, 2016 11:37 am
Forum: Advanced users
Topic: Power Pi from Motherboard USB Header
Replies: 9
Views: 3170

Re: Power Pi from Motherboard USB Header

If you have USB ports that are still powered when the PC is shut down then you could connect to the standby power right on the motherboard header. With the PC shut down take a volt meter and check the USB power pins on the motherboard header. The four pin groups for each port connection will be labe...
by JimmyN
Mon Nov 28, 2016 11:15 am
Forum: Advanced users
Topic: Power Pi from Motherboard USB Header
Replies: 9
Views: 3170

Re: Power Pi from Motherboard USB Header

Some motherboards now provide power to one or more of the front USB ports when the PC is off, so that you can use it to charge phones, tablets, etc. That 5V comes from the ATX power supply standby power, which is always on. You could tap into the standby power, which is the purple wire coming out of...
by JimmyN
Sun Nov 27, 2016 5:02 pm
Forum: Beginners
Topic: fstab network share - Permission denied
Replies: 12
Views: 4115

Re: fstab network share - Permission denied

AS said, the above worked good when adding a mount into the home folder. Problem is, the RSYNC has been getting stuck and needed to be exited with Ctrl-z. I believe it is because I am syncing the /home/pi directory to the mount - but since the mount directory is inside home/pi, it is most likely re...
by JimmyN
Tue Nov 22, 2016 10:08 am
Forum: Troubleshooting
Topic: Trying to perform a right clic with LCD touch
Replies: 2
Views: 783

Re: Trying to perform a right clic with LCD touch

That message from "twofing --debug" means you likely have an error in the udev .rules file, as that is what links the correct input event (touchscreen) to /dev/twofingtouch. If the /dev/twofingtouch file is missing then the link to the input event was never created. You confirmed that by creating a ...
by JimmyN
Thu Nov 17, 2016 1:22 pm
Forum: Beginners
Topic: Resize terminal window permanently
Replies: 6
Views: 3150

Re: Resize terminal window permanently

2. Checking in Desktop mode the change is not found ! Trying to edit I get a Warning " Can't open file to write"... If I try edit in Desktop mode I dont seem to have permission to edit and save. The lxterminal.desktop file is owned by root. When you're logged into the Desktop and right clicking on ...
by JimmyN
Tue Nov 15, 2016 7:03 pm
Forum: Troubleshooting
Topic: Power a Pi from batteries via an UBEC
Replies: 19
Views: 3987

Re: Power a Pi from batteries via an UBEC

I think the problem is your batteries, they shouldn't drop 1.7V with only a 23mA load (220 ohm resistor). I also noticed that the batteries are of different capacities and that's certainly less than ideal. On the top row I see a 2650mAh, a 2000mAh, and what appears to be a 1650mAh. Different capacit...

Go to advanced search