Masoud
Registered 7 years 53 days
Seyed Masoud 3990 Wednesday, 19 August 2020, 05:25 PM
IP811 unable to set the configuration for Linux installation
Hello every body,

Currently we have Linux App on our VmWare, and we have the update server on that.
now I would like to install the Linux app on IP811 . When i want to configure the linux app on the ip811 (the instruchtion on wiki https://wiki.innovaphone.com/index.php?title=Reference10:Concept_Linux_Application_Platform ), the page will be refreshed automatically every 2 seconds, so i can not config all the settings of Linux on this page (Linux-General).
i formatted the CF card, and it did not work.

even when i disabled the linux support, still this page refreshes itself!
i have ip411 in our another branch which is in another city, that one works fine (same firmware). but with ip811 i can not edit this page, since it automatically refereshes itself (no difference if it is enalbe or disable : it always refereshes)
please take a look at follwing file, i tried to disable the autostart, but it does not take effect...i wanted to clear the box : Linux kernel file, Linux initrd file,Ramdisk size,... but no chance to clear them.
any idea why ip811 behaves like this??how can i solve this problem? with this problem i can not go further for linux installation.
-the firmware version is V12r2 sr18 - hw 400
1.jpg

Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 178 days
Daniel Deterding (innovaphone) Wednesday, 19 August 2020, 05:47 PM
1 of 1 users consider this post helpful
Re: IP811 unable to set the configuration for Linux installation
Hi Seyed,

you can try to configure the linux from scratch manually by removing all previous configurations. Issue the following commands (of course replace ip811-ip-address first with the real ip address ;) ):

https://ip811-ip-address/!config flags L...
https://ip811-ip-address/!config change LINUX
https://ip811-ip-address/!config write

Now reboot your gateway and I would assume that you start with an empty configuration inside App Platform -> General

Also take care that javascript support is enabled in your browser.

Greetings,
Daniel
Masoud
Registered 7 years 53 days
Seyed Masoud 3990 Wednesday, 19 August 2020, 07:07 PM
Re: IP811 unable to set the configuration for Linux installation
Hello Daniel,
thank you for your reply.
I appreaciate if you take a look at my commands and if wrote them properly. I am not professional with innovaphone.

I need to write these command on these fileds :
Linux kernel file : linux_ipxx10_armel.img, so the command would be :
http://ip811/!config change Linux General /Linux kernel file linux_ipxx10_armel.img

linux initrd file needs to be empty, therefore:
http://ip811/!config change Linux General /Linux initrd file ""

kernel command line needs to be set : root=/dev/sda2
http://ip811/!config change Linux General /kernel command line root=/dev/sda2

Ramdisk size needs to be empty
http://ip811/!config change Linux General /Ramdisk size ""

*** and how can i clear the autostart linux flag?

Thanks in advance
2.jpg

Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 178 days
Daniel Deterding (innovaphone) Wednesday, 19 August 2020, 08:00 PM
1 of 1 users consider this post helpful
Re: IP811 unable to set the configuration for Linux installation
No ...
You must somehow access the web interface of your IP811 and therefore you enter the IP address (or maybe the MAC address) into the address field of your browser.
Let's assume the IP address of your IP811 is 192.168.178.10.

Now you enter and submit these commands into the address field of your browser (nothing to do with the input fields of your IP811!), one after the other:

http://192.168.178.10/!config flags L...
http://192.168.178.10/!config change LINUX
http://192.168.178.10/!config write
http://192.168.178.10/!reset

The last command will reset your gateway and afterwards, all fields inside App Platform -> Gereral will be empty, including the autostart flag.

Please follow the wiki instructions to reinstall the LAP from scratch (including the upload of the image itself):
http://wiki.innovaphone.com/index.php?title=Reference10:Concept_Linux_Application_Platform#Linux_Application_Platform_.28IPxx10_or_IPx11_Gateways.29

Greetings,
Daniel

Masoud
Registered 7 years 53 days
Seyed Masoud 3990 Thursday, 20 August 2020, 09:26 AM
Re: IP811 unable to set the configuration for Linux installation
Hey Daniel,
that was helpful, it cleared the fields. later i will upload the image and continue the installation. In case if I had a problem , i will come back to you smile
thank you so much.

Masoud
Registered 7 years 53 days
Seyed Masoud 3990 Friday, 21 August 2020, 08:40 AM in response to Daniel Deterding (innovaphone)
Re: IP811 unable to set the configuration for Linux installation
Hello Daniel,
I installed the linux and set the ip address on the Linux/IP as 10.38.4.2.
afterward when the installation finished, and I accessed the webpage of application platform, I saw the attached image which asks for Device IP addres, usernam and password.
I was not sure which informatiion need to be entered here in these fields. In wiki said, it is the same as the IP of IP811 , and the username and password also belongs to IP811. Am I right?
or I need to give a new IP address and new credentials?
Or do I need to enter the Linux IP address, the same as the IP which I entered under Linux/IP page : 10.38.4.2 ?
The gateway IP address is : 10.38.4.3.

So please let me know which one of them Do i need to enter?
thanks in advance
3.jpg

Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 178 days
Daniel Deterding (innovaphone) Friday, 21 August 2020, 10:18 AM
1 of 1 users consider this post helpful
Re: IP811 unable to set the configuration for Linux installation
It's the IP811's IP address, 10.38.4.3
Default credentials of an IP811 are admin/ip811.

Greetings,
Daniel
Masoud
Registered 7 years 53 days
Seyed Masoud 3990 Friday, 21 August 2020, 07:37 PM in response to Daniel Deterding (innovaphone)
Re: IP811 unable to set the configuration for Linux installation
Hello Daniel,
Thank you for your assistance. I could successfuly install the linux and rest of the settings. however, during the importing some old data to the SD card, it said to me, it is out of space which surprised me. Because it is 32GB SD Card.
I belive after the Linux installation it must be at most 4 GB...
so again i formated the sd card, just to be sure that if really is 32 GB. In the screenshot, before I upload the image to SD card, it showed me it is 32 GB.

However, after uploading the linux image , and reseting the PBX, it will be decreased to 33 MB, as it is in the attach again.
I think during the upload , it makes a partition and copy the image file only to that partition, the rest of the SD card will be un-readable, am i right?
or what is the reason of this behaviour? or did i any mistake? sad


4.jpg

Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 178 days
Daniel Deterding (innovaphone) Monday, 24 August 2020, 06:59 AM
1 of 1 users consider this post helpful
Re: IP811 unable to set the configuration for Linux installation
This is already explained in the Wiki article:
http://wiki.innovaphone.com/index.php?title=Reference10:Concept_Linux_Application_Platform#IPxx10.2FIPx11_Gateways

The first partition is just used as kind of start partition and is not accessible while Linux is running.

Instead, you have to access webdav of your LAP to upload files:
http://wiki.innovaphone.com/index.php?title=Reference10:Concept_Linux_Application_Platform#Web_Server

Greetings,
Daniel
Masoud
Registered 7 years 53 days
Seyed Masoud 3990 Tuesday, 25 August 2020, 10:10 AM
Re: IP811 unable to set the configuration for Linux installation
Hey,
thanks , i went to a wrong path...thats why i got a lack of space.
i had to go to this path in WinScp for accessing the webdav folder and uploading and downloading.

ipaddress_ip811/webdav/

last question, what are the commands for getting the call-log file and config file of phones. I think I need to point the text file in DHCP server of pbx, to push that file to all phones. But , I am not sure what commands i must write in the text file to be executed.
this shoould be the for saving the config file in webdav path, right?
mod cmd UP0 scfg http://ip address/webdav/backup/cfg-#h-#i-#b2.txt ser weekly /force 168

what is the command for getting the call-log? i did not find it n wiki.
thanks in advance

these are all commands for updaing, saving backups. But i would like to add the a command to get the call logs as well.

# -------------------------------------------------------------------------------------------------------------------
#
# Following file will define the device' update behaviour
#
# Please change only parts which are enclosed by < and > signs
#
# Do not change within comments (this is a comment)
#
# -------------------------------------------------------------------------------------------------------------------

# -------------------------------------------------------------------------------------------------------------------
# regular only @ night, allow fresh devices to upgrade soon; but for training upgrade during daytime
# -------------------------------------------------------------------------------------------------------------------
mod cmd UP1 times /allow 17,23,0,1,2,3,4 /initial 0
# -------------------------------------------------------------------------------------------------------------------
# save config - do not change in this line!
# -------------------------------------------------------------------------------------------------------------------
mod cmd UP0 scfg http://10.38.4.2/webdav/backup/cfg-#h-#i-#b2.txt ser weekly /force 168
# -------------------------------------------------------------------------------------------------------------------
# update to new bootcode and firmware - do not change in this line!
# -------------------------------------------------------------------------------------------------------------------
mod cmd UP0 boot http://10.38.4.2/webdav/update/Firmware/ ser 12548700
mod cmd UP0 prot http://10.38.4.2/webdav/update/Firmware/ ser 12548700
# -------------------------------------------------------------------------------------------------------------------
# reboot if needed
# this will happen if firmware or boot code had been updated, otherwise it will do nothing and we will commence to the next step
# -------------------------------------------------------------------------------------------------------------------
irebootn
# -------------------------------------------------------------------------------------------------------------------
# do any mods that might be required
# -------------------------------------------------------------------------------------------------------------------
mod cmd UP1 check irebootn update-004
← You can define your color theme preference here