Radarcape:Fixed IP Address

From Beast Wiki
Jump to navigation Jump to search

For Experts Required computer skills to execute this task: Advanced

Debian: Static IP Address / Direct Network Connection without DHCP

NOTE! This is unusal and not the regular case. It may only be necessary in these cases:

  • You do not have a DHCP in your network
  • You want to use a fixed IP address by whatever means
  • You want to connect your Radarcape directly to your PC. For example, your PC connects to the internet router via WLAN and your Radarcape shall connect directly to the PC via Ethernet cable. (Note: In that case it might be possible that you connect the Radarcape to the Router, and then access it via WLAN and via Router, but it might fail)

On those Radarcape based on Debian, the static IP address can be configured in the Configuration - Network Settings menu.

Angstrom: Static IP Address / Direct Network Connection without DHCP

Static IP address on Angstrom is not recommended at all. Please upgrade to Debian. See Radarcape:DebianSupport#How_to_install

Accessing the Service Interface

The Radarcape has 2 USB connectors:

  • A standard USB type A on the front panel, e.g. for memory sticks or other extensions
  • A micro USB connector on the back side, next to the antenna connectors. This allows you to connect to the service interface or linux console. Lets use the word console from now on.

Take a standard USB cable and connect the back side USB. Check in the device manager (german: Geräte-Manager) that a COM port becomes created.

Device Manager view without a Radarcape console COM port
Device Manager view without a Radarcape console COM port
  • If it does, skip the FTDI driver installation. Parameters of this COM port are 115200Bit/sec 8N1.
  • If not, perform the FTDI driver installation and check if the COM port appears.
Install FTDI drivers

From the link FTDI driver web page, download the driver that fits to your system and install it. You should then see the COM port that becomes created from the Radarcape.
Note: On the rigtht side in the table of FTDIs page, the 'Comments' column, there is a downloadable install package, which might be easier to use.

Download and execute Putty terminal

We recommend Putty as console terminal, because it also supports SSH network connectivity.
Download Putty from here. There is no need to install, it is directly executable.
Start Putty and enter the above detected COM port, 115200 and serial into the startup menu:
Enter values and finally click on 'Open' (see arrow)

Once Putty is up, press Enter and you shall see something like below. Enter 'root' into the username prompt and simply press enter when beeing asked for your password (or mind your previously set password)
System Console access using Putty

Display your Current Network Connection

Once you have established the console connection, you can see your assigned IP address with the command 'ifconfig'.

The output of ifconfig command shows the IP address assigned to your device

Modify Configuration for Static IP

To be continued....

How to is described here: http://www.gigamegablog.com/2012/02/06/beaglebone-linux-101-assigning-a-static-ip-address-with-connman/

IMPORTANT NOTE: These commands must be issued through a serial console connection through the back side USB port, not via an SSH login. When the IP address is changed, it terminates the network connection, and with that it also terminates the setting process.

Step 1: Identify the name of your host adapter

Identify the name of your network adapter

Step 2: Swap the IP address

Change the IP mode to manual and give IP address, netmask and default gateway

Step 3: Verify correct setting

Verify correct setting