Hi,
I want to run two different nanoBTS s with different network parameters(MCC, MNC), at the same time. I think it is not possible in one configuration file. Instead, I tried to run two bsc_hack with different configuration files at the same time on the same PC. However, I got a socket problem for second bsc_hack (Could not bind socket. Already in use.) . What should i do to solve this. Should i modify the code or do something else.
Thanks.
Jason Mercury
Hi,
I want to run two different nanoBTS s with different network parameters(MCC, MNC), at the same time. I think it is not possible in one configuration file. Instead, I tried to run two bsc_hack with different configuration files at the same time on the same PC. However, I got a socket problem for second bsc_hack (Could not bind socket. Already in use.)
Obviously ... you can't start two bsc_hack on the same machine since they use the same ports ...
What should i do to solve this. Should i modify the code or do something else.
First, I'm not sure a single IP will workout at all because AFAIK you can only specify a OML IP to your nanoBTS and not a port.
So basically you'll need to put two IP on your network interface and go through all the source code and see where it opens a listening socket on 0.0.0.0 and replace that "ANY" address by a specific IP address (taken from cmd line or something). You'll also need to take care of the vty port.
Cheers,
Sylvain
On 30-11-2010 12:02, jason mercury wrote:
Hi,
I want to run two different nanoBTS s with different network parameters(MCC, MNC), at the same time. I think it is not possible in one configuration file.
I think it's not possible too, cause you use two different networks. So you should make two separate systems somehow. If you want to use one networkcode with two BTSs, than it should work by modifying the config (e.g. bts 0... bts 1..). I tried that a long time ago, but there was some kind of a bug and one of my bts's didn't behave well since than until I reset to factory default.. I don't know if it's fixed.
However, I got a socket problem for second bsc_hack (Could not bind socket. Already in use.)
Because that port was already taken by the first bsc :)
Jason Mercury