blank hostname
I have a kind of interesting problem. I have a linksys router and it acts as a DHCP server as well. Well I have the networking set up on my machine and I can ping outside to any site. But the problem is that in the DHCP server on the router is shows a blank name and I also cannot ping myself using the name thats set as the machine name 'trashbox'. I also cannot ping any machines on my network and cannot ping 'trashbox' from any other machines. When I type in hostname to get my hostname it comes back with my FQDN which I have set 'trashbox.boxnet.cc' Any ideas why I get the blank name in the router or why I cannot ping anything local?
|
Look at the network setup scripts in /etc/system/network. Find the place where HOSTNAME is set, and add a line to set DHCP_HOSTNAME to the same value.
|
I dont have that file /etc/system/network
|
Close, but no cigar :
What Paul meant to say was... [If you're running under Redhat] look at /etc/sysconfig/network - change the HOSTNAME=binky then look in /etc/sysconfig/network-scripts/ifcfg-eth0 where eth0 is your interface. add : DHCP_HOSTNAME=binky.slickwilly.com where, binky and slickwilly.com are your machine/domain. This may, or may not solve your problem... ho hum. Slick. |
where whould I put that for slackware?
|
Unfortunately I have no idea.
It's been quite some time since I last used Slackware (1997). You might have better luck asking in the Slackware (distribution) forum.. Or.. if I bump this, some kind soul who knows in this forum will step in :) Slick. |
All times are GMT -5. The time now is 02:55 AM. |