安装SUN5.10后,不能远程登录的问题
2010-05-26 20:42
197 查看
【前言】这是一个n久以前的问题,最近在处理过去的陈旧问题。从昨天到今天,真是不爽,代码出现了很低级的错误,搞的我都快神经了,那个合作方的同事还一脸无辜的样子。我有时候也揣测合作方同事的工作态度和方式方法,他们应该体会不到我们的压力,当然也就没有和我们一样的责任心吧。呵呵,但是合作方中也有高尚者,比如我一直怀念、但是已经离职的一个同事。
——————
现象是:新安装的sun5.10后,从本机不能telnet到服务器上
原因:没有配置defaultrouter这个文件,所以从本机无法路由到服务器。
系统默认是没有这个文件的,原因是solaris默认开启的是什么包转发的功能),这里面只需填写你的路由网关即可,一般是所在网段的*.*.*.254。
配置好这个文件后,reboot就可
【另附】
Change the default route in Solaris
【参考】
http://aoding.blog.51cto.com/226250/170748/
http://blog.chinaunix.net/u1/41327/showart_402151.html
Step 1: edit /etc/defaultrouter
Using the editor of your choice, edit the file /etc/defaultrouter — the only line in the file should be the default route of the system, for example: 192.168.1.1. This change will not take effect until the system is rebooted.
Step 2: Delete the current default route
To make the route change take effect immediately, you must first delete the default route. If the current default route is 192.168.254.1, then the command would be:
Step 3: Assign the current default route
To implement the new default route without rebooting the system, use the following command substituting your default route for 192.168.1.1:
——————
现象是:新安装的sun5.10后,从本机不能telnet到服务器上
原因:没有配置defaultrouter这个文件,所以从本机无法路由到服务器。
系统默认是没有这个文件的,原因是solaris默认开启的是什么包转发的功能),这里面只需填写你的路由网关即可,一般是所在网段的*.*.*.254。
配置好这个文件后,reboot就可
【另附】
Change the default route in Solaris
【参考】
http://aoding.blog.51cto.com/226250/170748/
http://blog.chinaunix.net/u1/41327/showart_402151.html
Step 1: edit /etc/defaultrouter
Using the editor of your choice, edit the file /etc/defaultrouter — the only line in the file should be the default route of the system, for example: 192.168.1.1. This change will not take effect until the system is rebooted.
Step 2: Delete the current default route
To make the route change take effect immediately, you must first delete the default route. If the current default route is 192.168.254.1, then the command would be:
route delete default 192.168.254.1
Step 3: Assign the current default route
To implement the new default route without rebooting the system, use the following command substituting your default route for 192.168.1.1:
route add default 192.168.1.1
相关文章推荐
- 安装MiniTools后,不能识别USB的问题
- 番茄花园不能安装IIS问题的解决方法
- QQ游戏,打开XX客户端失败,如果由于此问题而不能进行游戏,请尝试重新安装该游戏
- Ubuntu 14.04 server 安装postgresql后不能启动问题
- 如何解决XP不能安装字体的问题
- ubuntu 安装之后不能启动的问题
- 解决SQL server 2000 个人版 XP能用 不能在win7 64位系统上安装的问题
- inf不能进行安装问题解决
- 安装office2007之windows installer 服务不能更新一个或多个受保护的windows文件问题解决
- vmware 从4.1升级到5.1 出现的问题 安装完成后鼠标键盘都不能动
- 安装VM遇到imagec~1.cab不能读取问题
- 解决先安装SQL Server2005后不能安装SQL Server2000的问题
- SDL安装后不能正常工作的问题
- 安装sql server 2000 pack,解决端口1433不能访问的问题
- win7之64位下安装oracle11g遇到问题和不能删除干净的问题
- 【转】解决XCode安装插件后插件不能使用的问题
- 虚拟机安装CentOS不能联网问题
- 解决在Win7下安装MyGeneration,不能使用的问题
- 解决 Genymotion 模拟器V5.0以上版本拖拽安装arm translation 后依旧不能正常运行apk的问题
- 关于VMWARE虚拟机安装GHOST版XP后不能硬盘启动问题