如何串口连接linux主机

17 views
Skip to first unread message

张海鹏

unread,
May 16, 2012, 4:02:27 AM5/16/12
to sh...@googlegroups.com
网络不稳定,想使用串口来控制linux主机,不知道linux主机那边怎么设置啊?
请求达人赐招啊。。。

--


**********************************************

        张海鹏(lzu...@gmail.com

**********************************************

源泉星火(张明源)

unread,
May 16, 2012, 4:08:58 AM5/16/12
to sh...@googlegroups.com
grub启动时指定ttyS0就好了
--
明源
http://www.Linuxzh.org
Twitter: @muxueqz

张海鹏

unread,
May 16, 2012, 4:09:53 AM5/16/12
to sh...@googlegroups.com
就这么简单啊,我试试看,谢谢诶

Zang MingJie

unread,
May 16, 2012, 4:15:00 AM5/16/12
to sh...@googlegroups.com
/etc/inittab 上还要加一句吧

T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100

源泉星火(张明源)

unread,
May 16, 2012, 4:18:06 AM5/16/12
to sh...@googlegroups.com
对,inittab里也要加

张海鹏

unread,
May 16, 2012, 4:40:40 AM5/16/12
to sh...@googlegroups.com
从这来看 http://blog.chinaunix.net/space.php?uid=781209&do=blog&id=2557129 
是不是还要交叉线,普通的母对母串口线行吗?我有一根母对母串口线,是用来连接arm开发板的

Ma Xiaojun

unread,
May 16, 2012, 5:00:32 AM5/16/12
to sh...@googlegroups.com
不行剪开,重排,焊接,封装,XD

Zang MingJie

unread,
May 16, 2012, 5:12:27 AM5/16/12
to sh...@googlegroups.com
用万用表测一下把,只要TX对RX就可以了

张海鹏

unread,
May 16, 2012, 5:14:28 AM5/16/12
to sh...@googlegroups.com
好的,多谢啦。

张海鹏

unread,
May 16, 2012, 5:41:18 AM5/16/12
to sh...@googlegroups.com
搞定了,谢谢各位牛人

姚飞

unread,
May 16, 2012, 8:14:58 AM5/16/12
to sh...@googlegroups.com
这都是十几年前玩的了,一个主机接一大堆串口终端,还配过串口接modem,接听电话拨号,建立PPP链接之类的。

姚飞
--------------------------------
上海卫星工程研究所

张海鹏

unread,
May 16, 2012, 8:34:11 AM5/16/12
to sh...@googlegroups.com
好用就行,管他是哪个朝代的。。。

姚飞

unread,
May 16, 2012, 11:31:56 AM5/16/12
to sh...@googlegroups.com
十几年前,两台机器之间没有以太网,为了通信,用串口对接,两边跑pppd互联。想来悲催啊。

姚飞
--------------------------------
上海卫星工程研究所

liyaoshi

unread,
May 16, 2012, 8:45:44 PM5/16/12
to sh...@googlegroups.com
十几年前一张光盘放15个操作系统安装文件啊

Shell Xu

unread,
May 17, 2012, 2:22:52 AM5/17/12
to sh...@googlegroups.com

十几年前系统可以装软盘里面带着走啊。

from miui

Chaos Eternal

unread,
May 17, 2012, 4:08:57 AM5/17/12
to sh...@googlegroups.com
10年前半张软盘、无显示器键盘装好debian的飘过。。。

2012/5/17 Shell Xu <shell...@gmail.com>:

wang tiezhen

unread,
May 17, 2012, 4:39:32 AM5/17/12
to sh...@googlegroups.com

10 几年前,学校的电脑不给力,木有硬盘,开机要用 5.3 寸软盘引导系统,再换下一张运行软件的伤心路过。。

张海鹏

unread,
May 17, 2012, 4:41:06 AM5/17/12
to sh...@googlegroups.com
10几年前,木有硬盘?真的,假的?现在可是2012啊

Darius Stone

unread,
May 17, 2012, 4:49:07 AM5/17/12
to sh...@googlegroups.com
10年前,我还在小学6年级,第一次在学校机房看到一排排的台式机,忘了是什么系统了,全部是联想的。跟各位10多年前就用软盘玩电脑的没得比啊

wang tiezhen

unread,
May 17, 2012, 5:00:33 AM5/17/12
to sh...@googlegroups.com
是啊,学校机房设施不给力啊,我记得当时学的还是 logo 语言。。

2012/5/17 张海鹏 <lzu...@gmail.com>

Zang MingJie

unread,
May 17, 2012, 5:39:17 AM5/17/12
to sh...@googlegroups.com
我终于想到怎么让你们闭嘴了

10年前,我在高中泡MM

姚飞

unread,
May 17, 2012, 5:48:34 AM5/17/12
to sh...@googlegroups.com
有没有高中被泡的

姚飞
--------------------------------
上海卫星工程研究所

陈智好

unread,
May 17, 2012, 5:54:22 AM5/17/12
to sh...@googlegroups.com
这主题偏离的非常快啊~~
--
(づ ̄ 3 ̄)づ~~(づ ̄ 3 ̄)づ~~slackware爱好者


Reply all
Reply to author
Forward
0 new messages