Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: DHCP Tip, How to automatically get an IP< Next Oldest | Next Newest >
dsteflik Offline





Group: Members
Posts: 1
Joined: May 2008
Posted: June 26 2008,20:12 QUOTE

I'm running DSL on an old Toshiba 3015 with DSL installed on a compact flash card instead of a Hard Drive. I'm using a Netgear WG511T pcmcia card. To bring up the wireless at home on my linksys router I would normally run a short script that would get a static IP from the router then do an ifconfig ath0 up and it would always work.

The other night at the local Linux User's Group meeting I couldn't get an IP using ifconfig and iwconfig , the ath0 interface was recognized but there wasn't anyway I could get an IP. After getting home I did some googleing and found that DSL uses "pump" as its dhcp client and to get an IP all I needed to do was (at a command line type :
sudo pump -i ath0
as soon as i did that pump went and retrieved all of the dhcp info and the wireless came up nice and clean.

Dick Steflik.  [I][B]
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: June 28 2008,06:19 QUOTE

I have to do the same for my ath0 cards to work.
Back to top
Profile PM 
vendion Offline





Group: Members
Posts: 21
Joined: Nov. 2007
Posted: June 30 2008,16:10 QUOTE

Since this is a DHCPtip thread, can someone tell me how to set DSL's DHCP client (said "pump") to keep the same local IP.  I'm trying to get a server set up on Damn Small Linux, mostly because this is the only Linux distro that I was able to get to boot correctly, and the system gets a new IP anywhere from a couple of hours to a day.  For an example two days ago this machine had the IP of 192.168.2.19, yesterday it had the IP of 192.168.2.20, and today it went through .21-.23 in a matter of hours all with no reboot or shutdown.  I know its not just my router's fault, it keeps the lease on IPs for a day and it should recognize the MAC address of this computer and see that it is already given an IP so it should not assign a new one but that is not happening.

--------------
http://img.photobucket.com/albums/v640/vendion/435862.png
Back to top
Profile PM 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: June 30 2008,16:34 QUOTE

Quote (vendion @ June 30 2008,12:10)
Since this is a DHCPtip thread, can someone tell me how to set DSL's DHCP client (said "pump") to keep the same local IP.  I'm trying to get a server set up on Damn Small Linux, mostly because this is the only Linux distro that I was able to get to boot correctly, and the system gets a new IP anywhere from a couple of hours to a day.  For an example two days ago this machine had the IP of 192.168.2.19, yesterday it had the IP of 192.168.2.20, and today it went through .21-.23 in a matter of hours all with no reboot or shutdown.  I know its not just my router's fault, it keeps the lease on IPs for a day and it should recognize the MAC address of this computer and see that it is already given an IP so it should not assign a new one but that is not happening.

Try "pump --help" for all options, mainly "-l" or "-L".

As a side note, the pump on my system (3.4.11) seems to renew ip every 10 hours, when my router is set for 10 days, 30 seconds long leases. Ip stays the same though (Hostname does get changed at 10 hours if the hostname has changed though).
Back to top
Profile PM 
vendion Offline





Group: Members
Posts: 21
Joined: Nov. 2007
Posted: July 02 2008,01:44 QUOTE

That is only for hours and seconds, is that the best that pump can do?  I guess I could figure the exact number of hours there is in a year and lease the IP for that, but that is just kind of a weird thing to do.

--------------
http://img.photobucket.com/albums/v640/vendion/435862.png
Back to top
Profile PM 
7 replies since June 26 2008,20:12 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: DHCP Tip

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code