On Wed, 21 Aug 2019 09:57:30 +0200, ZOT wrote:
> Le 20/08/2019 11:02, ZOT a écrit :
>> On a new installation on a old raspberry (the very first version)
>> There is no wlan device, even after inserting a usb wifi device.
>> Ifconfig shows only eth0 en lo.
>> How to create the device?
>> Shouldn't it created automatically when the device is inserted? Many
>> thanks in advances
>>
> More informations.
> Many thanks
>
> lsusb -v -d 2001:3319 root@raspi:~# lsusb -v -d2001:3319
>
> Bus 001 Device 007: ID 2001:3319 D-Link Corp.
> Device Descriptor:
> bLength 18 bDescriptorType 1 bcdUSB
> 2.10 bDeviceClass 0 bDeviceSubClass 0
> bDeviceProtocol 0 bMaxPacketSize0 64 idVendor
> 0x2001 D-Link Corp. idProduct 0x3319 bcdDevice
> 2.00 iManufacturer 1 Realtek iProduct 2
> 802.11n WLAN Adapter iSerial 3 (error)
> bNumConfigurations 1 Configuration Descriptor:
> bLength 9 bDescriptorType 2 wTotalLength
> 0x0035 bNumInterfaces 1 bConfigurationValue 1
> iConfiguration 0 bmAttributes 0xe0
> Self Powered Remote Wakeup
> MaxPower 500mA Interface Descriptor:
> bLength 9 bDescriptorType 4
> bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints
> 5 bInterfaceClass 255 Vendor Specific Class
> bInterfaceSubClass 255 Vendor Specific Subclass
> bInterfaceProtocol 255 Vendor Specific Protocol iInterface
> 2 802.11n WLAN Adapter Endpoint Descriptor:
> bLength 7 bDescriptorType 5
> bEndpointAddress 0x84 EP 4 IN bmAttributes 2
> Transfer Type Bulk Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0200 1x 512 bytes bInterval
> 0
> Endpoint Descriptor:
> bLength 7 bDescriptorType 5
> bEndpointAddress 0x05 EP 5 OUT bmAttributes 2
> Transfer Type Bulk Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0200 1x 512 bytes bInterval
> 0
> Endpoint Descriptor:
> bLength 7 bDescriptorType 5
> bEndpointAddress 0x06 EP 6 OUT bmAttributes 2
> Transfer Type Bulk Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0200 1x 512 bytes bInterval
> 0
> Endpoint Descriptor:
> bLength 7 bDescriptorType 5
> bEndpointAddress 0x87 EP 7 IN bmAttributes 3
> Transfer Type Interrupt Synch Type
> None Usage Type Data
> wMaxPacketSize 0x0040 1x 64 bytes bInterval
> 3
> Endpoint Descriptor:
> bLength 7 bDescriptorType 5
> bEndpointAddress 0x08 EP 8 OUT bmAttributes 2
> Transfer Type Bulk Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0200 1x 512 bytes bInterval
> 0
> Binary Object Store Descriptor:
> bLength 5 bDescriptorType 15 wTotalLength
> 0x000c bNumDeviceCaps 1 USB 2.0 Extension Device
> Capability:
> bLength 7 bDescriptorType 16
> bDevCapabilityType 2 bmAttributes 0x00000002
> HIRD Link Power Management (LPM) Supported
> can't get debug descriptor: Resource temporarily unavailable Device
> Status: 0x0001
> Self Powered
> root@raspi:~#
> ----
> /var/log/messages:
> Aug 21 09:27:54 raspi kernel: [ 307.194765] usb 1-1.3: new high-speed
> USB device number 7 using dwc_otg Aug 21 09:27:54 raspi kernel: [
> 307.327814] usb 1-1.3: New USB device found, idVendor=2001,
> idProduct=3319, bcdDevice= 2.00 Aug 21 09:27:54 raspi kernel: [
> 307.327841] usb 1-1.3: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3 Aug 21 09:27:54 raspi kernel: [ 307.327855] usb 1-1.3:
> Product: 802.11n WLAN Adapter Aug 21 09:27:54 raspi kernel: [
> 307.327865] usb 1-1.3: Manufacturer: Realtek Aug 21 09:27:54 raspi
> mtp-probe: checking bus 1, device 7:
> "/sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3"
> Aug 21 09:27:54 raspi mtp-probe: bus: 1, device: 7 was not an MTP device
> Aug 21 09:27:54 raspi mtp-probe: checking bus 1, device 7:
> "/sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3"
> Aug 21 09:27:54 raspi mtp-probe: bus: 1, device: 7 was not an MTP device
>
> root@raspi:~# uname -a Linux raspi 4.19.58+ #1245 Fri Jul 12 17:20:08
> BST 2019 armv6l GNU/Linux
Apparently an "MTP device" is a protocol handler for transferring files
to and from an Android phone.
Your RPi knows that your wifi dongle is a Realtech 802.11n WLAN Adapter
but apparently doesn't have the drivers for it installed. Use apt to
search the Raspbian package repository for a suitable driver and install
that.
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|