Go to advanced search

by rpdom
Sun Sep 08, 2013 7:05 am
Forum: General discussion
Topic: [solved] Change the Resolution of Raspberry Pi dynamically
Replies: 8
Views: 59445

Re: Change the Resolution of Raspberry Pi dynamically

I mentioned the xrefresh command above. That should make X redraw the whole screen in the new resolution, after running fbset first.
by rpdom
Sun Sep 08, 2013 7:03 am
Forum: HATs and other add-ons
Topic: adding model b ports to model a?
Replies: 7
Views: 3136

Re: adding model b ports to model a?

If you have the right soldering gear/skills, and can get hold of the components, then yes you can do it. (Make sure you get the right type of network socket. It has to be one with the isolating transformers built in). However, it would be cheaper and safer to just get a model B and then you get the ...
by rpdom
Sun Sep 08, 2013 6:45 am
Forum: Troubleshooting
Topic: Pi won't start
Replies: 9
Views: 1340

Re: Pi won't start

Does the green ACT LED do anything at all? Does it flash even once? Does it glow very dimly? When you put the card in your Mac, what files do you see at the top level? The usual culprits are: a) Power supply insufficient. But you should get some response using that supply. b) Card not written correc...
by rpdom
Sun Sep 08, 2013 6:37 am
Forum: General discussion
Topic: Helping to stop scammers
Replies: 14
Views: 2658

Re: Helping to stop scammers

I'm just disappointed that I never get any calls from people like this. I'd like to play with them for a while. I'd tell them how old I am and that all this computer stuff is for youngsters, probably mention that I'm not sure what windows I use, but it might have a "5" in it (technically true to an ...
by rpdom
Sat Sep 07, 2013 5:10 pm
Forum: General discussion
Topic: [solved] Change the Resolution of Raspberry Pi dynamically
Replies: 8
Views: 59445

Re: Change the Resolution of Raspberry Pi dynamically

Yes, fbset will allow you to change the resolution of the framebuffer to pretty much anything you want, but the output will still get remapped to the 720x576 (or something like that) which is all the composite PAL supports. (Slightly different res for NTSC). 800x600 will look just slightly fuzzy wit...
by rpdom
Sat Sep 07, 2013 4:59 pm
Forum: Beginners
Topic: Using the Raspberry Pi to boot driver initialized pci-x ssd
Replies: 16
Views: 2461

Re: Using the Raspberry Pi to boot driver initialized pci-x

I think this is not really a Pi related problem. Setting your Pi to be a PXE server should be relatively simple. All it does it make a file available over tftp or similar. The rest is up to the PC. What your problem appears to be is that you need to build an image that will run on your PC to load th...
by rpdom
Sat Sep 07, 2013 4:51 pm
Forum: Troubleshooting
Topic: Mounting network drives
Replies: 10
Views: 7011

Re: Mounting network drives

Are you saying you put entries like these in your /etc/fstab? sudo mount.cifs //192.168.1.4/Data /media/lappy -o username=makem,password=xxxxxx,domain=MYHOME sudo mount.cifs //192.168.1.6/HUMAX /media/humax -o username=makem,password=xxxxxx,domain=MYHOME Because that is completely the wrong format f...
by rpdom
Sat Sep 07, 2013 7:51 am
Forum: Raspbian
Topic: When can we expect a kernel update?
Replies: 19
Views: 4368

Re: When can we expect a kernel update?

Debian Jessie and Raspbian Jessie don't really have anything to do with it. The kernel is built by the Foundation with patches for the Pi. Raspbian and (at least some of) the other Linuxes use that kernel. Raspbian Jessie is available, but it doesn't come with a newer kernel than the Wheezy version....
by rpdom
Sat Sep 07, 2013 7:42 am
Forum: General discussion
Topic: [solved] Change the Resolution of Raspberry Pi dynamically
Replies: 8
Views: 59445

Re: Change the Resolution of Raspberry Pi dynamically

You can use the tvservice command to change the video output size and type. You would then have to use fbset twice to set the frame buffer to match (I can't remember the required syntax, but it's on the forums somewhere), and there might be a command to... ah, xrefresh will redraw the desktop in the...
by rpdom
Sat Sep 07, 2013 7:38 am
Forum: General discussion
Topic: raspberry pi win32diskimager not enough space
Replies: 14
Views: 6362

Re: raspberry pi win32diskimager not ebough space

I was working on a script that could make a working copy of a Raspbian system to another card on a Pi using just a USB card reader. By running it in "safe mode", the OS was completely held in RAM, so no problems with the card being updated during the copy. One advantage of it was that it would trans...
by rpdom
Fri Sep 06, 2013 11:29 pm
Forum: Beginners
Topic: Sd Card Copy
Replies: 1
Views: 341

Re: Sd Card Copy

If you mean just the files that are visible to windows - No. That is no use at all. Windows can only see some of the boot files, but not the main Linux file system. You can use the windows imager program to read the whole SD card and write that to a file. Then that file can later be written back to ...
by rpdom
Fri Sep 06, 2013 4:48 pm
Forum: Troubleshooting
Topic: PHP MySQL Connection
Replies: 7
Views: 5675

Re: PHP MySQL Connection

This error occurs when I am on another computer and using the form that resides on the Raspberry Pi. How do I change my connection string in PHP to make that work? Do I just change the ip adress in the connection string to 127.0.0.1? Yes. :) Even though you are viewing the web form on another compu...
by rpdom
Fri Sep 06, 2013 4:30 pm
Forum: General discussion
Topic: limit install
Replies: 6
Views: 890

Re: limit install

Thank you for the replies I will continue to try and find a solution for my "mysql-server" install issue. I don't see any issue. Just things doing what they are supposed to do. Is there a problem when you try to install mysql-server? If you don't want to install unneeded packages, you could just in...
by rpdom
Fri Sep 06, 2013 7:07 am
Forum: Troubleshooting
Topic: New Pi won't boot
Replies: 5
Views: 873

Re: New Pi won't boot

The zip file on the website seems ok,. See my reply to your other post.
by rpdom
Fri Sep 06, 2013 7:05 am
Forum: Troubleshooting
Topic: Corrupt Noob Download [solved]
Replies: 17
Views: 4476

Re: Corrupt Noob Download

I've just downloaded the latest NOOBS zip file version 1.2.1

The MD5 checksum is eac90060227e1cea01b2c921bb23a775, and the file is 1,187,724,964 bytes long. It unzipped OK on my Debian laptop, so I assume it is correct. I don't have a spare SD card to hand test it with.
by rpdom
Fri Sep 06, 2013 6:46 am
Forum: Raspbian
Topic: [SOLVED] wrote over /home/pi/.profile accidentally!
Replies: 9
Views: 7892

Re: [SOLVED] wrote over /home/pi/.profile accidentally!

Cool. I wasn't aware about the "user:" format, or the ":group" method, which does the same as chgrp.

Thanks.
by rpdom
Fri Sep 06, 2013 6:24 am
Forum: Troubleshooting
Topic: PHP MySQL Connection
Replies: 7
Views: 5675

Re: PHP MySQL Connection

By default, for security reasons, access to the MySQL server via the main IP address is disabled in the MySQL config.

Try either connecting to the "localhost" address on 127.0.0.1, or the internal socket connection on "/var/run/mysqld/mysqld.sock". Both should work.
by rpdom
Fri Sep 06, 2013 6:19 am
Forum: General discussion
Topic: limit install
Replies: 6
Views: 890

Re: limit install

is there a way to limit restrict installs to only those that are explicitly requested. Example when sudo apt-get install mysql-server extra packages mysql-server-5.5 In your example case - no. mysql-server is a "meta-package". It doesn't contain anything, it just requires that the current mysql-ser...
by rpdom
Thu Sep 05, 2013 5:32 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Increasing voltage from GPIO pin
Replies: 21
Views: 8968

Re: Increasing voltage from GPIO pin

The +/-8V is the maximum that the MOSFET can handle. It is not the voltage needed to turn it on.

The value you need to look at is the "Gate-Threshold Voltage", which is 0.4V to 0.8V. The Pi's 3.3V will be plenty to turn that fully on.
by rpdom
Thu Sep 05, 2013 1:20 pm
Forum: General discussion
Topic: Any way to rename user 'pi'
Replies: 9
Views: 3080

Re: Any way to rename user 'pi'

The adduser command might be easier to use for setting up a new user

Code: Select all

sudo adduser fred
for example, and follow the prompts.

Copying any setting and desktop would be a bit harder.
by rpdom
Thu Sep 05, 2013 12:19 pm
Forum: Raspbian
Topic: [SOLVED] wrote over /home/pi/.profile accidentally!
Replies: 9
Views: 7892

Re: wrote over /home/pi/.profile accidentally!

When a new user is added to the system the .profile (and a few other files) are copied from default files in /etc/skel/

Just copy the .profile from that directory to /home/pi/ and make sure the owner/group is pi and pi, and the permissions are 644 (-rw-r--r--)
by rpdom
Thu Sep 05, 2013 10:55 am
Forum: Raspbian
Topic: last time apt-get update was executed
Replies: 3
Views: 815

Re: last time apt-get update was executed

Have a look in /var/log/apt/history.log, it logs each time apt-get was run, with the command line used and packages were affected.
by rpdom
Wed Sep 04, 2013 9:17 am
Forum: Beginners
Topic: call a script from a sub-folder without providing full path
Replies: 5
Views: 958

Re: call a script from a sub-folder without providing full p

The code that ednl mentions is already in your .bash_profile and will get executed when you log in. No it isn't, not in the latest Raspbian image anyway. That code is in .profile, not in .bash_profile which doesn't exist by default. Ok, I sit corrected, but as Joe said - the code is already in ther...
by rpdom
Wed Sep 04, 2013 6:04 am
Forum: General discussion
Topic: Using a USB device without manually mounting it.
Replies: 9
Views: 1437

Re: Using a USB device without manually mounting it.

I prefer manually mounting devices (except for my camera where I have a udev rule to run a script to transfer pictures to me NAS). I find that a couple of entries in /etc/fstab, and possibly setting some groups, is sufficient for 99% of my needs when using the mount command. In my fstab I have somet...
by rpdom
Wed Sep 04, 2013 5:53 am
Forum: Beginners
Topic: call a script from a sub-folder without providing full path
Replies: 5
Views: 958

Re: call a script from a sub-folder without providing full p

If you are running Raspbian you don't have to do anything to use scripts in a local ~/bin directory other than log out and log back in again.

The code that ednl mentions is already in your .bash_profile and will get executed when you log in.

Go to advanced search