Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hello DNS323 enthusisasts,
A strange, intermittent issue:
When I boot DNS323, my router shows the correct name in DHCP client table (to whatever I had set in DNS323 box Steup -> device -> Name). But after a few days, I find that I cannot access DNS323 from my windows XP machine. When I check the DHCP client table in my router, the name of the box has been reset to original name "DNS-323"!
What's happening?!!!
Thanks
Offline
Hi All,
Can anyone please help me to diagnose this issue? The server name gets reset to the default "DNS-323" (from "spock") after a few days (as seen on router's DHCP active IP table). When I do 'hostname' on the dns-323, it reports "spock", which is correct. Now I am even more confused. Is it the router or dns-323 that is the problem? I am using Linksys WRT54GS router. When I reset dns-323, the router shows the server name ("spock") correctly for a few days then reverts back to "dns-323". I have the latest firmware on both the router and dns-323.
I did a configuration backup to see what configs dns-323 has. I found 2 strings that have contain server name but both seem to be commented out? It seems user override appears first followed by factory defaults.
I would greatly appreciate any idea on how I can fix this. Thanks. Here is a snippet from backup config file.
Version = v2.5
;CF-SYS-MODEL-STR = "spock"
CF-WEB-IDLE-TIME = "30"
CF-IP-DHCP-ENABLE = "1"
CF-IP-STATIC-IP = "192.168.1.100"
CF-IP-STATIC-IP-NETMASK = "255.255.255.0"
CF-IP-STATIC-IP-GATEWAY = "192.168.1.1"
.
.
.
deleted
.
.
;CF-SYS-MODEL-STR = "DNS-323"
CF-WEB-IDLE-TIME = "10"
CF-IP-DHCP-ENABLE = "1"
CF-IP-STATIC-IP = "192.168.0.32"
CF-IP-STATIC-IP-NETMASK = "255.255.255.0"
CF-IP-STATIC-IP-GATEWAY = "192.168.0.1"
Offline
The hostname for the DNS-323 is set by the startup script /etc/rc.d/rc.init.sh
This script 'rc.init.sh' is created (I think?) by the web GUI and stored in flash
memory. The /etc/rc.sh script copies 'rc.init.sh' out of flash memory to hard
drive and executes the 'rc.init.sh' script.
If you have telnet enabled (Fonz's fun_plug) you can inspect the /etc/rc.d/rc.init.sh script
Here is what my 'rc.init.sh' looks like: (I use a static IP address)
#!/bin/sh /sbin/ifconfig egiga0 192.168.1.11 netmask 255.255.255.0 route add default gw 192.168.1.1 HOSTNAME='olympus' echo "Setting hostname .... $HOSTNAME" /bin/hostname $HOSTNAME
Offline
Thanks for the tip.
I already have fonz's fun_plug. I will try your suggestion. Thanks again.
Offline
There is one more place you should check to see if the hostname is correct.
In the file /etc/samba/smb.conf there is a line that begins with netbios name =
that should be set to 'spock'
Here is the beginning of my smb.conf
# cat /etc/samba/smb.conf [ global ] client code page = 850 character set = 850 workgroup = mignet netbios name = olympus server string = DNS-323 %v hosts allow = ...
Offline
Thank you all. I did all that has been suggested so far - but still the same intermittent problem.
Now, I am using static IP instead of router issues dynamic IP - so things are little better. With one XP computer I am always able to acces my box - but with another XP machine, I still have problems when I try to access share using name. Instead, I use the static IP which works fine. I guess I just have to live with this workaround.
Thanks again.
Offline