No network after installing new card (SOLVED)

Hi Guys

recently i’ve been having problems with my network connection dropping out and having to pull out the usb adaptor and re-plugging, so I got a new Sumvision SVW322P PCI wireless network card, the problem is I can’t get it to connect at all, it recognised the network when I booted up but when I typed in the network key and clicked to connect I just get the endless circle of nothingness, even plugging in the old usb adaptor (which did work ) won’t get me back online, I suspect this is a driver issue but would appreciate some advice.

lspci displays the card as a Railink RT3062

Any help or advice would be much appreciated

Many thanks

Graeme

I know this may be a pain, but without the old USB adapter plugged in can you post the output from:

lspci -vnn

and

lsmod

and

lshw -C network

and

iwlist scanning

Copy it to a text file, and post it from another PC if necessary

family@Linux2 ~ $ iwlist scanning
lo        Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:1C:DF:C1:A7:6D
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=37/70  Signal level=-73 dBm  
                    Encryption key:on
                    ESSID:"Network Emegra"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000037270f4c181
                    Extra: Last beacon: 39908ms ago
                    IE: Unknown: 000E4E6574776F726B20456D65677261
                    IE: Unknown: 010882848B960C183048
                    IE: Unknown: 030106
                    IE: Unknown: 07064E4C20010D14
                    IE: Unknown: 2A0100
                    IE: Unknown: 32041224606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                       Preauthentication Supported
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000041435E0061211A01
                    IE: Unknown: DD9E0050F204104A00011010440001021041000100103B0001031047001000000000000000011000001CDFC1A76D1021001242656C6B696E20436F72706F726174696F6E1023000C463544373233342D3420763310240008332E30302E3033201042000B42453730323038363835311054000800060050F20400011011001B42656C6B696E20576972656C65737320526F757465722857464129100800020004

eth0      Interface doesn't support scanning.



]family@Linux2 ~ $ 
family@Linux2 ~ $ lshw -C network
WARNING: you should run this program as super-user.
  *-network:0             
       description: Wireless interface
       product: RT3062 Wireless 802.11n 2T/2R
       vendor: Ralink corp.
       physical id: b
       bus info: pci@0000:00:0b.0
       logical name: wlan0
       version: 00
       serial: c8:3a:35:c5:2e:ec
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2800pci driverversion=3.2.0-37-generic firmware=0.34 latency=32 maxlatency=4 mingnt=2 multicast=yes wireless=IEEE 802.11bgn
       resources: irq:19 memory:ea000000-ea00ffff
  *-network:1
       description: Ethernet interface
       product: RTL-8139/8139C/8139C+
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: e
       bus info: pci@0000:00:0e.0
       logical name: eth0
       version: 10
       serial: 00:11:5b:36:8f:7f
       size: 10Mbit/s
       capacity: 100Mbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=32 maxlatency=64 mingnt=32 multicast=yes port=MII speed=10Mbit/s
       resources: irq:18 ioport:ec00(size=256) memory:ea014000-ea0140ff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
family@Linux2 ~ $ 
family@Linux2 ~ $ lsmod
Module                  Size  Used by
nls_iso8859_1          12617  1 
nls_cp437              12751  1 
vfat                   17308  1 
fat                    55605  1 vfat
usb_storage            39646  1 
carl9170               77667  0 
ath                    19387  1 carl9170
nls_utf8               12493  1 
isofs                  39553  1 
joydev                 17393  0 
usbhid                 41937  0 
hid                    77428  1 usbhid
vesafb                 13516  1 
arc4                   12473  2 
rt2800pci              18340  0 
rt2800lib              53298  1 rt2800pci
crc_ccitt              12627  1 rt2800lib
rt2x00pci              14202  1 rt2800pci
rt2x00lib              48875  3 rt2800pci,rt2800lib,rt2x00pci
nvidia               7098356  24 
mac80211              436493  4 carl9170,rt2800lib,rt2x00pci,rt2x00lib
snd_ens1371            24819  2 
gameport               15060  1 snd_ens1371
gspca_spca561          14064  0 
snd_intel8x0           33455  2 
gspca_main             27654  1 gspca_spca561
snd_ac97_codec        110213  2 snd_ens1371,snd_intel8x0
ac97_bus               12642  1 snd_ac97_codec
videodev               86588  1 gspca_main
cfg80211              178877  4 carl9170,ath,rt2x00lib,mac80211
snd_pcm                80916  3 snd_ens1371,snd_intel8x0,snd_ac97_codec
eeprom_93cx6           12687  1 rt2800pci
snd_seq_midi           13132  0 
serio_raw              13027  0 
snd_rawmidi            25424  2 snd_ens1371,snd_seq_midi
snd_seq_midi_event     14475  1 snd_seq_midi
snd_seq                51592  2 snd_seq_midi,snd_seq_midi_event
snd_timer              28931  2 snd_pcm,snd_seq
snd_seq_device         14172  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    62218  16 snd_ens1371,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
bnep                   17830  2 
rfcomm                 38139  0 
parport_pc             32114  1 
bluetooth             158479  8 bnep,rfcomm
ppdev                  12849  0 
soundcore              14635  1 snd
mac_hid                13077  0 
snd_page_alloc         14115  2 snd_intel8x0,snd_pcm
shpchp                 32325  0 
sis_agp                13165  1 
lp                     17455  0 
parport                40930  3 parport_pc,ppdev,lp
8139too                23283  0 
8139cp                 22633  0 
floppy                 60184  0 
family@Linux2 ~ $ 
family@Linux2 ~ $ lspci vnn
Usage: lspci [<switches>]

Basic display modes:
-mm		Produce machine-readable output (single -m for an obsolete format)
-t		Show bus tree

Display options:
-v		Be verbose (-vv for very verbose)
-k		Show kernel drivers handling each device
-x		Show hex-dump of the standard part of the config space
-xxx		Show hex-dump of the whole config space (dangerous; root only)
-xxxx		Show hex-dump of the 4096-byte extended config space (root only)
-b		Bus-centric view (addresses and IRQ's as seen by the bus)
-D		Always show domain numbers

Resolving of device ID's to names:
-n		Show numeric ID's
-nn		Show both textual and numeric ID's (names & numbers)
-q		Query the PCI ID database for unknown ID's via DNS
-qq		As above, but re-query locally cached entries
-Q		Query the PCI ID database for all ID's via DNS

Selection of devices:
-s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]	Show only devices in selected slots
-d [<vendor>]:[<device>]			Show only devices with specified ID's

Other options:
-i <file>	Use specified ID database instead of /usr/share/misc/pci.ids.gz
-p <file>	Look up kernel modules in a given file instead of default modules.pcimap
-M		Enable `bus mapping' mode (dangerous; root only)

PCI access options:
-A <method>	Use the specified PCI access method (see `-A help' for a list)
-O <par>=<val>	Set PCI access parameter (see `-O help' for a list)
-G		Enable PCI access debugging
-H <mode>	Use direct hardware access (<mode> = 1 or 2)
-F <file>	Read PCI configuration dump from a given file
family@Linux2 ~ $ 

pavucontrolyou missed the “-” in:

lspci -vnn

It DOES seem to be seeing the network.

What happens if you delete ALL wireless connections from network manager.

Then close network manager.

Then nornal left click the Network manager icon … click your network (Network Emegra) … then enter you Linux password when prompted … click Authenticete … then enter the wireless password and hit Connect.

Hi Mark

Sorry about that, what would we do without copy and paste

I deleted all network connections and now it doesn’t seem to see my network even after a reboot

anyway hopefully I’ve gor the code right this time

family@Linux2 ~ $ lspci -vnn
00:00.0 Host bridge [0600]: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX Host [1039:0661] (rev 11)
	Subsystem: Elitegroup Computer Systems Device [1019:1b10]
	Flags: bus master, medium devsel, latency 32
	Memory at e0000000 (32-bit, non-prefetchable) [size=128M]
	Capabilities: <access denied>
	Kernel driver in use: agpgart-sis
	Kernel modules: sis-agp

00:01.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge) [1039:0003] (prog-if 00 [Normal decode])
	Flags: bus master, 66MHz, fast devsel, latency 64
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	Memory behind bridge: e8000000-e9ffffff
	Prefetchable memory behind bridge: d0000000-dfffffff
	Kernel modules: shpchp

00:02.0 ISA bridge [0601]: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] LPC Controller [1039:0964] (rev 36)
	Flags: bus master, medium devsel, latency 0

00:02.5 IDE interface [0101]: Silicon Integrated Systems [SiS] 5513 IDE Controller [1039:5513] (rev 01) (prog-if 80 [Master])
	Subsystem: Elitegroup Computer Systems Device [1019:1b10]
	Flags: bus master, medium devsel, latency 128, IRQ 16
	I/O ports at 01f0 [size=8]
	I/O ports at 03f4 [size=1]
	I/O ports at 0170 [size=8]
	I/O ports at 0374 [size=1]
	I/O ports at 4000 [size=16]
	Capabilities: <access denied>
	Kernel driver in use: pata_sis

00:02.7 Multimedia audio controller [0401]: Silicon Integrated Systems [SiS] SiS7012 AC'97 Sound Controller [1039:7012] (rev a0)
	Subsystem: Elitegroup Computer Systems Device [1019:1b10]
	Flags: bus master, medium devsel, latency 32, IRQ 18
	I/O ports at e000 [size=256]
	I/O ports at e400 [size=128]
	Capabilities: <access denied>
	Kernel driver in use: snd_intel8x0
	Kernel modules: snd-intel8x0

00:03.0 USB controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f) (prog-if 10 [OHCI])
	Subsystem: Elitegroup Computer Systems Device [1019:1b10]
	Flags: bus master, medium devsel, latency 32, IRQ 20
	Memory at ea013000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:03.1 USB controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f) (prog-if 10 [OHCI])
	Subsystem: Elitegroup Computer Systems Device [1019:1b10]
	Flags: bus master, medium devsel, latency 32, IRQ 21
	Memory at ea010000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:03.2 USB controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f) (prog-if 10 [OHCI])
	Subsystem: Elitegroup Computer Systems Device [1019:1b10]
	Flags: bus master, medium devsel, latency 32, IRQ 22
	Memory at ea011000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:03.3 USB controller [0c03]: Silicon Integrated Systems [SiS] USB 2.0 Controller [1039:7002] (prog-if 20 [EHCI])
	Subsystem: Elitegroup Computer Systems Device [1019:1b10]
	Flags: bus master, medium devsel, latency 32, IRQ 23
	Memory at ea012000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:0a.0 Multimedia audio controller [0401]: Ensoniq ES1371 [AudioPCI-97] [1274:1371] (rev 06)
	Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128 [1274:1371]
	Flags: bus master, slow devsel, latency 32, IRQ 18
	I/O ports at e800 [size=64]
	Capabilities: <access denied>
	Kernel driver in use: snd_ens1371
	Kernel modules: snd-ens1371

00:0b.0 Network controller [0280]: Ralink corp. RT3062 Wireless 802.11n 2T/2R [1814:3062]
	Subsystem: Ralink corp. RT3062 Wireless 802.11n 2T/2R [1814:3062]
	Flags: bus master, slow devsel, latency 32, IRQ 19
	Memory at ea000000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rt2800pci
	Kernel modules: rt2800pci

00:0e.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
	Subsystem: Elitegroup Computer Systems Device [1019:1b10]
	Flags: bus master, medium devsel, latency 32, IRQ 18
	I/O ports at ec00 [size=256]
	Memory at ea014000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: 8139too
	Kernel modules: 8139too, 8139cp

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV31 [GeForce FX 5600] [10de:0312] (rev a1) (prog-if 00 [VGA controller])
	Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 16
	Memory at e8000000 (32-bit, non-prefetchable) [size=16M]
	Memory at d0000000 (32-bit, prefetchable) [size=256M]
	[virtual] Expansion ROM at e9000000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nvidia_173, nouveau, nvidiafb

family@Linux2 ~ $ 

Thanks again

Graeme

If it is attemting to connect to your router but cannot obtain a IP address then you might have your MAC address filtering activated on your wireless router :wink:
I know I have tripped over this one before.

Hi SeZo

Thanks for your input, I’ve checked my router settings and mac address filtering is set to “disabled” and Access rule for registered MAC user is set to *allow"

Thanks

Graeme

Hi again

Just checked and my network is listed as an available network, but after entering the network key it still wont connect

graeme

2 secs … just uploading the modifed ralink drivers now and typing up instructions.

Are you able to connect with an ethernet cable ?

OK, let’s try the Ralink RT3062STA driver from Ralink rather than the opensource rt2800pci driver …

Connect with an ethernet cable and make sure you have an active internet connection. ← IMPORTANT, you must have an active internet connection for the first command

Then run these commands in sequence:

sudo apt-get install linux-headers-generic build-essential

then

mkdir ~/Ralink-RT3062STA

then

cd ~/Ralink-RT3062STA

then

wget http://dl.dropbox.com/u/11876059/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tar.gz

then

tar -xvf DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tar.gz

then

cd ~/Ralink-RT3062STA/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217

then

sudo su

then

make

then

make install

then

exit

then

sudo gedit /etc/modprobe.d/blacklist.conf

When a file opens that contains a few lines … add a NEW LINE at the bottom that reads:

blacklist rt2800pci

SAVE the file, and reboot … now see if your wireless will connect.

If not, try running:

sudo modprobe rt3062sta

if that works, but you had to run the modprobe command … let me know, as we may need to add rt3062sta to /etc/modules

Thank you Mark

Is there any other way without connecting up an ethernet connection because my router is in the attic along with the modem and NAS and the PC in the room below.

I do have a cable long enough it would just be a bit of a pain to set up, but if that’s the only way i’ll set it up tomorrow and let you know how it goes.

Many thanks

Graeme

Maybe we can get the old USB adapter to work temporarily …

Try running:

sudo modprobe -r rt2800pci

then plugging in your old USB adapter … does it come to life ?

if not, what’s the output from:
sudo lshw -C network
(with the USB plugged in ?


or temporarily remove the new PCI adapter and see if the USB adapter works again.

in either case if you can get an interenet connection, run:

sudo apt-get install linux-headers-generic build-essential

once those are installed you can reinsert the PCI card and remove the USB card … then carry on with my last instructions.

sudo apt-get install linux-headers-generic build-essential

Another option might be to try leaving the PC as is … and try disabling wireless encryption in the router … and see if the card will connect to an unsecured network … just so you can install those 2 packages.

You did it again Mark, thank you very much

I managed to get the USB adaptor working without disconnecting the PCI card and was able to run your instructions from there

incidentally I didn’t have to run the last command (sudo modprobe rt3062sta) it instantly connected on reboot

The thing that worries me about this is if I wanted to reinstall peppermint 3 on this machine again would I have to go through that again ?.

I understand that Linux kernel developers have to keep up with new hardware as it evolves, but isn’t there an easier way to update drivers that normal people can do without the help of someone like yourself (not that I’m suggesting you’re not normal) :slight_smile:

Anyway I suppose all that left is to thank you once again and mark this solved

Many thanks

Graeme

if I wanted to reinstall peppermint 3 on this machine again would I have to go through that again ?.

I’m afraid so :frowning:

isn't there an easier way to update drivers that normal people can do

Not really … until the hardware manufacturers get of their butts and supply pre-packaged drivers, all you can do is check online for compatibility before buying.

The majority of stuff will work out of the box … but not everything.