jm_raspberries
Posts: 2
Joined: Fri Jan 15, 2016 11:49 pm

[solved] raspi-config does not respond

Fri Jan 15, 2016 11:54 pm

Hi,


this is my first raspberry.

I have no screen cable, I intend to use it over ssh.

No problem for the ssh connection : everything ok.

but

Code: Select all

sudo raspi-config
does not work. It just does not respond :

Code: Select all

pi@raspberrypi:~$ sudo raspi-config
pi@raspberrypi:~$ 
I do not get any interface. So how do I configure my raspeberry ? I want first to expand the available memory, then create a separate /home.


Thanks
Last edited by jm_raspberries on Sat Jan 16, 2016 12:02 pm, edited 1 time in total.
1 Raspberry 2
Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux
no screen - connection over SSH

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: raspi-config does not respond

Sat Jan 16, 2016 12:45 am

It's just a text file, so find it;
man which
and look inside for the commands you want... or just google...firts hit looks close to what I use;
viewtopic.php?f=51&t=45265
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

User avatar
B.Goode
Posts: 8271
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: raspi-config does not respond

Sat Jan 16, 2016 9:49 am

Odd!

What Operating System is installed and running on your RPi?

Is it the 'official' released version of raspi-config that is being invoked?

Code: Select all

pi@raspberrypi ~ $ sudo which raspi-config
/usr/bin/raspi-config
I have successfully run raspi-config from the shell prompt via an ssh login on both Raspbian Wheezy and Raspbian Jessie - it is just a collection of shell scripts that uses the whiptail utility to provide a character-based 'gui'.

User avatar
jojopi
Posts: 3079
Joined: Tue Oct 11, 2011 8:38 pm

Re: raspi-config does not respond

Sat Jan 16, 2016 10:21 am

raspi-config uses whiptail to draw its dialogue boxes. It will fail silently if whiptail is not installed or rejects your terminal settings.

Code: Select all

pi@tau ~ $ TERM=dumb sudo raspi-config
pi@tau ~ $ 
Running whiptail directly may give a better diagnostic.

Code: Select all

pi@tau ~ $ whiptail --yesno question 10 40

jm_raspberries
Posts: 2
Joined: Fri Jan 15, 2016 11:49 pm

Re: raspi-config does not respond

Sat Jan 16, 2016 11:07 am

Problem solved.

For the record, I give some usefull data below
B.Goode wrote:Odd!
What Operating System is installed and running on your RPi?
Is it the 'official' released version of raspi-config that is being invoked?

Code: Select all

pi@raspberrypi ~ $ sudo which raspi-config
/usr/bin/raspi-config
I have successfully run raspi-config from the shell prompt via an ssh login on both Raspbian Wheezy and Raspbian Jessie - it is just a collection of shell scripts that uses the whiptail utility to provide a character-based 'gui'.
Thanks B.Goode :)
1. It's the fully 100% officially-from-the-original-site downloaded and sha1sum tested and uptodate raspbian version.
2. yes, raspi-config is here

jojopi wrote:raspi-config uses whiptail to draw its dialogue boxes. It will fail silently if whiptail is not installed or rejects your terminal settings.

Code: Select all

pi@tau ~ $ TERM=dumb sudo raspi-config
pi@tau ~ $ 
Running whiptail directly may give a better diagnostic.

Code: Select all

pi@tau ~ $ whiptail --yesno question 10 40
Thanks jojopi :) . That's it : I was trying to run raspi-config from within emacs/eshell :ugeek: , and this does not work (why ?? :?: ). I run it from a normal terminal and this is ok now.
1 Raspberry 2
Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux
no screen - connection over SSH

Return to “Troubleshooting”