|
From: Ivan K. <Iva...@fa...> - 2013-05-15 13:33:25
|
2013/5/4 Syed Ibrahim Ghaznavi <ibr...@gm...> > Hi Ivan, > Thank you very much for the help. > > - The ggsn is working now but i have the following error (highlighted > red): > > ghaznavi@ubuntu:~/GPRS-OpenBTS/openggsn/ggsn$ sudo ./ggsn > cmdline_parser_configfile > listen: 127.0.0.2 > conf: /etc/ggsn.conf > fg: 1 > debug: 1 > qos: 0x0b921f > apn: internet > net: 10.0.254.0/24 > dynip: 10.0.254.0/24 > pidfile: /var/run/ggsn.pid > statedir: /var/lib/ggsn/ > timelimit: 0 > gtpclient: Initialising GTP tunnel > openggsn[9712]: GTP: gtp_newgsn() started > openggsn[9712]: gtp.c: 719: State information file > (/var/lib/ggsn/gsn_restart) not found. Creating new file. > openggsn[9712]: gtp.c: 740: fopen(path=/var/lib/ggsn/gsn_restart, mode=w) > failed: Error = No such file or directory > Creating tun interface > Setting tun IP address > > Is it something to worry about? > It is ok. > > - In osmo-sgsn i am receiving the following statement repetitively > > <0011> gprs_bssgp.c:747 BSSGP BVCI=7 Rx Flow Control BVC > > Is it a normal behavior ? > It is ok. > > - When i am running all the following modules, i don't get to see > alphabet 'E' on my phone display, which mean the phone is not detecting any > GPRS service. I have the following questions: > > ./ggsn -> ./osmo-sgsn -> ./pcu -> ./OpenBTS > > > 1. I am assuming the i need to run sipauthserve before running OpenBTS? > > Yes. > > 1. Is there a mechanism to debug and investigate the un-availability > of GPRS services on my BTS. > > I am not sure that I understand your question. But all gprs activity you can find in pcu and sgsn logs. > > 1. I am using a local network SIM and i have also not changed the > default MNC and MCC value of my BTS, will that make any difference? > > You should set GPRS.MCC and GPRS.MNC parameters in openbts config according with mcc and mnc of your sim card. > > 1. Do i also need to register user, to avail GPRS services? If yes, > how can i ? > > No > > > Gratitude, > Ibrahim > > > > > On Fri, May 3, 2013 at 1:24 AM, Ivan Kluchnikov < > Iva...@fa...> wrote: > >> 1. Remove your old OpenBTS.db from /etc and after that use this command >> from directory with GPRS version of OpenBTS! >> >> sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db ".quit" >> >> 2. Rebuild openggsn >> git clone git://git.osmocom.org/openggsn.git >> cd openggsn/ >> autoreconf -i >> ./configure >> make >> sudo make install >> >> 3. Try to use attached configuration files for openggsn and osmo-sgsn. >> Copy ggsn.conf to /etc directory >> Copy osmo_sgsn.cfg to openbsc/openbsc/src/gprs directory >> >> 4. Use following commands for network configuration (this example for >> interface eth0, it you use another for internet access, you should just >> change it in the last command): >> sudo tunctl >> sudo ifconfig tap0 127.0.0.2 up >> sudo echo 1 > /proc/sys/net/ipv4/ip_forward >> sudo iptables -A POSTROUTING -s 10.0.254.0/24 -t nat -o eth0 -j >> MASQUERADE >> >> >> >> 2013/4/30 Syed Ibrahim Ghaznavi <ibr...@gm...> >> >>> Thanks for the quick help, i tried following the steps you mentioned and >>> also placed the configuration files ggsn and osmo_sgsn.cfg in the >>> respective folders, but i am faced with the following errors (in-line and >>> highlighted in blue) can you please help. >>> >>> cd openggsn/ggsn/ >>> ./ggsn >>> >>> openggsn:/etc/ggsn.conf:4: malformed string in configuration file >>> >>> cd openbsc/openbsc/src/gprs/ >>> ./osmo-sgsn >>> >>> ./osmo-sgsn: error while loading shared libraries: libgtp.so.0: cannot >>> open shared object file: No such file or directory >>> >>> cd osmo-pcu/src/ >>> ./osmo-pcu >>> >>> This runs fine. >>> >>> cd openbts-p2.8/apps/ >>> ./OpenBTS >>> >>> EMERG 3074660096 OpenBTS.cpp:564:main: required configuration parameter >>> GPRS.SI3.RA_COLOUR not defined, aborting >>> >>> I suspect that the existing OpenBTS.db's schema is not what is required >>> for the GPRS. I have configured and build "openbts-p2.8" using the >>> following reference: >>> https://wush.net/trac/rangepublic/wiki/BuildInstallRun >>> Am i on the right track or is there any other configuration and build >>> link that i should have followed. >>> How to create openbts.db in \etc\OpenBTS folder that confines with the >>> requirements of GPRS. >>> >>> >>> Thanks, >>> Ibrahim >>> >>> >>> On Mon, Apr 29, 2013 at 11:51 AM, Ivan Kluchnikov < >>> Iva...@fa...> wrote: >>> >>>> Hi, >>>> >>>> >>>>> I have the following questions, if you can help: >>>>> >>>>> - I am assuming that after successfully setting up GPRS layer over >>>>> the BTS i will be able to send receive data to/from between my mobile >>>>> device and the BTS? >>>>> >>>>> Yes >>>> >>>>> >>>>> - >>>>> - I successfully followed the tutorial to make the installations >>>>> till this point "You should now have a working copy of ggsn, osmo-sgsn on >>>>> your machine. ". After which it is not very clear how to proceed further >>>>> i.e. >>>>> - Are we done with the installations? If so, how can i run >>>>> ggsn, osmo-sgsn and pcu like i can execute OPENBTS executable located in >>>>> /root/openBTS/trunk/app . So how can i execute ggsn, osmo-sgsn and pcu? >>>>> >>>>> Yes, you should start: >>>> cd openggsn/ggsn/ >>>> ./ggsn >>>> >>>> cd openbsc/openbsc/src/gprs/ >>>> ./osmo-sgsn >>>> >>>> cd osmo-pcu/src/ >>>> ./osmo-pcu >>>> >>>> cd openbts-p2.8/apps/ >>>> ./OpenBTS >>>> >>>> >>>>> >>>>> - After the installations you are discussing the 2 following .conf >>>>> files, i only found them in /root/openggsn/examples/ >>>>> - ggsn.conf >>>>> - sgsnemu.conf (is it the same "sgsn.conf" referred in your >>>>> tutorial?) >>>>> >>>>> You should set two config files ggsn.conf and osmo_sgsn.cfg. >>>> And after that copy ggsn.conf to /etc directory and copy osmo_sgsn.cfg >>>> to openbsc/openbsc/src/gprs directory. >>>> >>>> >>>>> >>>>> >>>>> Are they present anywhere else as well? >>>>> because what you are explaining in the tutorial is different from these >>>>> files >>>>> >>>>> Thanks, >>>>> Ibrahim >>>>> >>>>> >>>>> >>>>> >>>>> On Wed, Apr 24, 2013 at 4:58 PM, Ivan Kluchnikov < >>>>> Iva...@fa...> wrote: >>>>> >>>>>> Hi, Ibrahim >>>>>> >>>>>> I fixed this problem. >>>>>> Just do "git pull" in osmo-pcu directory and then again: >>>>>> autoreconf -i >>>>>> ./configure >>>>>> make >>>>>> >>>>>> >>>>>> >>>>>> 2013/4/23 Syed Ibrahim Ghaznavi <ibr...@gm...> >>>>>> >>>>>>> Hi all, >>>>>>> I am setting up GPRS on top of my OpenBTS installation using the >>>>>>> following guide: >>>>>>> https://wush.net/trac/rangepublic/wiki/GPRS#OpenBTS-GPRS >>>>>>> >>>>>>> git clone git://git.osmocom.org/osmo-pcu >>>>>>> cd osmo-pcu >>>>>>> autoreconf -i./configure >>>>>>> make >>>>>>> cd .. >>>>>>> >>>>>>> I am stuck at step 2. When i attempt to configure osmo-pcu >>>>>>> (highlighted in red), i get the following error: >>>>>>> "configure: error: Please install osmocom-python to run the vty >>>>>>> tests" >>>>>>> >>>>>>> >>>>>>> Thanks, >>>>>>> Ibrahim >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Try New Relic Now & We'll Send You this Cool Shirt >>>>>>> New Relic is the only SaaS-based application performance monitoring >>>>>>> service >>>>>>> that delivers powerful full stack analytics. Optimize and monitor >>>>>>> your >>>>>>> browser, app, & servers with just a few lines of code. Try New Relic >>>>>>> and get this awesome Nerd Life shirt! >>>>>>> http://p.sf.net/sfu/newrelic_d2d_apr >>>>>>> _______________________________________________ >>>>>>> Openbts-discuss mailing list >>>>>>> Ope...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/openbts-discuss >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> Ivan Kluchnikov. >>>>>> http://fairwaves.ru >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Regards, >>>> Ivan Kluchnikov. >>>> http://fairwaves.ru >>>> >>> >>> >> >> >> -- >> Regards, >> Ivan Kluchnikov. >> http://fairwaves.ru >> > > -- Regards, Ivan Kluchnikov. http://fairwaves.ru |