To set git username and password, use the following commands.

$git config --global user.name "Your Name"
$git config --global user.email "youremail@yourdomain.com"

Issue:

While trying to do a repository initialization, the user will be prompted for a password.

Example console log:

Password for 'https://code.rdkcentral.com': remote: Unauthorized fatal: Authentication failed for 'https://<username>@code.rdkcentral.com/r/manifests/'

Possible reasons and solutions:

  • Not having a valid RDK Credential

  • User registration without valid company email address

    • Users must belong to a licensed company to be able to clone and checkout the manifest. You must register with valid company email address to gain access to manifest if your company is listed as a licensee. To verify if your company is licensed, please check in the following wiki page -  Licensees
  • Account is inactive/disabled - 
    • Account may have been deactivated/disabled either due to inactivity (60 days) or password has expired - Accounts can be activated using self service. Login to wiki.rdkcentral.com with the username, you will see a message with a link to activate your account. Click on the link to activate your account. If you are still facing issues with activating your account, please email support@rdkcentral.com. Please update your password after it has been activated.
  • Account is active, but still getting the password reset error.

Update the credentials in $HOME/.netrc file, a sample of the file is given below

.netrc

machine code.rdkcentral.com login <user-name> password <Password>

Issue:

In few incidents, the user may not be having the required permission to download the code although having a valid combination of username/password combination.

Example console log:

Username for 'https://code.rdkcentral.com': rdknewuser

Password for 'https://rdknewuser@code.rdkcentral.com':

fatal: remote error: Service not enabled

fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests

Possible Solution:

Approach RDK support with the necessary approval to get the requested privilege.

Github no more supports direct password login and allows only Personal Access tokens. To generate a new token,

  • Goto https://github.com -> Settings -> Developer Settings -> Personal Access Tokens
  • Click on Generate a new token. You should be able to see a access new token on your UI.
  • Please copy the new token and add it to ~/.netrc file as given below
  • machine github.com login <github-handle> password <new github access token>

Eg: machine github.com login sampleuser password ghp_73ozr1OhWvUI1htuRCVwPyWF4Va1234ABCD

GitHub Workflow Steps:

  • Create a Fork by simply clicking on the 'fork' button of the repository page on GitHub.
  • Clone your Fork, the clone command creates a local git repository from your remote fork on GitHub.
  • git clone https://github.com/USERNAME/REPOSITORY.git
  • Modify the Code in your local clone, and commit the changes to your local clone using the git commit command.
  • Push your Changes by invoking the git push command, from your workspace, to upload your changes to your remote fork on GitHub.
  • Create a Pull Request by clicking the 'pull request' button on the GitHub page of your remote fork.

Possible reasons and solutions:

If you are already using the Personal Access Token and getting a 403, chances are that the token has auto-expired.

You can generate a new token in Github by going to "https://github.com -> Settings -> Developer Settings -> Personal Access Tokens", Clicking on "Generate a new token" and then replacing your old token inside the ~/.netrc file with the newly generated one.



Help & Support

Still not able to find what you are looking for? Please reach out to RDK Support by sending an email to support@rdkcentral.com .


8 Comments

  1. How to run AT command on RPI4 with RDKB?

    We connect Dongle with RPI4 through USB, and SSH to RPI4 from my PC, basic call can be setup through qmicli and qmi_network, and during build RDKB image, we config busybox and minicom into the image, so how can we run AT  command under this environment? Thanks!

    1. Hi dongling zhang 

      What do you mean by AT commands, Could you give us some sample AT commands,

      will check and update you. 

      1. @Deepika Ganapathi Bhat

        Before test, please make sure sim card has been plugged in dongle.

        You can just try to type "AT", than then "OK"  will be gotten.

        And you can try following command also:

        at+cgdcont?

        ###following is output sample:

        +CGDCONT: 1,"IPV4V6","APN","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
        +CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
        +CGDCONT: 3,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1

        Thanks!

        1. Hi dongling zhang 

          Are you using any external tool/software to run this commands ? 


          Hi Manigandan Gopalakrishnan

          Can you give me your thoughts on this .

        2. Hi dongling zhang 

           These commands are for LTE support which requires radio hat , this support is not available now.

          1. @Deepika Ganapathi Bhat

            I just try to use minicom to run AT command,  I search the guide on web, and found that minicom is ok, but when we flash RDKB, and plug in Dongle, there is no /dev/ttyUSBx.

            such as link:

            https://startingelectronics.org/articles/raspberry-PI/serial-port-connecting-linux/

          2. @Deepika Ganapathi Bhat

            For "These commands are for LTE support which requires radio hat , this support is not available now.", you mean that now rdkb can not run any AT command? or Just can not run the At commands I listed? Thanks!

            And is there any way to config the kernel to show the dev such as dev/ttyUSBx? Thanks!