USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

USRP 2974 unable to login as root

Dear members

 

I am using USRP2974.The OS was NI Linux Real-Time.
I used NI Linux to exchange data with the Windows machine where labview was installed via SFTP.

Previously I used root as user and was never asked for a password.

This time, I read the article linked below and tried to install <connmanctl>.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000g1PVSAY&l=en-US

 

I usually set the IP address manually using <ifconfig>.

I usually don't connect USRP2974 to the internet, so I connect to the internet and input the command
<opkg install connman-client>
After installing connmanctl I input
<opkg update>

When I rebooted and tried to login with root user, NI Linux asked me for a password.
The initial password for the root was written as <blank> in the article, so I entered <Enter>.
But NI Linux returned Login incorrect.

After that, I tried many possible passwords without success.
I was able to log in as lvuser without being prompted for a password, but not as administrator.
I also tried to see if I could use single user mode with grub, but I didn't know.
Is there a way to change the root password in NI Linux Real-Time?
Or is there a way to do a factory reset?

Thank you

0 Kudos
Message 1 of 2
(1,298 Views)

I finally managed to change my password.
I was able to enter recovery mode by typing <exit> from the grub menu.
So I mounted the internal disk and changed the password with <chroot> and <passwd>.
I also checked the password change history. The password seems to have been changed on the date when <opkg update> was entered.

Thank you.

0 Kudos
Message 2 of 2
(1,237 Views)