- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- console port problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2004 11:20 PM
11-07-2004 11:20 PM
console port problem
i'm unable to access the linux server using serial port, but the with the same cable i can connet to other similar machine,
any tips to slove this problem
i tried init q -- no luck
thanks
chakri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 12:42 AM
11-08-2004 12:42 AM
Re: console port problem
There are few things you can test, try to kill the console proces and then do a init q, you can try to re-direct some data to the console
cat x > /dev/console
the x should contain something to see if that comes on the console.
RGds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 12:57 AM
11-08-2004 12:57 AM
Re: console port problem
append a line:
7:2345:respawn:/sbin/agetty ttyS0 9600
under 6:2345:respawn:/sbin/mingetty
and then execute init q
this will allow connection with baud rate 9600 on COM1 to your linux.
To be able to login as root-remember to append a line:
ttyS0
to /etc/securetty
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 02:13 AM
11-08-2004 02:13 AM
Re: console port problem
when i run the same command from the command line i get the followin error message
#strace -o /tmp/output /sbin/agetty -t 60 -L ttyS1 19200
i observe the following error message
ioctl(0, 0x5401, {B19200 -opost -isig -icanon -echo ...}) = 0
chown32(0xbffffa42, 0, 0) = 0
chmod("ttyS1", 0600) = 0
getpid() = 24595
ioctl(0, 0x5410, [24595]) = -1 ENOTTY (Inappropriate ioctl for dev
ice)
ioctl(0, 0x540b, 0x2) = 0
ioctl(0, 0x5402, {B19200 -opost -isig -icanon -echo ...}) = 0
fcntl64(0, 0x3, 0, 0xcbe) = 34818
fcntl64(0, 0x4, 0x8002, 0xbffffa42) = 0
alarm(60) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0}) = 0
ioctl(0, 0x540b, 0) = 0
uname({sys="Linux", node="nmhost01", ...}) = 0
write(1, "\r\n", 2) = 2
open("/etc/issue", O_RDONLY|O_LARGEFILE) = 3
ioctl(0, 0x5403, {B19200 opost -isig -icanon -echo ...}) = -1 EINTR (Interrupted
system call)
--- SIGALRM (Alarm clock) ---
+++ killed by SIGALRM +++
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 02:56 AM
11-08-2004 02:56 AM
Re: console port problem
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 04:11 AM
11-08-2004 04:11 AM
Re: console port problem
http://www.vanemery.com/Linux/Serial/serial-console.html
http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/