Flucard firmware 3.24と3.65のファイル上での違い


バイナリファイルは結構違うようだけど、とりあえず、それは置いておく
それ以外の違いについて調べた

/etc/init.d/rcS における差

・読み込むモジュールが変わった

冒頭で「ka2000-sdhc.ko」を読み込む(以前はコメントアウトされていた)

-#insmod /lib/ka2000-sdhc.ko
+insmod /lib/ka2000-sdhc.ko

中盤で読み込んでいた「gpio_i2c.ko」を読み込まなくなった。

-insmod /lib/gpio_i2c.ko
-#sleep 1
+#insmod /lib/gpio_i2c.ko

・自動wifi起動関連の処理が入った

+is_prevent_auto_start_wifi=no
+
+get_config -p "Auto Start Wifi"
+original_auto_wifi_value=`cat /param_value.txt`

など

・/mnt/sd/autorun.shというファイルがあるときは自動wifi起動が実行されない
という設定を入れられている。

 # autorun.sh from sd in case need to perform some test mode
 if [ -f /mnt/sd/autorun.sh ]
 then
        sleep 1
+       is_prevent_auto_start_wifi=yes
        chmod 777 /mnt/sd/autorun.sh
        /mnt/sd/autorun.sh

 fi

・自動wifi起動関連処理の続き

+if [ "$is_prevent_auto_start_wifi" = "no" ]; then
+       get_config -p "Auto Start Wifi"
+       autowifi=`cat /param_value.txt`
+       if [ "$autowifi" = "uap" ]; then
+               if [ ! -f /wifi_flag.txt ]; then
+                       uap
+
+                       # check and disable wifi after timeout if no station connects
+                       check_sta.sh &
+               fi
+       fi
+       if [ "$autowifi" = "sta" ]; then
+               if [ ! -f /wifi_flag.txt ]; then
+                       w2
+               fi
+       fi
+fi
+# set the default value if it is not set
+if [ "$original_auto_wifi_value" = "" ]; then
+       set_config -p "Auto Start Wifi" -v  "uap"
+
+fi

/etc/mtab における違い
・「none /dev/pts devpts mode=0622 0 0」が削除された
telnetdを消したことによる変更。

/etc/uaputl.conf における違い
・MaxStaNumの値が5から8に増加
同時接続数が増えた(「Max number of stations allowed to connect」)

/etc/uaputl_sender.conf というファイルが追加
「Trek_FLUCARD_WiFi」に関する設定が入っている。
かなり細かい設定が書かれている。

#   File : uaputl.conf


ap_config={
    SSID="Trek_FLUCARD_WiFi"         # SSID of Micro AP
    BeaconPeriod=100                # Beacon period in TU
    Channel=6                       # Radio Channel     6
#   Channel=0,1                     # auto channel select (MCS mode)
#   Channel=6,2                     # primary channel 6, secondary channel above.
#   Channel=6,4                     # primary channel 6, secondary channel below
    ChanList=1,6,11                 # Scan channel list
    #AP_MAC=00:21:E8:71:B8:F4        # MAC address of AP
    RxAntenna=0                     # 0 for Antenna A
                                    # 1 for Antenna B
    TxAntenna=0                     # 0 for Antenna A
                                    # 1 for Antenna B
    Rate=0x82,0x84,0x8b,0x96,0x0C,0x12,0x18,0x24,0x30,0x48,0x60,0x6c
                                    # Set of data rate that a station
                                    # in the BSS may use
                                    # (in unit of 500 kilobit/s)
    TxPowerLevel=13                 # Transmit power level in dBm
    BroadcastSSID=1                 # Broadcast SSID feature
                                    # 1: Enable  0:Disable
    RTSThreshold=2347               # RTS threshold value
    FragThreshold=2346              # Fragmentation threshold value
    DTIMPeriod=10                    # DTIM period in beacon periods
    RadioControl=1                  # 0: radio on  1: radio off
    MCBCdataRate=0                  # MCBC rate to use for packet transmission
                                    # 0:auto
                                    # >0 fix rate (in unit of 500 kilobit/s)
    TxDataRate=0                    # Data rate to use for packet transmission
                                    # 0:auto
                                    # >0 fix rate (in unit of 500 kilobit/s)
    PktFwdCtl=1                     # Packet forwarding control
                                    # 0: forward all packets to the host
                                    # 1: firmware handles intr-BSS packets
    StaAgeoutTimer=1800             # Inactive client station age out timer value
                                    # in units of 100ms
    PSStaAgeoutTimer=400            # Inactive client PS station age out timer value
                                    # in units of 100ms
                                                                        # try to set to 5 first for sender mode
    MaxStaNum=5                     # Max number of stations allowed to connect
    Retrylimit=7                    # Retry limit to use for packet transmissions
    AuthMode=0                      # 0:Open authentication
                                    # 1:shared key authentication
    Protocol=1                     # protocol to use
                                    # 1: No security    2: Static WEP
                                    # 8: WPA    32: WPA2    40:WPA2 Mixed Mode
    RSNReplayProtection=0           # RSN replay protection 0: disabled, 1: enabled
    PairwiseUpdateTimeout=100       #Pairwise Handshake update timeout: 100ms
    PairwiseHandshakeRetries=3      #Pairwise Handshake retries: 3
    GroupwiseUpdateTimeout=100      #Groupwise Handshake update timeout: 100ms
    GroupwiseHandshakeRetries=3           #Groupwise Handshake retries: 3

# **** WEP security setting******
#   KeyIndex=0                      # Index of WEP key to use (0 to 3)
#   Sample Key configurations are
#       Key_0=55555
#       Key_1=1234567890
#       Key_2="1234567890123"
#       Key_3=12345678901234567890123456

# **** Pairwise Cipher setting******
#    Configure both of the following for Protocol=40
#    PwkCipherWPA=4                 # Pairwise cipher type
                                    # 4: TKIP     8: AES CCMP
                                    # 12: AES CCMP + TKIP
#    PwkCipherWPA2=8                # Pairwise cipher type
                                    # 4: TKIP     8: AES CCMP
                                    # 12: AES CCMP + TKIP

# **** Group Cipher setting******

#    GwkCipher=4                    # group cipher type
                                    # 4: TKIP     8: AES CCMP

#    PSK="1234567890"               # WPA/WPA2 passphrase
#     GroupRekeyTime= 86400          # Group key re-key interval, in second.
                                    # 0 mean never re-key
                                    #802.11D specific configuration
    11d_enable=0                    # 0-disable 1-enable
#    country=SG                      # country information

}



ap_mac_filter={
    FilterMode=0                    # Mode of filter table
                                    # 0: filter table is disabled
                                    # 1: allow MAC address in the filter table to associate
                                    # 2: block MAC address in the filter table
    Count=0                         # Number of entries in filter table,up to 16
#Sample mac settings are
#    mac_1=00:50:23:45:76:22         # mac address
#    mac_2=00:34:22:77:46:34         # mac address
}

/etc/udhcpd.conf および /etc/udhcpd_uap.conf の変更点
default gatewayなどの設定に変化があり。

 start 192.168.1.50
 end   192.168.1.250  #default can hold max 200 FLUCARD
 max_leases      200
 interface       mlan0
 lease_file      /var/lib/misc/udhcpd.lease
 option  subnet  255.255.255.0
-option  router  192.168.1.1
+#option  router  192.168.1.1
 option  dns     192.168.1.1
-option  domain  FLUCARD
+#option  domain  FLUCARD
+option  search  192.168.1.1
 option  lease   86400 #1 day of seconds
 option  mtu     1500
 start 192.168.1.50
 end   192.168.1.250  #default can hold max 200 FLUCARD
 max_leases      200
 interface       uap0
 lease_file      /var/lib/misc/udhcpd.lease
 option  subnet  255.255.255.0
 option  domain  FLUCARD
 option  lease   10 #reduce lease time from 86400 to force pc renew ip
 option  mtu     1500
-option router 192.168.1.1
-option dns 192.168.1.1

・設定ファイル
/mnt/mtd/config/config.trek
/www/mtd/config/config.trek

いまの設定

[LANGUAGE]
English
[AP]
AP_ACCOUNT : 1
SSID : SSID名
Key : キー
[FTP]
FTP Path : アップロード先
User Name : ユーザ名
Password : パスワード
Server Type : Gallery3
Upload jpeg : yes
Upload raw : no
Upload video : no
[Wi-Fi Setting]
FLUCARD SSID : Trek_FLUCARD_WiFi
FLUCARD KEY :
Auto Start Wifi : none
My IP Addr : 192.168.1.1
Target IP Addr : 192.168.1.1
[MISC]
Download Enable :
Power Saving :
Channel : 6
Buzzer Mode : Normal
Display raw : yes
Sender jpeg : yes
Sender raw : no
Sender video : no
Public SSID : Trek_FLUCARD_Public
Private SSID :
Private KEY :
Always Private : no
Starting Mode : Public

・ファイルのアップロードログ
/www/page/upload.log

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>