LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   DHCP problem with D-Link Router (https://www.linuxquestions.org/questions/suse-opensuse-60/dhcp-problem-with-d-link-router-413625/)

jaijeet 02-09-2006 07:59 PM

DHCP problem with D-Link Router
 
Hi

I have a D-Link DI-604 router. It has a DHCP server
which allocates IPs in the range 192.168.0.100-200

I setup my linux box with Yast and configured DHCP.
When I boot first time after a power off, it boots
and is unable to get an Ip Address.
ifconfig shows a inet6 address but no inet address.

If I reboot(without power off), I now get an inet
address and I am able to connect to internet.
rc3.d/S05network restart does not help either.

I have tried cloning the dynamic address
in the router for the linux machine mac address
so that the linux eth0 always gets the same ip,
but this did not help.
I have to reboot to get the inet address every time.
I also upgraded the router firmware to the latest
level.

I have Suse 10.0 on a Del PC.

Can anyone help with this problem please ?

Thanks,

jdblick 02-10-2006 12:56 PM

Just a suggestion:

Do like you did in the router setup - 192.168.0.1 in browser window, enter username and password, go to dhcp, make current ip static from dhcp, done there.

go to yast, setup network card, edit config, set the static ip there. You will have to set the mask, always 255.255.255.0 unless you changed it. You should add default gateway 192.168.0.1, and maybe even add your isp's dns lookup servers - found in status of the router setup.

Don't have a clue if it will work but the one thing I noticed from your post is you didn't set up the card in yast to static ip.

jaijeet 02-10-2006 01:23 PM

Hi jdblick,

Thank you for yr suggestion. But I really don't want to set it up with a static IP.
I have dynamic PPPoe and I am not sure when the ISP might change their DNS servers.

I would want the DHCP client to get the inet address correctly at the first boot.
I don't want to boot twice every time to get the inet address.

Is there anything I need to do with DHCP client setup on linux ? I am curious
how it works on the 2nd reboot ? Maybe something gets set during the boot process
and I need to configure that in boot.local or something

-jaijeet

jdblick 02-10-2006 01:33 PM

broch said in another thread:

Quote:

1) disabling IPv6 for KDE only:
Yast -> System -> sysconfig editor -> Expand "Desktop" scroll down to
KDE_USE_IPV6
and set this to "no"
restart KDE session

2) disable IPV6 in whole system:
open terminal window su to root, and enter
#echo "alias net-pf-10 off" >> /etc/modprobe.conf
#echo "alias ipv6 off" >> /etc/modprobe.conf

restart computer

3) disabling IPv6 in FF only
enter in the address bar:
about:config
(no spaces above)
in search filter enter ipv6
change:
network.dns.disableIPv6
from false to true

method 2) is best.
maybe that will be helpful?


All times are GMT -5. The time now is 04:28 PM.