Computing.Net > Forums > Linux > Re: Lan from windows to linux

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Re: Lan from windows to linux

Reply to Message Icon

Name: networkdevo
Date: January 31, 2004 at 00:21:52 Pacific
OS: RH8.0
CPU/Ram: 2.6/512
Comment:

I hv 2 comps on 1 i hv RH8.0 installed and the other xp is installed i want to enable a lan connection on linux ( to access the net) how can i do it???



Sponsored Link
Ads by Google

Response Number 1
Name: secrets
Date: January 31, 2004 at 11:18:55 Pacific
Reply:

Dear Raja you did not explain do you want to share some thing between them or just want to use net between.
although you have to configure squid on linux to enable other machine to use net from the linux machine. the easist way to configure squid is by using webmin.
secondly if you just want to enable sharing b/w linux machine and xp machine then you have to define samba server.


0

Response Number 2
Name: networkdevo
Date: February 1, 2004 at 05:45:17 Pacific
Reply:

Dear Secrets,
I want sharing of filesand using the net between them
Rgds
Raja


0

Response Number 3
Name: astralbaby
Date: February 1, 2004 at 16:16:59 Pacific
Reply:

well.. what I would do is use a router and assign redhat and windows its own ip and do it that way.. i assume that you have a broadband connection and a network card in each computer?

If you do.. you have to configure your redhat eth0 IP settings.. you must know or find out the primary,secondary, and tertiary DNS info.. you can call yor isp for this.. and the domain name.. use a netmask of 255.255.255.0 and the gateway is the routers IP.. which is the IP used to login to your router to set settings and such.. also.. you must not use DHCP in router.. assign your XP box and LINUX box there own IP addresses.. in winodws make sure it does not get IP address automaticly and fill in the info similar to your redhat box.. then reboot your xp machine..

then make sure samba is installed on your redhat box.. you will know this by either looking at the packages installed.. or looking at the services in your server settings..

goto users and groups in redhat and create a new user.. remember the name

now goto /etc/samba/smb.conf

edit workgroup name to reflect the name of your current workgroup..

edit server string (connection description)

description of workgroup member

uncomment hosts allowed by erasing the ; and delete all hosts and add the ip of your windows box

save document

now goto a command line

type the following at the command line to create passord file

# cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd

then chmod the file to only allow root access

chmod 600 /etc/samba/smbpasswd

finally type the following to set password for user created above

smbpasswd new_user_name_from_above

it will prompt for password and confirm again..

good.. username is set and passowrd for user is created...

now click on

redhat> server settings> services

scroll down untill you see SMB

highlight and check...

now click save then start

dialogue box opens... just click ok.

now.. go over to your windows box and reboot.. then look at your network and you should now see a new network connection with the description of which you typed above..

done.. now you can transfer files over to your linux box from windows.. no need for ftp..!!


P.S.

you do not have to create the new user in windows... only linux..


0

Response Number 4
Name: networkdevo
Date: February 28, 2004 at 23:18:01 Pacific
Reply:

Dear astralbaby,
Thanx man it worked !!!!!! thanx a lot
Rgds
raja


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Re: Lan from windows to linux

File Transfer from windows to Linux. www.computing.net/answers/linux/file-transfer-from-windows-to-linux/8924.html

Moving files from Windows to Linux www.computing.net/answers/linux/moving-files-from-windows-to-linux/16702.html

From Windows to Linux www.computing.net/answers/linux/from-windows-to-linux/9830.html