Beaglebone-asterisk Application Note

Source: Internet
Author: User
Preface

Ask what is the use of this system. Previously said to do a SIP system server to test IP recorder applications. Before using the Raspberry Pi has been able to run smoothly. Next use Beaglebone-black to realize this function. Prepare a beaglebone-black board; a 4G MICRO-SD card; cable network or USB card installation system Download Beaglebone-asterisk image file

Since I am using the old version of BBB, I try to download the lower version of the image file. I downloaded it.
[RASPBX-BBB-28-05-2013.IMG.XZ]HTTP://BEAGLEBONE-ASTERISK.RASPBX.ORG/DOWNLOAD/RASPBX-BBB-28-05-2013.IMG.XZ version. Unzip the image package

The image package can be decompressed with 7Zip software. The software can be searched and downloaded via Google or Baidu. MICRO-SD card for burning image files

Burn to MICRO-SD card via Win32diskimager. Run

Insert the MICRO-SD card into the BBB card slot, power on the BBB, OK, the system starts to run. running the RASPBX system

After the system power up, find the IP address of the RASPBX, enter the corresponding address in the browser, you can see the FreePBX interface.

Configuration details set during install:
Mysql root password:beaglebone

SSH login:
user:root
Password:beaglebone

Default FreePBX Login:
user:admin
password:admin
Installing a USB wireless Card (Rtl8188cus) installing drivers and tools software
root@raspbx:/etc/network# lsusb Bus 001 Device 002:id 0bda:8176 Realtek Semiconductor Corp. RTL 8188CUS 802.11n WLAN Adapter Bus 001 device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub Bus 002 Device 001:id 1d6b:00 Linux Foundation 2.0 root hub root@raspbx:/etc/network# apt-get install Wireless-tools Reading Package lists ... Done Building Dependency Tree Reading state information ...
Done Wireless-tools is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@raspbx:/etc/network# apt-get Install wpasupplicant Reading Package lists ... Done Building Dependency Tree Reading state information ...
Done Wpasupplicant is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@raspbx:/etc/network# apt-get Install Firmware-realtek Reading Package lists ... Done Building Dependency Tree Reading state information ... Done e:unable to locate package Firmware-realtek 
Configuring WiFi Files

Http://www.savagehomeautomation.com/projects/raspberry-pi-installing-the-edimax-ew-7811un-usb-wifi-adapte.html

root@raspbx:/# cat/etc/network/interfaces
# This file describes the network interfaces available on your system
# And how to activate them. For more information, see Interfaces (5).

# The Loopback network interface
Auto lo
iface lo inet Loopback

# The Primary network interface
Auto eth0< C8/>iface eth0 inet DHCP
# Example to keep MAC address between reboots
#hwaddress ether DE:AD:BE:EF:CA:FE

# WiFi Example
Auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam/etc/wpa_supplicant/  wpa_supplicant.conf

# Ethernet/rndis Gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
iface Usb0 inet static
    address 192.168.7.2
    netmask 255.255.255.0
    network 192.168.7.0
    Gateway 192.168.7.1
root@raspbx:/# cat/etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid= "Homej"
Proto=RSN
Key_ Mgmt=wpa-psk2
pairwise=ccmp_tkip
group=ccmp_tkip
psk= "12346789"
}
Start WiFi configuration
root@raspbx:/# ifup wlan0
ifup:interface Wlan0 already configured
View WiFi connection status
root@raspbx:/# ifconfig eth0 Link encap:ethernet HWaddr 90:59:af:50:b0:03 inet addr:192.168.1.131 bcast:1 92.168.1.255 mask:255.255.255.0 Inet6 addr:fe80::9259:afff:fe50:b003/64 scope:link up broadcast Runn
          ING multicast mtu:1500 metric:1 RX packets:1639 errors:0 dropped:0 overruns:0 frame:0 TX packets:788 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:176378 (1 76.3 KB) TX bytes:240452 (240.4 kb) interrupt:56 lo Link encap:local Loopback inet addr:127.0
          .0.1 mask:255.0.0.0 Inet6 addr::: 1/128 scope:host up LOOPBACK RUNNING mtu:65536 metric:1
          RX packets:194 errors:0 dropped:0 overruns:0 frame:0
          TX packets:194 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
         RX bytes:17967 (17.9 kb) TX bytes:17967 (17.9 kb) usb0 Link encap:ethernet HWaddr f2:74:05:9a:4e:7b inet addr:192.168.7.2 bcast:192.168.7.3 mask:255.255.255.252 inet6 addr:fe80::f074:5ff:fe9a:4e7b/64 Scope:Li NK up broadcast RUNNING multicast mtu:1500 metric:1 RX packets:673 errors:0 dropped:0 overruns:0 fra
          me:0 TX packets:81 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:71156 (71.   1 KB) TX bytes:17230 (17.2 KB) wlan0 Link encap:ethernet HWaddr e8:4e:06:0e:13:b6 inet addr:192.168.1.133 bcast:192.168.1.255 mask:255.255.255.0 inet6 addr:fe80::ea4e:6ff:fe0e:13b6/64 scope:link up BROADC
          AST RUNNING multicast mtu:1500 metric:1 RX packets:389 errors:0 dropped:0 overruns:0 frame:0 TX packets:74 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:41980 (41.
 9 KB) TX bytes:17381 (17.3 KB)

OK can see connected up, 192.168.1.133. Reference

For some applications of RASPBX, please refer to this document.
Raspbx/freepbx/asterisk Simple Application

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.