Author Topic: Can't get my Computer to see my Wireless Adapter  (Read 2252 times)

0 Members and 1 Guest are viewing this topic.

Offline poetic

  • Jr. Member
  • **
  • Posts: 23
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Can't get my Computer to see my Wireless Adapter
« on: November 16, 2013, 02:36:12 am »
I have followed the directions from this thread:

http://linuxforums.org.uk/index.php?topic=852.0

and can get the adapter to "light" up but it will not acquire an IP address. I have a problem with the adapter. When I do an ifconfig -a I get a mac address of 40:ff:ff:ff:ff:ff or 60:ff:ff:ff:ff:ff or 68:ff:ff:ff:ff:ff. That's right the mac address will change on when periodically after a reboot. My router has mac address filter enabled, but for the purposes of getting this adapter recognized I have temporarily disabled it, yet I can't get it to grab an IP address.

Can someone with experience walk me through a few things to try. I've been trying to get this adapter up and running for the past two days without success.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13797
  • Karma: 342
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #1 on: November 16, 2013, 02:53:00 am »
Hi poetic, and welcome to the forum :)

Can we first identify your distro/version/achitecture ?

eg.
Ubuntu 12.04 32bit

and the adapter ...
Code: [Select]
lsusb
or
Code: [Select]
lspci -vnn | grep -i net
« Last Edit: November 16, 2013, 02:54:41 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

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

Offline poetic

  • Jr. Member
  • **
  • Posts: 23
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #2 on: November 16, 2013, 04:19:55 am »
lsusb

Bus 001 Device 003: ID 148f:2870 RaLink Technology, Corp. RT2870 Wireless Adapter
Bus 002 Device 002: ID 15ca:00c3 TexTech International Ltd. Mini Optical Mouse
Bus 001 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 003 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lspci -vnn | grep -i net

00:12.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6102 [Rhine-II] [II06:3065] (rev 78)

iwconfig

Ralink STA  ESSID:"11n-AP"  Nickname:"RT2870STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Bit Rate:1 Mb/s   
          RTS thr:off   Fragment thr:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ipconfig-a

Link encap:Ethernet  HWaddr 58:ff:ff:ff:ff:ff 
          inet6 addr: fe80::5aff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:152 (152.0 B)


Offline poetic

  • Jr. Member
  • **
  • Posts: 23
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #3 on: November 16, 2013, 05:20:07 am »
Some further information that I wanted to include. I have a working Netgear wireless adapter that uses ndiswrapper in order for it to work. Is there a need to purge this installation in order for the new network adapter to work?

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1510
  • Karma: 119
  • Gender: Male
    • View Profile
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #4 on: November 16, 2013, 01:10:44 pm »
Quote
When I do an ifconfig -a I get a mac address of 40:ff:ff:ff:ff:ff or 60:ff:ff:ff:ff:ff or 68:ff:ff:ff:ff:ff.

That would indicate that your adapter has no valid mac address.

You could change it with macchanger (see here)
Code: [Select]
sudo apt-get install macchanger macchanger-gtk
then (replace wlan0 as needed)
Code: [Select]
sudo macchanger wlan0
or GUI version:
Code: [Select]
macchanger-gtk

Offline poetic

  • Jr. Member
  • **
  • Posts: 23
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #5 on: November 16, 2013, 04:12:38 pm »

I was able to compile and then make macchanger, but when I give this command: sudo macchanger ra0 I get this echoed back:

Current MAC: c0:ff:ff:ff:ff:ff (unknown)

ERROR: Can't change MAC: interface up or not permission: Operation not supported

Before I did this I entered: sudo ifconfig ra0 down  and it returned with no errors.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13797
  • Karma: 342
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #6 on: November 16, 2013, 04:34:10 pm »
Which distro/version/architecture are we talking about ?
Code: [Select]
cat /etc/*release

and which kernel:
Code: [Select]
uname -a
WARNING: You are logged into reality as 'root'

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

Offline poetic

  • Jr. Member
  • **
  • Posts: 23
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #7 on: November 16, 2013, 06:20:25 pm »
cat /etc/*release

DISTRIB_ID_LinuxMint
DISTRIB_RELEASE=15
DISTRIB_CODENAME=olivia
DISTRIB_DESCRIPTION="Linux Mint 15 Olivia"
NAME="Ubuntu"
VERSION="13.04", Raring Ringtail"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 13.04"
VERSION_ID="13.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http:/www.help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

uname -r
3.8.0.33-generic

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13797
  • Karma: 342
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #8 on: November 16, 2013, 06:58:12 pm »
Do you still get the weird mac address behaviour if you use the rt2800usb driver ?
Code: [Select]
sudo modprobe -r rt2870sta
then
Code: [Select]
sudo modprobe rt2800usb
??
WARNING: You are logged into reality as 'root'

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

Offline poetic

  • Jr. Member
  • **
  • Posts: 23
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #9 on: November 16, 2013, 07:20:55 pm »
sudo modprobe -r rt2870sta

FATAL: Module rt22870sta is in use

Code: [Select]

sudo modprobe rt2800usb

echo'ed back nothing. It did seem to probe the adapter as it started flickering alot. But I still don't have a wireless connection.

My gut tells me this has got to do with the bad MAC address that I'm getting. Should I just send the adapter back and try another one?

When should I be able to discern the MAC address of the adapter? Do I have to install the software first or should I be able to do an ifconfig -a and find out what the MAC address is before doing any software installation.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13797
  • Karma: 342
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #10 on: November 16, 2013, 08:04:16 pm »
Quote
When should I be able to discern the MAC address of the adapter? Do I have to install the software first or should I be able to do an ifconfig -a and find out what the MAC address is before doing any software installation.

If there wasn't a driver loaded, the adapter wouldn't be listed by ifconfig at all .. I'd assume the mac address is hard coded, but passed to the OS by the driver.

Try blacklisting the rt2870sta driver .. then rebooting
Code: [Select]
sudo gedit /etc/modprobe.d/blacklist.conf
and add a single NEW line at the bottom that reads:-

blacklist rt2870sta

SAVE the file, and reboot.

When back at the desktop, run:
Code: [Select]
sudo modprobe rt2800usb
then check your mac address with:
Code: [Select]
ifconfig
is it still weird ?
WARNING: You are logged into reality as 'root'

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

Offline poetic

  • Jr. Member
  • **
  • Posts: 23
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #11 on: November 16, 2013, 08:47:01 pm »
Please note when I opened up the blacklist.conf file at the bottom there was a command, blacklist rt2800usb

I pounded this out, added the blacklist rt2870sta and rebooted. The ra0 device is no longer listed.

I then unpounded blacklist rt2800usb and rebooted with the blacklist rt2870sta command invoked also and the ra0 device is not listed.

Offline poetic

  • Jr. Member
  • **
  • Posts: 23
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #12 on: November 16, 2013, 09:07:55 pm »
Forgot to mention the sudo modprobe rt2800usb returned with no errors.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13797
  • Karma: 342
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #13 on: November 16, 2013, 09:34:19 pm »
can you run:
Code: [Select]
sudo updatedb
then post the output from:
Code: [Select]
locate rt2870.bin

Can you also make sure rt2870sta IS blacklisted, and rt2800usb ISN'T blacklisted .. then reboot and post the output from:
Code: [Select]
lsmod
WARNING: You are logged into reality as 'root'

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

Offline poetic

  • Jr. Member
  • **
  • Posts: 23
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Can't get my Computer to see my Wireless Adapter
« Reply #14 on: November 16, 2013, 10:11:24 pm »
here you go:

locate rt2870.bin

/home/poetic/2010_0709_RT2870_Linux_STA_v2.4.0.1/common/rt2870.bin  (First installation Folder)
/home/poetic/rt2800/2010_0709_RT2870_Linux_STA_v2.4.0.1/common/rt2870.bin  (Second Installation Folder)
/lib/firmware/rt2870.bin

poetic@poetic-upstairs ~ $ lsmod

Module                  Size  Used by
ndiswrapper           192638  0
rfcomm                 37420  0
bnep                   17669  2
bluetooth             202232  10 bnep,rfcomm
snd_via82xx            24326  2
snd_mpu401_uart        13865  1 snd_via82xx
snd_ac97_codec        105692  1 snd_via82xx
binfmt_misc            17260  1
ac97_bus               12670  1 snd_ac97_codec
gameport               15016  1 snd_via82xx
snd_pcm                80890  2 snd_via82xx,snd_ac97_codec
snd_page_alloc         14230  2 snd_via82xx,snd_pcm
snd_seq_midi           13132  0
snd_seq_midi_event     14475  1 snd_seq_midi
snd_rawmidi            25114  2 snd_mpu401_uart,snd_seq_midi
ppdev                  12817  0
rt2870sta             566782  1
ir_lirc_codec          12739  0
snd_seq                51280  2 snd_seq_midi_event,snd_seq_midi
lirc_dev               18670  1 ir_lirc_codec
ir_mce_kbd_decoder     12635  0
ir_sanyo_decoder       12465  0
snd_seq_device         14137  3 snd_seq,snd_rawmidi,snd_seq_midi
ir_sony_decoder        12462  0
snd_timer              24411  2 snd_pcm,snd_seq
ir_jvc_decoder         12459  0
ir_rc6_decoder         12459  0
snd                    56485  12 snd_via82xx,snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_mpu401_uart,snd_seq_device
ir_rc5_decoder         12459  0
ir_nec_decoder         12459  0
soundcore              12600  1 snd
rc_rc6_mce             12454  0
dm_multipath           22402  0
ite_cir                24704  0
shpchp                 32129  0
i2c_viapro             12935  0
psmouse                81065  0
scsi_dh                14427  1 dm_multipath
rc_core                21266  11 ir_lirc_codec,ir_rc5_decoder,ir_nec_decoder,ir_sony_decoder,ir_mce_kbd_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_sanyo_decoder,ite_cir,rc_rc6_mce
lp                     13299  0
mac_hid                13037  0
serio_raw              13031  0
parport_pc             27504  1
parport                40753  3 lp,ppdev,parport_pc
btrfs                 774622  0
zlib_deflate           26445  1 btrfs
libcrc32c              12543  1 btrfs
dm_raid45              75357  0
xor                    26062  1 dm_raid45
dm_mirror              21621  0
dm_region_hash         16012  1 dm_mirror
dm_log                 18137  3 dm_region_hash,dm_mirror,dm_raid45
hid_generic            12484  0
usbhid                 41805  0
hid                    87001  2 hid_generic,usbhid
pata_acpi              12886  0
radeon                875304  3
i2c_algo_bit           13197  1 radeon
ttm                    71289  1 radeon
drm_kms_helper         47545  1 radeon
via_rhine              27005  0
drm                   228489  5 ttm,drm_kms_helper,radeon
firewire_ohci          35292  0
firewire_core          61718  1 firewire_ohci
pata_via               13407  3
floppy                 55441  0
crc_itu_t              12627  1 firewire_core

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal