Fedora Linux Support Community & Resources Center
  #1  
Old 31st July 2008, 01:24 PM
marcosaluzzo Offline
Registered User
 
Join Date: Jul 2008
Location: Torino
Age: 37
Posts: 41
Advice need for Apache / Samba / USB Crossover cable configuration

Hi all,

currently have two PC's with XP installed that are connected by a USB crossover cable. On my 'main' PC I have all my folders/files that are share with the second computer, apache server, mysql server and printer. When both computers are switched on, from the second computer you can access the main computers directories that have been shared, print documents and via internet browser access the apache server.

Both computers connect directly to the internet via router. Therefore both computers have two network connects. The internet connection is DCHP and the IP address is assigned by my ISP.

The second network connection is for the USB cross over connection. In this case I have selected a fixed IP for both computer. For the 'main' computer the TCP/IP address is 192.168.1.100 and for the second computer the address is 192.168.1.101

I have configured the apache server on the main computer to use address 192.168.1.100. If you type 192.168.1.100 on both computers in the web browser you open the root directory of the server.

My plan is to substitute my main computer with a new computer with Linux but keep the above setup as much possible. I have installed Fedora 9 x64 and everything seems to be working correctly. Currently there is localhost.localdomain. I have a 'root' user and main user 'james'. The apache server is running correctly on 127.0.0.1.

Can anyone give my any advice to recreate the setup described above. I know I need to install samba. How do I need to configure different IP addressed for the various services?

Let me know. Thanks
Reply With Quote
  #2  
Old 31st July 2008, 01:36 PM
oneofmany Offline
Registered User
 
Join Date: Aug 2006
Posts: 226
dont really understand what you're trying to do. You just want to substitute your "main" pc with your new linux box and have it do exactly the same job?

i've never done usb networking so i can't help you with that element. as for everything else, i can't see any reason why the networking aspect shouldn't work out of the box so long as you're using dhcp.

if you want to give other users access to the files on the linux box you will have to use samba. Apache should already be listening on all interfaces if i recall correctly. if not, you need to add

Code:
BindAddress *
to your httpd.conf file to listen on all interfaces. alternatively, replace the "*" with the ip address of the interface you want to listen on

if you are sharing printer you should configure cups and which you can get to from http://localhost:631 if memory serves
Reply With Quote
  #3  
Old 31st July 2008, 03:17 PM
marcosaluzzo Offline
Registered User
 
Join Date: Jul 2008
Location: Torino
Age: 37
Posts: 41
Exactly that. My linux box replaces my main PC, and acts file server, print server and local internet server for testing for both my main and my secondary computer which will keep XP
Reply With Quote
  #4  
Old 31st July 2008, 04:11 PM
drokmed Offline
Registered User
 
Join Date: Jul 2008
Location: St Petersburg FL USA
Posts: 151
USB crossover cable?
__________________
Fedora 9 :cool: (x86_64) (x86_64 Updates) (Livna Base) (KDE4.1 from TESTING)

"History is written by the Victors" -- the Klingon High Counsel, Qo'noS
Reply With Quote
  #5  
Old 2nd August 2008, 04:04 PM
marcosaluzzo Offline
Registered User
 
Join Date: Jul 2008
Location: Torino
Age: 37
Posts: 41
I would like to know if I can use a 2.0 UBS network cable. To see exactly what I mean http://www.usbgear.com/CANET103.html .
Reply With Quote
  #6  
Old 2nd August 2008, 04:21 PM
drokmed Offline
Registered User
 
Join Date: Jul 2008
Location: St Petersburg FL USA
Posts: 151
Quote:
Originally Posted by marcosaluzzo
I would like to know if I can use a 2.0 UBS network cable. To see exactly what I mean http://www.usbgear.com/CANET103.html .
I gotta get out more, never heard of those.

How long have those been around?
__________________
Fedora 9 :cool: (x86_64) (x86_64 Updates) (Livna Base) (KDE4.1 from TESTING)

"History is written by the Victors" -- the Klingon High Counsel, Qo'noS
Reply With Quote
Reply

Tags
advice, apache, cable, configuration, crossover, samba, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting two Fedora pcs with one crossover cable tech291083 Servers & Networking 3 16th October 2006 03:48 AM
if i use the crossover cable, how can i assign the IP ? jcal Using Fedora 1 30th October 2005 05:02 AM


Current GMT-time: 03:27 (Saturday, 25-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Mogi Guacu Instagram Photos - Tlaquiltenango - Pak Phanang Travel Photos on Instagram