SunQuest
           Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old February 12th, 2003, 05:20 AM
robot1's Avatar
robot1 robot1 is offline
In the midst of insanity
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 171 robot1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 36 m 3 sec
Reputation Power: 8
Network XP laptop and Red Hat box

Hello

I am a complete newbie to networks and don't really have a clue. Have searched this forum but haven't found an easy (layman termed) solution yet!

Anyway...... I just want to network my XP laptop with my linux box running Red Hat. I've got some network cable and have plugged in to both machines network cards. I have set the IP address on windows. How do I do it on Linux? AND even though the cable is plugged in on the laptop, it still tells me that : "Local Area Connection - A network cable is unplugged". What software do I need to use to see each machine?

Please can somebody help me, I don't know what the hell I'm doing!

Thanks
__________________
Take it easy - but take it!

Reply With Quote
  #2  
Old February 12th, 2003, 07:52 AM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Possibly the cable is of the wrong sort. You need a crossover cable rather than a straight network cable. With a crossover cable the cores go to different pins, ask someone who knows about network cables to explain this (or just go out and buy one!).

After you have the cabling sorted, go to a terminal on your linux box and type:
Code:
ifconfig eth0 192.168.1.1 netmask 255.255.255.192

Where 192.168.1.1 is the IP you want to assign to the Linux box and 255.255.255.192 is the netmask you want to assign (note that the netmask must be the same on both machines).

Hope this helps.
__________________
Alex
(http://www.alex-greg.com)

Reply With Quote
  #3  
Old February 12th, 2003, 09:01 AM
robot1's Avatar
robot1 robot1 is offline
In the midst of insanity
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 171 robot1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 36 m 3 sec
Reputation Power: 8
Thanks alot AlexGreg!

Can you just answer me this too :
how will I know if my cable is of a crossover sort? AND what software etc would I need to install on both machines so that I they can see eachother?

Cheers

Reply With Quote
  #4  
Old February 13th, 2003, 12:02 PM
jesse7271 jesse7271 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 10 jesse7271 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I dont know how else you would test the cable beside checking to see if your network was up(chances are you don't have a crossover cable, they're cheap so you should just buy one to save you the greif).

I suggest following gregs instructions, pay attention to the subnet mask, then using either linux terminal or windows command window, ping one of the coresponding addresses.



you shouldn't need any extra software, if you want to network your computers, thats more complicated, I think the easiest way(assuming you don't have samba running) is that you can share a windows directories then mount it on the linux machine with something like
mount -fstype smb /home/someuser/randomemptydir //xpname/dirname

or, a great, easy to use tool to do that for you is called LinNeighborhood, download, install and run.

im no expert so you should probably man mount(in terminal type man mount)
good luck.

Last edited by jesse7271 : February 13th, 2003 at 12:09 PM.

Reply With Quote
  #5  
Old February 13th, 2003, 12:41 PM
Trellph Trellph is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Home
Posts: 75 Trellph User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to Trellph
Info!

Do either of theese computers have access to the internet, or are you just trying to get a closed 2 computer peer - peer network going. Set them bolth to the same netmask, and give them different IP's but only change the last octet per the subnet (i.e. 192.168.1.1 for one nic on the linux machine and 192.168.1.X (2-254) for any other machines connecting. If you want to expand your network at a later time it would probobly be cost effective to purchase a switch or a router, you would only use a router if you connected to cable or dsl and didn't want to use the linux box as a router. Prolly safe to just get a switch, then you don't need new cables, yay.

If you are connecting to the net, what one connects to the net with what medium (network card, usb, dial-up) so we can get you routing too ;}.
__________________
</stuff>

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Network XP laptop and Red Hat box


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway