在windows下远程连接liunx,需要借助一些小工具来实现,下面是 *** 作需要用到的工具和详细步骤。
工具/原料
window *** 作系统的电脑
一台安装了linux系统的服务器
puttyexe小软件
方法/步骤
1、在前面的环境和软件都有的情况下,双击puttyexe软件,如下图:
2、在软件界面中的:Host Name输入框中输入linux服务器的IP地址,端口号,其他的按照截图上的默认,再点击Open 按钮即可进入linux服务器的命令框。
3、在命令框中输入用户名和密码回车即可进入linux系统。
Fedora 宽带连接设置2010-09-11 21:46:29| 分类: 默认分类 | 标签: |字号大中
小 订阅
Fedora 宽带连接可以说是比较简单和容易的,
现在也比较简单的说下连接的二种方法:
1 图形界面模式设置:
打开“网络连接”管理面板 —— 从左上角菜单找到 “系统->首选项->网络连接”,
或者用右键单击上边栏右侧的网络连接图标,选择 “编辑连接”。
在打开“网络连接”管理面板中选择 “DSL”,点击“添加”。
点击 “添加” 后,d出配置对话框
(1)“连接名称” 可以任意更改,比如叫“宽带连接”或者“ADSL 拨号”都可以,在这里还是保持不变 。
(2)没勾选“自动连接”,那么每次开机之后都要手动 *** 作,推荐勾选。
(3) “用户名” 和 “密码” 都是 ISP(即网络服务提供商,如电信、网通等) 提供的,服务就填 ISP 的名称吧,比如你是电信用户就填写“中国电信”或者"Telecom"吧。
PS: 使用“星空极速”的电信用户,需要拨打电信客服 10000 取得可用于 ADSL 拨号的用户名,或者使用 Windows 进行拨号,然后从事件日志中找出真实的 ADSL 用户名。
“对所有用户可用”,如果不勾选,这个网络连接只能让当前用户使用。如果勾选,则所有用户可用。勾选此选项后会要求 root 权限才能保存这个 DSL 配置。
命令行模式设置宽带
1 安装 rp-pppoe-310-6fc12i686 (不同的fedora版本有不同的包,功能一样的) 软件包,
可以: # yum install rp-pppoe
若不能安装,也可以上网下载源码安装。
2 安装后最好重启下机器。 (建议)
3 开始在终端输入命令设置宽带(超级用户下) :
# pppoe-setup (设置宽带,在ubuntu下的命令是 sudo pppoeconf)
Welcome to the Roaring Penguin ADSL client setup First, I will run some checks on your system to make sure the PPPoE client is installed properly… Looks good! Now, please enter some information:
USER NAME
>;>;>; Enter your PPPoE user name (default XXX):(在这里输入ADSL用户名 )
INTERFACE
>;>;>; Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0
For Linux, it will be ethn, where ‘n’ is a number (default eth0): (输入网卡接口名,如果只有一个网卡就在这里输入eth0 )
Do you want the link to come up on demand, or stay up continuously If you want it to come up on demand, enter the idle time in seconds after which the link should be dropped If you want the link to stay up permanently, enter ‘no’ (two letters, lower-case) NOTE: Demand-activated links do not interact well with dynamic IP addresses You may have some problems with demand-activated links >;>;>; Enter the demand value (default no):(直接回车)
DNS
Please enter the IP address of your ISP’s primary DNS server If your ISP claims that ‘the server will provide DNS addresses’, enter ’server’ (all lower-case) here If you just press enter, I will assume you know what you are doing and not modify your DNS setup
>;>;>; Enter the DNS information here:(在这里输入server 即自动获得DNS )
PASSWORD
>;>;>; Please enter your PPPoE password: (输入ADSL密码)
>;>;>; Please re-enter your PPPoE password:(再输入一次 )
FIREWALLING
Please choose the firewall rules to use Note that these rules are very basic You are strongly encouraged to use a more sophisticated firewall setup; however, these will provide basic security If you are running any servers on your machine, you must choose ‘NONE’ and set up firewalling yourself Otherwise, the firewall rules will deny access to all standard servers like Web, e-mail, ftp, etc If you are using SSH, the rules will block outgoing SSH connections which allocate a privileged source port
The firewall choices are:
0 - NONE: This script will not set any firewall rules You are responsible for ensuring the security of your machine You are STRONGLY recommended to use some kind of firewall rules
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN
>;>;>; Choose a type of firewall (0-2): ( 这里是设置防火墙的,0:表示不设置防墙, 为是最好连上网,这里就选择0 )
Summary of what you entered
Ethernet Interface: eth0
User name: XXX
Activate-on-demand: No
DNS: Do not adjust
Firewalling: MASQUERADE
>;>;>; Accept these settings and adjust configuration files (y/n) (这里输入y即可,输入n就是重头设置过。)
配置完成!
启动拨号命令:/sbin/ifup ppp0
停止网络命令:/sbin/ifdown ppp0
查看网络状态:/sbin/pppoe-status
启动拨号命令:adsl-start
停止网络命令:adsl-stop
查看网络状态:adsl-status
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)