-
Junior Member
registered user
connecting 2 knoppix computers with crossover
Hi Can anyone tell me what I have to do (in bash) to connect two computers with a crossover LAN cable?
So far I did
ifconfig eth3 192.168.10.10 on one box and
ifconfig eth0 192.168.10.11 on the other box
in 192.168.10.11 i typed "fish://192.168.10.10" and it says that it doesn't work. What did I forget to do?
-
Senior Member
registered user
You could post the result of an ifconfig from both machines.
Open a Konsole and just type ifconfig. Here's mine. Notice it says UP.
eth0 Link encap:Ethernet HWaddr 00:50:8D:4F:99:23
inet addr:192.168.1.110 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:8dff:fe4f:9923/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:545040 errors:0 dropped:0 overruns:0 frame:0
TX packets:527401 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:209866582 (200.1 MiB) TX bytes:118292439 (112.8 MiB)
Interrupt:18 Base address:0xa000
You might be able to get away with
ifconfig eth0 up
ifconfig eth3 up
then try to ping the other machine.
Now about using fish://
I could be wrong, I never use the protocol myself... but I believe it requires the SSHD daemon to be running on at least one machine... the destination machine I would guess. And that requires some basic setup, I believe ssh-keygen makes the public/private keys on a per machine basis. And after you do that, as the root user I would guess, ssh may be able to manage the keys.
Let's see what ifconfig ethx up, and then a ping does.
-
Administrator
Site Admin-
I don't expect that just the ifconfig ... up commands are going to do it, you'll likely at least need to assign unique ip addresses (with netcardconfig and taking the "no" option for DHCP). However, if you have a router, use that, as it will do all of the assignments automatically (and you can use standard cables w/o the need for an xover cable). The systems don't have to actually be connected to the Internet for this to work. And if you don't have a router, shame on you, get one. They are extremely critical for safe Internet access (particularly if you ever run Windows, but Linux has it's vulnerabilities too). If you have a DSL modem with a built-in router but only one rj-45 jack, buy an inexpensive small 5 or 8 port switch rather than another router.
About the only reason that I could understand wanting to use a xover cable for this purpose is if you were still using dial-up. And even then, if it were me I would consider how long I intended to stay in the last millenium of technology and consider a cheap router rather than a xover cable for a local network.
---
Verifying of md5 checksum and burning a CD at slow speed are important.
-
Senior Member
registered user
Yes, netcardconfig will surely do it... which is available from the Knoppix icon on the Desktop's startbar(either quicklaunch or popup Kmenu.) No to DHCP as well. I use it a lot myself. Since the menuitem has changed from Knoppix 5.1.1 in 5.3.1... I'll hold of on the directions to find it... and say you can run netcardconfig from the K popup menu, and pick "Run Command", and then type in netcardconfig. It will allow you to enter the information manually. You would need to know what to say.
IP address:192.168.10.10
subnet MASK: 255.255.255.0
default GATEWAY 192.168.10.1( maybe 0.0.0.0 will not be rejected) though interesting to know if setting it to 192.168.10.11 works well.
DNS server 192.168.10.1 (same here for 0.0.0.0)
IP address:192.168.10.11
subnet MASK: 255.255.255.0
default GATEWAY 192.168.10.1( again... maybe 0.0.0.0 will not be rejected) and/or maybe setting this one to 192.168.10.10 or 11 if 10 causes a loop.
DNS server 192.168.10.1 (same here for 0.0.0.0)
This really depends on what you want to do once connected. If ping works, and you have setup the ssh daemons
(started by the root user executing /etc/init.d/sshd start) you should be able to do some basic things. If you get a router... you could use DHCP and save yourself a lot of troubles. Even a cheap one will do that for you. Harry is right. You should have one.
Similar Threads
-
By Aspra in forum Networking
Replies: 5
Last Post: 01-31-2006, 06:36 PM
-
By Claude Routhier in forum The Lounge
Replies: 3
Last Post: 02-16-2005, 06:15 AM
-
By rail_man in forum Networking
Replies: 2
Last Post: 12-29-2004, 01:05 PM
-
By 0x65destroyer in forum Networking
Replies: 5
Last Post: 11-18-2003, 04:13 AM
-
By probono in forum General Support
Replies: 0
Last Post: 05-07-2003, 06:02 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Supermicro E200-8D Mini Server Xeon D-1528 6-Core 64GB ECC 1TB SSD 2x10GbE IPMI
$525.00

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS
$164.97

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*
$369.99

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server
$689.00

Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter
$225.00

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$250.00