随着移动通信技术的快速发展,由几年前的2G模块,到现在广泛使用的4G模块,5G虽然很火热,但是5G模组还不是很成熟,另外据说专家们已经在研究6G了,移动通信真是发展迅速啊。随着它们速率的不断提供,模块的接口形式也在不断的变化,2G模块只要串口就可以了,4G模块一般用的USB接口,当然串口也可以,只不过速率慢些。由于4G模块的驱动较为复杂,所以如果是USB接口,在普通MCU上做就会比较困难,这时Linux系统的优势就体现出来了,Linux由于其完备的驱动支持,在上面做4G就会容易很多。
时间过得真快,距离这个系列的上一篇文章《商业级4G代理搭建指南【准备篇】》发布的时间已经过了两个星期了,上个星期由于各种琐事缠身,周二开始就没空写文章了,所以就咕咕咕了。
从这篇文章的标题中我们可以看出,这一次的搭建方案主要用到的是 Docker,你可能会很好奇,Docker 跟搭建 4G 代理有什么关系吗?
SIM868模块具有GPRS数据传输功能(2G网络),但是模块是通过AT指令控制的,在树莓派上用AT指令控制会非常不方便,如果可以像wifi一样操作就很方便了。通过ppp拨号上网就可以实现这个功能。
手机一般会提供两种上网方式:Wifi或者3G/4G上网,Wifi上网其实就是利用网卡通过以太网上网;3G/4G则是通过基带,利用蜂窝网络进行上网,之前已经简单的阐述了Wifi上网跟3G上网的区别,本文主要简述Android 3G/4G上网的流程及原理。
服务端 /var/log/messages 中会出现类似的日志Aug 25 00:26:02 pptp-server pptpd[10177]: CTRL: Client 103.240.124.15 control connection startedAug 25 00:26:02 pptp-server pptpd[10177]: CTRL: Starting call (launching pppd, opening GRE)Aug 25 00:26:02 pptp-server pppd[10178
1,在CentOS6.3下用 /usr/sbin/pppd pty "/usr/sbin/pptp publicip --nolaunchpppd" file /etc/ppp/options.pptp user user1 password password1 再用tail -f /var/log/messages看到log如下 Oct 8 03:25:41 localhost pppd[2057]: pppd 2.4.5 started by root, uid 0 Oct 8 03:25:41 localhost pppd[2057]: Using interface ppp0 Oct 8 03:25:41 localhost pppd[2057]: Connect: ppp0 <--> /dev/pts/2 Oct 8 03:25:41 localhost pptp[2058]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated Oct 8 03:25:41 localhost pptp[2066]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request' Oct 8 03:25:41 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply Oct 8 03:25:41 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established. Oct 8 03:25:42 localhost pptp[2066]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request' Oct 8 03:25:42 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply. Oct 8 03:25:42 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 19561). Oct 8 03:25:45 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 0 Oct 8 03:25:45 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:953]: send_accm is 00000000, recv_accm is FFFFFFFF Oct 8 03:25:45 localhost pptp[2066]: anon warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async Control Character Maps are not supported! Oct 8 03:25:45 localhost pppd[2057]: CHAP authentication succeeded Oct 8 03:25:45 localhost pppd[2057]: LCP terminated by peer (tM-+)^R^@<M-Mt^@^@^BM-f) Oct 8 03:25:45 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 0 Oct 8 03:25:45 localhost pptp[2066]: anon log[ctrlp_disp:pptp_ctrl.c:953]: send_accm is FFFFFFFF, recv_accm is FFFFFFFF Oct 8 03:25:45 localhost
linux下要实现3G拨号上网,除了3G网卡和对应的3G卡外,软件上需要对应的网卡驱动和pppd拨号程序,pppd拨号程序一般较容易得到,如果是嵌入式平台,交叉编译即可,编译过程中可能会遇到一些错误,但都不是大问题,一般很容易解决。而3G网卡驱动对于刚接触的人来说可能稍微难一点,大部分的3G模块内核中已经得到支持。如果不幸内核中没有得到支持,那么自己添加支持也是很容易的。下面介绍两种驱动3G网卡的方法。 linux内核中USB-GSM模块的驱动主要是drivers/usb/serial/options.c文
Linux Ubuntu710X64 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux
[root@localhost liuqi]# wvdial --> WvDial: Internet dialer version 1.60 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Modem initialized. --> Sending: ATDT*99***1# --> Waiting for carrier. ATDT*99***1# CONNE
一般情况下,常规用途的 Linux 发行版在开机启动时拉起各种相关服务进程,包括许多你可能无需使用的服务。 -- David Both 本文导航 ◈ 查看开机启动项09% ◈ 哪些服务能够禁止?37% ◈ 系统启动时发生了什么?62% 大部分 Linux 发行版都会在开机的时候启动各种相关的服务进程,其中有很多你根本都用不上的:蓝牙、 Avahi 、调制解调管理器甚至 pppd-dns 等等,你甚至根本不知道这些都是什么东西。 好在我们有 Systemd ,它给我们带来了许多工具帮我们查看系统启动是的状
可以看到系统为CentOS release 6.2 (Final) 二、软件安装
编号CVE-2015-0235的GHOST(幽灵)漏洞是Qualys研究员发现的一个Linux服务上非常严重的安全漏洞,可以被利用来远程代码执行及本地权限提升。 漏洞简要描述 该漏洞存在于 glic
微雪官方教程:http://www.waveshare.net/wiki/SIM7600CE_4G_HAT
以下是亲自试验可用的 1.最简化安装ubuntu17.04之后,没有安装wifi驱动。 此时可以先添加一些软件源 网易源地址: deb http://mirrors.163.com/ubuntu/ zesty main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ zesty-security main restricted universe multiverse deb http://mirrors.163.co
linux系统为大多程序员工作的基础系统,在实际的工作中,基本围绕linux服务的打转,ubuntu,centos等之类的但是大多为 redhat,debian这两个发行版本来展开的。linux系统的优化配置也是一些工作的基础项,但是也和各自的业务属性有关系,需要维持关注的系统方面也大不一样。
https://www.linux.com/learn/cleaning-your-linux-startup-process
原文:https://kunnan.blog.csdn.net/article/details/114694914
作为一个爬虫技术员,除了要熟练掌握至少一种编程语言外,还应该创建属于自己的爬虫ip池。我们都知道,在进行爬虫采集时,经常会遇到网站各种发爬机制,如果有自己的ip池,将会让爬虫这项枯燥无味的工作变得非常简单。
今年wifi soc大幅降价,市场模组价格一下被拉到了10元档。本尊虽贵为物联网小能手,但公司一直对wifi产品不感冒,借此火热势头终于决定来尝尝鲜,本尊也得以常常wifi的味道。这段时间调试用到的是安信可的ESP-01模块,终于打通了编译下载调试的整个通道,有一些细节需要记录,方便后续的开发工作。
VPS有很多种玩法,在墙上打洞是最常见的玩法之一。打洞方法多种多样,其中以PPTP最为常见,也是配置起来最为简便的方式之一。 本脚本只需执行一次即可将PPTP服务安装完毕,然后在你的电脑里设置好VPN即可。当然了,要保证你的VPS是在外面的自由世界中,而且VPS是基于Xen或KVM的。
我的两台服务器: A有内网10.16.16.8 外网120.120.120.120 系统centos 7.9 B只有内网10.16.16.8 系统centos 7.9 两台服务器内网互通。(以上ip均虚拟)
运行级别(Runlevel)指的是Unix或者Linux等类Unix操作系统下不同的运行模式,本文记录相关内容。 运行级别 运行级别(Runlevel)指的是Unix或者Linux等类Unix操作系统下不同的运行模式。运行级别通常分为7等,分别是从0到6。 在大多数linux操作系统下一共有如下6个典型的运行级别: 0 停机 1 单用户,Does not configure network interfaces, start daemons, or allow non-root l
“[” 是专有命令,而不是普通测试符号(ls /usr/bin/[ 有结果),和test命令等价,并且是内建命令。
P Masquerade 是 Linux 发展中的一种网路功能.如果一台 Linux 主机使用 IP Masquerade 功能连线到网际网路上,那麽接上它的电脑(不论是在同一个区域网路上或藉由数据机连线)也可以接触网际网路,即使它们没有获得正式指定的 IP 位址.
参加活动获得了香橙派与华为联合开发的 OrangePi AI Pro 开发板,这款开发板采用了华为自研的处理器,具有8TOPS的AI算力,可以满足一部分的AI开发需求,让 AI 开发不仅仅限于使用英伟达。
MIC-1816R嵌入式ARM测控一体机采用ARM Cortex-A9 i.MX6处理器,支持Ubuntu操作系统,提供Qt和C开发包、示例程序,集成4通道IEPE加速规信号采集、8通道电压电流采集、模拟输出和数字IO等,具有极高性价比,是设备状态监测和工业测控的首选方案。
运维行业正在变革,推荐阅读:30万年薪Linux运维工程师成长魔法 运维流程管理工具 发布变更流程管理工具:做为系统接口与其他角色的工作衔接。并提供审批环节控制发布变更的风险。流程管理工具并不负责具体的业务操作的执行,只是作为单据系统跟踪流程和确保闭环。 告警和突发管理工具:体现业务受损的告警自动建单管理。人工确认之后升级为突发单。通过建单管理告警和突发确保流程的闭环,以及每次故障都能够总结出经验,并未度量业务的可用性提供KPI。 运维发布变更工具 版本管理工具(数据库):所有的发布应该以版本管理为起点
随着现代图像及视频处理技术的不断发展,人们对图像处理提出了新的要求,最近几年,图像的分辨率和扫描频率都有了较大范围的提升,1080P分辨率的视频已经非常流行,2K甚至4K分辨率的图像也在火热发展中。
之前 红队视角下Linux信息收集 中提到过提权的信息收集命令,但没有细讲。本篇文章将着重于各种linux提权手段,总结提权的条件和原理。
Windows开发环境:Windows 7 64bit、Windows 10 64bit
https://www.vulnhub.com/entry/serial-1,349/,如何搭建靶机,请自行百度!
Windows 开发环境: Windows 7 64bit 、Windows 10 64bit
本篇介绍如何编译及下载uboot到ARM板子上。对于初学者有这么三个名词,分别是uboot、kernel和rootfs。这三个名词我刚开始接触是非常的困惑,现在随着使用增多稍微有一点点感觉。大家刚开始学不用太纠结这个问题,等实际操作一段时间就会理解了。uboot的主要作用是用来启动linux内核,因为CPU不能直接从块设备(如NAND/EMMC/SD卡)中执行代码,需要把块设备中的程序复制到内存中,而复制之前还需要进行很多初始化工作,如时钟、串口等;要想让CPU启动linux内核,只能通过另外的程序,进行必要的初始化工作,再把linux内核中代码复制到内存中,并执行这块内存中的代码,即可启动linux内核;一般情况下,我们把linux镜像储存在块设备中如SD卡、Nandflash等块设备中,首先执行uboot代码,在uboot中把块设备中的内核代码复制到某内存地址处,然后再执行这个地址,即可启动内核。
我的物理网口enp3s0没有对应的vmbr1,需要先创建Linux Bridge,步骤如下:
如今车规级芯片市场潜力巨大,需求旺盛,芯片都在逐渐走向国产化。本文要介绍的主角是MYD-YT507H开发板,该开发板是米尔科技结合全志国产工业级平台CPU——全志T507-H芯片研制的CPU模组,全志T507-H可广泛用于电力物联网、汽车电子、商业显示、工业控制、医疗器械、智能终端等领域。接下来就让我带大家一起开箱看看吧。
在“为什么家里要有公网IP”一文中已经简要的说明了一下网络环境对于NAS的重要性,这里专门就此问题展开讨论。
无论是电信还是联通,拨号软件都只有windows版本,根本没有考虑过linux用户,但是ubuntu这个优秀的系统怎么可能没有简单的拨号呢,下面由我给大家介绍几种linux拨号的方法,主要是分两种: 一:帐号和密码没有改变 这算比较好的ip提供商了,我家用的就是这种,所以我从来都没用过运营商提供的拨号软件,而且这样能够使用路由器或者connectify等的软件分享一个ip上网,因此这种拨号在ubuntu下很容易就搞定,首先打开终端,输入命令sudo pppoeconf,终端会让你输入帐号和密码,
linux中存在着管道,它是一个固定大小的缓冲区,缓冲区大小通常为1页,也就是4K字节。
虽然闰秒的考验已经结束了,不少IT人都为这一秒付出了很大的代价。 我也是在周末知道闰秒的说法,自己听到时也是一知半解,原本以为是个很新鲜的名词,看着微信朋友圈和微信群里大家都在热烈讨论,因为都是oracle圈子的,大家讨论的更多关注点都在数据库层面了。 讨论比较多的说法是: 这个问题将影响部分开启ntp服务的Linux操作系统——会导致Linux内核Crash!Linux kernel是在2.6.18-164.e15之后的版本中解决了这个问题。换句话说,Linux kernel低于2.6.18-164的L
作者:黄小龙,腾讯云云监控高级工程师 前言 近期,某券商 APP 出现异常,大部分用户出现无法登录,数据显示异常等问题。由于行业的特殊性,股票交易对于时效的敏感性,出现这样的异常会造成无法预估的影响。 在业务发展过程中,通常会过度的关注如何设计高可用、高可靠的架构,往往忽略会了真实的用户体验。业务真正上线后,将面临接踵而来的体验问题。 为什么会有大量用户反馈体验不佳?访问缓慢? 为什么还是有部分地区的用户无法访问? 为什么业务域名访问会被劫持或者被封堵? 为什么业务页面会被篡改,且无法第一时间获悉? 如
NAND FLASH版本和eMMC版本核心板使用方法基本一致。本文主要描述U-Boot编译、基础设备树文件编译、固化Linux系统NAND FLASH分区说明和NAND FLASH启动系统、固化Linux系统、AND FLASH读写测试等,NAND FLASH版本与eMMC版本核心板在使用方面的不同之处,相同之处将不重复描述。
前进几篇文章,已经搞定了Linux移植三巨头:uboot、kernel(包含dtb)和rootfs,除了uboot是烧写在SD中的,其它的都是在ubuntu虚拟机的nfs服务器中,运行时必须通过网络将这些文件加载到开发板的内存中运行。
本次案例用到的是创龙科技的TLZ7x-EasyEVM-S开发板,它是一款基于Xilinx Zynq-7000系列XC7Z010/XC7Z020高性能低功耗处理器设计的异构多核SoC评估板,处理器集成PS端双核ARM Cortex-A9 + PL端Artix-7架构28nm可编程逻辑资源,评估板由核心板和评估底板组成。核心板经过专业的PCB Layout和高低温测试验证,稳定可靠,可满足各种工业应用环境。
黄小龙 腾讯云高级工程师/腾讯云监控方案架构师,多年监控开发和应用经验,对业务监控、智能监控有深刻的理解,主导腾讯云 DevOps 可观测方案落地。 案例背景 随着各行业业务高速发展,系统架构日渐庞大和复杂。导致应用系统可用性下降、发生故障时,无法及时发现并定位问题。生产系统运维管理难度和重要性日渐凸显,对业务连续性要求和运维服务质量要求也不断提高,为保障系统业务连续性,业务可用性能监控已成为刚需。 方案介绍 1. 监测方法 通过腾讯云云拨测在全球各个地区不同运营商和类型的监测点对目标地址进行定时访问,可
请先按照调试工具安装、Linux开发环境搭建相关文档,安装SecureCRT串口调试终端、VMware虚拟机等相关软件,按照Linux系统使用手册解压安装LinuxSDK开发包到Ubuntu。无特殊说明情况下,默认使用USB TO UART0作为调试串口,使用Linux系统启动卡(Micro SD方式)启动系统,通过路由器与PC机进行网络连接。
利用无服务器架构中提供的定时触发能力,在运维监控场景有很多种用处,例如定时备份、定时拨测、定时统计等。
一直想买一台低功耗小主机做软路由,前几天刚好看到淘宝有卖便宜双网口j1900小主机,看样子和成色应该是整机二手,不过看着还行,叫卖家给我装了爱快,插电直接用也省的我装。
领取专属 10元无门槛券
手把手带您无忧上云