LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 10-27-2005, 03:44 PM   #1
BadTA
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 4, SUSE Enterprise 8
Posts: 18

Rep: Reputation: 0
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
 
Old 10-27-2005, 06:45 PM   #2
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Rep: Reputation: 30
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
 
Old 10-27-2005, 10:03 PM   #3
BadTA
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 4, SUSE Enterprise 8
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 10-28-2005, 12:01 PM   #4
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Rep: Reputation: 30
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
 
Old 10-28-2005, 10:05 PM   #5
BadTA
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 4, SUSE Enterprise 8
Posts: 18

Original Poster
Rep: Reputation: 0
[root@calvin ~]# killall dhcpcd
dhcpcd: no process killed
[root@calvin ~]# dhcpcd -G 192.168.1.1
bash: dhcpcd: command not found
[root@calvin ~]#
 
Old 10-29-2005, 05:15 AM   #6
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Rep: Reputation: 30
What distribution are you running?
 
Old 10-30-2005, 10:55 PM   #7
BadTA
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 4, SUSE Enterprise 8
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Riddick
What distribution are you running?
Fedora Core 4.
 
Old 10-31-2005, 05:50 AM   #8
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

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

Riddick
 
Old 11-05-2005, 09:17 PM   #9
BadTA
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 4, SUSE Enterprise 8
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 11-06-2005, 06:33 AM   #10
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

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

Riddick
 
Old 11-06-2005, 01:33 PM   #11
BadTA
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 4, SUSE Enterprise 8
Posts: 18

Original Poster
Rep: Reputation: 0
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.
 
Old 11-06-2005, 01:39 PM   #12
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Rep: Reputation: 30
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
 
Old 11-07-2005, 06:29 PM   #13
BadTA
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 4, SUSE Enterprise 8
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 11-07-2005, 06:31 PM   #14
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Rep: Reputation: 30
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
 
Old 11-07-2005, 06:40 PM   #15
BadTA
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 4, SUSE Enterprise 8
Posts: 18

Original Poster
Rep: Reputation: 0
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.
 
  


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
DHCP default route attached to loopback interface chiefdan Linux - Hardware 2 12-06-2005 05:08 PM
two default route - help me fabiolpi Linux - Networking 2 07-06-2005 06:35 AM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 02:11 PM
dhcp w/ comcast not setting default route pengcow Linux - Networking 0 05-25-2004 11:16 AM
Route dialup modem packets back through dialup instead of default route cable modem jogress Linux - Networking 1 10-21-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:14 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