Hello Bjoern,
[ I sent it to the OpenBSC list too, because there are the Linux experts ]
Ok, Ill give it a try later on today. Just one thing: Ive now compiled OpenBSC on a fresh installed Debian lenny machine, and LMT etc. works great but if I try to start bsc_hack I get the following:
gsmbase1:/home/tec/openbsc/src# ./bsc_hack DB: Database initialized. DB: Database prepared. could not open socket Address family not supported by protocol
It seems to be related to af_packet Kernel module, but I cant find the mod.
Do you have an idea?
Don't ask me about Linux details, I am coming from Windows ;-)
Maybe it is related to mISDN, I think there is also a special tunnel for capturing the traces in Wireshark. The rest (Telnet interface) should be standard socket operations.
Maybe someone else can give a better explanation, the above is just my understanding.
Best regards, Dieter
Hi all,
On Thu, Apr 23, 2009 at 11:12:02AM +0200, Dieter Spaar wrote:
Ive now compiled OpenBSC on a fresh installed Debian lenny machine, and LMT etc. works great but if I try to start bsc_hack I get the following:
could not open socket Address family not supported by protocol
Don't ask me about Linux details, I am coming from Windows ;-)
Maybe it is related to mISDN, I think there is also a special tunnel for capturing the traces in Wireshark. The rest (Telnet interface) should be standard socket operations.
Well, it seems from the error message like the mISDN kernel modules are not present.
Also, you indicate a fresh lenny install. Did you build your own kernel using the patch from OpenBSC svn for SAPI handling (or alternatively build mISDN from their git tree)? We cannot use mainline linux yet, as those changes have not been merged yet (but are on their way, thanks to Andreas Eversberg, AFAIK)
Regards,
On Thursday 23 April 2009 11:12:02 Dieter Spaar wrote:
gsmbase1:/home/tec/openbsc/src# ./bsc_hack DB: Database initialized. DB: Database prepared. could not open socket Address family not supported by protocol
It seems to be related to af_packet Kernel module, but I cant find the mod.
Do you have an idea?
Don't ask me about Linux details, I am coming from Windows ;-)
Maybe it is related to mISDN
Yes, definitely related to mISDN. This is coming from src/input/misdn.c.
this is the line of code: sk = socket(PF_ISDN, SOCK_RAW, ISDN_P_BASE);
and the error means the PF_ISDN protocol family is not known to the kernel which could mean your misdncore (different capitalisation) is not loaded...
z.