亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dialup.html

?? FreeBSD安裝說明概述 FreeBSD 提供了一個以文字為主
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta name="generator" content="HTML Tidy, see www.w3.org" /><title>Dial-in Service</title><meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /><link rel="HOME" title="FreeBSD 使用手冊" href="index.html" /><link rel="UP" title="Serial Communications" href="serialcomms.html" /><link rel="PREVIOUS" title="Terminals" href="term.html" /><link rel="NEXT" title="Dial-out Service" href="dialout.html" /><link rel="STYLESHEET" type="text/css" href="docbook.css" /><meta http-equiv="Content-Type" content="text/html; charset=GB2312" /></head><body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084"alink="#0000FF"><div class="NAVHEADER"><table summary="Header navigation table" width="100%" border="0" cellpadding="0"cellspacing="0"><tr><th colspan="3" align="center">FreeBSD 使用手冊</th></tr><tr><td width="10%" align="left" valign="bottom"><a href="term.html"accesskey="P">Prev</a></td><td width="80%" align="center" valign="bottom">Chapter 17. Serial Communications</td><td width="10%" align="right" valign="bottom"><a href="dialout.html"accesskey="N">Next</a></td></tr></table><hr align="LEFT" width="100%" /></div><div class="SECT1"><h1 class="SECT1"><a id="DIALUP" name="DIALUP">17.4. Dial-in Service</a></h1><i class="AUTHORGROUP"><span class="CONTRIB">Contributed by</span> Guy Helmer.</i> <iclass="AUTHORGROUP"><span class="CONTRIB">Additions by</span> Sean Kelly.</i> <p>Configuring your FreeBSD system for dial-in service is very similar to connectingterminals except that you are dealing with modems instead of terminals.</p><div class="SECT2"><h2 class="SECT2"><a id="AEN22447" name="AEN22447">17.4.1. External vs. InternalModems</a></h2><p>External modems seem to be more convenient for dial-up, because external modems oftencan be semi-permanently configured via parameters stored in non-volatile RAM and theyusually provide lighted indicators that display the state of important RS-232 signals.Blinking lights impress visitors, but lights are also very useful to see whether a modemis operating properly.</p><p>Internal modems usually lack non-volatile RAM, so their configuration may be limitedonly to setting DIP switches. If your internal modem has any signal indicator lights, itis probably difficult to view the lights when the system's cover is in place.</p><div class="SECT3"><h3 class="SECT3"><a id="AEN22451" name="AEN22451">17.4.1.1. Modems and Cables</a></h3><p>If you are using an external modem, then you will of course need the proper cable. Astandard RS-232C serial cable should suffice as long as all of the normal signals arewired:</p><ul><li><p>Transmitted Data (<acronym class="ACRONYM">SD</acronym>)</p></li><li><p>Received Data (<acronym class="ACRONYM">RD</acronym>)</p></li><li><p>Request to Send (<acronym class="ACRONYM">RTS</acronym>)</p></li><li><p>Clear to Send (<acronym class="ACRONYM">CTS</acronym>)</p></li><li><p>Data Set Ready (<acronym class="ACRONYM">DSR</acronym>)</p></li><li><p>Data Terminal Ready (<acronym class="ACRONYM">DTR</acronym>)</p></li><li><p>Carrier Detect (<acronym class="ACRONYM">CD</acronym>)</p></li><li><p>Signal Ground (<acronym class="ACRONYM">SG</acronym>)</p></li></ul><p>FreeBSD needs the <acronym class="ACRONYM">RTS</acronym> and <acronymclass="ACRONYM">CTS</acronym> signals for flow-control at speeds above 2400&nbsp;bps, the<acronym class="ACRONYM">CD</acronym> signal to detect when a call has been answered orthe line has been hung up, and the <acronym class="ACRONYM">DTR</acronym> signal to resetthe modem after a session is complete. Some cables are wired without all of the neededsignals, so if you have problems, such as a login session not going away when the linehangs up, you may have a problem with your cable.</p><p>Like other <span class="TRADEMARK">UNIX</span>&reg; like operating systems, FreeBSDuses the hardware signals to find out when a call has been answered or a line has beenhung up and to hangup and reset the modem after a call. FreeBSD avoids sending commandsto the modem or watching for status reports from the modem. If you are familiar withconnecting modems to PC-based bulletin board systems, this may seem awkward.</p></div></div><div class="SECT2"><h2 class="SECT2"><a id="AEN22488" name="AEN22488">17.4.2. Serial InterfaceConsiderations</a></h2><p>FreeBSD supports NS8250-, NS16450-, NS16550-, and NS16550A-based EIA RS-232C (CCITTV.24) communications interfaces. The 8250 and 16450 devices have single-characterbuffers. The 16550 device provides a 16-character buffer, which allows for better systemperformance. (Bugs in plain 16550's prevent the use of the 16-character buffer, so use16550A's if possible). Because single-character-buffer devices require more work by theoperating system than the 16-character-buffer devices, 16550A-based serial interfacecards are much preferred. If the system has many active serial ports or will have a heavyload, 16550A-based cards are better for low-error-rate communications.</p></div><div class="SECT2"><h2 class="SECT2"><a id="AEN22491" name="AEN22491">17.4.3. Quick Overview</a></h2><p>As with terminals, <tt class="COMMAND">init</tt> spawns a <ttclass="COMMAND">getty</tt> process for each configured serial port for dial-inconnections. For example, if a modem is attached to <tt class="FILENAME">/dev/ttyd0</tt>,the command <tt class="COMMAND">ps ax</tt> might show this:</p><pre class="SCREEN"> 4850 ??  I      0:00.09 /usr/libexec/getty V19200 ttyd0</pre><p>When a user dials the modem's line and the modems connect, the <acronymclass="ACRONYM">CD</acronym> (Carrier Detect) line is reported by the modem. The kernelnotices that carrier has been detected and completes <tt class="COMMAND">getty</tt>'sopen of the port. <tt class="COMMAND">getty</tt> sends a <sampclass="PROMPT">login:</samp> prompt at the specified initial line speed. <ttclass="COMMAND">getty</tt> watches to see if legitimate characters are received, and, ina typical configuration, if it finds junk (probably due to the modem's connection speedbeing different than <tt class="COMMAND">getty</tt>'s speed), <ttclass="COMMAND">getty</tt> tries adjusting the line speeds until it receives reasonablecharacters.</p><p>After the user enters his/her login name, <tt class="COMMAND">getty</tt> executes <ttclass="FILENAME">/usr/bin/login</tt>, which completes the login by asking for the user'spassword and then starting the user's shell.</p></div><div class="SECT2"><h2 class="SECT2"><a id="AEN22515" name="AEN22515">17.4.4. Configuration Files</a></h2><p>There are three system configuration files in the <tt class="FILENAME">/etc</tt>directory that you will probably need to edit to allow dial-up access to your FreeBSDsystem. The first, <tt class="FILENAME">/etc/gettytab</tt>, contains configurationinformation for the <tt class="FILENAME">/usr/libexec/getty</tt> daemon. Second, <ttclass="FILENAME">/etc/ttys</tt> holds information that tells <ttclass="FILENAME">/sbin/init</tt> what <tt class="FILENAME">tty</tt> devices should have<tt class="COMMAND">getty</tt> processes running on them. Lastly, you can place portinitialization commands in the <tt class="FILENAME">/etc/rc.serial</tt> script.</p><p>There are two schools of thought regarding dial-up modems on <spanclass="TRADEMARK">UNIX</span>. One group likes to configure their modems and systems sothat no matter at what speed a remote user dials in, the local computer-to-modem RS-232interface runs at a locked speed. The benefit of this configuration is that the remoteuser always sees a system login prompt immediately. The downside is that the system doesnot know what a user's true data rate is, so full-screen programs like Emacs will notadjust their screen-painting methods to make their response better for slowerconnections.</p><p>The other school configures their modems' RS-232 interface to vary its speed based onthe remote user's connection speed. For example, V.32bis (14.4&nbsp;Kbps) connections tothe modem might make the modem run its RS-232 interface at 19.2&nbsp;Kbps, while2400&nbsp;bps connections make the modem's RS-232 interface run at 2400&nbsp;bps. Because<tt class="COMMAND">getty</tt> does not understand any particular modem's connectionspeed reporting, <tt class="COMMAND">getty</tt> gives a <sampclass="PROMPT">login:</samp> message at an initial speed and watches the characters thatcome back in response. If the user sees junk, it is assumed that they know they shouldpress the <span class="KEYCODE">Enter</span> key until they see a recognizable prompt. Ifthe data rates do not match, <tt class="COMMAND">getty</tt> sees anything the user typesas ``junk'', tries going to the next speed and gives the <sampclass="PROMPT">login:</samp> prompt again. This procedure can continue ad nauseam, butnormally only takes a keystroke or two before the user sees a good prompt. Obviously,this login sequence does not look as clean as the former ``locked-speed'' method, but auser on a low-speed connection should receive better interactive response fromfull-screen programs.</p><p>This section will try to give balanced configuration information, but is biasedtowards having the modem's data rate follow the connection rate.</p><div class="SECT3"><h3 class="SECT3"><a id="AEN22538" name="AEN22538">17.4.4.1. <ttclass="FILENAME">/etc/gettytab</tt></a></h3><p><tt class="FILENAME">/etc/gettytab</tt> is a <span class="CITEREFENTRY"><spanclass="REFENTRYTITLE">termcap</span>(5)</span>-style file of configuration informationfor <span class="CITEREFENTRY"><span class="REFENTRYTITLE">getty</span>(8)</span>. Pleasesee the <span class="CITEREFENTRY"><span class="REFENTRYTITLE">gettytab</span>(5)</span>manual page for complete information on the format of the file and the list ofcapabilities.</p><div class="SECT4"><h4 class="SECT4"><a id="AEN22555" name="AEN22555">17.4.4.1.1. Locked-speedConfig</a></h4><p>If you are locking your modem's data communications rate at a particular speed, youprobably will not need to make any changes to <ttclass="FILENAME">/etc/gettytab</tt>.</p></div><div class="SECT4"><h4 class="SECT4"><a id="AEN22559" name="AEN22559">17.4.4.1.2. Matching-speedConfig</a></h4><p>You will need to setup an entry in <tt class="FILENAME">/etc/gettytab</tt> to give <ttclass="COMMAND">getty</tt> information about the speeds you wish to use for your modem.If you have a 2400&nbsp;bps modem, you can probably use the existing <varclass="LITERAL">D2400</var> entry.</p><pre class="PROGRAMLISTING">## Fast dialup terminals, 2400/1200/300 rotary (can start either way)#D2400|d2400|Fast-Dial-2400:\        :nx=D1200:tc=2400-baud:3|D1200|Fast-Dial-1200:\        :nx=D300:tc=1200-baud:5|D300|Fast-Dial-300:\        :nx=D2400:tc=300-baud:</pre><p>If you have a higher speed modem, you will probably need to add an entry in <ttclass="FILENAME">/etc/gettytab</tt>; here is an entry you could use for a 14.4&nbsp;Kbpsmodem with a top interface speed of 19.2&nbsp;Kbps:</p><pre class="PROGRAMLISTING">## Additions for a V.32bis Modem#um|V300|High Speed Modem at 300,8-bit:\        :nx=V19200:tc=std.300:un|V1200|High Speed Modem at 1200,8-bit:\        :nx=V300:tc=std.1200:uo|V2400|High Speed Modem at 2400,8-bit:\        :nx=V1200:tc=std.2400:up|V9600|High Speed Modem at 9600,8-bit:\        :nx=V2400:tc=std.9600:uq|V19200|High Speed Modem at 19200,8-bit:\        :nx=V9600:tc=std.19200:</pre><p>This will result in 8-bit, no parity connections.</p><p>The example above starts the communications rate at 19.2&nbsp;Kbps (for a V.32bisconnection), then cycles through 9600&nbsp;bps (for V.32), 2400&nbsp;bps, 1200&nbsp;bps,300&nbsp;bps, and back to 19.2&nbsp;Kbps. Communications rate cycling is implemented withthe <var class="LITERAL">nx=</var> (``next table'') capability. Each of the lines uses a<var class="LITERAL">tc=</var> (``table continuation'') entry to pick up the rest of the``standard'' settings for a particular data rate.</p><p>If you have a 28.8&nbsp;Kbps modem and/or you want to take advantage of compression ona 14.4&nbsp;Kbps modem, you need to use a higher communications rate than 19.2&nbsp;Kbps.Here is an example of a <tt class="FILENAME">gettytab</tt> entry starting a57.6&nbsp;Kbps:</p><pre class="PROGRAMLISTING">## Additions for a V.32bis or V.34 Modem# Starting at 57.6 Kbps#vm|VH300|Very High Speed Modem at 300,8-bit:\        :nx=VH57600:tc=std.300:vn|VH1200|Very High Speed Modem at 1200,8-bit:\        :nx=VH300:tc=std.1200:vo|VH2400|Very High Speed Modem at 2400,8-bit:\        :nx=VH1200:tc=std.2400:vp|VH9600|Very High Speed Modem at 9600,8-bit:\        :nx=VH2400:tc=std.9600:vq|VH57600|Very High Speed Modem at 57600,8-bit:\        :nx=VH9600:tc=std.57600:</pre><p>If you have a slow CPU or a heavily loaded system and do not have 16550A-based serialports, you may receive ``<tt class="ERRORNAME">sio</tt>'' ``silo'' errors at57.6&nbsp;Kbps.</p></div></div><div class="SECT3"><h3 class="SECT3"><a id="DIALUP-TTYS" name="DIALUP-TTYS">17.4.4.2. <ttclass="FILENAME">/etc/ttys</tt></a></h3><p>Configuration of the <tt class="FILENAME">/etc/ttys</tt> file was covered in <ahref="term.html#EX-ETC-TTYS">Example 17-1</a>. Configuration for modems is similar but wemust pass a different argument to <tt class="COMMAND">getty</tt> and specify a differentterminal type. The general format for both locked-speed and matching-speed configurationsis:</p><pre class="PROGRAMLISTING">ttyd0   "/usr/libexec/getty <var class="REPLACEABLE">xxx</var>"   dialup on</pre><p>The first item in the above line is the device special file for this entry -- <varclass="LITERAL">ttyd0</var> means <tt class="FILENAME">/dev/ttyd0</tt> is the file thatthis <tt class="COMMAND">getty</tt> will be watching. The second item, <varclass="LITERAL">"/usr/libexec/getty <var class="REPLACEABLE">xxx</var>"</var> (<varclass="REPLACEABLE">xxx</var> will be replaced by the initial <ttclass="FILENAME">gettytab</tt> capability) is the process <tt class="COMMAND">init</tt>will run on the device. The third item, <var class="LITERAL">dialup</var>, is the defaultterminal type. The fourth parameter, <var class="LITERAL">on</var>, indicates to <ttclass="COMMAND">init</tt> that the line is operational. There can be a fifth parameter,<var class="LITERAL">secure</var>, but it should only be used for terminals which arephysically secure (such as the system console).</p><p>The default terminal type (<var class="LITERAL">dialup</var> in the example above) maydepend on local preferences. <var class="LITERAL">dialup</var> is the traditional defaultterminal type on dial-up lines so that users may customize their login scripts to noticewhen the terminal is <var class="LITERAL">dialup</var> and automatically adjust theirterminal type. However, the author finds it easier at his site to specify <varclass="LITERAL">vt102</var> as the default terminal type, since the users just use VT102emulation on their remote systems.</p><p>After you have made changes to <tt class="FILENAME">/etc/ttys</tt>, you may send the<tt class="COMMAND">init</tt> process a <acronym class="ACRONYM">HUP</acronym> signal tore-read the file. You can use the command</p><pre class="SCREEN"><samp class="PROMPT">#</samp> <kbd class="USERINPUT">kill -HUP 1</kbd>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲视频一区二区在线| 日本一区二区三区国色天香| 日韩欧美亚洲一区二区| 日韩av电影天堂| 极品瑜伽女神91| 色综合久久久久综合体桃花网| 欧美一级日韩一级| 亚洲精品亚洲人成人网在线播放| 国内成人免费视频| 欧美精品777| 亚洲专区一二三| 成人av在线影院| 久久九九久久九九| 麻豆精品在线看| 51午夜精品国产| 亚洲韩国精品一区| 色综合一区二区| 国产精品免费久久久久| 精品亚洲国产成人av制服丝袜| 欧美日韩高清一区二区| 亚洲品质自拍视频| 99视频有精品| 中文字幕日韩精品一区| 亚洲va国产va欧美va观看| 日韩欧美亚洲国产另类| 一区av在线播放| 91偷拍与自偷拍精品| 国产精品久久久久7777按摩| 国产麻豆精品一区二区| 日韩三级电影网址| 日本大胆欧美人术艺术动态| 欧美精品久久一区| 日韩精彩视频在线观看| 欧美性做爰猛烈叫床潮| 亚洲一区二区精品久久av| 色先锋资源久久综合| 亚洲欧美电影一区二区| 91一区在线观看| 亚洲欧美日韩国产另类专区| 91国产福利在线| 亚洲18女电影在线观看| 欧美日本在线观看| 捆绑紧缚一区二区三区视频| 欧美变态tickle挠乳网站| 一级女性全黄久久生活片免费| www.久久久久久久久| 中文字幕中文字幕中文字幕亚洲无线| 国产suv精品一区二区三区| 国产精品久久久久久久久动漫| www.性欧美| 亚洲午夜一区二区三区| 欧美一级二级三级乱码| 国产麻豆精品theporn| 亚洲欧美怡红院| 欧美日韩国产a| 国产一区在线观看视频| 中文字幕亚洲综合久久菠萝蜜| 色综合久久综合中文综合网| 婷婷综合久久一区二区三区| 欧美精品一区二区在线播放| 成人高清视频在线观看| 激情综合色综合久久| 国产精品久久久久久妇女6080| 欧洲生活片亚洲生活在线观看| 日韩国产在线观看一区| 国产欧美一区二区精品忘忧草| 波多野结衣精品在线| 日欧美一区二区| 国产精品久久久久久久午夜片| 欧美日韩一区二区电影| 国内国产精品久久| 欧美日韩中文另类| 2023国产精品自拍| av在线一区二区三区| 亚洲国产成人va在线观看天堂| 欧美变态口味重另类| 色综合久久天天| 精品一区二区av| 一区二区免费看| 精品国产区一区| 欧美在线观看一二区| 国产精品一区二区你懂的| 夜夜嗨av一区二区三区| 久久久久久久久久久99999| 91麻豆精品秘密| 国产高清不卡二三区| 视频一区二区欧美| 亚洲你懂的在线视频| 2020国产精品久久精品美国| 欧美午夜寂寞影院| 99久久精品国产毛片| 国产综合色视频| 日本伊人色综合网| 亚洲午夜精品17c| 国产精品久久久久影院老司| 国产主播一区二区| 在线播放91灌醉迷j高跟美女 | 日韩不卡在线观看日韩不卡视频| 中文字幕欧美激情| ww亚洲ww在线观看国产| 7777精品伊人久久久大香线蕉| 一本色道久久综合亚洲aⅴ蜜桃| 高清不卡一二三区| 极品美女销魂一区二区三区免费| 性做久久久久久久久| 亚洲精品videosex极品| 中文字幕欧美国产| 国产喂奶挤奶一区二区三区| 欧美大尺度电影在线| 国产视频视频一区| 日韩欧美一级二级三级| 3d动漫精品啪啪1区2区免费 | 国产成人免费高清| 黄一区二区三区| 精品一区二区三区影院在线午夜| 日韩精品一二三四| 日韩精品91亚洲二区在线观看| 亚洲国产cao| 丝袜亚洲精品中文字幕一区| 五月天久久比比资源色| 天天综合网 天天综合色| 天天影视色香欲综合网老头| 久久一区二区三区四区| 精品国免费一区二区三区| 日韩欧美aaaaaa| 精品国产污污免费网站入口 | 欧美日韩国产影片| 欧美日韩国产不卡| 欧美高清hd18日本| 日韩欧美国产精品| 久久精品人人做| 中文字幕在线一区免费| 亚洲一区在线视频| 日韩精品高清不卡| 韩国av一区二区三区| 国产精品 欧美精品| 91视频91自| 欧美裸体一区二区三区| 精品国产一区二区三区久久影院 | 中文字幕一区二区在线播放| 亚洲日本青草视频在线怡红院| 日韩毛片一二三区| 亚洲欧美一区二区三区久本道91| 亚洲人123区| 日韩电影在线看| 色偷偷88欧美精品久久久| 91丨porny丨首页| 欧美日韩精品久久久| 2020国产精品自拍| 亚洲一区二区视频| 久久国产三级精品| 色综合色综合色综合| 日韩一二三四区| 国产精品盗摄一区二区三区| 亚洲gay无套男同| 国产精品原创巨作av| 欧美日韩在线直播| 国产日韩欧美在线一区| 亚洲国产中文字幕| 成人午夜免费视频| 欧美一区午夜视频在线观看 | 色噜噜狠狠一区二区三区果冻| 51精品秘密在线观看| 中文字幕中文在线不卡住| 石原莉奈在线亚洲三区| 另类综合日韩欧美亚洲| 99久久免费视频.com| 欧美一区二区三区在线观看视频| 国产精品二区一区二区aⅴ污介绍| 青青青伊人色综合久久| 91蝌蚪porny| 亚洲国产成人自拍| 麻豆精品视频在线观看视频| 在线亚洲人成电影网站色www| 精品福利一区二区三区| 亚洲成人自拍网| 91在线视频官网| 国产欧美精品国产国产专区| 蜜臀av一区二区在线观看| 欧美性xxxxx极品少妇| 国产精品久久久久久久久免费桃花| 精品在线观看视频| 欧美一区二区三区的| 亚洲一区免费视频| 91麻豆精品在线观看| 中文字幕在线观看不卡视频| 国产精品一区二区在线播放| 日韩美女在线视频| 蜜臀av性久久久久蜜臀av麻豆| 欧美日韩精品高清| 亚洲不卡一区二区三区| 日本黄色一区二区| 亚洲美女精品一区| 一本到一区二区三区| 日韩毛片视频在线看| 白白色 亚洲乱淫| 国产日韩欧美精品电影三级在线| 日韩高清不卡在线| 91精品国产91久久久久久一区二区 | 欧美bbbbb|