FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
(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.
[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;
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.
* 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.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
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);
* 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."
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.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.