Results 1 to 2 of 2

Thread: How-to install a wireless USB adapter using ndiswrapper ...

  1. #1
    Senior Member registered user
    Join Date
    Dec 2004
    Posts
    168

    How-to install a wireless USB adapter using ndiswrapper ...

    .
    Even though the wireless link was established between a NetGear, Inc. MA111 WiFi (v1) and a Belkyn (Firmware Version: 4.03.04, Boot Version: 2.01.03, Hardware: F5D7231-4) wireless/corded router, the detailled step-by-step guide could definitely help you with your particular warez.
    .
    Basically, it is very simple to do it with Knoppix 4.0.2, but 5.0.1 wouldn't let you easily do it. (I have read in this forum some people's political reasoning over manufacturers not open sourcing their drivers and so (apparently those old good times in which we would be happy to do stuff (not politics) are over ))
    .
    My way to deal with it is by keeping copies of Knoppix 4.0.2 and Knoppix 5.0.1
    .
    Initially I had a corded connection to the router, that let me gather a little knowledge context on what I wanted to do and download the drivers
    .
    // - - - - - - - LINKS
    // __ ndiswrapper
    http://ndiswrapper.sourceforge.net/
    http://ndiswrapper.sourceforge.net/m...index.php/List
    .
    // __ Linux PCI ID Repository
    http://pci-ids.ucw.cz/pci.ids
    .
    // __ list links
    http://hpl.hp.com/personal/Jean_Tour.../Wireless.html
    .
    // __ wireless nics
    http://www.linux-wlan.org/docs/wlan_adapters.html.gz
    .
    // __
    http://kbserver.netgear.com/products/ma111.asp
    http://kbserver.netgear.com/products/MA111v1.asp
    http://kbserver.netgear.com/release_notes/d102007.asp
    .
    // __ http://www.linuxquestions.org/linux/...Wireless_Howto
    .
    // __ HOWTO: Install the Netgear MA111 (v1) WLAN USB stick - Hoary (Warty)
    http://ubuntuforums.org/showthread.php?t=22995
    .
    // __
    http://www.knoppix.net/forum/viewtopic.php?t=25538
    .
    // - - - - - - - whatchatgot
    .
    root@1[~]# lsusb | grep NetGear
    Bus 004 Device 002: ID 0846:4110 NetGear, Inc. MA111 WiFi (v1)
    .
    YOU MUST KNOW WHAT CARD EXACTLY DO YOU HAVE IN ORDER TO DOWNLOAD THE RIGHT DRIVERS AND ALSO MAKE SURE THE ADAPTER'S LED SHOWS A STEADY "GREEN"
    .
    // __ getting drivers
    http://kbserver.netgear.com/products/ma111.asp
    MA111 (aka MA111v1)
    This version is identified by no "v2" after "MA111" on the label. The serial number starts with MA14
    * MA111 Support Page, with downloads (http://kbserver.netgear.com/products/MA111v1.asp)
    .
    http://kbserver.netgear.com/products/MA111v1.asp
    http://kbserver.netgear.com/release_notes/d102007.asp
    .
    root@1[~]# wget ftp://downloads.netgear.com/files/ma...river_v1.1.zip
    --18:15:47-- ftp://downloads.netgear.com/files/ma...river_v1.1.zip
    => `ma111sw_driver_v1.1.zip'
    Resolving downloads.netgear.com... 12.7.210.243
    Connecting to downloads.netgear.com|12.7.210.243|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD /files ... done.
    ==> PASV ... done. ==> RETR ma111sw_driver_v1.1.zip ... done.
    Length: 5,847,679 (5.6M) (unauthoritative)

    100%[=============================================>] 5,847,679 597.96K/s ETA 00:00

    18:15:59 (563.94 KB/s) - `ma111sw_driver_v1.1.zip' saved [5847679]

    .
    root@1[~]# ls -l ma111sw_driver_v1.1.zip
    -rw-r--r-- 1 root root 5847679 Nov 24 18:15 ma111sw_driver_v1.1.zip
    .
    root@1[~]# md5sum ma111sw_driver_v1.1.zip
    84eae352598d80931325e28527057254 ma111sw_driver_v1.1.zip
    .
    root@1[~]# cp ma111sw_driver_v1.1.zip /mnt/sdb1/dev/inst/hw/NetGearMA111
    .
    root@1[~]# cd /media/sdb1/dev/inst/hw/NetGearMA111
    .
    root@1[~]# unzip ma111sw_driver_v1.1.zip
    Archive: ma111sw_driver_v1.1.zip
    inflating: win98/MA111nd5.sys
    inflating: win98/NETMA111.INF
    inflating: win2000/MA111nd5.sys
    inflating: win2000/NETMA111.INF
    inflating: winMe/MA111nd5.sys
    inflating: winMe/NETMA111.INF
    inflating: winXP/MA111nd5.sys
    inflating: winXP/NETMA111.INF
    inflating: autorun.exe
    inflating: autorun.inf
    inflating: MA111nd5.sys
    inflating: NETMA111.inf
    inflating: Setup.exe
    inflating: utility/Setup.exe
    inflating: utility/Setup.ini
    inflating: utility/Setup.inx
    inflating: utility/data1.cab
    inflating: utility/data1.hdr
    inflating: utility/data2.cab
    inflating: utility/ikernel.ex_
    inflating: utility/layout.bin
    .
    // __ from all these files, you only need:
    winXP/MA111nd5.sys
    winXP/NETMA111.INF
    .
    I deleted the rest and kept the zip file
    .
    // - - - - - - - Knoppix 5.0.1 (wlan0: error fetching interface information: Device not found)
    .
    root@1[~]# which ndiswrapper
    /usr/sbin/ndiswrapper
    .
    root@1[~]# ls -l /usr/sbin/ndiswrapper
    -rwxr-xr-x 1 root root 220 May 8 2006 /usr/sbin/ndiswrapper
    .
    root@1[~]# md5sum /usr/sbin/ndiswrapper
    ca52192b7d76cede8d47a2afee84eec2 /usr/sbin/ndiswrapper
    .
    root@1[~]# cd /media/sda1/dev/inst/hw/NetGearMA111/winXP
    .
    root@1[winXP]# uname -r
    2.6.17
    .
    root@1[winXP]# cat /etc/knoppix-version
    5.0.1 2006-06-01
    .
    root@1[winXP]# ndiswrapper -i netma111.inf
    Installing netma111
    .
    root@1[winXP]# ndiswrapper -l
    Installed ndis drivers:
    netma111 driver present, hardware present
    .
    root@1[winXP]# ndiswrapper -m
    Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper
    .
    root@1[winXP]# modprobe ndiswrapper
    FATAL: Error inserting ndiswrapper (/lib/modules/2.6.17/misc/ndiswrapper.ko): Invalid argument
    .
    root@1[winXP]# ifconfig -v -a wlan0
    wlan0: error fetching interface information: Device not found
    .
    // - - - - - - - Knoppix 4.0.2
    root@0[~]# cd /mnt/sda1/dev/inst/hw/NetGearMA111/winXP
    .
    root@0[winXP]# ndiswrapper -i netma111.inf
    Installing netma111
    .
    root@0[winXP]# ndiswrapper -l
    Installed ndis drivers:
    netma111 driver present, hardware present
    .
    root@0[winXP]# ndiswrapper -m
    Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper
    .
    root@0[winXP]# modprobe ndiswrapper
    .
    root@0[winXP]# ifconfig -v -a
    eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
    inet addr:192.168.2.4 Bcast:192.168.2.255 Mask:255.255.255.0
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:5066 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3176 errors:0 dropped:0 overruns:0 carrier:1
    collisions:0 txqueuelen:1000
    RX bytes:6696676 (6.3 MiB) TX bytes:281654 (275.0 KiB)
    Interrupt:5 Base address:0xe880

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:30 errors:0 dropped:0 overruns:0 frame:0
    TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1500 (1.4 KiB) TX bytes:1500 (1.4 KiB)

    sit0 Link encap:IPv6-in-IPv4
    inet6 addr: ::127.0.0.1/96 Scope:Unknown
    UP RUNNING NOARP MTU:1480 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    wlan0 Link encap:Ethernet HWaddr NE:WM:AC:ADR:ES <- new mac address
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:1 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:60 (60.0 b) TX bytes:0 (0.0 b)
    .
    // __ (accessed Belkin router) http://192.168.2.1/
    . under firewall -> MAC Address filtering -> enter password and click on submit -> enter new MAC address without colons, that is NEWMACADDRES, instead of entering (NE:WM:AC:ADR:ES)
    .
    . utilities -> restart router
    .
    // __
    root@0[~]# netcardconfig
    eth0 NetzwerkKarte_0
    wanl0 NetzwerkKarte_wanl0
    .
    wanl0 selected (Yes)
    .
    Use DCHP Broadcast? (Yes)
    .
    Sending DHCP broadcast from device wlan0 OK.
    .
    // __ ping(ing) the router
    root@0[winXP]# ping 192.168.2.1
    PING 192.168.2.1 (192.168.2.1): 56 data bytes
    64 bytes from 192.168.2.1: icmp_seq=0 ttl=64 time=1033.7 ms
    64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=63.0 ms
    64 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time=4.0 ms

    --- 192.168.2.1 ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max = 4.0/366.9/1033.7 ms
    .
    // __ ping(ing) out
    root@0[winXP]# ping knoppix.net
    PING knoppix.net (72.36.188.40): 56 data bytes
    64 bytes from 72.36.188.40: icmp_seq=0 ttl=43 time=80.6 ms
    64 bytes from 72.36.188.40: icmp_seq=1 ttl=43 time=81.0 ms
    64 bytes from 72.36.188.40: icmp_seq=2 ttl=43 time=80.0 ms
    64 bytes from 72.36.188.40: icmp_seq=3 ttl=43 time=84.9 ms

    --- knoppix.net ping statistics ---
    4 packets transmitted, 4 packets received, 0% packet loss
    round-trip min/avg/max = 80.0/81.6/84.9 ms
    .
    root@0[winXP]#

  2. #2
    Senior Member registered user
    Join Date
    Dec 2004
    Posts
    168
    has anyone tried it with knoppix 5.0.1 or any later version?
    .
    Albretch

Similar Threads

  1. Proper way to set up wireless using Ndiswrapper
    By dutchcreek in forum Networking
    Replies: 7
    Last Post: 11-04-2007, 04:28 AM
  2. Using NdisWrapper tutorial for wireless net cards wiki
    By joshwolf17 in forum Networking
    Replies: 0
    Last Post: 12-07-2006, 07:59 AM
  3. Wireless wlan0/ndiswrapper problem
    By glj12 in forum Networking
    Replies: 4
    Last Post: 10-25-2006, 10:36 PM
  4. Install a USB Wireless Adapter Driver?
    By SicKn3sS in forum Hardware & Booting
    Replies: 0
    Last Post: 06-18-2006, 11:59 PM
  5. Help with wireless, ndiswrapper & gcc please
    By Rangdo in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 06-02-2005, 01:27 PM

Posting Permissions

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


IBM QRadar xx29 Server 4412Q2A picture

IBM QRadar xx29 Server 4412Q2A

$170.00



IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$99.99



ibm server z series picture

ibm server z series

$16000.00



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server picture

IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server

$191.99



IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$26.97



IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs picture

IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs

$58.52



IBM Power S822 8284-22A 2.5

IBM Power S822 8284-22A 2.5" 12-Bay 64GB 2X 00ND478 2X 00E2865 *READ*

$599.99



1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray picture

1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray

$318.00