NSLU2-Linux
view · edit · print · history

DebianSlug.InstallRT2570 History

Hide minor edits - Show changes to markup

April 26, 2007, at 01:09 PM by Maarten Ditzel --
Changed lines 43-44 from:

Now, if everything went OK, you have a debian package in /usr/src which you can install using dkpg.

to:

Now, if everything went OK, you have a debian package in /usr/src which you can install using dpkg.

April 26, 2007, at 01:08 PM by Maarten Ditzel --
Changed lines 95-96 from:

So it suggests the card is working properly.

to:

So it suggests the card is working properly. Btw I still have to properly check the card is working, as at the moment I don't have access to another wireless network adaptor, so I have no means to send some bytes back and forth.

April 26, 2007, at 01:04 PM by Maarten Ditzel --
Changed line 38 from:

module-assistant --kernel-dir /usr/sc/linux-2.6.16-nslu2 build rt2570

to:

module-assistant --kernel-dir /usr/src/linux-2.6.16-nslu2 build rt2570

April 26, 2007, at 12:59 PM by Maarten Ditzel --
Changed lines 10-13 from:

This page described how I got a wireless network USB card with the rt2570 working on my NSLU2. I suggest trying to compile and use such a card on a regular Linux box first. I use SlugOSLE, formerly known as DebianSlug.

to:

This page describes how I got a wireless network USB card with the rt2570 chipset working on my NSLU2. I suggest trying to compile and use such a card on a regular Linux box first. I use SlugOSLE, formerly known as DebianSlug.

April 26, 2007, at 12:57 PM by Maarten Ditzel --
Changed lines 11-13 from:

I use SlugOSLE?, formerly known as DebianSlug.

to:

I use SlugOSLE, formerly known as DebianSlug.

April 26, 2007, at 12:56 PM by Maarten Ditzel --
Changed lines 11-13 from:

I use SlugOSLE?, formerly known as DebianSlug.

to:

I use SlugOSLE?, formerly known as DebianSlug.

April 26, 2007, at 12:55 PM by Maarten Ditzel --
Changed lines 11-13 from:

I use SlugOSLE?, formerly known as DebianSlug.

to:

I use SlugOSLE?, formerly known as DebianSlug.

April 26, 2007, at 12:54 PM by Maarten Ditzel --
Changed lines 1-2 from:

Using the RT2570? chipset on NSLU2

to:

Using the rt2570 chipset on NSLU2

Changed line 10 from:

This page described how I got a wireless network USB card with the RT2570? working on my NSLU2. I suggest trying to compile and use such a card on a regular Linux box first.

to:

This page described how I got a wireless network USB card with the rt2570 working on my NSLU2. I suggest trying to compile and use such a card on a regular Linux box first.

Changed lines 16-17 from:

First get the RT2570? sources, Debian's module assistant and gcc-3.4

to:

First get the rt2570 sources, Debian's module assistant and gcc-3.4

Changed line 24 from:

Second, you have to find the kernel headers for 2.6.16 which you can probably build yourself using OpenEmbedded. However, to save some time I found and grabbed a NSLU2 kernel tree from http://slugplayer.free.fr/pub/linux-source/linux-source-nslu2.tar.gz

to:

Second, you have to find the kernel headers for 2.6.16 which you can probably build yourself using OpenEmbedded. However, to save some time I grabbed a NSLU2 kernel tree from http://slugplayer.free.fr/pub/linux-source/linux-source-nslu2.tar.gz

April 26, 2007, at 12:52 PM by Maarten Ditzel --
Added line 17:
Added line 23:
Added line 26:
Added line 33:
Added line 35:
Changed lines 39-40 from:

]@

to:

@]

Added line 44:
Changed lines 47-49 from:

]@

to:

@]

Added line 53:
Changed lines 57-58 from:

]@ Plug in the USB network and check the results

to:

@]

Plug in the USB network card and check the results

Changed lines 68-69 from:

]@

to:

@]

Added line 71:
Changed lines 75-76 from:

]@

to:

@]

Added line 78:
Changed lines 93-94 from:

]@

to:

@]

April 26, 2007, at 12:49 PM by Maarten Ditzel -- RT2570/USB on NSLU2
Added lines 1-84:

Using the RT2570? chipset on NSLU2

Contents

Introduction

This page described how I got a wireless network USB card with the RT2570? working on my NSLU2. I suggest trying to compile and use such a card on a regular Linux box first. I use SlugOSLE?, formerly known as DebianSlug.

Compiling the module from source

First get the RT2570? sources, Debian's module assistant and gcc-3.4

apt-get install rt2570-source
apt-get install module-assistant
apt-get install gcc-3.4

Second, you have to find the kernel headers for 2.6.16 which you can probably build yourself using OpenEmbedded. However, to save some time I found and grabbed a NSLU2 kernel tree from http://slugplayer.free.fr/pub/linux-source/linux-source-nslu2.tar.gz untarred it, and put it into /usr/src/linux-2.6.16-nslu2.

cd /tmp
wget http://slugplayer.free.fr/pub/linux-source/linux-source-nslu2.tar.gz 
tar -zxf linux-source-nslu2.tar.gz 
mv linux-2.6.16-tarball /usr/src/linux-2.6.16-nslu2

Now, it's time to compile the module using the module-assistant. [@ cd /usr/src module-assistant --kernel-dir /usr/sc/linux-2.6.16-nslu2 build rt2570 ]@ and wait.

Now, if everything went OK, you have a debian package in /usr/src which you can install using dkpg. [@ dpkg -i rt2570-modules-2.6.16_1.1.0+cvs20070219-2_arm.deb ]@

Installing and using the module

Rebuild the module dependencies and install the module using modprobe. [@ depmod -a modprobe rt2570 ]@ Plug in the USB network and check the results [@ tail /var/log/messages Apr 26 14:41:25 localhost kernel: usbcore: registered new driver rt2570 Apr 26 14:44:58 localhost kernel: usb 3-1: new full speed USB device using ohci_hcd and address 5 Apr 26 14:44:58 localhost kernel: usb 3-1: not running at top speed; connect to a high speed hub Apr 26 14:44:59 localhost kernel: usb 3-1: configuration #1 chosen from 1 choice Apr 26 14:44:59 localhost kernel: idVendor = 0x148f, idProduct = 0x2570 ]@

Get the wireless utilities and check your setup [@ apt-get install wireless-tools iwconfig ]@ which resulted in [@ lo no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

eth2 RT2500USB? WLAN ESSID:""

          Mode:Managed  Frequency=2.412 GHz?
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=0/100  Signal level:-120 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

]@ So it suggests the card is working properly.

That's all folks.

view · edit · print · history · Last edited by Maarten Ditzel.
Originally by Maarten Ditzel.
Page last modified on April 26, 2007, at 01:09 PM