VectorLinux

The nuts and bolts => Networking & Security => Topic started by: tracyf on June 05, 2008, 10:53:08 pm

Title: Brand-n00b & Belkin wireless card trouble
Post by: tracyf on June 05, 2008, 10:53:08 pm
Hi all-

I've been playing with live Linux CD's for a while, loaded a few distros, and have now installed v. 5.9 Vector onto an older Dell laptop.  It's an Inspiron 2100 notebook, P3/256mb RAM.

I'm very impressed with the speed, look, and layout of Vector.  However, I'm having problems getting the wireless card to pick up.  The lights on the card are solid on- which, in Windows, meant it was getting a signal.  But I have no internet, etc.  Knoppix live and a few others managed to pick it up right off the bat, so I'm not sure what's up.  The card is the Belkin FD56020 v.2., which I Googled and it's supposed to be one of the known working cards.

Using VASM, from the desktop, I chose "wireless"- it then asks is I want to use ndiswrapper. I'm not sure what to do with that one. If I cancel, it says "no wireless found", if I say "ok", I have no idea what to point it to?  Using VEC, I left the hostname as it was and the DNS server as what the router shows (192.168.0.1). It says "setting up hostname and DNS server", then flashes off. Using Netconf, I chose DHCP, and again it says "configuring..."...but still no connection. Tried the other settings as well (static IP)- nothing.

iwconfig shows eth1, 802.11, my correct ESSID, the channel, and even that it has my encryption key (WEP).  But there's no link, signal, or noise level (all 0).  I assume this means it does see the card?

Any help is greatly appreciated~

Tracy







Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: hata_ph on June 06, 2008, 03:17:33 am
pls post your lspci, lsmod output?

are you using a externel wireless card?

EDIT:

Is this your card?

http://www.belkin.com/support/product/?lid=en&pid=F5D6020&scid=221
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: bigpaws on June 06, 2008, 05:12:20 am
If you have the install CD you can try using VASM and then
pick ndiswrapper. Use the XP driver .inf file for the card.

You can then check see if the card is running by using the
command as root ndiswrapper -l
the output you are looking for would be installed and present.

If that exists then you are good to go. You could also use the drivers
from the LiveCD that works.

Bigpaws
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: tracyf on June 06, 2008, 05:57:21 am
pls post your lspci, lsmod output?

are you using a externel wireless card?

EDIT:

Is this your card?

http://www.belkin.com/support/product/?lid=en&pid=F5D6020&scid=221


Yep,

That's the card- version 2.

lspci/lsmod:

vector:/~
root:# lspci

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)

00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)

00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)

00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)

00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)

00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)

00:08.0 Multimedia audio controller: Cirrus Logic Crystal CS4281 PCI Audio (rev 01)

00:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)

00:0d.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)

00:10.0 Communication controller: Agere Systems WinModem 56k (rev 01)

01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)


vector:/~
root:# lsmod

Module                  Size  Used by
freq_table              4768  0
snd_seq_midi            7200  0
snd_opl3_synth         13956  0
snd_seq_instr           7424  1 snd_opl3_synth
snd_seq_midi_emul       6912  1 snd_opl3_synth
snd_ainstr_fm           3072  1 snd_opl3_synth
ndiswrapper           186372  0
snd_seq_dummy           3716  0
snd_seq_oss            32128  0
snd_seq_midi_event      7168  2 snd_seq_midi,snd_seq_oss
snd_seq                48720  9 snd_seq_midi,snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            38048  0
snd_mixer_oss          15232  1 snd_pcm_oss
atmel_cs                6656  1
atmel                  34180  1 atmel_cs
serio_raw               6276  0
3c59x                  40232  0
snd_cs4281             17888  2
gameport               12296  2 snd_cs4281
snd_rawmidi            20128  2 snd_seq_midi,snd_cs4281
snd_ac97_codec         98084  1 snd_cs4281
ac97_bus                2944  1 snd_ac97_codec
snd_pcm                69764  3 snd_pcm_oss,snd_cs4281,snd_ac97_codec
snd_page_alloc          8712  1 snd_pcm
snd_opl3_lib            9600  2 snd_opl3_synth,snd_cs4281
snd_seq_device          7692  7 snd_seq_midi,snd_opl3_synth,snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi,snd_opl3_lib
mii                     5504  1 3c59x
snd_timer              19972  3 snd_seq,snd_pcm,snd_opl3_lib
snd_hwdep               7812  1 snd_opl3_lib
snd                    45796  19 snd_opl3_synth,snd_seq_instr,snd_seq_dummy,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_cs4281,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_opl3_lib,snd_seq_device,snd_timer,snd_hwdep
soundcore               7008  1 snd
i2c_piix4               8332  0
shpchp                 30228  0
i2c_core               20992  1 i2c_piix4
intel_agp              22164  1
pci_hotplug            28616  1 shpchp
agpgart                28108  1 intel_agp
evdev                   8704  0
joydev                  9152  0
vector:/~
root:#

Sorry lsmod's out of line- I tried saving in both the editor and the mousepad program & this is the best I could get pasting into Wordpad...(my MS PC is the only one online right now).

Thanks for your help!

Tracy


 
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: tracyf on June 06, 2008, 06:00:28 am
If you have the install CD you can try using VASM and then
pick ndiswrapper. Use the XP driver .inf file for the card.

You can then check see if the card is running by using the
command as root ndiswrapper -l
the output you are looking for would be installed and present.

If that exists then you are good to go. You could also use the drivers
from the LiveCD that works.

Bigpaws

No longer have the CD- I've downloaded the MS setup.exe, from Belkin, when needed. I have it now and unpacked the .exe- but none of the files are an inf...?

Tracy
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: hata_ph on June 06, 2008, 06:19:45 am
atmel_cs                6656  1
atmel                  34180  1 atmel_cs

I think VL auto load the module for you wireless card. Did you try to configure your wireless using VASM?

http://www.houseofcraig.net/belkin_howto.php
http://wiki.linuxquestions.org/wiki/Belkin_F5D6020_ver.2
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: bigpaws on June 06, 2008, 12:29:34 pm
hata_ph
Quote
Using VASM, from the desktop, I chose "wireless"- it then asks is I want to use ndiswrapper. I'm not sure what to do with that one. If I cancel, it says "no wireless found", if I say "ok", I have no idea what to point it to?  Using VEC, I left the hostname as it was and the DNS server as what the router shows (192.168.0.1). It says "setting up hostname and DNS server", then flashes off. Using Netconf, I chose DHCP, and again it says "configuring..."...but still no connection. Tried the other settings as well (static IP)- nothing.
so the answer is yes.

You are correct that it is a simple .exe that does not unpack.

This looks promising:
http://www.linux.com/forums/printtopic/748?theme=print (http://www.linux.com/forums/printtopic/748?theme=print)

Here is something to try:
http://www.houseofcraig.net/atmel_guide.php (http://www.houseofcraig.net/atmel_guide.php)

Try the first one then look at the other. The amtel module that is loaded may not be the
proper module hence the reason for the first link.

HTH

Bigpaws

Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: tracyf on June 07, 2008, 04:42:13 am
Hi all~

I'm trying everything posted & will post back....

T
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: tracyf on June 12, 2008, 03:55:57 am
Ok-

So far, I've tried a few of these suggestions but no luck.

I did, however, boot Knoppix Live 5.1.1 and the card works with that.  Is there some way to use the drivers from Knoppix in Vector?  I searched, while in Knoppix and found a file and a folder called atmel- how can I insert these to work- or am I way off base?

T
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: bigpaws on June 12, 2008, 07:41:19 am
You are right on track.

If your card is being loaded by ndiswrapper then you
could use that driver for it. The folder location may give
you a clue.

Knoppix uses a modified kernel. I would guess that the
amtel module was compiled. You have the amtel driver
however there are reports of it being bad. You could also
consider downloading a new kernel and using the config
file to build a new kernel.

Bigpaws
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: rbistolfi on June 12, 2008, 08:12:33 am
Quote
ndiswrapper           186372  0
snd_seq_dummy           3716  0
snd_seq_oss            32128  0
snd_seq_midi_event      7168  2 snd_seq_midi,snd_seq_oss
snd_seq                48720  9 snd_seq_midi,snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            38048  0
snd_mixer_oss          15232  1 snd_pcm_oss
atmel_cs                6656  1
atmel                  34180  1 atmel_cs

I don't know too much about wireless, but my card wont work if both, ndiswrapper and native modules are inserted. I would try to remove the ndiswrapper module with modprobe -r ndiswrapper.
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: tracyf on June 18, 2008, 10:23:37 pm
I just stumbled across this http://www.linuxquestions.org/questions/linux-networking-3/f5d6020-v2-in-fedora-core4-370606/ (http://www.linuxquestions.org/questions/linux-networking-3/f5d6020-v2-in-fedora-core4-370606/) and wondered if there's a way to utilize these drivers in VL?

Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: hata_ph on June 19, 2008, 03:19:00 am
Quote
ndiswrapper           186372  0
snd_seq_dummy           3716  0
snd_seq_oss            32128  0
snd_seq_midi_event      7168  2 snd_seq_midi,snd_seq_oss
snd_seq                48720  9 snd_seq_midi,snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            38048  0
snd_mixer_oss          15232  1 snd_pcm_oss
atmel_cs                6656  1
atmel                  34180  1 atmel_cs

I don't know too much about wireless, but my card wont work if both, ndiswrapper and native modules are inserted. I would try to remove the ndiswrapper module with modprobe -r ndiswrapper.

did you try this?
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: tracyf on June 19, 2008, 09:38:22 pm
Quote
ndiswrapper           186372  0
snd_seq_dummy           3716  0
snd_seq_oss            32128  0
snd_seq_midi_event      7168  2 snd_seq_midi,snd_seq_oss
snd_seq                48720  9 snd_seq_midi,snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            38048  0
snd_mixer_oss          15232  1 snd_pcm_oss
atmel_cs                6656  1
atmel                  34180  1 atmel_cs

I don't know too much about wireless, but my card wont work if both, ndiswrapper and native modules are inserted. I would try to remove the ndiswrapper module with modprobe -r ndiswrapper.

did you try this?

This is going to sound dense- but I have no idea how to "try" this?  Is this a file I need to edit?

I did run modprobe -r ndiswrapper at a prompt, then tried vasm again to detect the card (as well as VLwifi and Wifi-Radar).

Can you possibly clarify/give a walkthrough? I'd really love to stay w/Vector...

TY so much,

T
Edit: I just ran ndiswrapper -l, and under "atmel" it says "invalid driver"...how do I point it to a/the correct one? According to the FCC id, the card is Atmel 76C502A. I also have other "invalids"- install.ini, makefile.kernelv2.6, pcandis5.sys, setup.exe, vl-hot-sda-vol1.desktop (I'm guessing this is from a thumb drive I plugged in once that's no longer there?)...

Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: hata_ph on June 19, 2008, 10:46:00 pm
1. remove the ndiswrapper module by typing "modprobe -r ndiswrapper" as root
2. check "lsmod" to see the ndiswrapper module is remove
3. run "ifconfig" and "iwconfig" and double check the wireless card is there either as ethx or wlanx
4. run "vwifi" as root

or if you want to use ndiswrapper..... (I never use ndiswrapper before, but from what I know this is the step to do it....)

1. remove the atmel module using "modprobe -r atmel_cs"
2. download the windows drivers for your wireless card... http://www.belkin.com/support/article/?lid=en&pid=F5D6020&aid=6065&scid=221
3. run "ndiswrapper -i xxx.inf" to install the drivers http://www.angelfire.com/linux/hardwire/Ncommands.html
4. run "vwifi" as root
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: tracyf on June 20, 2008, 06:27:10 am
1. remove the ndiswrapper module by typing "modprobe -r ndiswrapper" as root
2. check "lsmod" to see the ndiswrapper module is remove
3. run "ifconfig" and "iwconfig" and double check the wireless card is there either as ethx or wlanx
4. run "vwifi" as root

or if you want to use ndiswrapper..... (I never use ndiswrapper before, but from what I know this is the step to do it....)

1. remove the atmel module using "modprobe -r atmel_cs"
2. download the windows drivers for your wireless card... http://www.belkin.com/support/article/?lid=en&pid=F5D6020&aid=6065&scid=221
3. run "ndiswrapper -i xxx.inf" to install the drivers http://www.angelfire.com/linux/hardwire/Ncommands.html
4. run "vwifi" as root

Ok- did step one- removed ndis and checked it was gone. ifconfig doesn't show the card (eth1)- iwconfig does- and even had my wep settings. Ran Vwifi and it setup and said it assigned ip 192.168.0.16- but no internet...

RE: the Belkin driver- even unpacked, there's no .inf nor .sys...

T
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: hata_ph on June 20, 2008, 09:44:45 am
Ok- did step one- removed ndis and checked it was gone. ifconfig doesn't show the card (eth1)- iwconfig does- and even had my wep settings. Ran Vwifi and it setup and said it assigned ip 192.168.0.16- but no internet...

OK. If there is IP assigned to your wireless card, can you ping your wireless AP/router? If yes, it maybe due to DNS setting that causing the internet issue......
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: tracyf on June 20, 2008, 07:28:51 pm
Nope-

It says "destination host unreachable"...

T
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: bigpaws on June 20, 2008, 07:36:16 pm
post output of /etc/resolv.conf.

Should have an entry:

nameserver ipaddress of router

Bigpaws
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: hata_ph on June 20, 2008, 07:49:59 pm
can you post your ifconfig?
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: tracyf on June 22, 2008, 06:05:34 pm
etc/resolv.conf is

# Generated by dhcpcd for interface eth0
nameserver 192.168.0.1

Also, I have a file in etc called "resolv.conf-etc0.sv" and that shows this same info.  Both show eth0, which is my wired port- not the card...

ifconfig doesn't show the wireless at all- (should be eth1)

root:# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:06:5B:30:1D:53 
          inet addr:192.168.0.16  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2322 errors:0 dropped:0 overruns:1 frame:0
          TX packets:1242 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2120481 (2.0 MiB)  TX bytes:139566 (136.2 KiB)
          Interrupt:10 Base address:0xc00

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  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:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

...but iwconfig does??

root:# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11-DS  ESSID:"*******" 
          Mode:Managed  Channel:4  Access Point: FF:00:00:00:00:00   
          Bit Rate:11 Mb/s   
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:******************   Security mode:restricted
          Power Management: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

(I asterisked my network/wep to post- but they were correct)

Running VLwifi finds/allows me to set up eth1 (ssid, wep key) and finishes with a window "success, wireless interface eth1 is configured with address 192.168.0.16"- but there's no internet? 

Hope this helps with the mystery- thanks for sticking with me!

T
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: hata_ph on June 22, 2008, 06:31:25 pm
is your wireless router/AP's IP 192.168.0.255?
can you ping it?

first we need to verify is there a network connection between your wireless card and your wireless router/AP..
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: uelsk8s on June 22, 2008, 06:40:06 pm
192.168.0.255 is the "broadcast" address
192.168.0.1 is his router

Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: tracyf on June 22, 2008, 11:26:53 pm
Hi all,

I'm actually concerned about this bit:

Edit: I just ran ndiswrapper -l, and under "atmel" it says "invalid driver"...how do I point it to a/the correct one? According to the FCC id, the card is Atmel 76C502A. I also have other "invalids"- install.ini, makefile.kernelv2.6, pcandis5.sys, setup.exe, vl-hot-sda-vol1.desktop (I'm guessing this is from a thumb drive I plugged in once that's no longer there?)...

What about the others showing as "invalid"?  They seem important?  Or not?  I believe the sda is ok, I unmounted it on reboot- but the rest?

T

Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: nightshift on June 23, 2008, 02:34:26 pm
Hi tracyf

root:# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:06:5B:30:1D:53 
          inet addr:192.168.0.16  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2322 errors:0 dropped:0 overruns:1 frame:0
          TX packets:1242 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2120481 (2.0 MiB)  TX bytes:139566 (136.2 KiB)
          Interrupt:10 Base address:0xc00
 
Running VLwifi finds/allows me to set up eth1 (ssid, wep key) and finishes with a window "success, wireless interface eth1 is configured with address 192.168.0.16"- but there's no internet? 

eth0 and eth1 can't have the same ip address!

  nightshift

Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: hata_ph on June 23, 2008, 05:55:08 pm

eth0 and eth1 can't have the same ip address!


Ya, just notice the info at ifconfig and iwconfig is not tally.

Hi tracyf, do you have your network card connected will trying to configure your wireless card?
Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: tracyf on June 23, 2008, 11:28:39 pm
"eth0 and eth1 can't have the same ip address!"

ok, I get that- so how do I go about changing this?

"Ya, just notice the info at ifconfig and iwconfig is not tally.

Hi tracyf, do you have your network card connected will trying to configure your wireless card?"


The card is plugged in- not sure what you're asking here??

Tracy

Title: Re: Brand-n00b & Belkin wireless card trouble
Post by: hata_ph on June 24, 2008, 04:42:55 am
this is what i mean....sorry for the typo error...

Quote
Hi tracyf, do you have your network card connected while trying to configure your wireless card?"

It would be good if you join VL IRC chat, maybe we can help you more....

server: freenode
channel: #vectorlinux
Title: Re: Brand-n00b & Belkin wireless card trouble (solved)
Post by: tracyf on June 25, 2008, 05:14:57 pm
I'm now online!

Many thanks to Bigpaws and uelsk8s for their help in chat yesterday. ndiswrapper was indeed the problem- once the references were removed and eth1 set up properly, all was well. The following is the process used to get the card going:

First as root lsmod check that ndiswrapper is not loaded,
if it is use rmmod ndiswrapper to remove it.

Now check that eth1 is up:

ifconfig

If it is not listed then

ifconfig eth1 up

If it is listed then use

dhcpcd eth1

Now check ifconfig to see if there is an inet address
it there is you are done if not then try

iwlist eth1 scan

That should list your router if it is good if not start over
from the top

Again, thanks so much- I'll definitely be back and reading the forums as I delve deeper into VL,

TF