Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-27-2004, 11:00 PM   #1
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Rep: Reputation: 30
obtaining a specific ip address from DHCP

im trying to make my rc.inet1 file obtain the ipaddress from my linksys router... i have edited my rc.inet1.conf file, but it doesnt help... any other ideas?
Old 09-27-2004, 11:43 PM   #2
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

i have not worked on a router though
but i think if u can u should make ur router to map ur MAC addresss to the IP address u want,i had dome this in a system acting as DHCP server

Old 09-27-2004, 11:50 PM   #3
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
my problem is that my router does nto support that... but i figured it out... you disable dhcp in the /etc/rc.d/rc.inet1.conf and put in your ip and netmask, but you need to change the gateway at the bottom, wich i didnt see....
Old 09-28-2004, 12:02 AM   #4
Registered: Aug 2004
Location: Atlanta, GA
Distribution: Slackware, PC-BSD v0.6, FreeBSD v5.3
Posts: 82

Rep: Reputation: 15
What model Linksys router are you using? If it is the WRT54G or WRT54GS there is a company called Sveasoft that has created modded firmware for those 2 models. With this firmware it gives you the ability to set Dynamic DHCP which gives you the option to set the same IP each time you reboot and or the router is reboot. The firmware also adds a lot more functionality to the router and I recommend that anyone with either model check out the Satori firmware. I am running it on my WRT54GS and it works great.
Old 09-28-2004, 12:11 AM   #5
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
nope, i got an old one that is not wireless
Old 09-28-2004, 12:12 AM   #6
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Take a look at /etc/dhcpc/ Setting IPADDR= in that file should make dhcp request that IP from your router when you bring the network up. If the IP is available for assigning then the router should honor the request and let it have it. But at the end of the day, I always liked using static IPs for this very reason.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Eth0 set up for Static, obtaining DHCP address?! IndustrialGeek Linux - Networking 2 01-03-2005 12:39 AM
Help obtaining ip address colombo187 Linux - Wireless Networking 4 12-28-2004 05:29 PM
Obtaining an IP through DHCP orange400 Linux - General 1 06-09-2004 03:05 PM
Obtaining and IP address dynamicly getatmefosho Linux - Networking 3 12-10-2002 07:48 AM
a question about obtaining address of variable ....... purpleburple Programming 3 07-06-2002 05:28 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration