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 Server in DSL< Next Oldest | Next Newest >
bangoram Offline





Group: Members
Posts: 13
Joined: July 2006
Posted: June 23 2007,14:09 QUOTE

I tried installing dhcp server in my linux box(which has DSL) to share internet connection through wireless, but I am unable to do that.I am using the command

apt-get install dhcp dhcp-relay
below is the link from where I got this command

http://damnsmalllinux.org/cgi-bin....564&st=

Though the internet connection is working properly on typing the above command I am getting this error

E: could not open lockfile /var/lib/dpkg/lock - open(2 No such file or directory)
E: Unable to lock the administration directory(/var/lib/dpkg/) are you root?

From the above error I am able to understand one thing, to use this command I should be a root user (but I am root user)

I tried to download direct dhcp.dsl extension but I am unable find anything of that kind in DSL repository.

I will really appreciate if anyone can reply with few tips and suggestions..

Thanks!
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 23 2007,15:35 QUOTE

DSL isn't totally Debian compatible. If you want a simple dchp server, compile Busybox with only that.
It's quite easy, doesn't need more libs (apart from gnu-utils and gcc1-with-libs) and is small..


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
bangoram Offline





Group: Members
Posts: 13
Joined: July 2006
Posted: June 23 2007,16:45 QUOTE

Curaga thanks for the response!

But I have seen dhcp3-server in /etc/init.d/ where as I am unable to start the server with the start command.Is there no way to have dhcpd in DSL are there any available packages/DSL extensions for this daemon??? which I can download and install..using mydsl-load command??

Please reply..

Thanks!
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 24 2007,06:39 QUOTE

That script must have left over from Knoppix.
So, if you don't want to compile, I can do it.. Wait a couple of days and it should be posted in testing section


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 24 2007,10:44 QUOTE

Posted for evaluation

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
9 replies since June 23 2007,14:09 < 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 Server in DSL

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