You are not logged in.
Hello,
I'm trying to set up two computers (one Windows 8.1 and one Arch) just connected with an ethernet cable. Is it possible to create an Ad Hoc network between them?
I'm so far as being able to add addresses (IP, broadcast, subnet) and the gateway, but can't figure out to correctly do it (I so far tried to use human understanding and this wiki site:
https://wiki.archlinux.org/index.php/Ne … assignment
With a setup like this:
Linux:
IP: 192.168.1.2
Subnet (CIDR): 24
broadcast: 192.168.1.255
gateway not yet set / can be set randomly
Win:
IP: 192.168.1.3
Subnet: 255.255.255.0
Gateway: 192.168.1.2 (Linux' IP)
I managed to ping from the Windows PC the IP "192.168.1.2" but as I'm not experienced in networking I'm kinda unsure whether this really sent the stuff to the Linux machine but not to itself (or other crazy stuff).
Does anyone of you have any idea how to that?
EDIT: Can't use Wi-Fi for a bunch of reasons
Last edited by LeonardK (2015-03-29 18:55:01)
If you can ping the linux machine from windows (and the other direction), then you should have your network. A gateway is only necessary if you have a conenction to another network, e.g. the internet. Please read Internet_sharing to enable that.
Edit: If you want to test it better than a ping, then run some simple server on one machine and a simple client on the other. For example use an socat echo service on linux:
socat PIPE TCP-LISTEN:8080
Then on windows connect with telnet and watch as each line you send comes back at you.
Last edited by progandy (2015-03-28 16:04:11)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Edit: If you want to test it better than a ping, then run some simple server on one machine and a simple client on the other. For example use an socat echo service on linux:
socat PIPE TCP-LISTEN:8080
Then on windows connect with telnet and watch as each line you send comes back at you.
The thing is, I don't even can ping the windows IP from my Linux laptop, so if there's a connection it's one-sided (which doesn't make sense, as the packages com back). My doubt - yet - was that the Windows installation was just having fun pinging itself in a way^^.
I will try setting up a "test-server" tomorrow, if I find time; thanks for the suggestion.
Okay, just found out: The pinging didn't work because of the Windows setup not answering. Just booted into Arch and it worked. Maybe it was the firewall, which is, next to other stuff, broken - which in turn is exactly the reason I wanted to backup the Windows stuff over nework.
So, I could now manage to access my Linux PCs samba-share via Windows and copied it all over - works!
Will mark this as solved now.