Linux服务器如何查看有没有无线网卡

Linux服务器如何查看有没有无线网卡,第1张

ip

addr

或者

ifconfig

-a

可以看到所有的网络设备。找找有没有wifi设备就好了。

相关linux问题可以查看《linux就该这么学》的官网http://www.linuxprobe.com/

一、tftp服务器需要装

tftp-server.x86_64 : The server for the Trivial File Transfer Protocol (TFTP).

tftp-server.x86_64 这个包

1,装法有2种,一种是rpm包直接安装

下载后 rpm -ivh 包名,具体版本不同那个名不一样,反正后面有rpm就对了

如果你会用yum的话,yum install tftp 自动装了

2,源代码编译

这个下载下来是个压缩包,一般是什么什么gz ,或者什么什么tar.gz

tar -zxvf tftp-version-tar.gz 解开,然后看看里面的帮助文件

一般是

chmod +x configure

./configure --prifix=/usr/local/tftp

make

make install

---------------

二、运行tftp有2种方式

一种是xinetd

xinetd本身是一个程序,他就好比是一个大杂烩,很多小程序都可以用他来执行,然后他来分配资源,因为很多程序访问量不大

配置如下

[root ~]# cat /etc/xinetd.d/tftp

# default: off

# description: The tftp server serves files using the trivial file transfer \

# protocol. The tftp protocol is often used to boot diskless \

# workstations, download configuration files to network-aware printers, \

# and to start the installation process for some operating systems.

service tftp

{

socket_type = dgram

protocol= udp

wait= yes

user= root

server = /usr/sbin/in.tftpd

server_args = -v -m /pxeinstall/tftpboot/tftprules -s /pxeinstall/tftpboot

disable = no

per_source = 11

cps = 100 2

flags = IPv4

}

[root ~]#

然后 service xinetd restart 或者 /etc/init.d/xinetd restart

看一下进程监听的端口netstat -lnp 能看到tftp就ok 了

2,还有一种daemon的不说了,上面那个够用了

你装tftp是要学网卡自动安装 *** 作系统吧,如果是的话,装了tftp还需要进一步了解 server_args = -v -m /pxeinstall/tftpboot/tftprules -s /pxeinstall/tftpboot 这里面的含义。


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/yw/8949145.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-23
下一篇2023-04-23

发表评论

登录后才能评论

评论列表(0条)

    保存