Re: newbie: setting up home network

From: Mark Rush (msr714_at_yahoo.com)
Date: 11/12/03


Date: Wed, 12 Nov 2003 14:23:11 -0600

Mark Rush wrote:
> lupher cypher wrote:
>
>> Hi,
>> I have LAN with 2 computers connected via router to DSL. One machine
>> runs WinXP, the other one RH9. How a newbie would go about setting up
>> a home network (i.e., I want to share files between machines and use
>> the printer on WinXP machine to print from RH9). I'm a bit confused
>> but is workgroup in WinXp the same as domain name and computer name
>> (wxp) the same as localhost? Also, if I were to use the printer on WXP
>> machine, I hope I don't need any drivers for that printer on RH9, do
>> I? (because the reason I want to print it from that machine is that I
>> don't have a driver for RH9).
>>
>> Thanks!
>> luph
>>
>
> As far as the printer drivers go, yes, you'll still need the right RH9
> printer driver. RH9 comes with quite a huge list of printers it
> supports - are you sure yours isn't in its list?
>
> Whether linux or Windows, the pattern is computername.domain_name. As
> you may know, the computername is entirely arbitrary - it can be
> anything you want, so long as it is not the same as another computer's
> name already on the network. The domain name can also be anything you
> want, but must be the same for computers all on the same network.
>
> Networking and sharing files between Linux and Windows is done with
> samba. The file you need to look at and edit is /etc/samba/smb.conf.
> (Don't be afraid - you can always save a copy as, say, xsmb.conf as a
> backup if you get nervous.) There is a LOT you can do with this file,
> but actually for your purposes there is very little you need to do.
> Here's what I do to get file sharing between my linux box and my XP
> boxes - in smb.conf, do the following:
>
> 1. Under Global Settings, look for the 'workgroup =' line and change it
> to look like this:
>
> workgroup = WORKGROUP
>
> (Replace WORKGROUP with whatever your chosen workgroup/domain name is,
> if different. If your domain name is margesimpson, then it would be
> 'workgroup = MARGESIMPSON')
> 2. Go down a few lines to 'hosts allow =' and change it to look like this:
>
> hosts allow = 192.168.0. 192.168.1. 192.168.2. 127.
>
> 3. Skip all the way down to Share Definitions and add this section,
> under the [homes] section:
>
> [public]
> comment = Public Folder
> path = /home/public
> browseable = yes
> public = yes
> writeable = yes
> guest ok = yes
>
>
> This gets you a publicly readable and writeable folder in /home/public -
> in other words, a folder to be visible and accessible from your Windows
> box. (Go to /home and create a folder 'public' before you forget.) You
> can of course name the folder whatever you want, I'm just showing you
> what I do - the minimum - and you can take it from there.
>
> 4. Save and exit. But have a good look at the file smb.conf, because
> it pretty much tells you how to configure it and what options you have.
>
> 5. Open up a terminal and enter this:
>
> smbpasswd -a root password
>
> replacing 'password' with your root password. You will get some message
> about creating a file or whatever, but then it will say "added user
> root". Next type:
>
> smbpasswd -e root
>
> and it will say, "enabled user root'.
>
> If you are also, say, a user with username 'newbie', you'd also want to
> enter:
>
> smbpasswd -a newbie password
>
> and
>
> smbpasswd -e newbie
>
> to enable it. Do this for each user you have.
>
> I think that about does it. I'm sure there are probably better and more
> elegant ways to do it, but it works.
>
> Mark
>

Sorry, forgot to mention that you need to change the linux box's domain
name so that it matches your XP box's domain name. Do this in
"Start">System Settings>Network. On the DNS tab, if your
workgroup/domain name is 'workgroup', change the Hostname to
yourchosencomputername.workgroup. Go to the Hosts tab and add a new
entry, using 127.0.0.1, yourchosencomputername.workgroup, and
yourchosencomputername respectively.

Mark



Relevant Pages

  • Re: newbie: setting up home network
    ... >> the printer on WinXP machine to print from RH9). ... >> but is workgroup in WinXp the same as domain name and computer name ... but must be the same for computers all on the same network. ...
    (linux.redhat)
  • Re: newbie: setting up home network
    ... >> the printer on WinXP machine to print from RH9). ... >> but is workgroup in WinXp the same as domain name and computer name ... but must be the same for computers all on the same network. ...
    (linux.redhat)
  • Re: newbie: setting up home network
    ... >> the printer on WinXP machine to print from RH9). ... >> but is workgroup in WinXp the same as domain name and computer name ... but must be the same for computers all on the same network. ...
    (alt.os.linux.redhat)
  • Re: newbie: setting up home network
    ... > printer on WinXP machine to print from RH9). ... > workgroup in WinXp the same as domain name and computer name the ... but must be the same for computers all on the same network. ... replacing 'password' with your root password. ...
    (linux.redhat)
  • Re: newbie: setting up home network
    ... > printer on WinXP machine to print from RH9). ... > workgroup in WinXp the same as domain name and computer name the ... but must be the same for computers all on the same network. ... replacing 'password' with your root password. ...
    (alt.os.linux.redhat)

Loading