-
How to setup LAN?
I'm still a rookie at this linux stuff. :)
Okay... I'm making my own server and I need a fast file transfer betwen 2 local computers (my server and my other pc).
The best way to transfer files betwen 2 local computers is by using Local Area Connection.
I know how to setup a network connection in Windows, but I'm having problem setting it up in linux (Debian), can anyone help me?
Any help would be appreciated.
-
Go to system->Administration->Network.
If it is grayed, click the unlock button and give your password.
You must edit the "wired connection". Click properties and then disable the roaming mode. Select dhcp or static ip and give the configuration you would give in windows. For windows and Linux to connect you must have samba server installed. To install it type in terminal:
Code:
sudo apt-get install samba samba-common smbclient nautilus-share
Or you can find those packages in system->Administration->Synaptic.
An important step is to change the following in /etc/samba/smb.conf
Code:
sudo nano /etc/samba/smb.conf
Find the line that says workgroup and change it to the workgroup name you have in the windows pc, for example make it like workgroup=homenet
-
I only have the basic system. I don't have desktop.
How can I set it up with commands?
-
Assuming your NIC is detected by the OS, Debian's network config is:
Code:
/etc/network/interfaces
Example below:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.XX.XX.XX
netmask 255.255.252.0
network 10.XX.XX.XX
broadcast 10.XX.XX.XX
gateway 10.XX.XX.XX
auto eth1
iface eth1 inet static
address 192.168.XX.XX
netmask 255.255.255.0
network 192.168.XX.XX
broadcast 192.168.XX.XX
Notice the comment about "see interfaces"
-
hi im new at linux.
i just installed fedora .
i have 4 others computer all are running linux as well.
i would like to connect them , i mean LAN.i did it when it was windows.
can somebody please help me how can i do this with every instruction.
i am not sure if this is the right area to post.
please reply
thanx