Hi Max,<br><br>I am reluctant to post my actual config files. However, your config files seem nearly identical to mine.  Below, I will describe the differences:<br><br>In your ggsn.conf file, your listen parameter is set to 127.0.0.1.  What I did was make an alias, eth0:1, to a different IP address (192.168.10.60) and used it for this parameter. (Actually, my main IP address used for OpenBSC is also an alias since I was trying to match the subnet that the BTS came from which is different from the machine I am using. We didn't want to reconfigure the BTS from its settings just so I could play with it. So, I made an alias, eth0:0, which on your machine would be treated as eth0 -  192.168.10.53.  In your case, you would probably not need to make the eth0:0 alias, but if your BTS is configured to a different subnet from 192.168.10.X, then you might have to.) Anyway, you might want to make an alias to 192,168.10.60 (or whatever address is available on your network) and use that address for your listen parameter.<br>


<br>Also, in ggsn.conf, I used the IP address of my DNS server for both of the pcodns parameters.  Also, I set the apn parameter to <a href="http://epc.tmobile.com" target="_blank">epc.tmobile.com</a> which is the access point for T-Mobile (which is the kind of SIMs I am using).  I don't know if there is an apn that could be used for the 001 01 test network.  Perhaps that has been discussed on the list previously.  In any event, the apn parameter is experimental, so you may have different results.<br>


<br>Finally in ggsn.conf, I set the net and dynip parameters to <a href="http://192.168.100.0/24" target="_blank">192.168.100.0/24</a>, and then made a tunnel to it after starting the ggsn executable (but before starting osmo-sgsn) with the following command:<br>
   

sudo route add -net 192.168.100.0 netmask 255.255.255.0 gw 192.168.100.1<br>How did we come up with 192.168.100.1 for the gateway address? Well, after starting ggsn, the ifconfig command will show the IP address of the tunnel endpoint (tun0) that is created by the ggsn. In our case (and probably all cases), this was 192.168.100.1.<br>
<br>Make sure you have followed the instructions on the OpenBSC_GPRS page about setting the iptables<br><br>In the osmo_sgsn.cfg, I set the gtp local-ip to the eth0:0 alias or 192.168.10.53 (which you probably have correct in your file - assuming your BTS is configured for the same subnet of your machine), and the ggsn 0 remote-ip parameter to the eth0:1 alias (192.168.10.60).<br>


<br>In the openbsc.cfg file, the only difference I see is the NCC and MNC (because I am using T-Mobile SIMs) and I made timeslot 7 a PDCH channel instead of a TCH/F.<br><br>A critical issue is setting up the tunnel between osmo_sgsn and ggsn, before starting osmo_sgsn.  I also start the osmo-nitb executable last, after the other two executables are up and running.<br>


<br>Finally, at the suggestion of one of the list members, I tried a different phone that doesn't use the original Nokia baseband.  I tried a Nokia Lumia phone (which uses the Microsoft Mobile OS) and it works *much* better.<br>

<br>I hope that this information helps. Good Luck!<br>John<br><br><div class="gmail_quote">On Wed, Sep 19, 2012 at 5:14 AM, ☎ <span dir="ltr"><<a href="mailto:Max.Suraev@fairwaves.ru" target="_blank">Max.Suraev@fairwaves.ru</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello.<br>
<br>
I have similar setup although in my case it doesn't work at all.<br>
<br>
Could you share your configs so I can check that I hadn't missed something obvious.<br>
Here are mine. Note that I run everything on a single machine 192.168.10.53<br>
nanoBTS is configured and successfully connected to openbsc (green light on bts).<br>
<br>
/etc/ggsn.conf:<br>
<br>
listen 127.0.0.1<br>
dynip <a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a><br>
pcodns1 8.8.8.8<br>
pcodns2 208.67.220.220<br>
<br>
/etc/osmo_sgsn.cfg:<br>
!<br>
line vty<br>
<br>
 no login<br>
<br>
!<br>
<br>
sgsn<br>
<br>
 gtp local-ip 192.168.10.53<br>
 ggsn 0 remote-ip 127.0.0.1<br>
 ggsn 0 gtp-version 1<br>
<br>
!<br>
<br>
ns<br>
<br>
 timer tns-block 3<br>
 timer tns-block-retries 3<br>
 timer tns-reset 3<br>
 timer tns-reset-retries 3<br>
 timer tns-test 30<br>
 timer tns-alive 3<br>
 timer tns-alive-retries 10<br>
 encapsulation udp local-ip 192.168.10.53<br>
 encapsulation udp local-port 23000<br>
 encapsulation framerelay-gre enabled 0<br>
!<br>
<br>
bssgp<br>
!<br>
<br>
/etc/openbsc.cfg:<br>
!   !<br>
<br>
password foo<br>
<br>
!<br>
<br>
line vty<br>
<br>
 no login<br>
!<br>
<br>
e1_input<br>
<br>
 e1_line 0 driver ipa<br>
network<br>
<br>
 network country code 1<br>
 mobile network code 1<br>
 short name OpenBSC<br>
<br>
 long name OpenBSC<br>
<br>
 auth policy accept-all<br>
<br>
 location updating reject cause 13<br>
 encryption a5 0<br>
 neci 1<br>
 rrlp mode none<br>
<br>
 mm info 1<br>
 handover 0<br>
 handover window rxlev averaging 10<br>
 handover window rxqual averaging 1<br>
 handover window rxlev neighbor averaging 10<br>
 handover power budget interval 6<br>
 handover power budget hysteresis 3<br>
 handover maximum distance 9999<br>
 timer t3101 10<br>
 timer t3103 0<br>
 timer t3105 0<br>
 timer t3107 0<br>
 timer t3109 0<br>
 timer t3111 0<br>
 timer t3113 60<br>
 timer t3115 0<br>
 timer t3117 0<br>
 timer t3119 0<br>
 timer t3141 0<br>
 bts 0<br>
  type nanobts<br>
  band DCS1800<br>
  cell_identity 0<br>
  location_area_code 1<br>
  training_sequence_code 7<br>
  base_station_id_code 63<br>
  ms max power 15<br>
  cell reselection hysteresis 4<br>
  rxlev access min 0<br>
  channel allocator ascending<br>
  rach tx integer 9<br>
  rach max transmission 7<br>
  ip.access unit_id 1801 0<br>
  oml ip.access stream_id 255 line 0<br>
  gprs mode gprs<br>
  gprs routing area 0<br>
  gprs cell bvci 2<br>
  gprs nsei 101<br>
  gprs nsvc 0 nsvci 101<br>
  gprs nsvc 0 local udp port 23000<br>
  gprs nsvc 0 remote udp port 23000<br>
  gprs nsvc 0 remote ip 192.168.10.53<br>
  trx 0<br>
   rf_locked 0<br>
   arfcn 514<br>
   nominal power 23<br>
   max_power_red 20<br>
   rsl e1 tei 0<br>
    timeslot 0<br>
     phys_chan_config CCCH+SDCCH4<br>
    timeslot 1<br>
     phys_chan_config SDCCH8<br>
    timeslot 2<br>
     phys_chan_config TCH/F<br>
    timeslot 3<br>
     phys_chan_config TCH/F<br>
    timeslot 4<br>
     phys_chan_config TCH/F<br>
    timeslot 5<br>
     phys_chan_config PDCH<br>
    timeslot 6<br>
     phys_chan_config PDCH<br>
    timeslot 7<br>
     phys_chan_config TCH/F<br>
<span><font color="#888888"><br>
--<br>
best regards,<br>
Max, <a href="http://fairwaves.ru" target="_blank">http://fairwaves.ru</a><br>
<br>
</font></span></blockquote></div><br>