wiki:aWiMAX/cHardware/cUdev/gTelt
close Warning: Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.

Teltonika Modem

Table of Contents

    Install Driver / Eject "CD-ROM"

    When first inserted into a new computer, the Teltonika device is mounted as a CDROM. It will immediatly begin installing a driver on host machine. On Ubuntu this process is non-obvious; allow the computer to sit for 5 minutes after inserting the device to give the driver time to install.

    After the time to install has passed, determine the device that the "CDROM" is associated with by running:

    $ dmesg
    

    Somewhere near the bottom of the messages should be a message that contains "Attached scsi CD-ROM [device]". This interface must be ejected so that the device can act as a wireless transmitter rather than a CD-ROM. In most instances the CD-ROM will be associated with either sr0 or sr1. Eject the device using the command:

    $ eject [device]
    

    After a few moments a notification about a new ethernet interface becoming available should appear. This is the interface that the computer will use to communicate with the wireless dongle.

    In some cases after this initial setup was completed the computer would always recognize the device as an ethernet interface, and sometimes the CD-ROM device would need to be ejected each time. Reasons for this difference is unknown at the time of writing.

    Connect to the WebUI

    A web interface is provided to configure and interact with the dongle graphically. This webpage requires the most recent version of Adobe Flash. To update/download Firefox and the Flash plugin run:

    # apt-get install firefox flashplugin-installer
    

    NOTE: Adobe has announced that it will no longer support Flash for Linux, and so in the near future Firefox may have depreciated Flash support. In this even Google has commited to maintaining Flash for Linux in it's Chrome browser, and it can be used as a viable alternative to Firefox.

    If the the Teltonika dongle is recognized as a wireless interface open up the WebUI in Firefox or Chrome by navigating to 192.168.0.1 . If this IP address does not direct the browser to the WebUI then ask the previous user of the device for the new address, it is a configurable parameter and may be changed.

    Login as an administrator by CTRL-SHIFT-Clicking the Teltonika banner at the top of the page. Login credentials are also configurable, but are most likely set to:
    username: admin
    password: genipass

    Other passwords may be: admin OR EifAFKt8

    Configure Device

    The device can be configured to look for networks on a number of channels under the WiMAX→Channels tab. The GENI network has the profile:

    Frequency (kHz): 2590000
    Bandwidth: 10000
    FFT: 1024

    Other configuration parameters can be configured by altering the config.sh file, found under the Files tab of the WebUI.

    WARNING: it is entirely possible to brick the dongle if parameters are altered in this file in a way that should not be.

    It is fairly safe to alter the fields: ipaddr (IP address where the WebUI can be reached), netmask (Subnet mask that the device will operate on), dhcpdsip (DHCP server IP address), dhcpdeip (unknown meaning at time of writing, may be expected IP address from DHCP server).

    Statically Set Device IP Address

    Telnet to the device:

    $ telnet [WebUI address] 700
    

    The login credentials for the telnet session are:
    username: admin
    password: admin01

    Within the telnet session run the following command to statically set the devices IP address:

    # ifconfig icc0 [desired address] netmask [desired netmask]
    

    This static address is not preserved when the Teltonika device is removed from the host machine, and it needs to be configured each time that the device is connected to the host.

    After statically setting the IP address, you need to also set up the iptables rules to send traffic to and from the host device. An easy way to do this is to use the same script that the DHCP client uses for this purpose. Run the following commands within a telnet session on the Teltonika device:

    # export interface=icc0
    # export subnet=[desired subnet, e.g. 16,24]
    # export ip=[desired address]
    # /etc/udhcpc.script bound
    

    If you are planning to use the WiMAX interface for the default route, not just for traffic on its own subnet, you should also add

    # export router=[router IP]
    

    before /etc/udhcpc.script bound.

    More Information

    Here.

    Last modified 9 years ago Last modified on Jan 13, 2015, 7:47:27 PM
    Note: See TracWiki for help on using the wiki.