Internet Connectivity
Eric Rossiter
rossiter at discoverynet.com
Mon Oct 15 13:31:44 CDT 2001
suckbite wrote:
>
> Hi,
>
> I've been trying to get a Linux machine to connect to the internet now for a couple months,
reading FAQ's and man pages trying to find the commands to get things to work the way I need it to.
> I've not had much luck, partially because a lot of the FAQ's are over my head. I'm using @Home
for my ISP, and running a Linux Mandrake 7.2 machine. I was having some troubles getting my
> 3Com card to be recognized by my cable modem and dug out an old SMC card I had tucked away in a
closet somewhere and that seems to at least be recognized by the modem. I'm not sure
> what my problem is, I assume I need a hostname to get DHCP to do it's thing, but I don't know
what the hostname would be. Then again I may be off the mark altogether.
> I'm sorry for such a limited amount of information, any help in laymans terms would be greatly
appreciated.
>
> Chris
>
Hi Chris,
The @HOME network validates by machine name. You wont need to run DHCP.
(at least I don't).
To find the hostname of the machine type "hostname" at a command prompt.
It should be something like "cj234567-a." At least you'll know what the
pc thinks it's name is.
Then at a command prompt type "ifconfig eth0" as eth0 is the first NIC
in *.nix. Should get a lot of info returned. I believe if the pc sees
the NIC, it will have an IP of 127.0.0.1 (localhost).
With my Red Hat 7.x machine, I have to run "pump" to get everything
going. Try checking the man page for "pump". I don't remember the
exact command I use, but it is similiar to the one below:
/sbin/pump -hostname=cj234567-a eth0
"pump" will do all of the work.
Hope some of this helps. Kepp working on those man pages, and just play
with the commands. After a while they will start to make sense...I
think...
Eric
More information about the Kclug
mailing list