Find the answer to your Linux question:
Results 1 to 5 of 5
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    4

    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.

  2. #2
    Linux Enthusiast L4Linux's Avatar
    Join Date
    Sep 2008
    Location
    Greece
    Posts
    583
    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

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Posts
    4
    I only have the basic system. I don't have desktop.

    How can I set it up with commands?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,763
    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"
    Code:
    man interfaces

  6. #5
    Just Joined!
    Join Date
    Feb 2009
    Posts
    1
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •