LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Not getting a default route from DHCP (https://www.linuxquestions.org/questions/linux-wireless-networking-41/not-getting-a-default-route-from-dhcp-377522/)

BadTA 10-27-2005 03:44 PM

Not getting a default route from DHCP
 
Ok, I am using the ipw2200 wireless card in my HP dv1040 laptop. It seems that if it is configured for DHCP it will get all needed information (IP, NetMask, etc.), except the default gateway. Once I add this manually, everything is great. Also, I am using a Linksys BEFSX41 router and a Linksys WAP54G access point.

Note, this also happens with the wired ethernet when using DHCP.

Thanks
Mark

Riddick 10-27-2005 06:45 PM

Which of those 2 pieces of hardware is acting as a DHCP server?
Do other machines get a DHCP that works straight away?

What ii the IP address of your def. Gateway?

Riddick

BadTA 10-27-2005 10:03 PM

The router is the DHCP server. All the other machines have no problem. The IP address of the router is 192.168.1.1.

Mark

Riddick 10-28-2005 12:01 PM

what is the gateway's IP?

Try this on your laptop:

killall dhcpcd
dhcpcd -G the.gat.way.add

Let me knwo how it goes!

Riddick

BadTA 10-28-2005 10:05 PM

[root@calvin ~]# killall dhcpcd
dhcpcd: no process killed
[root@calvin ~]# dhcpcd -G 192.168.1.1
bash: dhcpcd: command not found
[root@calvin ~]#

Riddick 10-29-2005 05:15 AM

What distribution are you running?

BadTA 10-30-2005 10:55 PM

Quote:

Originally posted by Riddick
What distribution are you running?
Fedora Core 4.

Riddick 10-31-2005 05:50 AM

then you will have a different DHCP client,
try writing dh and pressing tab twice and see what you get.

Riddick

BadTA 11-05-2005 09:17 PM

Quote:

Originally posted by Riddick
then you will have a different DHCP client,
try writing dh and pressing tab twice and see what you get.

Riddick

I get the following:

dhclient
dhclient-script
dhcp6c

Riddick 11-06-2005 06:33 AM

do "ifdown" then "ifconfig eth0 up" then "dhclient"
see if you get a favourable result!

Riddick

BadTA 11-06-2005 01:33 PM

Quote:

Originally posted by Riddick
do "ifdown" then "ifconfig eth0 up" then "dhclient"
see if you get a favourable result!

Riddick

Nope. I got an IP address and I can ping the gateway, but no default route gets set.

Riddick 11-06-2005 01:39 PM

have you checked the configuration on the router
that it is explicitly set as what you want it to be?

Sorry for not being very helpful,
Riddick

BadTA 11-07-2005 06:29 PM

Quote:

Originally posted by Riddick
have you checked the configuration on the router
that it is explicitly set as what you want it to be?

Sorry for not being very helpful,
Riddick

Yeah, nothing wrong on the router. I have another PC running Windows XP and that gets and IP, mask, route no problem. Also, the laptop I have FC4 on used to have WinXP and it was getting all the information no problem as well.

Mark

Riddick 11-07-2005 06:31 PM

very odd. Do you have a CD-RW?
I would try downloading Knoppix and seeing if it is possible
to get a correct DHCP with knoppix.

With that info we can see if there is a problem with your
software.

Riddick

BadTA 11-07-2005 06:40 PM

Quote:

Originally posted by Riddick
very odd. Do you have a CD-RW?
I would try downloading Knoppix and seeing if it is possible
to get a correct DHCP with knoppix.

With that info we can see if there is a problem with your
software.

Riddick

Sure. I can try Knoppix, but it won't be until much later. Maybe even tomorrow.


All times are GMT -5. The time now is 10:36 PM.