SliTaz SliTaz Forum

You are not logged in.

#1 2012-02-27 20:35:19

Guest
Guest

Wireless Help!

Hello. I am new member to this forum. I recently installed Slitaz 3.0 on my wireless enabled home desktop that already had a stable and working copy of Mint 12. My intention was to set it as a dual boot option. However, I ran into two problems and I am unable to make progress. With your help I can try to recover, otherwise I fear I may have to delete everything of the HDD and start all over again. But I hope I do not have to take the drastic step

1) When I rebooted after the install, I expected two choices: one for Mint, and another for Slitaz. Unfortunately I was presented with only one, ie. Slitaz. I suspect it has something to do with Grub and Grub2 ( But I am not sure). I am unclear how to get back to my Mint setup

2) Wireless card is not recoginized. I have taken the steps as advised in the help dec. I ran the utility tazhw detct-usb. It provided me the following information:

802.11 n wlan

rt3070sta-firmware: Unknown Operand

Missing Module: rt2870sta

sed:Unmatched '/'

It incidentally works without any effort on Mint and PCLinuxOS and other assortment of Linux Distributions I have played briefly with.

Any help to get me over this hump will be great. Looking forward to some learning...

#2 2012-02-27 21:43:49

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Wireless Help!

1)Follow this tutorial to reinstall grub2 with mint live cd.

http://community.linuxmint.com/tutorial/view/245

You should then be able to boot into mint.

Open terminal from within mint.

sudo update-grub

This should detect slitaz and add an additional entry for slitaz in mints boot menu.

2)Download ralink firmware:

ftp://slitaz.mirror.garr.it/mirrors/slitaz/packages/cooking/firmware-rt2x00-20110227.tazpkg

Open xterm,su, password: root

#tazpkg install /path/to/firmware-rt2x00-20110227.tazpkg

Slitaz-3.0 has the rt2870sta module, not clear why tazhw outputs missing module

I use rt2870sta with a tenda w311u wireless adapter.

When it's loaded the wireless adapter is called ra0

If you can't get it work post the output:

lsusb

This info I need from your adapter would look similar to this:

Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

Offline

#3 2012-02-27 23:16:47

Guest
Guest

Re: Wireless Help!

Thanks for the help. When I ran the commands as explained in the article, I received an error grub-probe. Nevertheless I rebooted, but nothing happened. So I guess, my updates take affect. Is it because I have installed Slitax on a separate partition. I should have mentioned Dev/hda1 has Linux mint, dev/hda3 has the Slitaz.

Regarding the second suggestion, because my wireless internet is not working should I download the firmware to a USB and then execute the tazpkg command? Not sure how else I could get the firmware downloaded to the desktop

#4 2012-02-28 00:40:42

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Wireless Help!

Boot into slitaz,open xterm,su,root

[c]leafpad /boot/grub/menu.lst[/c]

Below the slitaz boot stanza add:

title   Linux Mint

root    (hd0,0)

kernel  /vmlinuz root=/dev/hda1

initrd  /initrd.img

File/Save/Quit from leafpad menu.

Shutdown,startup,pick Linux Mint from the boot menu,hit enter.

Linux mint has ralink firmware in /lib/firmware

Xterm as root: pcmanfm

Copy from Linux Mint /lib/firmware and paste it into /lib/firmware in slitaz.

/lib/firmware/rt2561.bin

/lib/firmware/rt2561s.bin

/lib/firmware/rt2661.bin

/lib/firmware/rt2860.bin

/lib/firmware/rt2870.bin

/lib/firmware/rt3070.bin

/lib/firmware/rt3071.bin

/lib/firmware/rt3090.bin

/lib/firmware/rt73.bin

Offline

#5 2012-02-28 04:14:49

Guest
Guest

Re: Wireless Help!

Thank you again for a quick response. Here is what I was able to do

1) Regarding Mint Boot option...I do get a choice now to choose slitaz or mint, but when I select to go into Mint, I get an error 15: file not found. It also says that the file system is ext2fs, partition type 0x83. Basically the fix did not work

2) Regarding Wireless, I was able to successfully copy the files to the lib/firmware...though not without some researching how to invoke the root in xterm. But as luck would have it, wireless manager still does not recognize any of it.....Not sure if I need to install something to make the firmware work.

#6 2012-02-28 07:48:17

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: Wireless Help!

To copy to /lib/firmware is not enough, may be.

,,...though not without some researching how to invoke the root in xterm.." - this is a basic thing and you should do some training on that:

su -

root

(on Slitaz unchanges the root password is ,,root")

You module must be installed and recognized. Whether it has happened you see after a new reboot with the command ,,lsmod" (as root in a konsole). It must be listed then. In case you see to many modules try ,,lsmod | grep rt3071".

If rt3071 does not appear with lsmod write again to this forum.

Offline

#7 2012-02-28 17:24:22

Guest
Guest

Re: Wireless Help!

Thanks MB. After running lsmod, I did not see rt3071 showing on the screen. All I get is a small list of modules...

K8temp

hwmon

snd_intel8x0

snd_ac97_codec

ac97_bus

snd_pcm

snd_timer

snd

soundcore

snd_Page_alloc

btw...I used boot-repair disk to fix the grub / boot problems. At least, now I can get into Linux Mint. However, I have lost my wireless settings after the repair as well. I guess that will be a separate research with Mint folks..

#8 2012-02-28 17:36:47

Guest
Guest

Re: Wireless Help!

One more thing. When I type in the command lspci, i get some output, whereas if I use lsusb, i get a message "not found". Is it likely that my USB modules are not loaded at boot time?

#9 2012-03-01 01:31:20

Guest
Guest

Re: Wireless Help!

Looks like no solutions are forthcoming. I guess that would only mean one thing. I need to reinstall at least my working version of Mint. Thank you for your help. Hope to come back to it later.

#10 2012-03-01 01:40:37

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Wireless Help!

lsusb:

http://mirror.slitaz.org/packages/stable/usbutils-0.84.tazpkg

#tazpkg install usbutils-0.84.tazpkg

Offline

#11 2012-03-01 10:42:21

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: Wireless Help!

@dharmesh

If you have done this solve the module problem:

cd with a root konsole into /lib/firmware. You know which module exactly you need?

Then command

# insmod rt2561.bin

, that makes rt2561 active. Then go on:

# depmod -a

If you now test

# lsmod

you should see that this module is loaded. If it must be loaded while booting you have to change the content of most likely the /etc/rcS file. Right, mojo?

Maybe you must blacklist some other modules as well.

Then (!) you module is loaded and you can start to use this card.

It is much less difficult than it might seem to you by now! One get accustomed to it quite quick! ;-)

Offline

#12 2012-03-01 13:37:28

Guest
Guest

Re: Wireless Help!

Hi Mojo and MB....Thanks again for your response. I tried the wireless setup with a couple of few other distros to get a sense how it works in one and not in the other. For e.g. it works well in Kubuntu, Antix, and Bodhi in live CD and HD modes. But I struggled again with MacPup, even though Macpup did have the required modules rt2860sta. MacPup problems were eerily similar to Slitaz problem. I suspect it has to do with hardware recognition and what is loaded initially at boot time.

I did try to load the modules similar to your suggestion, using the wireless configuration panel and few other ways documented on the slitaz website. I did not try black listing any of the modules, though some suggestions on other forums pointed to such actions. I will give it one more try by doing a fresh install, but that won't be until the weekend.

Thank you for patience and time. Hope to get back to you with some results later.

#13 2012-03-01 13:49:17

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Wireless Help!

@dharmesh

Open xterm,login root, load rt2860sta:

#modprobe rt2860sta

Verify rt2860sta is listed:

lsmod

Verify kernel loaded wireless device:

subox netbox

Connections tab:

Do you see ra0 or wlan0 listed ?

Yes,then:

Open wifitools,configure wifi connection:

subox wifibox

No,then:

1) Open xterm (A)

2) Install usbutils

3) lsusb

4) Copy/paste the complete output into your next post.

5) Open a second xterm (B)

Type this in hit enter:

6) tail -f /var/log/messages

Leave it open to monitor kernel messages while loading the wireless module in xterm (A)

In xterm (A)

7) modprobe -r rt2860sta

8) modprobe rt2860sta

9) Post messages from xterm (B)

Blacklisting is used when the wrong module is auto loaded (modprobed) and prevents the correct module from loading and/or working.

The lsmod you posted has no wireless modules loaded, blacklisting is not relevant.

@mb

Kernel modules are loaded with modprobe

NOT firmware

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.57 MiB (Peak: 1.78 MiB) ]