[XPERIA X8 Android Development] tharaka:
I had this module working with KuyaDroid with no issue whatsoever. But now on GingerDX, its not working for some reason.

here is my dmesg;

[ 0.000000]
.
.
.
---some output---
.
.
[ 11.511459] ax8netfilter: Field arp_process set
[ 11.537742] ax8netfilter: Field ip_finish_output2 set
[ 11.558902] ax8netfilter: Field xfrm_output set
[ 11.591119] bq24180: Charge in progress
[ 11.592397] bq24180: Set safety timer to 60 minutes
[ 11.599594] ax8netfilter: Field xfrm_output2 set
[ 11.650292]
[ 11.650309] Charger Type: STD DOWNSTREAM PORT
[ 11.671565] ax8netfilter: Field inet_protos set
[ 11.689899] ax8netfilter: Field ip_forward_options set
[ 11.722790] ax8netfilter: Field ip_call_ra_chain set
[ 11.747787] ax8netfilter: Field ip_rt_send_redirect set
[ 11.768552] ax8netfilter: Field raw_local_deliver set
[ 11.792584] ax8netfilter: Field ip_options_fragment set
[ 11.823755] ax8netfilter: Field ip_options_get_from_user set
[ 11.852512] ax8netfilter: Field ip_mc_leave_group set
[ 11.878019] ax8netfilter: Field ip_mc_msfilter set
[ 11.890822] ax8netfilter: Field ip_mc_source set
[ 11.910574] ax8netfilter: Field ip_ra_control set
[ 11.931841] ax8netfilter: Field ip_options_undo set
[ 11.954786] ax8netfilter: Field ip_mc_msfget set
[ 11.975047] ax8netfilter: Field ip_mc_gsfget set
[ 12.047699] ax8netfilter: Field sysctl_ip_default_ttl set
[ 12.060065] ax8netfilter: Field ip_local_error set
[ 12.090295] ax8netfilter: Field icmp_out_count set
[ 12.114142] ax8netfilter: Field ip_cmsg_send set
[ 12.148544] ax8netfilter: Field ip_append_data set
[ 12.174765] ax8netfilter: Field ip_push_pending_frames set
[ 12.187082] ax8netfilter: Field ip_flush_pending_frames set
[ 12.224442] ax8netfilter: Field xfrm_replay_notify set
[ 12.275752] ax8netfilter: Field sysctl_igmp_max_msf set
[ 12.307930] ax8netfilter: Field ip_options_compile set
[ 12.331794] ax8netfilter: Field ip_options_rcv_srr set
[ 12.358669] ax8netfilter: Function skb_release_head_state hijacked
[ 12.390327] ax8netfilter: Function __copy_skb_header hijacked
[ 12.407544] ax8netfilter: Function arp_xmit hijacked
[ 12.426289] ax8netfilter: Function arp_rcv hijacked
[ 12.460399] ax8netfilter: Function ip_forward hijacked
[ 12.487966] ax8netfilter: Function ip_local_deliver hijacked
[ 12.511746] ax8netfilter: Function __ip_local_out hijacked
[ 12.537232] ax8netfilter: Function ip_mc_output hijacked
[ 12.549132] ax8netfilter: Function ip_output hijacked
[ 12.585925] ax8netfilter: Function ip_fragment hijacked
[ 12.627107] ax8netfilter: Function ip_setsockopt hijacked
[ 12.641059] ax8netfilter: Function ip_getsockopt hijacked
[ 12.665570] ax8netfilter: Function raw_sendmsg hijacked
[ 12.698742] ax8netfilter: Function raw_rcv hijacked
[ 12.742392] ax8netfilter: Function xfrm4_transport_finish hijacked
[ 12.755632] ax8netfilter: Function xfrm_output_resume hijacked
[ 12.801598] ax8netfilter: Function ip_rcv hijacked
[ 12.856071] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.990327] nf_conntrack version 0.5.0 (3440 buckets, 13760 max)
[ 12.991012] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[ 12.998105] nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
[ 13.006084] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[ 13.265112] xt_NFLOG: Unknown symbol nfulnl_log_packet
[ 13.349606] xt_TPROXY: Unknown symbol nf_tproxy_get_sock_v4
[ 13.353026] xt_TPROXY: Unknown symbol nf_tproxy_assign_sock
[ 13.711662] xt_socket: Unknown symbol nf_tproxy_get_sock_v4
[ 13.749698] xt_string: Unknown symbol textsearch_destroy
[ 13.751510] xt_string: Unknown symbol textsearch_prepare
[ 13.802725] xt_time: kernel timezone is -0000
[ 13.853929] nf_conntrack_amanda: Unknown symbol textsearch_destroy
[ 13.856652] nf_conntrack_amanda: Unknown symbol textsearch_prepare
[ 13.991452] nf_conntrack_netlink: Unknown symbol nfnetlink_subsys_register
[ 14.007214] nf_conntrack_netlink: Unknown symbol nfnl_unlock
[ 14.010380] nf_conntrack_netlink: Unknown symbol nfnetlink_send
[ 14.016509] nf_conntrack_netlink: Unknown symbol nfnetlink_subsys_unregister
[ 14.026145] nf_conntrack_netlink: Unknown symbol nfnl_lock
[ 14.032289] nf_conntrack_netlink: Unknown symbol nfnetlink_has_listeners
[ 14.043659] nf_conntrack_pptp: Unknown symbol nf_ct_gre_keymap_destroy
[ 14.047465] nf_conntrack_pptp: Unknown symbol nf_ct_gre_keymap_flush
[ 14.054335] nf_conntrack_pptp: Unknown symbol nf_ct_gre_keymap_add
[ 14.281245] nf_nat_amanda: Unknown symbol nf_nat_amanda_hook
[ 14.362546] nf_nat_pptp: Unknown symbol nf_nat_pptp_hook_exp_gre
[ 14.364822] nf_nat_pptp: Unknown symbol nf_nat_pptp_hook_inbound
[ 14.370036] nf_nat_pptp: Unknown symbol nf_nat_pptp_hook_outbound
[ 14.387347] nf_nat_pptp: Unknown symbol nf_nat_pptp_hook_expectfn
[ 14.390771] nf_nat_pptp: Unknown symbol nf_nat_need_gre
[ 14.453677] nf_nat_proto_sctp: Unknown symbol crc32c
[ 14.556145] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[ 14.557489] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[ 14.584024] Netfilter messages via NETLINK v0.30.
[ 14.686100] ClusterIP Version 0.8 loaded successfully
[ 18.780763] msm_kgsl: initialized dev=1 mmu=on per_process_pagetable=off
[ 18.781981] misc kgsl: firmware: requesting yamato_pm4.fw
[ 18.791656] init: untracked pid 1944 exited
[ 18.792548] misc kgsl: firmware: requesting yamato_pfp.fw
[ 18.799128] init: untracked pid 1947 exited
[ 19.625545] [msm-audio:audmgr.c:audmgr_rpc_thread] start
[ 19.637078] [msm-audio:audio_out.c:audio_enable]
[ 19.637252] [msm-audio:audmgr.c:audmgr_enable] session 0xc05729d8
[ 19.643592] [msm-audio:audmgr.c:process_audmgr_callback] rpc READY handle=0x00000000
[ 19.650053] [msm-audio:audmgr.c:audmgr_rpc_thread] rpc_reply status 0
[ 19.867667] [msm-audio:audmgr.c:process_audmgr_callback] rpc CODEC_CONFIG volume=0x00002000
[ 19.872614] [adsp:adsp.c:handle_adsp_rtos_mtoa_app] INIT_INFO Event
[ 19.877279] [adsp:adsp.c:msm_adsp_get] opening module AUDPPTASK
[ 19.883782] [adsp:adsp.c:msm_adsp_get] module AUDPPTASK has been registered
[ 19.889557] [adsp:adsp.c:msm_adsp_enable] enable 'AUDPPTASK'state[0] id[17227122]
[ 19.898050] [adsp:adsp.c:handle_adsp_rtos_mtoa_app] rpc event=0, proc_id=2, module=17227122, image=0
[ 19.906200] [adsp:adsp.c:handle_adsp_rtos_mtoa_app] module AUDPPTASK: READY
[ 19.914622] [msm-audio:audpp.c:audpp_dsp_event] ENABLE
[ 19.918150] [msm-audio:audio_out.c:audio_dsp_event] CFG_MSG ENABLE
[ 26.121318] [msm-audio:audio_out.c:audio_disable]
[ 26.121363] [msm-audio:audio_out.c:audio_dsp_event] CFG_MSG DISABLE
[ 26.121405] [msm-audio:audpp.c:audpp_dsp_event] DISABLE
[ 26.121493] [msm-audio:audpp.c:audpp_disable] Received CFG_MSG_DISABLE from ADSP
[ 26.121511] [adsp:adsp.c:msm_adsp_disable] disable 'AUDPPTASK'
[ 26.122526] [adsp:adsp.c:msm_adsp_disable_locked] disable interrupt
[ 26.122546] [adsp:adsp.c:msm_adsp_put] closing module AUDPPTASK
[ 26.122625] [msm-audio:audmgr.c:audmgr_disable] session 0xc05729d8
[ 26.124183] [msm-audio:audmgr.c:audmgr_rpc_thread] rpc_reply status 0
[ 26.134296] [msm-audio:audmgr.c:process_audmgr_callback] DISABLED
[ 27.887507] [msm-audio:snd.c:snd_ioctl] snd_set_volume 29 0 5
[ 28.551911] request_suspend_state: wakeup (3->0) at 28551711789 (2012-02-29 06:12:20.750015104 UTC)
[ 39.259573] RPC_TIME_TOD_SET_APPS_BASES:
[ 39.259583]	tick = 1551334
[ 39.259588]	stamp = 53190648815157255
[ 39.270560] msmrtc_tod_proc_result: 02/29/2012 06:12:31 (02)
[ 39.270723] rs30000048 rs30000048.65536: setting system clock to 2012-02-29 06:12:31 UTC (1330495951)
[ 43.319516] msmrtc_timeremote_set_time: 01/29/2012 06:12:33 (03)
[ 43.320989] RPC_TIME_TOD_SET_APPS_BASES:
[ 43.320999]	tick = 1684865
[ 43.321006]	stamp = 53190648815157250
[ 43.362459] msmrtc_tod_proc_result: 02/29/2012 06:12:33 (02)
[ 43.362654] rs30000048 rs30000048.65536: setting system clock to 2012-02-29 06:12:33 UTC (1330495953)
[ 43.975911] msmrtc_timeremote_set_time: 01/29/2012 06:12:34 (03)
[ 43.988913] RPC_TIME_TOD_SET_APPS_BASES:
[ 43.988923]	tick = 1706432
[ 43.988930]	stamp = 53190648815157248
[ 43.997880] msmrtc_tod_proc_result: 02/29/2012 06:12:34 (02)
[ 43.997930] rs30000048 rs30000048.65536: setting system clock to 2012-02-29 06:12:34 UTC (1330495954)
[ 47.173147] rmnet_open()
[ 47.173262] SMD: ch 11 0 -> 1
[ 47.173700] SMD: ch 11 1 -> 2
[ 57.930237] rmnet0: no IPv6 routers present
[ 69.739564] input: systemconnector as /devices/virtual/input/input4
[ 69.870243] SEMC_PHF (Interrupt handler) Status changed. Headset is not inserted
.
.
.
--- more output---
.

I can connect to the tethering interface using a PC. But there is no DHCP working on the phone side.

So I set the PC to use a manual IP address (192.168.2.100/24 gw: .254)

But still, I dont get any replies to the ARPs thats sent from the PC.

on the iptables -L

# iptables -L
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination
DROP 0 -- anywhere anywhere state INVALID
wireless-tether 0 -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain wireless-tether (1 references)
target prot opt source destination
ACCEPT 0 -- anywhere anywhere state RELATED,ESTAB
LISHED
FIX ME! implement getnetbyaddr() bionic/libc/bionic/stubs.c:372
ACCEPT 0 -- 192.168.2.0/24 anywhere
FIX ME! implement getprotobynumber() bionic/libc/bionic/stubs.c:384
ACCEPT 47 -- anywhere anywhere
DROP 0 -- anywhere anywhere
# iptables -t nat -L
iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
FIX ME! implement getnetbyaddr() bionic/libc/bionic/stubs.c:372
MASQUERADE 0 -- 192.168.2.0/24 anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

What is this FIX ME thing? I cant figure out what I am doing wrong here. All the modules are in the right place.