Skip to content

Instantly share code, notes, and snippets.

@aczire
Created January 22, 2017 22:14
Show Gist options
  • Save aczire/f0cf666db00c48edc070e000575de854 to your computer and use it in GitHub Desktop.
Save aczire/f0cf666db00c48edc070e000575de854 to your computer and use it in GitHub Desktop.
[root@aczire ~]#
[root@aczire ~]# history
1 groupadd yate
2 usermod -a -G yate admin
3 vi /etc/udev/rules.d/90-yate.rules
4 udevadm control --reload-rules
5 yum group install "Development Tools"
6 yum group list
7 yum groupinstall "Development Tools"
8 yum groups mark convert
9 yum group install "Development Tools"
10 cd
11 mkdir -p software/null
12 cd software/null/
13 svn
14 svn checkout http://yate.null.ro/svn/yate/trunk yate
15 svn checkout http://voip.null.ro/svn/yatebts/trunk yatebts
16 cd yate
17 ./autogen.sh
18 ./configure --prefix=/usr/local
19 make && make install
20 ldconfig
21 vi /etc/ld.so.conf
22 cd /etc/ld.so.conf
23 vi /etc/ld.so.conf.d/
24 cd /etc/ld.so.conf.d/
25 ll
26 vi mariadb-x86_64.conf
27 vi yate-x86_64.conf
28 ll /usr/local/lib | less
29 vi mariadb-x86_64.conf
30 vi yate-x86_64.conf
31 ldconfig
32 cd
33 cd software/null/yatebts/
34 ./autogen.sh
35 ./configure --prefix=/usr/local
36 make && make install
37 ll /usr/local/lib | less
38 ldconfig
39 touch /usr/local/etc/yate/snmp_data.conf /usr/local/etc/yate/tmsidata.conf
40 chown root:yate /usr/local/etc/yate/*.conf
41 chmod g+w /usr/local/etc/yate/*.conf
42 vi /usr/local/etc/yate/ybts.conf
43 vi /etc/security/limits.conf
44 vi @yate hard nice -20
45 vi /usr/local/etc/yate/ybts.conf
46 vi /usr/local/etc/yate/ysnmpagent.conf
47 yum groupinstall "Development Tools" "Development Libraries"
48 yum groups mark install
49 yate -s -vvv
50 sudo yum install libusbx libusbx-devel cmake wget gcc-c++
51 yum install doxygen help2man pandoc
52 mkdir software/nuand
53 cd software/nuand
54 git clone https://github.com/Nuand/bladeRF.git ./bladeRF
55 cd bladeRF/
56 ls
57 cd host/
58 mkdir build
59 cd build/
60 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DINSTALL_UDEV_RULES=ON ../
61 groups
62 cd software/nuand/bladeRF/host/build/
63 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DBLADERF_GROUP=yate -DINSTALL_UDEV_RULES=ON ../
64 make && make install && ldconfig
65 export PATH=$PATH:/usr/local/bin/
66 cd
67 bladeRF-cli -p
68 echo $LD_LIBRARY_PATH
70 export LD_LIBRARY_PATH=/usr/local/lib64/
71 bladeRF-cli -p
72 bladeRF-cli -i
73 cd software/nuand/
74 mkdir fpga-x115
75 cd fpga-x115/
76 wget https://www.nuand.com/fpga/hostedx115-latest.rbf
77 bladeRF-cli -L ./hostedx115-latest.rbf
78 bladeRF-cli -i
79 yate -s -vvv
[root@aczire ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment