Set an openBSC with demo BTS

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/.

Lars Rasmusson SICS Lars.Rasmusson at sics.se
Mon Dec 15 16:02:12 UTC 2014


I am also trying to do that.  How far have you gotten?
I am stuck at

    bts connect: 'localhost'; waitForBTSReady.

This is what I see

 # gst
GNU Smalltalk ready

st> PackageLoader fileInPackage: #FakeBTS
Loading package OsmoLogging
Loading package OsmoCore
Loading package Parser
Loading package PetitParser
Loading package Sockets
Loading package OsmoNetwork
Loading package OsmoGSM
Loading package FakeBTS
PackageLoader
PackageLoaderts := FakeBTS.BTS new.
a BTS

st> bts btsId: '1/0/0'
a BTS

st> bts connect: 'localhost'; waitForBTSReady.
Stop
Object: nil error: did not understand #+
MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254)
UndefinedObject(Object)>>doesNotUnderstand: #+ (SysExcept.st:1407)
Sockets.TCPSocketImpl(FileDescriptor)>>nextAvailable:into:startingAt:
(FileDescr.st:802)
optimized [] in Sockets.StreamSocket>>newReadBuffer:
(Sockets.star#VFS.ZipFile/Sockets.st:1323)
Sockets.ReadBuffer>>atEnd (Sockets.star#VFS.ZipFile/Buffers.st:129)
Sockets.ReadBuffer>>pastEnd (Sockets.star#VFS.ZipFile/Buffers.st:137)
Sockets.ReadBuffer(PositionableStream)>>next (PosStream.st:78)
Sockets.StreamSocket>>next (Sockets.star#VFS.ZipFile/Sockets.st:1217)
Sockets.StreamSocket>>nextByte
(OsmoNetwork.star#VFS.ZipFile/core/Extensions.st:125)
Sockets.StreamSocket>>nextBytes:signed:
(OsmoNetwork.star#VFS.ZipFile/core/Extensions.st:113)
Sockets.StreamSocket>>nextUshort
(OsmoNetwork.star#VFS.ZipFile/core/Extensions.st:102)
Osmo.IPADemuxer>>next (OsmoNetwork.star#VFS.ZipFile/ipa/IPAMuxer.st:39)
[] in FakeBTS.BTSOmlConnection(FakeBTS.BTSConnectionBase)>>processOne
(FakeBTS.star#VFS.ZipFile/BTSConnection.st:159)
BlockClosure>>on:do:on:do: (BlkClosure.st:206)
FakeBTS.BTSOmlConnection(FakeBTS.BTSConnectionBase)>>processOne
(FakeBTS.star#VFS.ZipFile/BTSConnection.st:172)
optimized [] in FakeBTS.BTSConnectionBase>>connect:port:
(FakeBTS.star#VFS.ZipFile/BTSConnection.st:145)
[] in Process>>onBlock:at:suspend: (Process.st:392)
BlockClosure>>on:do: (BlkClosure.st:193)
[] in Process>>onBlock:at:suspend: (Process.st:393)
BlockClosure>>ensure: (BlkClosure.st:269)
[] in Process>>onBlock:at:suspend: (Process.st:370)
[] in BlockClosure>>asContext: (BlkClosure.st:179)
BlockContext class>>fromClosure:parent: (BlkContext.st:68)

*** HERE IT JUST WAITS AND I PRESS CTRL-C ***

Object: nil error: interrupted!!!
SystemExceptions.UserInterrupt(Exception)>>signal (ExcHandling.st:254)
SystemExceptions.UserInterrupt class(Exception class)>>signal
(ExcHandling.st:151)
UndefinedObject(Object)>>userInterrupt (Object.st:1414)
FakeBTS.BTS>>waitForBTSReady (FakeBTS.star#VFS.ZipFile/BTS.st:393)
UndefinedObject>>executeStatements (a String:1)
nil

st>




>
>
> Hi,
> I'm trying to set an "OpenBSC network-in-the-box (NITB) mode" using a
> BTS demo/simulator, but couldn't find any good instructions guide for
> it.
> Any help will happily accepted.
> I followed this guide:
> http://openbsc.osmocom.org/trac/wiki/Building_OpenBSC
> and tried to use this simulator instructions:
> http://openbsc.osmocom.org/trac/wiki/simulation
> Best regards,
> Arik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20141215/36d679b6/attachment.htm>


More information about the OpenBSC mailing list