netromaster
Posts: 32
Joined: Thu Jul 02, 2015 11:49 pm

USB wifi driver installation procedure

Wed Jan 03, 2018 3:27 pm

I bought my first raspberry pi 2b in 2015, couldn't figure out a way to install driver for the wifi dongle so i ordered the pi 3 when it came out. fast forward 3 years later, i now have 4 raspberry pis without wireless internet access. I need this to change in this new year. I would like someone here to kindly show me how i should go about installing the driver (I have the files already.)

User avatar
RaTTuS
Posts: 9917
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 3:29 pm

what files ?
just put the info inthe correct wpa_supplicant file

and what new year - 2019 ? or now ?
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

netromaster
Posts: 32
Joined: Thu Jul 02, 2015 11:49 pm

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 3:32 pm

RaTTuS wrote:
Wed Jan 03, 2018 3:29 pm
what files ?
just put the info inthe correct wpa_supplicant file

The driver files for the Rtl881 wifi dongle.

and what new year - 2019 ? or now ?
2018 is the year.

SurferTim
Posts: 1646
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 3:35 pm

I have 3 RPi3s and a Zero W, and all connect to the internet through wifi, and one through a usb wifi unit. No additional driver was required.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5113
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 3:36 pm

In 90% of cases, you don't need to do anything special.
For full Raspbian: https://github.com/raspberrypi/document ... desktop.md
For lite: https://github.com/raspberrypi/document ... ess-cli.md

If you run into issues, please post the specifics.

netromaster
Posts: 32
Joined: Thu Jul 02, 2015 11:49 pm

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 3:39 pm

The dongle is not plug and play. It needs the driver to run. adding my wifi details to the wpa_supplicant didn't make it work.

SurferTim
Posts: 1646
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 3:47 pm

netromaster wrote:
Wed Jan 03, 2018 3:39 pm
The dongle is not plug and play. It needs the driver to run. adding my wifi details to the wpa_supplicant didn't make it work.
Do you have a driver for the armhf? What make/model usb device are you using?

netromaster
Posts: 32
Joined: Thu Jul 02, 2015 11:49 pm

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 3:52 pm

SurferTim wrote:
Wed Jan 03, 2018 3:47 pm
netromaster wrote:
Wed Jan 03, 2018 3:39 pm
The dongle is not plug and play. It needs the driver to run. adding my wifi details to the wpa_supplicant didn't make it work.
Do you have a driver for the armhf? What make/model usb device are you using?
Yes i do have a driver. using comfast rtl8188.

SurferTim
Posts: 1646
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 5:05 pm

A driver for the RPi?

fruitoftheloom
Posts: 16716
Joined: Tue Mar 25, 2014 12:40 pm

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 5:08 pm

netromaster wrote:
Wed Jan 03, 2018 3:52 pm
SurferTim wrote:
Wed Jan 03, 2018 3:47 pm
netromaster wrote:
Wed Jan 03, 2018 3:39 pm
The dongle is not plug and play. It needs the driver to run. adding my wifi details to the wpa_supplicant didn't make it work.
Do you have a driver for the armhf? What make/model usb device are you using?
Yes i do have a driver. using comfast rtl8188.

There are various RTL8188 Chipsets, plug it in and post output of lsusb

https://elinux.org/RPi_USB_Wi-Fi_Adapters
Adieu

netromaster
Posts: 32
Joined: Thu Jul 02, 2015 11:49 pm

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 5:47 pm

Bus 001 Device 002: ID 0424:9514 Ralink Technolog, Corp.

fruitoftheloom
Posts: 16716
Joined: Tue Mar 25, 2014 12:40 pm

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 6:06 pm

netromaster wrote:
Wed Jan 03, 2018 5:47 pm
Bus 001 Device 002: ID 0424:9514 Ralink Technolog, Corp.
Try again with

Code: Select all

lsusb -v 
and post the complete output
Adieu

netromaster
Posts: 32
Joined: Thu Jul 02, 2015 11:49 pm

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 7:28 pm

[email protected] ~ $ lsusb -v

Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 2 TT per port
bMaxPacketSize0 64
idVendor 0x0424 Standard Microsystems Corp.
idProduct 0x9514
bcdDevice 2.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 1 Single TT
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2 TT per port
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.01
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 1
bMaxPacketSize0 64
idVendor 0x0424 Standard Microsystems Corp.
idProduct 0xec00
bcdDevice 2.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 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 0x02 EP 2 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 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 4

Bus 001 Device 004: ID 413c:2501 Dell Computer Corp.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 32
idVendor 0x413c Dell Computer Corp.
idProduct 0x2501
bcdDevice 1.30
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 84
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 65
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 78
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 62
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 4

Bus 001 Device 005: ID 148f:7601 Ralink Technology, Corp.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.01
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x148f Ralink Technology, Corp.
idProduct 0x7601
bcdDevice 0.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 74
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 160mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 8
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
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 0x85 EP 5 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 0x08 EP 8 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 0x04 EP 4 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 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 0x07 EP 7 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 0x09 EP 9 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval

fruitoftheloom
Posts: 16716
Joined: Tue Mar 25, 2014 12:40 pm

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 7:37 pm

Bus 001 Device 005: ID 148f:7601 Ralink Technology, Corp.


So it is not a Realtek RTL8188 it is a Ralink MediaTek MT7601U, see:

viewtopic.php?t=192263#p1205482
Adieu

netromaster
Posts: 32
Joined: Thu Jul 02, 2015 11:49 pm

Re: USB wifi driver installation procedure

Wed Jan 03, 2018 8:04 pm

okay, i followed the link you provided and for the first time since i got this pi i'm connected via wifi. Thanks for the help guys!

Return to “Troubleshooting”

Who is online

Users browsing this forum: Gareth Halfacree and 68 guests