返回列表 發帖
Good! 謝謝分享

TOP

Good! 謝謝分享

TOP

其他功能 - 3

TOP

其他功能 - 2

TOP

其他功能 - 1

TOP

系統維護 - 2

TOP

本帖最後由 ckleea 於 2014-1-19 17:04 編輯

系統維護 - 1

1. Webmin
webmin in running by default and can be accessed via https://raspberrypi-ip:10000/

2. A default backup script is created and enabled

TOP

本帖最後由 ckleea 於 2014-1-12 16:42 編輯

設定 遠程連接

By default, SSH should not be enabled for remote access outside your LAN. The Raspberry Pi image has installed VNC server and RDP service. Both are enabled at boot time.
1. VNC
The default login is using your favourite VNC client point to the RPi server IP and when prompt for the password, it is "raspberrypi"
You should be the X Windows GUI screen/
VNC Client.png
2014-1-12 16:37

VNC Login.png
2014-1-12 16:37

VNC GUI Screen.png
2014-1-12 16:37


2. RDP
The same for RDP, one can use the Windows built in Remote Desktop Connection to connect. But you need to put in username and password.

RDP.png
2014-1-12 16:42

RDP Security Prompt.png
2014-1-12 16:42

RDP Login.png
2014-1-12 16:42

TOP

本帖最後由 ckleea 於 2014-1-12 16:29 編輯

設定 VPN - 2

PPTP is also installed and enabled by default. What you need to do is to change and add your user and password

The file to edit is /etc/ppp/chap-secrets with the content below
  1. # Secrets for authentication using CHAP
  2. # client        server        secret                        IP addresses
  3. user        *        strong_password        *
複製代碼
After editing, a restart of the pptpd service is required.

TOP

本帖最後由 ckleea 於 2014-1-12 16:26 編輯

設定 VPN - 1

Softether VPN is installed by default and started when Raspberry Pi is up. All you need is to open the appropriate TCP/UDP ports of your router for VPN connections (SSTP, OpenVPN, IPSec). PPTP will be discussed in next thread.

To manage the Softether VPN server, you need to install the Softether VPN server admin tools for Windows.
At the linux command line, 2 commands are available
- "service VPN status" to check whether the VPN server is running
- "service vpnserver restart" to restart the VPN service.

VPN command line.png
2014-1-12 07:51


GUI Management is easy
1.Click on Windows VPN Server Manger (Tools)
Login.png
2014-1-12 07:52

2.Once you login (default password is raspberrypi), you are in dashboard
Dashboard.png
2014-1-12 07:52

3. Click on Manage Virtual Hub to manage
Managment.png
2014-1-12 07:53

4. User management
User Management.png
2014-1-12 07:53

5. Create a new user
Create New User.png
2014-1-12 07:53

6. For SSTP, you need to enable VPN Azure, but remember to change your DDNS hostname to your preferred name
VPN Azaure.png
2014-1-12 07:54

7. Change the DDNS name to a different name
Change VPN Azure Hostname.png
2014-1-12 08:05

8. Change the preshared key to something
IPSec Pre shared Key.png
2014-1-12 07:54

9. Download the OpenVPN certificates
OpenVPN SSTP.png
2014-1-12 07:55

TOP

本帖最後由 ckleea 於 2014-1-19 16:51 編輯

設定 Asterisk 功能 - 3

To make change to use your supported dongle, you need to change the telephone number is 3 files
1. dongle.conf
2. dongle_extensions.conf
3. extensions.conf

Find the text +85291234567 to your phone associated with the SIM

screenshot.19-01-2014 16.28.55.png
2014-1-19 16:35


If you want to change the extension for the incoming call, change Local/1001 to Local/exten or SIP/exten

Handling SMS incoming and outgoing
1. For incoming SMS, you need to change the following parameters (user@gmail.com) in the dongle_extensions.conf
screenshot.19-01-2014 16.30.34.png
2014-1-19 16:40


Update credentials for your mailserver  in the file /etc/ssmtp/ssmtp.conf
screenshot.19-01-2014 16.31.23.png
2014-1-19 16:38


Remember to restart the Asterisk service.
2. For outgoing SMS, go to /var/www/mySMS directory
update the value of phone number your own number in the line of index.php
<option value="dongle0">SIMS 0 - 91234567</option>

Login in via your browser to http://raspberrypi-ip/mySMS/
username: smsuser
password: raspberrypi

screenshot.19-01-2014 16.44.36.png
2014-1-19 16:51

TOP

本帖最後由 ckleea 於 2014-1-12 08:13 編輯

設定 Asterisk 功能 - 2

TOP

本帖最後由 ckleea 於 2014-1-12 16:55 編輯

設定 Asterisk 功能 - 1o

The Asterisk server has been compiled with most common options and has almost all modules available. However, the configuration files are changed to a simpler and cleaner version. All the default configuration files are moved to other directory for backup  (/etc/asterisk.samples/)

By default, Asterisk GUI Management IP is http://your_raspberrypi:8088/
Login with admin/raspberrypi

Asterisk Login Screen.png
2014-1-12 16:54

Asterisk Status.png
2014-1-12 16:54

TOP

本帖最後由 ckleea 於 2014-1-12 08:12 編輯

系統和網絡設定

由於部份設定要經 linux command line 進行,請先掌握基本指令使用 putty和 winscp
參考網頁
http://www.bu.edu/tech/support/desktop/software/windows/gsputty/
http://www.bu.edu/tech/support/desktop/software/windows/winscp/

系統設定
(一) 更改 root password

  • 用 putty 進入系統 as root
  • 輸入passwd 更改 your root password

2. 更改 pi user password

  • login as pi; default password - raspberry
  • 輸入passwd 更改 your password

(二) 網絡設定
基本設定為經 wired ethernet 上網,從router 路由器 DHCP 取得內聯網 Lan IP。
初階使用方法

  • 在wired ethernet 上,使用固定 Lan IP
    用 putty 進入系統 as root
    更改 /etc/network/interfaces
    [attach]3002[/attach]
    改為
    [attach]3003[/attach]
    例如 網友的網絡設定為
    <ip-address> = 192.168.1.10
    <netmask address> = 255.255.255.0
    <gateway address> = 192.168.1.1

    [attach]3004[/attach]
    儲存檔案,然後
    /etc/init.d/networking reload
    or
    reboot

    參考網頁:http://elinux.org/RPi_Setting_up_a_static_IP_in_Debian

  • 經 wireless adaptor 到router 路由器取DHCP派的Lan IP


進階使用方法

  • 經USB 3G 手指上網
  • 將wireless adaptor變成 hotspot,經wired ethernet  上網

TOP

本帖最後由 ckleea 於 2013-12-25 07:17 編輯

下載、準備、啟動

下載及基本安裝程序:

1. 下載 最新版本
2. 用 Winzip 或 7-zip 打開和放出 RASPASTDON-XXXXXXXX.img
3. 使用 Win32DiskImager  打開 RASPASTDON-XXXXXXXX.img, 寫入一張有 8GB或以上的 SD Card
4. 將 SD Card 放入,並起動 Raspberry Pi;如果有 HMDI 出 Mon 或 電視,可以看到Raspberry Pi系統起動資訊
5. 正常的話,Raspberry Pi系統應該可以從 Router DHCP 取得網內 IP
6. 使用 putty 登入 raspberrypi, root password is raspberrypi

TOP

返回列表