UPDATE: Photos are back online! Thanks to Gabi from Romania for the copyright free photos!
Gira has a made beautifull Homeserver and FacilityServer. Unfortunatelly it’s quite expensive (about €2400,- for their Homeserver3 and the Facilityserver is even more). Is this device made of gold ?
The opposite is true, the Homeserver 3 exists of:
The Homeserver Hardware
- A cheap Mini-ITX VIA Epia ML6000EAG Mainboard with onboard 667Mhz CPU (or similiar, buy here)
- 128MB DDR 266Mhz RAM (or 512MB for the Facility Server)
- 64MB Flash (or 256MB for the Facility Server)
- A Linux Kernel 2.4.3 (ELinOS with Busybox, however the Gira software itself will run on any Centos or Redhat 2.6.x, even x64 releases!)
- A ISDN adapter (We don’t use that anymore in 2009, everybody is calling VOIP;) )
- Some Gira proprietary Software (hs_trans and hs_main executables)
The drive layout
After some research I also found the following:
A Flash drive is connected as a Master on the second IDE ATA controller (which means it is /dev/hdc) and exists of 4 partitions:
- /dev/hdc1 (2MB) – Boot partition with vmlinux (kernel) and loadlin
- /dev/hdc2 (20MB) – Linux/Operating System, mountpoint: /
- /dev/hdc3 (21MB) – (used to store the project?)
- /dev/hdc4 (21MB) – (for upgrades?)
The boot process and hs_trans and hs_main programs
When starting the homeserver, the vmlinuz from the Boot partition is loaded (via loadlin / DOS) and it boots the system into a Linux kernel, then a /etc/inittab startup script calls the /hs/bin/start/start.sh script.
The start.sh script does actually two things:
– It starts the hs_trans (Gira propriatary software) which automatically ends after a few seconds.
– Then it starts the hs_main (also Gira propriatary software) which is the main program.
Q. Why does is starts (and ends) the hs_trans program ?
A. This is to load the initial project on the Homeserver via a Serial Connection. When you buy a Homeserver or when you screwed up things, you need to connect it via a Serial connection to load a project. In a project you set the IP address and admin username/password, this information is needed to load later projects via the Network. Projects are configured (made) and loaded via the “Gira Expert” software.
After the first (serial) reload, it will end the hs_trans program and (as set by the start.sh script) load the hs_main program which is the ‘HomeServer software’.
Building your own Homeserver
So yes,.. in theory it would be possible to build your own Homeserver when you buy an Via Epia board with onboard processor (see above), two flash modules (I suggest 2048MB) and at least 256MB RAM or even make a Virtual Machine (VM) in VMware or XenServer of it.
Offcourse you are not allowed to run the propriatary hs_main and hs_trans executables or to use the Gira Expert software! I do not encourage or support illegal things, this is just for educational purposes. The following steps are just Theory (draft). You need a license or approval from Gira to do this stuff in practice.
10 Steps to build a home-made Home server
- Install your favorite Linux (this can be in a VM as well).
- Add a 2GB disk and connect it to the third IDE controller (or in VMWare/Xenserver choose the ‘third’ disk position’, this way it will be hdc or xvdc (in XenServer)
- Partition the 2GB disk as below, using ‘fdisk /dev/hdc’ (Or /dev/xvdc for XenServer)
Create 4 new Primary partitions (using the ‘n’ key)
– The first (size): +2048K
– The second (size): +xxxxM (whatever you want, but at least 22MB smaller then the total disk space!)
– The third (size): +10240K (if all works, you can experiment making this larger)
– The fourth (size): +10240K (if all works, you can experiment making this larger)Then set the correct Type for the partitions (using the ‘t’ key)
– The first, type: 1 (FAT12)
– The second, type: 83 (ext3) (or make it any other type, as long as you can install your prefered Linux on it)
– The third, type: 4 (FAT16 <32MB)
– The fourth, type: 4 (FAT16 <32MB)Now press the ‘w’ key to write the partition table. - Download and install the Gira Expert Software. After installing it on a Windows PC you will see a file named: FIRMWARE.DAT in the directory: C:\Program Files\Gira\HS+FS\exp232\EN\firmware. Unzip that file (it is a zip file with a .DAT extension).
- Copy the HSERVER2.TGZ file to your newly installed Linux server (using WinSCP or another tool) and untar it to /root/ using:
tar xvzf HSERVER2.TGZ
Copy the extracted “hs” directory to /
cp -r hs /
- Set firewalling and SELINUX off:
chkconfig --level 12345 iptables off
vi /etc/selinux/config AND SET SELINUX=disabled
- Because this would be your Home server and you want some flexibility, install the following system tools, libraries and compile tools (using yum or any other tool):
yum install lrzsz.i386 setserial.i386 unzip.i386 zip.i386 joe.i386 nc.i386 telnet.i386 busybox.i386 mlocate setuptool
yum install libjpeg.i386 libpng.i386 libpng-devel.i386 giflib.i386 giflib-devel.i386
yum install make.i386 gcc gcc-c++ kernel-xen-devel.i686 perl - If you are on XenServer (which means the devicename of the 2GB drive is /dev/xvdc) or the devicename of the 2GB harddisk is not /dev/hdc, then edit the following file:
vi /etc/rc.local
and put the following lines at the end:
(Make symlinks to fake the hdc device. Link it to your XenServer xvdc device or if you have another device, link it to the proper name)
/bin/ln -s /dev/xvdc /dev/hdc
/bin/ln -s /dev/xvdc1 /dev/hdc1
/bin/ln -s /dev/xvdc2 /dev/hdc2
/bin/ln -s /dev/xvdc3 /dev/hdc3
/bin/ln -s /dev/xvdc4 /dev/hdc4
- The Gira license is based on the MAC address of the Network Adapter. All MAC addresses/ranges of all Homeservers are hard-coded in the firmware. I noticed this because new homeservers would not allow to load old Firmware (because their MAC address is not yet coded in the firmware). When you have a virtual server it is not a problem to fake a MAC address, however on physical servers it could be harder.
The real thing is that the Homeserver does not read the MAC address from the hardware, but from the ‘ifconfig’ tool. So if you make a fake ‘ifconfig’ tool/file, it will just continue:
mv /sbin/ifconfig /sbin/ifconfig_original (Rename the ifconfig file in case we need it later)
vi /sbin/ifconfig
and insert the following lines to it:
echo "eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX "
Replace XX:XX:XX:XX:XX:XX with a licensed MAC address. It’s not hard to get a Gira Homeserver MAC address when you know Gira is using Via mainboards and VIA claimed some “00:40:xx” MAC range. (Search query: +Gira +Homeserver +00:40:).
echo "inet addr:192.168.X.X Bcast:192.168.0.255 Mask:255.255.255.0"
echo "inet6 addr: fe80::3c1b:d9ff:fe30:c59c/64 Scope:Link"
echo "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
echo "RX packets:41502 errors:0 dropped:0 overruns:0 frame:0"
echo "TX packets:33355 errors:0 dropped:0 overruns:0 carrier:0"
echo "collisions:0 txqueuelen:1000 "
echo "RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)"
echo ""
echo "loLink encap:Local Loopback "
echo "inet addr:127.0.0.1 Mask:255.0.0.0"
echo "inet6 addr: ::1/128 Scope:Host"
echo "UP LOOPBACK RUNNING MTU:16436 Metric:1"
echo "RX packets:0 errors:0 dropped:0 overruns:0 frame:0"
echo "TX packets:0 errors:0 dropped:0 overruns:0 carrier:0"
echo "collisions:0 txqueuelen:0 "
echo "RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)"
Replace the 192.168.X.X with the IP address of your Homeserver.Try if it will load the hs_main program:
/hs/bin/hs_main
Unfortunatelly there is no easy way to quit the hs_main program. You can login using a new SSH session and type “killall hs_main” or just hard-reboot the server.
If it does load, you can automatically load the program when booting:
vi /etc/rc.local
and add the line: "/hs/bin/hs_main" to the end of the file.
- The following is only needed for virtual machines since they do not have a serial port (ttyS1). A serial port is needed for the hs_trans program to load the initial project.
In VMWare you can add a serial port, however in XenServer that is not possible. You have three options:1. VMWare (only works with VMWare Workstation, not VMWare Player)
– Add two serial ports in to your Linux VM. Since it don’t works to map those ports to your local Windows PC, you have to create a new WindowsXP VM and also add one serial port to that VM.
Then you could connect the serial port of the Linux VM to the serial port of the Windows VM.
These two screenshots are the settings of the Linux VM
Below are the settings of the WindowsXP VM
Now boot both the VMs, install the Expert software on the Windows VM and load the initial project via Serial Port 1 (while running the hs_trans on the Linux VM).2. XenServer (options are limited)
– Use a virtual COM port driver on your Homeserver (Linux) and connect it via the network to your Windows virtual COM port (you need a Windows virtual COM port driver here). I didn’t tested this and don’t have any clue which software to use.- When you buy a Console switch you can connect the Homeserver to a port on the console switch (virtual drivers are mosly included). You can then connect (hard-wire) your Windows PC to that same port on the Console switch. I have a Aten SN0116 Console Switch and use this technique quite often. It should work with other console switches too, but please check if they have Virtual COM port drivers for Linux!3. If none of the above is working, this is your option
– The easiest: Copy the 3rd and 4th partition (hdc3 and hdc4) from someone else. The initial project which you normally load via a Serial cable is hold on these partitions, so if you copy that.. you skip the serial part. Use ‘dd’ or Acronis or Ghost tools to do the job.
Note: Create a new -empty- project in the Gira Expert software and only configure the following settings: IP information, admin password and EIB&iETS (ip) settings. Make sure to disable the interface/QuadClient under interface uncheck “Use QuadClient”.
Now you have a very small ‘initial’ project to load over the unstable Serial interface. Large projects will get many CRC errors and timeouts and finally the Expert software will tell you a weird error about ‘Project too Large’.
After you loaded the inital project, you can load all further projects via IP.
Ready!
If you did all the above steps, in theory, it should be possible to create your own Homeserver.
Update 14-november-2009: In the ‘old’ 10 steps, I suggested to install Linux on the /dev/hdc drive. That brings several problems because the hs_main program seems to rewrite the partition table of the /dev/hdc which also corrupts your second partition on which you installed Linux (even when removing “sfdisk”). This behaviour happens when loading via the network, not when loading via Serial.
So I changed the previous steps because it’s much easier to install Linux on a separate drive and ‘add’ a /dev/hdc drive so the software still uses the /dev/hdc to store projects in it’s own format and it can do with the partition table of the /dev/hdc drive what it wants, without corrupting the your Linux installation (which is on /dev/hda or another drive).
@natas, put that file in an collectors account, to allow more than 10 downloads ;) Or upload to megaupload.com ;)
@natas
thanks, but the link does not seem to work…
Hi Natas, thanks for the quick response! I Cant´t transfer any project via serial, it seems there´s no connection? Thats a question for me, have i to change the mac adress in the ifconfig file, or the mac adress on the hardware? If try to change the firmware via serial, it works, but the server runs nomore…. I know that the firmware has a default ip set, but the hs has none…. My Mac is the original on the board. 004063F916B3… I Will check the Serial settings after Work, this evening and try to transfer…
have a nice day!
Greetings from Germany
Hi Nils! I think the problem is the project. Have you set correct IP in the Experte ? Also : did you changed the MAC address ? Did you know the MAC change procedure ? What is the MAC address that yzou have now ? I need more details : Have you sent the first project ? You must configure the onboard COM port as 3F8 IRQ4. Then , after you started the Experte software – > Tranfer -> Via Serial Port ->1 ->Start. After that restart the server and wait for project to be tranferred. Try this and send feedback. We will try to help you more.
Greetings from Transylvania !
thx
Hey Guys,
my english is bad, but i hope you can understand me….
My Problem is that i have build an homeserver with epia board and all other hardware, the server boots and it sounds like an original hs but there´s no ip shown on the screen, the space is empty. Can somone tell me whats wrong in my config? is this the problem about my mac address? Z-Modem works also, but i can´t transfer any projekt…
I dont know how i can fix the problem
Thanks
download works 56,2 mb
thx natas you are trhe best!!!!!
Hello again !
http://rapidshare.com/files/432435534/Original_HS3_2010.11.17_with_project.tib
I just uploaded this True Image image of the original server with an project on it. It works for me with an cheap VIA mainboard and 512 MB RAM plus 128MB CF card. I thins this image will work with other mainboard with chipset from the same family included in VIA mainboard or even from other family on chipsets. I did’n tested because I do not have time . But remember that you must change de MAC address! So guys please let me know if you can download it. I work for an functional VMware machine with the help of my friend from Ukraine who provide me his image.
Does somebody has the iphone app from G*ra ? Would be nice seeing a link to it here.
is there a step by step solution for me? because i a a noob in linux and vm ware
please help me
thx for your help nobi
Hi Natas, could you please send image to me?
ctyd.de (at) web.de
Thanks.
Hi ctyd,
have a look at http://www.reichelt.de, they sell a VIA EP ML-6000EA for 118€
greets
Hy, can i install the hs on an other Mainboard cannot find the epia Mainboard in the www
@Kjelli
EIB settings in Expert project:
Interface: EIBNet/IPRouting
Limit telegrams: Yes
Telegrams/second: 6
Physical address: 1.0.254
IP Routing Multicast Address: 224.0.23.12
IP Port: 3671
Could someone please send both to me as well? Want to see if its better than what I´ve done. kjelli( at )me . com
Got it working with cdrom.iso, linux vm and windows xp vm connected with serial port by pipe. Thanks to all!
Having trouble to get the homeserver to communicate with my Berker ip router. It only works when ETS3 is capturing bus messages. Could it be homeserver is listening on the wrong network interface or something? Would appreciate some ideas.
I Also would like to get the HW Image, could someone send it to N.Schnitzler(at)googlemail.com
THX alot
@Natas
pleeeeaaaaaseeeeee……….
@Natas
This would be great…
Hello,
which linux distribution do you use on the 2GB disk?
thanx
^^^
Hi guys !
As soon as will have a little time I will put on rapidshare or somewhere else what I have.
Hi Natas,
seems you are man of the moment :)
I am also interested in these two links…
Could you also send these to kabar(x)web.de?
Kind regards ;)
Hi Natas,
Great job!! Could you send me the links to your VM & HW image?
aupioasztsyh (at) sogetthis.com
Really appreciated! Thanks!
Hallo,
welke linux distributie gebruiken jullie om op de 2gb HD te zetten
Hi Natas,
Could i please have the link, too ?
jocwoll (at) yahoo.de
Both VM & HW version.
Thanxx!!
Is there a detailed VM ware tutorial? I mean step by step what to to?
Hi Natas,
Can you sent me the link too ?
both VM & HW version.
Thanks a million.
keybonetelenetbe
very much appreciated.
I built the VMware HS3, using the tutorials in this page, changing MAC with initialization file, ant transfer from windows virtual machine using virtual COM.
I did had some troubles trying to transfer the first project : it takes too long and ends with an error. You may try , but I think you need to have an real COM port on PC with VMware machines. I used an USB to serial adapter…maybe this was the reason for failing the transfer. Is possible to have an first project successful transfer on PC with integrated COM. I am sure that the first transfer will finally work. Remember to use the HS_TRANSFER file to initialize the first transfer. Anyway , Gira made a very good software. And to anybody that can afford – buy the server.
Thank Natas.
I want to try HS on VMware.
Hi Mas. I sent the link.
Do you want to try the hardware version or VMware ?
I tried the linux HS3 with 2 CF cards and works also fine but with
slow boot.
Also the server image may work fine on many different boards, but with MAC changed.
Natas, could you send image to me?
mas_ua (at) mail.ru
Thanks.
@Natas
Thanks
Hi Freddy . I send the image of HS3 to you . Let me know if you received it. The memory in HS3 in set an Primary Slave !
@Natas
Could you also send files to me?
ukfred1357 (at) hotmail . com
Thanks
@ pete
The alix board need up to 3 miutes to boot hs.
Hi Freakh ! I sent the files to you. Please let me know that you received the files and the server is working for you!
@ Natas
Hello Natas,
Is it possible for you to upload/share the image from the original HS?
my mail: bluedojo [at) hotmail.com
I’m also searching photos of the inside of HS3, if somebody has already made some.
Thanks
Hi ! I can send photos with HS3…. and other details. On what e-mail address you want me to send them?
Hello ! I managed to build an HS3 using an VIA Epia-M mainboard, VIA’s eeprom.exe MAC changing tool, an image from an original HS3 server. Using Acronis True Image Server ( from Hiren Boot CD 10.6 ) I cloned the Primary Slave memory from original HS3 to an 128 MB CF with IDE adapter. After that I changed MAC and all working. The VIA mainboard have 2 COM Ports. All in a single hour of work. My image already have an initial project but I there is no problem to send one if the image is from a brand new HS3 using COM port. I have to test it … Is there anybody that can share some Gira Experte documentation ?
Hi,
I have 2.4 running and try to update to 2.5. Win HS Transfer tool says everything fine and transfer via network has worked. HS stops. But after the new start it is still 2.4 Any hints are welcome.
mod42
anyone have thenipa for ipad or iphone? please post link
For more news see my next post: Gira is threatening with letters, see alternatives, new ideas,… and the way Gira is intimidating freaks like us.
hi
how can i transfer a projekt via rs232 to homeserver
which ttyS is for EIB and which is for datatransfer
thanks
Found the error. Address should be http://my-ip-address/hs
I have the same problem as 439. RGL:
When I try to access my visu with: http://my-ip-address
nothing happens – in the HS I see a line appearing “UNKNOWN : ”. Do I have to add additional parameters or is my HS not yet ready?
Uploading via network and serial is stable. I added a visualisation to the project as well.
Thanks
@vbox-user:
I don’t have trouble with time calibration at all.
I’m using vmware player and kubuntu 9.04 as client.
The VM is installed on my Notebook and is running only somtimes. (installing of homeserver is only for test and evaluation purposes)
After wake up the VM, the time is already in sync with the host (host=windows xp).
Another machine (host=kubuntu 9.10/client=VirtualBox kubuntu 9.4) is running 24×7 with eibd/linknx/webknx without timing problems.
Andi
@Andi73:
Do you have problems with time calibration in your ubuntu-vm (is it vmware?)?
@Joe:
How much time does it take to boot the HS on alix?
HS is up and running on a ALIX alix2d3 system board. 2 CF card as /hda and /hdb are used. On /hda is Linux Centos and /hdb ist linked to /hdc for HS. It is working very nice and the power consumption is 5W.
By the way: which IP EIB Interface can be used on the HS – any test with EIBMARKT N000401?
Thank you Roel for this nice tutorial!!!
Joe
roel, you’re the king!
I’ve been looking for this for long time. I just didn’t see 3 partitions on flash.
now I have some work to do for over the weekend. :))
thanks very much.
also, if anyone has iPhine .ipa, please post the link on RS. tnx
Quote:
A forum to discuss license violation? What a brilliant idea!
Höö.. there are already enough warez and hacking boards, where you can discuss this…come on…guys…sooo long.
Still searching the iphone app :)
A forum to discuss license violation? What a brilliant idea!
Btw, one of our “collegues” has already recieved a letter from Gira’s lawyer. So be careful & happy cloning!
@Andi73:
Do you have problems with time calibration in your ubuntu-vm (is it vmware?)?
@Lyjo:
Without EIB-time real-time clock, there seams to be no chance to keep time correct. Do you use the iso-image to boot the HS?
Probably installing ubuntu (or any other linux with vbox/vmware guest additions) could solve the problem.
@all is there a full feared forum to discuss all those questions?
@Marcus
Have reinstalled according to your “as real as it gets” method on an EPIA board, really the simplest way – thanks.
But – I still cannot communicate between the EIB bus and the HS though. I connect through the Gira IP Router and the bus works fine independently. ETS also works fine against the bus over the IP router.
I can also connect fine to the HS.
HS, ETS and IP Router all on the same subnet.
EIB settings in Expert project:
Interface: EIBNet/IPRouting
Limit telegrams: Yes
Telegrams/second: 6
Physical address: 1.0.254
IP Routing Multicast Address: 224.0.23.12
IP Port: 3671
Support for iETS not activated.
Network settings:
Only IP and netmask specified.
Any clues?
@cars
I’m also interested in this app.
Tried to email you but that doesn’t work.
Please contact me at:
[email protected]
Thnx
@cars
I’m also looking for the iPhone IPA.
girafan (at) justmail.de
Hoping for answer.
Thx!!!
I Need the IPA for iPad :-)
@cars
[email protected]
Thanks :-)
@duskpage i have the ipa
RGL,
I think in my case your situation was only solved by transferring an empty project using the serial connection and hs_trans. After that the network connection should work both for HTML connections and new network transfers.
Hi
I may be stupid – I managed to upload a project sucessfully to the HS but when (via network) the Serial port part was a pain … but now all seems good and network upload works.
When I try to access my visu with:
http://192.168.0.249
nothing happens – in the HS I see a line appearing “UNKNOWN”. DO I have to add additional parameters or is my HS not yet ready?
Thanks
I am using the IP interface between HS and bus so not sure what the COM adress would have to do with it, but in any case I changed it – but no difference.
Thanks
change in Bios the adress of COM1-3F8/IRQ4 and Com2 – 2F8/IRQ3.
For my solution it works.
But serial upload isn´t possible after that. You have to changed back.
Hi again,
The post is missing some chars, making it difficult to understand.
Expert -=- HS works fine, even upgrading from 2.4 to 2.5
ETS -=- Bus works fine.
ETS -=- HS/ETS Server -=- Bus also works
HS -=- Bus does not work.
Thanks
Hi,
Have the HS running. Everything except EIB bus communication works fine. I’m connecting to the bus using the Gira IP router.
Expert HS works fine, even upgrading from 2.4 to 2.5
ETS Bus works fine.
ETSHS/ETS Server Bus also works
HS Bus does not work.
Any ideas where to start troubleshooting?
Thanks
It works now.
After correction the ip-addresses in /etc/network/interfaces (ubuntu-vm), restart and now I can switch my lights on and off!!
Thank you Roel and thanks to all participants in this forum.
Hi,
HS is running in VMware, projct is loaded, connection via QuadClient ok.
But: I cannot see a working connection to EIB. (via HAGER TH10, a Siemens N146 OEM device)
connection via ets and eibd/knxweb is working.
How can I check the connection? What else can I check?
The HS starting message:
# /hs/bin/hs_main
:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
+++++++++++++
NET NET NET : 0040XXXXXXXX
+++++++++++++
sh: isdnctrl: not found
sh: isdnctrl: not found
sh: isdnctrl: not found
sh: isdnctrl: not found
sh: isdnctrl: not found
sh: isdnctrl: not found
ipppd: Kein Prozess beendet
SIOCADDRT: Network is down
SIOCADDRT: File exists
USB-LOG : 224.0.23.12 3671
SYSTEMID : 0040XXXXXXXX
PROJECTID : 20100922001927807
—————————————————————–
HomeServer (A) V.: 2.4.100421 21.09.2010 20:43:38
—————————————————————–
Start : 21.09.2010 20:30:36
SNR : 0040XXXXXXXX
IP:Port : 192.168.0.103:80
ISDN (Stat/Ok/Err) : OFFLINE / 0 / 0
Load (Date/Stat/Size) : 21.09.2010 20:29:32 / OK / 2962
Save (Date/Stat/Size) : 31.12.1969 19:00:00 / ? / 0
EIB (Date/Init) : 31.12.1969 19:00:00 / 0
Free Memory : 42676224 / 42676224
Proj (Stat/MD5/Size) : OK / OK / 3344282 / 41141
—————————————————————–
I wonder about the line “”USB-LOG : 224.0.23.12 3671”
I don’t use USB for any connection to EIB.
Any ideas?
Thanks
@vbox-user:
For now I synchronized HS with EIB real time clock (e.g. Siemens N350) every 10s – temporary fix but works (Project Setting=>Network=>NTP/Time Calibration=> Date Time recieved from EIB). I think that the answer and the final solution can be in this document http://www.vmware.com/pdf/vmware_timekeeping.pdf . But I’m giving up for now ;)
Could anyone fix the time drift problem in Vmware or Vbox?
Really nasty issue…Besides this FW 2.5 is working perfectly in Vbox.
^^ I’am looking for it too…
Hey,
has anybody the new iPhone Gira Quadclient app.
I’m looking fo the ipa file.
By Duskpage
The only difference between a Homeserver and a Facilityserver is the size of the RAM and the Flash. If the Flash size is big enough, the firmware identfies itself as a Facilityserver, but this has nothing to do with the transfer of the project. You can load a HS project on a FS without errors.
I would also think there is something wrong with your flash drive. I also get the C/H/S 0/0/0 ignored – line in the startup.
I see something at my hdb try´s.
Hs starts as facilityserver!
i have changed project to facility-project but always same error.
i think there is something wrong with by hdb
Marcus, thanks for description, Everything works great.
@Marcus
I try Epia M6000,format flash. create new 4 fat16 partitions and install dos on first. on second i copy files. in bios cf is second disc, ide1 slave.
Same error. the other com´s in bios are off.
in console i see a little line for short time while loading at startup:
…..
…..
hdb: C/H/S 0/0/0 from Bios ignored
hdb: ata drive
……
@knx_weber:
i bought a Wyse Client 9450XE
How to install an OS on this System ?
tomko, the syntax is eeprom -km 0040xxxxxxxx, without any delimiters.
cocoon, this is really weird! Seems it doesn’t like the board, because it runs fine on my Epia-V and Epia-M. The Epia-PD has four serial ports, the other boards only two. Have you tried to disable all other serial ports than COM1?
2.5 works fine …. :-))
@marcus:
I have the problems only with one disk solution on hdb.
Hs on 2 cf cards works fine with serial connection.
I use Epia PD Board.
Next i will test an Ml6000.
@Duskpage
Yes, and it works nice.
@jsds: How do you configure parallels to have a eth0 device? I get the error message that the device eth0 not found. I set the network settings to bridged.
Hey,
have anybody the new HS 2.5 verison running ?
by Dusk
Marcus, to be sure I see folowing syntax in EEPROM txt:
EEPROM -km[#] mac-address
If I have only one network card and my mac is: 00:40:XX:XX:XX:XX
right syntax is:
EEPROM -km[1] 00:40:XX:XX:XX:XX or
EEPROM -km[1] 0040XXXXXXXX?
Thanks for help
cocoon, this seems to be a problem with the serial port or cable. The HS sends back a file to the Experte to confirm the transfer, and this doesn’t work at your installation.
– If you install the HS on hdb, it wants COM1 for the project transfer, so irq4, address 3f8 in the BIOS is correct.
– You need a full null modem cable with handshake, just crossing RXD and TXD does NOT work.
– USB-serial adapters give problems most of the time. Try to do the transfer from a PC with a real serial port.
Thx Marcus, I wait for parts. Soon I will check everything. Regards.
@ Marcus:
To Post 408, 409, Installed new 2.5 firmware but same problem.
console say after transfer:
—
sending hsdn.zip m / Give your local XModem receive command now
XModem sectors /kbytes sent: 0/0K Retry
Timeout on sector ACK
Timeout on sector ACK
Timeout on sector ACK
Timeout on sector ACK
—
Problem with serial?
i changed 2f8/irq3 and 3f8/irq4 but after changing the transfer not starting.
@tomko: The IP adress for the HS is set in the Experte . When you create the initial empty project you can set IP adress and login/password, then you do the transfer via the serial port. After that the HS is in your network and you can do the next project transfer over the net.
One more thing: The new 2.5 firmware is available! I did the update over the network and it works. One more sign that my solution is very close to an original HS.
Marcus, acording post 406, how to setup ip address for HS?
Nein, die Software ist doch Urheberrechtlich geschützt, somit gibts kein Image…und sei mal nicht zu faul um dich selbst mit der Materie auseinander zu setzen. (Kostet bischen Zeit…ca.2-3 Std. aber es lohnt sich).
Außerdem… english only please.
Hat jemand ein fertiges Image zum DL ?
I never saw this error. I built two HS with my solution, one with an Epia-V and one with an Epia-M. Both work great and the transfer with the experte is no problem. Do you have any error messages on the console?
@Marcus
I try your solution with hdb and all files on ond cf-card.
On my Via it dont work. the hs starts ok, transfer starts and after transfer experte says ERROR Das Projekt wurde vom Gerät abgewiesen.
in bios i see that cf is on first ide as slave.
Thx to Marcus.
Tested with CF-Card on IDE1 as slave.
Works great!
Yes, this is quite simple. I found out the HS 2 used a VIA Epia-V mainboard, which has only one IDE port, so there must be some difference to the HS 3, yet they have the same firmware. The problem with the flash on hdc – master on secondary IDE – was that the firmware got deleted when running the HS. But this doesn’t happen if you use hdb! So just set the flash drive as slave on the primary IDE.
This is my current solution, as close as possible to an original HS 2:
– create 4 primary partitions on the flash drive. I have an 1 GB drive, so I made the partitions 8 MB, 50 MB, 470 MB and 470 MB big. Format them all as FAT.
– Install MS-DOS on the first partition (8 MB), sys c: is enough. Make the partition bootable and active, write a correct MBR with fdisk /mbr
– Copy the contents of the unzipped firmware.dat to the second partition (50 MB), this is drive D: under DOS
– create an AUTOEXEC.BAT on C: with these two lines:
D:
DOLINUX.BAT
– boot from the flash drive. Enjoy.
Anyone new info for a “one flash-card” solution?
@Ombre
I use a Card with HFC-S Chipset and it works…
Can somebody help my my? I want du put a ISDN Card in the homeserve. Witch one should i use?
Hi all! Good news! I got this working on my Macbook with parallels (took me 2 days – 90% reading all 400 posts).
My advice:
– do NOT use x64 because it is not compatible with USB (renamed filesystem usbdevfs -> usbfs in linux kernel 2.6) HS expects the old usbdevfs. Use the “old” i386 2.4 kernel version.
– EIBD and HS do NOT run on the same machine because they listen on the same multicastaddess. HS wont receive the communication. I was not able to find a workaround. (somebody?) I use the EIBmarkt N000401 with EIBD – works great!
– Project too large… is caused by unstable (virtual) serial connection. My solution: reboot the windows-system running HS Expert, start Expert and transfer the project. (Do nothing else after the reboot) It seems the serial connection is more stable after a reboot and under parallels than VMware… I managed to transfer the little project after two trials.
Thx to Roel!
charre,
first of all – you need a full null modem connection between HS and the “Experte”-PC. Just crossing RXD and TXD does not work.
In the Experte, you can select the serial port you have your cable on, the HS always uses COM2. What hardware are you using for the HS? If you have a VIA Epia board the default is COM1 on the back panel, but you can change that in the BIOS setup.
can anyone help me on how to troubleshoot the serial connection between the expert software & the HS ?
How can I see what ports are used ?
Many Thanks
Is it really so hard to read the instructions that came with eeprom.exe or type eeprom -h?
From the eeprom.txt:
-km[#] mac-address write mac-address to #th NIC’s EEPROM MAC address field.
Hello,
How i can change the Mac with dos tools?
I have the an Epia ML600 and the programm ” eeprom.exe”
Where is the Syntax for ” eeprom.exe”
thanks
Hi guys, i just saw this website: http://www.g-homeserver.com, it has some interesting articles/topics.
See topics:
New (more)RAM: “Mehr RAM Speicher im Homeserver Net 2”
New (more) IDE Memory: “Neuer Flash IDE Speicher für den Gira Homeserver Net 2, Upgrade”
BIOS Password and USB-Keyboard: (Maybe also useful, if you want to use USB instead of RS-232; feature of Experte 2.4; not yet tested by myself): “Gira Homeserver BIOS Passwort löschen, USB Tatstatur”
Is there a way to “install” the original OS to hdc2 durable and not running from ISO CD or similar medium?
Whats the behaviour of OS and partitions in an orig. Homeserver (cant overwrite itself… if project uploaded and restarted)
Next question,
works Gira KNX/EIB-IP-Router with an selfmade homeserver 3. I’m searching for components for my house building.
@Marcus
Thanks for the tip. Can you tell me, are the firmware.dat files on the orginal server in the partition 4. I’m going to test it. Copy my files to partition 4.
My Hardware:
Via Epia Board 5000 (ebay 30 Euro :-)
Chance the mac with via dos tools.
I will report
hagbard, the original HS uses loadlin.exe and therefore DOS to boot the linux kernel, so I did the same. My aim is to replicate the original as close as possible to have maximum compatibility. I don’t really understand your comment.
@ Marcus … Why DOS ?? this way is extremly gay. Use Linux!
I got it running just on one single flash drive!
I noticed the HS changes only the first three partitions on the drive, so I created four primary partitions on the flash module and installed MS-DOS on the fourth partition. It won’t boot with the standard DOS MBR, so I used a boot manager (boot-us). Then I copied the contents of firmware.dat on the drive, renamed dolinux.bat to autoexec.bat and voila! The HS is booting, the first project transfer is done via serial and the DOS partition isn’t altered, so the HS still works after a reboot.
Next on the list is the ability to use the firmware update, I will keep you informed ;)
My hardware is a VIA Epia-M 600 MHz with a flashed MAC adress now, low power and fanless.
ok…solved my problem…hs dont run with n148. if somebody search for cheap and fanless hardware…search for wyse wt9450xe on ebay. runs and sometimes sells for under 20euro.
Hello everybody,
I got the hs running when i manualy change the MAC adress but then I am having the problem that I cant browse the internet. I cant even ping the router or other PCs. Any suggestions?
Also if i do changes to ifconfig the MAC adress is not changed. :-(. I always have to do it manualy.
Best
hi everybody!!!
can somebody help me with my problem? i use a n148/21 ip interface.
when i start the homeserver on an epia client i get following error message on startup (project alredy loaded):
:38 deprecationWarning: the whrandom module is deprecated please use the random module
after a while (i get following message:
Traceback (most recent call last)
file “/hs/compile/dr_eibnet, line 69, in RouterSockOpen
file “, line 1, in setsockopt
error (22,’invalid argument’)
i loaded a project but if i press a button in the web interface i get following error:
Traceback (most recent call last):
File “/hs/compile/dr_eibnet.py”,line 83, in EIBSendMsg
TypeError: getsockaddrarg: AF_INET adress muast be tuple, not NoneType
hope somebody can help me!
thx
@cocoon
Danke für deine Rückmeldung. Dachte mir schon das ich um eine zweite CF nicht herum komme. Muss jetzt noch warten bis der bestellte zweite cf connector kommt.
Mach aber nix, dann kann ich wenigstens meiner Hausbauplanung weiter machen. Natürlich mit AXN Bussystem :-)
@cheesy
englisch ist gut verständlich.
Ich habe das selbe ja auch gehabt.
Der HS schreibt die Partitionstabelle aud dem 2. IDE neu.
Ich habe jetzt auch 2 CF Karten verbaut. 1. FAT16 und DOS7.10 mit den HS Files und die 2. Karte mit den im How-to angegebenen 4 Partitionen allerdings habe ich für jede Partition 200MB vorgesehen und es läuft gut.
i haved same problem with running on one CF card.
HS write the partition table new.
Now my system runs with 2 CF cards. on the first i installed Dos7.10 with the hs files on fat 16. on second cf card i create the 4 partitions of how-to blog. the size of all partitions are 200mb and it works fine.
Now, i have ordner a second ide cf card adapter. To install dos on a other cf card /hda. I hope this helps.
Hey,
maybe someone can help me. I have the same problem at post 378.
I have buy a via epia 5000 board. Change the mac with the via dos tools.
Connect a cf card over a ide connector on ide port 2 as master.
Now i build four partions with gparted and installed freedos in the first partition. Copy homeserver files in the first partition and change the autoexec.bat.
Now the homeserver runs fine. I connect my laptop over a usb serial converter and transfer my first project.
After complet the transfer, the homeserver will start new and i have errors. Now i look the cf card with gparted and i see, all four partitions are clear and no file system is that.
My first partition with dos and the homeserver files are lost. No filesystem is now on the first partition.
Maybe someone can help me.
Thanks
(german: Ich hoffe mein englisch ist nicht allzu schrecklich :-)
@Marcus and alll
I solve the problem of my post 378
after i set the serial connection “com” in bios i changed serial 2,3and4 to “AUTO”.
After that i have had the problems
today i changed the bios serial entries to old data and hs woks without errors.
Hi to everybody!
Do someone know, if the USB-conection works with vmware? on gira-homepage is written that is supported.
@Toti (post 214)
Did you resolve problem of universal timers on VMWARE? I have same problem (gira HS 2.4 from ISO). I think that vmware clock synchronization is a problem. Tried change VM config (XXX.vmx file) tools.syncTime = “TRUE” but doesn’t work neither. Any ideas? Maybe someone can check this on VBOX.
I also noticed the HS modifies the partitions on hdc, but then I don’t care because I use the iso on a real CD-ROM – in fact I replicated a HS 2.0. But my next project will be a HS3, so I will also try to fit everything on a single flash drive.
hs/compile/dr_bcu2n.py hints at the BCU2 driver for the FT1.2 connection to the KNX-bus. Do you have any connection to the bus? The HS expects the interface on COM2, are the settings ok for the COM-port? Or maybe it’s the modifications you made, have you tried an unmodified hs_4_0.tgz with a flashed NIC?
1st.
I try install Dos on hdc on cf card. i copy dolinux.bat ,modified hs_4_0.tgz, loadlin.exe, vmlinuz
i boot dos and edit the autoexec.bat to load dolinux.bat on start.
i create hdc1 hdc2 hdc3 on same cf card.
i start the hs and transfer a project with serial. after upload hs starts new and works.
BUT! i power off the system an start it new. So the system says no OS found.
i think the hs overwrites the hdc partitions or the table and destroy the first partition with my dos system and the hs files.
what is the matter?
2nd.
ok, than i try to install the dos system and hs files( dolinux.bat ,modified hs_4_0.tgz, loadlin.exe, vmlinuz) on a own cf card on ide 1 (hda)
i create on second cf card (ide2) 4 partitions.
i start hs and it shows ok.
After this i transfer a project with serial cable . After Upload (hs says transfer complete) i get following error
hs/compile/dr_bcu2n.py line 261
OS Error Errno5
the hs writes this error continuous in the terminal window i think in 10 seconds 50 times.
But in the background hs starts and give out three beep tones.
Anybody an idear
@376
This is a wonderful and clear description.
If you are referring to me “RTFM” i was actually referring to how this all works with CF cards, freedos and the advantage of starting this linux from a autoexec.bat.
i have done previous installs of HS but i always included a installation of a dist-of-choice..
It seems insights have changed.. thank you
Ist easy as hell
1. Install Oracle Virtual Box
2. Install Com Tool from post 207, thx great tipp, you need to enable “enable strict baudrate”
3. Creat Maschine with HDD at Sekundary Master, and connect com2 to com2
4. Download iso gpardet and boot from it, create Partitions 40/40/40/40 ext3
5. Boot from gira iso file
6. Transfer the Demo project from Gira over com1
Ready!!
Bevor you ask, take the time to read this whole site, turn on your brain and understand what happens.
If you are happy with the HS buy it!!!
@374 and @263,
Could some pls explain how this works?
What the difference is between the @263 method and the original post from Roel.
I somehow feel a contradiction in freedos and HS, because HS is non dos software. :-)
Or is it the same except that CF is used instead of disks?
Hi,
i tried the way @263 and its working.
Old Epia 5000 , freedos + HS Files.
One question, is the whole HS working in RAM ?
This is the autoexec.bat file:
loadlin vmlinuz rootfstype=tmpfs root=/dev/ram rw initrd=hs_4_0.tgz
Why not…it’s not forbidden to discuss about it…what you do with this informations, depends on you…i’ve you rebuild it…use the hs soft on another pc, fake the mac…than it your problem and not someones other.
Hi Tomas B form L ;-)
Do you really think it’s a good idea to discuss how to overcome licence violation in a “real” forum?
Hey gents …
that’s really cool ;-)
Wish there would be a real forum to conversate …
Hey gents – is there a manual or something like that how to do a simple applikation in the expert software?
Or could somebody gimme a quick step-by-step instruction how to switch on/off an aktor?
Got my HS hooked up to my bus via FT1.2 but can’t see any telegrams on the bus vis the busmonitor in the ETS.
Any hints?
@jayy
No, if you have one drive at the second ide Slot as Master this is hdc under Linux.
I didn’t try it yet, because I’m waiting for my EPIA board to arrive. It should arrive this week, I will keep you informed ;)
But there is a description in the EEPROM directory. Make sure the chip on your ethernet card matches! This file is for the VT6107 “Rhine” chip and the integrated VT823x southbridge found on the mini-ITX mainboards.
@Marcus
Got that file – thaks for that hint! Could you tell me how to use it @ a VIA Rhine II Fast Ethernet Adapter?
Tried it yourself? On witch eth chipset?
if i modify a firmware cd-iso with 7zip and magic iso under windows xp the cd does not boot anymore? i think the linux rights have been altered this way? do i have to modify cd-iso under linux?
i only have a live linux cd without these tools integrated.
@panzaeron
if i have only one hd in second ide master slot it still shows up as “hda”?
(i am using a linux live cd for testing)
and if i boot firmware cd-iso from usb stickdo i still need two flash modules?
For all of you using a VIA EPIA board this may be useful: Search for the file VT6107_VT8231_VT8233_VT8235_VT8237v37MVIA.zip, available e.g. at viaarena. In the EEPROM subdirectory you will find the flashing tool for changing the MAC.
@jayy
First IDE-Slot Master: /dev/hda
First IDE-Slot Slave: /dev/hdb
* Second IDE-Slot Master: /dev/hdc
Second IDE-Slot Slave: /dev/hdd
You need two modules, because the gira firmware formated sometimes some partitions of hdc (Second IDE Master).
hi @ roel & all,
i’ve been following your genious tricks very interested for quite a while and ordered a via epia ml6000 board to test on my own now.
so it looks that with this hardware it should be sufficient to put the ifconfig-modified unpacked firmware.iso onto a bootable usb stick –
similar to this howto:
” http://www.wiki.csoft.at/index.php/Damn_Small_Linux_von_USB_booten ”
…and install a 4 primary partition flash module into the ide slot?!
as a linux n00b still not clear is: into which of the 2 ide slots, as master or slave and how does it show up as hdC if there is only one module used?
thanx for posting ur thoughts!
Hello,
I tested the inittab, it worked. Does your server boot with the “Error error error” message? If it doesn’t boot at all, your .tgz file is not ok.
You can also try to modify the hs\start\start.sh file, it also works (tested):
Add these lines before the first “ifconfig” command:
ifconfig eth0 down
ifconfig eth0 hw ether 00:40:XX:XX:XX:XX
ifconfig eth0 up
@ Tante Finnie
i only have 5 lines in rc.sysinit and dont know what the function is.
@River
i use Via Epia PD10000 and Epia ML6000EAG
I have make a server with dos 622 on it (see post 358 and 343) and i must say it goes verry fast with the old dos :-)
I have use a VIA EPIA-ML6000EAG board http://www.Reichelt.de 135€
500 MB RAM
2 GIG CF for Drive D
an old 20gig 3,5 HDD for Drive C
KNX goes with an USB Controller
at the first i tranfer the projekt with RS232 and set the IP
then goes it with ethernet
I have found the original Case at http://www.mix-computer.de/html/product/detail.html?artNo=TDIV04& 80€
@cocoon or any other
Hi!, what VIA board are you using? I’ve succesfully installed Homeserver on a VirtualBox environment, and searching wich VIA board works. I want to ask you a question of programming in Expert software because I’m trying to merge with an OPC server, my mail: javierete (AT) gmail (DOT) com
Best Regards
@cocoon
try to enable line 12 in your rc.sysinit (in HS_4_0.TGZ /etc)
delete the “#”
1.@Freakh
have you tested modify the inittab from post 343?
i test it with original working HS Mac but it don’t works.
i am using 7zip and packing is no problem.
——————————–
2.1st system with an old P3 700Mhz on 2HDD with Centos 5 working fine but 38W power
Now i have a epia with 2cf flash but installing and using a linux is very slow and too much CPU power
I delete all and install DOS on cf card. after that i copy
dolinux.bat ,hs_4_0.tgz, loadlin.exe, vmlinuz
i boot dos and edit the autoexec.bat to load dolinux.bat on start.
My system starts fine and load the hs_main.
Now my problem is change the mac in the inittab file or an other way. I have realtek card but thats not my solution. i want to make the mac possible with soft. what can be the problem with my initab file?
Hey roel , news about the forum?+
i have news , i found a very interesting programcode but i won’t post it here.
HS only works with IP Routers!! No way.
Ok thanks RichieM.
And another question, I have the HS on Centos VMWare running and for the link to my EIB I have a Gira USB module and a standard IP module and this one is not listed in the supported list of Gira.
Can I still make a connection to my EIB environment? Because on my usb (Centos) connection I always get these alarms, interface 0 claimed …
ID can be set as you like. Only to identify different HS.
Hi Freakh,
Thanks for your information, it works.
Any idee about my other problem?
” i will use the HS client but what is the ID? Mac Address?”
@Jukke
is it possible that your project is bigger than the partition size?
see your error message:
“- Memory capacity insufficient”
“- Total memory 2548 kB”
2,5 MB is very small
try a bigger partition
Hi Mika,
Correct but without pictures :-).
And this maybe because I have some errors in my transfer over IP!?
See post 350 “-*Images+messages have been rejected”.
Thanks,
Jurgen
http://ip/hs or http://ip:80/hs then you should see something ;)
Hi,
All up and running on VMWare with Centos.
Also transfer true serial is done.
But :-), then i have tried to transfer the demo project over IP and i get this message,
– Log on.. (192.168.171.129)
– Connection open
– Connection closed
– Tranfer completed
– Version calibration successful
– Memory capacity insufficient
-*Data have been saved
-*Images+messages have been rejected
– Project occupied approx 2% of the memory
– Occupied memory 39 kB
– Total memory 2548 kB
After login on the HS with my explorer I don’t see any picture but i have functions?
Another question i have, i will use the HS client but what is the ID?
Mac Address?
Open the Firmware. dat and you will see
dolinux.bat
hs_4_0.tgz
loadlin.exe
vmlinuz
ok, on hdc1 must be a DOS system (bootloader)
if anybody can create a Dos bootloader the system runs only from the files of firmware. dat
we dont need a installed linux on hda anymore.
@RichieM
have you more infos about Bootloader or files.
partition 1 must be fat i think
@RichieM
Thank you, for the Info.
Please, coluld you post the names of the files in hdc1. I think it is a loadlin bootloader is this correct?
The content of hdc2 is this the extracted data of cdrom.iso?
hdc1: DOS, Loader
hdc2: Firmware
hdc3: project
hdc4: remenent data
@Freakh
I think, the Gira homeserver used an own filesystem or the sectors direct.
But normaly the HS used the partition three (hdc3) for the remanent memory space, but if I use an extra DOM for the CD-ROM.iso content, the HS used the partition hdc1.
The reason could be an compatibility to the old HS2 with a cd-rom-drive, but this is only speculation.
So it would be nice, if someone has some informations about the original used bootloader and the content of the partitions hdc1 and hdc2.
That’s right, the HS changes the partition in some way, it is shown as unknown or not formatted partition. Is the HS using another filesystem or just corrupting the existing partitions? And why hdc? are there no disks or storage on the hda and hdb?
@Freakh
Ah, OK, thank you.
I have tried to extract HS_4_0.tar and packing the changed content, but this don’t work.
My testing HS used the hdc1 Partition to store the projects and the remanent store (not formated (Partition unkonown)).
So, it would be nice, if some has some more informations about the original content of hdc1, hdc2 and the used bootloader.
Extract the HS_4_0.tar from the .TGZ file with 7-ZIP.
Then open the .tar file in 7-ZIP, then go to /etc and extract the inittab. Modify the inittab with a text-editor and add these lines with your MAC address after the “…ifconfig eth0…” line:
console:3:sysinit:/sbin/ifconfig eth0 down
console:3:sysinit:/sbin/ifconfig eth0 hw ether 00:40:XX:XX:XX:XX
console:3:sysinit:/sbin/ifconfig eth0 up
Save the file and replace the /etc/inittab in 7-ZIP with your modified file.
Then zip the modified HS_4_0.tar to a .TGZ file with 7-ZIP.
With Magic ISO you can open the cdrom.iso and replace the HS_4_0.TGZ.
@Freakh
Please, could you post a small description how do you modified the original cdrom.iso?
if there is all the OS in the firmware.dat or cdrom.iso, it could be possible to create a disk with only the Homeserver OS. I’ve already modified the cdrom.iso to get a fake mac address when booting only from the CD.
More info on the original HS flash drive would be great :-)
@cocoon
When i tested my setup for the HS, i installed xbuntu too…it was running fine with it. (i went (2x2GB Flash Drive/Disks). The first disk with xbuntu and HS soft on it, and the second just the 4 partitions.
Worked great…but i needed this pc for other things :D
Please, could some one post the content of the first and second hdc partition (not the files, only the directorys and filenames, see my post 336).
Which bootloader is on the original HS used? Syslinux?
Is the filesystem of the second partition on the original HS/FS ext3 or fat? I read in an other forum, that the filesystem is fat not ext3 as described in the blog entry from Roel.
@Benny Hill
No, see Post 271
Could someone share VMware image for download?
Could someone with an original Homeserver 3 publish the names of the files on the partitions hdc1 to hdc4.
Change to the directory with the mounted hdcX partition and than it could be done for example with:
ls -h -l -R > ./content-hdc1.txt
It would be nice if on the hs3 is an demo project.
After very good test install on 2 hdd 40gb i want to install on two 2gb flashdrives
but Centos 5 is with gnome too big. Install abort.
I try xubuntun and DSL but after many problems witch packet an root management i forget it.
What is the best os for 2GB Flash drives with a x-gui .
Is centos 3 an alterative?
Please help
Thanks Marcus,
just ordered an EIBmarkt IP router, it should arrive friday.
I’ll keep you informed !
Now have to find out houw this whole Expert works… Anyone has a manual ?
You don’t need to set a physical address for the HS, because it is not a KNX device – it communicates via the interface and keeps the state of the bus internally. Just the interface needs a physical address.
The HS 2.4 works with an USB interface, the FT1.2 serial interface and an IP router. It doesn’t work with the old BCU1 serial interfaces as the ABB EA/S 232 or the cheaper IP tunneling interfaces. You could use the eibd with your ABB interface and configure the eibd as router, but this means you need another PC running just for this purpose. I would recommend an USB interface or the Siemens N146 IP router.
Think i got it working in VMware !
Created VM with 256 Meg RAM.
IDE 0:0 CD-ROM drive with the ISO file mounted.
IDE 1:0 Hard disk (1Gig)
2 serial ports, first one is mapped to physical port.
Changed MAC-adress of VM as described in 54.
Used GParted to create 4 partition on harddisk. All 128Mb, FAT16.
I started with the named pipe soultion for the second port to communicate to another windows VM. I never got the transfer working ! Allways CRC-errors an timeouts. And error …to big.
So i used the tip in 207 and installed vspd and expert on the VMware host server. Then i created in vspd a pair of virtual COM ports (u must checkmark ‘Enable strict baudrate emulation’) and mapped one of these virtual ports to the VM homeserver. The other port is used in Expert.
Now the serial transfer works like a train !!! I can even transfer the demo project via serial without errors.
Now the VM HS is reachable via network.
What address should i set as the physical address for EIB ??
Will it work with my ABB RS-232 module ?
Hey panzaeron,
same for me – I’ve tested it in a VM and now wanna test it on the wyse via DSL… I’m in an early state of my home building process – late on I will also buy a original HS3 from Gira because the WFA (wife acceptance factor) is nearly down to zero with the homebrew version :D
@Netmare,
my solution is in an early state and not fully working.
I use the Gira Homeserver cdrom.iso content on an 32 MB DOM with one Partition (hda1) and I make this Partition with syslinux bootable. This means, I’m using no other Linux distribution
The second flash is an old 256MB CF Card with an CF2IDE-Adapter as hdc with the four Partitions.
As NIC I use a old Realtek 8139.
The final testing solution should be a MAC patched onboard VIA-NIC with a HFC ISDN-Card (the first thing is a really big problem for me :-( )
I use the ThinClient only for testing, in produktive Environment I plan to brought a real HS3.
Hey panzaeron,
got the same wyse thin client over here – what kind of os are you running and what kind of hdds/cd-drive have you installed?
You got a icq uin bro?
@NetMare
If you find a solution to change the MAC, let it me know, because I have a VIA-3043 (Rhine II) on board…
(I use a Whyse WT941G XL ThinClient with VIA Epia Mainboard)
tnx panzaeron!
@NetMare
The VIA Rhine II is supported, but I don’t know the way, to change the MAC…
Hey guys,
dows anybody know if the VIA Rhine II Fast Ethernet Adapter is supportet by the gira iso?
Or does anybody know how to change the pysical burned in mac adress of the above mentioned adapter?
Greetz
@Marcus
Sure I read this, but I didn’t find this tool.
With newer Mainboards you could use the Award-BIOS-Flash-Tool, but not with my Epia C3-1000 :(
I use the PCI Slot with my ISDN-Card, but if nothing helps, I use the Slot with the Realtek.
In comment #263 bat writes about a DOS tool for changing the MAC adress on a VIA mainboard. So it looks like it is possible to do this. As the VIA boards have an empty PCI slot you can always use the RT8139 as a last resort.
@Marcus
Thanks for the Tip with the RTL8139, but I own a Wyse ThinClient with an special VIA Epia Mainboard, but I have no luck to change the MAC, some idea?
If I have no chance to change the MAC, I will test your tip with the 8139 NIC…
In fact it is quite easy to use the original iso-file.
– Use an older mainboard without a networ chip or disable the onboard network. I used a PC with a PIII-450 I had around. Older boards normally have 2 serial ports, so you can just connect to COM2 für the first project transfer.
– Take a Realtek RT8139-based PCI network card, they are easy to find and cheap. Flash it with the MAC-adress you want to use. This is done under DOS with the PG8139.EXE, just prepare a DOS boot disk with this tool and the edited configuration file on it, boot from this floppy and flash your NIC.
The RT8139 is supported by the kernel on the Gira ISO-file. I also tried an Intel PRO/100 and a 3com 3C905-based card, they are flashable but not supported.
– Connect a CDROM-drive as master on the first IDE-connector an a harddisk or flash disk as master on the second. Create 4 partitions on this drive, type doesn’t matter. The HS seems to take care of the correct format. It seems that the fourth partition is leaved untouched, but I’m not sure if it works with just 3 partitions.
– Burn a CDR with the ISO-file and boot from it. Enjoy.
@panzeron
My error Message is: “Error 2 making dev/hdb6/: Path component is not a directory”
One difference between the original tar hs_4_0.tgz and my own is, that I could not add files to the original file, but to my file.
If I edit a file with mc (mcedit) a error message occurs when I save, something with: file is a hard-link.
My file stops booting with the following kernel panic:
“Error 2 making dev/hda10/: Path component is not a directory”
But I don’t know, what I could do? Someone an idea?
@Tante Finnie
Thanks for the Link, but I’ve the same Kernel Panic and the method bat described doesn’t worked for me too.
I think, something were changed at the package between the “new” hs_4_0.tgz and the older hserver2.tgz., but I don’t know where the change is :(
Hello,
I am trying method with mounting cdrom.iso under my Ubuntu with VirtualBox. HS starts without problems. But I cannot transfer initial Experte project to HS. I have two VM: one is HS on cdrom.iso and second is WinXP with experte. I cannot make them to communicate together. The problem is in COM ports setting in Virtualbox. On both VM I have HOST PIPE with /tmp/com_1
Can anybody solve this problem?
@panzaeron
have a look at: http://www.knx-professionals.de/forum/showthread.php?s=094718a52801af8cd3c0a60e12b7b746&t=7415
I try it too, but i have a kernel Panic after boot the system.
Anybody tryed the method from Bat in post 263?
@all
I try to edit the hs_4_0.tgz to boot with the correct MAC-Address on my Epia ThinClient with out another a second OS. But if I unpack the tgz and packed the files with tar (tar cpvf – * | gzip -c9 >../hs_4_0.tgz) for testing, it stops booting before the MAC Error occurs… So I think, something goes wrong with my packing :(
Does someone has an Idea for the correct command to pack the hs_4_0.tgz?
@Lincoln:
look in /etc/rc.sysinit on your HS_4_0.tgz
there you find: “type=36”
=> hisax type=36: Card Winbond 6692
Hallo,
does sombody know which kind of ISDN-Chip is in the original Homeserver?
Regards,
Lincoln
@Urs Krawall
Thanks for the detailed procedure. It works fine up to step 4.
Setserial installation resulted in an error: “Sub-process /usr/bin/dpkg returned an error code (1)”
I face the following issues with DSL (which still work fine on CentOS):
hs_trans – displays “NET NET NET” but transfer does not even start
hs_main – after launching whole session looses internet connection
Which packages did you (succeeded to be) installed?
Thanks for any hint…
@Urs Krawall
Please post your Partition table and size of it for :
hdc:
hdc1:
hdc2:
hdc3:
im not sure.
Did you create special “rights” for hdc – hdc3?
@chris:
1. you need a working internet connection on DSL
2. you must enable apt-get in the men not ue
3. type: apt-get update
4. type: apt-get install setserial
5. try to install the other packages from Roel, not all are installable, but its no problem for running HS
6. edit /proc/bootlocal.sh with the ifconfig hack
7. start the hs_main
@DSL users
My HS on Centos works great! However, DSL sounds great to me (small and fast). How do I have to manage to get the tools Roel recommended installed? Which packages do I urgently need? YUM is not working and apt-get does not accept the command string.
Thanks,
Chris
@ chris
hdc1 use is possible by HS, but i think hdc1 is to small for the HS Projekt file. If you use the partition size from Roel its workin too. I think
hdc2 – hdc4 are possible too. But its equal, because the HS is running.
It’s done.
I switched from virtualbox to vmware, an I tried centos 5.4 i386 and it works perfect.
Is it possible tha the first partition of hdc is used to store the projects?
@Cocon:
my favourite linux is DSL:
ftp://ibiblio.org/pub/Linux/distributions/damnsmall/current/dsl-4.4.10.iso
its just 50 MB and comes with a GUI
ifconfig hw ether change must be insert in /proc/bootlocal.sh like
# 124
software can be installed by apt-get
but ISDN is not working :-(
i try Centos in smallest configuration, it runs. But no ISDN
My Hardware is a VIA Epia ML6000EAG 512 MB Ram two flash drives (1 +2 GB) and a Fritz ISDN PCI 2.0 Card
My Linux runs on the 2 GB Drive, thats much enough for any Linux OS
@ Urs Krawall
What a Linux you use (DSL version and Hardware)?
How do you fake the Mac?
I’m running CENTOS but it use to much performance.
Welches Linux verwendest du (welche DSL Version auf welcher Hardware).
Welches Script fährst du um die Mac Adresse zu emulieren?
Ich benutze CENTOS wie im Tutorial und es läuft gut aber schlechte perormance. Deswegen suche ich eine Alternative. Da scheint deine Lösung gut zu sein.
@roel
news about the new forum ?
Is there anybody who use ISDN on the self made homeserver?
Please give me a hint to get it running.
@ chris
use fdisk /dev/hdc
show the partition table with type “p”
there must be 4 primary partitions the partitions shall be at least 16M big
but i think there is an other problem
i dont know vmware, i use a rael computer
@Urs
I’ve tried to transfer including Pictures, but im using vmware, so I recieve CRC Errors.
How can I test if the partiotions on hdc are correct?
@chris:
in Experte:
Übertragungsmodus: “Bilder+Daten+Ansagen ubertragen” wählen
@dominik:
Nullmodemkabel verwenden
Beim “hs” im bios den com port umstellen auf “2F8H/IRQ3”
Einstellung im Experten:
COM-Schnittstelle eintragen (z.B. 1 oder 2).
Hinweis: Folgende Parameter benutzt der “HS/FS-Experte”:
– 115000 Bits pro Sekunde
– 8 Daten-Bits
– keine Parität
– 1 Stoppbits
– Hardware Protokoll
Die Übertragungsparameter müssen beim Inbetriebnahme-PC in der Regel nicht eingestellt werden. Sollte es bei der Übertragung zu Problemen kommen, können diese Parameter in den Systemeinstellungen des PC’s eingestellt werden.
Hinweis: Bei Übertragungsproblemen den FIFO einschalten. Dieser kann unter Windows in der Systemsteuerung/System/Hardware/Gerätemanager/Anschlüsse/COM eingeschaltet werden.
Hello,
I’ve created an ext3 filesystem on all partitions – same error – project too large.
Could someone help me?
hallo
ich habe ein problem ;) nachdem ich jetzt linux installiert habe und mein homeserver auch läuft, wollte ich mit dem nullmodem kabel die erste “installation”machen. doch jetzt kommt immer eine fehlermeldung (bei hs_trans)
Traceback [most recent call last]
File “/hs/compile/hs_trans.py”, line 123, in main
File “/hs/compile/hs_trans.py”, line 54, in ttyopenfast
ioerror: [errno 6] no such device or address: ‘/dev/ttys1’
ich denke das es ein problem mit der seriellen port gibt ?
Hello
I have a problem;) after I have just installed linux and my home server runs well, I wanted to go with the null modem cable to make the first “installation”. but now there always comes a error message (at hs_trans)
Traceback [most recent call last]
File “/ hs / compile / hs_trans.py”, line 123, in main
File “/ hs / compile / hs_trans.py”, line ttyopenfast 54, in
IOError: [Errno 6] no such device or address: ‘/ dev/ttys1’
I think it is a problem with the serial port?
Sorry
fom the 3rd and 4th partition ;-)
Hello,
could anybody sent me a dd dump from the second and third pation with a inital project.
Thanks for your help.
[email protected]
By
Basezero
@chris: use ext3 for hdc1-4, the size is equal, my is 50 MB for less partition
Do I have to create a filesystem in hdc1-4 ?
My OS (Centos 5.4 64bit) is installed on hda.
The partition table is equal. I have four 50 MB partitions with ext3 on hdc and it works fine. My favourit Linux is DSL. Its quick and easy, ans everything works fine (with HS_4_0 /2.4)
I have setup a real machine and no virtual toys.
Its much easyer.
Mounting hdc1 -4 is abortive, because i think there are some tweaks with the files
Did anybody try the Mac Adresss in HS Experte2.4/übertragen/In Datei speichern/an Seriennummer binden/004063XXXXXX ?
I tried to set an hs with Expert 2.3.2 and 2.4.
But I don’t get it work.
I have a virtual machine, fixed the problem with the mac adress.
My second hard disk is /dev/hdc with the following partition table:
Disk /dev/hdc: 2147 MB, 2147483648 bytes
16 heads, 63 sectors/track, 4161 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 5 2488+ 1 FAT12
/dev/hdc2 6 1944 977256 83 Linux
/dev/hdc3 1945 1965 10584 4 FAT16 <32M
/dev/hdc4 1966 1986 10584 4 FAT16 <32M
I have a serial connection over a Pipe to another irtual machin with XP running. But I always get the error Project too large.
In my project I only set the IP, the Adress, disable the quad client and defin an admin user.
But it doesnt work. Same problem with 2.32 or 2.4. I tried the iso, but get the same error.
I think there is something worn with hdc, but I dont know what.
There’s no need to mount hdc2,3,4… ;) Its just internally used from HS Soft.
trying to mount the hdc2, hdc3 and hdc4 partitions with ext3 or ext2 under linux fails. anybody did this with success?
Just want to lock to the internals of the hs. Both main Python-Bytecodefiles are stored at the main linux system. What contain the partitions? or are they just created because hs_main and hs_trans are looking for them??
Perhaps we should create a thread there:
http://mygully.com/forum/65-hacking-security/
Its more comftable than penetrating the comment function of this blog.. ;-)
Ok i got my mac adr now from the bytecode…. ;-)
So i want to tell u a few things i noticed while setting up the hs in an MS Virtual PC running Ubuntu:
– Parsing the MAC Adr is case sensitive. Letters have to be UPPERCASE. ifconfig from ubuntu eg. prints MAC Letters a-f lowercase. So setting the right Mac by ifconfig is not enough.
– So i created a very easy ifconfig script. With this, u can use ifconfig as before and you dont need to set an env var before starting the hs.
Here it is:
Script: ifconfig:
#!/bin/bash
echo “eth0 Link encap:Ethernet HWaddr 00:40:63:xx:xx:xx ”
/sbin/ifconfig_org “$@”
Just rename the real ifconfig to ifconfig_org
HS seems to parse only, till it finds one mac…. muha
– Next point: transfering the data by serial into a vm is no problem when using the virtual serial port driver 6.9 by eltima software. But after transfering data TO the hs, the hs wants to send something back via XModem. This never worked for me with the gira expert tool. So after data sent to hs, i killed the gira tool and opend Tera Term VT very quick to recieve the file (File->Transfer->Xmodem->Recieve). Without this i could not work with any uploaded file.
Now i can access the hs via /hs
– Without QuadClient Data sent by serial i couldnt update the hs via ip. Is this normal?
After all… i am happy and waiting to get an eib installation…. ;-)
Da Name!
see post #124…
So googeling a Gira Mac is no longer possible.
Girahome server VMware image anyone?
any news yet about the new forum ?
Hallo Joshi!
ich hoffe, dass Du Dich wieder gut erholt hast damit es in den richtigen Projekten weiter gehen kann.
Gute Genesung wünscht Dir.
Dein Freund.
hi, i use 2.4 and the server is up and running, i can send packets through the hs to the bus, but in other way it isnt possible,
so when i try to show i.e. the temperature in the visu, the hs dont receive the telegramms. is use an ip-router to communicate. any ideas ?
is it working in your installation ?
@Roel,
Do you working on the forum ?
@WhatevR
Type in Browser :
http://10.0.0.30/hs
/hs is the directory of Homeserver. On your linux mashine \root\hs
Web interface not working (nothing returning on port 80)
I loaded the muster project and changed the ip to 10.0.0.30/255.255.248.0 ; however when I surf I get zero data back from the port.
Serial transfer works fine and everything gets accepted. I did increase the hdc1 partition, else I get the “project too large”. I increased it to 32Mb. The mac address if you are working with vmware is best to be changed in the vmx file.
I also wonder how the system communcates with EIB ; I only have the Gira USB interface. The driver seems to load properly but I can’t try if it’s working… I first need the web interface and have no clue why it’s not doing it’s thing… Thank you all
hmm … there is USB access now but i can’t prove it …
I have to work with the disk because of “Project to large” when size is more than 2M :-(
The basic is very easy with cdrom.iso and VM now …
make a new VM with the iso
take the mac to the preferences and insert a serial port
create the IDE-disk with a fixed size
change the vm-config file, that the disk is at IDE1:0 (the serial is a pipe etc.)
then use fdisk from a separate VM to partition
now start the project transfer via serial and the Elinos VM
tataaa
got seemingly the wrong partition sizes, but later more
Anyone any chance with getting it to work with USB?
the solution for the
Traceback (most recent call last):
File “/hs/compile/hs_trans.py”, line 88, in doUpload
File “/hs/compile/hs_zipfile.py”, line 182, in __init__
IOError: [Errno 2] No such file or directory: “/hs/hsup/hsup.zip”
Message on debian Systems is the missing lrzsz package.
Install with
apt-get install lrzsz
works afterwards
Hi Roel and all
Ist ist possible to use as flash disk a flash DOM?
Thanks
Which of the following VIA Epia boards is supported by HS?
– M10000
– 6000EAG
– CL 6000E
or will any Epia board do it?
@bat and all
My problem is by transfer the project. That will only start, when i use the flashdisk on primary master. After the transfer said the HSExperte, that the transfer was successful, but the homeserver has the project not adopted.
When i use the flash as secondary master the drives will look ok (hdc1, hdc2, hdc3, hdc4). But the transfer will not be startet!
Can you help me?
Does anybody know, wich isdn controler works in the homeserver?
I need it for information via sms and telefone remote control.
Thanks
Hausi
btw. its illegal to provide a fully working version, because you have to include a working MAC, thats the same as warez.
No one …if you’re not able to do these small little steps, you don’t deserve an HS…you can buy one. I invested two hours. one of them was installing and configuring linux (yea, iam linux noob. first time i used) second hour was installing hs soft and configuring. working well. And you understand, how the hs soft works.
So long.
Who wants to share his working homeserver?
take a look to comment 124.
works for 3 weeks, without any problems, with xxapi, with vlc integrated.
thanks
I am having problem with the mac adress, i dont understand wich mac adress to use? Is it possible for someone to ghost/make an iso of everything? Great work all pl. Help me sens an E-mail /anders
the second ide (with the 4 partitions) is that one which i created with another linux VM. Simply attach it to the new VM.
hi, anybody tried to use the “cdrom.iso” which is included in the original download ?
I made a new VM with a second IDE as described above, and changed the mac adress.
Start VM with the ISO mounted. Ready, no need to install another linux distribution. And the hole Installation is very very small :D
It seems to be working, my only problem is that i get project is too large when i try to transfer the first project between the VM Machine with XP an the VM with the HS over pipe. (I have no solution for this, also very small projects doesn’t work)
where can i find the via tool to change the mac
btw, hs_trans and hs_main are written in python.
both are compiled to python byte-code, so reverse engineering might not be as easy as it first seems. however all string constants are easy recover from them.
it’s a lot more easier to use the existing stuff as is.
e.g. download the newest firmware (as described above) get firmware.dat, etc.
hserver2.tgz is in ustar cpio format (see man cpio).
get a dirt cheap via 5000 mobo on ebay.
you can get ata-flashdisks or some el cheapo ata40-CF adapters. they sell around 2-3 EUR. get a 64Meg CF, this is far enough for the homeserver.
basically the other 3 partitions shall be at least 16M big, and to my best understanding there isn’t any filesystem on them. mine runs 6 years ago flawlessly, i’ve been doing continously upgrades as a new version hits the surface.
copy files (loadlin, kernel, hserver2.tgz) to the 1st partition of the flash, make it bootable via freedos, copy dolinux.bat to autoexec.bat
basically there are 2 approaches:
– 1. use via’s dos tool to alter the nic mac address in the nvram, ready. no tweaks needed.
– 2. fire up your favourite freeware UNIX, decompress hserver2.tgz to an empty dir (mkdir hs2; cd hs2; gzip -dc path/to/hserver2.thx | cpio -i -h ustar)
edit hs2/etc/rc with your favourite editor
before hs_trans and hs_main you should insert a new line invoking ifconfig as follows:
/sbin/ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX
replace XX:XX:XX:XX:XX:XX with the mac address you’ve been googling.
save the file, and re-create hserver2.tgz
cd hs2
find . | cpio -o -h ustar | gzip -c9 >../hserver2patched.tgz
alternatively you can insert your favourite kernel modules. hs runs on 2.4 elinos kernel.
then copy this file to the 1st partition as hserver2.tgz. voila, you’re done w/o re-flashing your nic.
@keybone
nethertheless we could write english there ;-)
@cars
i think elinos have a much much older kernel than the “old” with centos. My prob is a failure with “unknown filesystem: usbdevfs”
@ tbluemel
If everybody spoke the german language, I agree.
As mentioned before: keep it in English (or at least try it) and more people will be reached with simular interests.
grtz.
it seems that the eib usb kernel driver is not working.
error message interface 0 claimed by usbhid ….. etc.
shit happens
no way here with usb :-(
anyone get running the USB Interface ? so that the hs connect over USB to the knx bus ?
??? Tim
sorry saw it with Google and thought …
could be a way to discuss some “theory” and ideas
War klar, das da jemand von hierher kommt (@ Tim) :D
perhaps we can use http://board.gulli.com/thread/1076778-eibknx-facilityserver-homeserver-nachbauen/2/#post12232101 while roel works on his own forum …
hi, i use version 2.4 and two vm with xp and the other with centos running, everytime i try to load the small project to the hs it stops with project is to large, all of the settings in den com settings don’t work.
its not possible for me to upload a project. any help ?
Just recently I can’t restart HS. Neither with Experte (everything seems fine but there is no stop of the HS) nor with another console and killall (a “Do terminate” and “Do terminate end” appears but then nothing happens). Very strange…
Could anybody could gimme a advise / tut how to hook up knx to the hs?
Got no idea how this works…
Starting soon to build my house and wanna test it BEFORE I make my decission pro-KNX…
Maybe someone could gimme some help? (msn/icq/email available :D)
Greetz from germany!
hi everybody,
Is there anybody who wants to share their working HS as a Virtual Machine ?
Maybe using a rapidshare account or a ftp server.
I’m a complete n00b to Linux and such an VM image should spare some time for a lot of people.
Thanks.
@ROEL: great job with this Blog !!!
What ‘s the status of the Forum ?
Keep up the great work.
Best regards