Re: kubuntu ethernet setup help, please



Jeroen Geilman wrote:
none wrote:

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.

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?
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
.



Relevant Pages

  • Re: The specified network name is nolonger available
    ... From your original post I assumed a larger network because you indicated ... a "router" between the computers. ... same assuming a class c network with the same subnet mask such as ... >> resolution problem. ...
    (microsoft.public.win2000.networking)
  • Re: Net work problem
    ... Make sure you have the same Subnet Mask, Gateway, and DNS IP addresses. ... Make sure you can ping the other computers by name. ... For troubleshooting purposes, turn off XP's and any other firewall ... More details about how to network XP can be found at: ...
    (microsoft.public.windowsxp.network_web)
  • RE: IIS protection
    ... Using the Network ID and Subnet Mask ... A group of computers can be either denied or granted access based ... if the host computer has an IP address of 172.16.16.1 ...
    (microsoft.public.inetserver.iis)
  • Re: kubuntu ethernet setup help, please
    ... Turn computers on. ... congratulations - you have a functional Ethernet network. ... If there is, you have functioning hardware. ... Assign both a subnet mask of 255.255.255.0, and set the default gateway for ...
    (comp.os.linux.networking)
  • Changing the subnet mask of an existing DHCP Scope
    ... This holds true for any version of Windows Server Software I can ... that I do - the subnet mask is nothing more but DHCP option number 1 ... I see no reason for inhibiting a change of just a simple network ...
    (microsoft.public.windows.server.networking)