LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-01-2003, 06:36 PM   #1
maxvenum
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
dhcp server in linksys router


I have a small network with a red hat linux box acting as dhcp server, router, etc. I recently purchased a linksys wireless router/access point (ap). I have figured out how to disable the dhcp server within the access point, but once I do this, I can no longer get the ap to work with my laptop. It can see that there is a wireless network there, but it can't get an ip address from the dhcp server. Any ideas on how I can fix this short of using the dhcp server within my linksys unit?

Thanks,
Tobyn V.
 
Old 09-01-2003, 06:53 PM   #2
GodMinusOne
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
you could specify an IP address for your computer in /etc/rc.d/inet1. Just replace IP of 127.0.0.1 under eth0 with say 192.168.1.101. Also put in the IP address of your gateway, you do that in the same file. The above mentioned works with Slackware, should work for Red Hat too.

PS: Before modifying the file, I recommend backing it up, for example "inet1.old" just incase anything goes wrong, you can revert to your old file.

Good luck, and let me know if you need any more help getting it up and running.

Last edited by GodMinusOne; 09-01-2003 at 06:54 PM.
 
Old 09-01-2003, 07:38 PM   #3
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
Re: dhcp server in linksys router

Quote:
Originally posted by maxvenum
I have a small network with a red hat linux box acting as dhcp server, router, etc. I recently purchased a linksys wireless router/access point (ap). I have figured out how to disable the dhcp server within the access point, but once I do this, I can no longer get the ap to work with my laptop. It can see that there is a wireless network there, but it can't get an ip address from the dhcp server. Any ideas on how I can fix this short of using the dhcp server within my linksys unit?

Thanks,
Tobyn V.

Hmm thats gonna be weird. Why did you get a router instead of just an access point?

Anyway, off the top of my head, you'll need to define the router to not be a DHCP server, thendefine its LAN IP address to be one your linux router will allow {This may not be necessary, I am not 100% familiar with how the switch part of this device operates}. Unfortunately the router will not get a LAN IP via DHCP so you will have to set a reserved IP up on the linux box for this router {actaully its a switch at this point}.

Then connect your linux router's to any LAN port on it.

Only other thing I can think you might need to change would be the dynamic routing options, maybe take it off gateway.

Also setting the GATEWAY address on your laptop to be your linux router should help. Or maybe set up a static routing table on the router? Hmm.... Still, I think your best option is to take it back and just get a wireless AP.
 
Old 09-02-2003, 07:56 AM   #4
maxvenum
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Original Poster
Rep: Reputation: 0
The reason that I didn't buy an access point is that the wireless router was significantly cheaper and I figured I could disable the router functions anyway...

Tobyn V.
 
  


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
internet via dhcp from a linksys router GeNeSISSIE Linux - Networking 6 11-24-2004 08:36 AM
Home network using linksys router -- DHCP server? GoinEasy9 Linux - General 12 04-01-2004 11:32 PM
Linksys DSL Router/Don't Want DHCP fennario Linux - Networking 7 04-29-2002 06:37 PM
DHCP on Linksys router Wood Cock Linux - Networking 10 04-14-2002 02:29 PM
Can't obtain ip using dhcp + linksys router OatBran Linux - Networking 0 11-14-2001 10:15 AM

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

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