返回列表 發帖
Switchfin gets GUI uploads         PDF         Print         E-mail
Written by Jason   
Sunday, 17 October 2010 22:25

Hi Guys

Uploading of Music on Hold, Firmware and Backups is now supported natively from the GUI 4.0!!
Due to large changes in the core of switchfin/asterisk you will need to reset all configs when upgrading to the new revision.
We have also noticed significant speed increases in the GUI, from this upgrade.

This is all thanks to Jason Kenah from http://ii-tec.com

Any issues please address them in the forum.


Last Updated on Tuesday, 19 October 2010 11:32

TOP

回復 120# ckleea


   
No pain no gain,這或這也是所有Pioneers 所要面對的苦與樂。  既可以享受新產品的創新功能,但同時也要面對不斷更新或臭蟲所隨之而來的掛機風險。

TOP

回復 122# bubblestar


Developer has forgotten to make some changes in the configs of the source code. According to him, it would be easy for the management via GUI.

I will test and report later.

TOP

回復 122# bubblestar


The GUI is super fast!
When iptables is ready, worth the try.

TOP

Yeah! I can't agree more.

The GUI that you showed to me last week was amazingly fast already.  If the new GUI update further accelerate its speed, it will become ATCOM-killer.

TOP

My feeling is that its ajax interface is faster than before. Developer said it uses reverse proxy.

The http.conf and manager.conf are different.

http.conf
  1. [general]
  2. enabled = true
  3. enablestatic = false
  4. bindaddr = 127.0.0.1
  5. bindport = 8888
  6. prefix =
複製代碼
manager.conf
  1. ;
  2. ; AMI - The Asterisk Manager Interface
  3. ;
  4. ; Third party application call management support and PBX event supervision
  5. ;
  6. ; This configuration file is read every time someone logs in
  7. ;
  8. ; Use the "manager list commands" at the CLI to list available manager commands
  9. ; and their authorization levels.
  10. ;
  11. ; "manager show command <command>" will show a help text.
  12. ;
  13. ; ---------------------------- SECURITY NOTE -------------------------------
  14. ; Note that you should not enable the AMI on a public IP address. If needed,
  15. ; block this TCP port with iptables (or another FW software) and reach it
  16. ; with IPsec, SSH, or SSL vpn tunnel.  You can also make the manager
  17. ; interface available over http if Asterisk's http server is enabled in
  18. ; http.conf and if both "enabled" and "webenabled" are set to yes in
  19. ; this file.  Both default to no.  httptimeout provides the maximum
  20. ; timeout in seconds before a web based session is discarded.  The
  21. ; default is 60 seconds.
  22. ;
  23. [general]
  24. ;displaysystemname = yes
  25. enabled = yes
  26. webenabled = yes
  27. port = 5038

  28. ;httptimeout = 60
  29. ; a) httptimeout sets the Max-Age of the http cookie
  30. ; b) httptimeout is the amount of time the webserver waits
  31. ;    on a action=waitevent request (actually its httptimeout-10)
  32. ; c) httptimeout is also the amount of time the webserver keeps
  33. ;    a http session alive after completing a successful action

  34. bindaddr = 127.0.0.1
  35. ;displayconnects = yes
  36. ;
  37. ; Add a Unix epoch timestamp to events (not action responses)
  38. ;
  39. ;timestampevents = yes

  40. [admin]
  41. secret = switchfin
  42. deny=0.0.0.0/0.0.0.0
  43. permit=127.0.0.1/255.255.255.255
  44. ;
  45. ; If the device connected via this user accepts input slowly,
  46. ; the timeout for writes to it can be increased to keep it
  47. ; from being disconnected (value is in milliseconds)
  48. ;
  49. ; writetimeout = 100
  50. ;
  51. ; Authorization for various classes
  52. read = system,call,log,verbose,command,agent,user,config
  53. write = system,call,log,verbose,command,agent,user,config
複製代碼

TOP

You can see the firmware upload screen. They have put down to save network setting.

screenshot.7.jpg (97.63 KB)

screenshot.7.jpg

TOP

After the changes in these 2 files, it seems like as if we're browsing in localhost of our own.  Is that correct?

TOP

回復 128# bubblestar

Yes. in term of security and settings, it would be easy to manage.

TOP

Developer 剛通知,修改好source code,應該會有iptables for IP01

TOP

Latest version is SVN 431. Look working well.
IPTables works
GUI Fast
INADNS works
Firmware upload now no need of TFTPD, just upload, the GUI will put the file into the proper directory /persistent/Imageupdate and rename the file to uImage. After reboot, new firmware. The good thing is the inclusion of the option that when reset config, it allows you to save the network setting to default. Now almost no need to use the RS232 console.




The other is services manager via GUI

screenshot.13.jpg (151 KB)

System Status

screenshot.13.jpg

screenshot.11.jpg (190.32 KB)

Service Manager

screenshot.11.jpg

TOP

本帖最後由 bubblestar 於 2010-11-2 11:28 編輯

膽粗粗想試吓自己compile, 但在MAKE IMAGE時遇到 no free space error.
  1. make[4]: Entering directory `/usr/src/switchfin/build_ip01/uClinux-dist/vendors/Rowetel/IP01'
  2. /usr/src/switchfin/build_ip01/uClinux-dist/user/genext2fs/build-host/genext2fs -m 0 -i 1024 -b 20480  -d /usr/src/switchfin/build_ip01/root -D device_table.txt /usr/src/switchfin/build_ip01/image_ip01/rootfs.ext2
  3. /usr/src/switchfin/build_ip01/uClinux-dist/user/genext2fs/build-host/genext2fs: couldn't allocate a block (no free space)
  4. make[4]: *** [image.rootfs.ext2.force] Error 1
  5. make[4]: Leaving directory `/usr/src/switchfin/build_ip01/uClinux-dist/vendors/Rowetel/IP01'
  6. make[3]: *** [image] Error 2
  7. make[3]: Leaving directory `/usr/src/switchfin/build_ip01/uClinux-dist/vendors/Rowetel/IP01'
  8. make[2]: *** [image] Error 2
  9. make[2]: Leaving directory `/usr/src/switchfin/build_ip01/uClinux-dist/vendors'
  10. make[1]: *** [image] Error 2
  11. make[1]: Leaving directory `/usr/src/switchfin/build_ip01/uClinux-dist'
  12. make: [image] Error 2 (ignored)
  13. gcc /usr/src/switchfin/package/sources/zeropad.c -o /usr/src/switchfin/build_ip01/image_ip01/zeropad -Wall
  14. /usr/src/switchfin/build_ip01/image_ip01/zeropad /usr/src/switchfin/build_ip01/image_ip01/uImage /usr/src/switchfin/build_ip01/image_ip01/fix_image.astfin 0x20000
  15. Error opening /usr/src/switchfin/build_ip01/image_ip01/uImage
  16. make: *** [image] Error 1
複製代碼
現在正在查找原因.  如果唔掂, 可能都要搵ckleea兄幫手拿一個已compiled 好的firmware用.

TOP

本帖最後由 ckleea 於 2010-11-2 12:45 編輯

你裝太多 packages,我裝咗 iptables, n2n inadyn, tiff2pdf,  唔好裝 perl,

另外,compile 時可改2個files to enable DHCP
persistent/etc/asterisk/rc_org.conf
persistent/etc/network.conf

files 在這裏
/usr/src/switchfin/package/persistent/ip01/persistent
如果你要 firmware, 當然可以代勞。

TOP

本帖最後由 bubblestar 於 2010-11-2 19:32 編輯

其實我係參考咗你在 114# 的packages 做 compilation 的,但不知何故並不成功。今日再重新來過一次,重新download sources及在compile 時發覺原來又去到SVN437,再減多一些 packages,結果成功compile 並建立了image.md5。 但麻煩也跟著來啦。

當upgrade switchfin firmware 去 ATCOM IP01之後,竟然無法進入,現在 只有 POWER 燈著咗,ping 不到IP01。

用RS232 方法經putty 入到去,但想試下用返ATCOM 的firmware upgrade 卻又不成功。  ckleea 兄有什麼建議可以試圖解決此問題呢?

好在依家有另一部ASTERISK SERVER可以運作,所以才夠膽去做,勇字當頭。想舒服的話,其實就咁問你取一個已complied 好的firmware 應該最簡單。但自己又想試一試先,所以...... 哈哈! 我竟然揀咗用自己攞黎衰的方法 .

TOP

回復 134# bubblestar


Can you see the boot message via RS232 terminal? If you can, it is safe. Then go to the atcom site to recover the firmware first.
No worry.  I have done so for twice.

TOP

返回列表