Announcement

Collapse
No announcement yet.

logging on to Linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • logging on to Linux

    I need to log on to the matchport running linux using tcp/ip. I don't know the default user name and password. How do you build an image to have the username and password specified? what is the default username and password?

  • #2
    The default login is "root", and password is "root". From the target shell you can change the password with the passwd command. To build an image with a different default password, you would need to change the /etc/passwd file (or the file this symlink points to). I believe the default passwd file is under linux/vendors/Lantronix/MatchPort_AR/romfs_extra/etc/default in the SDK build tree.

    Matt

    Comment


    • #3
      thanks

      Thanks matt, that was exactly what i needed. this will save me all kinds of time.

      Comment


      • #4
        With:
        - SDK 2.0.0.3
        - default configuration profile
        - kernel + ROMFS root + blank JFFS2

        On the first boot the default 'passwd' file is copied to /usr/local/etc but an attempt to telnet with root:root fails with: Login incorrect.
        So the 'root' doesn't seem to be the correct default password for the root user. (It did work initially before the JFFS2 partition was erased).

        Have I missed something or the default root password is still "not documented"?

        Regards,
        Piotr

        Comment


        • #5
          Piotr,

          The default root password that worked for me (using dropbear SSH) is PASS. I am using the Linux SDK 2.0.0.3.

          Larry Baker

          Comment


          • #6
            Thanks Larry!

            PASS works with telnet also.

            Regards,
            Piotr

            Comment

            Working...
            X