Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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???

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.

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..

![]() |
![]() |
![]() |

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