Linux - NetworkingThis 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.
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.
[root@x1-6-00-b0-d0-16-1c-01 etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost localhost
# ::1 localhost6.localdomain6 localhost6
[root@x1-6-00-b0-d0-16-1c-01 etc]#
had no effect
This seemed to start when I switched to cable internet!
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
I want to see if the /etc/sysconfig/network file has anything to do with it.
So change the line in /etc/sysconfig/network to
HOSTNAME=LMKIII
Reboot. Is it now LMKIII
Also what is the output from the command ' route '
Without going through the whole start of bash terminal which makes calls from /etc/profile, /etc/bashrc, Your own home .bashrc, .profile, and some others.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
I was hoping to see x1-6-00-b0-d0-16-1c-01 in the route but not being found there. One more thing I see odd is the /etc/hosts file and the duplicate localhost words. I don't think you need the last one in the chain.
127.0.0.1 localhost.localdomain localhost
May return your /etc/sysconfig back to what it was and remove the last localhost from the /etc/hosts file. Doubt it would make a difference but my only has one.
What is in /etc/host.conf?
This just eludes me to what is going on. i would love to know why it is doing it like that on yours. Maybe something will come to me.
[root@LMKIII ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost localhost
# ::1 localhost6.localdomain6 localhost6
[root@LMKIII ~]#
[root@LMKIII ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost localhost
# ::1 localhost6.localdomain6 localhost6
[root@LMKIII ~]#
[root@x1-6-00-b0-d0-16-1c-01 ~]# cat /etc/host.conf
order hosts,bind
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
I mean this edit, the line in /etc/hosts from this
127.0.0.1 localhost.localdomain localhost localhost
to this
127.0.0.1 localhost.localdomain localhost
cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
# ::1 localhost6.localdomain6 localhost6
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
I am at a total lost as to why your system is doing this as far as leaving network file as default. It should localhost in the bash prompt inside if the IPv6 stuff. I need to get hold of my Redhat contact and get his input if he is not busy.
I myself edited my network file to use a different name other than localhost. I return everything to default install, directly connected to modem, and dhcp setup. My reverts to user@localhost as expected. I thought maybe it was getting that info if the ISP has set a domain name to the IP. Again just mine blowing.
mysql> drop user landon@LMKIII;
Query OK, 0 rows affected (0.00 sec)
mysql> grant all on *.* to landon4@localhost identified by 'Kateaux3141';
Query OK, 0 rows affected (0.00 sec)
mysql>
under a non-root user, I cannot log in
all the following fail
330 mysql --user='landon@LMKIII' --password='rumprocella'
331 mysql --user='landon@localhost' --password='rumprocella'
332 h
333 mysql --user='landon@localhost6' --password='rumprocella'
334 passwd
335 passwd
336 mysql --user='lando@localhost6' --password='passwordx'
337 mysql --user='lando@localhost' --password='passwordx'
338 mysql --user='lando@LMKIII' --password='passwordx'
339 h
340 mysql --user='landon4@LMKIII' --password='passwordx'
341 hostname
342 mysql --user='landon4'@'LMKIII' --password='passwordx'
343 mysql --user='landon4'@'LMKIII' --password='passwordx'
344 mysql -u other4 --password='passwordx'
345 mysql -u landon4 --password='passwordx'
346 mysql -u landon4@LMKIII --password='passwordx'
347 mysql -u landon4 --password='passwordx'
348 mysql -u landon4 --password='passwordx'
349 h
350 mysql --user='landon4@LMKIII' --password='passwordx'
351 mysql -u landon4 --password='passwordx'
352 mysql -u landon4 --password='passwordx'
353 mysql -u landon4@LMKIII --password='passwordx'
354 mysql -u landon4@LMKIII --password='passwordx'
355 mysql -u landon4@LMKIII@localhost --password='passwordx'
356 mysql -u landon4@localhost --password='passwordx'
357 h
358 mysql -u landon4 --password='passwordx'
359 vi xxx
360 vi xxx
361 mysql -u landon4@LMKIII --password='passwordx'
362 mysql -u landon4 --password='passwordx'
363 h
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.