动态网站制作指南 [  QQ表情  ]
[ 投票调查 ]
[ 企业邮箱 ]
[ 网站空间 ]
网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
ASP源码 | .Net源码 | PHP源码 | JSP源码 | JAVA源码 | CGI源码 | VB源码 | C++源码 | Delphi源码 | PB源码 | VF源码 | 汇编 | 服务器
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > Java教程
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
网络编程:ASP教程,ASP.NET教程,PHP教程,JSP教程,C#教程,数据库,XML教程,Ajax,Java,Perl,Shell,VB教程,Delphi,C/C++教程,软件工程,J2EE/J2ME,移动开发
文章搜索服务
邮件订阅
输入你的邮件地址,
你将不会错过任何关于:
[ Java教程 ]的信息

本月文章推荐
.浅析Java多线程编程中的高级技术.
.手机开发 教您使用JSR172解析XML.
.Java在软件开发中可能出现的几个.
.STRUTS 入门教学.
.Java技术:使您轻松地进行多线程.
.使用Java Swing 创建一个XML编辑.
.getSeconds 方法.
.Java如何处理ARP报文的收发.
.初学者编程十大好习惯.
.如何在JAVA SE中使用Hibern.
.用JVM工具接口创建调试和分析代理.
.关于java异常处理(讲义).
.SpringFramework中的面向方面编程.
.一个理解wait()与notify()的例子.
.Sun中文培训教程.
.从XML到Java代码的数据绑定之一.
.Java核心代码例程之:(JAXP) XSL.
.Java动画及自动浏览图片程序的开.
.java image.
.Struts入门经验.

Configuringhigh-speeddialup

发表日期:2008-1-5 |



  www.kempston.net/solaris/ www.kempston.org/solaris/
  -------------------------
   This page contains detailed step-by-step instrUCtions to configure Solaris 7 and Solaris 8 for high-speed dial-out and dial-in using V90 modems. It shows how to use Solaris to dialup and connect to a remote system with the Solaris system acting as a terninal on the remote system. It also shows how to configure Solaris to answer an incoming telephone call and provide terminal Access to the calling system. It doesn't cover connecting a Solaris system to an ISP; this is a special form of dial-out and is covered in Configuring PPP on Solaris to connect to an ISP. It also doesn't cover configuring a Solaris system as a PPP server, accepting incoming PPP connections; this is covered in Configuring PPP dial-in on Solaris but this page is a prerequisite before configuring a PPP server.
  
   What this page does cover is using Solaris to dialup a remote system and run a terminal session on that remote system. It also covers the reverse scenario: allowing remote systems to dialup your Solaris system and run terminal sessions on it.
  
   Why would you want to do this? You may want to use your Solaris system to connect to a BBS, for example, or to any remote system which allows terminal-mode dial in access. Or you may want to configure your Solaris system at the Office to give your customers dial in access or to enable you to connect to it from a Windows PC at home.
  
   Important Notes
  
   The instructions assume that your modem is external and attached to one of the two standard serial ports. Note that you must have a real modem; monstrosities known as WinModems are of no use whatsoever with unix. Unfortnately, I have no eXPerience of using internal modems with Solaris and there may be additional configuration issues with these. I'm not able to advise about issues with internal modems but there's some useful advice at Celeste Stokely's Web pages and especially in her Tutorial on Solaris 2.x Modems & Terminals. Celeste's pages cover the configuration of modems in very much more detail than is offered here and are highly recommended for further reading. This page is intended to provide a simple, step-by-step procedure which should work for most people.
  
   Now for the instructions. No unix knowledge is assumed, other than the ability to edit files using a text editor.
  -------------------------------------------------------
   Configuring Solaris for high-speed dial out
   Please note that you must be logged in as root while implementing these instructions.
   These instructions describe how to configure Solaris and your modem for dial-out to a remote computer. Implement these instructions first, even if you want to configure your system for dial in access.
   1. Configure your serial port for dial out
   Start admintool under CDE:
   # admintool &
   Select the Browse menu and then Serial Ports from the drop-down list. Click on the line starting a if your modem is attached to the first serial port or on the line starting b if your modem is connected to the second serial port. Select the Edit menu and then Modify from the drop-down list.
   Change the following fields:
   Template: Modem - Dial out Only Baud Rate: 9600
   Cick on OK and close admintool.
   2. Test communication with the modem
   The unix command "tip" is used to communicate with a modem. If you're interested in the gory detail, the manual page for this command can be displayed by typing:
   # man tip
   If your modem is attached to the first serial port:
   # tip /dev/cua/a
   If your modem is attached to the second serial port:
   # tip /dev/cua/b
   and the command should respond:
   connected
   If it responds:
   All ports busy
   it means either that your serial port is configured incorrectly, perhaps for dial in instead of dial out, or that there is a more fundamental problem in communicating with the port. In this case, have a look at Celeste Stokely's Tutorial on Solaris 2.x Modems & Terminals which contains a wealth of useful information about modems.
   Type:
   ATZ
   and the modem should respond:
   OK
   If there's no response from the modem, check that you're using a straight-through cable with pin 2 at one end connected to pin 2 at the other end, pin 3 to pin 3 and so on. A "null-modem" or cross-over cable, designed for use with a terminal, will not work.
   Type:
   ATI4
   Most modems respond to this command by reporting their current settings. If this doesn't work, try AT&v, ATL5, ATL6, ATL7 or AT*c. If all else fails, consult your modem manual. When using a 3COM USR V90 modem, it responds:
  
   U.S. Robotics 56K Message Settings...
  
   B0 E1 F1 L2 M1 Q0 V1 X4 Y0
   SPEED=300 PARITY=N WordLEN=8
   DIAL=TONE OFF LINE
  
   &A1 &B1 &C1 &D2 &H1 &I0 &K1
   &M4 &N0 &P0 &R2 &S0 &T5 &U0 &Y1
   ...
   Note that the actual speed at which Solaris is communicating with the modem is only 300 baud, or 30 characters per second, despite the speed having been set using admintool to be 9600. The reason for this is that tip defaults to a speed of 300 baud and we'll fix this in the next step.
  
   Close tip by typing "ENTER key, tilde, full stop" as three key strokes:
  
   ~.
   3. Set the modem DTE speed
   Edit the file /etc/remote and insert a line at the start of this file reading: modem:dv=/dev/cua/a:br#115200
   if your modem is attached to the first serial port, or: modem:dv=/dev/cua/b:br#115200
   if your modem is attached to the second serial port.
   This enables us to communicate with the modem at a speed of 115200 bits per second. It's important to understand that there are two speeds to be considered in modem communication. There's the speed at which the host computer talks to a connected modem and this is known as the Data Terminal Equipment or DTE speed. There's also the speed at which the modem transmits and receives data across the telphone line and this is known as the Data Communication Equipment or DCE speed. A 56K or V90 modem is capable of a DCE speed of up to 56K, although this is unlikely to be achieved in practice. Data sent down a telephone connection is often compressed with the receiving modem uncompressing the data before sending it to the host computer. So a modem to modem speed (DCE) of 56K could result in a modem to computer speed (DTE) well in excess of 56K. For this reason, the DTE speed should be set at least 50% higher than the maximum DCE speed and a DTE speed of 115200 is recommended for use with 56K modems.
   However, not all Sun hardware is capable of talking to a serial port at this speed. If you have a Sun Ultra 5 or better, or an Intel P90 or better, your system should be able to sustain a DTE speed of 115200. If you have an older Sun system, you may well not be able to drive a V90 modem at its maximum speed and will need to experiment to find the highest DTE speed that your hardware supports. If 115200 doesn't work, try specifying 38400, 19200 or 9600 in the line in /etc/remote.
   4. Test high-speed communication with the modem
   Try the tip test again, this time specifying the name of the new entry in /etc/remote as a parameter to tip and you should be rewarded with a high-speed connection to the modem:
  
   # t
上一篇:Sun.XVR-1200图形加速器的使用 人气:556
下一篇:很不错的JAVA学习笔记 人气:460
浏览全部Java的内容 Dreamweaver插件下载 常用网页广告代码全集
  最新网站源码 最新软件下载
2008-10-7 Web Wiz Forums(论坛系统) v9.53
2008-10-7 Web Wiz Forums(论坛系统) v9.53
2008-10-7 Web Wiz Forums(论坛系统) v9.53
2008-10-7 HDWiki v4.0.1 bulid 081007 UTF
2008-10-7 迅易评选投票管理系统 v10.0
2008-10-7 HDWiki v4.0.1 bulid 081007 GBK
2008-10-7 Bitrac单用户博客 v1.14 bulid 0
2008-10-7 OpenX(广告管理系统) v2.6.2 多国
2008-10-7 乐铺网店系统免费普及版 v3.41
2008-9-29 酷狗音乐(原KuGoo)2008 v5.310 正
2008-9-29 QQTab 1.1
2008-9-29 网络传送带 Net Transport 2.64a
2008-9-29 谷歌金山词霸v1.8
2008-9-29 TweakVI 1.0 Build 1090
2008-9-29 ACDSee Pro 2.5 Build 333 汉化绿
2008-9-29 Winamp v5.541(2189) 周明波简体
2008-9-27 CCleaner 2.12.651
2008-9-27 Mozilla Thunderbird 2.0.0.17 英
  发表评论
姓 名: 验证码:
内 容:
站长工具:网站收录查询 | Google PR查询 | ALEXA排名查询 | CSS在线编辑器 | 广告代码 | js/vbs加密 | md5加密 | 进制转换 | UTF-8 转换工具 | Html转换js | Html转换asp | Html转换php | Html转换perl
实用工具:汉字翻译拼音 | 拼音字典 | 符号对照表 | 个税计算 | 实时汇率查询换算 | 经典小工具 | 汉字简繁转换 | 普通单位换算 | 公制单位换算 | 生辰老黄历 | 国内电话区号 | 国家代码与域名缩写 | 文字加密解密 | 健康查询 | 万年历 | 汉字横竖排版 | 手机号码查询 | 计算器 | ip搜索
业务联系 | 广告刊登 | 频道合作 | 投稿荐稿 | 联系方式 | 加入收藏 | RSS订阅
Copyright © 2000-2008 www.knowsky.com All rights reserved | 网络实名:动态网站制作指南 | 沪ICP备05001343号