Hardware configuration - ahmedqamesh/quasar-mops-server GitHub Wiki

There are several commands that can be used to display info about the device itself (Before logging in into the Linux system)

  • Lets list all the can connectedip addr
  • List available devicesmmc list

sdhci@e0100000: 0 (SD)
mmc info - display info of the current MMC device
Device: sdhci@e0100000
Manufacturer ID: 3
OEM: 5344
Name: SL16G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

  • To Open a device(interface) you need to show or set current mmc device:mmc dev
  • Lists available partition on current mmc devicemmc part
  • To access partition 2 On device 0 usels mmc 0:2

Set ipAddress

  • open the configuration file /etc/sysconfig/network-scripts/ifcfg-eth0.
    cd /etc/sysconfig/network-scripts/
    vi ifcfg-eth0
  • add the following lines
    DEVICE=eth0
    BOOTPROTO=dhcp
    ONBOOT=yes
    
  • Update the configurations, by typing the following lines in the terminal
    ifdown eth0
    ifup eth0
    Ifconfig
⚠️ **GitHub.com Fallback** ⚠️