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 :p.
Much thanks for any suggestions. |
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... |
Quote:
|
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? |
Quote:
Unknow interface : no such device. Lols i guess that could be a problem. How would i go about fixing that? |
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 |
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.
|
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 |
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. |
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 |
Quote:
Thanks. |
All times are GMT -5. The time now is 01:24 PM. |