LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-27-2012, 06:54 PM   #1
Steven Paster
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
Can't get keyboard input for netconfig or system-config-network during bootup


We use the CentOS distribution to host our software. For the past 5 years (CentOS 4.3 to CentOS 6.0) we have executed an init script upon startup that runs either "netconfig" or "system-config-network." These curses-based programs allow our users to set their IP address w/out having to log onto the system.

Upon updating our rpms to CentOS 6.2, these programs are no longer responding to keyboard input. Nothing else has changed other than the rpm update.

By the way, we pass the following arguments to the kernel via our grub.conf file: "LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto crashkernel=auto rhgb quiet console=ttyS0,9600n8 console=tty0". Until the kernel begins to boot, one can edit grub.conf file, enter single user mode, and all the other normal boot/BIOS operations. After the system boots and the console displays the logon prompt, terminal and keyboard input is fine.

Any suggestions would be gratefully received.
 
Old 07-27-2012, 08:01 PM   #2
vpen
LQ Newbie
 
Registered: Jul 2012
Posts: 1

Rep: Reputation: Disabled
Finally got this to work

I basically had this exact same problem with installing CentOS 6.2. I created a USB stick with CentOS 6.2 and used a kickstart
script to automatically configure everything. At the end of the install, it adds a service script that calls system-config-network
during the first boot up, after it runs the first time, the script does a chkconfig off on the service so it never runs again.

This ran fine with CentOS 5.x but when I updated the stick to handle CentOS 6.2, I couldn't get keyboard input during the boot process.
So the system-config-network popup didn't work well.

So the trick I finally found that worked was to turn off the plymouth splash ..... by issue a "/usr/bin/plymouth quit" in my
service/script that calls system-config-network.

In the post section of my kickstart config file I also added the following:

#remove the centos 6.2 progress bar during bootup
sed -i "s/rhgb//g" /boot/grub/grub.conf
sed -i "s/quiet//g" /boot/grub/grub.conf

# Disable the plymouth boot splash since it interferes with
# the /usr/sbin/system-config-network-tui
plymouth-set-default-theme details --rebuild-initrd

But these two tricks still didn't work, the secret was the "/usr/bin/plymouth quit" command
 
Old 08-14-2012, 02:31 PM   #3
Steven Paster
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thumbs up Thank you.

Your solution worked. I called /bin/plymouth quit just before calling system-config-network...

Thank you vpen!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
system-config-network aby Linux - Desktop 5 12-08-2010 08:04 AM
Repeated "input: AT Translated Set 2 keyboard as /class/input/input" messages AcerKev Mandriva 2 09-16-2007 08:35 AM
system-config-network legalizeit Linux - Networking 3 11-24-2006 01:40 PM
my mouse input is takes as keyboard input in BASH e1000 Slackware 5 12-08-2003 03:00 PM
Network Interface Config at Bootup lyew Linux - Networking 1 05-03-2003 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration