Jump to content


Photo

USB Host mode with usb wifi adaptor

- - - - -

  • Please log in to reply
2 replies to this topic

#1
h4z7d

h4z7d

    Newbie

  • Members
  • Pip
  • 26 posts
  • Gender:Male
  • Location:UK
  • Devices:ZTE Blade
Hi,

I'm trying to get a usb wifi adaptor working with my blade.

I'm looking for the kernel sources for Cyanogenmod to compile some drivers against. I've got a USB wifi device which I want to get working in a debian chroot environment.

So far, I've got lsusb in the chroot displaying my adaptor (RTL8187).

I'm using an older nightly build because I'm using Johnsmithx's usb otg patch which works on 2.6.32.9

I've downloaded the kernel sources from:

https://github.com/C...tree/2.6.32-zte

loaded them into my chroot debian, run a make oldconfig, make prepare and make modules_prepare against my running .config,

then I got the latest compat and made that gainst the sources above which seemed to work with no errors and generated the .ko files.

problem is, when I try and insmod them into my chroot, I get

insmod rtl8187.ko
insmod: error inserting 'rtl8187.ko': -1 Unknown symbol in module

And this in dmesg:
[10-03 11:03:39.117956] [840: insmod]mac80211: Unknown symbol cfg80211_send_assoc_timeout
[10-03 11:03:39.117956] [840: insmod]mac80211: Unknown symbol cfg80211_sched_scan_results
[10-03 11:03:39.117956] [840: insmod]mac80211: Unknown symbol cfg80211_rx_unexpected_4addr_frame
[10-03 11:03:39.117956] [840: insmod]mac80211: Unknown symbol atomic64_read
[10-03 11:03:39.117956] [840: insmod]mac80211: Unknown symbol cfg80211_scan_done
[10-03 11:03:39.117956] [840: insmod]mac80211: Unknown symbol cfg80211_sched_scan_stopped
[10-03 11:03:39.137956] [840: insmod]mac80211: Unknown symbol cfg80211_send_auth_timeout
[10-03 11:03:39.137956] [840: insmod]mac80211: Unknown symbol cfg80211_remain_on_channel_expired
[10-03 11:03:39.137956] [840: insmod]mac80211: Unknown symbol ieee80211_amsdu_to_8023s
[10-03 11:03:39.137956] [840: insmod]mac80211: Unknown symbol cfg80211_send_deauth
[10-03 11:03:39.137956] [840: insmod]mac80211: Unknown symbol cfg80211_ref_bss
[10-03 11:03:39.137956] [840: insmod]mac80211: Unknown symbol __cfg80211_send_deauth
[10-03 11:03:39.137956] [840: insmod]mac80211: Unknown symbol cfg80211_new_sta
[10-03 11:03:39.137956] [840: insmod]mac80211: Unknown symbol cfg80211_send_unprot_deauth
[10-03 11:03:39.147948] [840: insmod]mac80211: Unknown symbol cfg80211_calculate_bitrate
[10-03 11:03:39.147948] [840: insmod]mac80211: Unknown symbol atomic64_add_return
[10-03 11:03:39.147948] [840: insmod]mac80211: Unknown symbol compat_ewma_add
[10-03 11:03:39.147948] [840: insmod]mac80211: Unknown symbol cfg80211_ready_on_channel
[10-03 11:03:39.147948] [840: insmod]mac80211: Unknown symbol compat_dependency_symbol
[10-03 11:03:39.147948] [840: insmod]mac80211: Unknown symbol cfg80211_classify8021d
[10-03 11:03:39.147948] [840: insmod]mac80211: Unknown symbol cfg80211_send_unprot_disassoc
[10-03 11:03:39.147948] [840: insmod]mac80211: Unknown symbol wiphy_register
[10-03 11:03:39.157955] [840: insmod]mac80211: Unknown symbol wiphy_new
[10-03 11:03:39.157955] [840: insmod]mac80211: Unknown symbol cfg80211_put_bss
[10-03 11:03:39.157955] [840: insmod]mac80211: Unknown symbol cfg80211_gtk_rekey_notify
[10-03 11:03:39.157955] [840: insmod]mac80211: Unknown symbol cfg80211_can_beacon_sec_chan
[10-03 11:03:39.157955] [840: insmod]mac80211: Unknown symbol ieee80211_bss_get_ie
[10-03 11:03:39.157955] [840: insmod]mac80211: Unknown symbol cfg80211_rx_spurious_frame
[10-03 11:03:39.157955] [840: insmod]mac80211: Unknown symbol cfg80211_ibss_joined
[10-03 11:03:39.157955] [840: insmod]mac80211: Unknown symbol __cfg80211_send_disassoc
[10-03 11:03:39.157955] [840: insmod]mac80211: Unknown symbol cfg80211_report_obss_beacon
[10-03 11:03:39.167951] [840: insmod]mac80211: Unknown symbol cfg80211_michael_mic_failure
[10-03 11:03:39.167951] [840: insmod]mac80211: Unknown symbol cfg80211_cqm_pktloss_notify
[10-03 11:03:39.167951] [840: insmod]mac80211: Unknown symbol cfg80211_send_rx_auth
[10-03 11:03:39.167951] [840: insmod]mac80211: Unknown symbol wiphy_unregister
[10-03 11:03:39.167951] [840: insmod]mac80211: Unknown symbol cfg80211_send_disassoc
[10-03 11:03:39.167951] [840: insmod]mac80211: Unknown symbol ieee80211_radiotap_iterator_init
[10-03 11:03:39.167951] [840: insmod]mac80211: Unknown symbol cfg80211_notify_new_peer_candidate
[10-03 11:03:39.167951] [840: insmod]mac80211: Unknown symbol cfg80211_get_bss
[10-03 11:03:39.167951] [840: insmod]mac80211: Unknown symbol __ieee80211_get_channel
[10-03 11:03:39.177940] [840: insmod]mac80211: Unknown symbol rfc1042_header
[10-03 11:03:39.177940] [840: insmod]mac80211: Unknown symbol compat_ewma_init
[10-03 11:03:39.177940] [840: insmod]mac80211: Unknown symbol cfg80211_mgmt_tx_status
[10-03 11:03:39.177940] [840: insmod]mac80211: Unknown symbol cfg80211_find_ie
[10-03 11:03:39.177940] [840: insmod]mac80211: Unknown symbol cfg80211_del_sta
[10-03 11:03:39.177940] [840: insmod]mac80211: Unknown symbol cfg80211_probe_status
[10-03 11:03:39.177940] [840: insmod]mac80211: Unknown symbol ieee80211_data_to_8023
[10-03 11:03:39.177940] [840: insmod]mac80211: Unknown symbol cfg80211_send_rx_assoc
[10-03 11:03:39.177940] [840: insmod]mac80211: Unknown symbol ieee80211_radiotap_iterator_next
[10-03 11:03:39.177940] [840: insmod]mac80211: Unknown symbol ieee80211_channel_to_frequency
[10-03 11:03:39.177940] [840: insmod]mac80211: Unknown symbol cfg80211_rx_mgmt
[10-03 11:03:39.187941] [840: insmod]mac80211: Unknown symbol ieee80211_hdrlen
[10-03 11:03:39.187941] [840: insmod]mac80211: Unknown symbol compat_schedule_work
[10-03 11:03:39.187941] [840: insmod]mac80211: Unknown symbol cfg80211_inform_bss_frame
[10-03 11:03:39.187941] [840: insmod]mac80211: Unknown symbol compat_flush_scheduled_work
[10-03 11:03:39.187941] [840: insmod]mac80211: Unknown symbol ieee80211_frequency_to_channel
[10-03 11:03:39.187941] [840: insmod]mac80211: Unknown symbol bridge_tunnel_header
[10-03 11:03:39.197951] [840: insmod]mac80211: Unknown symbol cfg80211_unlink_bss
[10-03 11:03:39.197951] [840: insmod]mac80211: Unknown symbol wiphy_free
[10-03 11:03:39.197951] [840: insmod]mac80211: Unknown symbol cfg80211_cqm_rssi_notify
[10-03 11:03:48.827955] [841: insmod]cfg80211: Unknown symbol compat_genl_unregister_family
[10-03 11:03:48.827955] [841: insmod]cfg80211: Unknown symbol compat_genl_register_family_with_ops
[10-03 11:03:48.827955] [841: insmod]cfg80211: Unknown symbol compat_dependency_symbol
[10-03 11:03:48.827955] [841: insmod]cfg80211: Unknown symbol rfkill_resume_polling
[10-03 11:03:48.847951] [841: insmod]cfg80211: Unknown symbol compat_schedule_work
[10-03 11:03:48.857946] [841: insmod]cfg80211: Unknown symbol compat_schedule_delayed_work
[10-03 11:04:08.387951] [842: insmod]rtl8187: Unknown symbol ieee80211_queue_stopped
[10-03 11:04:08.387951] [842: insmod]rtl8187: Unknown symbol ieee80211_free_hw
[10-03 11:04:08.387951] [842: insmod]rtl8187: Unknown symbol ieee80211_alloc_hw
[10-03 11:04:08.387951] [842: insmod]rtl8187: Unknown symbol ieee80211_register_hw
[10-03 11:04:08.387951] [842: insmod]rtl8187: Unknown symbol ieee80211_generic_frame_duration
[10-03 11:04:08.407951] [842: insmod]rtl8187: Unknown symbol ieee80211_tx_status_irqsafe
[10-03 11:04:08.407951] [842: insmod]rtl8187: Unknown symbol compat_dependency_symbol
[10-03 11:04:08.407951] [842: insmod]rtl8187: Unknown symbol wiphy_rfkill_set_hw_state
[10-03 11:04:08.407951] [842: insmod]rtl8187: Unknown symbol ieee80211_queue_delayed_work
[10-03 11:04:08.407951] [842: insmod]rtl8187: Unknown symbol wiphy_rfkill_stop_polling
[10-03 11:04:08.407951] [842: insmod]rtl8187: Unknown symbol eeprom_93cx6_multiread
[10-03 11:04:08.417950] [842: insmod]rtl8187: Unknown symbol wiphy_rfkill_start_polling
[10-03 11:04:08.417950] [842: insmod]rtl8187: Unknown symbol ieee80211_unregister_hw
[10-03 11:04:08.427955] [842: insmod]rtl8187: Unknown symbol ieee80211_beacon_get_tim
[10-03 11:04:08.427955] [842: insmod]rtl8187: Unknown symbol compat_schedule_work
[10-03 11:04:08.427955] [842: insmod]rtl8187: Unknown symbol ieee80211_frequency_to_channel
[10-03 11:04:08.427955] [842: insmod]rtl8187: Unknown symbol compat_schedule_delayed_work
[10-03 11:04:08.427955] [842: insmod]rtl8187: Unknown symbol ieee80211_rx_irqsafe
[10-03 11:04:08.427955] [842: insmod]rtl8187: Unknown symbol eeprom_93cx6_read
[10-03 11:04:08.427955] [842: insmod]rtl8187: Unknown symbol ieee80211_rts_duration

I think the modules wont load because I'm compiling this against the wrong kernel sources, what do you guys think?

If I can get this working, I'll post a full guide, including how to get aircrack-ng working on the blade with injection and the reqired files.

Cheers,

Jon

  • 0

#2
Ganster

Ganster

    Regular

  • Members
  • PipPip
  • 92 posts
  • Gender:Male
  • Location:Ukraine
  • Devices:Orange San Francisco
  • Twitter:@Ganster41
Try this kernel. It has OTG function too(disabled in config by default) and compatible with latest CM7(and ICS may be, because i see ics branch).
And I think your modules require other modules, like cfg80211.ko, ieee80211.ko...

  • 1

#3
h4z7d

h4z7d

    Newbie

  • Members
  • Pip
  • 26 posts
  • Gender:Male
  • Location:UK
  • Devices:ZTE Blade

Try this kernel. It has OTG function too(disabled in config by default) and compatible with latest CM7(and ICS may be, because i see ics branch).
And I think your modules require other modules, like cfg80211.ko, ieee80211.ko...


Thanks! I will try that one!

I genereated those modules, I just didnt mention them in that post as they produced the same error message as the rtl8187 module.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users