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.
Try becoming root and starting a browser from that terminal. This worked for me. Thereafter, I can use samba as a normal user or at least the one linked to the "guest" account.
Well, I've tried everything suggested and I'm still stuck. Convinced I'm missing something simple, but who knows?
I've checked with netstat -antp and it appears that swat is not listening on port 901, but I'm not sure what to do about it. All of the necessary files are configured properly according to your suggestions.
It's one of the problems. Actually the information is still useful to some people, as they have a different system. A lot of things are relative to the newer versions of an app, but you just need to be careful with redhat and mandrake like distros. They have different ways of doing the initd and xinetd scripts than other distros like slackware's scripts.
I guess I should have said, that's the old redhat way.
Last edited by DavidPhillips; 02-05-2003 at 06:01 PM.
Originally posted by DavidPhillips swat should present a login prompt.
if it's not I would say it's not running or it's not listening on the interface at port 901
it should be on the lo interface by default, so 127.0.0.1:901 should work. localhost:901 is supposed to work as well.
It may be a little long after the last post, but what I found today may help 'those that come behind us'.
My problem was that http://localhost:901 was resolved into http://www.localhost.com and sent out to the web, rather than staying on my one and only left over RedHat box. A helpless and unsuccessful browser (Mozilla) was the result. As it turned out, during installion, RedHat 8.0 had put the following line in /etc/hosts:
Code:
127.0.0.1 localhost.localdomain localhost
Getting the localhost.localdomain out of there and putting localhost in its place solved this problem for me. Immediately after restarting Mozilla and entering http://localhost:901 I got prompted for a password. I guess that Mozilla just doesn't do multiple hostnames for one IP-address.
that's kind of strange, the .localdomain part of the name is the domainname. It should not normally cause a problem with mozilla. Maybe something in /etc/resolv.conf is causing a problem
Originally posted by DavidPhillips
that's kind of strange, the .localdomain part of the name is the domainname. It should not normally cause a problem with mozilla. Maybe something in /etc/resolv.conf is causing a problem
I agree, it doesn't seem right, because this defeats the purpose of aliases entirely. Still, that single modification to /etc/hosts/ made all the difference. And it was just a normal /etc/hosts, 127.0.0.1 was the only line in there. That's why I suspect Mozilla to be the culprit here, because it didn't pick up the 'localhost' on that same line after 'localhost.localdomain'. Otherwise I wouldn't have a clue as to why Mozilla immediately resolved that to www.localhost.com rather than stay on my box. I haven't tried with other browsers (yet), but maybe that will give more insight. Or maybe there are people who did get this to work with Mozilla?
How about some "# service httpd start" ?
You thought of that one already? I overlooked it too... how's SWAT gonna show up in your browser if you forget about Apache and it ain't running?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.