Ubuntu Networking :: Transfer Files Between PCs Without Using Routers?
Jul 8, 2010
When I try to copy a file from a shared folder of other laptop, the whole of data passes through the router.This affects the internet bandwidth within the network. Is there a way to access the shared files without necessarily going through the router and also without affecting the internet connectivity.
I have 2 routers, each are assigning IP with DHCP on. One router is plugged into cable modem second router is downstairs plugged into first router. Wire runs in WAN of second router. Each router has its own IP subset. First router assigns IP's to 192.168.1.xxx second router IP's to 10.0.0.xxx
I know I can use the second router as an AP with DHCP OFF. BIG BUT though is my wifi verizon phone got no IP assigned when running like that and wirelessly connecting to the second router. Laptops were just fine. SO, I reconfigured second router with its own subset IP being handed out. Now verizon phone is perfect.
How can I share files between connected PC's using it this way?
I need to transfer some a large amount of file from my Linux lap-top to my desktop Windows machine. Can I connect the two computers through a simple crossover cable and simply navigate into the Windows machine and move to files manually or if not, what's the best way to do this? I don't want to burn a bunch of disks.
I currently have two computers (one windows one linux) connected to each other via a crossover ethernet cable. Now, each computer can see each other and I can ping both ways. Also, I can ssh into the linux box from windows (putty, cygwin) as well as ssh into my windows machine from the linux box. Here's the problem: I can send files from my linux machine to my windows machine with no problems doing this:
Now, it seems like everything went fine. However when I look in /home/jqweezy that_file.txt is not there.
p.s. Don't know if this helps, but here is some extra info. Linux machine has only one NIC. Windows has two NICs, one NIC is setup for automatic network detection the other is setup for communication with linux machine via crossover cable (see above).
I've been using Ubuntu for about 2 years now, but still have trouble with some of the finer workings of linux. I have a laptop that I use for general computing, and a desktop hooked up to a TV as sort of a remote backup/htpc. A problem I run into is when I transfer files, they get transfered with the owner set as the original computer's account, and I can't do anything until I open a remote viewer and gksudo nautilus to change the permissions of the file. I looked at articles about permissions and uid's, gid's, and umask but can't figure out how to apply it to my situation.
I thought about doing something with groups but am not sure exactly what, and anyway, default group settings only give read access and what I'm really looking for is the ability to manipulate files and folders across the entire /home dir on my desktop from my laptop. Desktop is running 8.04 and laptop is running 9.10. BTW I am currently sharing through smbfs. I read that this has been replaced by cifs, but at the moment I would prefer not the mess with things if I don't need to.
I am using remote boot via PXE boot to an a remote machine. So okay, but when I load the files via NFS, I can not transfer the / lib to my station. I recompiled the kernel, which already influence all NFS packages built in this set as Obrigadao.
I have two CentOS 5 servers that I'm trying to transfer files between. They're on the same LAN switch, same subnet and everything. So far, everything I've attempted has failed, but scp still exits with a return code of 0. It only displays a line of *** and exits immediately. It's almost as if the file transfers instantly, but no file actually gets copied. Here is the verbose output from scp:
My main pc is this Fedora 10 pc. I have two other pcs that run different Linux distros from time to time. What is the basic setup to share and transfer files between the 2 or 3 pcs? They are connected through a 2wire modem/router.
Do I need Samba installed? or is that only if to need to network with a Windows pc?
I have Fedora 12 (with all the latest patches, including the 2.6.31.6-162 kernel) installed on a new Supermicro SYS-5015A-H 1U Server [Intel Atom 330 (1.6GHz) CPU, Intel 945GC NB, Intel ICH7R SB, 2x Realtek RTL8111C-GR Gigabit Ethernet, Onboard GMA950 video]. This all works great until I try to transfer a large file over the network, then the computer hard locks, forcing a power-off reset.
Some info about my setup:
[root@Epsilon ~]# uname -a Linux Epsilon 2.6.31.6-162.fc12.i686.PAE #1 SMP Fri Dec 4 00:43:59 EST 2009 i686 i686 i386 GNU/Linux [root@Epsilon ~]# dmesg | grep r8169 r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[code]....
I'm pretty sure this is an issue with the r8169 driver (what I'm seeing is somewhat reminiscent of the bug reported here). The computer will operate fine for days as a (low volume) web server, and is reasonably stable transferring small files, but as when as I try to transfer a large file (say during a backup to a NAS or a NFS share), the computer will hard lock (no keyboard, mouse, etc.) at some point into the transfer of the file. It doesn't seem to matter how the file is transferred (sftp, rsync to NFS share, etc.).
I'm trying to automate the transfer and processing of files between two systems to help test and compare a new server installation. The workflow is a bit complex but I'm basically modifying a script on server 'A' to push a file to server 'B' as standard input to another script.
[Code]...
But no luck. I've tried it without the port in the server_args parameter, without the '-l' option; I've tried having the server parameter set to 'tcpd' and the call to '/bin/nc' in the server_args too. But no success. Can anyone point out what I'm doing wrong with the config? PS. I've restarted xinetd and server B is listening on port 1112 and accepting connections - but nothing gets piped into the script on server B.
Here's the system: 1 server running regular Ubuntu, 40km above the surface of the earth on a scientific balloon behind an iridium modem (RUDICS) connected to its serial port 1 server on the ground running Ubuntu server 1 intermediate server used for contacting the iridium system from the ground server
I'm not sure if all the above details are completely necessary but I included them for completeness. I would like to be able to log into the balloon server and transfer files in both directions. The procedure for connecting is to telnet to the intermediate server and then to issue some modem commands to call the balloon. The balloon server is set with getty running on the serial port connected to the modem. The way I have figured out to transfer files is to run kermit on the ground server and connect to the balloon server through the intermediate server, then run kermit on the balloon server, and set it as a file server with the server command.
However, there is some sort of timeout or something, and only a few kB of any file gets transferred before the connection is broken. After that it seems like the ground server is trying to get the file from the intermediate server (which has no useful files on it at all). The file transfer screen stays open and it keeps trying and trying to transfer, until I type ^C. I don't know if there is a way of detecting through a kermit command whether the connection is still open or if there is some sort of switch to make the transfer automatically stop once it has stalled.
I have been reading about No Kermit Server (NKS) protocol, which seems to be designed for a system like this where the connection is across a third server. Is this likely to do a better job of keeping the connection open and the file transfer going? How can it be implemented? Is there any kermit command to determine from the ground server whether the connection is actually still open? Is there any way of telling whether the connection goes all the way to the balloon server or whether it ends at the intermediate server? I actually just learned about kermit today.
On a related note, is it possible to have the balloon server running getty on the serial port but still have the port accessible for reading and writing by, say, a python script (which could use the modem to dial down to the ground when it isn't in use)? It doesn't seem to work but I'm wondering if there is a way. Is there a way to temporarily stop getty, then restart it, or is this potentially hazardous? Keep in mind there will be no way to contact it if something goes wrong since it will be 40km above the earth.
I'm carrying out a project for my university (CIT in Cork, Ireland) and I'm using CentOS running over WMware. I have a server and a client. The server has no GUI (command line UI) while the client has a UI. I need to install a Simple Forum Machine application and I'm told to FTP the files into the server. I figured out that the best option is to load the files in the client via the GUI and then ftp them in the server. How do I transfer the files from a the client t o the server using FTP? I'm totally new to Linux so the more details the better. Also I'm trying to mount a USB key on the server but have had no luck.
I want to connect a laptop running ubuntu 10.04 to a laptop running windows 7 via direct connection in order to transfer files like music, documents, pictures, etc. I have an ethernet cable that I thought I would need in order to do it. Is that even possible?? If so, how would I go about doing that?
Now, I have tried to share the files wirelessly but for some reason when I pick up the workgroup on the ubuntu laptop and enter the password in order to connect to the windows laptop it says my password is wrong, when I know for a fact that it is not. I know I can transfer files with a flash drive and what not but I want to try to get this working.
I connect to multiple wireless system each day but when I encounter a Linksys-n router the computer will recognize it and connect but does not go online.
Does this give any clue for why it will not connect?
Code: 802.11a/b/g System wireless is: Toshiba Satellite M115-S3094 with Intel PRO/Wireless 3945ABG (802.11a/b/g), Ubuntu 10.04
My first one is the network: Our routers' ethernet ports are all in use and I cant get one of them. So Im asking you what I need to buy. Our router now is a speedport w701v. The new router should have wlan and good working LAN. It shouldnt be very expensive... give me some tips what I should look for (because Im very new with router...) and maybe give me a link where they tested many routers (and where I can trust the results).
I have 2 routers both with 5 network cards (both different subnets). On both machines I have the following configuration: Eth0 is the internet conection, Eth1 is the conection to the other router and the other network cards are for the subnets.My current Ip tables script allows all the subnets of one router to see each other but not the subnets of the other router.
In the new situation I want not all but specific subnets to see each other (no problem here)The issue is that some of theese subnets are subnets of the other router. For example the subnet of eth2 router1 should be able to connect to eth 3 on router2. This is were eth1 comes in play. My plan was to configure iptables so that in above example eht2 would be forwarded to eth1, which will forward to eth1 on router2.Then the iptables configuration on router2 will forward it to the network card of the correct subnet.
I have two routers. One is a Verizon ProLine and the other is a Dlink. My setup is myComputer-Dlink-ProLine-Internet. I'm trying to get port 80 requests from the outside, access my http server on myComputer. I tried port forwarding on both routers, but that didn't work. I also tried to make the ProLine treat the Dlink as a DMZ, but that still doesn't work.
I want to make changes on my router bios for my server I have to go to my windows booted laptop rather than just 192.168.1.1 right here at my server. I only have to do a 360 in my chair and I am at my laptop but I don't want to. Everytime I type the gateway ip it reads off the name of my router and looks fine. But I enter my authentication info and it just returns the login window blank... something ubuntu-side?
WRT160v2 linksys wireless N router (Of course I have cat 5 running to my server) Ubuntu 10.04 LTS running desktop ontop (because I am still learning how to navigate the console)
I have a 6to4 tunnel running on Ethernet (subnet 2002:ad4c:16cc:1) without problem. It runs radvd and announces a default route back to the Internet like this: "default via fe80::6a7f:74ff:fe0a:fbec dev br0"
On this same Ethernet I have a Linux plugbox (fe80::225:31ff:fe01:cc) which is a gateway to a network of IPv6 enabled sensors. I've assigned this second subnet 2002:ad4c:16cc:2. How do I get the plugbox to announce "2002:ad4c:16cc:2 via fe80::225:31ff:fe01:cc" so that the hosts on the Ethernet (2002:ad4c:16cc:1) will automatically pick up the route? The route works if I add it to the boxes manually. I've tried getting radvd on the plugbox to do this but I've had no success.
I have a modem connected to my router (pfsense on 192.168.1.1) which is then connected to a wireless AP (192.168.1.253). A number of PCs pick up the wireless and all is well.I've just received another broken PC that I've kicked into life and was going to run a FreeNAS box with it to back up a number of the PCs on the network. I've actually hooked this up via ethernet to my "server" PC (192.168.1.125 on its wlan NIC). Its all set up so that the server eth NIC (10.42.43.1) is connected to the FreeNAS box (10.42.43.2) and the FreeNAS box can ping both interfaces of the server, the router and the net, and any other box on the 192.16.1.x network. The problem is that I can't for the life of me get any of the 192 boxes to ping the FreeNAS box. I'm presuming its a routing / gateway issue with the server box but being pretty damn hopeless with these things I've been stumbling about breaking things.
My boss gave me the task (on a very tiny budget) of wanting to connect our remote offices to our network. Solution I came up with is Site-to-Site VPN.
I want to use OpenVPN on the Linksys Routers (again very tiny budget) and have them connect to our Cisco ASA5505 Firewall, but I am running into major problems.
Question is, even though they both use IPSec SSL are they compatible? If not, is there a work sround?
So I have 3 home routers, 1 belkin and 2 netgear. I have my ISP internet connection coming into my belkin, which I then have the 2 netgear routers (from their WAN) plugged into Belkins LAN ports. Now the Ubuntu computers I have on Netgear LAN 1 and Netgear LAN2 can get to Belkin just fine (at 192.168.1.1), but I am unable to access a computer on LAN1 from a computer on LAN2 and vice-versa. My Belkin is 192.168.1.1, my Netgear1 WAN is 192.168.1.100 and Netgear2 WAN is 192.168.1.200. I have the netgears both assigning DHCP IP's from range of 192.168.0.100 to 192.168.0.150 on their LAN ports.
Now, I have set Netgear LAN1 port 80 NAT'd to go to one of my computers on it. I try to access 192.168.1.100:80 from a computer on Netgear LAN2 network and it say host unreachable.What am I doing wrong?
I was pondering over whether or not Linksys routers ship with a host file in it...if it doesn't, can you just manually add one via an FTP transmission?
I was going to buy a TP-link wireless router (802.11b/g/n) but while I was reading the consumer's reviews I saw some people were saying that they couldn't make it work with ubuntu. So, I'm starting wandering if there is somewhere any compatibility list? I mean if for instance TP-link or D-link would work with broadcom's chip. I would like to use my laptop's built-in wireless module which is HP Broadcom corp. BCM4306 802.11b/g. My laptop is a HP Pavilion zv6000.
One day I lost my WiFi connection while doing nothing particularly interesting. OK then...I investigate, and I find that it only connects occasionally, and when it does, even then it will render a page almost none of the time. I can't even ping anything. I tried going to the router's config page (192.168.1.254 for this one) and found that even that won't load. I power cycled the router, and it did nothing. I thought that the router was dying, but I realized when I switched to Windows 7 (this is a dual boot machine) it works fine. Also, when I went back to Ubuntu and tried connecting to a neighbor down the block's WiFi, it also works fine (this is what I'm using to post this message.) I did all I could to fix this, even to the point of dismantling the machine and moving cards around and such, but it did nothing. I finally formatted my Ubuntu partition and reinstalled, and it also did nothing. It also doesn't work from the Live CD. The router works fine on all the other computers in the house, wired or wireless, and also my phone and PSP's.
While connected, in Firefox, sites sit at "looking up", "waiting for", or "connecting to". It seems to be at random which one. They all time out, none of them say server not found. I thought it was a DNS problem, so I tried some DNS's I know (Google's, OpenDNS, DNS Advantage etc.) but it did bupkis.One thing I notice is that while connected, I have a fantastic signal strength of about 85%, when before any of this happened, it was more around 70%. I didn't move the antenna anywhere or anything having to do with the reception. Also, once connected, it stays connected, it's just getting it initialized that's the problem, but even while connected it doesn't seem to work well.
This is incredibly frustrating, as I did not change anything with the router at all, in any way shape or form. It just spontaneously decided to not like Linux. The router's model is 2700HG-B.Could it be that my wireless card is dying? I've had the thing for 6 years, and had no sign of it failing. I'm thinking that can't be it because it works with the same computer and network, but with a different OS. Could there be something wrong with the Ubuntu driver for my card, ath5k? I was going to say there's something up with wpa supplicant, because I use WPA-PSK for authentication, but I turned that off from another computer and it still does not work.
Again, the problem is that Ubuntu works with every router I can connect to EXCEPT mine, and Windows 7 on the same machine works with the same router. My router works with every other device in the house. I have changed nothing networking related, and even reinstalling Ubuntu did nothing. I would try it with Ubuntu on another machine, but my machine is the only wireless one in the house (and I can't put Ubuntu on the wired ones, that would PO some people),and I would try it with a different wireless card/USB thingy, but I don't have another one.
EDIT: I got some other Live CDs out, I tried Kubuntu 10.04, and Ubuntu 9.10. NEITHER WORK!
I recently bought a new wireless router to replace my old wireless router. So now I have a spare router. I also have one or two spare NICs around. I read some articles that I can cascade the two routers (connect one LAN port of one router to the WAN port of the other router) so that I can have two subnets such that one subnet is private to the other subnet.I want to create a guest network similar to this configuration such that it can't access other resources. But from what I read, the guest network must be connected to the first router (which is directly connected to the cable modem) and move everything else (i.e, resources that I want to protect) behind the 2nd router.
Well, this isn't what I really want because all the machines behind the 2nd router will be penalized for performance, e.g. NAT will be done twice by each router if any machine needs to access the internet.Since I have a Linux box (running SuSE 11.3), this is what I am thinking and I am not sure if it can be done and I need some advice. I am thinking to install a 2nd NIC on this box, and connect a CAT5 cable from this 2nd NIC to the WAN port of the 2nd wireless router. This little separate network will be my guest network. My goal is to use iptables on the SuSE box to ensure(a) no traffic is allowed from one network to the other network and vice versa. (b) the guest network can share the cable modem to go the internet.I am still picking up the knowledge of iptables so I don't know if this can be done or not
I am working on a cluster for a molecular dynamics class and I have to edit my FORTRAN code (only the newest and best for me!). In order to get through to the cluster I have to ssh in. The network on which the cluster resides is behind a firewall, so I have to ssh through the firewall into the network first.
this is fine, I can login and move files and folders as needed, including sftp-ing into host 1, then into the cluster so I can transfer files from cluster to host and then host to me. This gets rather tiresome, so it would be nice to edit the files in place.
The problem is that when I access my code with emacs it launches the emacs client on Host 1, with no mouse support. I know the purists will howl about how I should be using keyboard shortcuts, but I am a chemist and not a programmer, so the mouse is very nice for me. Is there any way I can perhaps mount the cluster using sshfs so that when I open my code it launches a local instance of emacs? Sorry if this is the wrong forum, but I thought it was network related.