How to identify wifi network interfaces?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
How can I find a list of wifi interfaces that could be used by hostapd?
This doesn't work - I don't see my wifi interfaces listed:
â cat /etc/network/interfaces NewMod master
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
This kind of works - but I can't see which are wireless (except they start with wl)
â ifconfig NewMod master
enp2s0f1 Link encap:Ethernet HWaddr 80:fa:5b:47:d3:a2
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
enx803f5d0cfb18 Link encap:Ethernet HWaddr 80:3f:5d:0c:fb:18
inet6 addr: fe80::c00b:310a:534f:34ea/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1038940 errors:0 dropped:0 overruns:0 frame:0
TX packets:733216 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1257594637 (1.2 GB) TX bytes:78531977 (78.5 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:237623 errors:0 dropped:0 overruns:0 frame:0
TX packets:237623 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20683739 (20.6 MB) TX bytes:20683739 (20.6 MB)
wlp3s0 Link encap:Ethernet HWaddr b0:35:9f:2d:42:27
inet addr:192.168.0.18 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::6b44:ffcf:8889:7f3d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8681955 errors:0 dropped:0 overruns:0 frame:0
TX packets:4304922 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10401603438 (10.4 GB) TX bytes:598603222 (598.6 MB)
wlxc4e984116e78 Link encap:Ethernet HWaddr c4:e9:84:11:6e:78
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Is there a better way than assuming interfaces starting with "wl" are wifi?
Bonus points for a quick explanation of why they don't show up in /etc/network/interfaces. For these extra interfaces, do they have reliable names between reboots?
Basically I want to provide a list of interfaces so someone can choose which to hostapd with.
Thanks!
Mike
networking hostapd
add a comment |Â
up vote
0
down vote
favorite
How can I find a list of wifi interfaces that could be used by hostapd?
This doesn't work - I don't see my wifi interfaces listed:
â cat /etc/network/interfaces NewMod master
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
This kind of works - but I can't see which are wireless (except they start with wl)
â ifconfig NewMod master
enp2s0f1 Link encap:Ethernet HWaddr 80:fa:5b:47:d3:a2
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
enx803f5d0cfb18 Link encap:Ethernet HWaddr 80:3f:5d:0c:fb:18
inet6 addr: fe80::c00b:310a:534f:34ea/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1038940 errors:0 dropped:0 overruns:0 frame:0
TX packets:733216 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1257594637 (1.2 GB) TX bytes:78531977 (78.5 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:237623 errors:0 dropped:0 overruns:0 frame:0
TX packets:237623 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20683739 (20.6 MB) TX bytes:20683739 (20.6 MB)
wlp3s0 Link encap:Ethernet HWaddr b0:35:9f:2d:42:27
inet addr:192.168.0.18 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::6b44:ffcf:8889:7f3d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8681955 errors:0 dropped:0 overruns:0 frame:0
TX packets:4304922 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10401603438 (10.4 GB) TX bytes:598603222 (598.6 MB)
wlxc4e984116e78 Link encap:Ethernet HWaddr c4:e9:84:11:6e:78
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Is there a better way than assuming interfaces starting with "wl" are wifi?
Bonus points for a quick explanation of why they don't show up in /etc/network/interfaces. For these extra interfaces, do they have reliable names between reboots?
Basically I want to provide a list of interfaces so someone can choose which to hostapd with.
Thanks!
Mike
networking hostapd
Nothing shows up in/etc/network/interfaces
unless somebody put them there. The installer helpfully adds localhost and any configured ethernet interfaces, that's why they show up with additional action.
â muru
Feb 7 at 5:08
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
How can I find a list of wifi interfaces that could be used by hostapd?
This doesn't work - I don't see my wifi interfaces listed:
â cat /etc/network/interfaces NewMod master
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
This kind of works - but I can't see which are wireless (except they start with wl)
â ifconfig NewMod master
enp2s0f1 Link encap:Ethernet HWaddr 80:fa:5b:47:d3:a2
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
enx803f5d0cfb18 Link encap:Ethernet HWaddr 80:3f:5d:0c:fb:18
inet6 addr: fe80::c00b:310a:534f:34ea/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1038940 errors:0 dropped:0 overruns:0 frame:0
TX packets:733216 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1257594637 (1.2 GB) TX bytes:78531977 (78.5 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:237623 errors:0 dropped:0 overruns:0 frame:0
TX packets:237623 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20683739 (20.6 MB) TX bytes:20683739 (20.6 MB)
wlp3s0 Link encap:Ethernet HWaddr b0:35:9f:2d:42:27
inet addr:192.168.0.18 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::6b44:ffcf:8889:7f3d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8681955 errors:0 dropped:0 overruns:0 frame:0
TX packets:4304922 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10401603438 (10.4 GB) TX bytes:598603222 (598.6 MB)
wlxc4e984116e78 Link encap:Ethernet HWaddr c4:e9:84:11:6e:78
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Is there a better way than assuming interfaces starting with "wl" are wifi?
Bonus points for a quick explanation of why they don't show up in /etc/network/interfaces. For these extra interfaces, do they have reliable names between reboots?
Basically I want to provide a list of interfaces so someone can choose which to hostapd with.
Thanks!
Mike
networking hostapd
How can I find a list of wifi interfaces that could be used by hostapd?
This doesn't work - I don't see my wifi interfaces listed:
â cat /etc/network/interfaces NewMod master
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
This kind of works - but I can't see which are wireless (except they start with wl)
â ifconfig NewMod master
enp2s0f1 Link encap:Ethernet HWaddr 80:fa:5b:47:d3:a2
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
enx803f5d0cfb18 Link encap:Ethernet HWaddr 80:3f:5d:0c:fb:18
inet6 addr: fe80::c00b:310a:534f:34ea/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1038940 errors:0 dropped:0 overruns:0 frame:0
TX packets:733216 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1257594637 (1.2 GB) TX bytes:78531977 (78.5 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:237623 errors:0 dropped:0 overruns:0 frame:0
TX packets:237623 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20683739 (20.6 MB) TX bytes:20683739 (20.6 MB)
wlp3s0 Link encap:Ethernet HWaddr b0:35:9f:2d:42:27
inet addr:192.168.0.18 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::6b44:ffcf:8889:7f3d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8681955 errors:0 dropped:0 overruns:0 frame:0
TX packets:4304922 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10401603438 (10.4 GB) TX bytes:598603222 (598.6 MB)
wlxc4e984116e78 Link encap:Ethernet HWaddr c4:e9:84:11:6e:78
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Is there a better way than assuming interfaces starting with "wl" are wifi?
Bonus points for a quick explanation of why they don't show up in /etc/network/interfaces. For these extra interfaces, do they have reliable names between reboots?
Basically I want to provide a list of interfaces so someone can choose which to hostapd with.
Thanks!
Mike
networking hostapd
networking hostapd
asked Feb 6 at 18:35
![](https://i.stack.imgur.com/XryCl.jpg?s=32&g=1)
![](https://i.stack.imgur.com/XryCl.jpg?s=32&g=1)
Michael Cole
402312
402312
Nothing shows up in/etc/network/interfaces
unless somebody put them there. The installer helpfully adds localhost and any configured ethernet interfaces, that's why they show up with additional action.
â muru
Feb 7 at 5:08
add a comment |Â
Nothing shows up in/etc/network/interfaces
unless somebody put them there. The installer helpfully adds localhost and any configured ethernet interfaces, that's why they show up with additional action.
â muru
Feb 7 at 5:08
Nothing shows up in
/etc/network/interfaces
unless somebody put them there. The installer helpfully adds localhost and any configured ethernet interfaces, that's why they show up with additional action.â muru
Feb 7 at 5:08
Nothing shows up in
/etc/network/interfaces
unless somebody put them there. The installer helpfully adds localhost and any configured ethernet interfaces, that's why they show up with additional action.â muru
Feb 7 at 5:08
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
0
down vote
You can use iwconfig but iwconfig is depricated.
Now way is this:
iw dev | grep -Po '^sInterfacesK.*$'
add a comment |Â
up vote
0
down vote
Look at inet address. Only device here that might be working wireless is wlp3s0. Others do not have external ipv4 address.
Also look the hardware address . Compare with output from other system descriptors like lspci.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You can use iwconfig but iwconfig is depricated.
Now way is this:
iw dev | grep -Po '^sInterfacesK.*$'
add a comment |Â
up vote
0
down vote
You can use iwconfig but iwconfig is depricated.
Now way is this:
iw dev | grep -Po '^sInterfacesK.*$'
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You can use iwconfig but iwconfig is depricated.
Now way is this:
iw dev | grep -Po '^sInterfacesK.*$'
You can use iwconfig but iwconfig is depricated.
Now way is this:
iw dev | grep -Po '^sInterfacesK.*$'
edited Feb 6 at 19:45
answered Feb 6 at 18:39
![](https://i.stack.imgur.com/XryCl.jpg?s=32&g=1)
![](https://i.stack.imgur.com/XryCl.jpg?s=32&g=1)
Michael Cole
402312
402312
add a comment |Â
add a comment |Â
up vote
0
down vote
Look at inet address. Only device here that might be working wireless is wlp3s0. Others do not have external ipv4 address.
Also look the hardware address . Compare with output from other system descriptors like lspci.
add a comment |Â
up vote
0
down vote
Look at inet address. Only device here that might be working wireless is wlp3s0. Others do not have external ipv4 address.
Also look the hardware address . Compare with output from other system descriptors like lspci.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Look at inet address. Only device here that might be working wireless is wlp3s0. Others do not have external ipv4 address.
Also look the hardware address . Compare with output from other system descriptors like lspci.
Look at inet address. Only device here that might be working wireless is wlp3s0. Others do not have external ipv4 address.
Also look the hardware address . Compare with output from other system descriptors like lspci.
answered Feb 7 at 5:01
![](https://i.stack.imgur.com/REVSK.jpg?s=32&g=1)
![](https://i.stack.imgur.com/REVSK.jpg?s=32&g=1)
pauljohn32
2,059719
2,059719
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003644%2fhow-to-identify-wifi-network-interfaces%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Nothing shows up in
/etc/network/interfaces
unless somebody put them there. The installer helpfully adds localhost and any configured ethernet interfaces, that's why they show up with additional action.â muru
Feb 7 at 5:08