Debian Configuration :: Reboot Both The Server And The Client Machines Every Time Change The SAMBA Configuration?
Apr 5, 2010
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.
I am having slight issue with setting up file sharing. I have a windows 7 pc and hp proliant microserver running. I have a raid array which I am using as a share for storing music, pictures etc. When I reboot the debian server I can't connect to the server from the windows 7 PC (I have mapped a network drive) until I go on to the server and restart samba with /etc/init.d/samba restart - then everything works fine. I can ping the server with both ip and hostname but the network drive does not connect - this is straight after a reboot. Is the /etc/init.d/samba restart doing something differently to when the server boots? I have read several posts relating to printer sharing issues which point to samba not starting before cups so I am wondering if samba is starting before some of the relevant networking services.
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.
1. When I'm not logged into the server, only the shares are visible on my Windows computer. Clicking on the share folder displays an error message. As soon as I log in at the server, the files within the shares become accessible on the Windows box.
2. File transfers between the machines are extremely slow. Watching the system monitor, there's a brief burst of network activity followed by 10-30 seconds of nothing...on a gigabit network, the effective transfer rate is ~120kbs. There's no other network activity going on that would account for this behavior.
Upgraded webserver to Jessie as an upgrade to Wheezy produced errors, and before reboot everything was up and running, but as all upgrade docs and info I read, I rebooted the server. However it never came back. I have the original backup files before I did the Wheezy upgrade. I also have access by Rescue to the server.Made a back up of critical files and have a 24GB tar file and I can connect by SFTP.
how to check the Debian files... Grub etc.. I would prefer to find the issue than start again.I am not able to sudo from Putty. I cannot run apt-get update. I did go to chroot, but then I get unable to resolve host errors and Could not open lock file because Permission denied errors and asking if I am root.There is information by googling for start up issues, but as I am working remotely with a Rescue set up, a lot of the commands I see and have tied do not work.
Following yesterday's and then today's upgrade of my Debian 8 32-bit system (among other things to samba 2:4.1.17+dfsg-2+deb8u2 (yesterday: ...deb8u1)) I cannot connect my Mint 17.3 laptop to the server anymore. Were there any changes to smb.conf regarding authentication or other aspects that might lead to this problem? I am enclosing part of my smb.conf. By the way - I also have trouble using ssh to connect to the Debian machine, such as the ssh-command taking "for ever" and then getting the message "Write failed: Broken pipe" when entering an ls-command on the command line.
H. Stoellinger smb.conf: [global] workgroup = RAINERMUSIK netbios name = hsdesk server string = Samba Server hsdesk
I have read the wiki and several online tutorials and still cannot get my machines to talk to each other over NFS.Both are amd64 with Debian testing. Tutorials invoke programs that do not exist in testing, instructions are inadequate or too old.
I want to setup some virtual machines that will use the same architecture and debian-version as my host-machine. I have started to setup VMs with a netinstall-image and now want to add more software using apt-get. As most of the software I will use is already installed on my host-machine I wonder if there is any way to configure apt in such a way that it will not download packages from the internet, but will use the packages from my host-machine to save network-traffic. Is there a good may to populate VMs using the debs from the host-machine.
I'm running kernel release 2.6.26-2-686 on a i686 and are trying to share files between my machine and some Windows 95/98 machines. When I enter smb://ip_number/share_name in Nautilus, it works. I can browse the files. When I try the same with smbclient or smbmount, it complains.
smbclient -I=ip_number -L=//server/share gives cli_rpc_pipe_open: cli_nt_create failed on pipe srvsvc to machine tf_calibration. Error was ERRSRV - ERRerror (Non-specific error code.)
I have a Insprion 14R (N4010) and when I hibernate it will usually restore without a problem, but maybe 15% of the time it will reboot while loading. I would like to figure why, since I'd rather not lose anything... My swap space is 5.9GB, I have 4GB RAM (video uses 1gb, so I have 3gb usable)
I was playing with my debian server when something went totally wrong while i was editing something on my network interface,i removed those crap that i wrote and left the network interface configuration as it was
Like for example after re-editing my network interface,it was like :
As i did a network restart, i get this error saying :
There is already a pid file /var/run/dhclient.eth0.pid with pid 2802 killed old client process, removed PID file.
What is this error and how can i fix it,because every time im re booting my server i lost my network config.
I rebooted my vServer (Debian 8) and it doesn't came back up. Well, I used the rescue console on my server and the server seems to be running fine, except the network was broken. So I tried 'ifconfig' but nothing came up. So I tried to enable my interface with 'ifconfig venet0 up', and now it appears in my ifconfig list
My HWaddr doesn't look that well :) 'ip addr' prints this result:
Code: Select allroot@i67svof:/var/www# ip addr 1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN ¬† ¬† link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
These are the last lines in /var/log/syslog:
Code: Select allroot@i67svof:/var/www# tail /var/log/syslog Feb 20 11:34:16 i67svof systemd: Stopping memcached daemon... Feb 20 11:34:16 i67svof systemd: Stopping Network Name Resolution... Feb 20 11:34:16 i67svof systemd: Stopping Regular background program processing daemon... Feb 20 11:34:16 i67svof systemd: Stopping Login Prompts.
And finally my network config in /etc/network/interfaces
Code: Select all# Auto generated lo interface auto lo iface lo inet loopback # Auto generated venet0 interface auto venet0
I have installed Firestarter, and set it up following some manual (just a simple, baseline setting, nothing fancy). However, after restart I got error message: Starting the Firestarter firewall... failed! and then, later: startpar: service(s) returned failure: firestarter ... failed! Why this happens?
I just set up an ubuntu 9.10 server (no desktop environment, command line only) and I'm unable to see my samba share. I followed these instructions. Here are the relevant parts of my smb.conf file: Quote:
workgroup = JASONGROUP # I un-commented this security = user
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 !
A couple of days ago I asked why my pc changes the wireless card name.It switches between AR9285 ( right) and AR5008 ( wrong). Well, it is not the case. When system identified with AR9285,it loads ath9k and I can connect to the router. When system identifies my card as AR5008, no kernel module is present at all ( lspci -k). The wrong card name occurs only when system rebooted. If I gracefully shut down the system, it always comes up with a right name for the card( AR9285). So, how to force the system identify my card right no matter if I reboot or shut down?
after a reboot of my Lenny system, the default gateway will lost. Then i must try "networking restart" and the gatway will be set
my interfaces looks :
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback
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'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 recently installed Fedora 11 on my machine, the configuration of which is: Intel Core i7 920 CPU, 3 GB DDR3 SDRAM, nVidia GTX295 Graphics Card. I initially used the default kmod-nvidia driver, but with a yum update, somehow a non-PAE kernel got installed and the kmod-nvidia driver did not get installed with it during the update for some reason. So I uninstalled the PAE kernel and associated kmod drivers, and downloaded the nVidia driver from the nVidia website. It ran just fine for a few days, and then all of a sudden, after a reboot, the X Server crashed and I had to log into the text mode, run
Code: setup and do the default X configuration. Then, I re-installed kmod-nvidia, with no luck. Sorry for being so vague about this, but I finally managed to get the CUDA driver (I need to use CUDA for my project work) to work (downloaded from [URL]). But after one reboot, the same problem resurfaced.
Now, I am in X Windows with a default 800x600 configuration using a generic visa driver, on a 23" monitor I have been rebooting my computer all morning and trying various things to get the driver to work again. I would be happy to furnish any details about the installed packages I have. For now, here is some information.
I have installed centos 5.4 with samba 3.0.33-3.15. Now this server is PDC for a domain with 20 xp client. I want to set the "password must change" option in the samba user detail.Now I have this configurationmaximum password age = 68256000maximum password age = 0with pdbedit -Lv pippo