LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-05-2004, 09:36 PM   #1
Valael
Member
 
Registered: Oct 2002
Posts: 44

Rep: Reputation: 15
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.

 
Old 01-05-2004, 11:04 PM   #2
Valael
Member
 
Registered: Oct 2002
Posts: 44

Original Poster
Rep: Reputation: 15
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?
 
Old 01-05-2004, 11:05 PM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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

Last edited by neo77777; 01-05-2004 at 11:09 PM.
 
Old 01-05-2004, 11:52 PM   #4
Valael
Member
 
Registered: Oct 2002
Posts: 44

Original Poster
Rep: Reputation: 15
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.
 
Old 01-06-2004, 12:51 AM   #5
RIgimp75
Member
 
Registered: Feb 2003
Location: westerlyri
Distribution: slack 9.0
Posts: 74

Rep: Reputation: 15
OK I DECLARE U NOW OUT OF YOUR MISERY..LOL
 
Old 01-06-2004, 07:48 PM   #6
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
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"
 
Old 01-06-2004, 09:17 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
What ethernet card are you using? post /sbin/lsmod
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mplayer misery jimmmac Linux - Software 20 06-23-2006 01:55 PM
For god's sake put me out of my misery NomadABC Linux - Networking 3 01-01-2005 12:11 PM
Modem misery mseq1 Linux - Newbie 2 07-30-2004 05:33 AM
kernel 2.6 optical PS/2 scrollmouse misery / Slackware 9.1 slimjim Linux - General 4 05-14-2004 06:03 PM
Speedtouch 330 Misery !£" crackie Linux - Networking 4 10-01-2003 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration