Re: Several issues with /etc/hosts.allow at a university setting
From: Bit Twister (BitTwister_at_mouse-potato.com)
Date: 08/31/05
- Next message: David Dumas: "Re: dropped packets"
- Previous message: Bret: "Re: Urgent !!! Is vnc viewer a peeper ?"
- In reply to: dpdoughe_at_allvantage.com: "Several issues with /etc/hosts.allow at a university setting"
- Next in thread: Unruh: "Re: Several issues with /etc/hosts.allow at a university setting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Aug 2005 20:21:11 -0500
On 30 Aug 2005 18:06:37 -0700, dpdoughe@allvantage.com wrote:
> Recently I was required to "register" my laptop (running Fedora 3) with
> my university's computer support office in order to use their internet
> on campus. Somehow in this self-guided on-line process they
> automatically created a new hostname for my computer.
Yes when dhcp is used and you have not disabled hostname your pc gets
a new new name.
What you could do is create a script to update /etc/hosts with your ip
address, and name your pc. That should stop your problem in either
mode. You would do a
man your_dhcp_client_name_here
to see what the script name needs to be created.
I am running mandrivalinux and do not know where things can be set of FC3.
You might put
NEEDHOSTNAME=no (followed by a carriage return)
in /etc/sysconfig/network-scripts/ifcfg-eth0
That stops name changes but a hostname of localhost will not do well.
Do set a name for your host.
$ cat /etc/sysconfig/network
HOSTNAME=fw <=== here is where node name goes
NETWORKING=yes
NETWORKING_IPV6=no
GATEWAYDEV=eth1
GATEWAY=24.1.202.1
$ head /etc/hosts
127.0.0.1 localhost
192.168.2.1 fw.home.invalid fw <==== alias here
- Next message: David Dumas: "Re: dropped packets"
- Previous message: Bret: "Re: Urgent !!! Is vnc viewer a peeper ?"
- In reply to: dpdoughe_at_allvantage.com: "Several issues with /etc/hosts.allow at a university setting"
- Next in thread: Unruh: "Re: Several issues with /etc/hosts.allow at a university setting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|