WLAN0 is missing, Mediatek 7630e - SOLVED!

Message
Author
User avatar
oktopod
Posts: 17
Joined: Mon 01 Dec 2014, 20:59
Location: Belgrade, Serbia

WLAN0 is missing, Mediatek 7630e - SOLVED!

#1 Post by oktopod »

Hello,

I have recently installed Slacko Puppy and there is no wireless. Card is Mediatek 7630e, it is actually Ralink card.

There is no wlan0 interface.

ifconfig lists l0 and eth0

lspci finds it

iwcofnig lists l0 and eth0 with statement no wireless extension next to them

What more can i try? I tried loading some modules, when I had Ubuntu it was working with rt2x00 module pack, I think it was using rt2860, i tried loading modules but then I get a message that there is no card.

Im a begginer :)[/code]
Last edited by oktopod on Wed 17 Dec 2014, 10:22, edited 1 time in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

Is this Slacko 5.7? It has problems with installing firmware for WiFi drivers. Try tahrpup 6.0 instead.

User avatar
oktopod
Posts: 17
Joined: Mon 01 Dec 2014, 20:59
Location: Belgrade, Serbia

#3 Post by oktopod »

Thanks, it is Slacko 5.7, so thats it, no show? :lol:

I dont like installing another OS because I made this one fully functional, and Im planning to keep it at work as a web server, so I would like to have the same one working on my laptop...

User avatar
oktopod
Posts: 17
Joined: Mon 01 Dec 2014, 20:59
Location: Belgrade, Serbia

#4 Post by oktopod »

OK, so i tried tahr pup 6.0 from USB, but its the same.

Iwconfig - nothing, ipconfig - nothing, lspci - there it is!

What am I to do now?

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#5 Post by ardvark »

oktopod wrote:Iwconfig - nothing, ipconfig - nothing, lspci - there it is!
Hi...

Would you post the lspci results for your adapter? :wink:

Code: Select all

lspci -nnk
Thanks!
Our Lord and Savior [url=http://peacewithgod.jesus.net/]Jesus Christ[/url] loves and cares about you most of all!

PLEASE READ! You don't have to end up [url=http://www.spiritlessons.com/Documents/BillWiese_23MinutesInHell_Text.htm]here![/url]

User avatar
oktopod
Posts: 17
Joined: Mon 01 Dec 2014, 20:59
Location: Belgrade, Serbia

#6 Post by oktopod »

Sure thing, thanks for helping :)

Code: Select all

# lspci -k
00:00.0 Host bridge: Intel Corporation Device 0c04 (rev 06)
	Subsystem: Hewlett-Packard Company Device 1942
00:02.0 VGA compatible controller: Intel Corporation Device 0416 (rev 06)
	Subsystem: Hewlett-Packard Company Device 1942
	Kernel driver in use: i915
00:03.0 Audio device: Intel Corporation Device 0c0c (rev 06)
	Subsystem: Hewlett-Packard Company Device 1942
	Kernel driver in use: snd_hda_intel
00:14.0 USB Controller: Intel Corporation Device 8c31 (rev 04)
	Subsystem: Hewlett-Packard Company Device 1942
	Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation Device 8c3a (rev 04)
	Subsystem: Hewlett-Packard Company Device 1942
00:1a.0 USB Controller: Intel Corporation Device 8c2d (rev 04)
	Subsystem: Hewlett-Packard Company Device 1942
	Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation Device 8c20 (rev 04)
	Subsystem: Hewlett-Packard Company Device 1942
	Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation Device 8c10 (rev d4)
	Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation Device 8c1a (rev d4)
	Kernel driver in use: pcieport
00:1c.6 PCI bridge: Intel Corporation Device 8c1c (rev d4)
	Kernel driver in use: pcieport
00:1c.7 PCI bridge: Intel Corporation Device 8c1e (rev d4)
	Kernel driver in use: pcieport
00:1d.0 USB Controller: Intel Corporation Device 8c26 (rev 04)
	Subsystem: Hewlett-Packard Company Device 1942
	Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation Device 8c4b (rev 04)
	Subsystem: Hewlett-Packard Company Device 1942
	Kernel driver in use: lpc_ich
00:1f.2 SATA controller: Intel Corporation Device 8c03 (rev 04)
	Subsystem: Hewlett-Packard Company Device 1942
	Kernel driver in use: ahci
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 0c)
	Subsystem: Hewlett-Packard Company Device 1944
	Kernel driver in use: r8169
03:00.0 Network controller: MEDIATEK Corp. Device 7630
	Subsystem: Hewlett-Packard Company Device 197c
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5227 (rev 01)
	Subsystem: Hewlett-Packard Company Device 1942
	Kernel driver in use: rtsx_pci
# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

# ifconfig
eth0      Link encap:Ethernet  HWaddr A4:5D:36:D1:23:C1  
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1538 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1458 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1069963 (1.0 MiB)  TX bytes:204813 (200.0 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)



User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#7 Post by ardvark »

Hi...

Thank you. :)

If you're willing to stick with Tahrpup (although it may work in Slacko,) I found a driver that might help. Click on the second link that includes Github in the address. Let us know how it goes. :)

Regards...

User avatar
oktopod
Posts: 17
Joined: Mon 01 Dec 2014, 20:59
Location: Belgrade, Serbia

#8 Post by oktopod »

Yes, Ive allready tried that one, that exact one was working for me in Ubuntu 14.04 and an older one did work in 12.02.

Now I get this, its the same in Slacko and in Tahrup:

Code: Select all

# ./install.sh 
./install.sh: line 6: make: command not found
./install.sh: line 7: make: command not found
./install.sh: line 9: make: command not found
./install.sh: line 10: make: command not found
cp: cannot stat ‘rt2x00/*.ko’: No such file or directory
cp: cannot stat ‘btloader/*.ko’: No such file or directory
sudo: update-rc.d: command not found
insmod: ERROR: could not insert module /lib/modules/3.14.20/kernel/drivers/misc/eeprom/eeprom.ko: File exists
insmod: ERROR: could not insert module /lib/modules/3.14.20/kernel/drivers/misc/eeprom/eeprom_93cx6.ko: File exists
insmod: ERROR: could not insert module /lib/modules/3.14.20/kernel/lib/crc-ccitt.ko: File exists
insmod: ERROR: could not insert module /lib/modules/3.14.20/kernel/net/wireless/cfg80211.ko: File exists
insmod: ERROR: could not insert module /lib/modules/3.14.20/kernel/net/mac80211/mac80211.ko: File exists
insmod: ERROR: could not load module ./rt2x00lib.ko: No such file or directory
insmod: ERROR: could not load module ./rt2x00pci.ko: No such file or directory
insmod: ERROR: could not load module ./rt2x00mmio.ko: No such file or directory
insmod: ERROR: could not load module ./rt2800lib.ko: No such file or directory
insmod: ERROR: could not load module ./rt2800pci.ko: No such file or directory
insmod: ERROR: could not load module ./mt76xx.ko: No such file or directory
Ive tried to install it like the original readme stated, like it did work in Ubuntu, first to copy firmware file etc, then to make clean, make, but there is no make command, plus I get some errors

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#9 Post by ardvark »

Hi...

This may be a bit harder since, according to WikiDevi, your adapter hasn't made it into "any mainline kernel." This could explain why there doesn't appear to be any support in Puppy for your adapter. But I'm just guessing here.

Unless someone else can give you better instructions, the only two things I could suggest would be either to...

1. Download the original driver from Mediatek and follow the instructions below...

Code: Select all

3.Installation

 Wi-Fi:
  * Copy Wi-Fi firmware (MT7650E234.bin) to /lib/firmware
  * Open Terminal and switch to root
    sudo su
  * Switch path to rt2x00 folder
  * Compile the drivers to kernel object (.ko)
  
    make clean
    make
    
  * Insert kernel object (.ko)
  
    ./load.sh
In Puppy, "sudo" is not used. You can check the Puppy Package Manager to see if the package "Make" is installed. :wink:

2. Disable (or remove) the Mediatek adapter and purchase a more (Linux) compatible adapter. Think Penguin could be of help with this. :)

Regards...

User avatar
oktopod
Posts: 17
Joined: Mon 01 Dec 2014, 20:59
Location: Belgrade, Serbia

#10 Post by oktopod »

Thanks, I would like to do it without buying anything, I know this adapter is a problem, because I have problems with it in Windows, now its stable, but dont mess with it :)

There is no "make" in puppy manager, it finds pmake, makehuman etc, but no "make".

This is the exact way I installed it in Ubuntu, so I dont know why is Tahr that different. In Ubuntu, there is make by default.

Now I find topics in this forum from 2007-2009 year which suggest installing devx first, but there is no devx in package manager, and I started loosing strings abbout what should I do, my linux knowledge is just above beginner :) But Im good with OSs in general, programing, networking, I just dont have time to invent the wheel :D

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#11 Post by rcrsn51 »

oktopod wrote:This is the exact way I installed it in Ubuntu, so I dont know why is Tahr that different. In Ubuntu, there is make by default.
One of the reasons why Puppy is so much smaller than Ubuntu is that it does not contain a compiler environment OOTB.

Here is a PET for your WiFi card. There are some conditions to using it.

1. It is designed specifically for Tahrpup 6.0 NO-PAE. It will probably not work in the PAE version.

2. It does NOT contain the firmware file. In the source package that you have already downloaded, locate the file MT7650E234.bin. Copy it to /lib/firmware. Reboot.
Attachments
MT7630E_WiFi_tahrpup_noPAE-k3.14.20.pet
(88.57 KiB) Downloaded 354 times

User avatar
oktopod
Posts: 17
Joined: Mon 01 Dec 2014, 20:59
Location: Belgrade, Serbia

#12 Post by oktopod »

It works!!!! :lol:

Thank you so much!!! Im gonna switch to Tahrpup.

Let me know if you want me to test it on another distro!

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#13 Post by rcrsn51 »

Excellent. Just to be clear, you are running this in the no-PAE version?

Drivers like this are kernel specific. There would be no point in trying other Puppies. And according to the instructions, it is designed for 3.13 and 3.14 kernels.

User avatar
oktopod
Posts: 17
Joined: Mon 01 Dec 2014, 20:59
Location: Belgrade, Serbia

#14 Post by oktopod »

Yes, Im running it on Tahr puppy 6.0 no-PAE. I didnt know it was kernel specific, I thought to be usefull for testing :)

But now I have a new problem, which I had while using Ubuntu also.

When I reboot/shut down and go to Windows, wireless doesnt work. There is a adapter in device manager, but no bluetooth adapter plus wireless is dead, there is red X in systray. Today I was lucky because airplane mode on/off solved the issue, didnt have time to test it more, while I had Ubuntu i needed to uninstall the adapters and reinstall them but by using software which Mediatek provided, not just by remove/scan for hardware changes.

I will test it some more and report.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#15 Post by rcrsn51 »

Is this a laptop with a removable battery? If so, unplug the AC and remove the battery. Wait a bit and reboot into Windows. That may reset the WiFi adapter.

User avatar
oktopod
Posts: 17
Joined: Mon 01 Dec 2014, 20:59
Location: Belgrade, Serbia

#16 Post by oktopod »

It is a laptop with a removable batery, HP ProBook 450G1.

It almost never runs on battery, it is plugged in AC, without battery inside, battery is used only for watching movies from bed :D

I dont understand what is it that happens so you think this power unpluging will help?
Last edited by oktopod on Sun 07 Dec 2014, 11:18, edited 1 time in total.

User avatar
oktopod
Posts: 17
Joined: Mon 01 Dec 2014, 20:59
Location: Belgrade, Serbia

#17 Post by oktopod »

OK, Im back with new problems :) but lets comment wireless first.

Some boot it works, some boot it doesnt. There is wlan0 but you cannont get it to be UP.

Code: Select all

Information about this interface:
 Interface: wlan0  Driver: rt2800pci  Bus: pci  MacAddress: FC:4D:D4:55:FC:FA
 Description: Ralink RT2800 PCI PCMCIA Wireless LAN driver. 
 
STEP1a: ifconfig wlan0 up
ifconfig: SIOCSIFFLAGS: Invalid argument
 
*********************************************************
LAST 10 LINES of /var/log/messages:
Dec  6 09:24:30 oktopod user.err kernel: ===>rt2x00lib_start
Dec  6 09:24:30 oktopod user.err kernel: ==>MT76x0_WLAN_ChipOnOff(): OnOff:1 pAd->WlanFunCtrl.word = 0xffffffd3, Reg-WlanFunCtrl=0xffffffff
Dec  6 09:24:30 oktopod user.err kernel: Reset(1) WlanFunCtrl.word = 0xffffffdf
Dec  6 09:24:30 oktopod user.err kernel: Reset(2) WlanFunCtrl.word = 0xffffffd3
Dec  6 09:24:30 oktopod user.err kernel: WlanFunCtrl.word = 0xffffffd3
Dec  6 09:24:30 oktopod user.err kernel: MACVersion = 0xffffffff
Dec  6 09:24:30 oktopod user.err kernel: <== MT76x0_WLAN_ChipOnOff():  pAd->WlanFunCtrl.word = 0xffffffd3, Reg->WlanFunCtrl=0xffffffff!
Dec  6 09:24:30 oktopod user.err kernel: WaitForAsicReady(0xffffffff):AsicNotReady!
Dec  6 09:24:34 oktopod user.err kernel: ===>rt2800_rfkill_poll:MT7630
Dec  6 09:24:34 oktopod user.err kernel: rt2800_rfkill_poll WLAN_FUN_CTRL=0xffffffff
Tahr is buggy, sometimes it freeses, sometimes during shutdown it throws a "panic" something message and doesnt shut down completely, I have by mistake cleared check box for volume systray and now cannot get it back, in ALSA setup, when I click on levels, window opens and dissapears in a second...

edit: OK i wrote a message on paper :lol: it is wlan module which is causing panic.

Code: Select all

BUG: Unable to handle kernel null pointer dereference at 00000200
IP: [<f8df3eb7>] RT2800PCI_Interrupt +0x17/0x220[RT2800PCI]
--- output truncated----
Kernel panic - not syncing: fatal exception in interrupt.

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#18 Post by ardvark »

Hi....

When it acts up, would you post the output of...

Code: Select all

dmesg
Something there might give us a clue. The output might be pretty long so you can use more than one post if you need to. :wink:

Thanks! :)

User avatar
oktopod
Posts: 17
Joined: Mon 01 Dec 2014, 20:59
Location: Belgrade, Serbia

#19 Post by oktopod »

Thanks for helping :D I am attaching a output textual file. Open it with text editor, I named it .jpg extension to make possible to attach it.

Yesterday I had weird problems. To clarify, I am writting a PHP web application with Hiawatha as a web server (no LHMP, just bult in Hiawatha + PHP packages).

I installed Filezilla with package manager. It stoped working, I clik on icon on desktop, nothing happens. So I started built in gFTP client. Graphics in the gFTP window didnt work, there were a lot of smudges, I solved it by resizing window to zero, then back up. :lol:

So I tried to open localhost, didnt work, I restarted Hiawatha, nothing worked. I tried to shutdown computer, nothing happened. From that moment, icons on desktop were dead. Only thing that worked was Menu button. :x

So I am wondering, is this Tahr linux buggy, maybe just on my PC, or it has something to do with drivers I installed, because I never tested it without drivers? :roll:
Attachments
output.jpg
dmesg &gt; output.jpg
(76.13 KiB) Downloaded 292 times

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#20 Post by ardvark »

Hi...

Could you post the results by just copying and pasting it on to a post? I received an error message trying to download or even view it.

Thanks! :)

Post Reply