Page 3 of 10 FirstFirst 12345 ... LastLast
Results 21 to 30 of 99

Thread: HOWTO: WLan via Ndiswrapper

  1. #21
    Join Date
    May 2005
    Beans
    14

    Re: HOWTO: WLan via Ndiswrapper

    Quote Originally Posted by maspro
    For the build-essential I would recommend to download the Ubuntu add-on cd, which you can find here: http://ubuntuguide.org/add-on-cd/ this is the easiest way and also you will have all kinds of multimedia appz and codecs.

    Both the build-essential and the linux-headers are available in one of the following repositories, I don't know where exactly:

    http://us.archive.ubuntu.com/ubuntu
    http://security.ubuntu.com/ubuntu
    http://archive.ubuntu.com/ubuntu

    I don't know that one, I'm to much of a n00b for that.

    Good luck!
    Related question... I will be using a USB storage device to save my files, packages, and settings.. I should like to reboot with LiveCD and load these up. My HDD is NTFS, so can't write to it, correct? How do I find the path to the USB device. BTW it shows up automatically on the Desktop when I plug it in... and I can read/write to .Very nice.. thanks

  2. #22
    Join Date
    Apr 2005
    Beans
    69

    Re: HOWTO: WLan via Ndiswrapper

    Quote Originally Posted by Fuzzhead
    I have acquire the files I think I need:
    Add On CD, and installed it, seemed to work ok
    For the Headers, I went with i386, rather than AMD64. (my other machine is an intel..so seemed to make sense to reuse the same build, seemed to work)

    I have this header file, linux-headers-2.6.10-5_2.6.10-34_i386.deb
    but need command syntax to install it.
    I tried: "sudo install linux-headers-2.6.10-5_2.6.10-34_i386.deb" but get an error
    saying too few parameters. I read the help, but it didn't make sense. Do you happen
    to know what the correct args would be,and correct directory?

    Thanks,
    Michael
    You say that you have a AMD64, but you run the 32bit version of Ubuntu? If so then I think you should have one of the following header files:

    http://archive.ubuntu.com/ubuntu/poo...10-34_i386.deb

    http://archive.ubuntu.com/ubuntu/poo...10-34_i386.deb

    http://archive.ubuntu.com/ubuntu/poo...10-34_i386.deb


    And I think that you should install it this way:
    sudo dpkg -i yourpackagename.deb

    It seems that you can also use APT-GET locally without an internet connection, check the following link to see how this is done:
    Click for link here

    Normally if you would have an internet connection you would type the following to use APT-GET online:
    sudo apt-get install yourpackagename

    for example:
    sudo apt-get install linux-headers-2.6.10-5-386 linux-headers-2.6.10

    Quote Originally Posted by Fuzzhead
    Related question... I will be using a USB storage device to save my files, packages, and settings.. I should like to reboot with LiveCD and load these up. My HDD is NTFS, so can't write to it, correct? How do I find the path to the USB device. BTW it shows up automatically on the Desktop when I plug it in... and I can read/write to .Very nice.. thanks
    Normally you can only read on NTFS partitions under linux, but read/write access seems to be possible with certain risks:

    check the following links:
    http://linux-ntfs.sourceforge.net/
    http://freshmeat.net/projects/linuxntfs/
    http://www.jankratochvil.net/project/captive/

    About that USB device, can't you simply right-click on that device and see where it points to, for example /media/ or /dev/ or something?
    Last edited by maspro; May 21st, 2005 at 07:40 PM.

  3. #23
    Join Date
    Nov 2004
    Beans
    86

    Re: HOWTO: WLan via Ndiswrapper

    I am getting this error. What is wrong?

    sudo modprobe ndiswrapper
    FATAL: Error inserting ndiswrapper (/lib/modules/2.6.10-5-686/kernel/drivers/net/ndiswrapper/ndiswrapper.ko): Operation not permitted

  4. #24
    Join Date
    Nov 2004
    Beans
    86

    Re: HOWTO: WLan via Ndiswrapper

    I solve the above problem, now have a new problem.

    sudo iwlist wlan0 scan
    wlan0 Interface doesn't support scanning.

  5. #25
    Join Date
    May 2005
    Beans
    14

    Re: HOWTO: WLan via Ndiswrapper

    I am very new to linux and I hope some one can help. I have been trying to install the latest WG311v2 driver and after installin the latest ndiswrapper and then attempting to install the driver this is what I get

    root@Main:/home/vin/WG311 # ndiswrapper -i wg311v2.inf
    wg311v2 is already installed. Use -e to remove it

    Then when I use the -e command I get

    root@Main:/home/vin/WG311 # ndiswrapper -e wg311v2.inf
    Driver wg311v2.inf is not installed. Use -l to list installed drivers

    Then when I use -l I get

    root@Main:/home/vin/WG311 # ndiswrapper -l
    Installed ndis drivers:
    wg311v2 invalid driver!

    It seems I have an invalid driver.

    1. Am I looking in the right place? (//Home/vin/WG311 is where the new driver inf, sys and bin files reside)
    2. If I am looking in the right place how do I remove the invalid driver.

    Thanks very much I appreciate any help I can get.

  6. #26
    Join Date
    Apr 2005
    Location
    Sydney, Australia
    Beans
    117
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: HOWTO: WLan via Ndiswrapper

    Please read page 2 for my complete soultion on how toget wg311v2 working with ndiswrapper in Ubuntu or you can refer to this page if you want - http://ubuntuforums.org/showthread.p...293#post181293

  7. #27
    Join Date
    Nov 2004
    Location
    Nyack NY USA
    Beans
    988
    Distro
    Ubuntu Development Release

    Re: HOWTO: WLan via Ndiswrapper

    Couple of questions on ndiswrapper:

    I got a d-link G650 (madwifi doesn't work) working following the instructions here (thanks a bunch!!!) but a
    couple of wierd things happen:

    1) If I try to change the channel using
    iwconfig wlan0 channel NUMBER
    then it gives an error message. On the other hand

    iwconfig wlan0 essid MYNAME
    works fine so I'm thinking it is an ndiswrapper driver issue

    2) I get a continual error message saying that the driver expects wireless extensions version 18 but that it (ndiswrapper?) was compiled with version 17 and that therefore some driver functions may not work (see 1)????)

    Any ideas how to fix 1) and do I need to recompile ndiswrapper because of 2)??

    I am able to reset the channel by

    sudo rmmod ndiswrapper
    sudo modprobe ndiswapper

    and it (wlan0) appears to come up with the right parameters for the nearest open network which I can then connect to but this seems pretty clunky...

  8. #28
    Join Date
    Apr 2005
    Beans
    69

    Arrow Re: HOWTO: WLan via Ndiswrapper

    For al the people that are having driver problems or who aren't sure if they have a correct Wifi driver, please check the following site, here you can find a list of compatible Wifi drivers for different laptop configurations. Note that NOT all drivers are compatible with all laptops, including your original driver on your installation cd-rom:
    http://ndiswrapper.sourceforge.net/p...index.php/List

    Here's the Wiki site on Sourceforge about the ndiswrapper:
    http://ndiswrapper.sourceforge.net/phpwiki/index.php/

    Here's how to correctly install ndiswrapper with the correct Windows driver:
    http://ndiswrapper.sourceforge.net/p...p/Installation

    Here's how to uninstall the ndiswrapper and start over again:
    http://ndiswrapper.sourceforge.net/p....php/Uninstall

    Also it's very important to do the installation of ndiswrapper with root or sudo privileges and that NO previous versions or installations of ndiswrapper are on your system! Also make sure that you have the build-essential and linux-headers installed before you begin with the installation of ndiswrapper!

    IMPORTANT:
    "Do NOT use drivers from your CD. They may work, but you may experience kernel crashes etc., if the driver on your CD has not been tested.

    Instead, you need to download appropriate Windows XP driver for your card from the Wiki entry List. To identify the driver that you need, first identify the card you have with "lspci" and note the first column (such as 0000:00:0c.0) and then find out the PCI ID of the card that with "lspci -n" corresponding to the first column of "lspci" output.

    The PCI ID is third column (or fourth in some distributions) and of the form "104c:8400". Now you need to get the Windows driver for this chipset. In the list of drivers, find out an entry for the same PCI ID and download the driver corresponding to it.

    Unpack the Windows driver with unzip/cabextract/unshield tools and find out the INF file (i.e., file with .INF or .inf extension) and SYS file (i.e., file with .SYS or .sys extension). If there are multiple INF/SYS files, you may look in the List if there are any hints about which of them should be used. Make sure the INF file, SYS file and any BIN files (for example, TI drivers use BIN firmware files) are all in one directory. Now use "ndiswrapper" tool to install the driver with ndiswrapper -i filename.inf"

    quote from http://ndiswrapper.sourceforge.net
    Last edited by maspro; May 23rd, 2005 at 10:31 PM.

  9. #29
    Join Date
    Nov 2004
    Location
    Nyack NY USA
    Beans
    988
    Distro
    Ubuntu Development Release

    Re: HOWTO: WLan via Ndiswrapper

    Thanks for the detailed instructions maspro. I checked out my installation of ndiswrapper (particularly the pci id) and everything seems fine. I read on the ndiswrapper site that certain options for iwconfig often do not work (and are not needed). Do you happen to know whether if you set essid with iwconfig then the channel (or frequency band) is also automatically adjusted? Also my iwconfig comes up automatically with the nearest default network (with the correct channel). Is this what one should expect on the road while roaming around? Thanks in advance for any tips on this.....

  10. #30
    Join Date
    Apr 2005
    Beans
    69

    Re: HOWTO: WLan via Ndiswrapper

    Quote Originally Posted by kleeman
    Thanks for the detailed instructions maspro. I checked out my installation of ndiswrapper (particularly the pci id) and everything seems fine. I read on the ndiswrapper site that certain options for iwconfig often do not work (and are not needed). Do you happen to know whether if you set essid with iwconfig then the channel (or frequency band) is also automatically adjusted? Also my iwconfig comes up automatically with the nearest default network (with the correct channel). Is this what one should expect on the road while roaming around? Thanks in advance for any tips on this.....
    I don't exactly know the answer to your question, maybe the following text from the sourceforge site can help you:

    "How can I set bit rate? You don't need to set bit rate; if you associate with a node (by setting essid), the card will automatically switch to best possible rate. However, if you want to use specific network type (such as a/b/g), use "iwpriv wlan0 network_type <char>" to set the network type to what <char> represents, where <char> is one of a, b, g or any other characther. For example, to set to 802.11b, use "iwpriv wlan0 network_type b", and to set to auto, "iwpriv wlan0 network_type x". Most drivers allow changing the mode before associating only - once associated, mode can't be changed.

    You can also specify a specific rate by changing appropriate setting in the .conf files in /etc/ndiswrapper/<driver> directory. What setting to change to what value depends on particular driver. See the .inf file for some hints (and sometimes some explanation) about what settings to change to what values. Once you change these values (you may need to change the settings in more than one file depending on the PCI id), reload ndiswrapper."


    quote from http://ndiswrapper.sourceforge.net/p.../index.php/FAQ

Page 3 of 10 FirstFirst 12345 ... LastLast

Bookmarks

Posting Permissions

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