Hello guys,
Today I've pulled the latest sources and have issues of executing bsc_hack with config file. It complains about: GSM900 channel must be between 1-124. mi_e1_line_update could not open socket Address family not supported by protocol
But I changed the config file for the nanoBTS1800, is there something missing?
On Thursday 13 August 2009 17:55:14 Nordin wrote:
Hello guys,
Today I've pulled the latest sources and have issues of executing bsc_hack with config file. It complains about: GSM900 channel must be between 1-124. mi_e1_line_update could not open socket Address family not supported by protocol
But I changed the config file for the nanoBTS1800, is there something missing?
GSM900 nanoBTS1800.... what do you think could be wrong?
z.
Did you try the command : ./bsc_hack -f <n> -t nanobts1800 with 512 < n < 885 May be you forgot the type of bts in the command line and then it goes in bs11 by default.
Eric 2009/8/13 Nordin bouchtaoui@gmail.com
Hello guys,
Today I've pulled the latest sources and have issues of executing bsc_hack with config file. It complains about: GSM900 channel must be between 1-124. mi_e1_line_update could not open socket Address family not supported by protocol
But I changed the config file for the nanoBTS1800, is there something missing?
On Thursday 13 August 2009 17:55:14 Nordin wrote:
Hello guys,
Today I've pulled the latest sources and have issues of executing bsc_hack with config file. It complains about: GSM900 channel must be between 1-124. mi_e1_line_update could not open socket Address family not supported by protocol
But I changed the config file for the nanoBTS1800, is there something missing?
It would be really appreciated if you could submit a configuration file for the nanoBTS1800 and nanoBTS900.
thanks.
Sorry guys, My mistake, I thought the type argument isn't used anymore. If you look at print_help() and handle_options() in bsc_hack.c you won't see the -t argument untill you check the switch statement in handle_options().
Holger Freyther schreef:
On Thursday 13 August 2009 17:55:14 Nordin wrote:
Hello guys,
Today I've pulled the latest sources and have issues of executing bsc_hack with config file. It complains about: GSM900 channel must be between 1-124. mi_e1_line_update could not open socket Address family not supported by protocol
But I changed the config file for the nanoBTS1800, is there something missing?
It would be really appreciated if you could submit a configuration file for the nanoBTS1800 and nanoBTS900.
thanks.
On Friday 14 August 2009 09:44:37 Nordin wrote:
Sorry guys, My mistake, I thought the type argument isn't used anymore. If you look at print_help() and handle_options() in bsc_hack.c you won't see the -t argument untill you check the switch statement in handle_options().
any patch to create two new config files?
z.
Hi Holger,
I still get the same problem. I'm not familiar with git, I just did "git pull" and saw it downloading the latest version. When running the command like Eric suggested #./bsc_hack -tnanobts1800 -f 567 it respond with bad arguments for both: #./bsc_hack -t nanobts1800 -f 567 ./bsc_hack: invalid option -- t ./bsc_hack: invalid option -- f DB: Database initialized. DB: Database prepared. GSM900 channel must be between 1-124. e1_reconfig_bts(0) e1_reconfig_ts(0,0,0) e1_reconfig_ts(0,0,1) e1_reconfig_ts(0,0,2) e1_reconfig_ts(0,0,3) e1_reconfig_ts(0,0,4) e1_reconfig_ts(0,0,5) e1_reconfig_ts(0,0,6) e1_reconfig_ts(0,0,7) mi_e1_line_update could not open socket Address family not supported by protocol
So I've checked bsc_hack.c and realized these options are not inculded in getopt_long(): 1146 c = getopt_long(argc, argv, "hd:sl:ar:p:C:RTPc:", 1147 long_options, &option_index);
As you see, no bts type and arfcn options.
I attached the modified config file, but it's not really special about it. I think Harald hasn't finished that part, as we know he is a very busy man :) Holger, I've never done a patch and as a beginner I want to learn by looking over the shoulder. I tried to get the "Network Listen" for nanobts done, but I couldn't manage that. So for now I more want to learn from you, sorry about that.
Holger Freyther schreef:
On Friday 14 August 2009 09:44:37 Nordin wrote:
Sorry guys, My mistake, I thought the type argument isn't used anymore. If you look at print_help() and handle_options() in bsc_hack.c you won't see the -t argument untill you check the switch statement in handle_options().
any patch to create two new config files?
z.
Forgot the config file to attach: here we go.
Nordin schreef:
Hi Holger,
I still get the same problem. I'm not familiar with git, I just did "git pull" and saw it downloading the latest version. When running the command like Eric suggested #./bsc_hack -tnanobts1800 -f 567 it respond with bad arguments for both: #./bsc_hack -t nanobts1800 -f 567 ./bsc_hack: invalid option -- t ./bsc_hack: invalid option -- f DB: Database initialized. DB: Database prepared. GSM900 channel must be between 1-124. e1_reconfig_bts(0) e1_reconfig_ts(0,0,0) e1_reconfig_ts(0,0,1) e1_reconfig_ts(0,0,2) e1_reconfig_ts(0,0,3) e1_reconfig_ts(0,0,4) e1_reconfig_ts(0,0,5) e1_reconfig_ts(0,0,6) e1_reconfig_ts(0,0,7) mi_e1_line_update could not open socket Address family not supported by protocol
So I've checked bsc_hack.c and realized these options are not inculded in getopt_long(): 1146 c = getopt_long(argc, argv, "hd:sl:ar:p:C:RTPc:", 1147 long_options, &option_index);
As you see, no bts type and arfcn options.
I attached the modified config file, but it's not really special about it. I think Harald hasn't finished that part, as we know he is a very busy man :) Holger, I've never done a patch and as a beginner I want to learn by looking over the shoulder. I tried to get the "Network Listen" for nanobts done, but I couldn't manage that. So for now I more want to learn from you, sorry about that.
Holger Freyther schreef:
On Friday 14 August 2009 09:44:37 Nordin wrote:
Sorry guys, My mistake, I thought the type argument isn't used anymore. If you look at print_help() and handle_options() in bsc_hack.c you won't see the -t argument untill you check the switch statement in handle_options().
any patch to create two new config files?
z.
! ! OpenBSC configuration saved from vty ! ! password foo ! line vty no login ! network network country code 204 mobile network code 16 short name _ long name _ bts 0 type nanoBTS band GSM1800 location_area_code 11 training_sequence_code 7 base_station_id_code 63 oml e1 line 0 timeslot 1 sub-slot full oml e1 tei 25 trx 0 arfcn 698 max_power_red 0 rsl e1 line 0 timeslot 1 sub-slot full rsl e1 tei 1 timeslot 0 phys_chan_config CCCH+SDCCH4 e1 line 0 timeslot 1 sub-slot full timeslot 1 phys_chan_config SDCCH8 e1 line 0 timeslot 2 sub-slot 1 timeslot 2 phys_chan_config TCH/F e1 line 0 timeslot 2 sub-slot 2 timeslot 3 phys_chan_config TCH/F e1 line 0 timeslot 2 sub-slot 3 timeslot 4 phys_chan_config TCH/F e1 line 0 timeslot 3 sub-slot 0 timeslot 5 phys_chan_config TCH/F e1 line 0 timeslot 3 sub-slot 1 timeslot 6 phys_chan_config TCH/F e1 line 0 timeslot 3 sub-slot 2 timeslot 7 phys_chan_config TCH/F e1 line 0 timeslot 3 sub-slot 3