LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-27-2004, 11:00 PM   #1
true_atlantis
Member
 
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 192.168.1.107 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
masand
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

regards
 
Old 09-27-2004, 11:50 PM   #3
true_atlantis
Member
 
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
Glas
Member
 
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
true_atlantis
Member
 
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
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Take a look at /etc/dhcpc/dhcpcd-eth0.info. Setting IPADDR=192.168.1.107 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.
 
  


Reply


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration