Wireless N Raspberry Pi! Belkin F6D4050

Wireless N Raspberry Pi! Belkin F6D4050 - Selamat datang di situs media global terbaru Xivanki, Pada halaman ini kami menyajikan informasi tentang Wireless N Raspberry Pi! Belkin F6D4050 !! Semoga tulisan dengan kategori ini bermanfaat bagi anda. Silahkan sebarluaskan postingan Wireless N Raspberry Pi! Belkin F6D4050 ini ke social media anda, Semoga rezeki berlimpah ikut dimudahkan Allah bagi anda, Lebih jelas infonya lansung dibawah -->



For just £5.60 including delivery, you can get yourself this Wifi adapter from eBay (enter item number 180943399517 into eBay search) which works just fine with Raspbian and the Raspberry Pi!  In addition, there is no requirement for a powered USB hub with this adapter!

See my instructions below for installation:

Product Name: Belkin F6D4050 V1 or V2 [Realtek RT3070] 
USB ID: 050d:935a  or 935b for V2
Driver: RT3572STA
Operating System: Raspbian (2012-07-15 Wheezy)

First things first, let's get some decent linux source headers so we can compile the wireless driver:

apt-cache search linux-headers
apt-get install linux-headers-3.2.0-3-rpi

Using midori or other browser, download the latest RT3572STA driver here: 
http://www.ralinktech.com/en/04_support/license.php?sn=5017

Enter your name and e-mail and click 'Accept' to start download

Once downloaded, find the file using file explorer, then navigate to the folder in terminal and unzip using following command in terminal:

tar xvjf <filename>.bz2

If this does not work, try extracting the files with the in-built Raspian extraction GUI.  Also, 
make sure you have navigated to the directory where the file is located in terminal (e.g. "cd /root" for root directory - this is where file was stored for me)


Once the files have been extracted from the driver download, use terminal and 'cd' command to 
open the directory containing the driver files.  Using terminal type:


sudo leafpad makefile


This will allow you to edit the makefile.  We need to specify the location of the Raspberry Pi kernel source header files we obtained earlier.  Using leafpad, scroll down to section entitled 
"ifeq ($(PLATFORM),PC)"


Original File

ifeq ($(PLATFORM),PC)
# Linux 2.6
LINUX_SRC = /lib/modules/$(shell uname -r)/build
# Linux 2.4 Change to your local setting
#LINUX_SRC = /usr/src/linux-2.4
LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/
CROSS_COMPILE = 
endif

New File

ifeq ($(PLATFORM),PC)
# Linux 2.6
#LINUX_SRC = /lib/modules/$(shell uname -r)/build
# RPi specific? maybe raspbian specific?
LINUX_SRC = /lib/modules/3.2.0-3-rpi/build
# Linux 2.4 Change to your local setting
#LINUX_SRC = /usr/src/linux-2.4
#LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/
# RPi specific? maybe raspbian specific?
LINUX_SRC_MODULE = /lib/modules/3.2.0-3-rpi/kernel/drivers/net/wireless/
CROSS_COMPILE = 
endif

(Most important lines above are those without a # preceeding them, as this symbol denotes a comment in the code rather than an computer instruction).  This changes the MakeFile to ensure that it looks at the new kernel source header files.

Finally, we need to quickly edit a driver config file before we try compiling.  In terminal, navigate to the driver directory and then onto this folder /os/linux/

E.g. cd /<driver folder>/os/linux

Now type leafpad config.mk and edit the following lines to read 'y' instead of default of 'n':

HAS_WPA_SUPPLICANT=y
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

Now to compile the driver and install, in terminal type:

make && sudo make install

Be patient, the whole process took around 20 minutes for me.  When complete, we have now 
successfully added the driver file to our kernel.  Once installed, copy the newly created driver directory to the current kernel using the command below:

sudo cp /lib/modules/3.2.0-3-rpi/kernel/drivers/net/wireless/rt3572sta.ko /lib/modules/3.1.9+/kernel/drivers/net/wireless/


Now to finish up, there's a few more 
configuration files to edit!:

Plug in the USB dongle, I found the lower port worked where as the top one did not.  From terminal, type:

lsusb

You should see a list of USB devices, the one you're looking for is 050d:935a or 050d:935b (v1 or v2, respectively).  Do not continue until you see the device listed.

Now navigate to the 'rules.d' directory:

cd /etc/udev/rules.d

And we'll create a file:

leafpad network_drivers.rules

Enter the following text into the new file:

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="050d", ATTR{idProduct}=="935a", RUN+="/sbin/modprobe -qba rt3572sta"

Save the file (Alt & F, Save), then exit Leafpad and return to terminal and navigate to this folder:

cd /etc/modprobe.d

leafpad network_drivers.conf

Enter the following text into the new file:

install rt3572sta /sbin/modprobe --ignore-install rt3572sta $CMDLINE_OPTS; /bin/echo "050d 935a" > /sys/bus/usb/drivers/rt3572/new_id

Save the file (Alt & F, Save), then exit Leafpad and return to terminal

Pay close attention to any occurrence of 935a in the lines you've just added. If your device ID is F6D4050 v1, leave occurrences of 935a as-is with the letter a at the end. If your device ID is F6D4050 v2, change the last letter of 935a to b

That's it!  Driver is now installed!

But there's always one last thing!

Restart your Pi, once it's booted again to desktop (startx).  Open terminal and obtain the easy to use network manager tool (wicd)

apt-get install wicd

Once installed, Open 'wicd' from the 'Internet' menu on the program list (like Windows start menu).

Click the small down arrow on the right of the program window and select preferences.  Now there is a text box entitled 'Wireless Interface', type wlan0

Click 'OK' button to save changes, unplug ethernet and click 'Refresh' button.  Now you should start seeing a list of available networks!  Click on the settings button next to the network you wish to connect to and set the 'Use Encryption' box to 'WPA 1/2 (Passphrase) and enter your password in the text box.  Now try connecting!  This worked fine for me with WPA-PSK2 encryption.







Demikian info Wireless N Raspberry Pi! Belkin F6D4050, Semoga dengan adanya postingan ini, Anda sudah benar benar menemukan informasi yang memang sedang anda butuhkan saat ini. Bagikan informasi Wireless N Raspberry Pi! Belkin F6D4050 ini untuk orang orang terdekat anda, Bagikan infonya melalui fasilitas layanan Share Facebook maupun Twitter yang tersedia di situs ini.

أحدث أقدم