LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-08-2005, 05:50 PM   #1
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Rep: Reputation: 30
FC3 & XP Crossover Conn.


What's up guys,

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?

And just incase,

Code:
C:\Documents and Settings\netbox>ipconfig -all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : secured
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 2:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : NVIDIA nForce MCP Networking Contro
ler
        Physical Address. . . . . . . . . : 00-30-1B-3D-50-DB
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        Autoconfiguration IP Address. . . : 169.254.19.1
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        Default Gateway . . . . . . . . . :

Ethernet adapter Local Area Connection 3:

        Connection-specific DNS Suffix  . : 01s3hart.ct.comcast.net
        Description . . . . . . . . . . . : Linksys NC100 Fast Ethernet Adapter
#2
        Physical Address. . . . . . . . . : 00-03-6D-10-34-51
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 68.42.153.6
        Subnet Mask . . . . . . . . . . . : 255.255.254.0
        Default Gateway . . . . . . . . . : 68.246.208.1
        DHCP Server . . . . . . . . . . . : 172.30.110.34
        DNS Servers . . . . . . . . . . . : 68.39.224.5
                                            68.87.64.196
                                            68.87.66.196
--Abid Kazmi

Last edited by securehack; 06-08-2005 at 05:54 PM.
 
Old 06-08-2005, 08:48 PM   #2
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
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
 
Old 06-09-2005, 10:13 AM   #3
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Original Poster
Rep: Reputation: 30
Quote:
are you assigning the IP address manually? or going to use DHCP?
Obviously =P. Manually.

I just wanted to know which I should use, thanks for the input man.

And I know about private/reserved addresses, 192, 168, 127, etc... =P

--Abid Kazmi
 
Old 06-09-2005, 06:45 PM   #4
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Original Poster
Rep: Reputation: 30
Ok I now need help setting this up:

I tried bridging my two network cards on the internet machine which changed the ip for both of them and the internet did not work.

samba was being a pain as swat wasn't starting up in my browser firefox. Using http://localhost.localdomain:901, http://localhost:901, http://127.0.0.1:901, none of them worked.

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.
 
Old 06-09-2005, 08:36 PM   #5
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installation problems with wine & crossover Nightfrost Linux - Software 0 11-06-2005 07:08 AM
FC3 + MDK 9.2 Crossover DoddyUK Linux - Networking 5 05-17-2005 12:06 PM
configuring knoppix w/internet&crossover bucovaina78 Linux - Networking 1 05-12-2005 09:50 AM
Codeweavers & Crossover Office 65_289 Linux - Software 6 04-13-2005 08:19 PM
Crossover Office 2.0 & Photoshop nowaydown1 Linux - Software 5 01-16-2004 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration