Re: kubuntu ethernet setup help, please
- From: chris goback <cchris@xxxxxxxxxxxxx>
- Date: Sat, 25 Nov 2006 23:12:12 GMT
Jeroen Geilman wrote:
none wrote:Thanks for your reply and all the useful info. I have checked the ifconfig and the eth0 are there. I will try the rest and hopefully everything will work out. Lesson 2 and 3 samba and iptables are these available in Konsole or something?
HI, I have been struggling with setting up ethernet between two kubuntu
computers.
Turn computers on.
Plug one end of a UTP crossover cable in each.
Watch the pretty green lights on the NICs.
Are they blinking ?
If so, congratulations - you have a functional Ethernet network.
Sarcasm aside, I suspect you mean *TCP/IP* networking.
Both of these computers are dual-boot with windows and I can detect the network card in both through Kinfo center and through the
lshw command. I rebooted both into windows to check that the various
hardware was functioning and it was.
What a way to "check" ;-)
Do the following on each Linux box: run
#lspci -v
and check for the presence of your network cards, then run
#ifconfig -a
and check that there is at least an eth0 entry for each machine.
If there is, you have functioning hardware.
I'm certain that I have checked some box or incorrectly filled a field
somewhere.
Absolutely.
The *clue* is that you /have/ to fill some fields before you can get IP
networking to work.
You need to do at least 3 things:
1. assign an IP address to the interface, 2. set a subnet mask to define which network the machine belongs to, and
3. set a route or default gateway to the other box.
The last step is not explicitly necessary when both machines belong to the
same subnet.
Common values are: 192.168.x.y for the address, and 192.168.x.0 for the
network - where x may be anything you fancy.
The resulting subnet would be 255.255.255.0, or /24, depending on the tools
you use.
Because, what is easy for others is not working at all for me. Is there any step by step guides available?
Dozens.
Are there any quick and easy ways to set this up.
Sure.
Assign 192.168.1.1 to Box #1, and 192.168.1.2 to Box #2.
Assign both a subnet mask of 255.255.255.0, and set the default gateway for
Box #2 (the one that *doesn't* connect to the Internet) to the address of
Box #1 - 192.168.1.1 again.
Now you can test IP connectivity by running:
#ping 192.168.1.2
from Box #1, or
#ping 192.168.1.1
from Box #2
Both should return replies - one per second, break it off with Control-C
I really only need some simple sharing of a few folders and also share internet connection between the computer I am
writing from and the other.
That would be lesson #2 and #3 - Samba and iptables NAT, respectively.
One problem on the other is; that when I try to access Network Services
(which I believe is the way you access your network) I get a message
that either mdnsd can't be found.
You need IP connectivity first.
Any help would be greatly appreciated. I have set up ethernet networks
in windows but never really fully knew what I was doing
I understand completely.
but this seems even more difficult.
"Difficult" is a relative term.
Setting up a functioning "network" in Windows may seem easy, but then, as
you said, you can do that without having the slightest clue what you're
actually doing.
In Linux, you won't get away with that - you will certainly know what you're
doing, and why.
The obvious advantages being that you have at least a sporting chance of
fixing things when they break.
I also don't do engine work lol.
Not a clue what that is supposed to mean.
*You* want to configure networking, yes?
Then either you learn how or pay somebody who does know to do it for you.
Hmm I guess that means I did know what you meant.
I did change an oil pump once and thought it was worth the effort. Alot of mechanics these days won't touch engine work(I think they can make some really quick cash doing brake jobs and such) so I just did it myself. Anyway thanks Jeroen I appreciate the info and the delivery.
Chris
.
- Follow-Ups:
- Re: kubuntu ethernet setup help, please
- From: Jeroen Geilman
- Re: kubuntu ethernet setup help, please
- References:
- kubuntu ethernet setup help, please
- From: none
- Re: kubuntu ethernet setup help, please
- From: Jeroen Geilman
- kubuntu ethernet setup help, please
- Prev by Date: Re: How to set default gw not by route command in linux?
- Next by Date: Joining 192.168.1.* to 192.168.1.* with filtering for only MS SQL Server?
- Previous by thread: Re: kubuntu ethernet setup help, please
- Next by thread: Re: kubuntu ethernet setup help, please
- Index(es):
Relevant Pages
|