Go Back   MEPISlovers Forum > Help > Networking-Lan-Modems
Register FAQTop Statistics Today's Posts Donate Gallery
Gallery
Mepis Art Gallery
My images
Upload an image
View all users images
Post New Thread  Reply
Belkin F5D7050 v4000 Wireless G USB working solution!

 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-14-2006, 11:48 AM
Tony_Goldsmith
 
Posts: n/a
Default Belkin F5D7050 v4000 Wireless G USB working solution!

After 48 hours of Mepis fun and wifi hell I have managed to get my Belkin F5D7050 (v4000) wireless G USB stick working.

You can be sure this is your version by typing lsusb at the konsole prompt and the ID is 050d:705c Belkin Components. Make sure this is your version of the Belkin F5D7050 (tiny white "v4000 uk" sticker on the back under the MAC address label) before you proceed otherwise there will be a lot of hair pulling and disappointment especially if you're a newbie like me.

This version of the F5D7050 has the ZyDAS ZD1211 chip. The Win driver that comes on the CD in the Belkin box does not work with ndiswrapper, if you have managed to get the win driver working in mepis, congratulations, how did you do it?! Previous F5D7050 sticks using RAlink chips work in ndiswrapper and probably linux native, but that is out of the scope of this topic.

You need to either have these files on CD but its also just as easy to shove a wire LAN card and do it. I used a cheapo billionton PCMCIA 10/100 PC Card cabled to an ethernet port on my wifi router. Mepis picked it up straight away, I ran mutilities started eth0 and I was online. Use your imagination and improvise another way if you can't do it the same way. Main point, to get these files: -

Open a konsole session.

at the prompt type> uname -r
You get some numbers. Enter them in the lotto if you're feeling lucky. I get>
2.6.15-26-386
which I will use in the example below, you must substitute it with whatever you get.

1. type this in konsole> apt-get install linux-source-2.6.15
(Note: I only used the first set of numbers before the hyphen)

Once thats through type in konsole> ln -s /usr/src/linux-source-2.6.15/ linux
That creates a link to the source files for anything that will want to look for it

2.type this in konsole> apt-get install linux-headers-2.6.15-26-386
(Note: this time I type in the full line of numbers I got when I typed uname -r in konsole)

Once thats through all the source files should be where they need to be for the next step.
Its worth checking that gcc is installed, I find it easy to run synaptic package manager (run synaptic) and search for gcc or g++, make sure they're installed on your system - they are C / C++ compilers. One or the other should be already installed by Mepis as default.

3. Now browse to http://zd1211.ath.cx/ and read the information for a couple of minutes. Download the latest driver (link to download page http://zd1211.ath.cx/download/ ). Save it to /usr/src/ then in konsole type> cd /usr/src/ and then type tar -zxvf followed by the name of the file you've just downloaded and press enter. E.g. in my case it was> tar -zxvf zd1211-driver-r83.tgz

4. Now type> cd zd1211-driver-r83 (or whatever the name of the new folder created by untarring the download) and then edit the file called makefile (I used konqueror browsed to /usr/src/zd1211-driver-r83/ and right click on makefile, open with kwrite), basically you need to follow the instructions on http://zd1211.ath.cx/ to replace the zero at the end of the line ZD1211REV_B=0 to 1, save the makefile file and then type> make
At this stage you may get errors thrown, just ignore them as long as the error is not related to can't find build directory - this means that something messed up in step 2. above. Try restarting your machine first then try this again. If restarting your machine didn't help then start from step 2 above. If that doesn't work I'm afraid my knowledge fades and you'll need to speak to a real Mepis expert (not me).

5. Ignoring any c related errors in the step above type> make install
This should end nicely and thats it. Almost there. Now type> modprobe -v zd1211b
then type> lsmod
you should see zd1211b in the list (means its loaded).

6. Jobs a good one if you've got this far. Now you can use mutilities to configure your network settings or the konsole way e.g.
ifconfig wlan0 up
iwconfig wlan0 essid your-ssid
dhclient wlan0 (for a dhcp address, or I just punch a static IP using mutilities).

Done! Well almost. I could connect with a static IP but I couldn't receive or send any packets. I couldn't get a DHCP IP because I couldn't send any packets! What the heck?!

7. You have to go back to konsole and type> dmesg
A long list shoots down, scroll a bit up and you'll see zd1211:AllowedChannel = 000007ff or AllowedChannel = 000107ff

type> iwpriv wlan0 set_Region 2
(use 1 for USA, 2 for Europe, 3 for France, 4 for Japan, 5 for Israel, 6 for Mexico and if you live elsewhere then I don't know).

BINGO! All of sudden packets come in and out, you have wifi access!

Enjoy. And if this post helped you can buy me a beer.

Tony Goldsmith.
Reply With Quote
  #2  
Old 10-14-2006, 11:48 AM
Tony_Goldsmith
 
Posts: n/a
Default Belkin F5D7050 v4000 Wireless G USB working solution!

After 48 hours of Mepis fun and wifi hell I have managed to get my Belkin F5D7050 (v4000) wireless G USB stick working.

You can be sure this is your version by typing lsusb at the konsole prompt and the ID is 050d:705c Belkin Components. Make sure this is your version of the Belkin F5D7050 (tiny white "v4000 uk" sticker on the back under the MAC address label) before you proceed otherwise there will be a lot of hair pulling and disappointment especially if you're a newbie like me.

This version of the F5D7050 has the ZyDAS ZD1211 chip. The Win driver that comes on the CD in the Belkin box does not work with ndiswrapper, if you have managed to get the win driver working in mepis, congratulations, how did you do it?! Previous F5D7050 sticks using RAlink chips work in ndiswrapper and probably linux native, but that is out of the scope of this topic.

You need to either have these files on CD but its also just as easy to shove a wire LAN card and do it. I used a cheapo billionton PCMCIA 10/100 PC Card cabled to an ethernet port on my wifi router. Mepis picked it up straight away, I ran mutilities started eth0 and I was online. Use your imagination and improvise another way if you can't do it the same way. Main point, to get these files: -

Open a konsole session.

at the prompt type> uname -r
You get some numbers. Enter them in the lotto if you're feeling lucky. I get>
2.6.15-26-386
which I will use in the example below, you must substitute it with whatever you get.

1. type this in konsole> apt-get install linux-source-2.6.15
(Note: I only used the first set of numbers before the hyphen)

Once thats through type in konsole> ln -s /usr/src/linux-source-2.6.15/ linux
That creates a link to the source files for anything that will want to look for it

2.type this in konsole> apt-get install linux-headers-2.6.15-26-386
(Note: this time I type in the full line of numbers I got when I typed uname -r in konsole)

Once thats through all the source files should be where they need to be for the next step.
Its worth checking that gcc is installed, I find it easy to run synaptic package manager (run synaptic) and search for gcc or g++, make sure they're installed on your system - they are C / C++ compilers. One or the other should be already installed by Mepis as default.

3. Now browse to http://zd1211.ath.cx/ and read the information for a couple of minutes. Download the latest driver (link to download page http://zd1211.ath.cx/download/ ). Save it to /usr/src/ then in konsole type> cd /usr/src/ and then type tar -zxvf followed by the name of the file you've just downloaded and press enter. E.g. in my case it was> tar -zxvf zd1211-driver-r83.tgz

4. Now type> cd zd1211-driver-r83 (or whatever the name of the new folder created by untarring the download) and then edit the file called makefile (I used konqueror browsed to /usr/src/zd1211-driver-r83/ and right click on makefile, open with kwrite), basically you need to follow the instructions on http://zd1211.ath.cx/ to replace the zero at the end of the line ZD1211REV_B=0 to 1, save the makefile file and then type> make
At this stage you may get errors thrown, just ignore them as long as the error is not related to can't find build directory - this means that something messed up in step 2. above. Try restarting your machine first then try this again. If restarting your machine didn't help then start from step 2 above. If that doesn't work I'm afraid my knowledge fades and you'll need to speak to a real Mepis expert (not me).

5. Ignoring any c related errors in the step above type> make install
This should end nicely and thats it. Almost there. Now type> modprobe -v zd1211b
then type> lsmod
you should see zd1211b in the list (means its loaded).

6. Jobs a good one if you've got this far. Now you can use mutilities to configure your network settings or the konsole way e.g.
ifconfig wlan0 up
iwconfig wlan0 essid your-ssid
dhclient wlan0 (for a dhcp address, or I just punch a static IP using mutilities).

Done! Well almost. I could connect with a static IP but I couldn't receive or send any packets. I couldn't get a DHCP IP because I couldn't send any packets! What the heck?!

7. You have to go back to konsole and type> dmesg
A long list shoots down, scroll a bit up and you'll see zd1211:AllowedChannel = 000007ff or AllowedChannel = 000107ff

type> iwpriv wlan0 set_Region 2
(use 1 for USA, 2 for Europe, 3 for France, 4 for Japan, 5 for Israel, 6 for Mexico and if you live elsewhere then I don't know).

BINGO! All of sudden packets come in and out, you have wifi access!

Enjoy. And if this post helped you can buy me a beer.

Tony Goldsmith.
Reply With Quote
  #3  
Old 11-09-2006, 10:30 PM
code_mafia
 
Posts: n/a
Default WPA Problem with Belkin F5D7000 v5 / Linksys WRT54G

I have been working on a similar problem.  I just downloaded and installed MEPIS last week.  I worked on it about 48 hours so far myself.  I too am a *nix newb.

I just posted a seperate thread for my issue here that has all of my particulars as well as a link to a thread I started over at mepis.org, but no one has been able to help me there.
http://www.mepislovers.com/forums/in...p?topic=2897.0

Also, why is your setup a wlan instead of ath0?  My mutilities shows my wireless=ath0 and says there is no wlan0 present.

Reply With Quote
  #4  
Old 11-14-2006, 07:38 AM
cookdav's Avatar
cookdav cookdav is online now
antiX-8.5 is rolling...
 
Join Date: Jul 2006
Location: Sarasota, FL and Manchester,NH
Gender: Male
Posts: 1,455
Thanks: 559
Thanked 370 Times in 275 Posts
Rep Power: 83
Reputation: 1979
cookdav has much to be proud ofcookdav has much to be proud ofcookdav has much to be proud ofcookdav has much to be proud ofcookdav has much to be proud ofcookdav has much to be proud ofcookdav has much to be proud ofcookdav has much to be proud ofcookdav has much to be proud ofcookdav has much to be proud ofcookdav has much to be proud of
Default Re: Belkin F5D7050 v4000 Wireless G USB working solution!


>>why is your setup a wlan instead of ath0? My mutilities shows my wireless=ath0
>>and says there is no wlan0 present.

Basically, there are TWO possible approaches to configuring a wireless-adapter in Linux.
(1) Using a 'native' Linux driver (if one exists that works for your hardware)
In this case, the device name will be 'eth', 'ath', 'ra' or whatever.

OR

(2) Using the special 'ndiswrapper' subsystem (which runs the Windows-supplied wireless driver).
In this case, the device name will become 'wlan0'

There are more details on all of this at:

http://www.mepis.org/docs/en/index.p...ess_connection

Hope this helps...

Dave
__________________
MEPIS wiki: http://www.mepis.org/docs/en/index.php/Inxi
Compaq-laptop: MEPIS-8.5 / sidux (KDE4.4.5/2.6.34/grub2) [triple-boot w/Win-Vista]
wifi: drvr='wl'(BCM4311), graphics: Intel 945GM/GMS
Desktop mach#1: AMD (Athlon XP 1600+): MEPIS 8.5 [triple-boot with sidux and Win-XP]
Desktop mach#2: AMD (Sempron 3100) antiX-8.5 / Win-XP.
"Every day you look in the mirror now, you are looking at an endangered species." - Rob Watson
Reply With Quote
  #5  
Old 11-14-2006, 09:14 AM
Adrian's Avatar
Adrian Adrian is online now
are you talking to me?
 
Join Date: Jul 2006
Gender: Male
Posts: 8,832
Thanks: 998
Thanked 2,355 Times in 1,471 Posts
Rep Power: 268
Reputation: 13061
Adrian has a reputation beyond reputeAdrian has a reputation beyond reputeAdrian has a reputation beyond reputeAdrian has a reputation beyond reputeAdrian has a reputation beyond reputeAdrian has a reputation beyond reputeAdrian has a reputation beyond reputeAdrian has a reputation beyond reputeAdrian has a reputation beyond reputeAdrian has a reputation beyond reputeAdrian has a reputation beyond repute
Default Re: Belkin F5D7050 v4000 Wireless G USB working solution!

I have a F5D7050, but it's not v4000, I made it work with modprobe rfcomm and then ifconfig rausb0 up in Windows I can't make it work (disclaimer: I lost only 30 minutes trying to make it work since I don't really need to use it in Windows, I'm sure I would eventually make it work)
Reply With Quote
  #6  
Old 11-14-2006, 08:07 PM
code_mafia
 
Posts: n/a
Default Re: Belkin F5D7050 v4000 Wireless G USB working solution!

I got mine working with WPA. When I switch back to the madwifi driver it worked. I know I tried that driver when I first started having problems getting this card to work, but I must of had something else wrong in my configs. Anyway, works like a champ now, so try it with the madwifi drivers. I used a pretty basic config file (wpa_supplicant.conf) and this command-line:

wpa_supplicant -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf

Good luck.
Reply With Quote
  #7  
Old 01-18-2009, 11:36 AM
JimC JimC is offline
MEPIS Guide
 
Join Date: Jul 2006
Location: Savannah, GA
Posts: 469
Thanks: 65
Thanked 146 Times in 98 Posts
Rep Power: 60
Reputation: 740
JimC will become famous soon enoughJimC will become famous soon enoughJimC will become famous soon enoughJimC will become famous soon enoughJimC will become famous soon enoughJimC will become famous soon enoughJimC will become famous soon enough
Default

Quote:
Originally Posted by Tony_Goldsmith View Post
...This version of the F5D7050 has the ZyDAS ZD1211 chip.
I see where you compiled a driver to get it working. Did you try this first?

su
modprobe zd1211rw

I've got an SMCUSB-G adapter with a ZD1211 based chipset, and it works with the included zd1211rw driver already in Mepis 8. I remember needing to use modprobe zd1211rw to get it working with an earlier beta for some reason. Also, from time to time, I'll need to unplug it and plug it back in to get it working if it loses a weak signal with some routers for some odd reason. This adapter also seems to work fine with some of the other Debian Lenny based distros like Dreamlinux. I seem to remember using it with Mepis 7, too (but, I'd have to try it to make sure and that PC is tied up right now).
Reply With Quote
  #8  
Old 01-18-2009, 11:59 AM
anticapitalista's Avatar
anticapitalista anticapitalista is offline
Moderator
 
Join Date: Jul 2006
Location: Greece
Gender: Male
Posts: 3,690
Thanks: 921
Thanked 1,631 Times in 887 Posts
Rep Power: 185
Reputation: 9919
anticapitalista has a reputation beyond reputeanticapitalista has a reputation beyond reputeanticapitalista has a reputation beyond reputeanticapitalista has a reputation beyond reputeanticapitalista has a reputation beyond reputeanticapitalista has a reputation beyond reputeanticapitalista has a reputation beyond reputeanticapitalista has a reputation beyond reputeanticapitalista has a reputation beyond reputeanticapitalista has a reputation beyond reputeanticapitalista has a reputation beyond repute
Default

Look at the date of the post JimC
__________________
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX "Marek Edelman", "Tȟašúŋke Witkó", "Intifada!", "Toussaint Louverture", "VETËVENDOSJE!", "Lysistrata" and "Spartacus" - all lean and mean.
http://antix.mepis.org
Reply With Quote
  #9  
Old 01-18-2009, 12:10 PM
JimC JimC is offline
MEPIS Guide
 
Join Date: Jul 2006
Location: Savannah, GA
Posts: 469
Thanks: 65
Thanked 146 Times in 98 Posts
Rep Power: 60
Reputation: 740
JimC will become famous soon enoughJimC will become famous soon enoughJimC will become famous soon enoughJimC will become famous soon enoughJimC will become famous soon enoughJimC will become famous soon enoughJimC will become famous soon enough
Default

Ooops....

I think I must have got to it via the "Similar Threads" feature while reading another thread about wireless. I guess I should play closer attention to the dates on those. :-)
Reply With Quote
Post New Thread  Reply

  MEPISlovers Forum > Help > Networking-Lan-Modems


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 10:12 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2007-2010 MEPISlovers.org