Hi,
I've just ported NSIS 0.5.1-dev to an embedded device (big endian architecture) and I went through a few bugs:
1- It did not compile with uClibc because the file ifaddrs.h was missing. This is a file from the Glibc. Looking at the code, it only concerns the functions dealing with reading the system routing table (instead of taking it from the configuration file). So I just removed everything related to these functions and the problem was solved.
2- I haven't got OpenSSL yet on my board. The configure script detects that the library is missing, but there is a compilation error in the GistMAEntry.cpp file. The concerned functions are GistMAEntry::bindTCP and GistMAEntry::setSock. I managed to get rid of the problem by adding the preprocessor check "ifdef OPENSSL_FOUND" at those 2 places. If OpenSSL was not found, I just deleted everything related to TCPTLSSocket.
3- When communicating with an NSIS aware router (in fact, a Linux PC configured as a router with the NSIS implementation) the messages are received but the bandwidths are all set to 0.
4- The SID field of the messages received on the board are correct but the SID in the RESPONSE message (sent from the board to the router) are no the same (00040004 00040004 00040004 00040004 in the RESERVE becomes 00040001 00040004 00040004 00040004 in the RESPONSE).
I saw that there was an implementation for OpenWrt, but this seems to be a package file. Would it be possible to get the sources ?
Regards,
Bertrand
Hi,
I finally managed to get the bandwidths right (it was a little/big endian problem in file Tmod.1.cpp). But I still don't understand the problem with the SIDs... If anyone had any suggestion I would be very pleased to hear it.
Thanks
Bertrand
PS : I'm planning to submit a complete list of the modifications I've done to the source as soon as I get the SID problem fixed.
Hi,
I've just ported NSIS 0.5.1-dev to an embedded device (big endian architecture) and I went through a few bugs:
1- It did not compile with uClibc because the file ifaddrs.h was missing. This is a file from the Glibc. Looking at the code, it only concerns the functions dealing with reading the system routing table (instead of taking it from the configuration file). So I just removed everything related to these functions and the problem was solved.
2- I haven't got OpenSSL yet on my board. The configure script detects that the library is missing, but there is a compilation error in the GistMAEntry.cpp file. The concerned functions are GistMAEntry::bindTCP and GistMAEntry::setSock. I managed to get rid of the problem by adding the preprocessor check "ifdef OPENSSL_FOUND" at those 2 places. If OpenSSL was not found, I just deleted everything related to TCPTLSSocket.
3- When communicating with an NSIS aware router (in fact, a Linux PC configured as a router with the NSIS implementation) the messages are received but the bandwidths are all set to 0.
4- The SID field of the messages received on the board are correct but the SID in the RESPONSE message (sent from the board to the router) are no the same (00040004 00040004 00040004 00040004 in the RESERVE becomes 00040001 00040004 00040004 00040004 in the RESPONSE).
I saw that there was an implementation for OpenWrt, but this seems to be a package file. Would it be possible to get the sources ?
Regards,
Bertrand
Nsis_Imp mailing list Nsis_Imp@informatik.uni-goettingen.de https://user.informatik.uni-goettingen.de/mailman/listinfo/nsis_imp
Hi,
I did a few other tests and it seems that not only the 3rd and 4th characters of the SID are wrong. The affected characters depend on the value of the SID.
I traced the value of the SID from the QoS NSLP to the GIST layer and the SID is still correct in the NslpApi::SendMessage() function, just before appending it to the buffer. So I guess it gets disturbed after that.
Have anyone experienced the same problem ?
Thanks,
Bertrand
Hi,
I've just ported NSIS 0.5.1-dev to an embedded device (big endian
architecture) and I went through a few bugs:
1- It did not compile with uClibc because the file ifaddrs.h was
missing.
This is a file from the Glibc. Looking at the code, it only concerns the
functions dealing with reading the system routing table (instead of taking
it from the configuration file). So I just removed everything related to
these functions and the problem was solved.
2- I haven't got OpenSSL yet on my board. The configure script detects
that the library is missing, but there is a compilation error in the GistMAEntry.cpp file. The concerned functions are GistMAEntry::bindTCP and
GistMAEntry::setSock. I managed to get rid of the problem by adding the
preprocessor check "ifdef OPENSSL_FOUND" at those 2 places. If OpenSSL was
not found, I just deleted everything related to TCPTLSSocket.
3- When communicating with an NSIS aware router (in fact, a Linux PC
configured as a router with the NSIS implementation) the messages are received but the bandwidths are all set to 0.
4- The SID field of the messages received on the board are correct but
the
SID in the RESPONSE message (sent from the board to the router) are no
the
same (00040004 00040004 00040004 00040004 in the RESERVE becomes
00040001
00040004 00040004 00040004 in the RESPONSE).
I saw that there was an implementation for OpenWrt, but this seems to be
a
package file. Would it be possible to get the sources ?
Regards,
Bertrand
Nsis_Imp mailing list Nsis_Imp@informatik.uni-goettingen.de https://user.informatik.uni-goettingen.de/mailman/listinfo/nsis_imp
nsis_imp@informatik.uni-goettingen.de