Re: Remotely editing files

2003-06-11 Thread Shri Shrikumar
On Wed, 2003-06-11 at 09:45, Greg Wright wrote:
> All I need to do, is find a way to securely connect to the Debian system
> (from a windows server at this stage, the programmer isn't confident to
> work in a deb environment) and load, modify and save the dhcp.conf file.
> Better is be able to restart DHCP afterwards.
> 
> Can anyone point me in the right direction for how I might go about
> achieving this?
> 

What about webmin-dhcpd ? Havent used it myself but webmin is certainly
very useful.

Oh, You will have install webmin from the testing branch since there
seems to be some problems with webmin in stable.


HTH,

Shri

-- 

Shri Shrikumar   U R Byte Solutions   Tel:   0845 644 4745
I.T. Consultant  Edinburgh, Scotland  Mob:   0773 980 3499
 Web: www.urbyte.com  Email: [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: Remotely editing files

2003-06-11 Thread Shri Shrikumar
On Wed, 2003-06-11 at 09:45, Greg Wright wrote:
> All I need to do, is find a way to securely connect to the Debian system
> (from a windows server at this stage, the programmer isn't confident to
> work in a deb environment) and load, modify and save the dhcp.conf file.
> Better is be able to restart DHCP afterwards.
> 
> Can anyone point me in the right direction for how I might go about
> achieving this?
> 

What about webmin-dhcpd ? Havent used it myself but webmin is certainly
very useful.

Oh, You will have install webmin from the testing branch since there
seems to be some problems with webmin in stable.


HTH,

Shri

-- 

Shri Shrikumar   U R Byte Solutions   Tel:   0845 644 4745
I.T. Consultant  Edinburgh, Scotland  Mob:   0773 980 3499
 Web: www.urbyte.com  Email: [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: Remotely editing files

2003-06-11 Thread Marcin Sochacki
On Wed, Jun 11, 2003 at 06:45:03PM +1000, Greg Wright wrote:
> All I need to do, is find a way to securely connect to the Debian system
> (from a windows server at this stage, the programmer isn't confident to
> work in a deb environment) and load, modify and save the dhcp.conf file.
> Better is be able to restart DHCP afterwards.

Use pscp from PuTTY package. It's a scriptable scp client for Windows.
After putting the file on remote server you can issue the:
/etc/init.d/dhcp restart
command via PuTTY (which I think is scriptable, too),
or alternatively write a simple file monitor on your Debian box
and restart the DHCP server when the configuration file is changed.

Marcin




Remotely editing files

2003-06-11 Thread Greg Wright
Hi all,

I hope this is an acceptable list to ask this...

Im a Windows guy by trade, however recently have been gradually
switching our servers from Microsoft to Debian. Ooh I love apt-get :o).
So does my now useful old Pentium 233!

Anyway, as part of this I wanted to find a way to remotely manage a DHCP
configuration file, in an automated fashion. When we add a new customer
to a portion of our network, depending upon circumstances we set up some
DHCP configurations for them.

At the moment, I do this manually, but I would like to be able to have
it happen automatically when I add the customer to the Network
Management app (which is web based).

All I need to do, is find a way to securely connect to the Debian system
(from a windows server at this stage, the programmer isn't confident to
work in a deb environment) and load, modify and save the dhcp.conf file.
Better is be able to restart DHCP afterwards.

Can anyone point me in the right direction for how I might go about
achieving this?

The box is pretty secure, and relies on SSH for remote administration.
Access, as I said, would be an automated process from a Windows based
system.

Im thinking (and please, remember im a newbie!) that I should use a
process that grabs the file, changes it, and replaces the old file, and
use a cron job to enact the changes on the hour.

Any better ways? Realtime updating of the DHCP configuration would be
ideal.

Regards,
Greg




Re: Remotely editing files

2003-06-11 Thread Marcin Sochacki
On Wed, Jun 11, 2003 at 06:45:03PM +1000, Greg Wright wrote:
> All I need to do, is find a way to securely connect to the Debian system
> (from a windows server at this stage, the programmer isn't confident to
> work in a deb environment) and load, modify and save the dhcp.conf file.
> Better is be able to restart DHCP afterwards.

Use pscp from PuTTY package. It's a scriptable scp client for Windows.
After putting the file on remote server you can issue the:
/etc/init.d/dhcp restart
command via PuTTY (which I think is scriptable, too),
or alternatively write a simple file monitor on your Debian box
and restart the DHCP server when the configuration file is changed.

Marcin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Remotely editing files

2003-06-11 Thread Greg Wright
Hi all,

I hope this is an acceptable list to ask this...

Im a Windows guy by trade, however recently have been gradually
switching our servers from Microsoft to Debian. Ooh I love apt-get :o).
So does my now useful old Pentium 233!

Anyway, as part of this I wanted to find a way to remotely manage a DHCP
configuration file, in an automated fashion. When we add a new customer
to a portion of our network, depending upon circumstances we set up some
DHCP configurations for them.

At the moment, I do this manually, but I would like to be able to have
it happen automatically when I add the customer to the Network
Management app (which is web based).

All I need to do, is find a way to securely connect to the Debian system
(from a windows server at this stage, the programmer isn't confident to
work in a deb environment) and load, modify and save the dhcp.conf file.
Better is be able to restart DHCP afterwards.

Can anyone point me in the right direction for how I might go about
achieving this?

The box is pretty secure, and relies on SSH for remote administration.
Access, as I said, would be an automated process from a Windows based
system.

Im thinking (and please, remember im a newbie!) that I should use a
process that grabs the file, changes it, and replaces the old file, and
use a cron job to enact the changes on the hour.

Any better ways? Realtime updating of the DHCP configuration would be
ideal.

Regards,
Greg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]