Author Topic: Ralink wireless card does not work [SOLVED]  (Read 40759 times)

0 Members and 2 Guests are viewing this topic.

Offline vishal

  • Jr. Member
  • **
  • Posts: 36
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #90 on: October 09, 2013, 08:18:10 pm »
Thanks Mark! :)

Here are the outputs:

Code: [Select]
root@vishalcomp:~# sudo lshw -C network
  *-network               
       description: Wireless interface
       product: RT3290 Wireless 802.11n 1T/1R PCIe
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlan0
       version: 00
       serial: 1c:3e:84:1f:2d:d1
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2800pci driverversion=3.8.0-31-generic firmware=0.37 latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
       resources: irq:16 memory:fea10000-fea1ffff
  *-network
       description: Ethernet interface
       product: AR8161 Gigabit Ethernet
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 10
       serial: 74:d0:2b:75:af:6e
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=alx driverversion=1.2.3 duplex=full firmware=N/A ip=192.168.2.4 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:17 memory:fe900000-fe93ffff ioport:e000(size=128)

Code: [Select]
root@vishalcomp:~# iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

Code: [Select]
root@vishalcomp:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 74:d0:2b:75:af:6e 
          inet addr:192.168.2.4  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::76d0:2bff:fe75:af6e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:55293 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44045 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:65224483 (65.2 MB)  TX bytes:4996410 (4.9 MB)
          Interrupt:17

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1734 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1734 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:173861 (173.8 KB)  TX bytes:173861 (173.8 KB)

wlan0     Link encap:Ethernet  HWaddr 1c:3e:84:1f:2d:d1 
          inet6 addr: fe80::1e3e:84ff:fe1f:2dd1/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:26 errors:0 dropped:0 overruns:0 frame:0
          TX packets:91 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3048 (3.0 KB)  TX bytes:21440 (21.4 KB)

Code: [Select]
root@vishalcomp:~# iwlist scanning
eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

wlan0     Interface doesn't support scanning : Device or resource busy

Code: [Select]
root@vishalcomp:~# rfkill list
0: asus-wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: asus-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

Please let me know of further information required.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14302
  • Karma: 355
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #91 on: October 09, 2013, 08:24:14 pm »
Gimme half an hour .. having my dinner :)

I take it you can connect by ethernet cable .. in case we need to install anything ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline vishal

  • Jr. Member
  • **
  • Posts: 36
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #92 on: October 09, 2013, 08:31:21 pm »
Thanks for the quick response, Mark! Yes, I am on the wired connection (for past 3 days- in last so many years!!) :)

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14302
  • Karma: 355
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #93 on: October 09, 2013, 09:12:54 pm »
OK, let's try the driverss directly from Ralink (I've pre-modified them and uploaded them to my dropbox.

Open a terminal and run these commands in sequence:
Code: [Select]
sudo apt-get install linux-headers-generic build-essential
then:
Code: [Select]
mkdir ~/rt3290sta
then:
Code: [Select]
cd ~/rt3290sta
then:
Code: [Select]
wget https://dl.dropboxusercontent.com/u/11876059/DPO_RT3290_LinuxSTA_V2600_20120508-modified.tar.gz
then:
Code: [Select]
tar -xvf DPO_RT3290_LinuxSTA_V2600_20120508-modified.tar.gz
then:
Code: [Select]
cd ~/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508
then
Code: [Select]
sudo su
then
Code: [Select]
make
then
Code: [Select]
make install
then
Code: [Select]
exit
then
Code: [Select]
sudo gedit /etc/modules
when a file opens with some stuff already in it, ADD a single NEW line at the bottom that reads:-

rt3290sta

SAVE the file and close gedit

Back in the terminal run:
Code: [Select]
sudo gedit /etc/modprobe.d/blacklist.conf
when a file opens with some stuff already in it, ADD these 3 NEW lines at the bottom:-

# Added by vishal to correct conflict with rt3290sta
blacklist rt2800pci
blacklist rt2x00pci


SAVE the file.

Now REBOOT .. and check if wireless works.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline vishal

  • Jr. Member
  • **
  • Posts: 36
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #94 on: October 09, 2013, 10:58:57 pm »
Couple of things: 1. While performing the suggested operations, got errors with make and make install 2. When I check the system with the commands that you had advised in your previous post, I notice that the results have changed. Here are the outputs, starting with 'make' :

Code: [Select]
root@vishalcomp:/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508# make
make -C tools
make[1]: Entering directory `/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/tools'
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/tools/bin2h
cp -f os/linux/Makefile.6 /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/Makefile
make -C /lib/modules/3.8.0-31-generic/build SUBDIRS=/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-31-generic'
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_md5.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:1466:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:1561:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c:528:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c:528:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wep.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/action.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c: In function ‘rt28xx_init’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c:162:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c:178:10: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_aes.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_sync.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/eeprom.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_cfg.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg3Action’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c:1032:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_radar.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.c:1972:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_channel.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_profile.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_asic.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ps.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/uapsd.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/ra_ctrl.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/alg_legacy.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/alg_ags.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.c:409:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rtmp_chip.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/assoc.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/auth.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sync.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sanity.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:283:17: warning: unused variable ‘pFmeCtrl’ [-Wunused-variable]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:282:8: warning: unused variable ‘OldPwrMgmt’ [-Wunused-variable]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxMgmtFrame’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:766:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/connect.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/wpa.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RTMPQueryInformation’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:3956:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_private_get_statistics’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:7220:1: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘EEPROM_NIC_CONFIG3_STRUC’ [-Wformat]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_os_util.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/sta_ioctl.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:508:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
/usr/src/linux-headers-3.8.0-31-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:510:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
/usr/src/linux-headers-3.8.0-31-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:662:20: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktInit’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:681:2: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:708:15: warning: assignment makes integer from pointer without a cast [enabled by default]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_main_dev.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c: In function ‘convert_reordering_packet_to_preAMSDU_or_802_3_packet’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c:1550:2: warning: assignment makes integer from pointer without a cast [enabled by default]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_led.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c: In function ‘RT28xxPciMlmeRadioOn’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c:2245:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPFreeTXDUponTxDmaDone’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c:543:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPHandleMgmtRingDmaDoneInterrupt’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c:738:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.c: In function ‘RTMPInitPCIeDevice’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.c:1349:22: warning: unused variable ‘Index’ [-Wunused-variable]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:464:8: warning: unused variable ‘offset’ [-Wunused-variable]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:463:8: warning: unused variable ‘Configuration’ [-Wunused-variable]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ee_prom.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ee_efuse.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_rf.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt30xx.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘RT3290_AsicTxAlcGetAutoAgcOffset’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:1564:25: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘MlmeAntSelection’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2507:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2522:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2522:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2523:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2523:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2526:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2526:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2527:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2527:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2528:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2528:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2559:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2565:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2574:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2581:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2583:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2583:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2595:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2595:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2596:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2596:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2597:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2597:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘BtCoexSetting’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:3244:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘Profile_TwoAnt’:
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:4097:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘CMB_CTRL_STRUC’ [-Wformat]
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_pci_rbus.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_util.o
  CC [M]  /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:43:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:44:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:63:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__devinitdata’
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:85:17: error: ‘rt2860_pci_tbl’ undeclared here (not in a function)
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:86:17: error: ‘rt2860_probe’ undeclared here (not in a function)
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:88:5: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:88:29: error: ‘rt2860_remove_one’ undeclared here (not in a function)
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:292:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:463:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:71:1: error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘rt2860_pci_tbl’
cc1: some warnings being treated as errors
make[2]: *** [/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o] Error 1
make[1]: *** [_module_/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-31-generic'
make: *** [LINUX] Error 2

Code: [Select]
root@vishalcomp:/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508# make install
make -C /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux -f Makefile.6 install
make[1]: Entering directory `/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux'
rm -rf /etc/Wireless/RT2860STA
mkdir /etc/Wireless/RT2860STA
cp /home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/RT2860STA.dat /etc/Wireless/RT2860STA/.
install -d /lib/modules/3.8.0-31-generic/kernel/drivers/net/wireless/
install -m 644 -c rt3290sta.ko /lib/modules/3.8.0-31-generic/kernel/drivers/net/wireless/
install: cannot stat `rt3290sta.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux'
make: *** [install] Error 2

Code: [Select]
vishal@vishalcomp:~$ sudo lshw -C network
[sudo] password for vishal:
  *-network UNCLAIMED     
       description: Network controller
       product: RT3290 Wireless 802.11n 1T/1R PCIe
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress cap_list
       configuration: latency=0
       resources: memory:fea10000-fea1ffff
  *-network
       description: Ethernet interface
       product: AR8161 Gigabit Ethernet
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 10
       serial: 74:d0:2b:75:af:6e
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=alx driverversion=1.2.3 duplex=full firmware=N/A ip=192.168.2.4 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:17 memory:fe900000-fe93ffff ioport:e000(size=128)

Code: [Select]
vishal@vishalcomp:~$ iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

Code: [Select]
vishal@vishalcomp:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 74:d0:2b:75:af:6e 
          inet addr:192.168.2.4  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::76d0:2bff:fe75:af6e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4203 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3434 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4813835 (4.8 MB)  TX bytes:415651 (415.6 KB)
          Interrupt:17

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:212 errors:0 dropped:0 overruns:0 frame:0
          TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:19239 (19.2 KB)  TX bytes:19239 (19.2 KB)

Code: [Select]
vishal@vishalcomp:~$ iwlist scanning
eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

Code: [Select]
vishal@vishalcomp:~$ rfkill list
0: asus-wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: asus-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no

Looks like the system has stopped recognizing the adapter. :(

Please advise on further steps.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14302
  • Karma: 355
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #95 on: October 09, 2013, 11:07:24 pm »
Damn .. I was hoping you were on the 3.2 kernel

OK, gimme till tomorrow and I'll look into patches to allow the driver to be compiled in 3.8

The adapter isn't recognised because we blacklisted the rt2800pci driver it was using .. for now, leave it blacklisted and come back tomorrow.

Luckily I'm running the 3.8 kernel, so at least I'll be able to test any patches :)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline vishal

  • Jr. Member
  • **
  • Posts: 36
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #96 on: October 09, 2013, 11:25:55 pm »
No problem, Mark.

Though just 3 days into the Linux world, thanks to the problem, I have learnt many new things. Hopefully, we arrive at a solution - there are a number of users who are facing this exact problem - we all will be able to enjoy the wireless - again! :)

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14302
  • Karma: 355
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #97 on: October 09, 2013, 11:32:15 pm »
Can you run this:
Code: [Select]
sudo updatedb
then post the output from:
Code: [Select]
locate 3290.bin
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline vishal

  • Jr. Member
  • **
  • Posts: 36
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #98 on: October 09, 2013, 11:36:32 pm »
Here's the output, Mark:

Code: [Select]
vishal@vishalcomp:~$ sudo updatedb
vishal@vishalcomp:~$ locate 3290.bin
/home/vishal/DPO_RT3290_LinuxSTA_V2600_20120508/common/rt3290.bin
/home/vishal/rt3290sta/DPO_RT3290_LinuxSTA_V2600_20120508/common/rt3290.bin
/lib/firmware/rt3290.bin

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14302
  • Karma: 355
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #99 on: October 10, 2013, 02:56:36 pm »
OK, thanks to this posting:
https://bbs.archlinux.org/viewtopic.php?pid=1278183#p1278183
I've modified pci_main_dev.c so the driver now compiles against the 3.8 kernel.

BUT

Everywhere I look online seems to suggest that compiling this driver will cause kernel panics when used  :o

So I'm wondering if we'd be better off removing the blacklist entries we added, then try a later kernel, possibly 3.9 (and possibly later firmware too).
(I've also read that though it *should* be possible to get rt2800pci to work as the driver, there then seems to be a weak signal/connection drops issue everyone is having)

Another option would be to go back to the 3.2 kernel, and compile the drivers from Ralink .. this option is supposed to work well.

Your other option would be to just call it a day for the time being (until Ralink get round to releasing new drivers) and use something like one of these tiny little things:
Edimax EW-7811Un 150Mbps Wireless IEEE802.11b/g/n nano USB Adapter
work "out of the box" with Peppermint 4 (which also uses the Ubuntu 3.8 kernel)



Which route do you want to try ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline vishal

  • Jr. Member
  • **
  • Posts: 36
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #100 on: October 10, 2013, 03:12:04 pm »
Thanks very much for posting the alternatives. Truly appreciated! :)

I think trying out with 3.2 should be fine as long as: 1. it doesn't disturb the files and other programs that are currently installed, 2. upgrading to 3.x ( x>8 ) at a future date doesn't disturb files and other programs installed at that point of time [being a newbie, I am not actually aware of the repercussions]

If you think there might be issues involved working with 3.2, I think the next best option for the time being is to use and external USB adapter, and wait till such a time when 3290 can be made to work with either 3.8 or higher kernel version.

Please advise. Once again, thank you very much for helping me out on this one! :)
« Last Edit: October 10, 2013, 03:13:35 pm by vishal »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14302
  • Karma: 355
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #101 on: October 10, 2013, 04:13:41 pm »
OK, I think the best way forward is to first undo the blacklisting of the original drivers .. run:
Code: [Select]
sudo gedit /etc/modules
and remove the line we added earlier that reads:-

rt3290sta

SAVE the file and exit gedit.

Now run:
Code: [Select]
sudo gedit /etc/modprobe.d/blacklist.conf
and remove the 3 lines we added earlier that read:-

# Added by vishal to correct conflict with rt3290sta
blacklist rt2800pci
blacklist rt2x00pci


SAVE the file and exit gedit.

Now let's get the latest firmware (rt3290.bin) .. run:
Code: [Select]
sudo apt-get install git git-core
then
Code: [Select]
mkdir ~/3290-firmware
then
Code: [Select]
cd ~/3290-firmware
then
Code: [Select]
git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git
then
Code: [Select]
sudo cp -v linux-firmware/rt3290.bin /lib/firmware

Now reboot and test if wireless works ?

If it doesn't work (which it probably won't), I think the next step is probably for us to try the 3.9 kernel .. we can downgrade to 3.2 later if necessary.



In answer to your "repercussion" worries about changing kernels...

The cool thing about Linux is installing an earlier or later kernel does NOT uninstall the original kernel .. so if there are any problems, it's still possible to boot the original kernel :)

But there *should* be no repercussions, except maybe some other peripheral stops working instead  :o
« Last Edit: October 10, 2013, 04:18:28 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline vishal

  • Jr. Member
  • **
  • Posts: 36
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #102 on: October 10, 2013, 05:13:41 pm »
Mark - it didn't work! :(  So, now what?  Shall we try 3.9? ???

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14302
  • Karma: 355
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #103 on: October 10, 2013, 05:23:36 pm »
Can you post the output from:
Code: [Select]
dpkg -l | grep 3.8.0
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline vishal

  • Jr. Member
  • **
  • Posts: 36
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Ralink wireless card does not work [SOLVED]
« Reply #104 on: October 10, 2013, 05:26:00 pm »
Here it is:

Code: [Select]
vishal@vishalcomp:~$ dpkg -l | grep 3.8.0
ii  linux-generic-lts-raring                    3.8.0.31.31                              Generic Linux kernel image and headers
ii  linux-headers-3.8.0-29                      3.8.0-29.42~precise1                     Header files related to Linux kernel version 3.8.0
ii  linux-headers-3.8.0-29-generic              3.8.0-29.42~precise1                     Linux kernel headers for version 3.8.0 on 64 bit x86 SMP
ii  linux-headers-3.8.0-31                      3.8.0-31.46~precise1                     Header files related to Linux kernel version 3.8.0
ii  linux-headers-3.8.0-31-generic              3.8.0-31.46~precise1                     Linux kernel headers for version 3.8.0 on 64 bit x86 SMP
ii  linux-headers-generic-lts-raring            3.8.0.31.31                              Generic Linux kernel headers
ii  linux-image-3.8.0-29-generic                3.8.0-29.42~precise1                     Linux kernel image for version 3.8.0 on 64 bit x86 SMP
ii  linux-image-3.8.0-31-generic                3.8.0-31.46~precise1                     Linux kernel image for version 3.8.0 on 64 bit x86 SMP
ii  linux-image-generic-lts-raring              3.8.0.31.31                              Generic Linux kernel image
ii  linux-signed-generic-lts-raring             3.8.0.31.31                              Complete Signed Generic Linux kernel and headers
ii  linux-signed-image-3.8.0-31-generic         3.8.0-31.46~precise1                     Signed kernel image generic
ii  linux-signed-image-generic-lts-raring       3.8.0.31.31                              Signed Generic Linux kernel image


 


SimplePortal 2.3.3 © 2008-2010, SimplePortal