Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-02-2002, 11:07 AM
|
#1
|
LQ Newbie
Registered: Jan 2002
Posts: 25
Rep:
|
My dynamic IP is destroying my system.
I am using an @home connection for my linux box and it seams that everytime my IP changes (usually about 3 months) It almost renders my system usless. They may not be related but they sure seem to be.
First Problem: Probably the most annoying is that Symbolic lynx flash red at the console as if they are broken, Yet they work and brand new ones get created the same.
Second Problem: My X server freezes when it starts. I have a feeling it has something to do with the broken links to the font files and the init scripts.
Lastly: The hostname (kind of @home assigned) will not change. I think i have found a solution to that by changing the /etc/sysconfig/network hostname entry to read the name I have in the /etc/hosts file and attached that to the internal interface. (I use it for firewall and routing)
Any suggestions, Advice, or fixes would greatly be appreciated.
Thanx in advance.
|
|
|
02-02-2002, 11:42 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
what do these links do? there's no way a dynamic IP should affect anything. you shouldn't have an entry to yourself (other than on localhost) in /etc/hosts my external IP is dynamic, but my system has nothign to do with the IP address at all. I presume you've configured your system strangely.
|
|
|
02-02-2002, 04:10 PM
|
#3
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
I use @home
if you put this in you ifcfg file for the nic it will connect
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
DHCP_HOSTNAME=cc?????-?
you can setup your hostname to anything you want in /etc/sysconfig/network
Last edited by DavidPhillips; 02-02-2002 at 04:11 PM.
|
|
|
02-11-2002, 05:28 PM
|
#4
|
LQ Newbie
Registered: Feb 2002
Location: Ontario, CA
Distribution: Red Hat
Posts: 3
Rep:
|
Printing (among others) gets hosed when I change my hostname
OK, I goofed when I installed RedHat using DHCP. I went brain dead when the install asked for a hostname, and I gave it a fully qualified hostname. Now, my hostname is "hostname-dom-dom-dom-org.dom.dom.dom.org" .
I want to change this, so I use the hostname command, then I check /etc/sysconfig/network and everything is copacetic until I try to print or reach my linux host via ftp or telnet. When I print, I get a "bad Hostname" message and ftp and telnet from another machine gives me an unknown host message.
The printer is a shared printer on a Windows 2000 box running lpd.
I've tried restarting all of the related processes, (dhcpd, lpd, etc.) on both machines, even a couple of reboots, but nothing seems to fix this. What am I missing here?
|
|
|
02-12-2002, 01:06 AM
|
#5
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
If you changed your hostname with the hostname command things can go bad if you don't put it in /etc/hosts
and putting search localdomainname in it would not hurt
Also you should probably put the hostname in /etc/sysconfig/network
you could also append it with .localdomainname
or add the domainname seperate
Last edited by DavidPhillips; 02-12-2002 at 01:09 AM.
|
|
|
02-13-2002, 12:29 PM
|
#6
|
LQ Newbie
Registered: Feb 2002
Location: Ontario, CA
Distribution: Red Hat
Posts: 3
Rep:
|
Thanks. I added the DHCP_HOSTNAME= entry to /etc/sysconfig/networking/devices file and rebooted the box.
All seems to be working well now.
|
|
|
All times are GMT -5. The time now is 12:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|