How to
install Ralink (cdr-King wifi dongle)WU-NETA-039-ZI
(MT7601Usta)Raspberry pi B+I bought a cheap USB Wi-Fi dongle from
Cdr-king worth 250php(6$) and I want to connect it to my pi. I’d manage to dig,
research to websites, and go to forums. I’ve compiled all my researches then
ATLAST I’ve made it WORK!... sorry for my bad English but I hope these steps
helps you configuring your dongle.. Goodluck!
First plug-in wifi dongle then power
up your pi
Try these commands:
ifconfig
If there is no ra0 displayed in your command line
therefore the Pi didn’t recognized your dongle, but don’t worry that will be
the thing that we’ll be figuring out.
lsusb
this command shows the list of USB
devices connected to your pi, Ralink
Technology, corp is the device ID CDR-king wifi dongle.
Shows:
lsmod
don’t worry if you can’t see that mt7601Usta when you lsmod your pi we
will be figuring out that too. :D
Shows:
After you
tried those commands you need to update your pi to ensure you have the latest
plugins and apps. This should take time.Run these
commands:Sudo apt-get updateSudo apt-get upgradeSudo apt-get dist-upgrade Sudo Rpi-updateNext thing
you need to do is to update the kernel
version to 3.18.7+ of your pi to make it compatible with your dongle
because if you don’t you won’t be seeing that ra01 on ifconfig. I’ve been through a lot of research
and surfing and found out this Kernel version 3.18.7+ has modules for this kind
of dongle.Follow
these commands:Call
directory cd /tmp
download the kernel version
sudo wget https://dl.dropboxusercontent.com/u/67643651/mt7601_3.18.7_755.tar.gzextract the filessudo tar xvzf
mt7601_3.18.7_755.tar.gz -C /sudo depmod 3.18.7+reboot your pisudo rebootcreate and setup a new wpa configuration file in etcsudo nano
/etc/wpa.configinput the following:
network={
ssid="WIFI
name here"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
TKIP
group=CCMP
TKIP
psk="password
here"
}
Control+x and save changes.
Next edit network interfaces:
Sudo
nano /etc/network/interfaces
Add the
following:
auto ra0
iface ra0 inet dhcp
wpa-conf /etc/wpa.config
iface default inet dhcp
control+x and
save changes then reboot your pi.
After rebooting
the dongle will automatically connect to your network then try ifconfig, if you see the ra0 on ifconfig as well as the IP
address of the dongle, then you’re good to go. Install Advance IP scanner on your pc/laptop or any ip scanner app on
google play to know the devices connected on your network.
you should
see your pi like this. DONE!... now you can ssh your pi wirelessly.You can now
go anywhere and Program your Pi via android phone using SSH apps on google
play. ENJOY!.







No comments:
Post a Comment