Warning: Undefined variable $g_charset in /home/os4depot/public_html/index.php on line 9

Warning: Undefined array key "cookie_set_viewmode" in /home/os4depot/public_html/login.php on line 24

Warning: Undefined array key "viewmode" in /home/os4depot/public_html/login.php on line 42

Warning: Undefined array key "cookie_set_startpage" in /home/os4depot/public_html/login.php on line 48

Warning: Undefined array key "startpage" in /home/os4depot/public_html/login.php on line 68

Warning: Undefined array key "f_adm_out" in /home/os4depot/public_html/login.php on line 80

Warning: Undefined array key "f_adm_usr" in /home/os4depot/public_html/login.php on line 87

Warning: Undefined array key "f_adm_pwd" in /home/os4depot/public_html/login.php on line 88

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/index.php on line 21

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/head.php on line 6
OS4 Depot @ Orgin.biz - Your one stop for AmigaOS4 files
Warning: Undefined variable $g_charset in /home/os4depot/public_html/head.php on line 22

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/head.php on line 23

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/top.php on line 8
OS4 DepotLogo by McFly 
(anonymous IP: 10.3.64.202,0) 

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/top.php on line 44

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 8

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 9

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 11

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 12

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 20

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 21

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 22

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 23

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 28

Warning: Undefined variable $function in /home/os4depot/public_html/menutop.php on line 29
  Home Recent Stats Search Mirrors Contact Info Disclaimer Config Admin

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/index.php on line 73
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

Warning: Undefined variable $g_charset in /home/os4depot/public_html/quicksearch.php on line 9


Warning: Undefined variable $function in /home/os4depot/public_html/menu.php on line 15

Warning: Undefined variable $function in /home/os4depot/public_html/menu.php on line 15

Warning: Undefined variable $function in /home/os4depot/public_html/menu.php on line 15

Warning: Undefined variable $function in /home/os4depot/public_html/menu.php on line 18

Warning: Undefined variable $function in /home/os4depot/public_html/menu.php on line 19

Warning: Undefined variable $cat in /home/os4depot/public_html/menu.php on line 26
 Categories

   o Audio (352)
   o Datatype (51)
   o Demo (214)
   o Development (629)
   o Document (24)
   o Driver (103)
   o Emulation (156)
   o Game (1063)
   o Graphics (516)
   o Library (123)
   o Network (243)
   o Office (69)
   o Utility (962)
   o Video (74)

Total files: 4579

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site



Warning: Undefined array key "fileinfo" in /home/os4depot/public_html/showfile.php on line 5

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/showfile.php on line 12
 Readme for:  Network » Samba » setupdhcp.lha


Warning: Undefined variable $second in /home/os4depot/public_html/functions.php on line 594

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/showfile.php on line 65

Warning: Undefined variable $g_hasmypage in /home/os4depot/public_html/showfile.php on line 106

Setupdhcp

Description: Arexx script to help setup DHCP with Samba
Download: setupdhcp.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 2kb
Version: 1.0
Date:  30 Oct 07
Author: Brian Savage
Submitter: Brian Savage
Requirements: Working Samba installation
Category:  network/samba
License: Emailware
Distribute: yes
Min OS Version: 4.0
FileID: 3108
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 136  (Current version)
136  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
Arexx script that will determine the ip address of your Amiga and the ip
addresses of all hosts on a network that uses DHCP and then add this
information to Roadshow's Hosts database. Allows you to use Samba with DHCP.

You can have this script setup to run every time you boot your Amiga, or like I
do, from a button in DOpus4. IP addresses really don't change that often on my
network. When they do, I just run this script.

Brian Savage,
Mississauga, Ontario, Canada
b.savage()rogers.com
(other Amiga programs by undersigned include 
 SunCalc, SciCalc, Cal, Convert - all on Aminet)
   
March 2004

Modified for AmigaOS4 & AmigaOne in January 2005

This script requires:

1. Working Samba installation
2. nmblookup installed (somewhere in the command path)
3. ShowNetStatus in command path (OS4)

What this script does:

1. It copies your existing hosts file (devs:internet/hosts) to ram:    (step 1)
2. It will then extract all hosts & ip addresses from this file EXCEPT for those
on your local network and copies them to a new temporary file ("newhost") in
Ram: (step 2)
3. Finds your AmigaOne's ip address using shownetstatus command. AmigaOne
hostname & ip address then written to temporary file "newhost"  (step 3)
4. Finds the ip address of all hosts that you have added to the hosts
section (B) below. These host names and their corresponding ips are
then written to temporary file "newhosts" in ram: (step 4)
5. Backup old hosts file and copy "newhosts" file in ram: 
to "devs:internet/hosts".
6. Delete all temporary files in ram:

What you need to do:

1. Add ip of your local domain, your AmigaOne's hostname and interface name
to Section A Local Domain below
2. Add names of all hosts on your local network to Section B Hosts below.


Notice: Please make a backup of your original hosts file before you run
this script!!!! It works for me but has not been tried on any other system.

I also have a simliar script for OS3.x that updates Miami's host file. 
If there is any interest I can clean up that script too and upload it 
to Aminet.

Thjis text is also included in the Arexx script.

Brian Savage         


Copyright (c) 2004-2026 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment