# Getting started
Source: [https://docs.qualcomm.com/doc/80-70015-26/topic/get_started.html](https://docs.qualcomm.com/doc/80-70015-26/topic/get_started.html)
Before you begin, see *[Qualcomm Linux Build Guide](https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-254)* for
common infrastructure setup and build workflows.
For more information on Ethernet interfaces, see [Ethernet](https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-251/rb3_gen2_ethernet.html).
## Set up SSH connection
Source: [https://docs.qualcomm.com/doc/80-70015-26/topic/get_started.html](https://docs.qualcomm.com/doc/80-70015-26/topic/get_started.html)
### About this task
To enable SSH and connect to the device, do the following:
### Procedure
1. To enable SSH, perform the steps mentioned in [Use SSH](https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-254/how_to.html#use-ssh).
2. To connect to the device, run the following command:
ssh root@Copy to clipboard
For example, if the IP address of the device is 10.92.160.222, then run the
following command:
ssh root@10.92.160.222Copy to clipboard
3. To connect to the SSH shell, enter the following password:
oelinux123Copy to clipboard
## Verify preconfigured MAC address
Source: [https://docs.qualcomm.com/doc/80-70015-26/topic/get_started.html](https://docs.qualcomm.com/doc/80-70015-26/topic/get_started.html)
### About this task
QPS615 is a PCIe switch on RB3 Gen 2 development kit. It does not have an
electrically erasable programmable read only memory (EEPROM) to store the MAC
address permanently. However, the MAC address is programmed and stored at a
persistent path on the device.
To verify the preconfigured MAC address, do the following:
### Procedure
1. To verify the configuration of the interface, run the following command.
ifconfigCopy to clipboard
A sample output is as follows:
ifconfig
enP1p5s0f0 Link encap:Ethernet HWaddr XX:XX:XX:YY:YY:YY
inet addr:169.254.227.235 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::533c:8ed6:557:3860/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3416 (3.3 KiB) TX bytes:5559 (5.4 KiB)
Interrupt:249
Copy to clipboard
The MAC address is stored in the config.ini file and is
available at /var/persist of the device.
2. To verify whether the config.ini file is available on the
device, run the following command:
ls /var/persist/Copy to clipboard
3. To verify the content of the config.ini file, run the
following command:
cat /var/persist/config.iniCopy to clipboard
A sample output is as follows:
#MAC ID configuration, For Test purpose only
MDIOBUSID1: 1: MAC_ID01: XX:XX:XX:YY:YY:YYCopy to clipboard
## Retain and store MAC address
Source: [https://docs.qualcomm.com/doc/80-70015-26/topic/get_started.html](https://docs.qualcomm.com/doc/80-70015-26/topic/get_started.html)
### About this task
Whenever the device reboots, the MAC address configuration
config.ini file in the persistent path
/var/persist is retained. However, while upgrading the
software build, if the Erase all before download option is
selected, then the configuration file is removed from the device. In such cases, the
software assigns a random MAC address.
To retain the config.ini file and store the MAC address in a
location other than /var/persist, do the following:
### Procedure
1. To back up the file to a local path, run the following command:
scp root@:/var/persist/config.ini .Copy to clipboard
2. To restore the backed-up file after upgrading the software build, run the
following command:
scp config.ini root@:/var/persit/Copy to clipboard
Note: When prompted for a password, enter
`oelinux123` to authenticate the file transfer via the
secure copy protocol (SCP).
3. To store the MAC address in a location other than
/var/persist, update the EMAC driver software with the
new path in the following source code:
sources/data-eth/drivers/qps615/src/tc956xmac_main.c
ret = kernel_read_file_from_path("/var/persist/config.ini", &data, &size, 1000, READING_POLICY);
Copy to clipboard
Last Published: Oct 14, 2024
[Previous Topic
Overview](https://docs.qualcomm.com/bundle/publicresource/80-70015-26/topics/overview.md) [Next Topic
Features](https://docs.qualcomm.com/bundle/publicresource/80-70015-26/topics/features.md)