Debian Configuration :: Can Disable Client Mount As NFSv4?
Aug 7, 2015
I have Debian 7 running on RPi2 with Kodi. My NFS server is running on Slackware 14.1 which doesn't have full support for nfs4. I think this is causing some slowdowns/extra time when trying to stream video. Debian 7 by default mounts NFS as nfsv4, I would to like to disable this if possible. If so how?
i have a big question about nfsv4, 2 mahine , 1 client 1 serverclient mount -t nfs4 nfs:/ /mnt/nfscd /mnt/nfs/1touch: cannot touch `123': Permission deniedmount -lnfs:/ on /mnt/nfs type nfs4rw,addr=192.168.1.5)this is my configclient & servervi /etc/hosts192.168.1.5 nfs nfs.test.com192.168.1.6 node1 node1.test.com
I am using OpenSuSE 11.3 (64 bit) and am trying to force my new server use NFSv4. Later, GSSAPI, sould be added, but for beginning, I want to configure without it for now. If I try using NFSv3, this works good, but I need NFSv4. I have exported my directory:
Code: omega:/ # cat /etc/exports /distrib *(ro,no_root_squash,sync,no_subtree_check) After mount attempt I have a error: Code: omega:/ # exportfs -var
i'm trying to setup a nfs4 server and client. i followed the instructions in [URL](nfsv4 quick start section) and [URL] The SERVER is on 192.168.89.1 running Xubuntu 10.04, and the CLIENT is on 192.168.89.128 running Ubuntu 10.10. Firewall is disabled on both the server and the client for testing purposes. /etc/default/nfs-kernel-server on the SERVER:
Code:
# Number of servers to start up RPCNFSDCOUNT=8 # Runtime priority of server (see nice(1))
[code]....
On the [URL], i see some steps related to portmap on the "NFS Server" and "NFS Client" sections. Would i need those steps as well? There's also a list of steps on [URL] (linked from [URL]. Are those necessary?
EDIT: Running showmount on the client seemed to show that NOTHING is shared on the server:
I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
My Debian workstation is on a predominantly Windows network. It is resolving internet addresses (i.e. www.google.com, etc) just fine. However it's not resolving any of the address of machines on the local network and the windows machines do not resolve the linux machines address either. All machines (linux and windows) can access each other just fine via direct IP reference.
My /etc/resolv.conf file has the following IP addresses listed:
127.0.0.1 10.1.1.111 10.1.3.4
10.1.1.111 is a netgear VPN/router that is the primary router for the LAN and maintains a VPN to a remote office 10.1.3.4 is the IP address of the Windows Primary Domain control on which the DNS server is running. That server is at the remote office. The system acts like it is completely ignoring anything I put in the resolv.conf file. From the linux X server I'm using "Network Setting" utility to make changes to the network configuration. This appears to work fine for things like switch between DHCP and static IP.
I'd like configuring NTP service on my Lenny Debian client to retrieve time from my local NTP server, so I thought to configure /etc/ntp.conf and to insert into crontab this command 'ntpd -qg', which is indicated in man. Can I run ntpd service to synchronize time for my client, avoiding to listen on port 123, beacuse my scope is to alignment time on client and to not give service to others, for this scope there is ntp server !
I'm running debian unstable and since there was the switch to dependency based boot I can no longer control my boot services.I used to suppress the services that I use rarely during boot with: sudo update-rc.d -f myservice remove This arranged the links in /etc/rc?.d and everything worked.
Now this command only says: update-rc.d: using dependency based boot sequencing.This seems to work until I upgrade the service to a new version and it is enabled again.Do you have any idea of how to disable boot services permanently with the new system?
I added this line:alias ipv6 off in /etc/modprobe.d/aliases:# cat /etc/modprobe.d/aliases
# These are the standard aliases for devices and kernel drivers. # This file does not need to be modified. # # Please file a bug against module-init-tools if a package needs a entry # in this file.
[Code]....
alias ipv6 offbut howto check after restart if ipv6 was loaded or not?
I've been using Debian since the early days of Lenny being testing as OS on the same Computer. Its a Acer Aspire Notebook with switches for wireless and bluetooth. While booting Lenny my wireless and bluetooth stayed off as long as I didn't switch them on. But since squeeze they get activated ( you can see it by looking at the LED's ) the moment after the grub screen. I now do have to turn bluetooth and wireless off by hand everytime which is quite annoying since I mostly use eth0.
how to disable bluetooth and wireless per default in a way I can simply turn them back on by using the switch?
So from a web server stand point if we start using swap for httpd or mysql its bad and performance goes down the drain. So would it be a good or bad idea to disable swap entirely?
How to completely disable hibernation in Debian Squeeze (with KDE). If it's impossible to disable it for whole system, I want to hide button in KDE menu.
I'm testing to log in using openldap authentication on jessie by following article from [URL] ..... and when I try to log in from ldap client (another debian 8 VM), it failed with
Code: Select allFeb 3 09:25:33 clt nscd: nss_ldap: could not connect to any LDAP server as cn=admin,dc=test,dc=lab - Can't contact LDAP server Feb 3 09:25:33 clt nscd: nss_ldap: failed to bind to LDAP server ldap:///192.168.191.120: Can't contact LDAP server Feb 3 09:25:33 clt nscd: nss_ldap: reconnecting to LDAP server... Feb 3 09:25:33 clt nscd: nss_ldap: could not connect to any LDAP server as cn=admin,dc=test,dc=lab - Can't contact LDAP server
I want to turn off frequency scaling permanently and totally in the lowest-level way possible. Is there a kernel command line that can be used or is recompiling the kernel without the governor stuff the only way?
Solved. Just modprobe -r and blacklist the acpi_cpufreq kernel module.
I am very pleased with a new Squeeze desktop that I built. I am use to using BSD style init scripts (Slackware, OpenBSD, Arch) and am trying to tweak my system not to start vsftpd at boot. I use vsftpd occasionally to move large files between computers on my LAN. My inittab shows run level 2 as default.
We have setup squeeze workstations with gnome, citrix receiver and vmware-view client. Which startup programs and daemons, for example avahi-daemon can be normally disabled or what is disabled on your workstations?
I got a problem with a Dell Latitude E5500. I can not disable the hardware beep after the gdm3 login screen has been loaded. All alsa beeps and system sounds are disabled and/or muted. I also tried setterm -blength 0, xset -b in startup scripts. They disable terminal-beeps, but not the halt or the gdm login beep. I tried wasting around with the gconftool, but nothing happened. It is an annoying sound. If you use, init 0 to shut down, no beep comes up.
my thinkpad Edge 11 has some problems with the touchpad and the trackpoint, so i want to permanently disable the touchpad, but not the TrackPoint. Both are PS2 devices.
I'm using xfce, and the power manager settings, to only lock the screen when close, are not honored. The laptop suspends, no matter what, when closed. Is there a way to forcibily only allow xfce power manager to handle the close lid behavior?
I have a printer connected locally to my Debian box. It runs fine via cupsd.I am also running a Windows 2003 VMware guest which I would like to use the printer (use as a local printer, not a network printer).
VMware offers a connection via USB, so it should work. The printer I have plugged locally into the Debian host is recognised by the Windows 2003 guest, but it won't print. I get an error message saying that the printer is still connected to the host OS, and that I need to remove (or presumably disable) the host driver before the guest can use the printer.
So how can I find out which printer driver/module is being used by the Debian host to connect to this printer? And what is the best way to temporarily disable it, while my VMware guest is running?
I'm installing a non-X server using squeeze 32bit netinst iso, expert installation. I don't know that I can specify "debian-installer/framebuffer=false" during the installation, after reboot I got a framebuffer display with console fonts smaller and fonts look like ubuntu. I search around I can edit GRUB config for the resolution items or disable framebuffer. How can I disable the framebuffer (use normal text system fonts) when booting in LILO?
I got everything installed and setuped, I don't want to re-install the OS again.
I've just made the switch from Ubuntu to Debian Squeeze and am having trouble connecting external media (be it a USB stick or an ext HD). The error I am getting when I connect anything via usb is the following:
Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
I installed the latest Debian on a computer to make a backup appliance. No GUI.When the computer starts, everything is okay. The DHCP client is running, the network interface have an address, fine.If I do a /etc/init.d/network restart (or stop + start), no more DHCP client. t is stopped when the interface is down. When the interface is up, I have to start it manually.1 - is it normal ?2 - isn't ifup's job to launch the dhcp client ?3 - can /etc/network/if-up.d be the right place to resolve this ?
Does anyone know how to delete or disable kickoff menu items? I need to disable or delete the SLEEP and HIBERNATE menus as they don't function properly causing the system to crash.
I searched the internet and local configuration files without success.
I am currently using Debian Lenny and am having problems with my pptp vpn client. I can use the following software for as long as I like without my pptp vpn connection dropping out: (1) iceweasel (2) icedove (3) gtk-gnutella
If a use a bittorrent client, however, my pptp vpn connection drops out within a few minutes. I have tried these bittorrent clients: transmission, deluge, tixati. Enabling or disabling the firewall makes no difference.I have searched pptpclient.sourceforge.net and Debian User Forums but have not been able to find any suggestions on settings to change in a bittorrent client.
I don't understand what more i can do, the bellow is what i have done. is there a conspiracy against me??? (ive been through 3 distros and spent the better part of 2 months , i mean literally, all day every day, trying to get one distro to actually function at reasonabe capacity and each one is full of its own problems ) now:
This is the input device section of my old xorg.conf:
I just installed debian and I love it so far. I'm trying to mount an ssd that I took from my previous window installation but it gives me this error:
Error mounting /dev/sdb1 at /media/meknoy/Fotoschijf: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sdb1" "/media/meknoy/Fotoschijf"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sdb1': Bewerking niet toegestaan The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.
How can I sort this out? The data on the disk is important and I can not lose it.
Then my SD card with photos on it has about the same problem.
It gives me this message:
Error mounting /dev/sde1 at /media/meknoy/NIKON D7100: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,iocharset=utf8,namecase=0,errors=remount-ro,umask=0077" "/dev/sde1" "/media/meknoy/NIKON D7100"' exited with non-zero exit status 32: mount: unknown filesystem type 'exfat'