Difference between revisions of "OpenBTS: E110 Cara Login"

From OnnoWiki
Jump to navigation Jump to search
Line 19: Line 19:
 
  Flow Control: None
 
  Flow Control: None
  
Using a typical USB cable with Standard-A to Mini-B connectors, plug the large end of the cable into the PC and the small end of the cable into the "CONSOLE" port on the E100. Assuming you are on a Linux workstation, the kernel will assign the USB device a file address. The address can be found by running dmesg.
+
Sambungkan kabel USB ke port "CONSOLE" di E100. Jalankan
  
$ dmesg
+
dmesg
  
If you just plugged in your E100, at the bottom of the output you should find something like:
+
Jika E100 baru di colok di bagian bawah akan tampak kira-kira
  
usb 4-2: Detected FT232RL
+
usb 6-1: Detected FT232RL
usb 4-2: Number of endpoints 2
+
usb 6-1: Number of endpoints 2
usb 4-2: Endpoint 1 MaxPacketSize 64
+
usb 6-1: Endpoint 1 MaxPacketSize 64
usb 4-2: Endpoint 2 MaxPacketSize 64
+
usb 6-1: Endpoint 2 MaxPacketSize 64
usb 4-2: Setting MaxPacketSize 64
+
usb 6-1: Setting MaxPacketSize 64
usb 4-2: FTDI USB Serial Device converter now attached to ttyUSB0
+
usb 6-1: FTDI USB Serial Device converter now attached to ttyUSB0
  
The important part to pay attention to the last line that says "... now attached to ttyUSB0". 'ttyUSB0' is now the device address in your filesystem. Assuming the device is at ttyUSB0, use the following command to connect to your device using screen program.
+
Perhatian kata-kata "... now attached to ttyUSB0". 'ttyUSB0' adalah address USB di file system anda.
  
$ sudo screen /dev/ttyUSB0 115200,cs8,-ixon,-ixoff
+
Sekarang lakukan
  
When you power on your E100, you should immediately see the console output in your screen. Once the device has finished booted, you should see a login prompt:
+
sudo apt-get instal screen
 +
sudo screen /dev/ttyUSB0 115200,cs8,-ixon,-ixoff
  
.---O---.                                         
+
Jika E100 dinyalakan, kita akan melihat di layar output dari screen E100. Setelah device selesai booting, kita akan melihat
|      |                  .-.          o o       
 
|  |  |-----.-----.-----.| |  .----..-----.-----.
 
|      |    | __  |  ---'| '--.|  .-'|    |    |
 
|  |  |  |  |    |---  ||  --'|  |  |  '  | | | |
 
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
 
                -'  |
 
                '---'
 
  
The Angstrom Distribution usrp-e1xx ttyO2
+
.---O---.                                         
 +
|      |                  .-.          o o       
 +
|  |  |-----.-----.-----.| |  .----..-----.-----.
 +
|      |    | __  |  ---'| '--.|  .-'|    |    |
 +
|  |  |  |  |    |---  ||  --'|  |  |  '  | | | |
 +
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
 +
                -'  |
 +
                '---'
 +
 +
The Angstrom Distribution usrp-e1xx ttyO2
 +
 +
Angstrom v20110529 usrp-e1xx ttyO2
 +
 +
usrp-e1xx login:
  
Angstrom v20110529 usrp-e1xx ttyO2
+
==
 
 
usrp-e1xx login:
 
  
 
How do I connect through the network port?
 
How do I connect through the network port?

Revision as of 09:17, 9 February 2012

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