Dhcp Server in DSL


Forum: Networking
Topic: Dhcp Server in DSL
started by: bangoram

Posted by bangoram on June 23 2007,14:09
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!

Posted by curaga on June 23 2007,15:35
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..

Posted by bangoram on June 23 2007,16:45
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!

Posted by curaga on June 24 2007,06:39
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

Posted by curaga on June 24 2007,10:44
Posted for evaluation
Posted by curaga on June 24 2007,10:48
I looked at that script. It is a leftover from Knoppix, as the binary dhcp3 isn't included..
Posted by charliez on Sep. 12 2007,03:07
Quote (curaga @ June 24 2007,06:44)
Posted for evaluation

I too am looking for a small dhcp server for 4.0rc2. I looked in the mydsl browser under testing and under net but don't see any with dhcp?

Posted by curaga on Sep. 12 2007,14:36
It is in testing, the name's "busyserver.tar.gz". The description says dhcp server..
But I'm used to downloading these from the web, not the mydsl browser...

Posted by ^thehatsrule^ on Sep. 12 2007,15:52
Perhaps it was not easily "searchable" cause dhcp was spelt "dchp"
Posted by curaga on Sep. 12 2007,16:51
damn those Topyss..
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.