I have a little home server with Ubuntu 10.10, actually it is already backing up my web hosting daily via a cron.daily script.. But I would like to do the same with my Windows laptop, which would it be the best way to do so?
since the Ubuntu pc is (almost) always turned on it would be no profit to have it mount the Win PC at startup, indeed I could have a cron.hourly script to check if the Laptop is connected to the network and to back it up once a day, thus by checking a small text file with written the date of the last backup BTW how do I check if the Win PC is connected to the network? How do I mount it via samba? Do you suggest to backup stuff simply moving files, via tar (as I already do with my web host) or with rsync?
I have been using Ubuntu for a while now and have never run into something like this that I haven't been able to find on the forums. My problem is quite similar to this post [URL]
Description:
I have a Windows 7 x64 machine and a Ubuntu 10.04 Server machine. I also have a share called "stuff" on the Windows machine. I can run the following command and it mounts the share successfully :
Code: sudo mount -t cifs //windows_machine/stuff -o user=usr,password=pswd /path/local/folder However, if I run smbclient it fails with this error
I have a new network attached storage unit that I'm trying to transfer my data to. On this NAS, it has a very basic linux installed with SSH enabled. Browsing through the programs installed on it, i found smbclient. Am I able to copy files directly from my old NAS to my new one using smbclient?It would sure beat transfering 950GB from my old NAS through a computer then onto my new NAS.
I'm using CentOS 5.5 with smbclient 3.0.33-3.28-el5 (latest version in repo), and I can't overwrite files in my smb store.The CentOS box is merely a client of the smb share,and I am not the admin for the Windows server that hosts the share, so there isn't anything I can do server side. But I do have write permission to the server. I'm 95% certain that the server runs Windows Server 2003.I can create a new file,but if I need to overwrite it I need to delete the file, and then copy the new version over.My Windows XP machine can overwrite files perfectly fine.
Using the cp command I'll get this error: (/mnt/storage/foo.txt already exists) [jonescb@localhost ~]$ cp foo.txt /mnt/storage/foo.txt cp: cannot create regular file `/mnt/storage/foo.txt': No such file or directory`
I've having problems in listing files from a TAPE. I did not create this tape and I'm assuming that the files were successfully backed up to this tape.Some commands that I've tried:
I am trying to allow my mother's Acer Aspire One (OS: Linpus Linnux Lite) to print on the WIFI Canon Pixma MP620 printer. The rest of the computers connected in the house run some variant of Windows. The printer has been set up to print wirelessly from the Windows computer. Having searched the internet for hours, I have determined that there aren't any drivers for that particular printer.
My potential solutions are: 1. Buy a new printer 2. Install Windows on the Aspire One (Last resort!) 3. Use this piece of software (http://www.printeranywhere.com/), which is installed on my Windows 7 computer which is on 90% of the time, and find some way to install it on Linux. (I tried Wine, and it opened up the installation .exe but when it came to actually installing, returned an error saying it needed to be installed on the same drive. :S) 4. Follow this tutorial (http://justin.yackoski.name/winp/) to print via my computer.
I think I will manage to follow the tutorial fine (as a complete Linux novice!), but I am having some problem with simply connecting to my Windows share folder, which I came across on this line of the tutorial: Test that you can access the share from the linux PC via smbclient. I.e., run: smbclient //windows_pc/spool -U print and make sure you can put a file into that shared directory. After I enter the password, as prompted, is returns:
session setup failed: SUCCESS - 0
When I try: "smbclient -L //WILL-PC -U Will", and then enter my password as prompted, it returns the same error. However if I try: "smbclient -L //WILL-PC -N", it returns: Anonymous login successful. Then my correct Domain, OS and server details. Then the titles: Sharename, Type and Comment
And then the following: cli_rpc_pipe_open: cli_nt_create failed on pipe srvsvc to machine WILL-PC. Error was NT_STATUS_ACCESS_DENIED Error returning browse list: NT_STATUS_ACCESS_DENIED Anonymous login successful Then the same correct Domain, OS and server details Then two headings: Server and Comment, each of which have a different entry below them to do with my printer. Then the two headings: Workgroup and Master, below which there are two different workgroups that we have, and my computer and my sisters laptop.
In this tutorial I have shown how we can share a folder from Windows to Linux, [URL]. The author of the video is not responsible if something is broken.
Given a single SMB network share (for example, \server\SHARED_FOLDER), I want to recursively list all the files, including those in the subdirectories (like find(1)).
I would prefer to do it in Linux, but I also accept Windows answers.
I've got an old p3 with 11 ide hard drives strapped to it for storage and I decided to throw Ubuntu server on it because it's more lightweight than a standard ubuntu install, and given it's a pentium 3 with 128mb of ram, lightweight is good. I installed, through putty (ssh), the gnome gui - then learned that putty only does cli (i was thrilled), so I've spend the last hour trying to figure out how to enable remote desktop.
I don't mind reinstalling to do what is necessary. remote desktop to manage file downloads from my windows 7 machine(s) big list, i know. history: this thing is/was my media server. I had xp on it, sharing all drives and watching hd movies off it, but then xp decided it did't want to boot anymore so here we are. I'm thinking of just putting ubuntu 8.04/8.10 on it and through its wonderful gui enabling remote desktop and using realvnc/tightvnc to access it
All of a sudden, I could not connect to my ubuntu 10.10 server from Windows 7 using vnc this morning. When I open vnc on windows 7 and hit connect, it goes away like its going to connect but never pops up the screen. If I try to connect to my other ubuntu server, it connects quick and I'm able to navigate in it.
I've searched the interwebs and have never had this problem before but I can connect with ssh no problem. The problem arises when I try to connect with sftp. I get code...
Another issue I'm having, considerably more serious, is my ability to connect to wifi access points with proxies. The story goes, my school has free wifi, but you have to go through their proxies to access the internet (like at McDonald's or Starbucks, where you must 'log in' and accept their usage terms). I can connect, including DHCP, and when I type in any URI I get the redirect posted to Chromium's address bar, but I simply cannot connect to it. This has happened in Ubuntu and Arch, using at least a couple different network management methods (I usually use WICD but I think I started off with networkd). The strange thing (to me) is that my Android phone works just fine, so although I'm not completely familiar with Android on this level, I don't imagine it's the fault of Linux itself. but I'll only be able to experiment with this once a week, on Saturdays (when I have class --gotta do something entertaining).
make Dovecot automatically archive the servers copy of the email if/when a client connects to it using POP? I am trying to achieve the the same thing as Gmail's feature.
I am trying to get this script to work. The purpose is to download a list of modules from the slax.org the list consist of a list of module numbers. What I am trying to do is Download the file or the file name corresponding to the number in the list.the list is comma delimited. this is what I have done so far and I am a stand still.
#!/bin/sh # Wget script to retrieve modules from slax.org modules # # ----Begin of user defined values ----- # Path to wget
I'm looking to setup a home server for the purpose of backing up and storing the files on our multiple (Windows) computers. What kind of server should I set up? Samba? Lamp?
i am trying to send message through terminal with smbclient, i have searched the net and found this command
Code: smbclient -M <hostname> now i am confused on hostname, which i open the network folder i see to icons 1. is my laptop 2. Windows Network
when i enter Windows Network folder i see 2 more icons 1.MSHOME 2.WORKGROUP
and when i enter MSHOME folder i see one icon 1. MIRZA-SAAD this is the computer which has xp in it i want to send message to it with smbclient now how when i write this command i see this error
I am having a problem using smbclient on my Ubuntu 10.04 workstation. I use likewise open5 to authenticate to a windows server 2003 domain controller. I installed the smbclient utility mounted the network drives to the local desktop, then all of a sudden I cannot logon to my active directory domain controller. If any one knows what I am talking about what am I doing wrong?
Do I need to change my smb.conf file? Or do I need to download another repository or utility?
yum list grep samba shows samba-13 installed however when type smbclient as root it returns
"Command Not Found" and returns me to bash.
yum remove samba reboot yum install samba still nothing
smb[tab] returns : smbd, smbusers and 3 others but none that are smbc*. I'm kinda stuck for my windows shares at this point.
smbd i presumed was the deamon so i triggered that but smbclient still cant be found and when i ran smb(something) status it stated that the samba service was up and running.
users list is configured but i believe this is an issue with the command.
I have set up proftpd many times now one Ubuntu 9.10 and never ran into any problems. I decided to go ahead and do a clean install of the new 10.04 and set everything back up (ie ssh ftp apache... ect)I got done with ssh with no problems and started working on getting proftpd up and running just like I've always have. But now every time I try to login it gets to where it should list all the files in my dir and it just times out. If I connect through my network (192.168.1.101) everything works fine so I dont think its my .conf file.ll ports are open that are needed and I even tried opening up the passive ports to see if that would help but it does not.
I am trying to pass a variable to smbclient (OS X), but the variable is recognized only as its strict text.
Is there anything syntactically I have to do pass a variable created in the shell (bash) to smbclient (or perhaps any other interactive app)? I've seen references to variables as $[variable] or ${variable} but I've not been able to figure out what works.
I'm using Apache server's dos_evasive module to block DoS attacks. How do I see the list of blacklisted IPs? because I want to delete from time to time to monitor the IPs that are blacklisted, but do not know how to.
I have scoured the 'ls' man page, but I don't think it has the capability to do this. Specifically, I would like a command/program that will output a list of all of the files in "/home/anthony/Music/" in the following format:
whether the command-line tool "mysql" comes with mysql-server or mysql-client (I installed both at once, so I have no idea). It occurs to me that this is a good opportunity to learn more about linux package management.
I've tried saying "dpkg -L mysql-server", but it only lists the files in /usr/share/docs files for some reason. I'm sure there's got to be files elsewhere. Am I way off base?