# Getting started
Source: [https://docs.qualcomm.com/doc/80-70014-26/topic/get_started.html](https://docs.qualcomm.com/doc/80-70014-26/topic/get_started.html)
### Developer workflow
Before you begin, see [Qualcomm Linux Build Guide](https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-254) for common
infrastructure setup and build workflows.
For more information on Ethernet interfaces, see [Ethernet](https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-251/rb3_hardware_overview.html#sub$rb3_gen2_ethernet).
## Set up SSH connection
Source: [https://docs.qualcomm.com/doc/80-70014-26/topic/get_started.html](https://docs.qualcomm.com/doc/80-70014-26/topic/get_started.html)
### About this task
To enable SSH and connect to the device, do the following:
### Procedure
1. Enable SSH in Permissive mode by performing the steps mentioned in [How to SSH](https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-254/how_to.html#how-to-ssh-).
2. Connect to the device by running the following command:
ssh root@Copy to clipboard
For example, if the IP address of the device is 10.92.160.222, run the
following command:
ssh root@10.92.160.222Copy to clipboard
3. Connect to the SSH shell by entering the following password:
oelinux123Copy to clipboard
## Verify preconfigured MAC address
Source: [https://docs.qualcomm.com/doc/80-70014-26/topic/get_started.html](https://docs.qualcomm.com/doc/80-70014-26/topic/get_started.html)
### About this task
QPS615 is a PCIe switch on RB3 Gen 2 device. 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. Verify the preconfigured MAC address by running the following command:
ifconfigCopy to clipboard
Sample output is as follows:
ifconfig
enP1p5s0f0 Link encap:Ethernet HWaddr EC:21:E5:10:4F:EA
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. Verify whether the file is available on the device by running the following
command:
ls /var/persist/Copy to clipboard
3. Verify the content of the config.ini file by running the
following command:
cat /var/persist/config.iniCopy to clipboard
Sample output is as follows:
#MAC ID configuration, For Test purpose only
MDIOBUSID1: 1: MAC_ID01: EC:21:E5:10:4F:EACopy to clipboard
## Retain and store MAC address
Source: [https://docs.qualcomm.com/doc/80-70014-26/topic/get_started.html](https://docs.qualcomm.com/doc/80-70014-26/topic/get_started.html)
### About this task
The MAC address configuration file in the persistent path
/var/persist/config.ini is retained whenever the device
reboots. 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.
### Procedure
1. To retain the config.ini file, do the following:
1. Back up the file to a local path by running the following
command:
scp root@:/var/persist/config.ini .Copy to clipboard
2. After upgrading the software build, restore the backed-up file by
running 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 Secure
Copy Protocol (SCP).
2. 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: Jul 11, 2024
[Previous Topic
Overview](https://docs.qualcomm.com/bundle/publicresource/80-70014-26/topics/overview.md) [Next Topic
Features](https://docs.qualcomm.com/bundle/publicresource/80-70014-26/topics/features.md)