我的 wwan 设备是什么?

我的 wwan 设备是什么?

我有一台 ThinkPadThinkPad_mobile_Internet

要启用它,我想知道我的 wwan 设备(例如):

# your wwan device name created by qmi_wwan kernel module
# check it with "ip a" or "ifconfig -a". it may be wwan0?

但我的ip a回报是这样的:

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    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: wwp0s20f0u2i1: <BROADCAST,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 3a:29:c8:62:f2:c4 brd ff:ff:ff:ff:ff:ff
3: wlp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 1c:99:57:c6:bc:ea brd ff:ff:ff:ff:ff:ff
    inet 10.2.22.142/20 brd 10.2.31.255 scope global dynamic noprefixroute wlp9s0
       valid_lft 3351sec preferred_lft 3351sec
    inet6 2001:da8:201:3041:7c3d:aaa0:95f7:5501/64 scope global dynamic noprefixroute 
       valid_lft 2591998sec preferred_lft 604798sec
    inet6 fe80::e328:2a26:59d9:3e37/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
4: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 38:f3:ab:4c:6e:f5 brd ff:ff:ff:ff:ff:ff

我的 wwan 设备是什么?

答案1

前两个字母告诉您接口的类型:

lo用于环回
en用于以太网
wl用于无线 LAN (WLAN)
ww用于无线广域网 (WWAN)

所以就你而言,你想要wwp0s20f0u2i1并且

lo是你的环回
wlp9s0是你的 wlan
enp0s31f6是你的以太网

相关内容