[HOW TO] Installing Wireless Networking


Recommended Posts

  DKY said:
DjmUK:

I'm having a problem with Part 7 on Step 2 of the first post of this topic.  I'm extremely new to Linux and have Fedora Core 4.  I'm trying to get my Linux card to work on this thing.  I do an lspci and come up with the following (just for the sake of having posted as much info as possible)

So I go to do this install on my nix box and get to this part

and type in the word 'make' to get something along the following output (I had to write it down seeing as how I have no net connection).

Someone please tell me what this means?  Why am I getting an error?

586129713[/snapback]

You need to install the sources for your kernel.

I think you should be able to install the sources via yum, but there are too many hits for me to track down the one(s) that may help. None of the titles jumped out at me as being "the answer".

http://www.google.com/linux?q=fedora+4+ins...nel+sources+yum

Okay, I'm familiar with Windoze but not Linux. What's a source? My kernel is something like my version, right? 2.6.11-1.1369_FC4?? So, in essence I have to install a "source" for 2.6.11-1.1369_FC4, but I can't figure out what a source is or where to get it. So far all I've got is this

Source - The code that makes a program work.

But what that is saying to me is that there must be different versions of ndiswrapper and I picked the wrong one????

......PLEASE FORGIVE ME FOR BEING SO IGNORANT ABOUT THIS SUBJECT I APPOLOGIZE.....

Also, what is yum, I haven't quite googled that question yet but I've been googling the source question for a few days now to no avail.

Yes, source is the code that was written to create the program (in this case, the kernel). It is written in human-readable form (generally in C), but is not machine-executable until it is compiled into 'binary' code (like a Windows .exe). And you are right in needing to download the source that matches your current kernel version. You are understanding it fine, so far. (Y)

As far as "yum" goes, it is an application that manages all of your installed packages (including the kernel). You can type "yum install celestia", and yum will search for, and install, the space simulator "Celestia". You type "yum update", and yum will check for newer versions of everything that you have on your computer. To find out more, you type "man yum" to read the 'manual' for 'yum'.

Ok, did a bit of hunting, and here is what I have found:

Procedure that may be helpful: http://fedoraforum.org/forum/showthread.php?t=29434

(you probably won't want/need to rebuild your whole kernel, but the first part will install it for you) EDIT: I think that all you will want to di is the single "rpm" command as step #2.

Where your "source RPM" is located: http://download.fedora.redhat.com/pub/fedo...x/core/4/SRPMS/

Look for "kernel-2.6.11-1.1369_FC4.src.rpm"

That should get what you are needing.

Okay, an update: I followed your link (thank you so much for the direction, some people need their hands held) installed the src (I only used the first command '$ rpm -ivh kernel-2.6.9-1.1021_FC4.src.rpm' I don't know if I should have done the rest of it, from your post earlier it didn't seem like it.) but I was getting nokey errors. So I stumbled upon something online saying that I need to do a 'yum install kernel-devel' in order to not get a nokey error. It worked and then the src installed fine (I think) and now I'm at the ndiswrapper install at the beginning of this post again. I get to the make part and see a bunch of errors. Did I mess something up?

  Quote
[root@localhost ndiswrapper-1.2]# make

make -C driver

make[1]: Entering directory `/home/tv/ndiswrapper-1.2/driver'

make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/home/tv/ndiswrapper-1.2/driver \

        NDISWRAPPER_VERSION=1.2 \

        EXTRA_VERSION= modules

/usr/src/kernels/2.6.11-1.1369_FC4-i686/scripts/gcc-version.sh: line 11: gcc: command not found

/usr/src/kernels/2.6.11-1.1369_FC4-i686/scripts/gcc-version.sh: line 12: gcc: command not found

make[2]: gcc: Command not found

make[2]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'

  CC [M]  /home/tv/ndiswrapper-1.2/driver/hal.o

/bin/sh: gcc: command not found

make[3]: *** [/home/tv/ndiswrapper-1.2/driver/hal.o] Error 127

make[2]: *** [_module_/home/tv/ndiswrapper-1.2/driver] Error 2

make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'

make[1]: *** [default] Error 2

make[1]: Leaving directory `/home/tv/ndiswrapper-1.2/driver'

make: *** [all] Error 2

Errrrrr, doesnt yum install linux-source simply work? :unsure:

edit: nevermind, i see you have the source installed now... But for future reference thats how you install your kernel source, you have a package manager, USE IT... although you were advised not to for some reason...

Edited by Bliksem

SWEET!!! now I have the compiler installed and started to do the make. I got to I think its number 4 on part 5 and realized that it says that my driver is an invalid driver and that kinda worries me. One more thing is that in the instructions it says to use all caps when pointing at the .inf file. Problem is, mine's not in all caps for some strange reason. Here's my histor below

  Quote
[root@localhost ndiswrapper-1.2]# make

make -C driver

make[1]: Entering directory `/home/tv/ndiswrapper-1.2/driver'

make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/home/tv/ndiswrapper-1.2/driver \

        NDISWRAPPER_VERSION=1.2 \

        EXTRA_VERSION= modules

make[2]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'

  CC [M]  /home/tv/ndiswrapper-1.2/driver/hal.o

  CC [M]  /home/tv/ndiswrapper-1.2/driver/iw_ndis.o

  CC [M]  /home/tv/ndiswrapper-1.2/driver/loader.o

/home/tv/ndiswrapper-1.2/driver/loader.c: In function ?ndiswrapper_add_pci_device?:

/home/tv/ndiswrapper-1.2/driver/loader.c:202: warning: ignoring return value of ?pci_set_power_state?, declared with attribute warn_unused_result

  CC [M]  /home/tv/ndiswrapper-1.2/driver/misc_funcs.o

  CC [M]  /home/tv/ndiswrapper-1.2/driver/ndis.o

  CC [M]  /home/tv/ndiswrapper-1.2/driver/ntoskernel.o

  CC [M]  /home/tv/ndiswrapper-1.2/driver/pe_linker.o

  CC [M]  /home/tv/ndiswrapper-1.2/driver/proc.o

  CC [M]  /home/tv/ndiswrapper-1.2/driver/wrapper.o

/home/tv/ndiswrapper-1.2/driver/wrapper.c: In function ?miniport_halt?:

/home/tv/ndiswrapper-1.2/driver/wrapper.c:293: warning: ignoring return value of ?pci_set_power_state?, declared with attribute warn_unused_result

/home/tv/ndiswrapper-1.2/driver/wrapper.c: In function ?ndiswrapper_suspend_pci?:

/home/tv/ndiswrapper-1.2/driver/wrapper.c:737: warning: ignoring return value of ?pci_set_power_state?, declared with attribute warn_unused_result

/home/tv/ndiswrapper-1.2/driver/wrapper.c: In function ?ndiswrapper_resume_pci?:/home/tv/ndiswrapper-1.2/driver/wrapper.c:759: warning: ignoring return value of ?pci_enable_device?, declared with attribute warn_unused_result

  CC [M]  /home/tv/ndiswrapper-1.2/driver/usb.o

  CC [M]  /home/tv/ndiswrapper-1.2/driver/divdi3.o

  LD [M]  /home/tv/ndiswrapper-1.2/driver/ndiswrapper.o

  Building modules, stage 2.

  MODPOST

  CC      /home/tv/ndiswrapper-1.2/driver/ndiswrapper.mod.o

  LD [M]  /home/tv/ndiswrapper-1.2/driver/ndiswrapper.ko

make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'

*** WARNING:  Kernel is compiled with 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel

make[1]: Leaving directory `/home/tv/ndiswrapper-1.2/driver'

make -C utils

make[1]: Entering directory `/home/tv/ndiswrapper-1.2/utils'

cc -Wall -g -DNDISWRAPPER_VERSION=\"1.2\"    -c -o loadndisdriver.o loadndisdriver.c

gcc -o loadndisdriver loadndisdriver.o

make[1]: Leaving directory `/home/tv/ndiswrapper-1.2/utils'

[root@localhost ndiswrapper-1.2]# make install

make -C driver install

make[1]: Entering directory `/home/tv/ndiswrapper-1.2/driver'

make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/home/tv/ndiswrapper-1.2/driver \

        NDISWRAPPER_VERSION=1.2 \

        EXTRA_VERSION= modules

make[2]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'

  Building modules, stage 2.

  MODPOST

make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'

*** WARNING:  Kernel is compiled with 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel

mkdir -p /lib/modules/2.6.11-1.1369_FC4/misc

install -m 0644 ndiswrapper.ko /lib/modules/2.6.11-1.1369_FC4/misc

/sbin/depmod -a

make[1]: Leaving directory `/home/tv/ndiswrapper-1.2/driver'

make -C utils install

make[1]: Entering directory `/home/tv/ndiswrapper-1.2/utils'

install -D -m 755 loadndisdriver /sbin/loadndisdriver

install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper

install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo

NOTE: Windows driver configuration file format has changed since 1.0-rc2. You must re-install Windows drivers if they were installed before.

make[1]: Leaving directory `/home/tv/ndiswrapper-1.2/utils'

mkdir -p -m 0755 /usr/share/man/man8

install -m 644 ndiswrapper.8 /usr/share/man/man8

[root@localhost ndiswrapper-1.2]# ls -l /lib/modules/`uname -r`/misc/

total 1640

-rw-r--r--  1 root root 1667592 Jul  1 16:50 ndiswrapper.ko

[root@localhost ndiswrapper-1.2]# whereis ndiswrapper loadndisdriver wlan_radio_averatec_5110hx

ndiswrapper: /usr/sbin/ndiswrapper /usr/share/man/man8/ndiswrapper.8

loadndisdriver: /sbin/loadndisdriver

wlan_radio_averatec_5110hx:

[root@localhost ndiswrapper-1.2]# /usr/sbin/ndiswrapper -i /home/tv/BCMWL5.INF

Installing bcmwl5

cp: cannot stat `/home/tv/BCMWL5.INF': No such file or directory

[root@localhost ndiswrapper-1.2]# /usr/sbin/ndiswrapper -i /home/tv/bcmwl5.inf

bcmwl5 is already installed. Use -e to remove it

[root@localhost ndiswrapper-1.2]# ndiswrapper -l

Installed ndis drivers:

bcmwl5  invalid driver!

[root@localhost ndiswrapper-1.2]#

  • 3 weeks later...

hello i have a little trouble installing my USB wlan card with ndiswrapper 1.2 I have read about others using this usb device with ndiswrapper so it should work, but it doesn't. I have completed all steps from post #1 and #3 with out errors but when i try to reactivate the network with

  Quote
service network restart

i get

  Quote
determining IP address for wlan0: Failed no link present. Check cable? [FAILED]

what could be the problem? All lights are on and it starts blinking when trying to get an IP (which according to the book means that it has a valid connection and is sending/receiving data) :cry:

It should. NDISWrapper uses the Windows drivers and makes them work in Linux. There may be a newer version out now than this procedure specifies. I don't have wireless, so I can't vouch.

  • 3 weeks later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Movavi Video Editor Plus 25.12.0 by Razvan Serea With Movavi Video Editor, you can either enhance your video files with two or three simple steps, or turn them into something completely new. Create your own movies using multiple filters, transitions, and special effects: show multiple videos on one screen with the Picture in picture effect or change the background with the Chroma Key effect, imitate the camera zoom or make your video look like an old-style movie. Adjust video parameters such as brightness, contrast and colors. Stabilize shaky footage, improve video quality and remove defects. Create video presentations, tutorials or educational videos: add titles and record your own narration to create a video with voiceover. Import video from any source: TV-tuner, webcam, camcorder, or VHS. Drop multiple media files onto a timeline and let your imagination do the rest! Features at a glance: Video and audio editing on a timeline Edit, enhance videos Add background music Apply titles and effects Image quality improvement Hollywood-worthy effects High-grade titles and fades Digitize VHS tapes, record video from TV tuners Stabilize any shaky sections Support for a wide range of formats Prepare your videos for uploading to YouTube, Facebook, Vimeo, or any other website New in Movavi Video Editor 2025: Revamped timeline for easier editing The new timeline is now clearer and more streamlined. Get your projects done faster and have more fun with anything – from short vids for socials to longer family movies. Frame-precise cuts in a click Give your videos a sharper look with the new Blade tool. Easily make precise cuts and create eye-catching montages like your favorite bloggers. Pro-quality color correction Get next-level color correction with the same simplicity. Boost colors in a snap and make more viewers fall in love with your videos. AI motion tracking Enhance reality in your videos with additional moving graphics. Just click, and AI will quickly attach any photos, videos, emojis, or memes to objects in your footage. Perfect-match overlay effects Now each overlay effect has 13 blending modes to choose from. Try each of them with the press of a button and pick the one that fits your video perfectly. Best video effects – at your fingertips Create awesome videos in any style with our huge collection of professionally designed effects. Now you can try them all right away, right in the app. Movavi Video Editor 25.12.0 changelog: Just a minor upgrade to keep everything running smoothly. Download: Movavi Video Editor Plus 25.12.0 | 5.1 MB (Shareware) View: Movavi Video Editor Plus Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Major Privacy 0.98.3 Beta by Razvan Serea MajorPrivacy is a cutting-edge privacy and security tool for Windows, offering unparalleled control over process behavior, file access, and network communication. It is a continuation of the PrivateWin10 project. By leveraging advanced kernel-level protections, MajorPrivacy creates a secure environment where user data and system integrity are fully safeguarded. Unlike traditional tools, MajorPrivacy introduces innovative protection methods that ensure mounted encrypted volumes are only accessible by authorized applications, making it the first and only encryption solution of its kind. MajorPrivacy – Ultimate Privacy & Security for Windows key features Process Protection – Isolate processes to block interference from unauthorized apps, even with admin privileges. Software Restriction – Block unwanted apps and DLLs to ensure only trusted software runs. Revolutionary Encrypted Volumes Secure Storage – Create encrypted disk images for sensitive data. Exclusive Access – Unlike traditional tools, only authorized apps can access mounted volumes—blocking all unauthorized processes. File & Folder Protection – Lock down sensitive files and prevent unauthorized access or modifications. Advanced Network Firewall – Control which apps can send or receive data online. DNS Monitoring & Filtering – Track domain access and block unwanted sites (Pi-hole compatible filtering coming soon). Tweak Engine – Disable telemetry, cloud integration, and invasive Windows features for better privacy. Why MajorPrivacy? Kernel-Level Security – Protects at the deepest system level. Unmatched Encryption Protection – Keeps mounted volumes safe from all unauthorized access. Full System Control – Block, isolate, or restrict processes as needed. Enhanced Privacy – Stops Windows & apps from collecting unnecessary data. Perfect for privacy-conscious users, IT pros, and anyone who wants total system control. Major Privacy 0.98.3 Beta changelog: This release of MajorPrivacy introduces several important improvements, bug fixes, and optimizations. The resource access rules engine has been enhanced to include the user as an additional parameter, enabling finer-grained access control. CPU usage has been reduced in both the user interface and background service, improving overall performance. The ImBox feature has been updated to avoid modifying container file timestamps when accessing secure encrypted volumes. Firewall rule handling has been improved for Store Apps on Windows 23H2 and later versions, increasing compatibility and reliability. A critical issue has been resolved in ImBox.exe that affects the mounting of older encrypted volumes; users should use a previous build to recover data and then recreate the volumes using this or a later version. Additionally, several interface and functionality bugs have been addressed: translations now load correctly, the Data Editor’s tree view now functions properly across multiple .dat files, and the Execution Monitor displays entries as expected when a time filter is applied. The “Add to Group” menu now correctly lists all available groups, and folder creation is no longer incorrectly permitted under Directory Listing and Read-only actions. Download: Major Privacy 0.98.3 Beta | 59.4 MB (Open Source) View: MajorPrivacy Home Page | Github Project page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Hi there! Great question and yes, the Twenty Twenty-Four theme (TT4) + Gutenberg does have a few quirks when it comes to spacing and columns. To reduce the spacing between the image and the text in a two-column layout, here are a few things to try:  1. Adjust Block Spacing (Direct Method) Click on the Column Block (the outer wrapper that holds both your image and text). In the right sidebar, under "Block" > "Dimensions", look for the "Block spacing" setting (sometimes called “Gap”). Reduce the value (in px, em, or %) to tighten the space between elements inside that column. 2. Use Padding & Margin Controls Click on the Image block, and then the Text block individually. Under “Dimensions”, adjust the Margin of the Image or Text block (especially bottom or top margin) to reduce extra white space. Try setting margins to 0 or a small number like 8px. 3. Use Group Block (Optional) If the spacing controls aren’t behaving: Wrap the image + text inside a Group block. Then apply padding/margin settings to the inner blocks for better control.
    • Looks interesting, I love the art style. How many people are working on the game?
  • Recent Achievements

    • Reacting Well
      water01 earned a badge
      Reacting Well
    • First Post
      Aidan Helfrich earned a badge
      First Post
    • Collaborator
      bullgod69 earned a badge
      Collaborator
    • Enthusiast
      Ed B went up a rank
      Enthusiast
    • Reacting Well
      Xinotema earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      764
    2. 2
      ATLien_0
      187
    3. 3
      +FloatingFatMan
      151
    4. 4
      Xenon
      118
    5. 5
      wakjak
      113
  • Tell a friend

    Love Neowin? Tell a friend!