[HOW TO] Installing Wireless Networking


Recommended Posts

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?

[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

[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

service network restart

i get

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

    • BATorrent 3.0.2 by Razvan Serea BATorrent is a lightweight, open-source BitTorrent client built with modern C++ and Qt 6, offering a clean, fast, and privacy-focused alternative to traditional torrent apps. It supports magnet links, .torrent files, resume data, sequential downloading, per-file priorities, and even imports from qBittorrent. Power users benefit from integrated RSS auto-download with regex filtering, duplicate detection, and automatic tracker lists from Stremio. Streaming is seamless thanks to auto-detected players like VLC and IINA. BATorrent includes robust VPN tools—interface binding, auto-detection for WireGuard-based services like Mullvad and NordLynx, kill switch, proxy support, and IP filtering. A full WebUI enables remote control, while integrations with Plex, Jellyfin, and Emby automate library updates. With themes, speed scheduling, system-tray alerts, and cross-platform support for Windows, Linux, and macOS, BATorrent delivers a polished, high-performance torrenting experience. BATorrent features: Core .torrent file and magnet link support Resume data — picks up where you left off after restart Import torrents from qBittorrent Create .torrent files from any file or folder Sequential download mode Per-file priority control (skip, low, normal, high) Seed ratio limits with auto-pause DHT, PEX, UPnP, NAT-PMP RSS Auto-Download Subscribe to RSS feeds — automatically download new torrents as they appear Regex filters — match only what you want (e.g. 1080p|720p, S01E\d+) Per-feed settings — custom save path, check interval (5–1440 min), enable/disable Auto-download — matched items are downloaded automatically in the background Supports magnet links, .torrent URLs, and tags Tray notifications when items are auto-downloaded Duplicate detection — never downloads the same item twice Stremio Stremio Addon System pre-installed — works out of the box Auto tracker list from ngosang/trackerslist Streaming Play while downloading — stream video files before the download is complete Supports mp4, mkv, avi, mov, wmv, flv, webm, m4v, ts Auto-detects installed players (VLC, IINA, system default) VPN & Privacy Interface binding — lock torrent traffic to a specific network interface (e.g. tun0) Auto VPN detection — identifies VPN interfaces (tun, tap, WireGuard, Mullvad, NordLynx, ProtonVPN) Kill switch — automatically pauses all torrents if the VPN interface drops Auto-resume — resumes only the torrents paused by the kill switch when VPN reconnects Proxy support — SOCKS5 and HTTP proxy with optional authentication IP filtering — load P2P blocklists to block unwanted IP ranges Protocol encryption (enabled / forced / disabled) WebUI Remote management — control torrents from any browser at http://localhost:8080 REST API with JSON responses Add torrents via magnet link or .torrent upload Pause, resume, remove torrents remotely View peers and files per torrent Dark theme matching the desktop app HTTP Basic Auth with SHA-256 password hashing Configurable port and remote access (localhost vs 0.0.0.0) Interface 3 themes: Dark, Light, Midnight (bat/vampire aesthetic) Real-time speed graph Detailed panel with tabs: General, Peers, Files, Trackers Filter bar: search by name, filter by state (Active, Downloading, Seeding, Paused, Finished) Drag & drop .torrent files and magnet links Drag & drop reorder in torrent list System tray with notifications (download complete, kill switch events, RSS auto-downloads) Splash screen with bat animation Bilingual: English and Portuguese (BR), auto-detected from system locale Bandwidth Scheduler Alternative speed limits — set different download/upload limits on a schedule Time range — configure active hours (e.g. 01:00 to 07:00), supports overnight ranges Per-day control — choose which days of the week the schedule applies Automatically switches between normal and alternative speeds Media Server Integration Plex — automatically trigger library scan when a download completes Jellyfin / Emby — same automatic library refresh via API Configure server URL and authentication token/key in Settings System Cross-platform: Windows, Linux, macOS Auto-shutdown — automatically shut down PC when all downloads complete (60s cancellable countdown) Auto-update system (AppImage on Linux, installer on Windows, DMG on macOS) CLI arguments: pass .torrent files or magnet: URIs directly Keyboard shortcuts: Space to toggle pause, Ctrl+A to select all, Ctrl+O to open BATorrent 3.0.2 changelog: Phone pairing & WebUI The browser WebUI was reskinned to match the desktop app — same dark palette, Inter font, flat surfaces, the real BATorrent logo (it was a random bat before), and a proper magnet icon. It now looks like the same product, not a separate dashboard. Pairing is one tap and zero typing: the generated WebUI password is now copyable, and the QR code carries the credentials — scanning it from your phone logs straight in (no typing the IP or password), then drops the credentials from the address bar. Search Two new providers: RuTor (CIS sources, no login, via a public TorAPI relay) and Torrents-CSV. Results are sorted by seeders (healthiest first), and each search now times out after 15 s so one dead provider can't hang the UI. Files & trackers Per-file priority is back: right-click a file in the detail panel to set Skip / Low / Normal / High. Rename an individual file inside a torrent (double-click or the file menu), separate from renaming the torrent. Remove a tracker from a torrent (the ✕ on a tracker row); adding was already there. Smart Paste on Ctrl+V — paste a magnet, a 40-char info-hash, or a .torrent URL straight from the clipboard and it's added immediately (text fields still paste text normally). Covers & titles Anime fansub naming ([Group] Title - NN) now resolves to the right show. Audio channel layouts in titles (DDP5.1, 7.1, …) are stripped so they don't pollute cover matching. Under the hood The legacy QWidget interface is gone. QML had been the only UI since 3.0.0 (reachable old code lived behind a hidden --legacy flag); with parity confirmed, the entire QWidget layer — main window, every dialog, the theme manager — was removed (~13,400 lines). The four restored actions above were features that backend already supported but the QML port had never wired. macOS: the WebUI password hash moved out of the keychain into app settings, so launching the app no longer pops a login-keychain password prompt on unsigned builds. The actual password still lives in the keychain. Cleanup: ~400 orphaned translation strings and a batch of dead code removed; internal duplication collapsed; an ARCHITECTURE.md added for contributors. Unit / security / memory tests and the ASan/UBSan/TSan sanitizers stay green. Download: BATorrent 3.0.2 | 30.5 MB (Open Source) Download: BATorrent Portable | 42.3 MB Links: BATorrent Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • How about a global switch to turn the awful things off instead of a registry hack? Then everyone wins.
    • This doesn't strike me as so shocking when... " IT admins do have some control over this rollout. If they choose to opt out, devices in their tenant won't automatically get the dreaded Copilot app"
  • Recent Achievements

    • Mentor
      grik went up a rank
      Mentor
    • Dedicated
      JKR earned a badge
      Dedicated
    • One Year In
      CHUNWEI earned a badge
      One Year In
    • Conversation Starter
      FBSPL earned a badge
      Conversation Starter
    • Week One Done
      I2D earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      468
    2. 2
      PsYcHoKiLLa
      257
    3. 3
      Skyfrog
      79
    4. 4
      ATLien_0
      60
    5. 5
      FloatingFatMan
      60
  • Tell a friend

    Love Neowin? Tell a friend!