My situation is that I've got a desktop within my university domain named 'pc1'. There are several other machines in my office as well, e.g., named 'pc2'. Every time, when I want to run some of the codes written by my group, I need to use 'ssh' to connect 'pc2':
Code:
ssh -X pc2.cs.xxx.edu
cd /home/cs/group1
As my machine pc1 is under the same domain as pc2, is there a method to mount '/home/cs/group1' directly? (I've got the user name and password)
Then I can run the codes under '/home/cs/group1' directly on my machine.
I checked 'mount' command, but hasn't got a clue how to do it.
using Ubuntu file browser, I browsed my Windows network and logged on to a Windows PC. Now Ubuntu file browser shows me "C$ on WinPC" as a folder. I can open it, read/write files, etc.But from bash prompt, I don't see anything of type CIFS/SMBFS listed in the output of "mount". Only the usual suspects (like local CDROM). How can refer to Windows files from Linux commandline?
I installed vbox and windowsXP as guest and fedora13 as host. As discussed in [URL] i have run: Quote: $ VBoxManage sharedfolder add "WinXP" -name "Downloads" -hostpath "/home/rudra/Downloads" --readonly but in guest, as i prompted Quote: net use x: \vboxsvrDownloads it gives error: Systemerror 53 has occured the network path was not found
i format and reinstall centos after that i create one sambha share and valid users restart smb service but i am unable to access it from windows pc shows network path not found any other service need to start
I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:
I have a program that takes a relative path as input appends it to a some path string to get the actual path.
Now all I can input is the relative path. So if I want to go one level above my input will be ../mypath.
If I know the depth of the path used internally, I can use .. as many times to go to the root directory and then give the absolute path. But suppose I do not know the depth of the directory, can I construct a relative path string such that it considers it as a relative path. One way could be to have enough .. in the path string so that I can force an absolute path for some maximum depth of path.
Is there some path string syntax that I am not aware of but can achieve this?
Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.
I have a path c:windowsackup I need this string to be changed into /windows/back/up I used the command -bash-3.00$ echo windackup | sed 's/\//g' but the output is windbackup
prefix=user@my-server: find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do ( cd "$path" || exit $?
[code]....
How shall i go about changing the absolute path to relative path, so that /home/git/mirror/android/adb/ndk.git gets converted to /mirror/android/adb/ndk.git //echo <command> "$prefix$PWD.git" ?? - anything for relative path?
I am trying for the last many days to setup my opensuse 10.3 as Samba PDC Server according to the URL mentioned below, but in vain:How to setup SUSE 10.3 as Samba PDC - openSUSE When ever I try to join a Windows XP machine to the domain setup on Opensuse, I get the error:'The following error occured while attempting to join the domain. The network path was not found'. What could be the reason for this error despite of the fact the I am able to ping the FQDN of the PDC from the XP machine, but the XP machine simply denies to join the domain because of the above mentioned error.
I mean I have a folder on my root /share and I want to find out how much free space do I have left on the hdd, problem is I have 4 HDD and I don't know if /share is mounted on / or where ..... what is the command line?
I am trying to setup my ubuntu machine to automatically log some data I am trying to collect and write the data to a flash drive. I have everything setup so that when the machine boots up it starts that logging process. The problem I am having is that sometimes (not always) ubuntu creates a directory with the same path that I expect my flash drive to mount to i.e., /media/data/ then my flash drive instead mounts to /media/data_/. I need to know the path of the flash drive so I can store my data on it.
How do I mount a folder from different server in the same network? For instance, I have a server named A having IP=192.168.1.1 and a server B having IP=192.168.1.2. I try this command from server A but it does not work. Do I have to install samba in order to mount network folder?
I want to map a windows shared folder to local directory, but I can't make it writable. I use mount command as following: mount -t smbfs -o username=kcynice,password=kcynice,user,rw //192.168.1.100/SharedDocs /mnt/WinShare
Yes, this command can mount the network folder successfully, but i can only write it under terminal as root. I googled but got no answer. So, how to mount it can be write by normal user?
I've tried to get an opensuse box I have to share a directory via NFS. I've failed each time, but I thought that the third time, I'd enlist some help from the forums, if I could. how do I know that the nfs server and not the client is the problem? Short answer is: I don't! That's why nfs (and many netwrk problems) are laborious, you're troubleshooting needs to take place at both source and desitination. Next question, what do I have set up so far? Well, I did download the nfs server kernel stuff (two months back) and /etc/init.d/nfsserver start seems to get set up OK. No errors and the daemons nfsd, idmapd, mountd area all running. So, I *think* that part is OK. I have the share set up properly in /etc/exportfs and have "exportfs -r" it.
OK, now onto the trickier stuff: the client and iptables. On the client pinging to the nfserver box is perfect, and I have rpcbind running. the reported error is "mount.nfs: mount system call failed" though from experience nfs errors don't mean a whole lot.However, I will go off and check now and see if I need a mountd running on client-side too.Then there's iptables .... ouch, that could be a long and painful trek. I don't see any specific ports being blocked, and it's the iptables that the default v11.2 opensuse came with. I did turn them off and the problem was the same, so whether wishfl thinking or not, I'm hoping it's not an iptables issue.
Many of you know how important is the analysis and planning of the targeted environment before the attempt of a successful penetration test. I got the idea, and I am trying to draw the network design in order to visualize things better. Many tools can be used to do that, I used hping3 as it comes with BT4, my favorite dist for pentesting, others include tcptraceroute, firewalk-5.0 (discontinued by developers...), etc.
What in fact is done by the program (hping3) is TCP/IP packet injection (with the SYN bit enabled) hop-by-hop until it reaches the final host (destination). By sniffing the traffic, I could determine the TTL of the various responding hosts within the path until my packet "got there".
As far as I know the default behavior of a network would be to decrement the TTL of a device as long as I go deeper on the network (meaning that I am getting closer the targetet IP). Like, for example, in a network with 3 devices (routers) before my targetet IP it would be something like this:
Demonstrating that the host is Windows based (TTL starts at 128) and is placed 4 hops from me. What I know by the notice though, is that sometimes the TTL increases. Likewise:
I am using CentOS 5.5 OS. I already install ntfs-3g rpm, but I don't know the command to mount network NTFS drive. I also want to mount it on my fstab file, so whenever it reloads, it can automatically mount on the specific folder.
I got dumpped into a enviroment where my knowladge of linux is sadly (yes sadly I actually want to learn more ) little. I have a server that was configured with a mapped drive.I have done the following and cant find where this is pointing. Checked the FSTAB and mount and df -lh and did a vi on the cronjob that does the copying and everything just gives me basically this information... brw-rw---- 1 root disk 253, 7 Jun 19 16:22 devmapperVolGroup_ID_10726-LogVolV How do i get the info about what the devmapperVolGroup_ID_10726-LogVolV Network path actually is, and edit it for that matter.
I have got a Arch Linux laptop running KDE. I have recently purchased a Dlink DNS 323 network attached storage and have installed Debian Lenny on it. I have been connecting to it via ssh and have created a network folder on Dolphin for easy GUI access ( using ssh protocol). However I cannot seem to figure out how to download stuff directly to the network drives. In firefox, it does not allow me to browse to the Dlink when I try to specify the download path.
a new hardisk and a reinstall later I find myself face with 2 problems now. firstly I followed, [URL]... which seemed to work fine, accross the network I can "see" all the workgroup computers. Now try login to karmic's or (other linux box) jaunty, can't find network path. tried turning off the firewalls, still no go. the two linux boxes can chat merrily, and the 2 windows boxes can chat, but to each other. however after fidling a bit , on karmic i now get
Quote: Could not display "network:///" Nautilus cannot handle "network" locations
so firstly how do i reinstall everything, the how deal with windows.
I would like to know if there is a fairly easy "How To" for setting up my home network. I have 2 XP SP3 computers and 2 Linux with ver. 9.10. The XP boxes can see each other and share files and folders. I can see from an XP box one of the Ubuntu machines, but can't access any of the files or folders.
I get the following when I try: \Lstoragemusic is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found.
Java applet not loading image with relative path(e.g. images/1.jpg) but loads image with absolute path(i.e. from /root/user/images/1.jpg) . This is a problem when i want to host the applet on web server
I have a Karmic server install on which I've set up a network drive mapping to a NAS (CIFS). I'm having trouble with automounting the disk though, as (from what I can tell) the disk is attempting to mount before the network is up.dmesg shows the following: