ndiswrapper in fedora core 6
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 31
  1. #1
    rik_cross Guest

    ndiswrapper in fedora core 6

    hi,

    is there any reason why ndiswrapper shouldn't work in fc6? i used version 1.27 of ndiswrapper with the .inf file i used before in fc5 but

    ndiswrapper -l

    gives "invalid driver"

    i tried again with an old version of ndiswrapper (1.23), as used with fc5, but typing

    iwconfig wlan0 key xxxxxxxxx

    causes the kernel to crash.

    any ideas would be appreciated.

    thanks, rik.

  2. #2
    rik_cross Guest
    ok, so i uninstalled ndiswrapper and started again with version 1.23. it seems to load driver ok, then crashes when i try to set essid.

    i turned mode to ad-hoc (iwconfig wlan0 mode ad-hoc), and now i can change the essid without crashing. but now when i try to run

    iwconfig wlan0 key open xxxxxxxx

    it says invalid argument, interface not recognised or something (can't remember). changing mode back to managed causes kernel to crash.

    i have no idea what could be causing these problems, and any help would be appreciated.

    thanks

    rik.

  3. #3
    IPI Guest

    Unhappy

    just intalled it using su -c 'yum install kmod-ndiswrapper' but when i try ndiswrapper it doesn't know the command .... i am using FC6 i also checked the /usr/sbin/ and there is no ndiswrapper in there .... i have also tried whereis ndiwsrapper & which indiswrapper and no luck


    ok .. i did install kern-devel and did yum install and here is what i get ...

    Code:
    =============================================================================
     Package                 Arch       Version          Repository        Size 
    =============================================================================
    Installing:
     ndiswrapper             i386       1.25-1.lvn6      livna              29 k
    Installing for dependencies:
     kernel                  i686       2.6.18-1.2798.fc6  core               16 M
     kmod-ndiswrapper        i686       1.25-1.2.6.18_1.2798.fc6  livna              92 k
    
    Transaction Summary
    =============================================================================
    Install      3 Package(s)         
    Update       0 Package(s)         
    Remove       0 Package(s)         
    
    Total download size: 16 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running Transaction Test
    Finished Transaction Test
    
    
    Transaction Check Error:   package kernel-2.6.18-1.2798.fc6 is already installed
      file /boot/System.map-2.6.18-1.2798.fc6 from install of kernel-2.6.18-1.2798.fc6 conflicts with file from package kernel-2.6.18-1.2798.fc6
      file /boot/config-2.6.18-1.2798.fc6 from install of kernel-2.6.18-1.2798.fc6 conflicts with file from package kernel-2.6.18-1.2798.fc6
      file /boot/symvers-2.6.18-1.2798.fc6.gz from install of kernel-2.6.18-1.2798.fc6 conflicts with file from package kernel-2.6.18-1.2798.fc6
      file /boot/vmlinuz-2.6.18-1.2798.fc6 from install of kernel-2.6.18-1.2798.fc6 conflicts with file from package kernel-2.6.18-1.2798.fc6
    now i just removed the kern-devel and still getting the same error
    Thanks.
    Last edited by IPI; 28th October 2006 at 09:38 PM.

  4. #4
    doboy408 Guest
    well, looks like fc6 has alot of issues
    It sure hasnt made wireless setup any easier
    I just downloaded the dvd iso, i guess i'll wait til some of the issues get resolve before installing

  5. #5
    neilloffhagen Guest
    I think you're getting the same problem I am - and from reading around the forums I think it's to do with the installed kernel being an i586 instead of i686 and it's trying to install i686 versions of ndiswrapper? I'm not sure how ee getr round this. Maybe there is a way of installing the right i686 kernel? Anyone know the answer to that one?

    Any help much apprecaited.

    Neil.

  6. #6
    IPI Guest
    ok guys i got it ... i just removed my i586 and changed it to i686i ..... here how to fix it:

    Bugzilla Bug 211941: Anaconda picks i586 kernel on some i686 systems

    1) yum remove kernel kernel-devel
    2) yum install kernel.i686 kernel-devel.i686
    3) yum install (the list of a dozen odd i386 kernel depencies removed in step
    #1, such as "gnome-volume-manager" and "compiz")

    hope it helps.

  7. #7
    Join Date
    Oct 2006
    Posts
    19
    IPI, this worked for me, well at least the install of ndiswrapper said complete this time! Just got to go get my Belkin wireless card working in this old Fujitsu LifeBook now. Thanks for posting this, only wish I'd seen it a few hours ago!

    Just thought I should add, don't know whether it was coincidence but after this the option to boot into Fedora was gone from the grub boot menu. FC6 nearly bit the dust then in favour of Zenwalk 3.0!! Fortunately I must have editted grub.conf before because there was a grub.conf~ file in the grub directory so I was able to get going again quickly thanks to the old Linux System Rescue Disk - man that thing is awesome.

    Thanks again, Stu
    Last edited by MaxTakeoff; 31st October 2006 at 01:37 AM. Reason: Update

  8. #8
    IPI Guest
    MaxTakeoff, you are welcome... glad that you managed to survive the grub issue.

  9. #9
    neilloffhagen Guest

    Thumbs up Long post

    It also worked for me. Many thanks.

    On my install of FC6, which was just the default one, had added nothing extra, first I had to install GCC to get make to run okay. I've included the output from the make in case others are interested and other parts of the ndiswrapper install:
    [root@localhost ndiswrapper-1.27]# make
    make -C driver
    make[1]: Entering directory `/home/neil/ndiswrapper/ndiswrapper-1.27/driver'
    make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/home/neil/ndiswrapper/ndiswrapper-1.27/driver
    make[2]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/hal.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/iw_ndis.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/loader.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/crt.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/ndis.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/ntoskernel.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/ntoskernel_io.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/pe_linker.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/pnp.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/proc.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/rtl.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/wrapmem.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/wrapndis.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/wrapper.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/usb.o
    CC [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/divdi3.o
    LD [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/ndiswrapper.o
    Building modules, stage 2.
    MODPOST
    CC /home/neil/ndiswrapper/ndiswrapper-1.27/driver/ndiswrapper.mod.o
    LD [M] /home/neil/ndiswrapper/ndiswrapper-1.27/driver/ndiswrapper.ko
    make[2]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'

    *** WARNING: This kernel seems to use 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/neil/ndiswrapper/ndiswrapper-1.27/driver'
    make -C utils
    make[1]: Entering directory `/home/neil/ndiswrapper/ndiswrapper-1.27/utils'
    gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
    make[1]: Leaving directory `/home/neil/ndiswrapper/ndiswrapper-1.27/utils'
    [root@localhost ndiswrapper-1.27]#
    I did ont worry about the warning message and just ran rhe make install:
    [root@localhost ndiswrapper-1.27]# make install
    make -C driver install
    make[1]: Entering directory `/home/neil/ndiswrapper/ndiswrapper-1.27/driver'
    make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/home/neil/ndiswrapper/ndiswrapper-1.27/driver
    make[2]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
    Building modules, stage 2.
    MODPOST
    make[2]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'

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

    echo /lib/modules/2.6.18-1.2798.fc6/misc
    /lib/modules/2.6.18-1.2798.fc6/misc
    mkdir -p /lib/modules/2.6.18-1.2798.fc6/misc
    install -m 0644 ndiswrapper.ko /lib/modules/2.6.18-1.2798.fc6/misc
    /sbin/depmod -a 2.6.18-1.2798.fc6 -b /
    make[1]: Leaving directory `/home/neil/ndiswrapper/ndiswrapper-1.27/driver'
    make -C utils install
    make[1]: Entering directory `/home/neil/ndiswrapper/ndiswrapper-1.27/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/neil/ndiswrapper/ndiswrapper-1.27/utils'
    mkdir -p -m 0755 /usr/share/man/man8
    install -m 644 ndiswrapper.8 /usr/share/man/man8
    install -m 644 loadndisdriver.8 /usr/share/man/man8
    [root@localhost ndiswrapper-1.27]#
    I the ran the ndiswrapper to test it was instaled okay:
    [root@localhost ndiswrapper-1.27]# /usr/sbin/ndiswrapper -l
    no drivers installed
    Then installed the windows wireless driver:
    [root@localhost ndiswrapper-1.27]# /usr/sbin/ndiswrapper -i /home/neil/wireless/3com-Windows_XP/ZD1211BU.INF
    installing zd1211bu ...
    Checked it had installed the driver okay. It did give an error, so tried to install it again, but it said it was installed, so ignored the error:
    [root@localhost ndiswrapper-1.27]# /usr/sbin/ndiswrapper -l
    couldn't run modprobe: No such file or directory at /usr/sbin/ndiswrapper line 835.

    [root@localhost ndiswrapper-1.27]# /usr/sbin/ndiswrapper -i /home/neil/wireless/3com-Windows_XP/ZD1211BU.INF
    driver zd1211bu is already installed
    Then carried on with the other steps, which gave no errors and looked at the end of dmesg:
    [root@localhost ndiswrapper-1.27]# /sbin/depmod -a
    [root@localhost ndiswrapper-1.27]# /sbin/modprobe ndiswrapper
    [root@localhost ndiswrapper-1.27]# dmesg
    Linux version 2.6.18-1.2798.fc6 (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 14:37:32 EDT 2006
    .
    .
    .
    ndiswrapper version 1.27 loaded (preempt=no,smp=yes)
    usb 4-2: reset full speed USB device using ohci_hcd and address 2
    ndiswrapper: driver zd1211bu (3COM Corporation,01/17/2006,6.3.3.2) loaded
    wlan0: vendor: '3Com OfficeConnect Wireless 54Mbps 11g Compact USB Adapter'
    wlan0: ethernet device 00:16:e0:05:8a:60 using NDIS driver zd1211bu, 0ACE:1215.F.conf
    wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
    usbcore: registered new driver ndiswrapper
    [root@localhost ndiswrapper-1.27]#
    After going through all this added a new network device throuhg the network icon in System -> Administration and all works now. Still get an occasional network drop by the wireless, but it seems to most times reconnect okay.

    Hope this is of some help to others.

    Neil.

  10. #10
    jdl Guest
    I pretty much did what you did and ndiswrapper works fine on my hp nx6325. However it doesn't stay! Every time I reboot I have to issue the modprobe ndiswrapper command again and none of the suggested methods seems to make the system remember.

    Does anyone know how to make this work correctly?

  11. #11
    Join Date
    Oct 2006
    Posts
    19
    JDL, do you have the line

    alias wlan0 ndiswrapper

    in your /etc/modprobe.conf fiile (assuming wlan0 refers to your wireless card, might be eth1)?

  12. #12
    jdl Guest
    Quote Originally Posted by MaxTakeoff
    JDL, do you have the line

    alias wlan0 ndiswrapper

    in your /etc/modprobe.conf fiile (assuming wlan0 refers to your wireless card, might be eth1)?
    Yes I do. That was the first thing I checked.

  13. #13
    Join Date
    Oct 2006
    Posts
    19
    Can you access the card setup in Network Device Control? There is an option in there to activate on boot, you could try that.

    Otherwise I think on my Zenwalk installation I made a script to issue the command on boot that was called from the scripts that run on boot. You cuold just add the line to one of the start up scripts, I don't remember what the start up scripts are called /etc/init.rd or something like that - google will help with that.

  14. #14
    speedboy Guest
    Hi I am stuck.. just after I ran this comand # dmesg.. I am trying to install a Lan-Express wireless card. I dowloaded the last version of ndiswrapper. Here is the message that I got.. Could you please help me..?

    [root@vaio LAN-Express AS IEEE 802.11g miniPCI Adapter]# ndiswrapper -i oem8.inf
    installing oem8 ...
    [root@vaio LAN-Express AS IEEE 802.11g miniPCI Adapter]# /sbin/depmod -a
    [root@vaio LAN-Express AS IEEE 802.11g miniPCI Adapter]# /sbin/modprobe ndiswrapper
    [root@vaio LAN-Express AS IEEE 802.11g miniPCI Adapter]# dmesg
    Linux version 2.6.18-1.2798.fc6 (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 14:37:32 EDT 2006
    device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
    device-mapper: multipath: version 1.0.4 loaded
    EXT3 FS on hda6, internal journal
    SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    Adding 1052216k swap on /dev/hda7. Priority:-1 extents:1 across:1052216k
    SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
    ip6_tables: (C) 2000-2006 Netfilter Core Team
    ip_tables: (C) 2000-2006 Netfilter Core Team
    Netfilter messages via NETLINK v0.30.
    ip_conntrack version 2.4 (3579 buckets, 28632 max) - 228 bytes per conntrack
    process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.lo.base_reachable_time; Use net.ipv6.neigh.lo.base_reachable_time_ms instead.
    SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
    Bluetooth: Core ver 2.10
    NET: Registered protocol family 31
    Bluetooth: HCI device and connection manager initialized
    Bluetooth: HCI socket layer initialized
    Bluetooth: L2CAP ver 2.8
    Bluetooth: L2CAP socket layer initialized
    Bluetooth: RFCOMM socket layer initialized
    Bluetooth: RFCOMM TTY layer initialized
    Bluetooth: RFCOMM ver 1.8
    Bluetooth: HIDP (Human Interface Emulation) ver 1.1
    SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
    SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
    mtrr: 0xf0000000,0x8000000 overlaps existing 0xf0000000,0x4000000
    mtrr: 0xf0000000,0x8000000 overlaps existing 0xf0000000,0x4000000
    mtrr: 0xf0000000,0x8000000 overlaps existing 0xf0000000,0x4000000
    mtrr: 0xf0000000,0x8000000 overlaps existing 0xf0000000,0x4000000
    mtrr: 0xf0000000,0x8000000 overlaps existing 0xf0000000,0x4000000
    agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
    agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
    agpgart: Putting AGP V2 device at 0000:01:05.0 into 4x mode
    [drm] Setting GART location based on old memory map
    [drm] writeback test succeeded in 1 usecs
    8139too Fast Ethernet driver 0.9.27
    ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 3
    PCI: setting IRQ 3 as level-triggered
    ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [LNK1] -> GSI 3 (level, low) -> IRQ 3
    eth0: RealTek RTL8139 at 0xdcc5cc00, 08:00:46:cf:29:a7, IRQ 3
    eth0: Identified 8139 chip type 'RTL-8100B/8139D'
    eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
    eth0: no IPv6 routers present
    ndiswrapper version 1.25 loaded (preempt=no,smp=yes)
    ndiswrapper: driver oem8 (LAN-Express,04/18/2004,3.1.1.54) loaded
    PCI: Enabling device 0000:00:09.0 (0000 -> 0002)
    ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
    ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNK3] -> GSI 11 (level, low) -> IRQ 11
    PCI: Setting latency timer of device 0000:00:09.0 to 64
    ndiswrapper (NdisMAllocateMapRegisters:855): invalid request: 256
    ndiswrapper (NdisWriteErrorLogEntry:237): log: C000009A, count: 4, return_address: dd0a8ab4
    ndiswrapper (NdisWriteErrorLogEntry:240): code: 3642144804
    ndiswrapper (NdisWriteErrorLogEntry:240): code: 35
    ndiswrapper (NdisWriteErrorLogEntry:240): code: 3540320256
    ndiswrapper (NdisWriteErrorLogEntry:240): code: 3540320256
    ndiswrapper (miniport_init:269): couldn't initialize device: C000009A

    ndiswrapper (pnp_start_device:426): Windows driver couldn't initialize the device (C0000001)
    unregister_netdevice: device eth%d/d916b000 never was registered
    ndiswrapper (miniport_halt:326): device d916b400 is not initialized - not halting
    ndiswrapper: device eth%d removed
    ACPI: PCI interrupt for device 0000:00:09.0 disabled
    ndiswrapper: probe of 0000:00:09.0 failed with error -22
    usbcore: registered new driver ndiswrapper

  15. #15
    Join Date
    Oct 2006
    Posts
    19
    speedboy, it looks like you have incorrect drivers for your card (but I'm no expert). What do you get if you type

    ndiswrapper -l

    after you have used ndiswrapper -i oem8.inf?

    Check the compatible card list section of the ndiswrapper website
    http://ndiswrapper.sourceforge.net/m...index.php/List
    and see if there are any other driver options/recommendations on there.

    Hope this helps.

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. How do I tell Fedora Core 6 to use ndiswrapper for my card
    By thewhitefedora in forum Servers & Networking
    Replies: 1
    Last Post: 15th December 2006, 07:16 AM
  2. NdisWrapper on Fedora 6 Core
    By ollie.petch in forum Servers & Networking
    Replies: 1
    Last Post: 23rd November 2006, 03:30 PM
  3. ndiswrapper and fedora core 5
    By rik_cross in forum Servers & Networking
    Replies: 1
    Last Post: 25th July 2006, 09:49 PM
  4. ndiswrapper in Fedora Core 3
    By mail2sona938 in forum Hardware & Laptops
    Replies: 2
    Last Post: 26th August 2005, 03:35 PM
  5. ndiswrapper in rpm for fedora core 4 ?
    By amd_user in forum Using Fedora
    Replies: 1
    Last Post: 19th July 2005, 08:09 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •