LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Put me out of my misery. (https://www.linuxquestions.org/questions/slackware-14/put-me-out-of-my-misery-131885/)

Valael 01-05-2004 09:36 PM

Put me out of my misery.
 
(using KDE if that matters)

I don't know if I should be posting this in the Network section, or here, since it involves Slackware.


So yeah, I'm pretty much a newbie when it comes to Linux AND a newbie when it comes to anything involving getting the internet to work outside of windows.


I have no idea what the problem is. What files do you need me to copy? Heh.



What I've done:


I use DHCP (As I use in Windows) and enter "Charter" for the name (I don't think that even matters?) And for the domain name, well, I'm not totally sure what to put there. I'm not on a network (I'm on a lan.). I've put in the name of my computer in Windows, my local host address, my workgroup name...


My local host is belleville-UBR01-ILL-244.171.119.7.charter-stl.com Do I have to enter just a certain part of that? I've tried the whole thing, I've tried just charter-stl.com.

If I use DHCP, when I go into LIsa (Which I don't even need, but it's something I happened to come across) and try to run the Wizard, it says my Network card can't be detected.

If I use Static IP, it works fine. Last time I fooled around with Static IP, I had it to the point where it would actually "look" for the site before it would tell me it was unable to find it.



I have a Linksys ethernet card and router.




Please, help me out. And do it in "stupid" terms. Explain it easily, heh.

:newbie:

Valael 01-05-2004 11:04 PM

I guess my problem is that I have no idea whether or not it's just the drivers not installed, card not set up right, or me not setting up the internet connection right.



The book on the Slackware site says you need to install the netmods. If you do a full install, are these installed by default?

neo77777 01-05-2004 11:05 PM

Unless you are running your own domain you shouldn't worry about domain name as long as you don't use the one that is already in use ( later on you might decide to have your own little DNS going on and it will create lots headaches to sys and netadmins whose domain overlaps with your own, but it is out of the scope of the discussion), so you can put there mylittlenet, hostname you can use your creativity on this one as well - myhost. Your router should act as a DHCP server out of the box - unless it is an ancient one ;), so when using netconfig (it is a native tool to configure network under Slack), select DHCP for your network card. If your router is configured already you should be good to go. To quickly verify that your network card is recognized by the slackware install do
/sbin/ifconfig
you should see it as ethX device (where X is a number 0 - if you have only one Ethernet card, or you might see more than one eth devices in the case you have multple cards)
if you see something like this
eth0 Link encap:Ethernet HWaddr 00:01:02:74:2C:E9
[output deprecated]
you are fine
try to do as root
/sbin/dhcpcd -t 10 -d eth0
if your eth device is eth0, it should poll the DHCP server on your network for an IP (in this case your router, if DHCP server is running on the router)
Good luck

Valael 01-05-2004 11:52 PM

Did those commands actually *do* anything? Or were they ways of testing to see if stuff works?


I loaded up Linux, reran Netconfig for the 900th time, rebooted (Is that even required?) and did your commands.


Now I'm sitting in KDE, posting from Konqueror.


So, I love you. You're my new best friend.


Oddly enough, it still gives me an error when it boots:

dhcpcd[187]: Timed out waiting for a valid DHCP server response.


And it said nothing about eth0 in /sbin/ifconfig. It mentioned a lot of Loopback and no eth0.

RIgimp75 01-06-2004 12:51 AM

OK I DECLARE U NOW OUT OF YOUR MISERY..LOL

g00$e 01-06-2004 07:48 PM

It appears you may not have your DHCP server name set up correctly. Please take a look at this file:

#! /bin/sh
# /etc/rc.d/rc.inet1
# This script starts up the base networking system.
#
# Version:
# @(#)/etc/rc.d/rc.inet1 8.1 Tue May 28 15:27:39 PDT 2002 (pjv)

# Edit these values to set up your first Ethernet card (eth0):
IPADDR="192.168.1.2" # REPLACE with YOUR IP address!
NETMASK="255.255.255.0" # REPLACE with YOUR netmask!
# Or, uncomment the following lines to set up eth0 using DHCP:
#USE_DHCP=yes
# If your provider requires a DHCP hostname, uncomment and edit below:
#DHCP_HOSTNAME="CCHOSTNUM-A"

neo77777 01-06-2004 09:17 PM

What ethernet card are you using? post /sbin/lsmod


All times are GMT -5. The time now is 08:05 PM.