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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-15-2003, 02:37 PM
|
#1
|
LQ Newbie
Registered: Dec 2003
Location: San Diego
Distribution: Mandrake 9.2
Posts: 9
Rep:
|
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.
|
|
|
12-15-2003, 02:44 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
12-15-2003, 02:46 PM
|
#3
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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
|
|
|
12-15-2003, 04:32 PM
|
#4
|
Member
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683
Rep:
|
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.
|
|
|
12-15-2003, 05:09 PM
|
#5
|
LQ Newbie
Registered: Dec 2003
Location: San Diego
Distribution: Mandrake 9.2
Posts: 9
Original Poster
Rep:
|
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 10:05 PM.
|
|
|
12-15-2003, 10:21 PM
|
#6
|
Senior Member
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Rep:
|
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.
|
|
|
12-16-2003, 02:43 PM
|
#7
|
LQ Newbie
Registered: Dec 2003
Location: San Diego
Distribution: Mandrake 9.2
Posts: 9
Original Poster
Rep:
|
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 05:01 PM.
|
|
|
12-16-2003, 07:57 PM
|
#8
|
Senior Member
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|