FREESCO 0.2.7

ID #1052

A hack to give out only static IP's based on MAC address

A hack by medowl

my wish : I wanted the dhcpd on FREESCO 027 only to give out ips to those MAC addresses I've put in my dhcpd.conf, so only static leases , no pool of ips for macs not regged on my server

my problem : in the standard 027 setup , you HAVE TO specify a range of ips otherwise the dhcp daemon wouldn't start

my previous solution : set the pool to one ip (192.168.99.99 192.168.99.99) and then block that ip...

our setup : we have a network with 2 other houses (nice long utp cable going underground thru out backyard), in all in all 3 houses are connected together , all having their own internet access,
and 3 dhcp daemons giving out the correct ips so ppl in another house woudn't connect over someone elses internet connection...

this worked fine till one of the houses got another type of internet connection , and ppl in that house started getting the 192.169.99.99 ip from our freesco server, which is blocked , thus no connection to the internet (and if it would not be blocked they would use the wrong inet connection)

so I needed to figure out a way to get the dhcpd running on freesco 027 without giving out ips to ppl not in the dhcpd.conf file...

I actually asked this question about 4 years ago on the forum, and found some other ppl who were actually looking for a same kinda sollution , but no one ever came up with a good answer... so here we go ...


the new sollution :

edit /rc/rc_dhcpd
and remove line 28 : range $5;


the red line:

        cat >>/etc/dhcpd.conf <<-EOF
                subnet $3 netmask $4 {
                range $5;
                option subnet-mask $4;
                option broadcast-address $2;
                option routers $6;


dunno how this is done on 032 , but i guess it would be pretty similar...
I hope someone finds this info useful

Last update: 2012-02-27 20:35
Author: medowl
Revision: 1.1

Print this record Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 3.33 from 5 (3 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Comment of dsad (2011-06-13 09:04:31):
As for the petite bride, an A Line Wedding Dresses could be best, simply because this kind of dress may possibly lengthen your body and make you look slim. In this sense, you must refuse sheath-style Wedding Gowns, in that sheaths may possibly shorten the entire body. And full skirts which will trigger you to be "bottom heavy" really should also be rejected.For broader shouldered brides, you are able to try bridal dresses with halter or off-the shoulder neckline, or you'll be able to adopt strapless Wedding Gowns together with fine cute accessories which can go well together with your body type.off the Shoulder Wedding Dresses for brides will work nicely with large-busted brides. This dress style may well appeal the attention upwards by stressing the shoulders. Bear your mind to steer clear of full skirts which may possibly make your entire body look huge and fat. Narrow skirts are your very best selection.

Comment of replica ray ban clubmaster (2011-08-08 10:43:41):
replica ray ban clubmaster fake oakley flak jackets cheap replica oakley sunglasses cheap ray-ban sunglasses discounted oakley sunglasses cheap foakleys fake ray ban sunglasses fake oakley sunglasses replica oakleys

Comment of handbags (2011-08-19 06:05:23):
The mont blanc wallets in my favorite of the gold collection because I have a new prada wallets that would match nicely. doudoune moncler pas cher sont vraiment lisse quand vous vous sentez et ce contact et c'est la raison pour laquelle les femmes de tous ages qui aiment acheter ces vestes. Les caractères les initiales de l'Clermont monoester de rendre la marque moncler vente à la fin. Le père Moncler particulier - Ramillon commencé à développer des doudoune femme moncler de tous ages par des skis grands et aussi des tentes en 1950. Il aime sa patrie et les montagnes tellement. Alors que la Seconde Guerre mondiale moncler enfants, le résultat direct d'en faire le duratif forte fournis aux armées fran?aises alpines.

Comment of google (2011-09-07 05:54:31):
google [url=http://www.google.com/]google[/url]

Comment of herve leger (2011-09-07 06:00:52):
Advanced technology and fashionable appearance are making the monster headphones outstanding,And you can also pay attention to the monster beats,monster beats by dre and monster beats by dr dre headphones.The different series will show you the various feeling in the music world.All women includes a desire princess, whenever we placed on a pair of high heels, the desire finally arrived true. In all, nobody can resist the lure of Christian louboutin shoes.louboutin shoes and christian louboutin pumps not only show the fashion concept, but also shape your figure well. christian louboutin wedding shoes can show you very unique on the wedding day.These are the reasons why Christian louboutin shoes so popular and you must be intend to pick one pair home.In this day of summer,have you ever thoungt about going into the magic world Cartier to enjoy the glamourouscartier eyeglasses.When we put out finger on it,it will make us go crazy at the fist moment.We will can not resist the so chic the glasses wood frame by Cartier.The armani sunglasses is so beautiful and extraordinary.

Comment of christian louboutin (2011-09-07 06:02:04):
In August 11, 2011, Taiwan's leading mobile phone maker HTC spended $ 300 million acquisition of high-end headphone manufacturer monster beats Electronics majority stake. The news both for the player or cell phone headset users are shocking.Why htc merge and acquisit monster beats pro ? beats by dre beats pro provides a unique brand experience. I believe the two sides close strategic partnership will provide those who love to use HTC phones impeccable sound quality experience.Summer is filled with barbeques, beach fun, pool parties and heat – lots and lots of heat. There are plenty of cute outfits and karen millen dress that you can wear on these hot, humid days…You can choose the karen millen butterfly dress and matched with eye-catching red high heels, you will lookamzing!If you love karen millen silver dress, but you can’t afford for it, why not have a look at karen millen maxi dress online shop? More choices and more deals, enjoy your trip!Here we can offer many brand shoes.The lady dresses including the lady shoes and boots lady.All brands are the top class ones with high quality and innovative design.but the most deserved one you will get here.

Comment of chi flat iron (2011-09-07 06:03:20):
women fashions can be regarded as the symbol of the status,and designer products have been pursued by more and more trendsetters.Our website has been the leading supplier in the fashion clothing field.Especially to cater to the demand of the different group,we offer various of top brands in women high heels,Such as louboutin shoes,herve leger dress, Karen Millen Dress and Cartier Sunglasses.Ugg shop is specialized in snow boot for women.With a pair of snow boot like Ugg boots,your winter will be warm and colourful.Nowadays Uggs are prestigious among the Europe and America,then here comes the name of Ugg us.And when you are out with the Ugg boots, you may as well put the Moncler Coat on.They will be a perfect combination in this coming winter.

Comment of real jordans (2011-09-08 05:25:20):
Is the store really selling nike jordan shoes authentic Jordans shoes? Jordan Fusion 9 online If the content of the site does not indicate clearly then try reading through some of the internal pages where you can get this information as this is your Air Max 24/7 first step to weed out stores that sell replicas.2. What is unique about the store? Does it offer any special discounts on Jordans shoes or cheap nike shox special offers that you can benefit from when compared to other stores?3. Does the Air Jordans 15 Retro NikeJordan shoes Online Real Jordan Stroe cheap authentic jordans real jordans cheap jordan shoes real jordan shoes nike jordan shoes cheap jordans Authentic jordans Authentic jordan shoes cheap real jordan shoes cheap real jordans 2011 Jordan sneakers Authentic Jordan Store store have a return policy in place? If no, then it's risky to buy from such online stores as you stand a high chance of losing your money in case of incorrect shoe size or discrepancy in color.4. Does the store offer the entire range Air Jordans 6 Retroof Jordans shoes from which you can choose or it cheap Nike Shox R5 only offers a limited few designs and colors?5. Does the online store provide any kind of online chat support that makes it easy for you to shop around? This isNike Shox R5 womenimportant as you can clarify any questions immediately before making a decision to buy your Jordans shoes.Once you have an Air jordan 12answer to all these, it will surely make icheap Jordanst easy for you to narrow down your list to the ideal store to buy as very few stores will have the combination of all the above factors.

Comment of ugg (2011-09-15 04:09:29):
9.15 soil ブランド腕時計|ロレックス時計|オメガ時計|IWC腕時計 ロレックスデイトナ|ロレックスエクスプローラー|ロレックスGMTマスターII|オメガスピードマスター|オメガシーマスター|オメガアクアテラ|オメガデ ?ヴィル|IWCアクアタイマー|IWCインヂュニア|IWCスピットファイアー|IWCポルトギーゼ|ロレックスサブマリーナ|ロレックスヨットマスター|ロレックスターノグラフ|ロレックスミルガウス|ロレックスエアキング|ロレックスパーペチュアルデイト|ロレックスチェリーニ チェリニウム|ロレックスデイデイト|ロレックスプリンス|オメガコンステレーション|IWCクラシックパイロット|IWCポートフィノ|ロレックスデイトジャスト bag-brand.net ルイヴィトン店舗ルイヴィトンコピー ルイヴィトン財布ルイヴィトンバッグルイヴィトン 激安ルイヴィトン 通販ルイヴィトン 直営店グッチバッググッチ財布グッチコピー アバクロ 新作 アバクロ店舗 ブランド腕時計 ;ロレックス時計 ;オメガ 時計 ;IWC 腕時計M91451; N41132; M40203;

Comment of wedding dresses (2011-09-23 03:25:57):
moncler jackets are famous for its superior function in keeping warm.,moncler outlet are simple but with rich styles. how to maintain the Moncler coats and let its function do well? doudoune monclerare regarded as the bright spot in the winter time by many people. Wedding must be the most unforgettable and important time for everyone,the wedding dresses become royal equipment for bride.Pick suitable wedding gowns and rest your worries to experience the beautiful time. The certain bridesmaids dresses and evening dress for the people who take part in wedding party can be showed on this important occasion .

Comment of coach factory outlet (2011-09-23 05:52:07):
coach factory outlet  coach purses  coach bags  coach outlet  coach outlet  coach outlet online  coach factory outlet  coach factory outlet online  coach boots  louis vuitton online  louis vuitton outlet  louis vuitton online  louis vuitton sale  louis vuitton bags outlet  

Comment of coach factory outlet (2011-09-26 10:47:09):
coach bags  coach purses  coach outlet  coach factory outlet  coach outlet  coach factory outlet  coach outlet online  coach factory outlet  louis vuitton online  coach boots  louis vuitton bags outlet  louis vuitton bags  louis vuitton sale  louis vuitton outlet  Moncler Outlet  

Comment of louis vuitton outlet (2011-09-26 11:03:48):
Christian Louboutin  Christian Louboutin Soldes  Louis Vuitton  Borse Louis Vuitton Outlet  Burberry Outlet  Louis Vuitton Handbags  Tiffany UK  Tiffany And Co  Burberry Scarf  Moncler  Tiffany Jewelry  Tiffany Outlet  Coach Outlet Store Online  chanel tassen  Burberry Sale  Louis Vuitton Borse  Louis Vuitton Outlet  louis vuitton sale  Louis Vuitton Bags  sito louis vuitton  Sac Louis Vuitton Pas Cher  

Comment of hhGdiuoIdiEIOFke (2011-09-28 10:39:20):
Why does this have to be the ONLY rleiable source? Oh well, gj!

Comment of wedding dresses (2011-09-30 02:24:01):
Wedding must be the most unforgettable and important time for everyone,the wedding dresses become royal equipment for bride.Pick suitable wedding gowns and rest your worries to experience the beautiful time. The certain bridesmaids dresses and evening dress for the people who take part in wedding party can be showed on this important occasion . monster beats solo hd Diddybeats bring the surprise, monster beats studio Diddybeats are perfect for your . chi flat iron now becomes the famous brand in the hair straightening market and it has many prominent features. chi flat iron uses highly sophisticated technology to produce all its products. chi hair straightener,chi hair iron.

Comment of herveleger (2011-09-30 02:24:41):
Fashion mix and match the color of karen millen silver dress,The new collections of cheap karen millen dresses have promoted recently. Herve leger wedding dress is famous for its wear production, in addition to this, there are many branches of herve leger black dress. Everybody loves Christian louboutin slingback, New collections of Christian louboutin boots have promoted. Why people love Heartbeats by lady gaga, beat by dr.dre studio headphones delivers the good sound.

Comment of christian louboutin (2011-09-30 02:25:27):
As a loyal fan of snow boots,you must pay close attention to the development of ugg boots. Many christian louboutin Peep Toe assistance us ? christian louboutin shoes have more and more casual styles so that you can wear in any occasions. buy christian louboutin pumps that are made by top designers that are well known today. Why the Cartier sunglasses are very popular in the world wide? sunglasses for men are well known spectacles in globally.

Comment of YQLEseEdPAtv (2011-10-01 03:21:06):
Well done article that. I'll make sure to use it wlsiey.

Comment of ugg (2011-10-08 03:44:47):
10.8 bundle ルイヴィトンバッグルイヴィトン財布ルイヴィトンコピー ブランド腕時計ロレックス時計オメガ 時計IWC 腕時計 ブランド レプリカブランド 時計ブランド コピー IWCレプリカIWC時計IWCコピー オメガレプリカオメガ時計オメガコピー

Comment of herve leger (2011-10-12 07:58:59):
Today, monster butterfly by vivienne tam is so impressive that has became more and more popular among younger generation. the monster beats in ear headphones were definitely designed to be noise-canceling. why monster beats is so fantastic for your life? Music with monster beats can help you plug in the wings of imagination, monster beats is adjustable and feels relatively comfy. The Cartier sunglasses In Purple represent the most fashionable trend, sunglasses for men represents the most fashionable trend. Cartier sunglasses is so fashion a brand that have attracted so many fans, The innovative design and bright color makes Cartier sunglasses always in the fashion frontier. If you were looking for fashion design of Cartier sunglasses, Cartier sunglasses according to Louis. Saying about snow boots, the boots go well with the clothes. The easiest way to wear your ugg boots, experience your fashion trip with the ugg store. The easiest way to wear your ugg us is with your comfortable skinny jeans and a baggie blouse accessorized by a necklace.