Page 11 of 12 FirstFirst ... 9101112 LastLast
Results 101 to 110 of 116

Thread: How to Enable Injection on a Intel PRO/Wireless 3945ABG Wireless Card??

  1. #101
    Join Date
    Nov 2009
    Beans
    4

    Re: How to Enable Injection on a Intel PRO/Wireless 3945ABG Wireless Card??

    with
    iwconfig wifi0 mode monitor I get an error.

  2. #102
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: How to Enable Injection on a Intel PRO/Wireless 3945ABG Wireless Card??

    iwconfig wifi0 mode monitor
    Please try:
    Code:
    sudo iwconfig wlan0 mode monitor
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  3. #103
    Join Date
    Nov 2009
    Beans
    4

    Re: How to Enable Injection on a Intel PRO/Wireless 3945ABG Wireless Card??

    yes I have tried this but I get:
    Code:
    error for the wireless request "Set Mode" (8B06)
    Set failed on device wlan0; Device or resource busy

  4. #104
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: How to Enable Injection on a Intel PRO/Wireless 3945ABG Wireless Card??

    Let's try another way:
    Code:
    sudo ifconfig wlan0 down
    sudo iwconfig wlan0 mode monitor
    Did that do it?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  5. #105
    Join Date
    Nov 2009
    Beans
    4

    Re: How to Enable Injection on a Intel PRO/Wireless 3945ABG Wireless Card??

    Ok thx this works for me. Is it now possible to log my wlan traffic with wireshark in plain text, when its unencrypted?

  6. #106
    Join Date
    Nov 2009
    Beans
    16

    Re: How to Enable Injection on a Intel PRO/Wireless 3945ABG Wireless Card??

    I just installed Compat-Wireless. I uploaded the Compat-Wireless module.

    root@MARS:/home/konstantine/Downloads/compat-wireless-2009-11-21# lsmod | grep iwl
    iwl3945 70332 0
    iwlcore 119172 1 iwl3945
    mac80211 212556 2 iwl3945,iwlcore
    cfg80211 132808 3 iwl3945,iwlcore,mac80211
    but I still can not get injection working. advice?

    root@MARS:/home/konstantine/Downloads/compat-wireless-2009-11-21# aireplay-ng -9 wlan0
    14:18:59 Trying broadcast probe requests...
    14:19:01 No Answer...
    14:19:01 Found 1 AP

    14:19:01 Trying directed probe requests...
    14:19:01 00:21:1E:3C:0B:10 - channel: 1 - 'Cornerstone'
    14:19:07 0/30: 0%

  7. #107
    Join Date
    Jan 2010
    Beans
    11

    Re: How to Enable Injection on a Intel PRO/Wireless 3945ABG Wireless Card??

    Hi I followed the instruction in http://maxi-pedia.com/how+to+crack+W...reless+3945ABG
    When I do until the "make" step, I get an error like this. I have tried to use 'make SHELL=/bin/bash' and I got the same error too. May I know what is the problem please?

    -------------------------------------------------------------------------------------------
    ubuntugod@ubuntu:~/ipwraw-ng$ sudo make

    WARNING: $SHELL not set to bash.
    If you experience build errors, try
    'make SHELL=/bin/bash'.

    make -C /lib/modules/2.6.31-16-generic/build M=/home/ubuntugod/ipwraw-ng modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.31-16-generic'

    WARNING: $SHELL not set to bash.
    If you experience build errors, try
    'make SHELL=/bin/bash'.

    CC [M] /home/ubuntugod/ipwraw-ng/ipwraw.o
    /home/ubuntugod/ipwraw-ng/ipwraw.c:43:27: error: net/ieee80211.h: No such file or directory
    In file included from /home/ubuntugod/ipwraw-ng/ipwraw.h:51,
    from /home/ubuntugod/ipwraw-ng/ipwraw.c:48:
    /home/ubuntugod/ipwraw-ng/iwlwifi_hw.h:525: error: array type has incomplete element type
    /home/ubuntugod/ipwraw-ng/iwlwifi_hw.h:847: error: array type has incomplete element type
    In file included from /home/ubuntugod/ipwraw-ng/ipwraw.c:48:
    /home/ubuntugod/ipwraw-ng/ipwraw.h:531: error: field ‘frame’ has incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.h:532: error: ‘IEEE80211_FRAME_LEN’ undeclared here (not in a function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘frame_get_hdrlen’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:52: error: ‘IEEE80211_3ADDR_LEN’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:52: error: (Each undeclared identifier is reported only once
    /home/ubuntugod/ipwraw-ng/ipwraw.c:52: error: for each function it appears in.)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:53: error: implicit declaration of function ‘WLAN_FC_GET_STYPE’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:55: error: implicit declaration of function ‘WLAN_FC_GET_TYPE’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:56: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_FROMDS’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_TODS’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:58: error: ‘IEEE80211_4ADDR_LEN’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:59: error: ‘IEEE80211_STYPE_QOS_DATA’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:62: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:64: error: ‘IEEE80211_STYPE_CTS’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:65: error: ‘IEEE80211_STYPE_ACK’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:66: error: ‘IEEE80211_1ADDR_LEN’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:69: error: ‘IEEE80211_2ADDR_LEN’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘is_channel_a_band’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:1709: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘is_channel_bg_band’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:1714: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘store_channel’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:1878: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:1884: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘store_band’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:1926: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:1927: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_get_channel_info’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:3284: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:3294: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘reg_get_chnl_grp_index’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:3489: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_init_channel_map’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:4111: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:4112: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_post_alive_work’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:4248: error: ‘IEEE80211_OFDM_DEFAULT_RATES_MASK’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:4249: error: ‘IEEE80211_OFDM_BASIC_RATES_MASK’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:4250: error: ‘IEEE80211_CCK_DEFAULT_RATES_MASK’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:4251: error: ‘IEEE80211_CCK_BASIC_RATES_MASK’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_queue_tx_free_tfd’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:5974: error: implicit declaration of function ‘ieee80211_get_hdrlen’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:5974: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘raw_rx’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6396: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6406: error: ‘ETH_P_80211_RAW’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: At top level:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6416: warning: ‘struct ieee80211_rx_stats’ declared inside parameter list
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6416: warning: its scope is only this definition or declaration, which is probably not what you want
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_data_packet’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6441: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c: At top level:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6456: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘is_duplicate_packet’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6458: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6459: error: implicit declaration of function ‘WLAN_GET_SEQ_SEQ’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6460: error: implicit declaration of function ‘WLAN_GET_SEQ_FRAG’
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_promiscuous_tx’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6504: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6504: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6504: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6509: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6509: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6514: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6514: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6522: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6526: error: ‘IEEE80211_RADIOTAP_HDRLEN’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6540: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: At top level:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6563: warning: ‘struct ieee80211_rx_stats’ declared inside parameter list
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_promiscuous_rx’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6618: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6618: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6618: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6623: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6623: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6628: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6628: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6646: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_reply_rx’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6852: error: variable ‘stats’ has initializer but incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6853: error: unknown field ‘rssi’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6853: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6853: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6854: error: unknown field ‘signal’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6854: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6854: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6855: error: unknown field ‘noise’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6855: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6855: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6856: error: unknown field ‘mac_time’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6856: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6856: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6857: error: unknown field ‘rate’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6857: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6857: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6858: error: unknown field ‘received_channel’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6858: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6858: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6859: error: unknown field ‘len’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6859: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6859: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6860: error: unknown field ‘freq’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6863: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6863: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6863: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6863: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6864: error: unknown field ‘tsf’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6864: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6864: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6865: error: unknown field ‘beacon_time’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6865: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6865: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6852: error: storage size of ‘stats’ isn’t known
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6881: error: ‘IEEE80211_STATMASK_RSSI’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6885: error: ‘IEEE80211_STATMASK_SIGNAL’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6887: error: ‘IEEE80211_STATMASK_NOISE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6889: error: ‘IEEE80211_STATMASK_RATE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6852: warning: unused variable ‘stats’
    /home/ubuntugod/ipwraw-ng/ipwraw.c: At top level:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7256: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_build_tx_cmd_rate’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7263: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7264: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7295: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7302: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7303: error: ‘IEEE80211_STYPE_AUTH’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7304: error: ‘IEEE80211_STYPE_DEAUTH’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7305: error: ‘IEEE80211_STYPE_ASSOC_REQ’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7306: error: ‘IEEE80211_STYPE_REASSOC_REQ’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: At top level:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7333: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_build_tx_cmd_basic’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7340: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7340: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7341: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7344: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7344: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7345: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7354: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7354: error: ‘IEEE80211_FCTL_MOREFRAGS’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7359: error: ‘IEEE80211_FCS_LEN’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7366: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7366: error: ‘IEEE80211_FCTL_PROTECTED’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7382: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7383: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7384: error: ‘IEEE80211_STYPE_ASSOC_REQ’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7385: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7386: error: ‘IEEE80211_STYPE_REASSOC_REQ’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘tx_skb’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7420: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7422: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7423: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7430: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7439: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7491: warning: passing argument 3 of ‘ipw_build_tx_cmd_basic’ from incompatible pointer type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7330: note: expected ‘struct ieee80211_hdr_4addr *’ but argument is of type ‘struct ieee80211_hdr_4addr *’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7493: warning: passing argument 3 of ‘ipw_build_tx_cmd_rate’ from incompatible pointer type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7253: note: expected ‘struct ieee80211_hdr_4addr *’ but argument is of type ‘struct ieee80211_hdr_4addr *’
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_net_hard_start_xmit’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7562: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_hdr_1addr’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7582: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7583: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7586: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_prom_alloc’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8374: error: ‘ARPHRD_IEEE80211_RADIOTAP’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8375: error: ‘struct net_device’ has no member named ‘open’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8376: error: ‘struct net_device’ has no member named ‘stop’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8377: error: ‘struct net_device’ has no member named ‘get_stats’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8378: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_wx_set_freq’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8517: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8523: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_pci_probe’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8870: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8872: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8897: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8898: error: ‘struct net_device’ has no member named ‘open’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8899: error: ‘struct net_device’ has no member named ‘stop’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8900: error: ‘struct net_device’ has no member named ‘get_stats’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8901: error: ‘struct net_device’ has no member named ‘set_mac_address’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8902: error: ‘ARPHRD_IEEE80211’ undeclared (first use in this function)
    make[2]: *** [/home/ubuntugod/ipwraw-ng/ipwraw.o] Error 1
    make[1]: *** [_module_/home/ubuntugod/ipwraw-ng] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-16-generic'
    make: *** [modules] Error 2
    -------------------------------------------------------------------------------------------

  8. #108
    Join Date
    Feb 2007
    Location
    Portugal
    Beans
    216
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to Enable Injection on a Intel PRO/Wireless 3945ABG Wireless Card??

    Quote Originally Posted by zach_kirov View Post
    Hi I followed the instruction in http://maxi-pedia.com/how+to+crack+W...reless+3945ABG
    When I do until the "make" step, I get an error like this. I have tried to use 'make SHELL=/bin/bash' and I got the same error too. May I know what is the problem please?

    -------------------------------------------------------------------------------------------
    ubuntugod@ubuntu:~/ipwraw-ng$ sudo make

    WARNING: $SHELL not set to bash.
    If you experience build errors, try
    'make SHELL=/bin/bash'.

    make -C /lib/modules/2.6.31-16-generic/build M=/home/ubuntugod/ipwraw-ng modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.31-16-generic'

    WARNING: $SHELL not set to bash.
    If you experience build errors, try
    'make SHELL=/bin/bash'.

    CC [M] /home/ubuntugod/ipwraw-ng/ipwraw.o
    /home/ubuntugod/ipwraw-ng/ipwraw.c:43:27: error: net/ieee80211.h: No such file or directory
    In file included from /home/ubuntugod/ipwraw-ng/ipwraw.h:51,
    from /home/ubuntugod/ipwraw-ng/ipwraw.c:48:
    /home/ubuntugod/ipwraw-ng/iwlwifi_hw.h:525: error: array type has incomplete element type
    /home/ubuntugod/ipwraw-ng/iwlwifi_hw.h:847: error: array type has incomplete element type
    In file included from /home/ubuntugod/ipwraw-ng/ipwraw.c:48:
    /home/ubuntugod/ipwraw-ng/ipwraw.h:531: error: field ‘frame’ has incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.h:532: error: ‘IEEE80211_FRAME_LEN’ undeclared here (not in a function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘frame_get_hdrlen’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:52: error: ‘IEEE80211_3ADDR_LEN’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:52: error: (Each undeclared identifier is reported only once
    /home/ubuntugod/ipwraw-ng/ipwraw.c:52: error: for each function it appears in.)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:53: error: implicit declaration of function ‘WLAN_FC_GET_STYPE’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:55: error: implicit declaration of function ‘WLAN_FC_GET_TYPE’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:56: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_FROMDS’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_TODS’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:58: error: ‘IEEE80211_4ADDR_LEN’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:59: error: ‘IEEE80211_STYPE_QOS_DATA’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:62: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:64: error: ‘IEEE80211_STYPE_CTS’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:65: error: ‘IEEE80211_STYPE_ACK’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:66: error: ‘IEEE80211_1ADDR_LEN’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:69: error: ‘IEEE80211_2ADDR_LEN’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘is_channel_a_band’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:1709: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘is_channel_bg_band’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:1714: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘store_channel’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:1878: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:1884: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘store_band’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:1926: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:1927: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_get_channel_info’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:3284: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:3294: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘reg_get_chnl_grp_index’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:3489: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_init_channel_map’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:4111: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:4112: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_post_alive_work’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:4248: error: ‘IEEE80211_OFDM_DEFAULT_RATES_MASK’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:4249: error: ‘IEEE80211_OFDM_BASIC_RATES_MASK’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:4250: error: ‘IEEE80211_CCK_DEFAULT_RATES_MASK’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:4251: error: ‘IEEE80211_CCK_BASIC_RATES_MASK’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_queue_tx_free_tfd’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:5974: error: implicit declaration of function ‘ieee80211_get_hdrlen’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:5974: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘raw_rx’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6396: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6406: error: ‘ETH_P_80211_RAW’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: At top level:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6416: warning: ‘struct ieee80211_rx_stats’ declared inside parameter list
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6416: warning: its scope is only this definition or declaration, which is probably not what you want
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_data_packet’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6441: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c: At top level:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6456: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘is_duplicate_packet’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6458: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6459: error: implicit declaration of function ‘WLAN_GET_SEQ_SEQ’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6460: error: implicit declaration of function ‘WLAN_GET_SEQ_FRAG’
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_promiscuous_tx’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6504: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6504: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6504: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6509: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6509: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6514: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6514: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6522: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6526: error: ‘IEEE80211_RADIOTAP_HDRLEN’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6540: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: At top level:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6563: warning: ‘struct ieee80211_rx_stats’ declared inside parameter list
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_promiscuous_rx’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6618: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6618: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6618: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6623: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6623: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6628: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6628: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6646: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_reply_rx’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6852: error: variable ‘stats’ has initializer but incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6853: error: unknown field ‘rssi’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6853: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6853: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6854: error: unknown field ‘signal’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6854: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6854: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6855: error: unknown field ‘noise’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6855: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6855: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6856: error: unknown field ‘mac_time’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6856: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6856: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6857: error: unknown field ‘rate’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6857: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6857: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6858: error: unknown field ‘received_channel’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6858: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6858: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6859: error: unknown field ‘len’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6859: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6859: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6860: error: unknown field ‘freq’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6863: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6863: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6863: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6863: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6864: error: unknown field ‘tsf’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6864: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6864: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6865: error: unknown field ‘beacon_time’ specified in initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6865: warning: excess elements in struct initializer
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6865: warning: (near initialization for ‘stats’)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6852: error: storage size of ‘stats’ isn’t known
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6881: error: ‘IEEE80211_STATMASK_RSSI’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6885: error: ‘IEEE80211_STATMASK_SIGNAL’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6887: error: ‘IEEE80211_STATMASK_NOISE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6889: error: ‘IEEE80211_STATMASK_RATE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:6852: warning: unused variable ‘stats’
    /home/ubuntugod/ipwraw-ng/ipwraw.c: At top level:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7256: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_build_tx_cmd_rate’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7263: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7264: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7286: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7295: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7302: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7303: error: ‘IEEE80211_STYPE_AUTH’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7304: error: ‘IEEE80211_STYPE_DEAUTH’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7305: error: ‘IEEE80211_STYPE_ASSOC_REQ’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7306: error: ‘IEEE80211_STYPE_REASSOC_REQ’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: At top level:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7333: warning: ‘struct ieee80211_hdr_4addr’ declared inside parameter list
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_build_tx_cmd_basic’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7340: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7340: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7341: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7344: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7344: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7345: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7354: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7354: error: ‘IEEE80211_FCTL_MOREFRAGS’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7359: error: ‘IEEE80211_FCS_LEN’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7366: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7366: error: ‘IEEE80211_FCTL_PROTECTED’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7382: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7383: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7384: error: ‘IEEE80211_STYPE_ASSOC_REQ’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7385: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7386: error: ‘IEEE80211_STYPE_REASSOC_REQ’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘tx_skb’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7420: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7422: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7423: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7430: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7439: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7491: warning: passing argument 3 of ‘ipw_build_tx_cmd_basic’ from incompatible pointer type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7330: note: expected ‘struct ieee80211_hdr_4addr *’ but argument is of type ‘struct ieee80211_hdr_4addr *’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7493: warning: passing argument 3 of ‘ipw_build_tx_cmd_rate’ from incompatible pointer type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7253: note: expected ‘struct ieee80211_hdr_4addr *’ but argument is of type ‘struct ieee80211_hdr_4addr *’
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_net_hard_start_xmit’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7562: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_hdr_1addr’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7582: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7583: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c:7586: error: dereferencing pointer to incomplete type
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_prom_alloc’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8374: error: ‘ARPHRD_IEEE80211_RADIOTAP’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8375: error: ‘struct net_device’ has no member named ‘open’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8376: error: ‘struct net_device’ has no member named ‘stop’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8377: error: ‘struct net_device’ has no member named ‘get_stats’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8378: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_wx_set_freq’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8517: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8523: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c: In function ‘ipw_pci_probe’:
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8870: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8872: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8897: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8898: error: ‘struct net_device’ has no member named ‘open’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8899: error: ‘struct net_device’ has no member named ‘stop’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8900: error: ‘struct net_device’ has no member named ‘get_stats’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8901: error: ‘struct net_device’ has no member named ‘set_mac_address’
    /home/ubuntugod/ipwraw-ng/ipwraw.c:8902: error: ‘ARPHRD_IEEE80211’ undeclared (first use in this function)
    make[2]: *** [/home/ubuntugod/ipwraw-ng/ipwraw.o] Error 1
    make[1]: *** [_module_/home/ubuntugod/ipwraw-ng] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-16-generic'
    make: *** [modules] Error 2
    -------------------------------------------------------------------------------------------
    got the exact same problem.. can someone help? using karmic

  9. #109
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: How to Enable Injection on a Intel PRO/Wireless 3945ABG Wireless Card??

    got the exact same problem.. can someone help? using karmic
    I believe this file, ipraw, was built in February, 2008. It's probably too old for the Karmic kernel.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  10. #110
    Join Date
    Mar 2010
    Location
    :)
    Beans
    1

    Re: How to Enable Injection on a Intel PRO/Wireless 3945ABG Wireless Card??

    I have got exactly same error .... please give us any solutions pleasee ... Thank you

Page 11 of 12 FirstFirst ... 9101112 LastLast

Tags for this Thread

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
  •