Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    求助,D1s开启热点失败

    MR Series
    2
    2
    1493
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      siguadao LV 4 last edited by siguadao

      WIFI芯片为RTL8723DS芯片,系统启动后lsmod查看已加载ko。
      使用softap_up开启热点报如下错误:

      root@TinaLinux:~# softap_up yscrs 1234567890
      ***************************
      Start hostapd test!
      ***************************
      wpa2-psk!
      Start to set softap!
      Message is: OK
      Set softap finished!
      killall: wpa_supplicant: no process killed
      Start to start softap!
      SoftAP started successfullyHaving catch sig_chld!
      Message is: OK
      Start softap finished!
      Having catch sig_chld!
      Having catch sig_chld!
      Having catch sig_chld!
      Having catch sig_chld!
      Having catch sig_chld!
      Having catch sig_chld!
      iptables v1.4.21: Couldn't load target `MASQUERADE':No such file or directory
      
      Try `iptables -h' or 'iptables --help' for more information.
      Having catch sig_chld!
      enable data forward failed!
      

      论坛中搜索相关帖子,按照帖子https://bbs.aw-ol.com/topic/1963/d1-h%E5%90%AF%E5%8A%A8softap_up%E5%A4%B1%E8%B4%A5中大神所说,在kernel_menuconfig中将有关MASQUERADE的所有选项都选上了,仍然不行。kernel_menuconfig相应选项如下:

      Symbol: IP6_NF_TARGET_MASQUERADE [=y]                                                                                                
      Type  : tristate                                                                                                                     
      Prompt: MASQUERADE target support                                                                                                    
        Location:                                                                                                                          
          -> Networking support (NET [=y])                                                                                                 
            -> Networking options                                                                                                          
              -> Network packet filtering framework (Netfilter) (NETFILTER [=y])                                                           
                -> IPv6: Netfilter Configuration                                                                                           
                  -> IP6 tables support (required for filtering) (IP6_NF_IPTABLES [=y])                                                    
      (1)           -> ip6tables NAT support (IP6_NF_NAT [=y])                                                                             
        Defined at net/ipv6/netfilter/Kconfig:272                                                                                          
        Depends on: NET [=y] && INET [=y] && IPV6 [=y] && NETFILTER [=y] && IP6_NF_IPTABLES [=y] && IP6_NF_NAT [=y]                        
        Selects: NETFILTER_XT_TARGET_MASQUERADE [=y]                                                                                       
                                                                                                                                           
                                                                                                                                           
      Symbol: IP_NF_TARGET_MASQUERADE [=y]                                                                                                 
      Type  : tristate                                                                                                                     
      Prompt: MASQUERADE target support                                                                                                    
        Location:                                                                                                                          
          -> Networking support (NET [=y])                                                                                                 
            -> Networking options                                                                                                          
              -> Network packet filtering framework (Netfilter) (NETFILTER [=y])                                                           
                -> IP: Netfilter Configuration                                                                                             
                  -> IP tables support (required for filtering/masq/NAT) (IP_NF_IPTABLES [=y])                                             
      (2)           -> iptables NAT support (IP_NF_NAT [=y])                                                                               
        Defined at net/ipv4/netfilter/Kconfig:226                                                                                          
        Depends on: NET [=y] && INET [=y] && NETFILTER [=y] && IP_NF_IPTABLES [=y] && IP_NF_NAT [=y]                                       
        Selects: NETFILTER_XT_TARGET_MASQUERADE [=y]                                                                                       
                                                                                                                                           
                                                                                                                                           
      Symbol: NETFILTER_XT_TARGET_MASQUERADE [=y]                                                                                          
      Type  : tristate                                                                                                                     
      Prompt: MASQUERADE target support                                                                                                    
        Location:                                                                                                                          
          -> Networking support (NET [=y])                                                                                                 
            -> Networking options                                                                                                          
              -> Network packet filtering framework (Netfilter) (NETFILTER [=y])                                                           
                -> Core Netfilter Configuration                                                                                            
      (3)         -> Netfilter Xtables support (required for ip_tables) (NETFILTER_XTABLES [=y])                                           
        Defined at net/netfilter/Kconfig:1010                                                                                              
        Depends on: NET [=y] && INET [=y] && NETFILTER [=y] && NETFILTER_XTABLES [=y] && NF_NAT [=y]                                       
        Selects: NF_NAT_MASQUERADE [=y]                                                                                                    
        Selected by [y]:                                                                                                                   
        - IP_NF_TARGET_MASQUERADE [=y] && NET [=y] && INET [=y] && NETFILTER [=y] && IP_NF_IPTABLES [=y] && IP_NF_NAT [=y]                 
        - IP6_NF_TARGET_MASQUERADE [=y] && NET [=y] && INET [=y] && IPV6 [=y] && NETFILTER [=y] && IP6_NF_IPTABLES [=y] && IP6_NF_NAT [=y] 
                                                                                                                                           
                                                                                                                                           
      Symbol: NF_NAT_MASQUERADE [=y]                                                                                                       
      Type  : bool                                                                                                                         
        Defined at net/netfilter/Kconfig:434                                                                                               
        Depends on: NET [=y] && INET [=y] && NETFILTER [=y] && NF_CONNTRACK [=y]                                                           
        Selected by [y]:                                                                                                                   
        - NFT_MASQ [=y] && NET [=y] && INET [=y] && NETFILTER [=y] && NF_TABLES [=y] && NF_CONNTRACK [=y] && NF_NAT [=y]                   
        - NETFILTER_XT_TARGET_MASQUERADE [=y] && NET [=y] && INET [=y] && NETFILTER [=y] && NETFILTER_XTABLES [=y] && NF_NAT [=y]
      

      看提示应该和iptables有关,又把iptables相关选项全选上,仍然不行。如下:

      Symbol: IP6_NF_IPTABLES [=y]                                                                             
      Type  : tristate                                                                                         
      Prompt: IP6 tables support (required for filtering)                                                      
        Location:                                                                                              
          -> Networking support (NET [=y])                                                                     
            -> Networking options                                                                              
              -> Network packet filtering framework (Netfilter) (NETFILTER [=y])                               
      (1)       -> IPv6: Netfilter Configuration                                                               
        Defined at net/ipv6/netfilter/Kconfig:74                                                               
        Depends on: NET [=y] && NETFILTER [=y] && INET [=y] && IPV6 [=y]                                       
        Selects: NETFILTER_XTABLES [=y]                                                                        
        Selected by [y]:                                                                                       
        - IP_VS_IPV6 [=y] && NET [=y] && NETFILTER [=y] && IP_VS [=y] && (IPV6 [=y]=y || IP_VS [=y]=IPV6 [=y]) 
                                                                                                               
                                                                                                               
      Symbol: IP_NF_IPTABLES [=y]                                                                              
      Type  : tristate                                                                                         
      Prompt: IP tables support (required for filtering/masq/NAT)                                              
        Location:                                                                                              
          -> Networking support (NET [=y])                                                                     
            -> Networking options                                                                              
              -> Network packet filtering framework (Netfilter) (NETFILTER [=y])                               
      (2)       -> IP: Netfilter Configuration                                                                 
        Defined at net/ipv4/netfilter/Kconfig:121                                                              
        Depends on: NET [=y] && INET [=y] && NETFILTER [=y]                                                    
        Selects: NETFILTER_XTABLES [=y]
      

      求助各位,不知道还需要怎么设置?

      A 1 Reply Last reply Reply Quote Share 0
      • A
        arthasarthas LV 2 @siguadao last edited by

        @siguadao 请问下,楼主最终成功了吗

        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策