New answers tagged

0

Update here. Hope that someone finds this usefull. On Linux Mint Mate Desktop Ulyana 20.00 using gio: gio mount smb://server-name/share-name will mount share in: /run/user/value/gvfs/'smb-share:server=server name,share=share name' I tested this as well on my latitude e6420 running focal with Mate desktop, the same results.


0

Adding firewall-cmd and iptables commands to the Ubuntu server resolved the issue with the: ssh: connect to host 172.22.10.133 port 50509: Connection timed out Now: C:\Users\Username>ssh username@172.22.10.133 -p 50509 Password: Verification code: Welcome to Ubuntu 20.10 (GNU/Linux 5.8.0-26-generic x86_64) * Documentation: https://help.ubuntu.com * ...


1

First things first: systemd-resolved (with the 'd' ) is a service which is your DNS client on your local machine. systemd-resolve (without 'd' ) is an app that can be used for interfacing with the DNS client. You can check your currently configured DNS servers with: systemd-resolve --status or resolvectl status or cat /run/systemd/resolve/resolv.conf 127.0....


0

Here is the video where it is explained step by step how to prevent U-boot console from interrupting autoboot and sending debug messages on UART. I know links only answers are frowned upon, so here' s a quick breakdown of a solution: Install the dependencies sudo apt install git make gcc gcc-aarch64-linux-gnu Git clone the official u-boot repository. ...


0

Ok. After many hours of searching, I found where the error is. I'll post an answer hoping that maybe one day it'll help someone. After buying an additional IP address pool I simply forgot to change the netmask on my router. I would never guess that it'll have this kind of symptoms. After fixing this issue everything started to work as it should.


1

For Amazon AWS EC2 you need to use a .yaml like this. SSH will work then. # This file is generated from information provided by the datasource. Changes # to it will not persist across an instance reboot. To disable cloud-init's # network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # ...


-2

$ tail -f /var/log/cron Oct 28 16:15:01 CROND[18729]: (root) CMD (/opt/monitor.sh) Oct 28 16:20:01 CROND[19706]: (root) CMD (/opt/SP/apps/radiantone/vds/bin/LatencyCheck.sh) Oct 28 16:25:01 CROND[20628]: (root) CMD (/opt/SP/apps/radiantone/vds/bin/LatencyCheck.sh) Oct 28 16:30:01 CROND[21303]: (root) CMD (/opt/SP/apps/radiantone/vds/bin/LatencyCheck.sh) ...


0

This probably won't be the solution for everyone with such a problem, but my problem was due to the permissions of the parent directory that the shared directory was in. As soon as I enabled "Read by others" I was able to anonymously access the share. This caught me a bit by surprise as in windows servers the permissions of the parent directory don'...


0

Awesome, I learned that is the indents are not perfect it does not work. Even though I went off another example, the example I found was incorrect. I am posting what worked for me in case it helps someone else later. snip of my 00-installer-config.yaml


0

Updates involve storing updating/creating files in many different locations. You (or the system) mounted your external drive on /mnt/volume_nyc1_01 (see here). As a result, you can now store 100GB of files in that folder. This space, however, is not shared among the entire directory structure of your system. For example, you would not be able to put a file ...


0

Use this instead of [users] [homes] comment = Home Directories browseable = no read only = no create mask = 0700 directory mask = 0700 valid users = %S You will have to manually create each users homedir under /home/MYDOMAIN, or write a 'root preexec' script to create them as the user connects to the share.


1

By logging in successfully on your LAN, you have conclusively demonstrated that your Pi+Ubuntu server is configured properly. All of the devices on your network share a single public IP address -- the router's IP address. When you try to ssh into your network from outside, those packets reach the router first. Set up port forwarding on your router, so the ...


0

Solution found: There's an own file for HTTPS/SSL/433 at /etc/apache2/sites-available/000-default.conf. After I added the following code in /etc/apache2/sites-available/000-default.conf, everything is working as expected now: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]


0

If you can connect via ssh I would use scp (secure copy). It isn’t great for copying multiple files at a time, but for just a few it’s fine. The man page is here: https://linux.die.net/man/1/scp


3

Probably, it is an issue with the default route. You don't need the Gateway and DNS for host-only network! You may check it using: ip route show Remove them from the configuration, so default Gateway goes to interface with NAT/DHCP configuration. Also DNS which does not seems to affect, but keep reasonable clean configuration.


1

Solved. Re-installed all of the nfs packages, rpcbind, etc., rebooted, and the NFS shares are now available.


0

Luckily found how to fix it by accident - seems sshd cannot read from ~/.ssh/authorized_keys for unknown reason (have the same installation and configuration on another machine where passwordless ssh works). I was forced to enter another file location in /etc/ssh/sshd_config: AuthorizedKeysFile /home/asdf/authorized_keys/ instead of AuthorizedKeysFile ...


0

If you are on Ubuntu 16.04, 18.04 or 20.04 try this- sudo a2enmod rewrite and restart your apache server systemctl restart apache2 I hope it will solve your issue, it works for me.


0

Hint to check Check folder & files permissions ls -lR -I venv /home/timgrand/PycharmProjects/Pyshop Check app templates setup TEMPLATES = [ ... 'APP_DIRS': True, If app is active INSTALLED_APPS = [ ... 'products.apps.ProductsConfig', 'products', #this format still works too ... Or move templates from products app to ...


1

Following up on my comments above, Mailwasher is a filtering tool working on headers via POP3, for clarity it downloads the headers and works locally, then deleting the full email at the ISP. You cannot access and work on the ISP server directly other than webmail. Firetrust clearly describe how Mailwasher works in their own faqs Thunderbird can be set for ...


1

Browsing through packages available for installation in Synaptic, I found something called pop3browser. From the description: Allows one to check a pop3 mailbox before downloading any mail pop3browser is intended to delete unwanted (SPAM) mails before downloading via a low-bandwidth connection. This is useful to save time, bandwidth and space. You may give ...


0

Some routers wont let you reach your public IP at home. My ones one of those cases. I ended up testing my server by connecting to data and connect to the vpn server.


0

You need to also enable IdentitiesOnly yes in your host's configuration file. This will ensure that ssh uses that key, and that key only. Otherwise, it will try other keys and the remote machine will likely reject authorization after a number of failed keys. See this example for additional information. You can also enable this for all hosts by putting the ...


0

https://help.okta.com/en/prod/Content/Topics/Adv_Server_Access/docs/sftd-ubuntu.htm For servers running Ubuntu 20.04, you have to allow certificate authorities (CAs) to use the ssh-rsa algorithm to sign certificates. To do this, add the following line to your OpenSSH daemon file (which is either /etc/ssh/sshd_config or a drop-in file under /etc/ssh/...


0

SpamAssassin. Use this program to "Unspam" your mailbox(es). The program can be integrated with the mail server to automatically filter all mail for a site. It can also be run by individual users on their own mailbox and integrates with several mail programs. SpamAssassin is highly configurable; if used as a system-wide filter it can still be ...


1

Maintainer of the NGINX PPA repository here! It's pending being copied into the stable repository. Got some build errors hitting the builders that have prevented me copying a newer into the stable repos. I'm working on a fix for that in those repos. Patience please, I've got a lot of obligations outside of Ubuntu to get through ;) Note that the repository ...


0

make sure you check the firewall too if you run in to any issues running wget prior. example: esxcli network firewall set --enabled false run wget again.. esxcli network firewall set --enabled true


0

Implementation specific error (80) seems to have many possible causes as permissions, ownership and the certificate files accordingly generated. But when I was giving up the order of added attributes really made my day. The one which finally worked for me: root@ldap:~# cat add7.ldif dn: cn=config changetype: modify add: olcTLSCertificateKeyFile ...


0

You need a ; after option domain-name-servers 192.168.1.1


0

Thank you for getting involved. raspi-config indeed handles that in Raspberry Pi OS. Having to implement such a functionality myself, putting together a simple script using 'growpart' and 'resize2fs', managed by a systemd service, was sufficient to get the job done.


0

As @mariaczi found out, the problem is, that there isn't enough RAM for MySQL to start. I tried to add swap space, but without success. Maybe this is not possible on my virtual server. I finally ended up with adding the following to /etc/my.cnf: [mysqld] innodb_buffer_pool_size=100M After that, I restarted the server and I was able to use MySQL.


0

I found the reason. The reason was a double IP address. Once I changed the IP address everythng works fine.


0

Are you experiencing any particular error when you run the getent passwd command or try to login with an ldap user login? At this point with all of the edits that you have made to your configurarion, if you have followed each of those tutorials, you might be better off starting over again with setting up the client-side configuration fresh. I did notice that ...


0

Solved My ISP decided to reassign me a new 'static' ip. I'm gonna have fun changing literally everything!


0

The default configuration file is: /etc/netplan/00-installer-config.yaml Netplan.io has documentation and examples. I reckon setting up your network any other way is "unsupported" on Ubuntu.


1

From man ufw, the command ufw app list list[s] the names of application profiles known to ufw (these are all the profiles stored in the /etc/ufw/applications.d/ directory). The output does not imply that rules for those profiles have been added to the running firewall - to see that information, use ufw status verbose


1

Read man tcpdump, and run tcpdump, outputting to a file (NOT the terminal) to capture an overnight's worth of packets (hands off while capturing). Analyze the packet stream using wireshark. Look for extra userids in /etc/passwd. Look for strange cron jobs in /etc/cron.*. To ask if a file is in a package dpkg -S followed by the full path to the file.


0

I'm really not sure I understand the question. You have two entries under Other Locations because the server is broadcasting it's presence to the network with two different protocols. One is smb via mDNS ( Avahi in Linux ): /home/justin/.local/share/gvfs-metadata/smb-server:server=remus.local And the other one is afp ( apple file protocol ) via mDNS: /...


1

Learning from others mistakes: Start from scratch Did everything again, but following this tutorial (note that Ubuntu's semantics is a bit weird when talking about the correct sequence of steps in their documentation): Install Ubuntu 18.04 on RAID1 by Calvin.Me It's working like a charm


0

The ownership format www-data:www-data includes both an owner and a group. A group permits access to a file by the owner AND the group members. Add a user to the www-data group sudo usermod -G www-data susan Now Susan can, with proper permissions, edit files owned by www-data. Advice: Before getting deep into groups, look up a real tutorial on the topic.


0

Change this: [share] comment = Ubuntu File Server Share path = /media/david/Elements read only = No create mask = 0755 guest ok = Yes To this: [share] comment = Ubuntu File Server Share path = /media/david/Elements read only = No create mask = 0755 guest ok = Yes force user = david Then restart smbd: sudo service ...


0

With heavy adoption of systemd as system manager and init system for debian based distributions like ubuntu , we can now use systemctl commands to prevent a service from automatically starting at boot. for example : sudo systemctl disable apache2 To start using it when required , you can use: sudo systemctl start apache2 To stop using it, you can use: ...


1

The storage for virtual machines (VM) instances created with Multipass is persistent by default. If you use "multipass launch --name primary source_image" to create a new instance, make modifications from a shell, shutdown, and then restart it later with "multipass start primary" or "multipass shell primary", then your changes ...


0

I think the more convenient for you will be to us mc. mc - Midnight Commander is a clone from norton utilities. Is a text console based utility that will allow you to browse your .tar.gz , then select the files or folders you want to restore (Key Insert over the file you want) then copy. With Key Tab you switch from one side and the other. Normally I use the ...


0

From everything I can find, sddm does not work on Raspberry Pi. Go to tty2 by hitting Ctrl-Alt-F2, log in from the CLI there then you can try to install lightdm with sudo apt install lightdm sudo dpkg-reconfigure lightdm sudo reboot Hopefully that works for you.


0

It is possible over serial. Add a "serial over usb" cable to both machines. Then both machines have a serial port. Connect these two ports with a null modem cable. If the ssh server-side is listening on its serial port, the client can ssh via tty1. (if com port on client is 1.) If one ore more machines already have a serial port its easier and the ...


0

Could be an issue with your firewall. Try sudo ufw allow 'Apache Full'; sudo systemctl restart apache2 and see if that helps. If not, please provide a little more detail as to the commands you need to run in order to get the server working again. Worst case scenario, you can make a bash script with the commands and then make a cron job to run them at startup ...


0

Nevermind, adding routes: - to: 192.168.72.201 via: 192.168.64.1 to netplan file worked.


0

Your question doesn't state how you're accessing the data, but assuming you're using the CLI, simply press I to hide your IP address. Note that this will hide your private address too; I don't believe there is a way to hide just one. UPDATE I found the docs link that shows how to do this and some other UI-related stuff.


1

This isn't something your client (Nautilus) can change. Instead, the server you are connecting to is closing the connection after a certain period of "inactive" connection time. If you own the server and can make settings there, try editing /etc/ssh/sshd_config and setting the following values: ClientAliveInterval 1200 ClientAliveCountMax 3 ...


Top 50 recent answers are included