You are not logged in.
I have run out of things to try - I must be missing the obvious :?
Having recently installed arch on two identical boxes I do not understand why one works and the other doesn't. The differences are:
Box A has broadband via ethernet and has been upgraded to include xorg7 and KDE 3.5.1
Box B has a dial-up connection with xorg6.8 and KDE 3.5.0
Box A connected to localhost:631 and a printer was set-up in a few minutes.
Box B cannot connect to localhost:631.
This is what I have checked / done:
/etc/rc.conf has just lo for network. DEAMONS have been edited in order - network hplip cups.
The cups log in /var has been checked and reports no problems.
So, what have I missed?
Thanks.
Offline
I once messed up /etc/hosts which prevented localhost:631 from working.
You could try 127.0.0.1:631 if that's the case
Offline
I once messed up /etc/hosts which prevented localhost:631 from working.
You could try 127.0.0.1:631 if that's the case
Excellent point. I had the box connected to my network and there may be some legacy stuff in there stopping things working.
Offline
Good idea - but it didn't work :cry:
The /var/log/cups/error_log says exactly the same as my working box says ie. listening to 0:631 So why can't I make a connection?
Offline
Check out /etc/hosts.allow and add
631 : <yourlansubnet> : allowA bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
Check out /etc/hosts.allow and add
631 : <yourlansubnet> : allow
Now, I am not sure whether I have done this correctly. The box is not on a lan but is stand alone on dial-up. I therefore entered 255.255.255.0 as the subnet. Is this correct as it did not work either?
Thanks.
Offline
FUBAR wrote:Check out /etc/hosts.allow and add
631 : <yourlansubnet> : allowNow, I am not sure whether I have done this correctly. The box is not on a lan but is stand alone on dial-up. I therefore entered 255.255.255.0 as the subnet. Is this correct as it did not work either?
Thanks.
255.255.255.0 is the subnet mask. If your box' IP is 10.0.0.5, then your subnet would be "10.0.0.0/255.255.255.0" (if 255.255.255.0 is the subnet mask).
Are you going to have the box connected to dial-up constantly just for printing purposes? With the dynamic IP it's a bit harder if your ISP has several subnets from which your box can get an IP.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
Birdman wrote:FUBAR wrote:Check out /etc/hosts.allow and add
631 : <yourlansubnet> : allowNow, I am not sure whether I have done this correctly. The box is not on a lan but is stand alone on dial-up. I therefore entered 255.255.255.0 as the subnet. Is this correct as it did not work either?
Thanks.
255.255.255.0 is the subnet mask. If your box' IP is 10.0.0.5, then your subnet would be "10.0.0.0/255.255.255.0" (if 255.255.255.0 is the subnet mask).
Are you going to have the box connected to dial-up constantly just for printing purposes? With the dynamic IP it's a bit harder if your ISP has several subnets from which your box can get an IP.
I have set this box up for a friend. She only has dial-up access and just uses it to collect email. To this end I am struggling with why I cannot connect to cups to set the printer up. She will not be printing whilst online - this is not an issue. I just want to get the printer working.
This should be so easy. I get the feeling that there is something fundamentally wrong with the installation, but I don't know what. I have thought about moving the box back to my place and connecting to my broadband and doing a full update just to see what happens?
Offline
I don't think I had to edit /etc/hosts.allow to be able to print locally. So you can ignore my previous suggestion.
The update is a good idea.
Have you modprobed all the necessary modules for the printer? I forgot to do so, and cups didn't complain about it but obviously the printer didn't work either.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
I don't think I had to edit /etc/hosts.allow to be able to print locally. So you can ignore my previous suggestion.
The update is a good idea.
Have you modprobed all the necessary modules for the printer? I forgot to do so, and cups didn't complain about it but obviously the printer didn't work either.
Interestingly, I have a similar printer (HP DeskJet that uses hplip) and I had no problems at all. This is what is so frustrating. I could try adding the printer using the command line (should have thought about that earlier), it maybe that that will work?
Thanks for all of your help. It has helped open my mind to the different possibilities.
Offline
I have given lpadmin a go just to see what happens. Unfortunately I ended up back in the same place - Error, cannot connect to server.
I have run out of ideas and guess there must be a gremlin in there. I cannot get the box back to my place for an upgrade for about 10 days or so. Unless there is some more creative thought out there I will have to park this problem for now.
Thanks for the input.
Offline