mifronte

Members
  • Posts

    450
  • Joined

  • Last visited

Posts posted by mifronte

  1. 22 minutes ago, wayner said:

    I don't know that I have had to SSH into the controller.  I had to use SSH to set up OpenVPN server as that wasn't available in the GUI when I set mine up a year or so ago and I don't know that it still is available, at least not for OpenVPN server.  But I am pretty sure that was done on my USG rather than the controller.  And I have had to SSH into my UAPs from time to time to get them set up and/or fix a stuck upgrade.

    I started the ssh into the controller question because I wanted to try installing my own self-signed SSL certificate.

     

    To clarify, since the UniFi controller is running in its own Docker container with its own IP address, it is kind of like a virtual host server.  So I would like to ssh into that UniFi controller docker container as if the controller was running on its own physical server.  I don't know too much about the underpinnings of Docker, but if I can get into the UniFi controller host, to try these steps: Installing SSL Certificate on UniFi Controller

  2. I just upgraded to unRAID 6.4 and is running only one Docker app (UniFi).  My unRAID server has two NICs which is currently bonded.  I don't think the bonding really works since my smart switch never show any traffic on the second NIC when I run a load test.

     

    Now with unRAID 6.4 where I can easily assign an IP address to a Docker container, can someone list the general steps that I would need to accomplish having the Docker container using the second NIC with its own IP assigned by my DHCP server?  Or is there a better way to accomplish this without breaking the NIC bond?

     

    My first step is to break the bond to make the second NIC available.  After that would I use br0, br1, eth0, or eth1?  Then do I assign a static IP or use DHCP?

  3. 5 minutes ago, Hoopster said:

    There is no var/lib/unifi path.

     

    I can get to /var/lib/docker/containers.

     

    The folders under this path are long strings representing each docker container.  One of those is the Unifi docker.  I checked the advanced view in the UniFi docker edit page to see which string was the correct one and was able to access this folder.  It is a very long string of letters and numbers. That was fun to type. 

     

    In this folder I see various .json files as well as .conf files, hosts and hostname, etc.  So, it is the UniFi docker folder.

     

     

    I believe /var/lib/unifi would map to /mnt/cache/appdata/unifi.  Can you tell be the contents of /mnt/cache/appdata/unifi?  I am curious as to what is stored in the docker image and what is stored in the /mnt/cache/appdata/unifi directory.  To use my self-signed SSL certificate, I am hopping most needed files are in the cache location.

     

    P.S.  Can you also tell me how to install this docker app?  Its been so long, I completely forgot how I installed my current UniFi docker.

  4. 1 minute ago, Hoopster said:

     

    I tried PuTTY from both my laptop and desktop machines. Of course, they are on the same LAN and subnet as unRAID/UniFI docker. Both failed. 

     

    If I turn off WiFi on my iPhone and try Cloud Access to the UniFi controller via the IP address assigned to the UniFI docker, it works.  I know that is not an SSH test, but, I was curious and it does work.

     

    With this docker, can you access /var/lib/unifi from the unRAID terminal?

  5. Can you try ssh to the ip from an external device (not unRAID terminal)?

     

    I would like to see if it is possible to install your own SSL certificate and that requires ssh into the UniFi controller app as described here.

     

    Edit:

    Oops I didn't see that you tried PuTTY.  Did you try the controller ID and password  or your unRAID id and password?

  6. On 1/19/2018 at 1:25 PM, Hoopster said:

     

    I assigned a separate IP address to my Unifi docker yesterday by editing the docker, setting network type to br0, and specifying the desired IP address.  This caused the docker to reload.  All ports were left at the defaults. When I accessed the WebUI, for about a minute the dashboard page showed pending on all my devices, but, it sorted itself out quickly and reactivated all devices.  All I did was change the IP address in the docker and the UniFi controller took care of the rest when restarted.

     

    The docker shows up as a wired client in UniFi (on the same switch port as the unRAID server, of course) and I gave it an alias to identify it as the docker in the client list.  It's all a very simple process.

     

    Now that you have the UniFi Controller docker running on its own IP, can you ssh into the controller app?

  7. On 12/24/2017 at 3:55 AM, page3 said:

    Wow, quick response!

     

    Unfortunately, the other docker only keeps logs within the appdata folder, everything else must be within the docker image which seems a bit unusual. This is why I'm keen to move to the Linuxserver.io one.

     

    I'm hoping I can do a config back from within the UniFi controller app (.unf file). I can then hopefully import that once I get to the Set-up screen on the UniFi controller on this docker. 

     

    *** UPDATE ***

    Just for information. I installed the Linuxserver.io docker. Restored the .unf file from my previous docker and all is up and running in under 5 minutes.

     

    I now have my config on my cache in an accessible place, rather than from within the docker image.

     

    I am currently using pducharme's UniFi Controller docker and is considering of switching to Linuxserver.io docker.

     

    Did you have to uninstall your previous UniFi docker before installing Linuxserver.io?

  8. So I decided to bite the bullet and ended my 234 days of uptime to upgrade successfully to unRAID Pro 6.4.0 from 6.3.5.

     

    Since I am running pfSense, I used the pfSense Cert Manager to create an internal certificate for the unRAID server and was able to replace the default certificate with my self-signed certificate and switched the SSL to Yes with no problems.

     

    I have a few questions from the log:

     

    1. Why is dnsmasq running on my unRAID server?  Do I need it for anything and can it be disabled?

    Jan 16 09:58:06 Beanstalk dnsmasq[6602]: started, version 2.78 cachesize 150
    Jan 16 09:58:06 Beanstalk dnsmasq[6602]: compile time options: IPv6 GNU-getopt no-DBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
    Jan 16 09:58:06 Beanstalk dnsmasq-dhcp[6602]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h
    Jan 16 09:58:06 Beanstalk dnsmasq-dhcp[6602]: DHCP, sockets bound exclusively to interface virbr0
    Jan 16 09:58:06 Beanstalk dnsmasq[6602]: reading /etc/resolv.conf
    Jan 16 09:58:06 Beanstalk dnsmasq[6602]: using nameserver 10.168.1.1#53
    Jan 16 09:58:06 Beanstalk dnsmasq[6602]: read /etc/hosts - 2 addresses
    Jan 16 09:58:06 Beanstalk dnsmasq[6602]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
    Jan 16 09:58:06 Beanstalk dnsmasq-dhcp[6602]: read /var/lib/libvirt/dnsmasq/default.hostsfile

    2. Should I be concerned about this error?

    Jan 16 10:17:54 Beanstalk emhttpd: shcmd (235): /usr/bin/php -f /usr/local/emhttp/webGui/include/UpdateDNS.php
    Jan 16 10:17:54 Beanstalk root: Error: Nothing to do
    Jan 16 10:17:54 Beanstalk emhttpd: shcmd (235): exit status: 1
    Jan 16 10:17:54 Beanstalk nginx: 2018/01/16 10:17:54 [alert] 4142#4142: *667 open socket #24 left in connection 11
    Jan 16 10:17:54 Beanstalk nginx: 2018/01/16 10:17:54 [alert] 4142#4142: aborting

     

    Otherwise, everything appears to be running smoothly.  My UniFi docker is running and my Windows 7 VM is running.  Good job limetech, except for ending my 234 days of uptime!

  9. I tried disabling the Floppy Controller in BIOS, but the system gave me a Floppy A error on boot and prompted me to continue or enter the BIOS.  Since I do not want to be prompted when the server reboots, I went back into the BIOS and set the setting to auto.  UnRAID is still giving me the error so I guess I will just ignore it.  It seems this may be the case with the USB too since I only have one USB device, I am getting errors when unRAID polls the USB devices.

  10. I noticed this one error when I boot up my server:

    May 19 13:55:04 Beanstalk kernel: bond0: Warning: No 802.3ad response from the link partner for any adapters in the bond

    Is there a way for me to check if the 802.3ad bonding is up and running?  I have a Cisco SG350 smart switch and LAG status on the switch shows it is up, but this warning message has me concerned. 

  11. I only have one USB device (the unRAID boot USB Key) plugged into my system and it appears to be working fine.  Can someone interpret these errors that I get when I boot my unRAID system?   I also do not have a physical floppy drive on my system. 

    May 19 13:55:00 Beanstalk kernel: usb 1-5: device descriptor read/all, error -71
    May 19 13:55:00 Beanstalk kernel: usb 1-5: device descriptor read/all, error -71
    May 19 13:55:00 Beanstalk kernel: usb 1-5: device descriptor read/8, error -71
    May 19 13:55:00 Beanstalk kernel: usb 1-5: device descriptor read/8, error -71
    May 19 13:55:00 Beanstalk kernel: usb 1-5: device descriptor read/8, error -71
    May 19 13:55:00 Beanstalk kernel: usb 1-5: device descriptor read/8, error -71
    May 19 13:55:31 Beanstalk kernel: blk_update_request: I/O error, dev fd0, sector 0
    May 19 13:55:31 Beanstalk kernel: floppy: error -5 while reading block 0
    May 19 13:55:46 Beanstalk kernel: blk_update_request: I/O error, dev fd0, sector 0
    May 19 13:55:46 Beanstalk kernel: floppy: error -5 while reading block 0

     

  12. Do these UPS normally run silent, especially the rack mounted version?

     

    I have to decide between a tower or a rack mounted to ensure that all my devices can reach the UPS.  All my network devices are mounted high off the ground on a rack and so a tower UPS is more financially feasible, but I would may have to raise it off the floor closer to my devices.  The rack is also my entertainment rack and so I do not want excessive noise in the rack since it may interfere with the home theater experience.

     

    The server is on a long extension cord and so it can reach the UPS from its location since it is not in the same closet as my entertainment and network closet since the server is noisy.

     

  13. So I have been running my unRAID server for 7 years without a UPS.  My location has good stable power with no problems for the last 7 years until last week when I noticed a couple of my clocks were blinking, a sign of a power problem.  However, not all my clocks were blinking and so it couldn't have been a power outage.  At the same time as the two clocks going out, my server rebooted.  The two clocks are probably on the same breaker/circuit, but the server is on a separate breaker/circuit.  So my guess is that it was  a power surge or something.

     

    Well, that scared me enough to finally get me looking for a UPS.  Can someone recommend a current good quality UPS that is also a great value?  I would like to put my server and my network devices (firewall router, fiber modem, smart switch) on it.  I don't know if I need a true sine wave  or smart UPS, but I prefer to be safe than sorry.

  14. How do I create an SMB share from an unassigned device where no credential is required?

     

    Can I control the SMB attributes like how I can do it in the smb-extra.conf file?

     

    Basically it would be a public share.  I tried it not specifying a username or password, but I am getting prompted to enter a credential when I try accessing the share from a Windows 10 machine.

     

    I need to be able to specify SMB attributes like:

    browseable, guest ok, writeable, read only, etc...

     

    Edit:

    I figured out that I still had to maintain my smb-extra.conf file external to UD.  I thought UD would allow me to define SMB shares, but it only defaults to the mount point name and basic SMB security.

  15. My windows VM is using the unassigned devices and so I need them to be setup exactly like how my go script is doing it.

    What mount point are you currently attaching to? If it's not /mnt/disks/* then you won't be able to use UD.

     

    They are currently mount to /mnt.  I have no /mnt/disks on my server.

     

    I am also using the smb-extra.conf to share the mounted drives.

     

    I would like to use UD, and so does UD require me to make a /mnt/disks and then mount my unassigned drives at that location?  Hopefully I can reconfigure the Windows VM to use the new mount points.

     

     

  16. I would like to use this plugin to manage my unassigned devices.  Currently my unassigned devices are mounted and shared via my go script.

     

    If I install this plugin, will it automatically recognize my current mounted and shared unassigned devices?  Or should I remove the commands in the go script first, reboot, and then install this plugin to setup the unassigned devices with the same mount points and share names as in go script?

     

    My windows VM is using the unassigned devices and so I need them to be setup exactly like how my go script is doing it.

  17. So I upgraded unRAID from V6.1.9 to 6.2.3.  Then I deleted the docker.img and reinstall UniFi from the Community App Previous Apps.

     

    Now I have the newest Unifi running, but all my settings were lost.  Can someone verify that all host port docker settings are the same between Unifi V 5.07 and 5.2.9?

     

    My main problem is that my AP is on a different subnet and now the controller cannot detect it.  With the previous version, the controller was able to detect my AP on the different subnet.  I do have the DHCP option 43 to inform the AP that the controller is on my unRAID server IP.

     

    I can't understand why my controller does not detect my AP.  Do I need to reboot my AP?

  18. Ok I found the FAQ where it says to delete the docker.img and recreate it and then reinstall the app throught the Community Application's Previous Apps section.

     

    This is Greek to me since I have not touch Docker in a long time.  Can someone point me to how to delete the docker.img?  Do I do it at the command line?

     

    Edit:  Never mind, I found in the release notes how to go about fixing the problem.  Thanks.