I’m new to self hosting and just got CasaOS setup following up to part two of Tech DB’s guide. The SMB works on my Linux computer, I can create documents, etc. However I’m having trouble accessing it on my Android phone. I’m using Material Files, Search for SMB shares, and find “CASAOS” but it’s under a different IP address as the server. Then when I click on it, it prefills some of the lines such as “Hostname: CASAOS” and “Port: 445”. I have added my login info as either my CasaOS login and SSH login but both don’t work and I’ve changed the port to 80 as that’s CasaOS default but every combination I try fails with “java8… UnknownHostConnection… and more” Any ideas?

  • cereals@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 days ago

    If you’re using a /24 network the IP shown in the screenshot is the broadcast IP of your network.

    445 is the default port for smb. It should be the same on every os if you didn’t manually chang it. 80 is http by default. Did you maybe set it for a Webinterface?

    Try adding it manually and enter the IP of your smb server, port 445 and the user/password you set for smb.

    • ramble81@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 days ago

      Thank you for qualifying that. I hate when people immediately go “.255 isn’t a valid address!” It, and .0 very much are if you’re using a /23 or larger.