LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2003, 03:37 PM   #1
Great Mister
LQ Newbie
 
Registered: Dec 2003
Location: San Diego
Distribution: Mandrake 9.2
Posts: 9

Rep: Reputation: 0
Question Network using crossover cable


It it possible share files/ internet with 2 computers running Mandrake 9.2 with a crossover cable and 2 LAN cards?
Under windows xp they were connected automatically, but in linux i cant get them to see each other after running the network wizard.

Also, can i network a computer with windows xp and one with linux?

What steps should i take to do this?

Thanks.
 
Old 12-15-2003, 03:44 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Re: Network using crossover cable

Quote:
Originally posted by Great Mister
It it possible share files/ internet with 2 computers running Mandrake 9.2 with a crossover cable and 2 LAN cards?
Not quite sure what your setup is like,
but basically yes.

Quote:
Also, can i network a computer with windows xp and one with linux?
Sure.

Quote:
What steps should i take to do this?
Same as in connecting them using Linux;
Give them individual IP addresses, tell one
that the other is it's gateway, and off you go.


Cheers,
Tink
 
Old 12-15-2003, 03:46 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Yes you can. Just conenct the computers and set IPs like:

Linux:
IP - 192.168.1.1
netmask - 255.255.255.0

Windows:
IP - 192.168.1.2
netmask - 255.255.255.0
 
Old 12-15-2003, 05:32 PM   #4
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
FWIW I usually have to 'ifdown eth0' and then 'ifup eth0' after I set the IPs to get the network card talking again after the netconfig wizard.
 
Old 12-15-2003, 06:09 PM   #5
Great Mister
LQ Newbie
 
Registered: Dec 2003
Location: San Diego
Distribution: Mandrake 9.2
Posts: 9

Original Poster
Rep: Reputation: 0
Um, do i have to go into the terminal to assign their IPs ? what command should i type ? Do i have to do this every time i boot up?

After running the network wizard I looked at configuration/KDE/Information/network interfaces and one computer showed this:

eth0:9 127.255.255.255. 255.0.0.0 Broadcast UP
lo 127.0.0.1 255.0.0.0 Loopback UP

the othe computer just shows:
lo 127.0.0.1 255.0.0.0 Loopback UP

What is that supposed to mean??

By the way, a crossover cable is just a standard network cable thats built so i doesnt need a hub in between, so 2 computers can be linked toguether.

Last edited by Great Mister; 12-15-2003 at 11:05 PM.
 
Old 12-15-2003, 11:21 PM   #6
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by Great Mister

the othe computer just shows:
lo 127.0.0.1 255.0.0.0 Loopback UP

What is that supposed to mean??
The second computer's ethernet card is not showing up. Is it configured? Is the cable plugged in (I know that's lowbrow, but its usually something silly that stops you the most)?

Right now I have the same setup as you asked about (2nd one). My gateway is Windows XP and the client is Mandrake 9.1 with a crossover cable between (it'll work fine with a hub too, if you plug the crossover into the 'daisychain' so don't throw the cable if you get a hub later). I have it this way, as I am currently on dialup and the internet call manager software isn't available for Linux. It works fine out of the box. Mandrake did it for me. I'm still working on the filesharing (so far using LinNeighborhood to mount the Win32 puter and then browsing it with Konqueror works fairly well, although I'm too lazy to set broader permissions yet).

I bet if you can get that ethernet card recognized, the network'll configure itself.
 
Old 12-16-2003, 03:43 PM   #7
Great Mister
LQ Newbie
 
Registered: Dec 2003
Location: San Diego
Distribution: Mandrake 9.2
Posts: 9

Original Poster
Rep: Reputation: 0
I restarterd the second computer, now it seems to recognize the ethernet card too. I know they are connected because if i type "ping 192.168.1.2" ill get a reply, but thats it.

I tried using LinNeighborhood and clicking on the add button and entering the ip of other computer and cliking on query, but il get an error after about 5 secs.

How can i search the files on the other computer? i never dealt with configuring networks before so i dont know where to go from here now.

Do i have to use samba to network a windows and a linux computer? i been reading the manual for it and i dont undersant any of it.
Is there any simple way to do this without becoming an IT technician?

Last edited by Great Mister; 12-16-2003 at 06:01 PM.
 
Old 12-16-2003, 08:57 PM   #8
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
http://www.homenethelp.com/
http://www.linuxgazette.com/issue28/journeay.html

Two of the better and more easy to read sources on networking. Its been a while since I had to change my network values. With Mandrake, it usually "just works". I know that looking at man ifconfig and other wonderfully assumptive texts, I was quite lost as well. If others don't lead you to the right place, I will figure it out with you again, as I am possibly gonna need the info in about a week anyways myself. Try man route as well. There are so many neat ways to network and so few good explanations (that are easy to find) of what commands really mean. Perhaps we'll be instrumental in changing that. :-D
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Crossover cable WolfCub Linux - Hardware 20 09-05-2009 02:20 PM
Getting Internet via Crossover Cable Sleepy_Sentry Linux - Networking 6 08-12-2005 12:36 PM
Crossover cable network between XP and Gentoo to shace internet connection rcbarnes Linux - Networking 2 12-24-2004 11:49 PM
Crossover cable eggoz Linux - Networking 4 03-14-2004 01:49 PM
network with crossover cable burkie Linux - Newbie 4 01-13-2004 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration