LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-27-2006, 03:51 AM   #1
kdog
LQ Newbie
 
Registered: Aug 2006
Posts: 22

Rep: Reputation: 15
Ubuntu Drapper - Netgear WG511 v3 Made in China


Hi there,

I am in need of some help here.

I got my WG511 v3 made in China WiFi PCMCIA card up and running using ndiwrapper and the smc drivers mentioned in most of the tutorials.

I have a connection to my Linksys WRT54G WiFi router and can surf the internet.
Only problem is, that I could only connect to the router whithout any encryption. So no WEP or WPA setup at the moment.

I need some sort of protection setup, but nothing has worked till now.
I would be fine for the beginning, if I could at least get WEP setup, but I havn`t gotten any connection yet with WEP.

Could somebody guide me through setting up the WiFi card with Encryption. I would prefer WPA, but if that dosn`t work, WEP would do aswell.

This is kind of getting urgent.

Thank`s in advance.
Ken
 
Old 08-27-2006, 11:06 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,779

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Encription is not all that tough. You have to set up your router too. Set up a wep key there, and then set up the same key on your lappy.

What distro? Have a look to see if there are any config tools, or if you have to do it command line.
 
Old 08-27-2006, 11:13 AM   #3
kdog
LQ Newbie
 
Registered: Aug 2006
Posts: 22

Original Poster
Rep: Reputation: 15
Hi,

thank`s for youre answer.

I am running Ubuntu drapper drake.

I had WEP setup on my Router and wanted to set it up on my laptop, but the laptop didn`t connect. First after I took out all the encpytion from router and laptop I could connect.

I will give it another try, setting it up and then rebooting.
Will let you know in a few minutes.

Ken
 
Old 08-27-2006, 11:27 AM   #4
kdog
LQ Newbie
 
Registered: Aug 2006
Posts: 22

Original Poster
Rep: Reputation: 15
o.k. I setup WEP on my router and entered my code.

Then I setup the WiFi card for WEP and entered the code there answell. But it won`t connect.

I don`t know, if the Networl Tool that is standard in ubuntu is passing on the information or not, to the matching configuration file.

I think we should try to set it up by hand to see what happens.

Could somebody tell me how and what I need to enter in the command window?

Cheers
Ken
 
Old 08-27-2006, 11:42 AM   #5
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Try iwconfig wlan0 key FEFEFEFEFE where FEFEFEFEFE is the WEP key in hexadecimal. Add the line to /etc/network/interfaces .
 
Old 08-27-2006, 12:53 PM   #6
kdog
LQ Newbie
 
Registered: Aug 2006
Posts: 22

Original Poster
Rep: Reputation: 15
o.k.

I entered iwconfig wlan0 key FEFEFEFEFE
and added the line key FEFEFEFEFE to /etc/network/interfaces.
Then I put this key into my router, but nothing is happening.
How can I get that key back out, so I can connect back up to the router?

Ken
 
Old 08-27-2006, 01:37 PM   #7
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
No that was just an example, set up wep on your router first with a passphrase then use the resulting hex key in the iwconfig wlan0 key FEFEFEFEFE line replacing FEFEFEFEFE with your new key.

Last edited by beagle2; 08-27-2006 at 01:41 PM.
 
Old 08-27-2006, 02:15 PM   #8
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
You can do WPA with that card - I had the same one. You have done the hard bit getting it to work with ndiswrapper. I've lent the laptop out now so don't have the details anymore.

Have you tried network-manager? It's a gui for wireless networks and it works for both WEP and WPA. If it asks you to set up a 'wallet' and if you don't want to be typing in a password everytime you connect, then give it no password. It will object, but accept.

Another method for WPA is with wpasupplicant.

I'm sorry I have no details. Both network-manager and wpasupplicant are available through the repositories, though you may need to enable universe (or even multiverse). Just google them and see what you can find. network-manager is a bit disturbing for it's lack of configurability, but it does work.
 
Old 08-30-2006, 07:30 AM   #9
kdog
LQ Newbie
 
Registered: Aug 2006
Posts: 22

Original Poster
Rep: Reputation: 15
Sorry, but I forgot, that I posted here.

I tried all wikis and tutorials for setting up WPA and none work with my card.

I am going absolutely bonkers here.

Ken
 
Old 08-30-2006, 08:26 AM   #10
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,779

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
There is more to getting a wireless connection working than just matching the keys. Yes, they have to match, but also have a look at:

ESSID: This parameter is set in your router, and some won't accept a connection unless this matches.

Mode: can be ad-hoc, master, repeater, or secondary ( most PC's would be secondary ).

Channel: This setting is set in the router, and controls the carrier frequency your card puts out. If they don't match, you won't connect.

Encryption: This is the keys, they must match, exactly. This can be a 64 bit or a 128 bit key. The longer the key the more secure.

There are more parameters, like RTS etc, my guess is the defaults will at least work most of the time.

At this point I don't know what tools you are using to configure your card, or what distro. A lot of this information is stored in the router.

Are you running DHCP? If yes, did you run a pump command to cause the system to try and aquire a IP address?
 
Old 08-30-2006, 08:41 AM   #11
kdog
LQ Newbie
 
Registered: Aug 2006
Posts: 22

Original Poster
Rep: Reputation: 15
@ cammori,

as I mentioned, I am using ubuntu drapper.
In the german wikki`s there are tons of tutorials for the netgear wg511 v3 made in china WiFi card.

But for some reason, the tutorials I have tried, don`t want to work on my system.
Either I am doing something wrong, or I`m to stupid or I simply havn`t tried it long enough...

I tried a dhcp poll and I can see, that the card is trying t5o get an adress, but I have the feeling it is lloking in the wrong subnet.
Mine is 255.255.255.0 and the dhcp poll is going to 255.255.255.255

But I don`t know, if that ist the problem, since I also tried it with a atstic IP adress.

The card itself is blinking and trying to connect to my router.
I pulled the hex key from the router with a command, don`t which one, can`t remember at the moment, but I copy pasted it into the script (/etc/network/interface) according to the tutorial I went after.

But it just dosn`t want to connect.

I am going to reinstall everything this evening and give it a newe try.

Ken
 
Old 08-30-2006, 09:25 AM   #12
youngri
Member
 
Registered: Jun 2003
Location: Sydney Australia
Distribution: SUSE / PCLinuxOS / MEPIS
Posts: 65

Rep: Reputation: 15
Setting up WPA with wireless

Hi

This should help you determine if it is possible.

Set up your router to use WPA-PSK and put in your network key.

On your laptop make sure that you have your network drivers installed for the card (Hint: use iwconfig). Make sure that you have wpasupplicant installed as well (This does the WPA).

From a command shell and as root type (Obviously subsitute your network ID and key here:-);

wpa_passphrase ESSID NetworkKey >> /etc/wpa_supplicant.conf



Then type (I'm presuming its the Prism chipset);

wpa_supplicant -Dprism54 -iwlan0 -c /etc/wpa_supplicant.conf -dd

I am presuming that it is a prism chipset and that iwconfig show its as wlan0.

From another root terminal, type "dhclient wlan0". This should give you a IP address.

If this all works, install networkmanager. It can cope with most of this automatically.

Regards

Richard
 
Old 08-30-2006, 10:06 AM   #13
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
As I recall, this card does not use the prism chipset, and blacklisting the prism driver module was key to getting the thing to work (which has been successfully done, right?). So that -D option would be different. Is it -Dndiswrapper ?

And check all your spelling - one wrong letter or upper/lower case error will stop you from getting through. Change your WPA passphrase to something simple, all in the same case, until you know that it works.
 
Old 08-30-2006, 10:51 AM   #14
kdog
LQ Newbie
 
Registered: Aug 2006
Posts: 22

Original Poster
Rep: Reputation: 15
o.k.

I am just reinstalling the System again.

Then I will give this a try and let you know what is happening.

my passphrase is all lowercase and nothing special in there.

But I will keep you guys posted.

@ bernied

The card is based on the prism54 chipset, but will not work with the prism drivers. That is why I have do install it unsing ndiswrapper.
It dosn`t reall ymatter wich distri is involved, there are always problems with that specific card model. And the prism54 files need to be blacklisted.

Ken

Last edited by kdog; 08-30-2006 at 11:28 AM.
 
Old 08-30-2006, 12:42 PM   #15
kdog
LQ Newbie
 
Registered: Aug 2006
Posts: 22

Original Poster
Rep: Reputation: 15
o.k.

I got the connection established between the router and my WiFi car, but at the moment whithout security.

Here some outputs:

lspci -vv

0000:06:00.0 Network controller: Intersil Corporation Intersil ISL3890 [Prism GT /Prism Duette] (rev 01)
Subsystem: Netgear WG511 Wireless Adapter
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort - <MAbort- >SERR- <PERR-
Latency: 56 (2500ns min, 7000ns max), Cache Line Size: 0x03 (12 bytes)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 26000000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot +,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-



dmesg

[ 4472.407165] lo: Disabled Privacy Extensions
[ 4472.407673] IPv6 over IPv4 tunneling driver
[ 4475.148446] ndiswrapper version 1.8 loaded (preempt=yes,smp=no)
[ 4475.243377] ndiswrapper: driver 2802w (SMC,04/29/2004, 3.0.11.1) loaded
[ 4475.244002] PCI: Enabling device 0000:06:00.0 (0000 -> 0002)
[ 4475.244131] PCI: Setting latency timer of device 0000:06:00.0 to 64
[ 4475.245973] ndiswrapper: using irq 11
[ 4477.459027] wlan0: vendor: 'SMC2802W 2.4GHz 54 Mbps Wireless PCI Adapter'
[ 4477.459048] wlan0: ndiswrapper ethernet device 00:0f:b5:27:cb:9f using driver 2802w, 1260:3890.5.conf
[ 4477.459150] wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA
[ 4482.664324] eth1: no IPv6 routers present
[ 4488.413552] wlan0: no IPv6 routers present


iwconfig wlan0

ken@kenslaptop:~$ iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"privatnetz"
Mode:Managed Frequency:2.452 GHz Access Point: 00:12:17D:C8:E7
Bit Rate:54 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Power Managementff
Link Quality:100/100 Signal level:-40 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


So we know, the card works.

What should I do next?

Ken
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 5 and Netgear WG511 v3 Made in China kdog Linux - Hardware 1 08-25-2006 08:19 AM
Netgear wg511 Made in China v3 wireless card r_f_k_c Linux - Wireless Networking 4 02-12-2006 05:19 PM
wg511Tv2 (made in China) on ubuntu linux cxy0481 Linux - Wireless Networking 1 10-29-2005 05:29 PM
Powerbook G3 + Netgear WG511 on Ubuntu jarnold_lq Linux - Laptop and Netbook 0 09-07-2005 12:04 AM
wg511 (china) ndiswrapper el_pajaro! Linux - Wireless Networking 5 05-16-2005 03:26 PM


All times are GMT -5. The time now is 10:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration