kali2.0 2016.2 宽带拨号上网

刚装了个win8.1+kali2.0的双系统,首先要解决的就是上网问题。

如果电脑自带无线网卡,那就方便很多啦,直接连wifi就好啦,恼火的是只能宽带上网怎么办?

下面是解决办法

1、rp-pppoe软件的安装(客户端)

   wget https://www.roaringpenguin.com/files/download/rp-pppoe-3.12.tar.gz 下载

  (1) 解压rp-pppoe  #tar -zxvf rp-pppoe-3.12.tar.gz

       (2) cd/rp-pppoe-3.12/src

       (3) ./configure 

       (4) make && sudo make install

2、执行命令:sudo pppoe-setup

    进行PPPoE客户端配置了,过程如下:
  >>> Enter your PPPoE user name: ——此处输入拨号帐号的用户名
  >>> 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
  >>> Enter the demand value (default no): ——输入no
  >>> Enter the DNS information here: ——输210.52.149.2(视当地运营商的DNS服务器IP而定)
  >>> Please enter your PPPoE password: ——输入用户口令
  >>> Choose a type of firewall (0-2): ——输入0
  >>> Accept these settings and adjust configuration files (y/n)? ——输入y

3、 修改配置文件:leafpad /etc/ sysctl.conf

  将其中的
  net.ipv4.ip_forward = 0
  改为
  net.ipv4.ip_forward = 1

       也有可能net.ipv4.ip_forward = 1是被“#”注释掉的,去掉“#”就好。

4、 启动拨号连接

       #pppoe-start    //启动拨号连接

  成功连接后,命令行显示Connected。
  我遇到的问题是,运行pppoe-start后出现............TIMED-OUT。

       这是因为我的密码输入错误引起的,所以出现这种情况,先检查用户名、密码、dns地址有没有错误

       pppoe-stop   关闭连接



转自http://blog.csdn.net/a746742897/article/details/52421461


  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值