You are not logged in.
Pages: 1
Topic closed
Setup:
Windows LAN (setup by my dad)
One Arch Linux Box, hardwired and connected through the network without problems.
One Ubuntu Linux Laptop, connected wirelessly.
I want to transfer my music, schoolwork, ect, onto my desktop from my laptop. Both machines are part of the same LAN. I want to transfer those files over the network (because I lack a usb drive larger than 1 GB). I know you can do this via rsync, ssh, sftp, samba, ect. But I happen to [censored] hate doing stuff with any network of any sort. I sort of understand networking, but I need some help, because all the millions of guides about doing this on the internet seem not to work, no matter what I try to do.
I can ping each machine through the other one, and I know both of their host names (I have both of them in front of me, actually.). The Ubuntu machine can see the entire network (through Nautilus, it appears), but cannot see my Arch Linux Box. I'd imagine I could see the entirety of the network on my Arch Computer if I knew how (going to ///:Network on PCmanFM gives me nothing). Both machines can connect to the internet without problems.
Can someone help me out? (I know, there are plenty of guides through Google and the Arch Wiki, I don't really understand them well enough)
I don't care if you use a specific method, any will do. I can provide any additional information to you if you just ask.
Scott
Last edited by Scotty (2010-08-15 02:16:54)
Offline
Wouldn't DropBox be a handy solution for you?
It works on Arch, many Linux distributions and Windows too; it has a 2 GB free space for storing, exchanging and synchronizing data in between computers, and you wouldn't have to fiddle too many files configurations.
http://wiki.dropbox.com/FrontPage
https://wiki.archlinux.org/index.php/Dropbox
Offline
Try file sharing using SAMBA. There are plenty of documentations on how to set up on linux (both Arch and Ubuntu Wikis should have more than enough details on how to set up), and you don't need to do anything on your Windows box.
You said all three are on the same network, so this would be an easy solution.
Offline
This sounds like a job for quickserve.
ᶘ ᵒᴥᵒᶅ
Offline
Or giver:
http://code.google.com/p/giver/
฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz
Offline
Just run an ssh server on one or both and use scp or rsync, you will probably need to use the cli for that though.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Perhaps you can configure your router to give fixed ip's to your computers. Once you know what are the ip's for each machine, you might want to use luckybackup (a front end for rsync) to configure transfers between your linux machines.
If you also want to transfer to the windows machine, you could consider winscp, or rsync + ssh in cygwin.
But really, the dropbox idea is not bad, if you don't want to care about networking.
Offline
probably the easierst way would be setting up a ssh server on your desktop, then go to your laptop and connect to your ssh server via this gui thingy in ubuntu. it will open your home folder or another folder where you have read and write rights in nautilus. you can now easily drag and drop things onto your desktop via the laptop (but it will take some time over wlan!). :>
Offline
netcat
netcat-openbsd
openbsd-netcat
gnu-netcat
Offline
Or giver:
http://code.google.com/p/giver/
I tried giver, though I had to compile from source...and dependency hell.
probably the easierst way would be setting up a ssh server on your desktop, then go to your laptop and connect to your ssh server via this gui thingy in ubuntu. it will open your home folder or another folder where you have read and write rights in nautilus. you can now easily drag and drop things onto your desktop via the laptop (but it will take some time over wlan!). :>
That sounds pretty easy...I should start to learn about networking (sort of like I should start to learn some programming more than simple stuff.. )
So I just install openssh-server with Pacman, then on Ubuntu, do
ssh <ip of arch machine>
?
Whenever I try by Hostname it says "no route to host" or something like that. When I try by IP, it complains about Port 22: Connection refused. Am I doing something wrong?
Scott
PS: Thanks all of you for the suggestions, I thought I wouldn't get much help given the selfish "help me!" nature of the topic...
Offline
To enter a hostname, you have to add a line to /etc/hosts that specifies the hostname and IP address of the remote machine.
About the connection refused message, have you added something like "sshd: ALL" (without quotes) to the /etc/hosts.allow file on the remote machine? Many things could cause that. Are you using public keys or password authentication?
All the information you should need:
http://wiki.archlinux.org/index.php/SSH
You must configure the SSH daemon in /etc/ssh/sshd_config. Make sure you uncomment out the port line and whatever else you need.
Last edited by cesura (2010-08-09 15:41:28)
Offline
and don't forget to start sshd
# /etc/rc.d/sshd start
if you want this permanently add sshd to your rc.conf
Offline
and don't forget to start sshd
# /etc/rc.d/sshd start
if you want this permanently add sshd to your rc.conf
I think the wiki page posted above is more than sufficient, don't you?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
What about a simple server?
python -m SimpleHTTPServer
Offline
Okay guys, so I apologise about taking so long to get back on this topic...I was at a summer camp all week and did not have access to my computer.
I followed the wiki page, fowarded port 22, and tried agian.
scott@scott-laptop:~$ ssh -vv -p 22 scott@192.168.1.98
OpenSSH_5.1p1 Debian-5ubuntu1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.1.98 [192.168.1.98] port 22.
debug1: Connection established.
debug1: identity file /home/scott/.ssh/identity type -1
debug1: identity file /home/scott/.ssh/id_rsa type -1
debug1: identity file /home/scott/.ssh/id_dsa type -1
ssh_exchange_identification: Connection closed by remote host
scott@scott-laptop:~$ ping -c 5 192.168.1.98
PING 192.168.1.98 (192.168.1.98) 56(84) bytes of data.
64 bytes from 192.168.1.98: icmp_seq=1 ttl=64 time=2.51 ms
64 bytes from 192.168.1.98: icmp_seq=2 ttl=64 time=1.98 ms
64 bytes from 192.168.1.98: icmp_seq=3 ttl=64 time=7.29 ms
64 bytes from 192.168.1.98: icmp_seq=4 ttl=64 time=2.51 ms
64 bytes from 192.168.1.98: icmp_seq=5 ttl=64 time=2.30 ms
--- 192.168.1.98 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 1.984/3.323/7.296/1.996 ms
scott@scott-laptop:~$
I would like to also add that I set my router to foward port 22 to this same IP (192.168.1.98).
Scott
Offline
okay, I'm in! *celebrates*.
I made my /etc/hosts.allow look like:
#
# /etc/hosts.allow
#
sshd: 192.168.1. 127.0.0.1 : ALLOW
# End of file
That way anyone on my local network can ssh into my box.
Now, how to I copy my files over via SSH?
Scott
Offline
> Now, how to I copy my files over via SSH?
https://bbs.archlinux.org/viewtopic.php … 00#p805600
Offline
> Now, how to I copy my files over via SSH?
https://bbs.archlinux.org/viewtopic.php … 00#p805600
I managed to copy them via sshfs. It worked, but it took about two hours to transfer all my files. Thanks everyone for helping.
Scott
Offline
Well, that's what you get when you use wireless . Don't look at SSH, it can max out your connection easily with a recent computer - the encryption overhead is minimal on a fast ethernet network, can't say anything about gigabit.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Well, that's what you get when you use wireless . Don't look at SSH, it can max out your connection easily with a recent computer - the encryption overhead is minimal on a fast ethernet network, can't say anything about gigabit.
If you don't use compression (which you probably don't want to use if it is a local network) I believe you will be mostly limited by the hard disks performance, at least with "conventional" hard disks.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
.:B:. wrote:Well, that's what you get when you use wireless . Don't look at SSH, it can max out your connection easily with a recent computer - the encryption overhead is minimal on a fast ethernet network, can't say anything about gigabit.
If you don't use compression (which you probably don't want to use if it is a local network) I believe you will be mostly limited by the hard disks performance, at least with "conventional" hard disks.
Hmm, because I had 500-600kb/s transfer rate according to my laptop. I think HDD are faster than that. The computer I was transferring to even has a SSD, so I do not think Hard Disk Performance was slowing me down.
Anyhow, this thread is solved. No more posts please unless you feel they are important for anyone else looking at this thread for help.
Scott
Offline
you can also do this with NodeJS. if you have nodejs installed in your system then just run
npx serve location-of-the-folder-where-your-file-located
Offline
You can also read the data byte-by-bate from screen, carve it into a stone, carry the stone to the other system and type it off there.
The thread is 13 years old, the OP hasn't posted in over a decade - don't necrobump.
Offline
Using this opportunity to close this old thread.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed