OpenBTS: E110 Cara Login

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

Connections How can I talk to the E100?

There are three methods to interact with to the E100.

   Console port through a serial interface
   Network port using SSH,
   Graphically with an attached display, keyboard, and mouse.

The console port is the simplest method and required for manipulation of pre-kernel boot settings, while the network interface is faster and required for transferring files to and from the device.

For graphical use, please see the General and Graphics sections of this page. Can I use the E100 as a USB peripheral like the USRP1?

While it is in theory possible to use the E100 as a peripheral USB Gadget device, the capability is not available at this time. Currently, there are no immediate plans to implement functionality on the E100 to act as a peripheral device. How do I connect through the console port?

Any program that provides a standard serial terminal can be used to talk to the E100. Common options are Minicom and GNU Screen. Both options are commonly available in typical Linux distributions and package management repositories. The E100 serial parameters are:

   Baud Rate: 115200
   Data: 8-bit
   Parity: None
   Stop: 1-bit
   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.

$ dmesg

If you just plugged in your E100, at the bottom of the output you should find something like:

usb 4-2: Detected FT232RL usb 4-2: Number of endpoints 2 usb 4-2: Endpoint 1 MaxPacketSize 64 usb 4-2: Endpoint 2 MaxPacketSize 64 usb 4-2: Setting MaxPacketSize 64 usb 4-2: 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.

$ sudo screen /dev/ttyUSB0 115200,cs8,-ixon,-ixoff

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:

.---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