Click to See Complete Forum and Search --> : help with networking in Linux


clevisvb
03-04-2001, 04:02 PM
I have a cable modem and am wondering how to get the network set up with Cableone.net.

They stated that if i use DHCP that it should work fine with their system.

Where would I be able to find the primary name+domain?


I am sort of well...retarded when it comes to this...

Anonymous LNOer
03-04-2001, 05:21 PM
If you're using DHCP, you shouldn't even need to configure primary/secondary DNS. Just run "pump -i eth0" or "dhcpcd" depending on what you have installed and it should automagically get DNS, IP, etc.

If you use debian (which you should ;)) you can just edit /etc/network/interfaces and change the line that says "iface eth0 static" to read "iface eth0 dhcp"; theh you won't have to run pump or dhcpcd every time you want to connect to the internet...

clevisvb
03-04-2001, 07:14 PM
I have red hat 7 and "pump -i eth0" comes up with operation failed

"dhcpcd" puts me back at the root.

I wish i understood this stuff a lot better.

DMR
03-04-2001, 09:02 PM
Try running linuxconf. It provides a graphical interface in which you can easily interrogate and alter your network settings.

Coral Sea
03-04-2001, 10:04 PM
One step at a time. Forget pump and dhcpd because they're for serving IP addresses, not getting them (some might argue that about pump but let's keep it simple).

Use linuxconf to assign your outboard NIC (the one connected to the cable modem) as:

- DHCP
- (optional) fill in the primary name and domain name field with something like mypc.wonderdomain (it's arbitrary and your ISP won't know)
- (optional) fill in the alias field with mypc
- leave the IP address and Netmask fields blank
- specify the Net device as eth0
- pick the correct Kernel module for your NIC
- back out and enable the changes based on the prompts that linuxconf will give you

You might have to reboot. Before you do, run ifconfig in a terminal window. If you have an IP address, you're in business. Otherwise, reboot. That's it.

To enable Internet connection sharing (i.e., masquerading) is another topic that's discussed in several posts in the Networking area of this discussion group. :p

bdg1983
03-04-2001, 11:12 PM
1. I said dhcpcd, not dhcpd. That second c means "client"
2. Pump works great for getting an IP over dhcp, I used it for 6 months with no problems until Craig clued me in to the debian way...

clevisvb
03-05-2001, 02:17 AM
All I keep getting with the ifconfig is local loopback.

It won't save any changes I make either.

P.S. I don't have linuxconf, I have netconf... Is that the same?

All I get for my inet addr is 127.0.0.1 and then my mask is 255.0.0.0 which I don't think is correct. (pretty positive actually)

compunuts
03-05-2001, 04:06 AM
Originally posted by clevisvb:
P.S. I don't have linuxconf, I have netconf... Is that the same?
It's not the same but it will work if you only want to set up the network part of it. Looks like you need to configure your NIC first. Follow Coral Sea's advise.