Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had setup FC3 a few days back and have just gotten time off from school.
1st Box:
AMD
Windows XP Professional SP1
Built-in 10/100 ethernet card - One crossover connected.
Linksys NC100 Fast Ethernet 10/100 - Using as internet.
2nd Box:
Intel
Fedora Core 3
Built-in 10/100 Ethernet - The other crossover connected.
I have a CAT5 crossover cable and I want to network both of them so that the FC3 can access Win shares and get internet and Win can get FC3 shares. Now I was wondering if I should use smb or just trying netconfig?
are you assigning the IP address manually? or going to use DHCP?
I found that I had many problems using crossover with XP when trying to use the inbuilt DHCP server that comes with Windows.
You will need to enable Internet Sharing on your Windows Box on the relevant Connection and I would suggest manually entering IP address. You will have an External IP and an Internal. (internal usually 192.168.***.*** but I use a 10.0.0.* range at home just to be different :P)
For the folder shares yes you will need to configure samba. Not sure if this will help but I attached my example smb.conf file for you to look at you wont be using security = domain but have a look through the samba site to see how to configure.
Code:
[global]
workgroup = MYDC
netbios name = websvr
server string = websvr
encrypt passwords = Yes
unix password sync = yes
null passwords = yes
security = domain
[netlogon]
path = /home/netlogon
comment = Netlogon
public = yes
writeable = no
browsable = no
# hosts allow = 192.168.1.37
[www]
path = /www
valid users = chris
comment = Website Directory
public = no
writeable = yes
browsable = yes
# hosts allow = 192.168.1.37
[homes]
valid users = %S
read only = No
browseable = No
Used netconfig and set it to automatically obtain an ip. Nothing worked.
Can anyone give step-by-step instructions on how I can setup file and internet sharing fc3 and xp?
And it doesn't HAVE to be samba. I personally would keep NIS/NFS as an alternative because this is only one computer for home use, not a network of boxes.
Thanks,
--Abid Kazmi
Last edited by securehack; 06-09-2005 at 06:46 PM.
well i dunno about NIS but NFS is used to share between Unix system so this wont do.
You shouldnt need to use SWAT just modify my conf file i posted, replace your (backup first) smb.conf and then restart samba. It should work after that.
In terms of bridging Im not sure what your doing there but stop it :P
On your XP box
go to your Connections folder and set the connection you want to share as a Shared Connection (makes sence) this will usually modify your ipconfig setings to make your internal eth card 192.168.1.1
now do an ipconfig /all and get your internet DNS settings. Because you not using DHCP you will need to input your DNS settings into your Linux box.
On your Linux box
Set your IP, Subnet and Gateway AND DONT FORGET YOUR DNS
i wont go into details here as u seem to know a bit
If you have a firewall on your windows box make sure the rules allow the linux box to connect.
If you still can not then:
+ Can you ping the linux box from windows? Vice-Versa?
+ Can you access the SMB share (supposing u did what I said before)
use netstat on your windows box to view incoming traffic
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.