-
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

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$75.99

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5" SATA Drives External Array
$55.00

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure
$119.99

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95

NVME M.2 Adapter Card PCIE X16 Splitter Expansion Controller 4-Disk Soft RAID
$24.43

Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board
$300.00

CalDigit VR minin 2 Portable Raid Storage On The Go
$75.00