RHEL7平台下电信拨号上网配置

AUTOSAE软件配置-项目标准配置 (PSC) 导入达芬奇( DaVinci Configurator) 文件是“可拆分的”,这意味着如果格式符合 AUTOSAR 拆分规则,则可以与其他。)是一个ARXML文件,主要由OEM提供,其中包含。)工件,可以作为输入文件导入到达芬奇配置器专业版。导入的参数将以只读方式处理。不允许在多个 ARXML 文件中导入一个。的已存在数据或从输入文件派生的数据。可以作为输入文件导入到另一个。文件会覆盖用户配置的基本。元素和诊断数据预配置。定义 [数据结构]。中,可以导出一个或多个。 阅读详情

配置通过pppoe包来完成,直接用yum来安装这个rpm包

[root@localhost Packages]# rpm -qa| grep pppoe
rp-pppoe-3.11-5.el7.x86_64
配置前,网卡信息:

[root@localhost Packages]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:1d:60:89:7f:31 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic ens34
       valid_lft 43sec preferred_lft 43sec
    inet6 fe80::21d:60ff:fe89:7f31/64 scope link
       valid_lft forever preferred_lft forever
55: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
    link/ether b6:84:dd:d4:33:cd brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
配置过程:

[root@localhost network-scripts]# pppoe-setup
Welcome to the PPPoE client setup.  First, I will run some checks on
your system to make sure the PPPoE client is installed properly...


LOGIN NAME

Enter your Login Name (default root): cd02885838643

INTERFACE

Enter the Ethernet interface connected to the PPPoE modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethX, where 'X' is a number.
(default eth0): ens34

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 dynamic 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: 202.98.96.68 #这里是成都DNS地址
Please enter the IP address of your ISP's secondary DNS server.
If you just press enter, I will assume there is only one DNS server.
Enter the secondary DNS server address here: 202.98.96.69 #与上面一样,同样是成都DNS地址

PASSWORD

Please enter your Password:
Please re-enter your Password:

USERCTRL

Please enter 'yes' (three letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes): yes

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

Start this connection at boot time

Do you want to start this connection at boot time?
Please enter no or yes (default no):yes

** Summary of what you entered **

Ethernet Interface: ens34
User name:          cd02885838643
Activate-on-demand: No
Primary DNS:        202.98.96.68
Secondary DNS:      202.98.96.69
Firewalling:        NONE
User Control:       yes
Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/sysconfig/network-scripts/ifcfg-ppp0
Adjusting /etc/resolv.conf
  (But first backing it up to /etc/resolv.conf.bak)
Adjusting /etc/ppp/chap-secrets and /etc/ppp/pap-secrets
  (But first backing it up to /etc/ppp/chap-secrets.bak)
  (But first backing it up to /etc/ppp/pap-secrets.bak)



Congratulations, it should be all set up!

Type '/sbin/ifup ppp0' to bring up your xDSL link and '/sbin/ifdown ppp0'
to bring it down.
Type '/sbin/pppoe-status /etc/sysconfig/network-scripts/ifcfg-ppp0'
to see the link status.

[root@localhost network-scripts]# /sbin/ifup ppp0 #启动端口信息
[root@localhost network-scripts]#
配置完成后,网卡信息:

[root@localhost Packages]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:1d:60:89:7f:31 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic ens34
       valid_lft 30sec preferred_lft 30sec
    inet6 fe80::21d:60ff:fe89:7f31/64 scope link
       valid_lft forever preferred_lft forever
55: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
    link/ether b6:84:dd:d4:33:cd brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
84: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN qlen 3
    link/ppp
    inet 100.64.3.210 peer 100.64.0.1/32 scope global ppp0
       valid_lft forever preferred_lft forever
[root@localhost Packages]# ping www.baidu.com
PING www.a.shifen.com (180.97.33.108) 56(84) bytes of data.
64 bytes from 180.97.33.108: icmp_seq=1 ttl=56 time=32.8 ms
64 bytes from 180.97.33.108: icmp_seq=2 ttl=56 time=33.7 ms
64 bytes from 180.97.33.108: icmp_seq=3 ttl=56 time=33.4 ms
^C
--- www.a.shifen.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 32.811/33.332/33.748/0.389 ms

基于Xilinx XDMA 的PCIE通信 基于Xilinx XDMA 的PCIE通信 概述:   想实现基于FPGA的PCIe通信,查阅互联网各种转载…基本都是对PCIe的描述,所以想写一下基于XDMA的PCIe通信的实现(PCIe结构仅做简单的描述(笔记),了解详细结构移至互联网)。实践实践!!! 说明: 参考文档: PCI Express Base Specification Revision 3.0 PCI Express Base Specification Revision 5.0 pg195-pcie-dma PCI Express体系 阅读详情

相关推荐

CSR-DCF视频目标跟踪源码运行笔记

论文基本信息 论文标题:Discriminative Correlation Filter with Channel and Spatial Reliability 论文作者:Alan Lukezic等 论文出处:CVPR 2017 文章链接:https://arxiv.org/abs/1611.08461 补充材料:https://www.semanticscholar.org/paper/D...

越野者的博客 3400

RHEL/Fedora网络配置四----PPPoE-client建立

    一、安装的前提条件 1.确保安装了网卡并工作正常 #ifconfig eth0 查看网卡状态 2.在系统中不要设置默认路由(网关),让ADSL拨号后自动获得 如果已经设置了默认路由,使用以下方法删除: 在文件 /etc/sysconfig/network 中删除 GATEWAY= 这一行,然后以root执行: #/etc/rc.d/init.d/ne...

指点江山 237

esp32-C3固件烧录用户手册

温馨提示:1.esp32-C3 BOOT脚为GPIO9,需要从芯片小板中焊接引出2.芯片小板中已经预留了所有烧录相关的引脚,大家可以按需焊接引线3.程序下载完,使用串口查看log时,需要使用220v供电使用(请务必准守用电安全)。原因:由于插座中包含继电器,计量计等耗电设备,所以usb转串口提供的3.3V电压和电流可能会出现供电不足,表现为usb转串口与电脑连接断断续续,导致无法查看log。

hbwang的博客 1万+

基于centos7的PPPoE拨号上网

安装依旧使用yum: [root@test ~]# yum install rp-pppoe -y 0x03 配置 使用pppoe-setup进行交互式配置: [root@test ~]# pppoe-setup Welcome to the PPPoE client setup. First, I will run some checks on your system to make sure...

Devops学习旅途 9114

2026必学:LangChain+Playwright爬虫,赋能RAG智能问答系统

RAG(检索增强生成)智能问答系统的效果,80%取决于数据源的质量。2026年,LangChain与Playwright的组合成为企业级RAG数据采集的黄金搭档:LangChain提供标准化的RAG数据处理链路,Playwright解决动态网页渲染的核心痛点,两者结合能高效采集、结构化处理各类网页数据(动态渲染页、复杂交互页、反爬页),为RAG系统提供高质量语料。

专注于Python爬虫开发,分享爬虫技巧、项目实战与反爬经验,使用Scrapy、BeautifulSoup等工具,解决数据抓取难题。 1705

【CAD二次开发】炸开所有的嵌套块

代码】【CAD二次开发】炸开所有的嵌套块。

1513

Linux的高级路由和流量控制

待续。。。

644

YOLOv11改进 | 模型知识蒸馏篇 | 利用模型蒸馏改进YOLOv11进行无损涨点 | 离线蒸馏(附代码 + 完整文件 + 解析教程)

这篇文章给大家带来的最新改进是模型的蒸馏,利用教师模型指导学生模型从而进行模型的涨点,本文的内容不仅可以用于论文中,在目前的绝大多数的工作中模型蒸馏是一项非常重要的技术,所以大家可以仔细学习一下本文的内容,本文从YOLOv8的项目文件为例,进行详细的修改教程,文章内包括完整的修改教程,针对小白我出了视频修改教程,如果你还不会我提供了修改后的文件大家直接运行即可,所以说不用担心不会适用!模型蒸馏真正的无损涨点,蒸馏你只看这一篇文章就足够了!欢迎大家订阅我的专栏一起学习YOLO!

Snu77的博客 4322

如何设置RHEL6 ADSL(pppoe)实现接入宽带网络

       今天公司由于网络的新装,需要为一台RHEL6.2的服务器安装网络。        这次安装的网络使用的是山东电信的ADSL宽带接入方式。由于以前工作中习惯了使用桌面自带的网络连接管理或者pppoeconf这个命令配置宽带网络连接,却直到今天才发现,原来RHEL6默认没有启用pppoe这个网络接入方式。 下面就将解决方案呈现给大家,以供参考。        刚开始如何设置“N...

weixin_33801856的博客 159

PX4控制云台的两种方式 方法适用控舵机 控灯

云台控制插件是mount_control,运行mavros启动文件的时候需要注意该插件是否正常启动,需要在px4_pluginlists.yaml配置文件中将mount_control从blacklisted中移除后才可启动。后会默认占用AUX端口1-4,此时通过AUX通道1-4输出PWM控制信号至云台,对应的RC通道映射功能失效。控制信号输入为RC 则接收机必须连接对应的通道至AUX辅助通道,并通过MNT_MAN_*参数设置pitch/roll/yaw对应的AUX通道。配置为AUTO或MAVLINK,

z1872385的博客 3669

RK3568笔记九十四:基于QT的YOLOV5目标检测

基于RK3568平台的实时目标检测应用,使用YOLOv5模型和RKNN推理引擎实现摄像头实时目标检测,并通过Qt界面显示检测结果。主要功能实时摄像头目标检测:从摄像头获取视频流,使用YOLOv5模型进行目标检测RKNN推理加速:利用RK3568内置的NPU进行模型推理加速图形界面显示:使用Qt框架构建用户界面,实时显示检测结果RGA图像处理:使用Rockchip Graphic Accelerator进行图像缩放处理。

523

linux纯系统下配置PPPOE拨号上网!!!

linux纯系统下配置PPPOE拨号上网!!!       2、 PPPoE软件的升级与安装   1) 在 http://www.roaringpenguin.com/pppoe/#download 下载   2) 解压rp-pppoe(以root身份执行 )   #tar -zxvf rp-pppoe-3.10.tar.gz   3、 修改/etc/ sysctl.conf

a746742897的博客 1万+

3步!Spring Boot+OCR引擎秒提身份证/营业执照?手把手教你从零实现!

OCR技术革新文档识别效率 本文演示了如何利用Spring Boot+Tesseract OCR+OpenCV构建自动化文档识别系统。相比传统人工录入,OCR技术可实现: 5秒极速提取身份证/营业执照关键信息 精准识别中文文本(准确率90%+) 正则过滤自动匹配结构化数据 技术要点: OpenCV图像预处理(灰度化+二值化) Tesseract多语言OCR识别 正则表达式精准提取证件号码 效率提升达100倍,错误率降低90%,适用于金融、政务等需要批量处理证件的场景。

java专栏 905

linux pppoe拨号上网

linux pppoe拨号上网 安装软件和修改配置文件: [root@cv ~]# yum -y install rp-pppoe [root@cv ~]# cp /usr/share/doc/rp-pppoe-3.11/configs/pppoe.conf  /etc/ppp/ [root@cv ~]# cat /etc/ppp/pppoe.conf | grep -v ^# | grep -v ^$   修改配置文件 ETH=ens37 USER=sj205 DEMA

zdl244的博客 2606

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

锂电池充电器电路设计 里面有电路

锂电池充电器电路设计 里面有电路 3.7V升压到5V电路设计。

如何在redhat下宽带拨号上网

来北京找工作了,自己的本本一直是redhat系统,所以这需要拨号上网。 1.检查自己的机器是否安装了rp-pppoe [root@hadoop1 Desktop]# rpm -qa rp-pppoe  rp-pppoe-3.8-5.fc10.i386   2.如果没有安装rp-pppoe,则安装 [html] view plaincopy [root@

Eliot 2132

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

【自学】记录Centos遇到的坑-网络连接失败

Failed to start LSB: Bring up/down networking 问题 一、执行 service network restart 出现以下错误 Restarting network (via systemctl): Job for network.service failed. See ‘systemctl status network.service’ and ‘jo...

csdn1198402320的博客 4572

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

LVM故障导致RHCS启动故障

1、故障提示抓取资源管理日志发现提示如下错误tail -f /var/log/cluster/rgmanager.logMay 6 18:21:24 yktdb1 rgmanager[17425]: State change: Local UPMay 6 18:21:24 yktdb1 rgmanager[17425]: Starting stopped service ...

weixin_34408717的博客 545

两台linux建立GRE隧道

1.拓扑图:  备注:因为应用原因,需要在linux2上添加一个公网地址,并且在中间路由设备不受控制的情况下,Linux1能访问到linux2上面的公网地址。 2.基本接口配置: linux1:192.168.10.1/24 linux2:192.168.20.2/24 R1: interface FastEthernet0/0  ip address 192.168.10.10 2...

weixin_33834137的博客 582

CentOS-6.3(Linux) 命令行 DSL 拨号

$ sudo yum install rp-pppoe $ sudo pppoe-setup [sudo] password for root: Welcome to the PPPoE client setup. First, I will run some checks on your system to make sure the PPPoE client is installed

码农 3243

Ubuntu 配置PPTP客户端---命令行

本文介绍一下命令配置PPTP客户端的过程。   A.安装pptp客户端软件  1 sudo apt-get install pptp-linux   B.查看网络配置 1 2 3 4 5 6 7 8 9

hanyun9988的博客 1万+

命令行管理和维护RHCS集群

命令行管理和维护RHCS集群1、启动RHCS集群 RHCS集群的核心进程有cman和rgmanager,要启动集群,一次在集群的每个节点上执行如下命令: service cman start service rgmanager start 执行着两个命令是有先后顺序的,要先启动cman,然后再启动rgmanager。 [root@web1 ...

weixin_33737774的博客 544

CentOS Linux 下设置adsl上网

[root@localhost ~]# ifconfig  eth1      Link encap:Ethernet  HWaddr 78:2B:CB:60:D8:EE             inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0           inet6 addr: fe80::7a2b:c

风声 3127

RHCS 排错常用命令

1.1.群集状态查看(clustat) The clustat command displays the status of the cluster.It shows membership information, quorum view, and the state of all configured user services.The clustat com...

weixin_33806300的博客 357

linux PPPOE拨号上网设置

1. 打开应用程序菜单,依次选择附件 - 终端。  2.在弹出终端窗口後,输sudo pppoeconf,输入完成後回车。  3.然后会提示您输入当前Ubuntu 管理员用户的密码,输入完成後回车。  询问你的网络设备,一般选择是,进行检测,然后一直选择是。  4.之后会提示您输入您的ADSL 用户名(也就是帐号)和密码,在输入帐号  时把原来的user 删掉,其它的除密码之外的问题全部回答“是...

lllunaticer的博客 1万+

PPPoE服务搭建与交互流程

环境使用Ubuntu 16.04.5 LTS系统主机,使用apt-get安装pppoe服务端: $ sudo apt-get install pppoe        $ pppoe-server -h PPPoE-Server Version 3.11, Copyright (C) 2001-2009 Roaring Penguin Software Inc. PPPoE-Server com...

redwingz的博客 5005

RHCS集群套件

RHCS集群套件

XMJDCH的博客 666
上一篇: RHEL7 下通过yum安装VNC服务
下一篇: Iaas Paas Saas
Clef
博客等级 码龄12年 125粉丝 121原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值