LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-19-2007, 04:33 AM   #1
coolio2006
LQ Newbie
 
Registered: Mar 2007
Posts: 6

Rep: Reputation: 0
wg511v2 in FC6


Can someone help me because I can't for the life of me get my wireless NIC hooked upto my FC6 laptop. Anyway I'm using ndiswrapper to do this, and I've been getting the drivers from a number of sources, some of them being from the CD that came with the card, and also from here. /mediawiki/index.php/List (It won't let me post the exact link but its the 'list' link on the ndiswrapper website.

Some info on the card is:

[root@Vigor14 sbin]# ./lspcmcia
Socket 0 Bridge: [yenta_cardbus] (bus ID: 0000:02:06.0)
Socket 1 Bridge: [yenta_cardbus] (bus ID: 0000:02:06.1)
CardBus card -- see "lspci" for more information

04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)


I've tried a fair few drivers from there, but nothing seems to be working. Anyway here's some of the things that are happening.

[root@Vigor14 sbin]# ./ndiswrapper -i /home/coolio/Desktop/Windows\ XP/WG511v2.INF
installing wg511v2 ...


[root@Vigor14 sbin]# ./ndiswrapper -l
wg511v2 : driver installed
device (11AB:1FAA) present

(I understand it should say hardware present, not device present?)


[root@Vigor14 sbin]# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.


[root@Vigor14 sbin]# more /etc/modprobe.conf
alias eth0 e100
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias wlan0 ndiswrapper


[root@Vigor14 sbin]# /sbin/iwconfig
lo no wireless extensions.

peth0 no wireless extensions.

sit0 no wireless extensions.

vif0.0 no wireless extensions.

eth0 no wireless extensions.

vif0.1 no wireless extensions.

veth1 no wireless extensions.

vif0.2 no wireless extensions.

veth2 no wireless extensions.

vif0.3 no wireless extensions.

veth3 no wireless extensions.

xenbr0 no wireless extensions.




Could someone please help? I'm using the latest ndiswrapper from the ndiswrapper website and have followed the instructions from that website. I should also mention that there are no lights at all on the NIC itself. Thanks.

Last edited by coolio2006; 03-19-2007 at 05:18 AM.
 
Old 03-19-2007, 05:36 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Quote:
[root@Vigor14 sbin]# ./ndiswrapper -l
wg511v2 : driver installed
device (11AB:1FAA) present

(I understand it should say hardware present, not device present?)
This looks right, for example my wireless device;
Code:
$ ndiswrapper -l
bcmwl5 : driver installed
        device (14E4:4318) present (alternate driver: bcm43xx)
Quote:
[root@Vigor14 sbin]# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
With the Fedora Core 32-bit kernels the default is to use 4k stacks instead of 16k stacks, which is the problem. check your /var/log/messages file right after you use this command above and check;

/usr/bin/tail /var/log/messages

The solutions are to rebuild the kernel for 16k stacks then build ndiswrapper again, or use a third party provided version of ndiswrapper like;

http://atrpms.net/dist/fc6/ndiswrapper/

Just add the atrpms.repo file to your /etc/yum.repos.d directory, see;

http://atrpms.net/install.html

When ready do something like; su -c 'yum install ndiswrapper'
(Enter root's password when prompted)

Quote:
[root@Vigor14 sbin]# more /etc/modprobe.conf
alias eth0 e100
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias wlan0 ndiswrapper
Looks good.

Why are you running as root??? For most of the commands you (and I) posted could and should have been done as any normal user. The only one that you need root's rights for is for checking the /var/log/messages file that I listed.
 
Old 03-19-2007, 06:20 AM   #3
coolio2006
LQ Newbie
 
Registered: Mar 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Lenard, I've tried what you've suggested above and I'm still having exactly the same issues. On this website http://ndiswrapper.sourceforge.net/m...dex.php/List#N - my card is exactly this as suggested:

# Card: Netgear WG511 v2 54Mbps Cardbus adapter (Made in China)

* Chipset: Marvell Technology Group Ltd.: Unknown device 1faa (rev 03)
* pciid: 11ab:1faa
* Driver: Windows 2000 driver available on the Netgear CD: WG511v2.INF
* Other:Tested with ndiswrapper 1.1 source compile. Also works with ndiswrapper 1.2 release, using Fedora Core 3, with 16k kernel from www.Linuxant.com (2.6.9-1.667), using Windows driver. Possible hang on 'modprobe ndiswrapper', but works on reboot, once ndiswrapper is in /etc/modprobe.conf via 'ndwrapper -m'. Note: have not tried any encryption settings. Note: Previous info here was wrong, win XP driver does not work. Encryption settings work. Problem at startup on Ubuntu Dapper. Clashes with mrv8k driver at system startup. Blacklist mrv8k by adding 'blacklist mrv8k'(without quotes) in /etc/modprobe.d/blacklist. This solves the problem at startup.



I've tried Win2000 drivers as suggested there, but same issue.
 
Old 03-19-2007, 08:08 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Notice you just said that ndiswrapper works with FC3 and the 16k kernel from Linuxant.com.

So build yourself a 16k stack kernel, it is not as hard as you think it is. Download and prep the kernel source as per the FC6 documentation and build the new kernel. All you need to change is one setting in the configuration file.

Yes it takes a little effort and time, but you will be better off. I for numerous reasons always build my own custom kernels, once you get a good working kernel configuration it is easy to keep it maintained. I prefer using the vanilla kernel sources from kernel.org myself and have not had any problems (just like many many others).

$ uname -a
Linux Aspire5000 2.6.21-rc4-git1 #1 SMP Sun Mar 18 12:14:52 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/*release
Red Hat Enterprise Linux Client release 5 (Tikanga)

Some suggested reading (which covers 99% of what you need to know about building kernels);

http://www.kernel.org/pub/linux/kern...a_nutshell.pdf

The only thing not covered is prepping the kernel source as supplied by Fedora / Red hat and family (the other 1%).

Last edited by Lenard; 03-19-2007 at 08:10 AM.
 
Old 03-19-2007, 08:13 AM   #5
coolio2006
LQ Newbie
 
Registered: Mar 2007
Posts: 6

Original Poster
Rep: Reputation: 0
I think you misread that Lenard (or I made it unclear) ...I was quoting

"# Card: Netgear WG511 v2 54Mbps Cardbus adapter (Made in China)

* Chipset: Marvell Technology Group Ltd.: Unknown device 1faa (rev 03)
* pciid: 11ab:1faa
* Driver: Windows 2000 driver available on the Netgear CD: WG511v2.INF
* Other:Tested with ndiswrapper 1.1 source compile. Also works with ndiswrapper 1.2 release, using Fedora Core 3, with 16k kernel from www.Linuxant.com (2.6.9-1.667), using Windows driver. Possible hang on 'modprobe ndiswrapper', but works on reboot, once ndiswrapper is in /etc/modprobe.conf via 'ndwrapper -m'. Note: have not tried any encryption settings. Note: Previous info here was wrong, win XP driver does not work. Encryption settings work. Problem at startup on Ubuntu Dapper. Clashes with mrv8k driver at system startup. Blacklist mrv8k by adding 'blacklist mrv8k'(without quotes) in /etc/modprobe.d/blacklist. This solves the problem at startup."


All that was a quote from http://ndiswrapper.sourceforge.net/m...dex.php/List#N
I haven't got it to work at all just yet.

Last edited by coolio2006; 03-19-2007 at 08:15 AM.
 
Old 03-19-2007, 09:25 PM   #6
coolio2006
LQ Newbie
 
Registered: Mar 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Some assistance please?
 
Old 03-20-2007, 07:20 AM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Yes, I did misread what you wrote, but my advice applies. You need to build or use a 16k stack kernel.

Quote:
Also works with ndiswrapper 1.2 release, using Fedora Core 3, with 16k kernel from www.Linuxant.com (2.6.9-1.667), using Windows driver.
I already provided you with the instructions on how to build. if you want to jest install a 16l stack kernel then visit;

http://www.linuxant.com/drivers/hsf/...ernel-i686.php
 
Old 03-20-2007, 11:06 PM   #8
coolio2006
LQ Newbie
 
Registered: Mar 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Hi Lenard the good news is that I've got the wireless all working now (I was booting into the wrong kernel). Anyway I can connect to my home LAN which has been set up with WEP, but now when I try to access a unsecured network I cannot. I've tried doing a iwconfig wlan0 essid NAME open key off and then dhclient wlna0 but that hasn't helped. Could you assist me in connecting to a unsecured network please? The name of the SSID I want to connect to is "Macquarie University"
Thanks.

Last edited by coolio2006; 03-21-2007 at 12:18 AM.
 
Old 03-21-2007, 06:38 AM   #9
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Use the Network Manager from the menu to control which wireless network you connect to and how.
Create different profiles for home, school and where ever else to want to connect to. The same steps for setting up your home wireless connection apply just without any wep/wpa included.

You could create a second wireless config file (ifcfg-wlan1 for example) for a dhcp unsecured connection. Then bring down your wlan0 connection (ifdown wlan0) and bring up your wlan1 connection (ifup wlan1). You might have to delete/rename/edit your /etc/resolv.conf file depending on the wireless networks you want to connect to.

Use the typed example command to assit you; iwlist wlan1 scan

Here's a sample ifcfg-wlan1 file to use as a template;

TYPE=Wireless
DEVICE=wlan1
HWADDR=
BOOTPROTO=dhcp
GATEWAY=<you might need this IP address info from the school here>
DOMAIN=
ONBOOT=no
ONHOTPLUG=no
USERCTL=yes
IPV6INIT=no
PEERDNS=no
ESSID=any
CHANNEL=1
MODE=Auto
RATE=Auto
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Netgear WG511v2 Marvell PCMCIA + ubuntu not working incer Linux - Laptop and Netbook 2 02-25-2007 05:10 PM
Netgear WG511v2 Wireless PCMCIA card on Kubuntu netboy_541 Linux - Laptop and Netbook 2 01-09-2007 10:59 AM
WG511v2 Card Setup Problems ~P3~ Linux - Wireless Networking 1 04-05-2006 02:15 PM
WG511v2 NIC - ndiswrapper not working? tallen Linux - Wireless Networking 7 01-29-2006 11:56 AM
Netgear WG511v2 Lenny420 Linux - Hardware 1 06-10-2005 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration