How can I setup a network with a Windows 7 and Linux machine?

Harvey Victor Spector May 23, 2013
Pinterest Stumbleupon Whatsapp

I have a desktop with Windows 7 wired connected to my wireless router and a laptop with Linux also wired connected to the same wireless router. I would like to setup a small home network. Please advice.

  1. Tomkcpr
    July 25, 2013 at 2:22 am

    A good router is key. Try the sources on this page on setting stuff up with Linux / Windows in the home.

    wordpress.com/wp/

    http://microdevsys.com/wp/linux-windows-networking-configuring-and-securing-a-router-for-wireless-and-wired-networks/

    And if you want to get fancy with an HTPC:

    http://microdevsys.com/wp/htpc-backup-home-server-solution-using-linux/

    and a step-by-step on sharing the whole thing.

    http://microdevsys.com/wp/networking-sharing-folders-between-windows-and-linux-using-samba/

    And if you need to setup multiple routers to cover your space well, then there's a dual router setup as well:

    http://microdevsys.com/wp/dual-gateway-router-setup-with-dd-wrt-and-tp-link-tl-wr1043nd/

    etc etc.

    Regards,

  2. Donald S
    June 12, 2013 at 3:39 pm

    All I did for this was use home network sharing in windows and in ubuntu used the "connect to server" and input the url of the shared folders and vice versa. Not too hard to do it is all about sharing the files or folders.

  3. itsprite
    June 6, 2013 at 1:59 pm

    If you want to share files between windows and linux system, you can setup samba server to resolve it.

    http://itsprite.com/fedora17linux-install-and-configure-samaba-server/

    [copy & paste from website removed]

  4. Rajaa Chowdhury
    May 24, 2013 at 1:05 am

    How to Set Up a Home Network Between Linux & Windows

    You can set up a home network complete with a shared file server and print server by installing the Common Unix Print Services (CUPS) and Samba on a Linux desktop. Since Linux can run on minimal hardware and a file and print server does not need a lot of memory or CPU resources, you can use an old desktop that you would normally send to the trash. However, you will need a large hard drive to hold everyone's files.

    Instructions
    1
    Install Samba and CUPS on the Linux computer. Use your graphical package manager or command line tools.

    2
    Configure CUPS to use your printer. Use the web-based graphical interface by typing "http://localhost:631" in your browser.

    3
    Stop the Samba services:
    sudo /etc/init.d/samba stop

    4
    Move the default configuration file to a backup:
    sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.bkup

    5
    Create a new smb.conf file. Issue the following command:
    sudo gedit /etc/samba/smb.conf
    Then, either make a new configuration file by following the Samba documentation or copy and paste the following example into the editor. Make sure you change the parameters to reflect your network.
    [global]
    workgroup = WORKGROUP
    netbios name = MYNAME
    security = user
    null passwords = true
    username map = /etc/samba/smbusers
    hostname lookups = yes
    hosts equiv = /etc/hosts
    hosts allow = 192.168.0.0/255.255.255.0 localhost
    hosts deny = All
    interfaces = lo eth0
    bind interfaces only = yes
    guest ok = yes
    printing = CUPS
    printcap name = CUPS

    [printers]
    comment = All Printers
    browseable = no
    printable = yes
    writable = no
    public = yes
    guest ok = yes
    path = /var/spool/samba
    printer admin = root

    [DEFAULT PRINTER]
    comment = PRINTERNAME
    printable = yes
    path = /var/spool/samba
    public = yes
    guest ok = yes
    printer admin = root

    [PUBLIC]
    path = /HOME/PUBLIC
    browseable = yes
    read only = no
    guest ok = yes
    public = yes
    create mode = 766

    [home_directories]
    path = /home/%U
    read only = no
    valid users = %U root

    6
    Test the smb.conf file with the following command:
    sudo testparm

    7
    Add additional users to the Samba server:
    useradd -c "New User" -m -g users -p Passwd1 newuser
    The useradd options are as follows:
    -c is the comments section which is used for the user's Full Name
    -m says to create the user's home directory
    -g is the group name for the user's initial login group
    -p is the user's password

    8
    Let Samba know about the users:
    sudo smbpasswd -a newuser

    9
    Map the Windows network drives. On the Windows machine, click on "Start" and right-click "My Computer." Select "Map Network Drive," choose a drive letter and type \netbios nameuser. This will map a drive to the user's home directory on the Linux machine.

    10
    Add the printer to the Windows machine. Use the Windows "Add Printer" utility.

    Source : http://www.ehow.com/how_5104315_set-network-between-linux-windows.html

  5. ha14
    May 23, 2013 at 6:36 pm

    Configure Samba Sharing between Ubuntu and Windows (Screenshot Tour)
    http://www.noobslab.com/2012/03/configure-samba-sharing-between-ubuntu.html

  6. Chris Marcoe
    May 23, 2013 at 6:32 pm

    You already have a small network. Computers, connected together for communication, is a network. Are you asking how to set up something more like a work group? (From reading, it seems that only Windows will work in a Home group.)

    Try reading through this. Sounds like it might be what you need.

    http://www.liberiangeek.net/2012/03/filesharing-in-windows-7-and-ubuntu-12-04-precise-pangolin/

    Set up a work group and share with anyone.

  7. Bruce Epper
    May 23, 2013 at 6:16 pm

    If both machines are connected to the router at the same time, you already have your network. If you want to share files between the two devices, you will need to make sure Samba is running on the Linux machine. It can be installed on Debian-based systems with 'sudo apt-get install samba' or on RedHat-based machines with 'yum install samba' from the root account.

    If you have other requriements, you need to be much more specific in your question.

Ads by Google