OpenBTS: E110 Cara Login

From OnnoWiki
Revision as of 09:17, 9 February 2012 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Ada tiga (3) cara untuk berinteraksi dengan Ettus E100

  • Console Port melalui interface serial.
  • Network Port menggunakan SSH.
  • Grafis dengan menempelkan display, keyboard dan mouse.

Console port adalah cara yang paling sederhana dan biasanya digunakan untuk melakukan manipulasi kernel boot setting, menggunakan network interface lebih cepat dan biasanya dibutuhkan untuk transfer data dari / ke device.

Cara Menyambung ke Console Port

Program untuk serial terminal dapat digunakan untuk berbicara ke E100. Biasanya kita menggunakan Minicom atau GNU Screen. Ke dua-nya biasanya tersedia di Linux atau melalui repository.

Parameter serial E100 adalah,

Baud Rate: 115200
Data: 8-bit
Parity: None
Stop: 1-bit
Flow Control: None

Sambungkan kabel USB ke port "CONSOLE" di E100. Jalankan

dmesg

Jika E100 baru di colok di bagian bawah akan tampak kira-kira

usb 6-1: Detected FT232RL
usb 6-1: Number of endpoints 2
usb 6-1: Endpoint 1 MaxPacketSize 64
usb 6-1: Endpoint 2 MaxPacketSize 64
usb 6-1: Setting MaxPacketSize 64
usb 6-1: FTDI USB Serial Device converter now attached to ttyUSB0

Perhatian kata-kata "... now attached to ttyUSB0". 'ttyUSB0' adalah address USB di file system anda.

Sekarang lakukan

sudo apt-get instal screen
sudo screen /dev/ttyUSB0 115200,cs8,-ixon,-ixoff

Jika E100 dinyalakan, kita akan melihat di layar output dari screen E100. Setelah device selesai booting, kita akan melihat

.---O---.                                           
|       |                  .-.           o o        
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----------'  '-----'-'-'-'
                -'  |
                '---' 

The Angstrom Distribution usrp-e1xx ttyO2

Angstrom v20110529 usrp-e1xx ttyO2

usrp-e1xx login: 

==

How do I connect through the network port?

The E100 runs the SSH daemon by default, and simply using SSH with the device IP address is the preferred mode of communication if you aren't doing pre-kernel-load (boot-time) hacking. For this, the serial console is required.

The E100 uses DHCP. Once the device powers up - give it a minute to finish booting - then check the connected router or DHCP server's IP address records - the device and assigned IP address should be added. Once you have the IP address, SSH into it with the information in the section below this one about login information.

  1. ssh root@192.168.10.2

Alternatively, the IP address can be obtained by connecting through the serial console and running ifconfig.

  1. ifconfig

eth0 Link encap:Ethernet HWaddr A0:36:FA:85:30:CC

         inet addr:192.168.10.2  Bcast:192.168.10.255  Mask:255.255.255.0
         inet6 addr: fe80::a236:faff:fe85:30cc/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:422 errors:0 dropped:0 overruns:0 frame:0
         TX packets:298 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000 
         RX bytes:47489 (46.3 KiB)  TX bytes:41571 (40.5 KiB)
         Interrupt:80 

What is the login information of the E100?

The root login for your E100 will be one of the following (dependent on model / revision):

   Username: root
   Password: usrpe

and

   Username: root
   Password: empty


Referensi

Pranala Menarik

Catatan Legal dan Pendukung

Catatan Sejarah