Go to advanced search

by bhl88
Fri Nov 17, 2017 9:33 pm
Forum: Beginners
Topic: Timezone change via script
Replies: 2
Views: 297

Re: Timezone change via script

To see what's wrong with the script because it didn't work and change the clock
by bhl88
Fri Nov 17, 2017 8:57 pm
Forum: Beginners
Topic: Timezone change via script
Replies: 2
Views: 297

Timezone change via script

Currently trying to set timezone to GMT + 8 via script TIMEZONE="America/Los Angeles" echo $TIMEZONE > /etc/timezone cp /usr/share/zoneinfo/${TIMEZONE} /etc/localtime /usr/sbin/ntpdata pool.ntp.org # US keyboard layout English key=`xmodmap -pke | grep -w "59" | awk '{print \$NF}'` ## If this is the ...
by bhl88
Fri Nov 10, 2017 6:58 am
Forum: Off topic discussion
Topic: Lapel / Enamel Pins
Replies: 0
Views: 637

Lapel / Enamel Pins

Has anyone tried an enamel pin on anything other than clothes? I tried piercing a cap but the pin somehow loosens over time.
by bhl88
Mon Nov 06, 2017 4:24 am
Forum: Other projects
Topic: STICKY: The projects list. Look here for some ideas.
Replies: 229
Views: 305986

Re: STICKY: The projects list. Look here for some ideas.

Before I work on the project. I want to know if there's a networking project that exists here. Thinking of making a basic SDN by connecting a basic router and switch, with the Raspberry Pi (RHEL / Centos) having a OpenDaylight / OpenStack integration. Do I need just the switch (and the laptop [Putty...
by bhl88
Mon Nov 06, 2017 4:15 am
Forum: Networking and servers
Topic: RHEL on Pi 3 Model B?
Replies: 4
Views: 4392

Re: RHEL on Pi 3 Model B?

Hi Mahomei, I am intrigued to find out if you ever got this work? I am considering this as a way to train for my RHCE. Having used CentOS7 on my RPi3 for the RHCSA I would love to use the real thing if it is possible. Thanks Yeah I called them. Unfortunately it's still incompatible. I'd always want...
by bhl88
Wed Nov 01, 2017 6:26 pm
Forum: Advanced users
Topic: Automated/unattended configuration/setup of Raspberry Pi
Replies: 4
Views: 433

Re: Automated/unattended configuration/setup of Raspberry Pi

Question would be that I need to fix up some parts. Installation is not working (well I don't need deja-dup anymore, since it overheats) and I need to automate installing teamviewer, ufw and a logging program [fail2ban and enable logging of those who log in] and updates. Is there a way to script thi...
by bhl88
Wed Nov 01, 2017 4:17 pm
Forum: Advanced users
Topic: Automated/unattended configuration/setup of Raspberry Pi
Replies: 4
Views: 433

Automated/unattended configuration/setup of Raspberry Pi

Screw the backup, there's not much file to backup anyway. #!/bin/bash ##################################################### # This script automates installation of Raspberry Pi# ##################################################### # Add users and delete users useradd admin echo admin:***** | chpass...
by bhl88
Tue Oct 31, 2017 4:18 pm
Forum: Troubleshooting
Topic: Raspberry Pi broke
Replies: 2
Views: 172

Raspberry Pi broke

If it beeps and doesn't boot, what's the cause of it failing the Power test?


And is there a more durable model in the Raspberry Pi?
by bhl88
Fri Oct 27, 2017 9:48 pm
Forum: Beginners
Topic: Self-protection function of Raspberry Pi
Replies: 5
Views: 345

Re: Self-protection function of Raspberry Pi

20171024_132043.jpg
20171024_132043.jpg (128.04 KiB) Viewed 241 times
20171024_132124.jpg
20171024_132124.jpg (109.5 KiB) Viewed 241 times
P.S. After I used this, I couldn't format my microSD card anymore. Neither could I erase my files (a reboot puts them back).
by bhl88
Fri Oct 27, 2017 6:58 pm
Forum: Beginners
Topic: Is it possible to change keyboard settings / languages for different users?
Replies: 3
Views: 216

Re: Is it possible to change keyboard settings / languages for different users?

So bashrc and then after that I have to find the variable that changes keyboard?
by bhl88
Fri Oct 27, 2017 5:13 pm
Forum: Beginners
Topic: Self-protection function of Raspberry Pi
Replies: 5
Views: 345

Re: Self-protection function of Raspberry Pi

I'll try a fresh installation again

I was going to add 3 users, add password manually and delete pi.
by bhl88
Fri Oct 27, 2017 5:11 pm
Forum: Beginners
Topic: Is it possible to change keyboard settings / languages for different users?
Replies: 3
Views: 216

Is it possible to change keyboard settings / languages for different users?

If you're going to give a Raspberry Pi to someone in Quebec, can you set it to French (and a US / Canadian keyboard) in a non-root user and leave root as a US keyboard? (and in English)
by bhl88
Fri Oct 27, 2017 2:34 pm
Forum: Beginners
Topic: Self-protection function of Raspberry Pi
Replies: 5
Views: 345

Self-protection function of Raspberry Pi

Is there a function in Raspberry Pi that if you add 3 users in a script and attempt to delete Pi it goes into self-preservation and goes to a pure CLI?
by bhl88
Sun Oct 15, 2017 7:32 am
Forum: Beginners
Topic: Which file is in charge of saving SSIDs
Replies: 9
Views: 645

Re: Which file is in charge of saving SSIDs

So what should I do?
by bhl88
Sat Oct 14, 2017 7:28 pm
Forum: Beginners
Topic: Which file is in charge of saving SSIDs
Replies: 9
Views: 645

Re: Which file is in charge of saving SSIDs

Would that need chmod 777 /etc/wpa_supplicant or chom +x ?
I was planning it for 2 users
by bhl88
Fri Oct 13, 2017 8:27 pm
Forum: Beginners
Topic: How do you change the login screen wallpaper?
Replies: 1
Views: 191

How do you change the login screen wallpaper?

I'd like to change the login wallpaper to a different one, is there a way?
by bhl88
Fri Oct 13, 2017 7:41 pm
Forum: Troubleshooting
Topic: Unable to login, screen turns black when I login and goes back
Replies: 4
Views: 410

Re: Unable to login, screen turns black when I login and goes back

Nvm I found out that rm /home/(insert user)/.XAuthority or mv /home/(insert user)/.XAuthority /home/(insert user)/.XAuthority-backup works

As for pi being removed, I checked how to secure Linux and it ended up with removing the default user.
by bhl88
Fri Oct 13, 2017 7:38 pm
Forum: Beginners
Topic: Which file is in charge of saving SSIDs
Replies: 9
Views: 645

Which file is in charge of saving SSIDs

In order to allow the wifi function to work, I had to login as root, save the SSID and that would allow me to connect to the internet.

Which script or file is in charge of getting SSIDs?
20171013_130100.jpg
20171013_130100.jpg (113.6 KiB) Viewed 627 times
Non-root
20171013_130200.jpg
20171013_130200.jpg (141.02 KiB) Viewed 626 times
by bhl88
Thu Oct 12, 2017 11:03 pm
Forum: Troubleshooting
Topic: Unable to login, screen turns black when I login and goes back
Replies: 4
Views: 410

Unable to login, screen turns black when I login and goes back

Raspberry Pi 3 16 GB card

Login as admin
Screen turns black
Returns to login screen
by bhl88
Tue Oct 10, 2017 4:09 pm
Forum: Beginners
Topic: White login screen
Replies: 3
Views: 322

Re: White login screen

Sorry for the late reply.

Anyway....Image

Yes it used to have the original screen.

It's a Raspbian, and I have the latest one.
by bhl88
Thu Oct 05, 2017 4:37 pm
Forum: Beginners
Topic: White login screen
Replies: 3
Views: 322

White login screen

Is there something wrong with the login screen that causes it to turn white (and not show any wallpaper)?
by bhl88
Mon Sep 04, 2017 8:58 pm
Forum: General discussion
Topic: Raspberry Pi exchange
Replies: 2
Views: 294

Raspberry Pi exchange

I've been sending emails to Raspberry Pi and asking if I can exchange my enamel pin for a working enamel pin. They haven't responded.
by bhl88
Wed Aug 30, 2017 11:25 pm
Forum: Beginners
Topic: Backing up Raspberry Pi
Replies: 11
Views: 1106

Re: Backing up Raspberry Pi

Nvm I cloned it by changing to root. But how do I copy it to a server / cloud (Like One Drive)

And will this work?
http://www.runtechmedia.com/product.asp ... gLuWfD_BwE
by bhl88
Wed Aug 30, 2017 4:57 pm
Forum: Beginners
Topic: Backing up Raspberry Pi
Replies: 11
Views: 1106

Re: Backing up Raspberry Pi

Yeah backup the running system... to the sd card

Image

Question is if I log in as root, will it copy everything, including in admin?
by bhl88
Tue Aug 29, 2017 11:33 pm
Forum: Beginners
Topic: Backing up Raspberry Pi
Replies: 11
Views: 1106

Re: Backing up Raspberry Pi

Ah whoops. Thanks. Just need to see which drive my disk is in.

/dev/mmcblk0

Btw it can't read my SD card for some reason (but it shows up)

Go to advanced search