Installing wireless drivers in Linux 13 Maya

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
PatH57

Re: Installing wireless drivers in Linux 13 Maya

Post by PatH57 »

and you rebooted off course
alvicchas1

Re: Installing wireless drivers in Linux 13 Maya

Post by alvicchas1 »

alvicchas1 wrote:
PatH57 wrote:the command opens a graphical file editor called gedit you need to add your changes and then choose to save the file. (nothing to do in the terminal it's just quicker then to tell you open gedit, browse to the.....)
Blacklist lines added to Gedit and file saved
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp

# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac

blacklist rt2800usb
blacklist rt2x00usb
blacklist rt2x00lib
alvicchas1

Re: Installing wireless drivers in Linux 13 Maya

Post by alvicchas1 »

# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp

# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac

blacklist rt2800usb
blacklist rt2x00usb
blacklist rt2x00lib
PatH57

Re: Installing wireless drivers in Linux 13 Maya

Post by PatH57 »

ok,


now check in menu settings additional drivers (your laptop needs to be connected and it will take a bit of time to check)
alvicchas1

Re: Installing wireless drivers in Linux 13 Maya

Post by alvicchas1 »

PatH57 wrote:ok,


now check in menu settings additional drivers (your laptop needs to be connected and it will take a bit of time to check)
Search for additional drivers returns - "No proprietary drivers are in use on this system"
PatH57

Re: Installing wireless drivers in Linux 13 Maya

Post by PatH57 »

ok,

we will try to force it:
use one line at the time and copy the result if any...

Code: Select all

sudo apt-get install build-essential
sudo su
make clean
make
modprobe -r rt5370sta
modprobe rt5370sta

Reboot
alvicchas1

Re: Installing wireless drivers in Linux 13 Maya

Post by alvicchas1 »

PatH57 wrote:ok,

we will try to force it:
use one line at the time and copy the result if any...

Code: Select all

sudo apt-get install build-essential
sudo su
make clean
make
modprobe -r rt5370sta
modprobe rt5370sta

Reboot
Results

$ sudo apt-get install build-essential
[sudo] password for dellc400:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dpkg-dev g++ g++-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libdpkg-perl libstdc++6-4.6-dev
Suggested packages:
debian-keyring g++-multilib g++-4.6-multilib gcc-4.6-doc libstdc++6-4.6-dbg
libstdc++6-4.6-doc
The following NEW packages will be installed
build-essential dpkg-dev g++ g++-4.6 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl
libstdc++6-4.6-dev
0 upgraded, 9 newly installed, 0 to remove and 708 not upgraded.
Need to get 9,122 kB of archives.
After this operation, 26.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? n

NOT CONTINUED - Should I have continued at this prompt?
alvicchas1

Re: Installing wireless drivers in Linux 13 Maya

Post by alvicchas1 »

$ sudo apt-get install build-essential
[sudo] password for dellc400:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dpkg-dev g++ g++-4.6 libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libdpkg-perl libstdc++6-4.6-dev
Suggested packages:
debian-keyring g++-multilib g++-4.6-multilib gcc-4.6-doc libstdc++6-4.6-dbg
libstdc++6-4.6-doc
The following NEW packages will be installed
build-essential dpkg-dev g++ g++-4.6 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl
libstdc++6-4.6-dev
0 upgraded, 9 newly installed, 0 to remove and 708 not upgraded.
Need to get 9,122 kB of archives.
After this operation, 26.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main libstdc++6-4.6-dev i386 4.6.3-1ubuntu5 [1,643 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/main g++-4.6 i386 4.6.3-1ubuntu5 [6,745 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise/main g++ i386 4:4.6.3-1ubuntu5 [1,444 B]
Get:4 http://archive.ubuntu.com/ubuntu/ precise-updates/main libdpkg-perl all 1.16.1.2ubuntu7.5 [182 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ precise-updates/main dpkg-dev all 1.16.1.2ubuntu7.5 [468 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ precise-updates/main build-essential i386 11.5ubuntu2.1 [5,796 B]
Get:7 http://archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-perl all 1.19.02-2 [50.7 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-xs-perl i386 0.04-2build2 [12.9 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ precise/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
Fetched 9,122 kB in 14s (640 kB/s)
Selecting previously unselected package libstdc++6-4.6-dev.
(Reading database ... 136508 files and directories currently installed.)
Unpacking libstdc++6-4.6-dev (from .../libstdc++6-4.6-dev_4.6.3-1ubuntu5_i386.deb) ...
Selecting previously unselected package g++-4.6.
Unpacking g++-4.6 (from .../g++-4.6_4.6.3-1ubuntu5_i386.deb) ...
Selecting previously unselected package g++.
Unpacking g++ (from .../g++_4%3a4.6.3-1ubuntu5_i386.deb) ...
Selecting previously unselected package libdpkg-perl.
Unpacking libdpkg-perl (from .../libdpkg-perl_1.16.1.2ubuntu7.5_all.deb) ...
Selecting previously unselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.16.1.2ubuntu7.5_all.deb) ...
Selecting previously unselected package build-essential.
Unpacking build-essential (from .../build-essential_11.5ubuntu2.1_i386.deb) ...
Selecting previously unselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2build2_i386.deb) ...
Selecting previously unselected package libalgorithm-merge-perl.
Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ...
Processing triggers for man-db ...
Setting up libdpkg-perl (1.16.1.2ubuntu7.5) ...
Setting up dpkg-dev (1.16.1.2ubuntu7.5) ...
Setting up libalgorithm-diff-perl (1.19.02-2) ...
Setting up libalgorithm-diff-xs-perl (0.04-2build2) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libstdc++6-4.6-dev (4.6.3-1ubuntu5) ...
Setting up g++-4.6 (4.6.3-1ubuntu5) ...
Setting up g++ (4:4.6.3-1ubuntu5) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.
Setting up build-essential (11.5ubuntu2.1) ...
dellc400@dellc400-Latitude-C400 ~ $ wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script && ./wireless_scrip



dellc400@dellc400-Latitude-C400 ~ $ sudo su
[sudo] password for dellc400:
dellc400-Latitude-C400 dellc400 # make clean
make: *** No rule to make target `clean'. Stop.
dellc400-Latitude-C400 dellc400 # make
make: *** No targets specified and no makefile found. Stop.
dellc400-Latitude-C400 dellc400 # modprobe -r rt5370sta
FATAL: Module rt5370sta not found.
dellc400-Latitude-C400 dellc400 # modprobe rt5370sta
FATAL: Module rt5370sta not found.
dellc400-Latitude-C400 dellc400 #

THE ZIPPED AND EXTRACTED FILE NAMES FOR THE DYNAMODE LINUX DRIVER (from their website) are:

file:///home/dellc400/Linux-2011_02_25.tar.bz2

file:///home/dellc400/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO
PatH57

Re: Installing wireless drivers in Linux 13 Maya

Post by PatH57 »

ok I was kind of hoping the driver was there we would not need to make it from the files you downloaded (older version of linux and namings are no longer the same.
ok let's see if you are lucky

Code: Select all

modinfo rt2800usb | grep 5370
and see whether the output is:

alias: usb:v148Fp5370d*dc*dsc*dp*ic*isc*ip*in*

or something very similar, containing the the string

v148Fp5370
alvicchas1

Re: Installing wireless drivers in Linux 13 Maya

Post by alvicchas1 »

PatH57 wrote:ok I was kind of hoping the driver was there we would not need to make it from the files you downloaded (older version of linux and namings are no longer the same.
ok let's see if you are lucky

Code: Select all

modinfo rt2800usb | grep 5370
and see whether the output is:

alias: usb:v148Fp5370d*dc*dsc*dp*ic*isc*ip*in*

or something very similar, containing the the string

v148Fp5370
RESULT RETURN

modinfo rt2800usb | grep 5370
PatH57

Re: Installing wireless drivers in Linux 13 Maya

Post by PatH57 »

so nothing witch is not bad at least we know it's not using the wrong driver.

next step enter one line at the time.

Code: Select all

sudo apt-get install linux-firmware-nonfree
  sudo rmmod rt5572sta
  sudo modprobe rt2800usb
alvicchas1

Re: Installing wireless drivers in Linux 13 Maya

Post by alvicchas1 »

dellc400@dellc400-Latitude-C400 ~ $ sudo apt-get install linux-firmware-nonfree[sudo] password for dellc400:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
linux-firmware-nonfree
0 upgraded, 1 newly installed, 0 to remove and 708 not upgraded.
Need to get 3,952 kB of archives.
After this operation, 8,980 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/multiverse linux-firmware-nonfree all 1.11ubuntu2 [3,952 kB]
Fetched 3,952 kB in 6s (585 kB/s)
Selecting previously unselected package linux-firmware-nonfree.
(Reading database ... 137593 files and directories currently installed.)
Unpacking linux-firmware-nonfree (from .../linux-firmware-nonfree_1.11ubuntu2_all.deb) ...
Setting up linux-firmware-nonfree (1.11ubuntu2) ...
dellc400@dellc400-Latitude-C400 ~ $ sudo rmmod rt5572sta
ERROR: Module rt5572sta does not exist in /proc/modules
dellc400@dellc400-Latitude-C400 ~ $ sudo modprobe rt2800usb
dellc400@dellc400-Latitude-C400 ~ $
alvicchas1

Re: Installing wireless drivers in Linux 13 Maya

Post by alvicchas1 »

PatH57 wrote:so nothing witch is not bad at least we know it's not using the wrong driver.

next step enter one line at the time.

Code: Select all

sudo apt-get install linux-firmware-nonfree
  sudo rmmod rt5572sta
  sudo modprobe rt2800usb
Hi,

You have kindly spent a lot of time on this - I am very grateful. Some wireless adaptors are advertised as plug and play for Linux - do you think they might work?
PatH57

Re: Installing wireless drivers in Linux 13 Maya

Post by PatH57 »

I would check the website of the manufacturer and see how old the linux driver are or check on this
https://help.ubuntu.com/community/WifiD ... nufacturer

But still something must have gone wrong when you did try to install it first time.
Before you go off try the windows xp drivers .follow the tutorial step bye step ypu never know it might work
http://www.svecc.com/SLUG/slug_pdf/ndis ... setup2.pdf

Before you go of please post the result of

Code: Select all

uname -r
It might be the kernel that is outdated and another card usb card could also fail.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Installing wireless drivers in Linux 13 Maya

Post by JeremyB »

I wonder if this step is needed

Code: Select all

echo 148F 5370 | sudo tee /sys/bus/usb/drivers/rt2800usb/new_id
I found it from https://help.ubuntu.com/community/WifiD ... usb_driver
PatH57

Re: Installing wireless drivers in Linux 13 Maya

Post by PatH57 »

Thanks Jeremy,

I saw this one also but I wanted to check the version on the kernel first as it doesn't seem to be the case for every kernel.

Back to football.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Installing wireless drivers in Linux 13 Maya

Post by JeremyB »

You might be on to something when you mentioned the kernel being outdated as Linux Mint doesn't enable kernel updates- even the ones from Ubuntu.

I had 3.2.0-23 on a LM13 install and the latest is 3.2.0-65 so a lot of issues might be fixed
alvicchas1

Re: Installing wireless drivers in Linux 13 Maya

Post by alvicchas1 »

JeremyB wrote:You might be on to something when you mentioned the kernel being outdated as Linux Mint doesn't enable kernel updates- even the ones from Ubuntu.

I had 3.2.0-23 on a LM13 install and the latest is 3.2.0-65 so a lot of issues might be fixed
Hi, Your code and the result

dellc400@dellc400-Latitude-C400 ~ $ echo 148F 5370 | sudo tee /sys/bus/usb/drivers/rt2800usb/new_id
[sudo] password for dellc400:
tee: /sys/bus/usb/drivers/rt2800usb/new_id: No such file or directory
148F 5370
dellc400@dellc400-Latitude-C400 ~ $
PatH57

Re: Installing wireless drivers in Linux 13 Maya

Post by PatH57 »

Hi ,

taht looks alright but please send the

Code: Select all

uname -a
alvicchas1

Re: Installing wireless drivers in Linux 13 Maya

Post by alvicchas1 »

PatH57 wrote:Hi ,

taht looks alright but please send the

Code: Select all

uname -a
dellc400@dellc400-Latitude-C400 ~ $ uname -r
3.2.0-23-generic
dellc400@dellc400-Latitude-C400 ~ $
Locked

Return to “Networking”