LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 02-08-2010, 02:02 PM   #1
AIM Systems
LQ Newbie
 
Registered: Nov 2008
Posts: 9

Rep: Reputation: 1
Question Can't get mgetty to start from inittab


Hi all,

I've updated a Fedora Core 3 server to Fedora 11. The old FC3 had an external modem attached for when we felt like dialing in for a ppp connection.
I've replicated login.config, mgetty.config and dialin.config from the old server and had to put a RS232-to-USB adapter on the modem.
I've test connected to the server and everything look fine.
I'm have a difficult time starting the getty session from inittab.

/etc/inittab:
Code:
id:5:initdefault:

si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"

1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

x:5:once:/etc/X11/prefdm -nodaemon

U01:2345:respawn:/sbin/mgetty -D ttyUSB0
When I try: init q
or
/sbin/telinit q

These commands don't start mgetty from inittab like I expect them to.

Any suggestions
 
Old 02-08-2010, 04:13 PM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,285
Blog Entries: 1

Rep: Reputation: 103Reputation: 103
Quote:
Originally Posted by AIM Systems View Post
...and had to put a RS232-to-USB adapter on the modem.
Are you sure the module for the USB-to-serial adapter is loaded by the time "inittab" is processed? You might have to update your initrd to include the driver for the USB-to-serial adapter.
 
  


Reply

Tags
fedora, inittab, mgetty, startup


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
start an user script at boot: Shall we prefer the INITTAB or /etc/init.d method ? frenchn00b Debian 1 01-21-2010 06:01 AM
cron daemon doesn't start from inittab, but says already running!! AbrahamJose AIX 1 09-19-2008 04:52 AM
mgetty??? slack66 *BSD 3 01-01-2005 03:42 AM
Mgetty won't start from inittab Corbiere Linux - Networking 2 12-17-2003 06:30 AM
mgetty ? dbeard Linux - Networking 2 06-28-2001 04:40 AM


All times are GMT -5. The time now is 03:21 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration