[HOW TO] Installing Wireless Networking


Recommended Posts

I've tried it and got past it, now I am stuck on saving the document. I can't save it in the directory.

EDIT: wasnt logged in as root therefore he didn't save, going to test it now.

Edited by [a fire chronicle]

I've tried this method, and I get everything to work...until I reach the command /sbin/dhclient wlan0. It says "No DHCPOFFERS received - no working leases in persistent database - sleeping."

I'm at my wit's end. Can anyone guide me further? I know Fedora fairly well, but for whatever reason, this just won't work for me. :no:

Edited by bachya
  • 2 weeks later...

I Have A MSI Wireless Card which *NIX detects as a Ralink RT2500 which is the chipset it uses. If you have any cards that use this chipset getting wireless is very easy with native drivers. Most Distro's of linux will detect them. I've used this with Gentoo, SuSE 9.3 Pro, and Fendore 3.

  D.r.a.g.o.n.3.6 said:
I Have A MSI Wireless Card which *NIX detects as a Ralink RT2500 which is the chipset it uses.  If you have any cards that use this chipset getting wireless is very easy with native drivers.  Most Distro's of linux will detect them.  I've used this with Gentoo, SuSE 9.3 Pro, and Fendore 3.

586498088[/snapback]

Whats the model of the card you have?

  HoochieMamma said:
Whats the model of the card you have?

586498092[/snapback]

Off the top of my head not sure its built in to my laptop and Windows Detects as something completely different. Let me take the MiniPCI cover off and ill get the model number for you.

  • 4 months later...

Hi,

I have recompiled Red Hat FC4 to the kernel version 2.6.14.3, now I'm trying to install MadWifi. I am following this guide, halfway down the page:

https://www.neowin.net/forum/index.php?showtopic=292721&st=0

The latest WadWifi RPMs atrpms has is version 2.6.14. When I execute:

rpm -i madwifi-kmdl.....

I get the error:

" Failed dependencies:

/boot/vmlinuz-2.6.14-1.1637_FC4 is needed by madwifi-kmdl... "

Note that my image is /boot/bzImage-2.6.14.3

Should I rename my image to "vmlinuz-2.6.14-1.1637_FC4" and redirect GRUB to it? (Is it okay that my kernel is slightly newer than the RPM?) Or should I downgrade my kernel? Or what?

Thanks a ton!

D

You my friend are going to have a HELL of a time. I've been working at it for a very long time now and to no avail. If you are using the AMD64 version look out... I think that is why I couldn't compile ndiswrapper.

  ryanstein said:

You guys rule. I'll try this once my Ubuntu CDs come in the mail. (Shipit will send them to you free so that you have a "hard copy" that won't degrade.)

  • 3 weeks later...

hi.

i am having a simmiliar problem as one of the other posters.

i am using Fedora Core 4 and trying to get a LinkSys WMP54GS to work.

i have downloaded my source: 'kernel-2.6.11-1.1369_FC4.src.rpm' from fedora

i then ran the rpm command on that file

it installed to /urs/src/redhat/SOURCES/

however, wheni checked out that directory all i saw was .patch and .config files

looking through i saw a file called linux-2.4.11.tar.bz2

i extrcted this file and found what appeard to be my source.

this doesnt seem right to me so im assuming this is the problem

i then went to install ndiswrapper-1.9 again

i did the suggested make operations

when i entered #make install it gave me the could not find source again. so.. i tried the suggested command and pointed it to where i had found my soure earlier. 'make KSRC=/usr/src/redhat/SOURCES/linux-2.6.11/'

didnt work.

i also tried 'make KSRC=/usr/src/redhat/SOURCES/linux-2.6.11/kernel/' which is where the source files are actuialy located. but that didnt work either

can someone with more linux experience please tell me where to go next. thank you very much to anyone that replys.

Derek

  • 1 month later...

I just did all and had the following response. everything looked perfectly fine, but wireless card is still not working.

anyone knows why?

[root@localhost hasan]# cd ndiswrapper-1.11

[root@localhost ndiswrapper-1.11]# make

make -C driver

make[1]: Entering directory `/home/hasan/ndiswrapper-1.11/driver'

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

DRIVER_VERSION=1.11

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

LD /home/hasan/ndiswrapper-1.11/driver/built-in.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/hal.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/iw_ndis.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/loader.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/misc_funcs.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/ndis.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/ntoskernel.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/ntoskernel_io.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/pe_linker.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/pnp.o

/home/hasan/ndiswrapper-1.11/driver/pnp.c: In function ??start_pdo??:

/home/hasan/ndiswrapper-1.11/driver/pnp.c:317: warning: ignoring return value of ??pci_set_power_state??, declared with attribute warn_unused_result

CC [M] /home/hasan/ndiswrapper-1.11/driver/proc.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/wrapndis.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/wrapper.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/usb.o

CC [M] /home/hasan/ndiswrapper-1.11/driver/divdi3.o

LD [M] /home/hasan/ndiswrapper-1.11/driver/ndiswrapper.o

Building modules, stage 2.

MODPOST

CC /home/hasan/ndiswrapper-1.11/driver/ndiswrapper.mod.o

LD [M] /home/hasan/ndiswrapper-1.11/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/hasan/ndiswrapper-1.11/driver'

make -C utils

make[1]: Entering directory `/home/hasan/ndiswrapper-1.11/utils'

gcc -g -Wall -DUTILS_VERSION=\"1.8\" -o loadndisdriver loadndisdriver.c

make[1]: Leaving directory `/home/hasan/ndiswrapper-1.11/utils'

[root@localhost ndiswrapper-1.11]# make install

make -C driver install

make[1]: Entering directory `/home/hasan/ndiswrapper-1.11/driver'

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

DRIVER_VERSION=1.11

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 2.6.11-1.1369_FC4

make[1]: Leaving directory `/home/hasan/ndiswrapper-1.11/driver'

make -C utils install

make[1]: Entering directory `/home/hasan/ndiswrapper-1.11/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.5. You must re-install Windows drivers if they were installed before.

make[1]: Leaving directory `/home/hasan/ndiswrapper-1.11/utils'

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

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

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

ls: /lib/modules/uname -r/misc/: No such file or directory

[root@localhost ndiswrapper-1.11]# ls -l /lib/modules/hasan/misc

ls: /lib/modules/hasan/misc: No such file or directory

[root@localhost ndiswrapper-1.11]# ls -l /lib/modules/

total 8

drwxr-xr-x 4 root root 4096 Apr 1 19:33 2.6.11-1.1369_FC4

[root@localhost ndiswrapper-1.11]# ls -l /lib/modules/2.6.11-1.1369_FC4/misc/

total 2096

-rw-r--r-- 1 root root 2136598 Apr 1 19:33 ndiswrapper.ko

[root@localhost ndiswrapper-1.11]# whereis ndiswrapper ndiswrapper: /usr/sbin/ndiswrapper /usr/share/man/man8/ndiswrapper.8

[root@localhost ndiswrapper-1.11]# whereis ndiswrapper loadndiswrapper wlan_radio_averatec_5110hx

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

loadndiswrapper:

wlan_radio_averatec_5110hx:

[root@localhost ndiswrapper-1.11]# /usr/sbin/ndiswrapper -i /home/hasan/net5211.inf

Installing net5211

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

Installed drivers:

net5211 driver installed, hardware present

[root@localhost ndiswrapper-1.11]# /sbin/modprobe ndiswrapper

[root@localhost ndiswrapper-1.11]# ndiswrapper -m

Adding "alias wlan0 ndiswrapper" to /etc/modprobe.conf

[root@localhost ndiswrapper-1.11]# /sbin/dhclient wlan0

  • 1 month later...

This was a great guide! I'm pretty new to Linux and was able to follow it perfectly.

I am wondering one thing though. Is it possible to create another config/profile to use for 'open' access points so that one doesn't have to edit the original /etc/sysconfig/network-scripts/ifcfg-wlan0 file?

I use WEP key on my wireless router at home, but when i connect at school and work they both are open access. Its a little tireing redoing the config each time I change locations.

I've tried /ifcfg-wlan1 and ifcfg-wlan0:1 files, but to no avail. (though being new to linux its possible i over looked something) I also tried using the GUI netconfig but it yeilded the same effect.

Distro- Fedora Core 4

Kernel- 2.6.11-1.1369

  merakli said:

*** 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

I think its got something to do with you running the 4k stack size.

Not sure what distro your running but if you check here it should give you some idea of how to enable a larger stack size.

Fedora-NdisWrapper

  • 7 months later...

THANK YOU!!! I have searched all over google and tried numerous ways of working with ndiswrapper and other options to try and get my network card to work in ubuntu and thanks to your instructions i am sitting here typing to you under my ubuntu desktop connected to my WEP enabled network. Thank you for this guide!

I got to this part:

7.) Type: /sbin/dhclient wlan0 (This activates the wireless connection - FINALLY!)

but I get this error:

Wireless: Error while getting interface flags: no such device (it does this twice)

Bind socket to Interface: no such device.

The card is recognized by Ubuntu, I set up the info in network manager, but I cant get a connection. :/

  • 9 months later...
  Al said:
I got to this part:

7.) Type: /sbin/dhclient wlan0 (This activates the wireless connection - FINALLY!)

but I get this error:

Wireless: Error while getting interface flags: no such device (it does this twice)

Bind socket to Interface: no such device.

The card is recognized by Ubuntu, I set up the info in network manager, but I cant get a connection. :/

I have the exact same problem.

Ok, I did that and heres what happened:

dan@dan-desktop:~$ iwconfig
lo		no wireless extensions.

eth0	  no wireless extensions.

eth1	  IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4318"
		  Mode:Managed  Access Point: Invalid   
		  RTS thr:off   Fragment thr:off
		  Link Quality=0/100  Signal level=-256 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

dan@dan-desktop:~$ sudo /sbin/dhclient eth1
[sudo] password for dan:
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFFLAGS: No such file or directory
SIOCSIFFLAGS: No such file or directory
Listening on LPF/eth1/00:16:01:7d:48:0e
Sending on   LPF/eth1/00:16:01:7d:48:0e
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
send_packet: Network is down
receive_packet failed on eth1: Network is down
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
send_packet: Network is down
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 1
send_packet: Network is down
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Still doesnt work...

  • 1 month later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • What is happening in the WNBA!    
    • RapidRAW 1.3.5 is out.
    • Microsoft Edge 139.0.3405.86 by Razvan Serea Microsoft Edge is a super fast and secure web browser from Microsoft. It works on almost any device, including PCs, iPhones and Androids. It keeps you safe online, protects your privacy, and lets you browse the web quickly. You can even use it on all your devices and keep your browsing history and favorites synced up. Built on the same technology as Chrome, Microsoft Edge has additional built-in features like Startup boost and Sleeping tabs, which boost your browsing experience with world class performance and speed that are optimized to work best with Windows. Microsoft Edge security and privacy features such as Microsoft Defender SmartScreen, Password Monitor, InPrivate search, and Kids Mode help keep you and your loved ones protected and secure online. Microsoft Edge has features to keep both you and your family protected. Enable content filters and access activity reports with your Microsoft Family Safety account and experience a kid-friendly web with Kids Mode. The new Microsoft Edge is now compatible with your favorite extensions, so it’s easy to personalize your browsing experience. Microsoft Edge 139.0.3405.86 changelog: Fixes Fixed an issue where MIP-protected PDF files from different sovereign cloud environments (including GCCH) failed to open and instead displayed the error message: “Need permissions. Contact the owner of the file to give you permissions.” Fixed an issue, which affected IE mode, including errors when displaying PDF files, running Java applets, and showing the Information Bar in IE mode. Improved reliability Fixed a browser crash that occurred on first launch when the BrowserSignin policy was enabled and configured to "Force (2) = Force users to sign-in to use the browser (all profiles)." Feature updates Open external links in another profile when recommended by external applications. When Microsoft Edge is set as the default browser to open external links from applications, Microsoft Edge must determine which profile to open the links. Users can control which profile to use through the “Default profile for external links” setting. Applications such as Microsoft Teams or Outlook can also recommend a profile for the links. Currently, the user setting is prioritized over application recommendations. With this feature, the application recommended profile is given priority, instead of the profile selected in the setting. Admins can control the availability of the feature using the EdgeOpenExternalLinksWithAppSpecifiedProfile policy. Note: This is a controlled feature rollout. If you don't see this feature, check back as we continue our rollout. Changes to Wallet in Microsoft Edge. Wallet is being phased out to support a streamlined experience within Microsoft Edge. This affects the Wallet feature in Settings and the Mini Wallet found by clicking the profile icon in the top banner. Users are directed to the new Passwords, Payment, and Personal Information management experience in Settings. Also, a new Password management experience is available in Settings. For more information, see Changes to Wallet in Microsoft Edge. Note: This is a controlled feature rollout. If you don't see this feature, check back as we continue our rollout. Introducing a new policy that can enable/disable Microsoft 365 Copilot Chat in Edge for Business from showing in the toolbar. Edge for Business now has a dedicated policy, Microsoft365CopilotChatIconEnabled, to enable and disable Copilot in Edge from showing in the Edge toolbar. When both this policy and HubsSidebarEnabled are configured, this policy takes precedence in determining whether Copilot appears in the toolbar. If this policy isn't configured and HubsSidebarEnabled is disabled, Copilot will remain hidden. In a future release, this policy is the sole control for managing Copilot's visibility in the toolbar. Real-time notifications for compromised passwords. Microsoft Edge is integrating an in-context password breach notification system. This feature proactively informs users if their saved login credentials have been compromised in known data breaches, enabling them to take immediate action to secure their accounts. Admins can control availability to this feature using the PasswordMonitorAllowed policy. Note: This is a controlled feature rollout. If you don't see this feature, check back as we continue our rollout. Edge Settings Improvements. Edge Settings is migrating to WebUI2 to boost page responsiveness and introducing a series of minor visual and content upgrades to improve overall usability and utility. This includes optimizing for concise wording of individual settings, simplifying the number of pages and reorganizing content, and creating a cohesive user interface. New Autofill Personal Information Settings Configuration. A web form field collection consent toggle will be available in Autofill settings (edge://settings/autofill/personalInfo). This allows users to consent to Microsoft Edge collecting web form field labels (e.g., "First Name," "Email") to improve Autofill suggestion accuracy. Only field labels are collected and not user-entered data. The web field labels are stored securely per Microsoft's privacy standards. This new setting is manageable via existing policies in Autofill (e.g., AutofillAddressEnabled), EdgeAutofillMlEnabled. AutofillAddressEnabledis the parent setting forEdgeAutofillMlEnabled. The EdgeAutofillMlEnabled policy is the parent of this new setting, thus turning off the EdgeAutofillMlEnabled policy turns off this setting. Web AI APIs for prompt and writing assistance. Microsoft Edge now implements the Writing Assistance APIs and the Prompt API (for Edge extensions) with a local language model, Phi-4-mini, that is built into the browser. These easy-to-use JavaScript APIs are made available via Edge flags (set to Enabled, by default only for the Summarizer and Prompt API for extensions) so that sites and extensions can apply AI capabilities on the web. The small language model is downloaded as the first time any of these APIs is used and later shared across all domains, serving local AI use-cases with reduced cost, network independence, and increased privacy (since data input to the model doesn't leave the user’s device). Admins can control the availability of these APIs via the GenAILocalFoundationalModelSettings policy. These APIs are currently not implemented in China. Read the announcement here, and feel free to provide feedback. Enhancements to Performance and Secure network. Browser essentials is now separated into two distinct experiences (Performance and Secure Network) - both available from the Settings and more menu (“…” on the menu bar). Reset Microsoft Edge enterprise sync. For users having problems syncing browsing data across other signed-in devices, they can reset sync data from the Microsoft servers via Edge Settings edge://settings/profiles/sync/reset. This option should only be used if the sync data is available on one of the user's devices or if they want to delete all sync data from the servers. Note: In Microsoft Edge 139, reset sync is enabled for users encountering a "No permissions" MIP error and in Microsoft Edge 140, reset sync is enabled for users encountering a "Service disabled" MIP error. Update to Microsoft AutoUpdate policy. The MAUEnabled policy allowed admins to continue using Microsoft AutoUpdate on macOS. Since Microsoft Edge now uses EdgeUpdate, the MAUEnabled policy is planned to be obsoleted in Microsoft Edge version 140. Policy updates / New policies EdgeOpenExternalLinksWithAppSpecifiedProfile - Prioritize App specified profile to open external links EnableUnsafeSwiftShader - Allow software WebGL fallback using SwiftShader MandatoryExtensionsForInPrivateNavigation - Specify extensions users must allow in order to navigate using InPrivate mode Microsoft365CopilotChatIconEnabled - Control whether Microsoft 365 Copilot Chat shows in the Microsoft Edge for Business toolbar OnSecurityEventEnterpriseConnector - Configuration policy for Microsoft Edge for Business Reporting Connectors Obsoleted policies KeyboardFocusableScrollersEnabled - Enable keyboard focusable scrollers (obsolete) SelectParserRelaxationEnabled - Controls whether the new HTML parser behavior for the SELECT element is enabled (obsolete) Download: Microsoft Edge (64-bit) | 180.0 MB (Freeware) Download: Microsoft Edge (32-bit) | 163.0 MB View: Microsoft Edge Website | Release History Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Week One Done
      harveycoleman123 earned a badge
      Week One Done
    • First Post
      EzraNougat earned a badge
      First Post
    • One Month Later
      westDvina earned a badge
      One Month Later
    • Community Regular
      Bern@rd went up a rank
      Community Regular
    • Week One Done
      Joey Solo earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      663
    2. 2
      +FloatingFatMan
      192
    3. 3
      ATLien_0
      154
    4. 4
      Xenon
      132
    5. 5
      wakjak
      98
  • Tell a friend

    Love Neowin? Tell a friend!