On 26.07.2011 20:38, Lennart Müller wrote:
 From my experience, no.
My init.d script does the following in short:

         modprobe mISDN_dsp
         modprobe mISDN_l1loop nchannel=30 interfaces=2
         sleep 1

         echo 1 > /proc/sys/net/ipv4/ip_forward
         iptables -t nat -A POSTROUTING -s 192.168.253.0/24
<http://192.168.253.0/24> -o eth0 -j MASQUERADE

         screen -S bsc -d -m su gsm -c "osmo-nitb -d
DRLL:DCC:DMM:DRR:DRSL:DNM:DSMS:DMNSMS:DPAG:DMUX -c
/etc/openbsc/openbsc.cfg -m -P"
         screen -S lcr -d -m su gsm -c "/usr/sbin/lcr start"

I'm using mISDN_l1loop.ko from current mISDN git because it was not
included in my kernel. Small patch to make it compile:

--- a/drivers/isdn/mISDN/hwchannel.c
+++ b/drivers/isdn/mISDN/hwchannel.c
@@ -19,6 +19,8 @@
  #include <linux/module.h>
  #include <linux/mISDNhw.h>

+bool flush_work_sync (struct work_struct *);
+
  static void
  dchannel_bh(struct work_struct *ws)
  {

Hi,

I solved the memory allocation problem. It was the interface configuration from LCR. To work properly I had to remove the [Ext] and [Int] section in the file /usr/local/lcr/interface.conf

This was indicated by a error message in LCR during start:
000000 ERROR Port 1 already in use by LCR. You can't use a NT port multiple times.

All necessary steps for a working OpenBSC + LCR setup can be found in the step by step guide here:
http://lab.ks.uni-freiburg.de/projects/gsm/wiki/Openbsc_lcr

@Andreas: Can you apply the mISDN patch from Lennart to the mISDN-Git? Than everything compiles and works properly.

Best regards
Konrad

Reply via email to