LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-13-2003, 05:53 AM   #1
toadeny
LQ Newbie
 
Registered: Sep 2003
Location: Wellington, New Zealand
Distribution: Fedora Core 3
Posts: 17

Rep: Reputation: 0
cant see linux box


I am ok with networking, but newbie with linux, please help me out, thanks.

I have a winxp box with a onboard lan, works fine.
I have a linux box with a lan card/switch-card combo and it works fine.

The two machines connect fine. I can access the net from linux easy thru the windows box which has the modem.

I have the server installation of apache version 2, the installation of php which works, and mysql(havent tried it yet) i can see the default info setup file when i go h t t p:/ /l ocalhost/ fine.
I can also see it when i go 127.0.0.1 . What im asking is how can i change the ip of my linux box to something like 192.168.xxx.xxx so i can access the server from my windows box.

I played round with the setup without any luck.
Its a fresh install of redhat 9. today cause i thought i would do it to try again.

Thanks.
Once i can get this resolved i have other issues also. lol
 
Old 09-13-2003, 05:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
run "ifconfig" under linux and that will tell you the IP address you have. if you are successfully browing the web you will already have a suitable IP to connect to.
 
Old 09-13-2003, 06:07 AM   #3
toadeny
LQ Newbie
 
Registered: Sep 2003
Location: Wellington, New Zealand
Distribution: Fedora Core 3
Posts: 17

Original Poster
Rep: Reputation: 0
I dont understand what you mean.
I went to linux, went run, ifconfig. nothing happened.

I want to be able to from windows type the linux box's ip and see whats on the server. When i type the ip 127.0.0.1 i redirected to the windows box, as its ip is default to 127.0.0.1 also. (terminal ping localhost) i get that address. How can i change it to something else.

I dont think having a connection to the net is neccessary at this stage, (it does originate from the xp box) i wish to use this for testing php locally.
 
Old 09-13-2003, 06:16 AM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
127.0.0.1 is always yourself, aka localhost. And 192.168.x.x are always private network addresses iirc, not world accessable. Try reading up on tcp/ip and networking a bit maybe?
 
Old 09-13-2003, 06:25 AM   #5
toadeny
LQ Newbie
 
Registered: Sep 2003
Location: Wellington, New Zealand
Distribution: Fedora Core 3
Posts: 17

Original Poster
Rep: Reputation: 0
ok, so where do i go to tell linux what ip it is to accept connections on. cause i cant connect to it via 127.0.0.1 from my other machine. obviously. thanks for pointing that out.

what do i need to do then ? i tried telling apache config to listen on 192.168.0.8 (for example) then i went to services. restarted it and it said it could not bind the ip and initialize.

what do i have to do to be able to see the apache host dir from my other windows xp networked machine ! ?
 
  


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
Troubleshooting Slow Transfer Speed Between Linux Box and Windows Box timswim78 Linux - General 1 10-23-2005 11:45 AM
Linux box with eth0 to cable modem and eth1 to Windows box videojeff Linux - Networking 23 03-03-2005 07:58 PM
Password Message Box when accessing linux box from Window Machine mikeccs Linux - Networking 1 08-04-2004 05:47 AM
Transfairing files from windows xp box to mandrake linux 10.0 box. tyledogg Linux - Newbie 4 07-25-2004 11:24 PM
Linux box calling a batch script on a windows box to run? Is it possible? joelhop Programming 8 05-17-2004 04:49 PM

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

All times are GMT -5. The time now is 04:39 AM.

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