Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #211190 > unrolled thread
| Started by | Patrick Bartek <patrick.bartek@gmail.com> |
|---|---|
| First post | 2019-07-11 02:10 +0200 |
| Last post | 2019-07-12 21:50 +0200 |
| Articles | 9 — 5 participants |
Back to article view | Back to linux.debian.user
Wpa_supplicant Error: No such device Patrick Bartek <patrick.bartek@gmail.com> - 2019-07-11 02:10 +0200
Re: Wpa_supplicant Error: No such device Bert Riding <reriding@xmission.com> - 2019-07-11 23:30 +0200
Re: Wpa_supplicant Error: No such device Patrick Bartek <nemommxiv@gmail.com> - 2019-07-12 04:30 +0200
Re: Wpa_supplicant Error: No such device Bert Riding <reriding@xmission.com> - 2019-07-12 08:50 +0200
Re: Wpa_supplicant Error: No such device Patrick Bartek <nemommxiv@gmail.com> - 2019-07-12 21:40 +0200
Re: Wpa_supplicant Error: No such device David Wright <deblis@lionunicorn.co.uk> - 2019-07-12 23:10 +0200
Re: Wpa_supplicant Error: No such device Patrick Bartek <nemommxiv@gmail.com> - 2019-07-13 03:00 +0200
Re: Wpa_supplicant Error: No such device Andrei POPESCU <andreimpopescu@gmail.com> - 2019-07-12 09:00 +0200
Re: Wpa_supplicant Error: No such device Patrick Bartek <nemommxiv@gmail.com> - 2019-07-12 21:50 +0200
| From | Patrick Bartek <patrick.bartek@gmail.com> |
|---|---|
| Date | 2019-07-11 02:10 +0200 |
| Subject | Wpa_supplicant Error: No such device |
| Message-ID | <yiuOR-7sc-1@gated-at.bofh.it> |
A problem when trying to associate with a wireless router
(WPA2). Get the following error when manually executing:
wpa_supplicant -i wlx<hexnumber>
-c /etc/wpa_supplicant/wpa_supplicant.conf
Could not read interface wlx<hexnumber> flags: No such device
nl80211: Driver does not support authentication/association or connect
commands
nl80122: [can't read my own writing on this one]
Wpa_supplicant fails whether I use the -B (background) switch or not.
Here's the wpa_supplicant.conf file:
ctrl_interface=DIR=/run/wpa_supplicant
update_config=1
network={
ssid="ROUTERNAME"
# scan_ssid=1
# key_mgmt=WPA-PSK
# psk="SECRETPASSPHRASE"
psk=longhexnumber
}
I've tried with and without the commented lines. Same results.
Here's the wifi portion of my /etc/network/interfaces
allow-hotplug wlx<hexnumber>
iface wlx<hexnumber> inet dhcp
wpa-ssid ROUTERNAME
# wpa-key-mgmt WPA-PSK
# wpa-group TKIP CCMP
# wpa-psk SECRETPASSPHRASE
wpa-psk longhexnumber
The wireless is a Rosewill USB RNX-N180UBEv3. It is UP after boot and
scanning wifi routers works. System tries to associate to router at
boot, but fails. Correct kernel module (rtl8192eu) is loaded.
Anyone got an idea of why wpa_supplicant is failing? And how to fix
it? All commands issued as root.
FYI: I have an atypical Stretch install: No desktop environment,
window manager only; sysvinit, but systemd libraries still installed.
Boots to terminal, login there, then startx, if I want a GUI. Wifi UP
at terminal and scanning works. This is not a laptop. Wired ethernet
works and has always (12 years) worked.
Thanks.
B
[toc] | [next] | [standalone]
| From | Bert Riding <reriding@xmission.com> |
|---|---|
| Date | 2019-07-11 23:30 +0200 |
| Message-ID | <yiONA-2LU-9@gated-at.bofh.it> |
| In reply to | #211190 |
You could try using the actual device for the -i option (interface)...like
wlan0 or, in the new notation wlp3s0, and use nl80122 as the -D
option (driver).
On Thu, 11 Jul 2019 02:10:02 +0200, Patrick Bartek wrote:
> A problem when trying to associate with a wireless router
> (WPA2). Get the following error when manually executing:
>
> wpa_supplicant -i wlx<hexnumber>
> -c /etc/wpa_supplicant/wpa_supplicant.conf
>
> Could not read interface wlx<hexnumber> flags: No such device
> nl80211: Driver does not support authentication/association or connect
> commands
> nl80122: [can't read my own writing on this one]
>
> Wpa_supplicant fails whether I use the -B (background) switch or not.
>
> Here's the wpa_supplicant.conf file:
>
>
> ctrl_interface=DIR=/run/wpa_supplicant
> update_config=1
>
> network={
> ssid="ROUTERNAME"
> # scan_ssid=1
> # key_mgmt=WPA-PSK
> # psk="SECRETPASSPHRASE"
> psk=longhexnumber
> }
>
> I've tried with and without the commented lines. Same results.
>
> Here's the wifi portion of my /etc/network/interfaces
>
> allow-hotplug wlx<hexnumber>
> iface wlx<hexnumber> inet dhcp
> wpa-ssid ROUTERNAME
> # wpa-key-mgmt WPA-PSK
> # wpa-group TKIP CCMP
> # wpa-psk SECRETPASSPHRASE
> wpa-psk longhexnumber
>
> The wireless is a Rosewill USB RNX-N180UBEv3. It is UP after boot and
> scanning wifi routers works. System tries to associate to router at
> boot, but fails. Correct kernel module (rtl8192eu) is loaded.
>
> Anyone got an idea of why wpa_supplicant is failing? And how to fix
> it? All commands issued as root.
>
> FYI: I have an atypical Stretch install: No desktop environment,
> window manager only; sysvinit, but systemd libraries still installed.
> Boots to terminal, login there, then startx, if I want a GUI. Wifi UP
> at terminal and scanning works. This is not a laptop. Wired ethernet
> works and has always (12 years) worked.
>
> Thanks.
>
> B
[toc] | [prev] | [next] | [standalone]
| From | Patrick Bartek <nemommxiv@gmail.com> |
|---|---|
| Date | 2019-07-12 04:30 +0200 |
| Message-ID | <yiTtU-5Lc-1@gated-at.bofh.it> |
| In reply to | #211255 |
On Thu, 11 Jul 2019 21:02:44 -0000 (UTC)
Bert Riding <reriding@xmission.com> wrote:
> You could try using the actual device for the -i option (interface)...like
> wlan0 or, in the new notation wlp3s0, and use nl80122 as the -D
> option (driver).
iw dev or ip a report the device name to be wlx00e04c2a23c4. This
designation never changes regardless of reboots or which USB port I
plug the wireless device into. I examined the output of dmesg and noted
that udev had reassigned wlan0 to this new name. Don't know why. And it
does work when scanning or finding device info or bringing device up or
down. But I initially tried wlan0 anyway. Got "No such
device . . ." etc.
I tried using -D nl80211 (did you transpose digits?) and not using it.
wpa_supplicant failed with the same error noted below. Also, tried
wext. Ditto.
Haven't tried wlp3s0, but haven't found ANY reference to that name
on the system regardless of which command I use to show network devices.
Thanks for your input.
B
> On Thu, 11 Jul 2019 02:10:02 +0200, Patrick Bartek wrote:
>
> > A problem when trying to associate with a wireless router
> > (WPA2). Get the following error when manually executing:
> >
> > wpa_supplicant -i wlx<hexnumber>
> > -c /etc/wpa_supplicant/wpa_supplicant.conf
> >
> > Could not read interface wlx<hexnumber> flags: No such device
> > nl80211: Driver does not support authentication/association or connect
> > commands
> > nl80122: [can't read my own writing on this one]
> >
> > Wpa_supplicant fails whether I use the -B (background) switch or not.
> >
> > Here's the wpa_supplicant.conf file:
> >
> >
> > ctrl_interface=DIR=/run/wpa_supplicant
> > update_config=1
> >
> > network={
> > ssid="ROUTERNAME"
> > # scan_ssid=1
> > # key_mgmt=WPA-PSK
> > # psk="SECRETPASSPHRASE"
> > psk=longhexnumber
> > }
> >
> > I've tried with and without the commented lines. Same results.
> >
> > Here's the wifi portion of my /etc/network/interfaces
> >
> > allow-hotplug wlx<hexnumber>
> > iface wlx<hexnumber> inet dhcp
> > wpa-ssid ROUTERNAME
> > # wpa-key-mgmt WPA-PSK
> > # wpa-group TKIP CCMP
> > # wpa-psk SECRETPASSPHRASE
> > wpa-psk longhexnumber
> >
> > The wireless is a Rosewill USB RNX-N180UBEv3. It is UP after boot and
> > scanning wifi routers works. System tries to associate to router at
> > boot, but fails. Correct kernel module (rtl8192eu) is loaded.
> >
> > Anyone got an idea of why wpa_supplicant is failing? And how to fix
> > it? All commands issued as root.
> >
> > FYI: I have an atypical Stretch install: No desktop environment,
> > window manager only; sysvinit, but systemd libraries still installed.
> > Boots to terminal, login there, then startx, if I want a GUI. Wifi UP
> > at terminal and scanning works. This is not a laptop. Wired ethernet
> > works and has always (12 years) worked.
> >
> > Thanks.
> >
> > B
>
[toc] | [prev] | [next] | [standalone]
| From | Bert Riding <reriding@xmission.com> |
|---|---|
| Date | 2019-07-12 08:50 +0200 |
| Message-ID | <yiXxw-8ha-3@gated-at.bofh.it> |
| In reply to | #211262 |
Yes, I'm sorry I didn't mention that my device name was merely an
example. I wonder if "ip link show" or "ls -l /sys/class/net" or the
obsolete "ifconfig a" give the same device name. Udevadm might
help, too. "udevadm info -e | grep .wl" for instance. The name you are
using is the name using the MAC address, which is the last match as udev
lists the names, and won't be used if udev finds another name first. See
https://major.io/2015/08/21/understanding-systemds-predictable-network-device-names/
"nl80211" is the correct name of the driver. I apologize for the error.
On Fri, 12 Jul 2019 04:30:02 +0200, Patrick Bartek wrote:
> On Thu, 11 Jul 2019 21:02:44 -0000 (UTC)
> Bert Riding <reriding@xmission.com> wrote:
>
>> You could try using the actual device for the -i option (interface)...like
>> wlan0 or, in the new notation wlp3s0, and use nl80122 as the -D
>> option (driver).
>
> iw dev or ip a report the device name to be wlx00e04c2a23c4. This
> designation never changes regardless of reboots or which USB port I
> plug the wireless device into. I examined the output of dmesg and noted
> that udev had reassigned wlan0 to this new name. Don't know why. And it
> does work when scanning or finding device info or bringing device up or
> down. But I initially tried wlan0 anyway. Got "No such
> device . . ." etc.
>
> I tried using -D nl80211 (did you transpose digits?) and not using it.
> wpa_supplicant failed with the same error noted below. Also, tried
> wext. Ditto.
>
> Haven't tried wlp3s0, but haven't found ANY reference to that name
> on the system regardless of which command I use to show network devices.
>
> Thanks for your input.
>
> B
>
>> On Thu, 11 Jul 2019 02:10:02 +0200, Patrick Bartek wrote:
>>
>> > A problem when trying to associate with a wireless router
>> > (WPA2). Get the following error when manually executing:
>> >
>> > wpa_supplicant -i wlx<hexnumber>
>> > -c /etc/wpa_supplicant/wpa_supplicant.conf
>> >
>> > Could not read interface wlx<hexnumber> flags: No such device
>> > nl80211: Driver does not support authentication/association or connect
>> > commands
>> > nl80122: [can't read my own writing on this one]
>> >
>> > Wpa_supplicant fails whether I use the -B (background) switch or not.
>> >
>> > Here's the wpa_supplicant.conf file:
>> >
>> >
>> > ctrl_interface=DIR=/run/wpa_supplicant
>> > update_config=1
>> >
>> > network={
>> > ssid="ROUTERNAME"
>> > # scan_ssid=1
>> > # key_mgmt=WPA-PSK
>> > # psk="SECRETPASSPHRASE"
>> > psk=longhexnumber
>> > }
>> >
>> > I've tried with and without the commented lines. Same results.
>> >
>> > Here's the wifi portion of my /etc/network/interfaces
>> >
>> > allow-hotplug wlx<hexnumber>
>> > iface wlx<hexnumber> inet dhcp
>> > wpa-ssid ROUTERNAME
>> > # wpa-key-mgmt WPA-PSK
>> > # wpa-group TKIP CCMP
>> > # wpa-psk SECRETPASSPHRASE
>> > wpa-psk longhexnumber
>> >
>> > The wireless is a Rosewill USB RNX-N180UBEv3. It is UP after boot and
>> > scanning wifi routers works. System tries to associate to router at
>> > boot, but fails. Correct kernel module (rtl8192eu) is loaded.
>> >
>> > Anyone got an idea of why wpa_supplicant is failing? And how to fix
>> > it? All commands issued as root.
>> >
>> > FYI: I have an atypical Stretch install: No desktop environment,
>> > window manager only; sysvinit, but systemd libraries still installed.
>> > Boots to terminal, login there, then startx, if I want a GUI. Wifi UP
>> > at terminal and scanning works. This is not a laptop. Wired ethernet
>> > works and has always (12 years) worked.
>> >
>> > Thanks.
>> >
>> > B
>>
[toc] | [prev] | [next] | [standalone]
| From | Patrick Bartek <nemommxiv@gmail.com> |
|---|---|
| Date | 2019-07-12 21:40 +0200 |
| Message-ID | <yj9yF-7cK-3@gated-at.bofh.it> |
| In reply to | #211268 |
On Fri, 12 Jul 2019 06:22:16 -0000 (UTC)
Bert Riding <reriding@xmission.com> wrote:
> Yes, I'm sorry I didn't mention that my device name was merely an
Didn't have to. I understood. It's just wlan0 USED to be the default
1st wireless device, the last time I had to do this with another system
about 15 years ago, and I used it as a first test to bring UP the
device before reading the instructions. It failed, of course. Laziness.
> example. I wonder if "ip link show" or "ls -l /sys/class/net" or the
> obsolete "ifconfig a" give the same device name. Udevadm might
> help, too. "udevadm info -e | grep .wl" for instance. The name you are
> using is the name using the MAC address, which is the last match as udev
> lists the names, and won't be used if udev finds another name first. See
> https://major.io/2015/08/21/understanding-systemds-predictable-network-device-names/
Here's what that all shows on my system (wireless parts only).
Wireless USB dongle plugged in, but otherwise dormant.
ip a
3: wlx00e04c2a23c4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state
DOWN mode DEFAULT group default qlen 1000 link/ether 00:e0:4c:2a:23:c4
brd ff:ff:ff:ff:ff:ff
ls -l /sys/class/net
lrwxrwxrwx 1 root root 0 Jul 12 07:48 wlx00e04c2a23c4
-> ../../devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/net/wlx00e04c2a23c4
/sbin/iw dev
phy#0
Interface wlx00e04c2a23c4
ifindex 3
wdev 0x1
addr 00:e0:4c:2a:23:c4
type managed
txpower 0.00 dBm
udevadm info -e | grep .wl
E: RFKILL_TYPE=wlan
P: /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/net/wlx00e04c2a23c4
E:
DEVPATH=/devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/net/wlx00e04c2a23c4
E: DEVTYPE=wlan E: ID_NET_NAME=wlp0s18f2u3
E: ID_NET_NAME_MAC=wlx00e04c2a23c4
E: ID_NET_NAME_PATH=wlp0s18f2u3
E: INTERFACE=wlx00e04c2a23c4
E:
SYSTEMD_ALIAS=/sys/subsystem/net/devices/wlx00e04c2a23c4 /sys/subsystem/net/devices/wlx00e04c2a23c4
As you can see, the wlx name is the only one that shows as far as I
can find. ifconfig is not installed.
FYI: systemd is not running on my system, except for udev. When I
clean installed, I switched to sysvinit as the init as soon as I
could.
> "nl80211" is the correct name of the driver. I apologize for the error.
An error, yes, but one I made a couple times myself during my trials to
get wireless working.
Thanks for the response.
B
> On Fri, 12 Jul 2019 04:30:02 +0200, Patrick Bartek wrote:
>
> > On Thu, 11 Jul 2019 21:02:44 -0000 (UTC)
> > Bert Riding <reriding@xmission.com> wrote:
> >
> >> You could try using the actual device for the -i option (interface)...like
> >> wlan0 or, in the new notation wlp3s0, and use nl80122 as the -D
> >> option (driver).
> >
> > iw dev or ip a report the device name to be wlx00e04c2a23c4. This
> > designation never changes regardless of reboots or which USB port I
> > plug the wireless device into. I examined the output of dmesg and noted
> > that udev had reassigned wlan0 to this new name. Don't know why. And it
> > does work when scanning or finding device info or bringing device up or
> > down. But I initially tried wlan0 anyway. Got "No such
> > device . . ." etc.
> >
> > I tried using -D nl80211 (did you transpose digits?) and not using it.
> > wpa_supplicant failed with the same error noted below. Also, tried
> > wext. Ditto.
> >
> > Haven't tried wlp3s0, but haven't found ANY reference to that name
> > on the system regardless of which command I use to show network devices.
> >
> > Thanks for your input.
> >
> > B
> >
> >> On Thu, 11 Jul 2019 02:10:02 +0200, Patrick Bartek wrote:
> >>
> >> > A problem when trying to associate with a wireless router
> >> > (WPA2). Get the following error when manually executing:
> >> >
> >> > wpa_supplicant -i wlx<hexnumber>
> >> > -c /etc/wpa_supplicant/wpa_supplicant.conf
> >> >
> >> > Could not read interface wlx<hexnumber> flags: No such device
> >> > nl80211: Driver does not support authentication/association or connect
> >> > commands
> >> > nl80122: [can't read my own writing on this one]
> >> >
> >> > Wpa_supplicant fails whether I use the -B (background) switch or not.
> >> >
> >> > Here's the wpa_supplicant.conf file:
> >> >
> >> >
> >> > ctrl_interface=DIR=/run/wpa_supplicant
> >> > update_config=1
> >> >
> >> > network={
> >> > ssid="ROUTERNAME"
> >> > # scan_ssid=1
> >> > # key_mgmt=WPA-PSK
> >> > # psk="SECRETPASSPHRASE"
> >> > psk=longhexnumber
> >> > }
> >> >
> >> > I've tried with and without the commented lines. Same results.
> >> >
> >> > Here's the wifi portion of my /etc/network/interfaces
> >> >
> >> > allow-hotplug wlx<hexnumber>
> >> > iface wlx<hexnumber> inet dhcp
> >> > wpa-ssid ROUTERNAME
> >> > # wpa-key-mgmt WPA-PSK
> >> > # wpa-group TKIP CCMP
> >> > # wpa-psk SECRETPASSPHRASE
> >> > wpa-psk longhexnumber
> >> >
> >> > The wireless is a Rosewill USB RNX-N180UBEv3. It is UP after boot and
> >> > scanning wifi routers works. System tries to associate to router at
> >> > boot, but fails. Correct kernel module (rtl8192eu) is loaded.
> >> >
> >> > Anyone got an idea of why wpa_supplicant is failing? And how to fix
> >> > it? All commands issued as root.
> >> >
> >> > FYI: I have an atypical Stretch install: No desktop environment,
> >> > window manager only; sysvinit, but systemd libraries still installed.
> >> > Boots to terminal, login there, then startx, if I want a GUI. Wifi UP
> >> > at terminal and scanning works. This is not a laptop. Wired ethernet
> >> > works and has always (12 years) worked.
> >> >
> >> > Thanks.
> >> >
> >> > B
> >>
>
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2019-07-12 23:10 +0200 |
| Message-ID | <yjaXM-8c7-5@gated-at.bofh.it> |
| In reply to | #211314 |
On Fri 12 Jul 2019 at 12:36:33 (-0700), Patrick Bartek wrote: > On Fri, 12 Jul 2019 06:22:16 -0000 (UTC) > Bert Riding <reriding@xmission.com> wrote: > > > Yes, I'm sorry I didn't mention that my device name was merely an > > Didn't have to. I understood. It's just wlan0 USED to be the default > 1st wireless device, the last time I had to do this with another system > about 15 years ago, and I used it as a first test to bring UP the > device before reading the instructions. It failed, of course. Laziness. > > > example. I wonder if "ip link show" or "ls -l /sys/class/net" or the > > obsolete "ifconfig a" give the same device name. Udevadm might > > help, too. "udevadm info -e | grep .wl" for instance. The name you are > > using is the name using the MAC address, which is the last match as udev > > lists the names, and won't be used if udev finds another name first. See > > https://major.io/2015/08/21/understanding-systemds-predictable-network-device-names/ > > Here's what that all shows on my system (wireless parts only). > Wireless USB dongle plugged in, but otherwise dormant. > > ip a > > 3: wlx00e04c2a23c4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state > DOWN mode DEFAULT group default qlen 1000 link/ether 00:e0:4c:2a:23:c4 > brd ff:ff:ff:ff:ff:ff > > ls -l /sys/class/net > > lrwxrwxrwx 1 root root 0 Jul 12 07:48 wlx00e04c2a23c4 > -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/net/wlx00e04c2a23c4 > > /sbin/iw dev > > phy#0 > Interface wlx00e04c2a23c4 > ifindex 3 > wdev 0x1 > addr 00:e0:4c:2a:23:c4 > type managed > txpower 0.00 dBm > > udevadm info -e | grep .wl > > E: RFKILL_TYPE=wlan > P: /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/net/wlx00e04c2a23c4 > E: > DEVPATH=/devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/net/wlx00e04c2a23c4 > E: DEVTYPE=wlan E: ID_NET_NAME=wlp0s18f2u3 > E: ID_NET_NAME_MAC=wlx00e04c2a23c4 > E: ID_NET_NAME_PATH=wlp0s18f2u3 > E: INTERFACE=wlx00e04c2a23c4 > E: > SYSTEMD_ALIAS=/sys/subsystem/net/devices/wlx00e04c2a23c4 /sys/subsystem/net/devices/wlx00e04c2a23c4 > > As you can see, the wlx name is the only one that shows as far as I > can find. ifconfig is not installed. Here's mine. As you can see, it lists the iwlwifi driver, but I don't see anything for yours. E: DRIVER=iwlwifi E: RFKILL_TYPE=wlan P: /devices/pci0000:00/0000:00:1c.2/0000:02:00.0/net/wlp2s0 E: DEVPATH=/devices/pci0000:00/0000:00:1c.2/0000:02:00.0/net/wlp2s0 E: DEVTYPE=wlan E: ID_NET_DRIVER=iwlwifi E: ID_NET_NAME=wlp2s0 E: ID_NET_NAME_MAC=wlx0c8bfd0b67fb E: ID_NET_NAME_PATH=wlp2s0 E: INTERFACE=wlp2s0 E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/wlp2s0 /sys/subsystem/net/devices/wlp2s0 E: RFKILL_NAME=ideapad_wlan E: RFKILL_TYPE=wlan Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Patrick Bartek <nemommxiv@gmail.com> |
|---|---|
| Date | 2019-07-13 03:00 +0200 |
| Message-ID | <yjeyl-1J4-3@gated-at.bofh.it> |
| In reply to | #211316 |
On Fri, 12 Jul 2019 16:07:23 -0500 David Wright <deblis@lionunicorn.co.uk> wrote: > On Fri 12 Jul 2019 at 12:36:33 (-0700), Patrick Bartek wrote: > > On Fri, 12 Jul 2019 06:22:16 -0000 (UTC) > > Bert Riding <reriding@xmission.com> wrote: > > > > > Yes, I'm sorry I didn't mention that my device name was merely an > > > > Didn't have to. I understood. It's just wlan0 USED to be the default > > 1st wireless device, the last time I had to do this with another system > > about 15 years ago, and I used it as a first test to bring UP the > > device before reading the instructions. It failed, of course. Laziness. > > > > > example. I wonder if "ip link show" or "ls -l /sys/class/net" or the > > > obsolete "ifconfig a" give the same device name. Udevadm might > > > help, too. "udevadm info -e | grep .wl" for instance. The name you are > > > using is the name using the MAC address, which is the last match as udev > > > lists the names, and won't be used if udev finds another name first. See > > > https://major.io/2015/08/21/understanding-systemds-predictable-network-device-names/ > > > > Here's what that all shows on my system (wireless parts only). > > Wireless USB dongle plugged in, but otherwise dormant. > > > > ip a > > > > 3: wlx00e04c2a23c4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state > > DOWN mode DEFAULT group default qlen 1000 link/ether 00:e0:4c:2a:23:c4 > > brd ff:ff:ff:ff:ff:ff > > > > ls -l /sys/class/net > > > > lrwxrwxrwx 1 root root 0 Jul 12 07:48 wlx00e04c2a23c4 > > -> ../../devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/net/wlx00e04c2a23c4 > > > > /sbin/iw dev > > > > phy#0 > > Interface wlx00e04c2a23c4 > > ifindex 3 > > wdev 0x1 > > addr 00:e0:4c:2a:23:c4 > > type managed > > txpower 0.00 dBm > > > > udevadm info -e | grep .wl > > > > E: RFKILL_TYPE=wlan > > P: /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/net/wlx00e04c2a23c4 > > E: > > DEVPATH=/devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/net/wlx00e04c2a23c4 > > E: DEVTYPE=wlan E: ID_NET_NAME=wlp0s18f2u3 > > E: ID_NET_NAME_MAC=wlx00e04c2a23c4 > > E: ID_NET_NAME_PATH=wlp0s18f2u3 > > E: INTERFACE=wlx00e04c2a23c4 > > E: > > SYSTEMD_ALIAS=/sys/subsystem/net/devices/wlx00e04c2a23c4 /sys/subsystem/net/devices/wlx00e04c2a23c4 > > > > As you can see, the wlx name is the only one that shows as far as I > > can find. ifconfig is not installed. > > Here's mine. As you can see, it lists the iwlwifi driver, > but I don't see anything for yours. > > E: DRIVER=iwlwifi > E: RFKILL_TYPE=wlan > P: /devices/pci0000:00/0000:00:1c.2/0000:02:00.0/net/wlp2s0 > E: DEVPATH=/devices/pci0000:00/0000:00:1c.2/0000:02:00.0/net/wlp2s0 > E: DEVTYPE=wlan > E: ID_NET_DRIVER=iwlwifi > E: ID_NET_NAME=wlp2s0 > E: ID_NET_NAME_MAC=wlx0c8bfd0b67fb > E: ID_NET_NAME_PATH=wlp2s0 > E: INTERFACE=wlp2s0 > E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/wlp2s0 /sys/subsystem/net/devices/wlp2s0 > E: RFKILL_NAME=ideapad_wlan > E: RFKILL_TYPE=wlan Thanks. Looks like your wifi is pci. Right? Mine's a USB and DOWN/inactive (I was on wired ethernet) when I did the udevadm. But the next time I bring it UP, I'll see what udevadm reports as the driver. Probably nl80211. Thanks, again, for the info. Every little bit helps to track down the problem. B
[toc] | [prev] | [next] | [standalone]
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Date | 2019-07-12 09:00 +0200 |
| Message-ID | <yiXHb-8kJ-5@gated-at.bofh.it> |
| In reply to | #211262 |
[Multipart message — attachments visible in raw view] — view raw
On Jo, 11 iul 19, 19:26:45, Patrick Bartek wrote: > On Thu, 11 Jul 2019 21:02:44 -0000 (UTC) > Bert Riding <reriding@xmission.com> wrote: > > > You could try using the actual device for the -i option (interface)...like > > wlan0 or, in the new notation wlp3s0, and use nl80122 as the -D > > option (driver). > > iw dev or ip a report the device name to be wlx00e04c2a23c4. This > designation never changes regardless of reboots or which USB port I > plug the wireless device into. That is a MAC-based name and is to be expected/makes sense for USB adapters. > I examined the output of dmesg and noted that udev had reassigned > wlan0 to this new name. To or from? I would expect the kernel to assign wlan0 to it and then udev to rename it. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
[toc] | [prev] | [next] | [standalone]
| From | Patrick Bartek <nemommxiv@gmail.com> |
|---|---|
| Date | 2019-07-12 21:50 +0200 |
| Message-ID | <yj9Il-7gx-7@gated-at.bofh.it> |
| In reply to | #211270 |
On Fri, 12 Jul 2019 09:54:14 +0300 Andrei POPESCU <andreimpopescu@gmail.com> wrote: > On Jo, 11 iul 19, 19:26:45, Patrick Bartek wrote: > > On Thu, 11 Jul 2019 21:02:44 -0000 (UTC) > > Bert Riding <reriding@xmission.com> wrote: > > > > > You could try using the actual device for the -i option (interface)...like > > > wlan0 or, in the new notation wlp3s0, and use nl80122 as the -D > > > option (driver). > > > > iw dev or ip a report the device name to be wlx00e04c2a23c4. This > > designation never changes regardless of reboots or which USB port I > > plug the wireless device into. > > That is a MAC-based name and is to be expected/makes sense for USB > adapters. That's what I figured, too. > > I examined the output of dmesg and noted that udev had reassigned > > wlan0 to this new name. > > To or from? I would expect the kernel to assign wlan0 to it and then > udev to rename it. As I remember: FROM wlan0 TO wlx-etc. And, yes, reassignment by udev. B
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web