Re: DNS and DHCPD

2003-01-09 Thread Fred Zhang
Hi lattera,


   You may need such options in the dhcpd.conf

option routers  192.168.1.99;
option subnet-mask  255.255.255.0;

option nis-domain   demo.com;
option domain-name  demo.com;
option domain-name-servers  10.1.1.1


In you windows client, by the commands


  ifconfig /all


you will see the detail info. gotten from the dhcp server.





Regards,
Fred Zhang


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 09, 2003 8:13 AM
Subject: DNS and DHCPD


 I would like to configure my dhcpd server (isc-dhcpd3 from ports). I would
 also like to have the options domainnameservers (or somewhat similar) to
 be dynamic, as my fBSD box is my own router. (I run a local network). The
 WAN side is DHCP'd, so my IP and DNS servers are set differently each
time.

 I was wondering how to set the domainname servers option in my dhcpd.conf
 dynamically. Like, it would get edited each time upon bootup, and before
 dhcpd even loads.

 I don't know how to even start approaching this problem, except for asking
 you guys.

 Thanks so much,

 lattera

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Simple Samba Question(?)

2002-09-25 Thread Fred Zhang

Scott,

1) Do you use encrypted passwords or plain password in your Samba Server
configuratioin?
If you use plain password in samba server configuration, you may need to
modify your registry in WindowXP?

2) Do you create the smb users and connect use the smbuser while not the
system user.

Regards,
Fred Zhang



- Original Message -
From: Thanatos [EMAIL PROTECTED]
To: Scott R. [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 8:34 PM
Subject: Re: Simple Samba Question(?)


 Scott R. wrote:
  [I am not currently subscribed to this mailing list, so please 'cc:' me
  in any replies.  Thank you.]
 
  I have a simple home network with one Windows XP machine and one FreeBSD
  4.6.2-RELEASE machine.  I am trying to set up a Samba share on the
  FreeBSD machine that the WinXP box can read/write to.  I can get it to
  read the share, but I cannot seem to write to it.  My config file is
  really simple:
 
  [global]
  workgroup = MYWORKGROUP
  netbios name = DRAGULA
  security = SHARE
 
  [Shared]
  path = /u1
  read only = No
  guest ok = Yes
 
  Every time I try to write to the share, I get an Access Denied error.
  I'm using Samba 3.0a19.  I had this working before I moved and now I
  cannot remember how I got it to work (I just remember it was a pain).
  I've also searched high and low all over the net and come up with
  nothing.  Any help you all may be able to offer would be greatly
  appreciated.
 
  -Scott
 
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 
 

 Hi Scott,

 You could try to put:

writable = yes

 in the [Shared] section. Also, does the user you are connecting with
 have the correct permissions to write to /u1?

 I have XP connecting to a samba server on FreeBSD 4.6.2, I can both read
 and write from my home directory.

 Hope you figure it out,
 Thanatos


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message