Debian Configuration :: Connect Jessie To Windows Share - Network And CIFS
Dec 4, 2015
I try to connect my Debian Jessie to my Windows share
This is what I have done:
-> 1 - create an .smbcredentials file located in my /home directory (with account / password and domain)
-> 2 - implement /etc/fstab with information like that :
//192.168.x.x/Animes/media/Animes cifs uid=toto,dir_mode=0777,file_mode=0777,credentials=/home/.smbcredentials,iocharset=utf800
and when I try to go on my windows share, I have this message:
An error occurred while accessing 'Home', the system responded: mount: only root can mount //192.168.x.x/Audio-Video-01 on /media/Audio-Video-01
I think about one thing, if uid=toto is different in fstab than my current debian account session name, it is possible the problem came because of that?
(fstab, uid=toto and current session titi)
View 3 Replies
ADVERTISEMENT
Sep 15, 2015
Recently after updating my Debian Jessie, I can no longer access windows shares. I can access those shares from windows PC. And to be able from debian.
After I enter my password of windows share, the password dialog box pops up again. No warning, no errors. It just pops up. I cannot connect to any windows share.
View 0 Replies
View Related
Mar 24, 2016
This my scenery:
1 pc windows 7.
1 pc linux debian jessie.
From jessie, mount a share folder in windows 7, in this way: mount -t cifs //windows7/sharefolder /mnt/windows7 -o user=pychi,password=mypass,uid=pychi,gid=pychi
And work fine, the user pychi and root, copy to windows share folder perfect and fast, but the big problem is:
when i copy a big folder, example 40 gb, after 30% or similar, stop the copy, and this is a list of different errors:
- It's not possible change file proprietary on destiny.
- not enough space
- can't fix attributes, date, time, proprietary, group.
View 0 Replies
View Related
May 5, 2011
I would like to connect from squeeze to my windows network. Do I need samba server, smbclient is already installed?
If I do a doubleclick -> Windows Network then get "Unable to mount location".
If I use -> Connect to Server -> Windows Share then it works well.
How to configure samba server that I can see Windows machines in "Windows Network"?
View 2 Replies
View Related
May 6, 2015
So after having spent the past half year preparing to abandon Windows and come over to Debian I finally made the switch last night only to realize I forgot one important thing... I didn't figure out how to map the network drive on my Windows server (currently learning to replace this with Debian as well) to my Debian system.
I have read about 15 links but keep getting the following error: Mount Error (6): No such device or address
Here is what I'm trying to enter into my terminal (with important bits removed for security of course)
mount -t cifs //xxx.xxx.xxx.xxx/Network_Storage/ -o username=xxx,password=xxx /mnt/cifs
View 14 Replies
View Related
Jan 12, 2011
Trying to figure out if there is a way to connect to a cifs share, and only being prompted for one password? ie using the following:
sudo mount -t cifs //goanna/neddy -o username=neddy,iocharset=utf8,file_mode=0777,dir_mode=0777 /mnt/neddy
prompts twice for a password (sudo & the share password). Is there anyway to "catch" the sudo password for the connect? (Long shot!
View 1 Replies
View Related
May 2, 2016
I've been using various distros of Linux for over 20 years - but I'm stumped.
Was running Mint. But after taking an update a few weeks ago the network stopped working. After a lot of time and effort decided to give up on Mint and switch distros to Debian 8 Jessie.
But after changing the Network settings from default DHCP to my usual IPV4 static 10.net configuration and rebooting the network will not work.
I have several systems on a 10.100.0.0/16 LAN behind another Linux system acting as firewall/gateway.
Now, after about 7 hours of mining the Internet, I still can't get basic networking to work:
- Have tried a few combinations, with and without Network Manager and eth0 in interfaces
- /etc/network/interfaces is configured with a static IP and relevant parameters
- ifconfig shows eth0 and the correct information
- netstat -rn shows the basic default route to the gateway
- have tried with IPV6 enabled and disabled; it is not used on my LAN
The box is a desktop system, ASUS Maximum VI Formula mobo with onboard Ethernet, dual GTX 780 cards. Nothing very weird.
It all LOOKS right, but ping can't get off the box "destination unreachable", and no other system on the LAN can ping it.
I'm amazed a basic static IPV4 network setup completely breaks it. This is my main workstation - a dual-boot system where Windows runs fine - so it's not hardware.
EDIT: This has been solved. See the solution post: [URL]
View 14 Replies
View Related
Sep 22, 2015
I have just upgraded to Jessie and everything seems to be OK apart from printing from a windows machine to my print share. This was working previously under wheezy. I can print a test page from Cups without any problems, but when I try and print from windows, Samba seems to crash completely and is constantly writing these messages to the logs. Then I lose access to the other shares, presumably while it repeatedly crashes.
STATUS=daemon 'smbd' finished starting up and ready to serve connectionsPANIC: assert failed at ../source3/printing/printing.c(486): pjob->jobid == jobid
[2015/09/22 12:02:03.989596, 0] ../source3/lib/util.c:785(smb_panic_s3)
PANIC (pid 3704): assert failed: pjob->jobid == jobid
[2015/09/22 12:02:03.991930, 0] ../source3/lib/util.c:896(log_stack_trace)
BACKTRACE: 27 stack frames:
[Code] ....
View 0 Replies
View Related
May 19, 2011
I have a FreeNAS server running CIFS shares. I just tried out Deja Dup on my home directory and backed it up to my CIFS share. This is about 200gb worth or so, I believe.After it was done, I went to browse into the directory. I've restarted the CIFS service on the server, rebooted the server, and rebooted Ubuntu,I STILL cannot browse my directory. It says:Sorry, could not display all the contents of "jason": Invalid argument.Yet I can SSH into it and do an ls listing and see all of the .tar.gz packages that Deja Dup created. Likewise, I can browse to it just fine in Windows.What is Ubuntu doing that it doesn't like to see these files? It's a huge, huge pain in the rear... How can I fix it?
View 5 Replies
View Related
Feb 10, 2009
Following instructions that I received from the Fedora 10 Guide, I recently edited my etc/fstab file so that I could auto mount my Windows share. It worked the first time, but when I rebooted, I noticed an error saying that Linux could not not unmount the cifs shares. Eventually it did reboot, but now I cannot mount the share at all from fstab. When I run the command #mount -a and then #mount, my share is shown to be mounted although I cannot access it and there is no link to it on the desktop like there was the first time it mounted. I basically want my Windows share to be permanently mounted with read/write permissions. My Distro is Fedora Core 10 64 bit. How can I resolve this issue?
View 3 Replies
View Related
Jan 26, 2010
We recently moved to a new home and I am trying to get my home file/print server set up again. Thanks to swerdna's excellent website, I got my server box (just upgraded from 11.0 to 11.2) running Samba and serving my shares over the network, and my "client" machines can access them without a problem.However, I'm not having much luck setting up CIFS mounts on my Linux desktop. I have my all-purpose user added to the Samba auth list (via smbpasswd), and configured my client as swerdna's howto's specify, and I can access the files just find. However, when I try to mount the shares with this command:
Code:
mount -t cifs -o username=klein,password=klein //192.168.1.70/sharedmedia /home/zak/SharedMedia/
I get the following error:
[code].....
View 2 Replies
View Related
Aug 24, 2010
I have a home Debian server running, and i would like to set it up as a gateway. I have 2 networkcards in it. So internet comes from the modem and on the other card i want to setup a dhcp server and it has to share the internet. But i want it also to connect to a vpn and share the internet of the vpn.. Is that possible?
View 4 Replies
View Related
Nov 18, 2010
I need to mount a windows share on my OpenSUSE 11.3. I get it using the mount.cifs command (by itself or using cifstab), but only root can rw file. I try the uid/gid parameters (also using forceuid) and the file_mode/dir_mode parameters, but I get the same behavior: all files and directory with rwxr-xr-x permissions and root/root (user/group). I read the whole section FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS in man mount.cifs but nothing works.
View 9 Replies
View Related
Mar 21, 2011
Q: How do I mount a CIFS share so that my user stevej has all rights to it?
Summary: I can mount the share as root.
mount.cifs //10.x.x.x/Data /home/stevej/Synology/Data/ --verbose -o user=stevej
Using Dolphin in Super-User mode, I can copy files and directories from the share to itself with no errors. Using Dolphin in Normal-user mode. I get the failure "Could not change permissions for...". The file is copied, but its owner,timestamp and permissions are wrong. If a subdirectory is involved, the copy aborts.
Using Windows XP I can copy files and directories from the share to itself with no errors.
Testing: If I mount with uid and gid, then my normal user can not access the share.
mount.cifs //10.x.x.x/Data /home/stevej/Synology/Data/ --verbose -o user=stevej uid=stevej gid=users
[code]...
Synology DS211 - There are 2 users on it. One of which is stevej and the other is julie. Rights RWX are applied to the users and the group called users. All files have stevej as the owner and users as the group with RWX Opensuse 11.4 - There are 2 pc's. One is run as stevej. The other pc runs as julie Windows 2000 - Runs as stevej and maps to the share as stevej.
Works as expected Windows XP - Runs as julie and maps the the share as julie. Works as expected Ultimately, I want the shares to automount at boot, or login and give the user full access. I have been to Swerdna's page and done as much as I can, but still no luck.
View 4 Replies
View Related
Feb 18, 2011
I am using Squeeze and all appears OK at first... I have a DHCP lease, PING to router works, apache servering fine in and outside the network, Epiphany seems to connects to default debian.org only, BUT I cannot connect to any other websites and apt will not connect to any servers. I installed once, tried to fix problem, gave up and reinstalled and still have the same problem.
I unistalled Network Manager thinking that was the problem, but still the same issue. Is there a default firewall blocking certain connections or am I missing something I'm supposed to know about? I installed some non-free firmware in the beginning of install and all worked... and I connected fine when downloading packages during install.
View 4 Replies
View Related
Feb 16, 2010
"My network" is behind a firewall inside a larger windows network with AD. My network has a Debian Server with samba 3.2 running. One of the hosts that are on the outside of my firewall has a share that I and other Linux-users on the debian server wants to access.
View 1 Replies
View Related
Apr 22, 2010
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.)
View 4 Replies
View Related
Aug 10, 2010
I use Debian Squeeze on my laptop, and in my office we have a WinXP box where we store all our documents and stuff. When I'm in the office, I can directly mount my directory to edit documents, and at home/wherever I can use VPN to connect to the box so it's no problem again.
However: I'd like to know if there is a way to set up a directory on my laptop, that I can use even when offline, and then when I'm connected to the office computer, it automatically syncs with it.
View 2 Replies
View Related
Apr 9, 2011
I installed testing on my netbook with cd1. and too my suprise it didn't even include something as important as network manager. all i want to do is connect to my wired internet, install network manager, then install my driver for card. if i can just get wired working i will be homefree. the directions for installing my wire3less driver look super simple.
View 4 Replies
View Related
Aug 21, 2015
I installed a fresh Debian Desktop without the LAN cable connected. After that I got message when I put the cable in:
Code: Select allNetwork Interface
Connection New Wired Connection failed
I have tried to re-install everything once again with the cable in, but during the Debian installation there was no network detected.
However, I proceeded and re-installed Debian. But the problem persists. It continues to re-connect and than disconnect. There is a symbol showing re-connection. The network eth0 is visible to the machine.
I booted Mint Live disc and the same happens there.
View 14 Replies
View Related
Dec 24, 2010
Two nights ago I decided to switch from testing to unstable. Since then I am able to connect to the internet, but not to anything on my local network. I am unable to ping this computer from another one on the network. This computer is connected through wireless. I thought that something might have changed with iptables that was blockinghe localnetwork. I tried to "flush the iptables settings with "iptables -F". Since that didn't work I uninstalled iptables (which didn't work and I reinstalled iptables). In my browser I tried to connect to my router and that doesn't work either.I connect to this computer daily through ssh and connect to a NAS. Without ssh and my NAS I feel kinda lost
View 6 Replies
View Related
Aug 31, 2011
I have a laptop (running Arch Linux) and a desktop. Until recently my desktop computer ran Arch but I'm taking Debian for a spin now. At my home there is a wireless network with WPA2 encoding. I use the wicd gui to connect to this. I assume, that since I can see the SSID in the wicd window, all drivers are correctly installed and functioning. On my Arch computer, wicd reports this SSID as having WPA2 encoding, but on the Debian computer, it shows up as WEP. Even when I choose the correct encryption thing, WPA2 (preshared key), and put the correct password in, I can't get a connection up.
View 6 Replies
View Related
Dec 23, 2015
I have Debian 8 with VBoxGuestAdditions (4.3.18). I can connect to this box from Win7 using RDP (mstsc.exe). When I connect from Windows 10 using mstsc.exe I've got error code 2308. I tried NoMachine, 2XClient, RoyalTS none worked.
W10 connecting with RDP to Linux server? If I would install xrdp onto the Linux server would it work for me?
Is it possible to connect from Win10 to Linux using RDP?
View 4 Replies
View Related
Oct 28, 2015
I have a debian box connected to a windows storage server.
For a number of years I have been using CIFS to connect, and now it seems to have stopped working.
Code: Select all~# mount -t cifs //192.168.97.66/sharefolder/ /localfolder -o rw,file_mode=0666,dir_mode=0777,username=NASuser,password=**** -vvv
mount: fstab path: "/etc/fstab"
mount: mtab path:Â "/etc/mtab"
mount: lock path:Â "/etc/mtab~"
mount: temp path:Â "/etc/mtab.tmp"
mount: UID:Â Â Â Â 0
mount: eUID:Â Â Â Â 0
mount: spec:Â "//192.168.97.66/sharefolder/"
[CODE]
View 4 Replies
View Related
Apr 2, 2011
Q: How can I allow my users to mount a cifs share without an entry in fstab in OpenSuse 11.4?
I have an answer myself. Until OpenSuse 11.2 I could mount my samba shares by making mount.cifs and umount.cifs setuid root. Today I installed OpenSuse 11.4. Unfortunately mount.cifs isn't anymore allowed to be setuid due to security concerns. Security is not an issue in my case, so I copied the mount.cifs and umount.cifs from 11.2 to make it work again:
1. Download cifs-mount-3.4.2-1.1.3.1.x86_64.rpm from this repository (I use 64 bit):
"http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/"
2. Extract the files mount.cifs and umount.cifs from the rpm and copy them to /sbin
3. Make them setuid root:
Code:
linux-y5qw:~ # chmod u+s /sbin/mount.cifs
linux-y5qw:~ # chmod u+s /sbin/umount.cifs
4. Mount your cifs shares as a normal user:
Code:
martin@linux-y5qw:~> /sbin/mount.cifs //192.168.2.2/data /home/martin/data/ -ousername=martin
Password:
View 1 Replies
View Related
Jul 23, 2015
Since a recent update on Stretch, I have been unable to use the network-manager to connect to my home wireless network on my laptop. It was working fine before. I did not change any settings on the WLAN router. I can still connect to other wireless networks at work and university, just not this particular one at home. All other non-Debian devices in my household are still able to connect just fine.While figuring this out, I have tried connecting manualy with ifup but I don't really know how that works. Right now there is only the loopback entry in /etc/network/interfaces.
Below is the output of syslog, when gnomes network-manager is trying to connect, but fails.
Code: Select allJul 19 20:01:57 debian NetworkManager[6705]: <info>Â (wlan0): Activation: starting connection 'Affenbande'
Jul 19 20:01:57 debian NetworkManager[6705]: <info>Â (wlan0): Activation: Stage 1 of 5 (Device Prepare) scheduled...
Jul 19 20:01:57 debian NetworkManager[6705]: <info>Â (wlan0): Activation: Stage 1 of 5 (Device Prepare) started...
[code]...
View 14 Replies
View Related
Apr 17, 2016
Recently upgraded my PC and my WiFi Hotspot connection is refusing to connect. Running a dmesg returns this
Code: Select all[66529.184299] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[66530.762594] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
And the IPv6 configuration in the Hotspot is Ignore
View 1 Replies
View Related
Apr 20, 2010
i am searching for way to connect to my home network from any point only just if i have internet. i've heard about VPN and i think that this is right solution for my problem. can anyone point me to doc for beginners for setting up a VPN server? ps i've already searched for some articles and found two which were really for newbie, but it is interesting to find "best" how to for configuring vpn server.
View 1 Replies
View Related
Apr 10, 2011
I can't seem to get this to work without having to physically create connections as root. The "Available to all users" in the nm settings box remains uncheckable, despite completing the following tasks:
Ensuring NetworkManager.conf contains
[main]
plugins=keyfile
[code]...
View 3 Replies
View Related
May 20, 2011
I bought a USB wireless adapter for my desktop. I finally got it to partially work using firmware-ralink as described [URL]sing network manager it will pick up my wireless network. However it will not connect to it.
The output of iwconfig is
wlan0 IEEE 802.11bg ESSID:"familyfarm"
Mode:Managed Frequency:2.437 GHz Access Point: 00:1C:DF:B6:EA:B9
[code]...
View 5 Replies
View Related