On Wed, 9 May 2007 21:52:58 +1200 "Krsnendu dasa"
<[EMAIL PROTECTED]> wrote:
> I have a laptop which connects sometimes through a wired connection
> and sometimes through wireless. How can I set up the dhcpd on the
> server so that which ever connection I use (often both are connected
> at the same time too) Backuppc will pick up the name of my computer
> and do its backups.
> At present I have set 2 ip addresses in dhcpd.conf one for wireless
> and one for wired. I had to set different names for them here too. So
> when I connect by wireless it is nendu-wireless and when I connect
> wired it is nendu. So the backups only work when my computer is
> connected to the wired network.
If using ddns and dhcpd from ISC create a file like:
host tech-mcullum-46815-wired {
hardware ethernet 00:0d:93:ed:18:26;
ddns-hostname tech-mcullum-46815;
}
host tech-mcullum-46815-wireless {
hardware ethernet 00:0d:93:ed:18:26;
ddns-hostname tech-mcullum-46815;
}
without ddns your options are more limited. According to ISC you can
try something like this:
host tech-mcullum-46815-wired {
hardware ethernet 00:0d:93:ed:18:26;
option host-name tech-mcullum-46815;
}
host tech-mcullum-46815-wireless {
hardware ethernet 00:0d:93:ed:18:26;
option host-name tech-mcullum-46815;
}
but many dhcp clients ignore the option host-name clause. If this is
the case, the only solution I know of it ddns.
cheers,
ski
--
"When we try to pick out anything by itself, we find it
connected to the entire universe" John Muir
Chris "Ski" Kacoroski, [EMAIL PROTECTED], 206-501-9803
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/