LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-06-2005, 10:13 PM   #1
Disqualifier
LQ Newbie
 
Registered: Nov 2005
Location: Maine, Usa
Posts: 12

Rep: Reputation: 0
DHCP setup


First off when Im doing this at school its statically so im quite confused on setting up dhcp, which im trying to set up on my home box. When I do netconfig and setup the internet is the first time I run into confusion. It is when it asks for a dhcp hostname. Im not sure If I have one Ive googled it Dhcp hostname for adelphia and linksys and havnt found anything. Im not sure. But when its all finished I do route and nothing comes up. Also if i do ifconfig the consol stops working and I have to open up a new shell. Also I looked in the dhcpd file and it just had a little bit about it being a config file all # out. Im figuring something is supposed to be in there heh .

Much thanks for any suggestions.
 
Old 11-06-2005, 10:40 PM   #2
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
the hostname can be anything you want...such as "Disqualifier"...then it will ask for the domain name...this can be "Disqualifier.org" or anything you want to make it...the next box will ask if you want to use a DHCP server...say yeah...then it will ask about the domain hostname...you *probably* don't have to worry about that, so leave it blank...the next will offer you to confirm the setup...if it looks good to you, say yeah...
there is a way to start it without rebooting, but i always reboot, and the dhcp sets up during reboot...
 
Old 11-06-2005, 10:43 PM   #3
Disqualifier
LQ Newbie
 
Registered: Nov 2005
Location: Maine, Usa
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by detpenguin
the hostname can be anything you want...such as "Disqualifier"...then it will ask for the domain name...this can be "Disqualifier.org" or anything you want to make it...the next box will ask if you want to use a DHCP server...say yeah...then it will ask about the domain hostname...you *probably* don't have to worry about that, so leave it blank...the next will offer you to confirm the setup...if it looks good to you, say yeah...
there is a way to start it without rebooting, but i always reboot, and the dhcp sets up during reboot...
Im sorry I must have misphrased it or something. I know about the first two parts . The part where you said i probably dont have one i did leave blank. And I have tried rebooting after setting it up. Doesnt work tho, Ive basicly tried exactly what you said the first time becuase logically it made sense to me to do that.
 
Old 11-06-2005, 11:00 PM   #4
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
maybe eth0 isn't coming up? in a terminal, as root, try this:

ifconfig eth0 up

and see if that doesn't bring it up?
 
Old 11-06-2005, 11:07 PM   #5
Disqualifier
LQ Newbie
 
Registered: Nov 2005
Location: Maine, Usa
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by detpenguin
maybe eth0 isn't coming up? in a terminal, as root, try this:

ifconfig eth0 up

and see if that doesn't bring it up?
It said

Unknow interface : no such device.

Lols i guess that could be a problem.

How would i go about fixing that?
 
Old 11-06-2005, 11:12 PM   #6
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
wow...not sure. i've used up my ideas, lol...but someone here will help you out and get you going...sorry i can't help more

edit...

what do you get when you type, as root:

ifconfig

Last edited by detpenguin; 11-06-2005 at 11:13 PM.
 
Old 11-06-2005, 11:15 PM   #7
Disqualifier
LQ Newbie
 
Registered: Nov 2005
Location: Maine, Usa
Posts: 12

Original Poster
Rep: Reputation: 0
It just goes down a line and doesn't do anything. I have to open a new shell in order to do anything it kinda just freezes up.
 
Old 11-06-2005, 11:25 PM   #8
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
check with " lspci " what kind of eth. chip you've got
( or post the output here )

i guess you need to load the kernel-module ( driver ) for your network chip.
you can do that with " modprobe < modulename >

btw.: use " lsmod to see if your driver is currently loaded.
use " lsmod -l " to get a ( looong ) list of available modules.

egag
 
Old 11-06-2005, 11:39 PM   #9
Disqualifier
LQ Newbie
 
Registered: Nov 2005
Location: Maine, Usa
Posts: 12

Original Poster
Rep: Reputation: 0
at the bottom of lspci it had ethernet controller : rEAltek semiconducter ltd rtl08139/8139c/8139c+

and when i did modprobe 8139too it worked. and it was under lsmod before doing that, but still no network is found.
 
Old 11-07-2005, 07:54 AM   #10
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
ok, the module is loaded.
then check with " ls -l /etc/rc.d/rc.inet1 " if that script is executable.
( if not, make it executable with "chmod +x ... ")

then run it like " /etc/rc.d/rc.inet1 start " and check with " ifconfig " if the interface is up.

egag
 
Old 11-07-2005, 08:04 AM   #11
Disqualifier
LQ Newbie
 
Registered: Nov 2005
Location: Maine, Usa
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by egag
ok, the module is loaded.
then check with " ls -l /etc/rc.d/rc.inet1 " if that script is executable.
( if not, make it executable with "chmod +x ... ")

then run it like " /etc/rc.d/rc.inet1 start " and check with " ifconfig " if the interface is up.

egag
Hmmm maybe it isnt exectutable. I know ive tried doing while in the /etc/rc.d location./rc.inet1 and nothing happens (once again it goes down one line and does nothing). Ill check when i get home.

Thanks.

Last edited by Disqualifier; 11-07-2005 at 08:05 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to setup dhcp in lfs? lmmix Linux From Scratch 3 02-21-2005 11:55 AM
DHCP setup PlorkZ Linux - Networking 14 02-21-2005 11:03 AM
Need to setup DHCP on Slack 10 eosophobia Linux - Networking 1 09-15-2004 12:49 PM
Help with DHCP setup davepal Linux - Networking 0 04-18-2004 08:05 PM
DHCP setup.. masenko703 Linux - Networking 12 05-27-2003 03:29 AM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration