Go to advanced search

by Raceman
Tue Aug 28, 2018 11:17 am
Forum: General discussion
Topic: Color Bash Prompt - all grey
Replies: 10
Views: 565

Re: Color Bash Prompt - all grey

So, I've a hint on what the problem is, but no idea on resolving it. So, i start and create a new user just to test the prompt colors, and voilá it work perfect. As soon i configure .bash_profile the same thing happens, the prompt turns to grey color. Don´t have a clue on how to resolve this. if i h...
by Raceman
Tue Aug 28, 2018 10:06 am
Forum: General discussion
Topic: Color Bash Prompt - all grey
Replies: 10
Views: 565

Re: Color Bash Prompt - all grey

Ok

I´ve checked everything and put force_color_prompt=yes

But it´s the same, no color, only grey mode.

any ideas?

Thanks
by Raceman
Tue Aug 28, 2018 9:15 am
Forum: General discussion
Topic: Color Bash Prompt - all grey
Replies: 10
Views: 565

Re: Color Bash Prompt - all grey

echo $PS1 Gives me this output ${debian_chroot:+($debian_chroot)}\[email protected]\h:\w\$ on .bashrc , this is what is configured if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\[email protected]\h\[\033[00m\]:\[\$ else PS1='${debian_chroot:+($debian_chroot)}\[email protected]\h:\w\$ ' fi unset color_...
by Raceman
Mon Aug 27, 2018 11:13 pm
Forum: General discussion
Topic: Color Bash Prompt - all grey
Replies: 10
Views: 565

Color Bash Prompt - all grey

Hi there,
I'm running the raspbian stretch on my pi and notice that my bash prompt is all grey, no colour in that
I've checked /home/user/.bashrc

Try to change the colours and nothing happens.

What i'm i doing wrong?

Thanks
by Raceman
Sun Aug 26, 2018 10:13 pm
Forum: General discussion
Topic: Raspberry Pi 3 Network not working anymore
Replies: 6
Views: 469

Re: Raspberry Pi 3 Network not working anymore

Ok,

I reverse it using a backup that i i´ve made before the disaster.

So now i only need to disable predictable interface names and back to eth0. Is it possible?

Thanks
by Raceman
Sun Aug 26, 2018 9:48 pm
Forum: General discussion
Topic: Raspberry Pi 3 Network not working anymore
Replies: 6
Views: 469

Raspberry Pi 3 Network not working anymore

Hello all So yesterday i decide to change the network interface names, and now i dont have any network on my raspberry pi. When i do an ifconfig it only shows de lo interface, but if i do a ifconfig -a it shows all the interfaces. How can i restore my network back, and get back my eth0 interface. Pl...
by Raceman
Thu Jul 12, 2018 10:35 pm
Forum: Beginners
Topic: Custom MOTD - Message of the Day
Replies: 79
Views: 121121

Re: Custom MOTD - Message of the Day

DougieLawson wrote:
Wed Jul 11, 2018 4:16 pm
ps -ef | grep 'ss[h]d:.*@pts' finds any ssh logins.
Thanks

But it didnt work.
by Raceman
Wed Jul 11, 2018 10:13 am
Forum: Beginners
Topic: MOTD print twice when login SSH
Replies: 4
Views: 466

Re: MOTD print twice when login SSH

fbe wrote:
Tue Jul 10, 2018 8:22 pm
One MOTD comes from PAM if you didn't disable it. But why did you set PrintMotd yes if it's already there without that?
Simply perfect.

Thank you for your time.

regards fbe
by Raceman
Tue Jul 10, 2018 11:38 am
Forum: Beginners
Topic: MOTD print twice when login SSH
Replies: 4
Views: 466

Re: MOTD print twice when login SSH

Is it possible to remove one of them?
by Raceman
Tue Jul 10, 2018 10:21 am
Forum: Beginners
Topic: MOTD print twice when login SSH
Replies: 4
Views: 466

MOTD print twice when login SSH

Hello, Im trying to debug a situation that occurs when i logged in in my pi. I configure sshd_conf file to print MOTD in /etc/motd file i print the follwing Welcome When i start pi and log in it print twice the Welcome word like this: Welcome Last login: Tue Jul 10 11:16:10 2018 from Welcome I´ve tr...
by Raceman
Tue Jul 10, 2018 10:01 am
Forum: Beginners
Topic: Custom MOTD - Message of the Day
Replies: 79
Views: 121121

Re: Custom MOTD - Message of the Day

Anyone?
by Raceman
Mon Jul 09, 2018 10:07 pm
Forum: Beginners
Topic: Custom MOTD - Message of the Day
Replies: 79
Views: 121121

Re: Custom MOTD - Message of the Day

So I had a MOTD that worked until I did a recent update/upgrade. Now it won't work. (just hangs on login) did a 'bash --login -vvv' and it hangs on the line '/etc/motd.tcl' I created a new motd2.tcl that just echos "Hello World" and had etc/profile point to the new one. That now works, so I believe...
by Raceman
Mon Jul 09, 2018 9:52 pm
Forum: Beginners
Topic: Custom MOTD - Message of the Day
Replies: 79
Views: 121121

Re: Custom MOTD - Message of the Day

DougieLawson wrote:
Mon Jul 09, 2018 6:16 pm
Try
/sbin/ifconfig eth0 | /usr/bin/awk '/inet .*broadcast/ {print $2}'
as the output of ifconfig changed with stretch.
Simply perfect. Thank you very much.
by Raceman
Mon Jul 09, 2018 6:05 pm
Forum: Beginners
Topic: Custom MOTD - Message of the Day
Replies: 79
Views: 121121

Re: Custom MOTD - Message of the Day

Not working the Ip part of the script
`/sbin/ifconfig eth0 | /bin/grep "inet addr" | /usr/bin/cut -d ":" -f 2 | /usr/bin/cut -d " " -f 1` and `wget -q -O - http://icanhazip.com/ | tail`

For the first part it gives an empty record, the second part works.
by Raceman
Thu Jun 07, 2018 2:34 pm
Forum: Troubleshooting
Topic: Add a new user to PI
Replies: 4
Views: 410

Re: Add a new user to PI

Here it goes

[email protected]:~$ sudo adduser xpto
[sudo] password for pi:
Illegal instruction
by Raceman
Thu Jun 07, 2018 1:07 pm
Forum: Troubleshooting
Topic: Add a new user to PI
Replies: 4
Views: 410

Add a new user to PI

Hello all,

I´m trying to create a new user on raspbian and it gives me an output of Illegal Instruction

sudo adduser xpto

it returns.... Illegal Instruction

Can anyone help me please.

I need to substitute the default pi user.

Thank you
by Raceman
Mon Nov 27, 2017 10:01 pm
Forum: Troubleshooting
Topic: Help - Cannot run apt-get update
Replies: 9
Views: 1789

Re: Help - Cannot run apt-get update

No more hints????
by Raceman
Sun Nov 26, 2017 4:20 pm
Forum: Troubleshooting
Topic: Help - Cannot run apt-get update
Replies: 9
Views: 1789

Re: Help - Cannot run apt-get update

Bow i got this [email protected]:/usr/bin$ sudo apt-get upgrade -y Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: python-samba samba samba-common 3 upgraded, 0 newly installed, 0 to remove a...
by Raceman
Sun Nov 26, 2017 7:47 am
Forum: Troubleshooting
Topic: Help - Cannot run apt-get update
Replies: 9
Views: 1789

Re: Help - Cannot tun apt-get update

whereis dpkg-deb
dpkg-deb: /usr/bin/dpkg-deb /usr/share/man/man1/dpkg-deb.1.gz

-rw-r--r-- 1 xerxes xerxes 100328 Jun 5 2016 /usr/bin/dpkg-deb
by Raceman
Sat Nov 25, 2017 8:43 pm
Forum: Troubleshooting
Topic: Help - Cannot run apt-get update
Replies: 9
Views: 1789

Re: Help - Cannot tun apt-get update

here it goes

homenaspi:~$ sudo echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
by Raceman
Sat Nov 25, 2017 8:26 pm
Forum: Troubleshooting
Topic: Help - Cannot run apt-get update
Replies: 9
Views: 1789

Re: Help - Cannot tun apt-get update

Dont have a clue.....

Can anyone help me.
by Raceman
Sat Nov 25, 2017 7:46 pm
Forum: Troubleshooting
Topic: Help - Cannot run apt-get update
Replies: 9
Views: 1789

Help - Cannot run apt-get update

Hi all I´m in serious problem with my raspberry pi. I cant install anything or update it. The errors are when running apt-get upgrade [email protected]:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The foll...
by Raceman
Wed Aug 24, 2016 4:16 pm
Forum: Troubleshooting
Topic: VSFTPD - Cannot connect, cannot upload files......
Replies: 0
Views: 458

VSFTPD - Cannot connect, cannot upload files......

Hi all, For a few days i´m running into little problem, that now is a BIG problem. I want to use my pi as a secure FTP server to use either in a home network or trough the internet. When i decide to do this a follow a simple guideline in this link http://www.instructables.com/id/VSFTPD-Installation-...
by Raceman
Thu Jul 03, 2014 10:24 pm
Forum: General discussion
Topic: STICKY: Introduce yourself!
Replies: 3510
Views: 92939

Re: Introduce yourself!

Hello all My name is Bruno and i live in Portugal, i work for a big computer and technology company as a SysAdmin and other things. i´m here because i´m a curious and a i´ve owned one and became fascinated by that little box. It´s simply amazing. Lots of communities, and lots of peoples made superb ...
by Raceman
Thu Jul 03, 2014 10:18 pm
Forum: General discussion
Topic: Project Home Server
Replies: 1
Views: 857

Project Home Server

Hello Everyone I would like to start this topic in a different way. I´m not an expert in RasPi neither on linux systems, altough i´m curious and very interested in this project. This topic is to make the perfect home server that serves multiproposes of everyone that owns one little and powerfull pi....

Go to advanced search