-
How to network 2 Linux HD installs?
Ok, I spent the big bucks and bought myself a new computer. As you would expect, the first thing I did was to install Kanotix on it!!
So now I have two computer, both running Kanotix 2005-1, both with built-in 10/100 ethernet support. One computer is connected to an external 56k modem (no high speed internet I'm afraid). I'd like to connect the two computers and:
1. Share files back and forth,
2. Allow the 2nd computer to access the internet at the same time as the first one.
Can anyone tell me how? Any n00b tutorials?
Thanks!!
-
Question 1, the options are fairly exensive.
I'm not going to give you a tutorial on them, but I would think about googling on:
samba (smbmount a samba share - this would also be what you want with windows)
NFS (mount a nfs exported linux share)
ftp (set up an ftp server on one of the boxes and use that)
http (put the files you want to share on a web server on one of theboxes, and use your browser to grab them)
SSH (use sftp or scp)
rsh (remote shell)
rcp (remote copy)
I'm sure there are others that don't pring immediately to mind.
Question 2.
Look at IP_Masq, NAT on http://www.tldp.org
-
For connecting u might need a cheap switch/hub (8 port hub) recommended, or go for single crossover ethernet cables.
Cost less than, hub/switch also economical, but prevents the network from enlarging further.
Then use NFS or Samba to share files back n forth...
For NFS , you need to edit a file called /etc/exports. (edit using vi)
Add the IP and the share name, with permissions required.
To use samba, u need to config smb.conf
just try whereis smb.conf in konsole (in kanotix)
details on config'ing samba will be given inside the smb.conf file.
For further tuts, google.
-
For connecting u might need a cheap switch/hub (8 port hub) recommended, or go for single crossover ethernet cables.
Cost less than, hub/switch also economical, but prevents the network from enlarging further.
Then use NFS or Samba to share files back n forth...
For NFS , you need to edit a file called /etc/exports. (edit using vi)
Add the IP and the share name, with permissions required.
To use samba, u need to config smb.conf
just try whereis smb.conf in konsole (in kanotix)
details on config'ing samba will be given inside the smb.conf file.
For further tuts, google.
-
Administrator
Site Admin-
Originally Posted by
gnukish
For connecting u might need a cheap switch/hub (8 port hub) recommended, or go for single crossover ethernet cables.
Cost less than, hub/switch also economical, but prevents the network from enlarging further.
Just putting my 2 cents worth on networking in. Yes, a switch is a better choice that cross over cables. If the system is or will be on a high speed connection, a router with a built-in 4 port switch is even a better choice. It will provide a number of benefits including Internet connection sharing, firewall, and more. If needed, ports an be expanded beyond the 4 wired ports on a router with switches or hubs. Switches are almost always the better choice, except in one case. A hub will let you "sniff the wire" and examine packets in a way that a switch will not. It can be handy to do this to solve some complex networking problems, or just to learn more about networking protocols. Yes, there is good packet sniffing software right in Knoppix (ethereal) that you can do this with. And I would hire someone who can actualy solve problems by getting out sniffing software and examining packets over someone who memorized answers for a certification test any day of the week.
As for switches, 5 port switches are currently dirt cheap and usually cost less per useable port than 8 port switches. And give you more flexabaily in location, I suggest most users who don't reason to do otherwise buy 5 port switches. If you have particular network needs that merit 8 port (or larger) switches, you'll know it.
Recently I've seen swtiches as low as $10 (US) and routers with built in switches as low as $5, after rebate. And the routers even usually include one network cable that some sellers might try to charge you that much for just for the cable!
Similar Threads
-
By RHCA in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 01-11-2007, 09:41 AM
-
By obnascar in forum Klik
Replies: 5
Last Post: 06-12-2005, 04:39 PM
-
By ZeroKun in forum General Support
Replies: 0
Last Post: 05-22-2004, 10:56 PM
-
By Stewart Baker in forum Networking
Replies: 3
Last Post: 02-10-2004, 07:10 PM
-
By jdong in forum The Lounge
Replies: 2
Last Post: 08-28-2003, 06:16 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
Handheld Cordless Car Vacuum: 14000PA High Power, Lightweight, Black
$36.79
Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home
$9.97
Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust
$30.95
Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home
$10.87
Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit US
$13.68
Compressed Air Duster with Air Blower 100000RPM Vacuum Cleaner and Air Duster
$38.99
Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust
$29.99
Electric Mini Cordless Air Duster Blower Vacuum Cleaner for Computer/CarCleaning
$17.58
2-In-1 Air Duster & Vacuum 60000 RPM Rechargeable Auto Computer Keyboard USB
$26.95
KLIM Cool Laptop Cooler Fan, Portable Quiet Cooling Vacuum w/Display - BLUE LED
$15.95