Loading ...
Sorry, an error occurred while loading the content.
 

Debian: Wllan driver compile

Expand Messages
  • nsluv2
    I try to build driver for USB wlan card, based on http://3lled.blogspot.com/2008/02/nslu2-dwl-g122-nas-with-wi-fi.html tutorial. I have trouble with make, and
    Message 1 of 4 , Mar 29, 2008
      I try to build driver for USB wlan card, based on
      http://3lled.blogspot.com/2008/02/nslu2-dwl-g122-nas-with-wi-fi.html
      tutorial. I have trouble with make, and get message as follow:

      nslu2:/temp/rt73-cvs-2008032914/Module# make arm
      make: *** /lib/modules/2.6.18-6-ixp4xx/build: No such file or
      directory. Stop.
      rt73.ko failed to build!
      make: *** [arm] Error 1

      Look like I dont have proper kernel sources?
    • Martin Michlmayr
      ... You re pboably just missing the headers. Install linux-headers-2.6.18-6-ixp4xx -- Martin Michlmayr http://www.cyrius.com/
      Message 2 of 4 , Mar 30, 2008
        * nsluv2 <miednica@...> [2008-03-29 22:44]:
        > I try to build driver for USB wlan card, based on
        > http://3lled.blogspot.com/2008/02/nslu2-dwl-g122-nas-with-wi-fi.html
        > tutorial. I have trouble with make, and get message as follow:
        >
        > nslu2:/temp/rt73-cvs-2008032914/Module# make arm
        > make: *** /lib/modules/2.6.18-6-ixp4xx/build: No such file or
        > directory. Stop.
        > rt73.ko failed to build!
        > make: *** [arm] Error 1
        >
        > Look like I dont have proper kernel sources?

        You're pboably just missing the headers. Install
        linux-headers-2.6.18-6-ixp4xx

        --
        Martin Michlmayr
        http://www.cyrius.com/
      • nsluv2
        Yes, it was headerless compilation. Thank You very much! I was trying to setup D-Link DWL-G122 Ver. C1 card based on tutoriall:
        Message 3 of 4 , Mar 30, 2008
          Yes, it was headerless compilation.
          Thank You very much!

          I was trying to setup D-Link DWL-G122 Ver. C1 card based on tutoriall:
          http://3lled.blogspot.com/2008/02/nslu2-dwl-g122-nas-with-wi-fi.html
          and http://wiki.archlinux.org/index.php/RT73_Wireless
          but I was found troble.

          At the end I was edit configuration file: /etc/network/interfaces to
          set DHCP and WEP key.

          # Wlan0
          allow-hotplug wlan0
          iface wlan0 inet dhcp
          pre-up ifconfig wlan0 down
          pre-up iwconfig wlan0 mode Managed
          pre-up ifconfig wlan0 up
          pre-up iwconfig wlan0 essid "xyz"
          pre-up iwconfig wlan0 channel 11
          pre-up iwpriv wlan0 set AuthMode=WEPAUTO
          pre-up iwpriv wlan0 set NetworkType=Infra
          pre-up iwpriv wlan0 AuthMode=SHARED
          pre-up iwpriv wlan0 EncrypType=WEP
          pre-up iwpriv wlan0 DefaultKeyID=1
          pre-up iwpriv wlan0 key1= 1234567890
          # address 192.168.1.77
          netmask 255.255.255.0
          gateway 192.168.1.1

          iwconfig gives answer as follow:

          wlan0 RT73 WLAN ESSID:"xyz"
          Mode:Managed Frequency=2.462 GHz Bit Rate:54 Mb/s
          RTS thr:off Fragment thr:off
          Encryption key:1234-5678-90
          Link Quality=0/100 Signal level:-46 dBm Noise level:-115 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

          ifconfig:

          wlan0 Link encap:Ethernet HWaddr 00:11:22:33:44:55
          inet6 addr: af91::128:4aea:dcad:68c1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:5377 errors:0 dropped:0 overruns:0 frame:0
          TX packets:903 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:396236 (386.9 KiB) TX bytes:63604 (62.1 KiB)

          Finally, the card is invisible :(
        • nsluv2
          Finnaly it works! I setup /etc/network/interfaces as follow: allow-hotplug wlan0 iface wlan0 inet dhcp pre-up ifconfig wlan0 down pre-up iwconfig wlan0 mode
          Message 4 of 4 , Apr 2, 2008
            Finnaly it works!

            I setup /etc/network/interfaces as follow:

            allow-hotplug wlan0
            iface wlan0 inet dhcp
            pre-up ifconfig wlan0 down
            pre-up iwconfig wlan0 mode Managed
            pre-up ifconfig wlan0 up
            pre-up iwconfig wlan0 essid xyz
            pre-up iwconfig wlan0 channel 11
            pre-up iwconfig wlan0 enc 0123456789
            wireless_nick DebianSlug

            And there was trouble with DHCP allowance. My WAG200G doesnt answer
            for IP number requests.

            I must change Authentication Type from Shared to Auto...
          Your message has been successfully submitted and would be delivered to recipients shortly.