In the course of the last week I was once again a few times and have long since looked to see what to do with my old DSL modem can start everything and lo and behold, it's a true multifunction device ;-).
So I do not have to start again from the very front of the old items to: New DSL Modem (06.06.2005)
First, I took that out, that one can not write to the modem and in the tempporären memory (/ var / tmp /).
The simplest method was to transfer files for me to shut at the time a simple Web server on the PC and then using "wget" by modem. In addition, the modem is still an "ftp client" with me but I have not yet been considered further.
So: first DHCP server to umgopolt that he is not the modem as a gateway takes but my router simply by the "/ var / tmp / udhcpd.conf" with its overrides. This time my example:
start 192.168.0.3
end 192.168.0.254
inflease_time 604800
interface br0
opt router 192.168.0.1
opt dns 192.168.0.1
opt subnet 255.255.255.0
opt lease 3600
conflict_time 60
lease_file /var/tmp/udhcpd.leases
wherein the first two lines for the IP range available, the next for Allocating duration, inter-factor describes the interface, optical router is the gateway, dns opt the DNS server and the rest no plan ;-). In her lease_file should specify the path to the file in the Ip awarded will be saved.
And now you can restart the DHCP using: "udhcpd / var / tmp / udhcpd.con"
Then I thought me if you can not possibly spend his private Web interface instead of the sides, which also works perfectly. Simply use "ps-a" "Check httpd" service, and end with "kill".
Then restart the Web server with "/ usr / sbin / thttpd-g-d / var / tmp / www-u root-p-c / cgi-bin /". It is "/ var / tmp / home /" directory where the HTML files can be stored.
Thats basically it.
Have fun wish BODY Snatch.



