Go to advanced search

by seanspotatobusiness
Wed Jul 04, 2018 2:27 am
Forum: Beginners
Topic: Accessing NAS: how is password stored?
Replies: 16
Views: 1070

Re: Accessing NAS: how is password stored?

Would

Code: Select all

//192.168.1.6/Xerxes /home/pi/Wintermute/Dev -o credentials=/root/.cifs,vers=3.0,iocharset-utf8,sec=ntlm 0 0
be likely to work instead of

Code: Select all

//192.168.1.6/Xerxes ~/Wintermute/Dev -o credentials=/root/.cifs,vers=3.0,iocharset-utf8,sec=ntlm 0 0
?
by seanspotatobusiness
Wed Jul 04, 2018 2:07 am
Forum: Beginners
Topic: Changed /etc/fstab and now unable to boot [SOLVED]
Replies: 7
Views: 1058

Re: Changed /etc/fstab and now unable to boot

I insalled VMware Workstation Player and loaded Xbuntu 16 on my Windows 10 machine and it let me edit the /etc/fstab file which made my Rasbian installation bootable again!
by seanspotatobusiness
Wed Jul 04, 2018 1:08 am
Forum: Beginners
Topic: Changed /etc/fstab and now unable to boot [SOLVED]
Replies: 7
Views: 1058

Re: Changed /etc/fstab and now unable to boot

Negative, the live CD did not bork the Raspbian installation. If the installation was not borked in the first place, I'd never have booted Kubuntu. The Pi wouldn't boot after I changed /etc/fstab to include the line: //192.168.1.6/Xerxes ~/Wintermute/Dev -o credentials=/root/.cifs,vers=3.0,iocharset...
by seanspotatobusiness
Wed Jul 04, 2018 12:27 am
Forum: Beginners
Topic: Changed /etc/fstab and now unable to boot [SOLVED]
Replies: 7
Views: 1058

Re: Changed /etc/fstab and now unable to boot

My Kubuntu is on a CD in the CD drive so it can access the CD whenever it wants. When I click on the "root" device aka /dev/sdb7, the microSD reader flashes. Edit: when I remove the card reader, those options disappear from the file manager so it's definitely the card it's seeing. I used this softwa...
by seanspotatobusiness
Wed Jul 04, 2018 12:14 am
Forum: Beginners
Topic: Changed /etc/fstab and now unable to boot [SOLVED]
Replies: 7
Views: 1058

Changed /etc/fstab and now unable to boot [SOLVED]

I was trying to mount a network share by editing /etc/fstab but now my Pi won't boot. I thought maybe I could edit the fstab file by accessing the microSD while running a live CD (Kubuntu) but I get the following error when I try to access /root on the microSD. Is /root the right folder to be trying...
by seanspotatobusiness
Tue Jul 03, 2018 10:20 am
Forum: Beginners
Topic: Accessing NAS: how is password stored?
Replies: 16
Views: 1070

Re: Accessing NAS: how is password stored?

It doesn't work: [email protected]pberrypi:~ $ sudo mount -a; mount: mount point -o does not exist [email protected]:~ $ I changed the syntax in /etc/fstab to bring the mount point where -o was and retarted: //192.168.1.6/Xerxes ~/Wintermute/Dev -o credentials=/root/.cifs,vers=3.0,iocharset-utf8,sec=ntlm 0 0 Now ...
by seanspotatobusiness
Mon Jul 02, 2018 10:53 pm
Forum: Beginners
Topic: Accessing NAS: how is password stored?
Replies: 16
Views: 1070

Re: Accessing NAS: how is password stored?

I created /root/.cifs with my credentials in it. [email protected]:~ $ sudo mount //192.168.1.6/Xerxes /home/pi/Wintermute/Dev -o credentials=/root/.cifs,vers=3.0 mount error(95): Operation not supported I put version 3.0 in there because I got the same error without it and my search suggested it would...
by seanspotatobusiness
Mon Jul 02, 2018 10:40 am
Forum: Beginners
Topic: Accessing NAS: how is password stored?
Replies: 16
Views: 1070

Re: Accessing NAS: how is password stored?

Okay, then; thanks very much!
by seanspotatobusiness
Mon Jul 02, 2018 9:09 am
Forum: Beginners
Topic: Accessing NAS: how is password stored?
Replies: 16
Views: 1070

Re: Accessing NAS: how is password stored?

DougieLawson wrote:
Sun Jul 01, 2018 10:04 pm
Create a file /root/.cifs

Code: Select all

username=Myname
password=Mypassword
Change the mount command to have -o credentials=/root/.cifs rather than userid/password.
Thanks but wouldn't that mean storing the credentials on my Pi in plaintext?
by seanspotatobusiness
Sun Jul 01, 2018 8:45 pm
Forum: Beginners
Topic: Accessing NAS: how is password stored?
Replies: 16
Views: 1070

Accessing NAS: how is password stored?

I'm trying to find a way to connect to my Synology NAS so I can send backups to it and so I'm looking for ways to access the shared folder. I found some possible instructions which include this command: sudo mount //192.168.5.213/c /home/pi/LANPC/DEV -o username=Myname,password=Mypassword Does that ...
by seanspotatobusiness
Wed Jun 27, 2018 8:45 am
Forum: Beginners
Topic: Repository to get libdb4.8++-dev?
Replies: 2
Views: 803

Repository to get libdb4.8++-dev?

I'm trying to compile a cryptocurrency wallet on my Pi but I require "libdb4.8++-dev" and I don't know how to get it. It has "no installation candidate" in the repositories that come with Raspbian. Can anyone advise me on how to do this for the Pi? I've found instructions for other Linux distributio...
by seanspotatobusiness
Tue Jun 26, 2018 7:55 am
Forum: Beginners
Topic: 3 B+ won't boot: rainbow + lightning but Raspbian updated and 5V/2A supply
Replies: 5
Views: 1398

Re: 3 B+ won't boot: rainbow + lightning but Raspbian updated and 5V/2A supply

Thanks; I do have NOOBS so I will try to update that first. It's a shame it isn't as simple as updating the Raspbian installation. Why is it even necessary to update NOOBS? It's not like I'm trying to reinstall Raspbian. I found these instructions worked to update NOOBS: https://forum.libreelec.tv/t...
by seanspotatobusiness
Tue Jun 26, 2018 7:52 am
Forum: Beginners
Topic: Command line says there's no more disk space but there really is
Replies: 1
Views: 159

Command line says there's no more disk space but there really is

I'm following some instructions to update NOOBS on my microSD card but the command line is saying I don't have enough space to copy data but according to the File Manager I should have plenty.

Image
by seanspotatobusiness
Mon Jun 25, 2018 11:40 pm
Forum: Beginners
Topic: 3 B+ won't boot: rainbow + lightning but Raspbian updated and 5V/2A supply
Replies: 5
Views: 1398

3 B+ won't boot: rainbow + lightning but Raspbian updated and 5V/2A supply

I have a 5V 2A supply and have used it successfully with my Pi 3 B. I updated the installation of Raspbian Stretch using sudo apt update and apt upgrade and tried to boot my new Pi 3 B+ with the same microSD card and power supply. I don't think the extra 500 mA are necessary because there's nothing ...
by seanspotatobusiness
Mon Jun 25, 2018 8:26 pm
Forum: Beginners
Topic: Want to clone microSD card but Windows doesn't recognise file system
Replies: 3
Views: 338

Want to clone microSD card but Windows doesn't recognise file system

I want to clone my microSD card with Raspbian Stretch on it but Windows doesn't recognise the file system. Is there some way I can maybe connected a USB flash drive to the Pi so that it can copy the card to the USB drive, then swap the cards and have it copy back? Or maybe boot from the flash drive ...
by seanspotatobusiness
Sun Jun 24, 2018 5:17 am
Forum: Beginners
Topic: How to expand to 120 GPIO?
Replies: 9
Views: 3888

Re: How to expand to 120 GPIO?

Hey, could you connect the buttons in a matrix? If you use a matrix then you only need 16 (8+8) pins to be able to use 64 (or 60) momentary switches. http://pcbheaven.com/wikipages/How_Key_Matrices_Works/ You might be able to wire the LEDs in the same way, using only 16 pins for all of them, assumin...
by seanspotatobusiness
Sun Jun 24, 2018 4:24 am
Forum: Beginners
Topic: Starting a tmux script in lxterminal automatically after log-in
Replies: 29
Views: 2141

Re: Starting a tmux script in lxterminal automatically after log-in

Thanks very much; this works perfectly! All I needed was that sleep and to add "lxterminal -e bash" to my entry in autostart. I must've restarted my Pi 100 disappointing times trying to get this to work. Thanks again.
by seanspotatobusiness
Fri Jun 22, 2018 9:22 am
Forum: Beginners
Topic: need a little monitor for my raspberry-pi NAS- server
Replies: 4
Views: 407

Re: need a little monitor for my raspberry-pi NAS- server

In the interest of being a cheapskate, are you sure you can't accomplish what you want with VNC remote desktop or SSH via PuttY?
by seanspotatobusiness
Fri Jun 22, 2018 9:02 am
Forum: Beginners
Topic: Starting a tmux script in lxterminal automatically after log-in
Replies: 29
Views: 2141

Re: Need terminal command to open maximised terminal and run script in it

I did need to create a new thread because this thread reached the conclusion it set out to. The solution to this thread is: lxterminal --geometry=126x45 -e tmux && /home/pi/Mining/atmuxScript.sh But what works in a terminal doesn't work in any of the start-up solutions I described in my new thread. ...
by seanspotatobusiness
Thu Jun 21, 2018 10:34 pm
Forum: Beginners
Topic: Starting a tmux script in lxterminal at automatically after log-in
Replies: 4
Views: 388

Starting a tmux script in lxterminal at automatically after log-in

I'm trying to make a script run in a terminal window at system start and I've tried and failed with four approaches, some of which might be entirely unsuitable in any case. The script I want to run requires tmux and is as follows: #!/bin/bash SESSION=$USER lxterminal --geometry=126x45 -e tmux && tmu...
by seanspotatobusiness
Mon Jun 18, 2018 8:39 pm
Forum: Beginners
Topic: Access denied on SHH (password is correct, user is pi)
Replies: 15
Views: 965

Re: Access denied on SHH (password is correct, user is pi)

Does your password include any special characters? Did you re-configure your keyboard to your local layout (it defaults to UK)? I'm from the UK and my password does include a special character but that character is mapped correctly (I guess since I live in the UK). I've used SSH successfully in the...
by seanspotatobusiness
Sun Jun 17, 2018 12:01 pm
Forum: Beginners
Topic: Starting a tmux script in lxterminal automatically after log-in
Replies: 29
Views: 2141

Re: Need terminal command to open maximised terminal and run script in it

This works for me in autostart using a different script of course @lxterminal --geometry=126x45 -e myscript The @ is optional. Indeed this one works: @lxterminal --geometry=126x45 -e tmux while these don't: @lxterminal --geometry=126x45 -e tmux && /home/pi/Mining/test.py @lxterminal --geometry=126x...
by seanspotatobusiness
Sun Jun 17, 2018 3:40 am
Forum: Beginners
Topic: Starting a tmux script in lxterminal automatically after log-in
Replies: 29
Views: 2141

Re: Need terminal command to open maximised terminal and run script in it

Thanks! I wanted this to run every time my Pi turns on but nothing seems to happen after adding my line to the autostart file at ~/.config/lxsession/LXDE-pi at with an @ symbol appended. Is it possible to do it this way? @lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi @xscreensaver -...
by seanspotatobusiness
Sun Jun 17, 2018 1:50 am
Forum: Beginners
Topic: Starting a tmux script in lxterminal automatically after log-in
Replies: 29
Views: 2141

Re: Need terminal command to open maximised terminal and run script in it

I can't use the virtual terminal since it's not compatible with VNC but I did find out how to modify my command so that it works without closing the window. The command I needed was: lxterminal -e tmux && /home/pi/Mining/tmuxScript.sh The only problem I have with it now is that the window does not s...
by seanspotatobusiness
Sun Jun 17, 2018 1:06 am
Forum: Beginners
Topic: Access denied on SHH (password is correct, user is pi)
Replies: 15
Views: 965

Access denied on SHH (password is correct, user is pi)

I know that my password is correct because I tested it by installing a game from the repository with the GUI. It accepted my password then.

SHH is enabled in "Raspberry Pi Configuration".

Go to advanced search