LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing ralink rt2870 rt3070 on portable (https://www.linuxquestions.org/questions/linux-newbie-8/installing-ralink-rt2870-rt3070-on-portable-855755/)

DMKHAMMER 01-12-2011 01:22 AM

Installing ralink rt2870 rt3070 on portable
 
I have been installing via wiki instructions and I am stuck installing a USB wireless. Where should I be going with this?

PHP Code:

debianportable:/home/dave# modprobe rt73usb
debianportable:/home/dave# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11  ESSID:""  
          
Mode:Managed  Frequency:2.412 GHz  Access PointNot-Associated   
          Tx
-Power=20 dBm   
          Retry min limit
:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key
:off
          Link Quality
:0  Signal level:0  Noise level:0
          Rx invalid nwid
:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries
:0  Invalid misc:0   Missed beacon:0

debianportable
:/home/dave


markush 01-12-2011 03:01 AM

Hello DMKHAMMER,

the wireless adapter is running (wlan0). But you're not yet associated to your wireless network.

I don't know how Debian manages wireless devices, but you'll have to find the program, probably Networkmanager where you can configure for your wireless authentication (ssid, key etc.)

Markus

DMKHAMMER 01-14-2011 12:10 AM

My Vaio has a atheros card built in. It stopped working under windows months ago and ran a USB adapter fine. When Lenny installed it saw the card even with the switch off and the card unable to function. I think I need to disassociate the Atheros from the WLAN and re-install the USB to get it to work but I am not sure how.

markush 01-14-2011 05:45 AM

Maybe for the builtin card there is a switch anywhere at the laptop which enables/disables the card, did you check that?

Could you please post the output of
Code:

lspci | grep -i atheros
and
Code:

lsmod | grep ath
Markus

DMKHAMMER 01-14-2011 08:09 PM

atheros stuff
 
Thank you for helping me.... my linux book still hasnt shown up in the mail; ordered 12/26/10

PHP Code:

debianportable:/home/dave# lspci | grep -i atheros
06:00.0 Ethernet controllerAtheros Communications IncAR242x 802.11abg Wireless PCI Express Adapter (rev 01)
debianportable:/home/dave# lsmod | grep ath
ath5k                  87648  0 
mac80211              139808  1 ath5k
cfg80211               21608  2 ath5k
,mac80211
debianportable
:/home/dave


markush 01-15-2011 04:09 AM

It seems that the ath5k module isn't the adequate one for your builtin card, here the helptext from the kernel-sources
Code:

Atheros 5xxx wireless cards support (ATH5K)

CONFIG_ATH5K:

This module adds support for wireless adapters based on
Atheros 5xxx chipset.

Currently the following chip versions are supported:

MAC: AR5211 AR5212
PHY: RF5111/2111 RF5112/2112 RF5413/2413

This driver uses the kernel's mac80211 subsystem.

If you choose to build a module, it'll be called ath5k. Say M if
unsure.

Symbol: ATH5K [=n]
Type : tristate
Prompt: Atheros 5xxx wireless cards support
Defined at drivers/net/wireless/ath/ath5k/Kconfig:1
Depends on: NETDEVICES [=y] && WLAN [=y] && ATH_COMMON [=m] && PCI [=y] && MAC80211 [=y]
Location:
-> Device Drivers
-> Network device support (NETDEVICES [=y])
-> Wireless LAN (WLAN [=y])
-> Atheros Wireless Cards (ATH_COMMON [=m])
Selects: MAC80211_LEDS [=y] && LEDS_CLASS [=y] && NEW_LEDS [=y]

I don't know which module would support the card. Did you check if your laptop has a switch for disabling/enabling the wireless network?

Markus

DMKHAMMER 01-15-2011 05:11 PM

Atheros died
 
The hardware on the Atheros died.... in windows where it always worked, the switch LED wont come on and neither did
the network. I have used a USB adapter instead the last 6 months because it is cheaper than having the thing worked on.
So I set up Linux on the machine, it sees the card I think, but I really need to get Linu to run on the USB network
adapter. I think Atheros is linked to WLAn setting and is messing up my attempts to get the USB to work? Upon set up,
Linux told me I had a Lan, wlan, and a firewire. Wlan was supposed to be Atheros according o the machine and the ethernet was what I used for the network install.

schneidz 01-15-2011 05:26 PM

^ plug in the usb adapter and run lsusb and show us the results.

edit: just for the shiggles, what happens when you run:
Code:

sudo iwlist wlan0 scan
?

markush 01-15-2011 05:28 PM

referring to the first post, I'd assume that the wlan is up and needs to be configured with the authentication-data for the wireless network.

Markus

DMKHAMMER 01-15-2011 08:10 PM

req info
 
PHP Code:

debianportable:/home/dave# lsusb
Bus 006 Device 001ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 003
ID 152e:2571 LG (HLDS
Bus 007 Device 002ID 148f:3070 Ralink TechnologyCorpRT2870/RT3070 Wireless Adapter
Bus 007 Device 001
ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001
ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001
ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001
ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001
ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001
ID 1d6b:0001 Linux Foundation 1.1 root hub
debianportable
:/home/dave
debianportable:/home/dave
debianportable:/home/dave
debianportable:/home/dave# sudo iwlist wlan0 scan
wlan0     No scan results

debianportable
:/home/dave


colorpurple21859 01-15-2011 08:31 PM

Try using the rt2800usb driver.

markush 01-16-2011 04:47 AM

DMKHAMMER,

what was different between your posts #1 and #10?

Could you please, in addition to the output of the commands, explain what you're doing?

In your first post in this thread it seemed to be only an issue with the authentication at the accesspoint, in your post #10 you don't have wlan0 up. If you don't understand our questions, please ask or read the documentation for your distribution.

You'll need to know how you can configure your wireless adapter for the authentication-data of your wireless network.

Markus

schneidz 01-16-2011 03:18 PM

Quote:

Originally Posted by DMKHAMMER (Post 4225645)
PHP Code:

debianportable:/home/dave# lsusb
Bus 006 Device 001ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 003
ID 152e:2571 LG (HLDS
Bus 007 Device 002ID 148f:3070 Ralink TechnologyCorpRT2870/RT3070 Wireless Adapter
Bus 007 Device 001
ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001
ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001
ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001
ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001
ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001
ID 1d6b:0001 Linux Foundation 1.1 root hub
debianportable
:/home/dave
debianportable:/home/dave
debianportable:/home/dave
debianportable:/home/dave# sudo iwlist wlan0 scan
wlan0     No scan results

debianportable
:/home/dave


ok, so it is at least seeing the usb-wifi adapter.
please show us the results of:
Code:

ifconfig
ifconfig -a


DMKHAMMER 01-16-2011 05:56 PM

PHP Code:

debianportable:/home/dave# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1a:80:b4:4c:75  
          inet addr
:192.168.2.9  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr
fe80::21a:80ff:feb4:4c75/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:373 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:601 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000 
          RX bytes
:196139 (191.5 KiB)  TX bytes:103217 (100.7 KiB)
          
Interrupt:16 

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
:16436  Metric:1
          RX packets
:177 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:177 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:
          RX bytes
:41406 (40.4 KiB)  TX bytes:41406 (40.4 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:1d:d9:7a:43:fa  
          UP BROADCAST MULTICAST  MTU
:1500  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:1000 
          RX bytes
:(0.0 B)  TX bytes:(0.0 B)

wmaster0  Link encap:UNSPEC  HWaddr 00-1D-D9-7A-43-FA-65-74-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  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:1000 
          RX bytes
:(0.0 B)  TX bytes:(0.0 B)

debianportable:/home/dave# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:1a:80:b4:4c:75  
          inet addr
:192.168.2.9  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr
fe80::21a:80ff:feb4:4c75/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:374 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:603 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000 
          RX bytes
:196273 (191.6 KiB)  TX bytes:103605 (101.1 KiB)
          
Interrupt:16 

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
:16436  Metric:1
          RX packets
:181 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:181 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:
          RX bytes
:43450 (42.4 KiB)  TX bytes:43450 (42.4 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:1d:d9:7a:43:fa  
          UP BROADCAST MULTICAST  MTU
:1500  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:1000 
          RX bytes
:(0.0 B)  TX bytes:(0.0 B)

wmaster0  Link encap:UNSPEC  HWaddr 00-1D-D9-7A-43-FA-65-74-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  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:1000 
          RX bytes
:(0.0 B)  TX bytes:(0.0 B)

debianportable:/home/dave


DMKHAMMER 01-16-2011 09:15 PM

Atheros is reporting as wlan0
 
PHP Code:

wlan0     Link encap:Ethernet  HWaddr 00:1d:d9:7a:43:fa  
          UP BROADCAST MULTICAST  MTU
:1500  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:1000 
          RX bytes
:(0.0 B)  TX bytes:(0.0 B

I believe the hardware address is the atheros native to the computer and it doesnt work because
the hardware switch is blown... I want the ralink as wlan0 and I believe Atheros occupation of
WLAN is blocking me...


All times are GMT -5. The time now is 05:53 AM.