This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
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 -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) { -- Lennart --00504502c5d4681bbb04a8fd3d31 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <br><div class=3D"gmail_quote">2011/7/26 Konrad Meier <span dir=3D"ltr"><= ;<a href=3D"mailto:meierk at informatik.uni-freiburg.de">meierk at informatik.uni= -freiburg.de</a>></span><br><blockquote class=3D"gmail_quote" style=3D"m= argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> I could solve the above problem by a system restart. The mISDN_l1loop modul= e was loaded but for some reason could not be used by LCR. The LCR error me= ssage was:<br> 000000 ERROR loop port 1 failed to bind socket. (errno 93)<br> <br> <br> By playing with the mISDN_l1loop module I discovered a strange problem. If = I load the module with "modprobe mISDN_l1loop pri=3D1 nchannel=3D30&qu= ot; all system memory is allocated by LCR after some seconds.<br> <br> If I load it with "nchannel=3D20" than everithing works fine.<br> <br> Can someone confirm this problem?<br> <br> Regards<br><font color=3D"#888888"> Konrad<br></font></blockquote><div><br>From my experience, no.<br>My init.d= script does the following in short: <br><br>=A0=A0=A0=A0=A0=A0=A0 modprobe= mISDN_dsp<br>=A0=A0=A0=A0=A0=A0=A0 modprobe mISDN_l1loop nchannel=3D30 int= erfaces=3D2<br>=A0=A0=A0=A0=A0=A0=A0 sleep 1<br> <br>=A0=A0=A0=A0=A0=A0=A0 echo 1 > /proc/sys/net/ipv4/ip_forward<br>=A0= =A0=A0=A0=A0=A0=A0 iptables -t nat -A POSTROUTING -s <a href=3D"http://192.= 168.253.0/24">192.168.253.0/24</a> -o eth0 -j MASQUERADE<br><br>=A0=A0=A0= =A0=A0=A0=A0 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"<= br> =A0=A0=A0=A0=A0=A0=A0 screen -S lcr -d -m su gsm -c "/usr/sbin/lcr sta= rt"<br>=A0<br>I'm using mISDN_l1loop.ko from current mISDN git bec= ause it was not included in my kernel. Small patch to make it compile:<br><= br>--- a/drivers/isdn/mISDN/hwchannel.c<br> +++ b/drivers/isdn/mISDN/hwchannel.c<br>@@ -19,6 +19,8 @@<br>=A0#include &l= t;linux/module.h><br>=A0#include <linux/mISDNhw.h><br><br>+bool fl= ush_work_sync (struct work_struct *);<br>+<br>=A0static void<br>=A0dchannel= _bh(struct work_struct *ws)<br> =A0{<br><br>-- Lennart<br></div></div> --00504502c5d4681bbb04a8fd3d31--