---
title: 驱动安装过程中出现“ifconfig: command not found”报错-昇腾社区
description: Atlas 200I A2 加速模块环境驱动安装过程中提示“ifconfig: command not found”报错打印，如图1所示。
keywords: ifconfig;not found;报错
url: https://www.hiascend.com/document/caselibrary/detail/topic_0000002238194350
section: (其他)
---

# 驱动安装过程中出现“ifconfig: command not found”报错-昇腾社区

URL: https://www.hiascend.com/document/caselibrary/detail/topic_0000002238194350
描述: Atlas 200I A2 加速模块环境驱动安装过程中提示“ifconfig: command not found”报错打印，如图1所示。
关键词: ifconfig;not found;报错

昇腾文档 [了解详情](https://www.hiascend.com/document)

故障案例 [了解详情](https://www.hiascend.com/document/caselibrary)

驱动安装过程中出现“ifconfig: command not found”报错

驱动安装过程中出现“ifconfig: command not found”报错

2025/04/28

520

问题信息

| 问题来源 | 产品大类 | 产品子类 | 关键字 |
| --- | --- | --- | ---|
| 现网 | 安装部署 | 驱动固件 | ifconfig、not found、报错 |

#### 问题现象描述

Atlas 200I A2 加速模块环境驱动安装过程中提示“ifconfig: command not found”报错打印，如图1 [了解详情](https://www.hiascend.com/#ZH-CN_TOPIC_0000002238194350__zh-cn_topic_0000001154385018_zh-cn_topic_0000001148379261_fig2621103693819)所示。

图1报错打印

#### 原因分析

系统未安装net-tools工具。

#### 解决措施

1. 执行如下命令，安装net-tools工具。

apt-get install net-tools
2. 执行ifconfig命令，若出现如下回显内容，则说明net-tools可用。

```
endvnic: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::xxxx:xxxx:xxxx:fb71  prefixlen 64  scopeid 0x20<link>
        ether 10:1b:54:xx:xx:d3  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 29  dropped 29 overruns 0  carrier 0  collisions 0

enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.100  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::xxxx:xxxx:xxxx:cb44  prefixlen 64  scopeid 0x20<link>
        ether 00:30:64:xx:xx:cb  txqueuelen 1000  (Ethernet)
        RX packets 6056  bytes 562783 (562.7 KB)
        RX errors 0  dropped 990  overruns 0  frame 0
        TX packets 1263  bytes 113787 (113.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0xdf100000-df120000

enp10s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:30:64:xx:xx:ca  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xdf000000-df01ffff

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 3853  bytes 234436 (234.4 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3853  bytes 234436 (234.4 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
```

本页内容

- 问题信息
- 问题现象描述
- 原因分析
- 解决措施
