HP 840C

2006-12-05 Thread Luis José Da Silva González

Hello,

I'm trying to set up a HP 840C deskjet printer via USB on a FreeBSD
server, I'm using cups and hpijs drivers. When I try to print the test
print it does not work, it just wait and never print, if I try the
same configuration on another computer via paraller port it works, the
problem is that the server I must install the printer is a Proliant it
has no paraller port.

I have this rules for devfs
[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups

so perms are ok, ls -l show cups as the onwer of the printer.

anyone with a solution?

thanks in advances...

regards.

--
Luis José Da Silva G.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Multiple gateways

2006-06-14 Thread Luis José Da Silva González

Greetings,

I'm having bad times trying to set up a kind of advance router with FreeBSD 6.1.
The system has 6 Network interfaces, 3 for adsl connections (one nic
for each adsl, same ISP) and other 3 for 3 sub networks class C
(192.168.2. 192.168.3. 192.168.4.)

The server is running Squid and is using only the first adsl
connection and thats ok.

I'm doing NAT with PF but the problem is when i try to nat each sub
network by each adsl connection.



nat on $adsl1 from $net1:network to any - ($adsl1)

nat on $adsl2 from $net2:network to any - ($adsl3)

nat on $adsl3 from $net3:network to any - ($adsl3)

but that doesn't' work, right now I'm NATing all sub networks with
adsl1 only and the others 2 adsl are being waste without use.

these adsl use dhcp to get the IP and here is the info

lease {
 interface adsl1;
 fixed-address 201.242.241.180;
 option subnet-mask 255.255.248.0;
 option routers 201.242.240.1;
 option domain-name-servers 200.44.32.13,200.44.32.12;
 option domain-name cantv.net;
 option broadcast-address 201.242.247.255;
 option dhcp-lease-time 11637;
 option dhcp-message-type 5;
 option dhcp-server-identifier 200.109.126.37;
 renew 3 2006/6/14 16:56:54;
 rebind 3 2006/6/14 18:09:37;
 expire 3 2006/6/14 18:33:53;
}


lease {
 interface adsl2;
 fixed-address 201.242.241.149;
 option subnet-mask 255.255.248.0;
 option routers 201.242.240.1;
 option domain-name-servers 200.44.32.13,200.44.32.12;
 option domain-name cantv.net;
 option broadcast-address 201.242.247.255;
 option dhcp-lease-time 19174;
 option dhcp-message-type 5;
 option dhcp-server-identifier 200.109.126.37;
 renew 3 2006/6/14 17:59:58;
 rebind 3 2006/6/14 19:59:47;
 expire 3 2006/6/14 20:39:45;
}

lease {
 interface adsl3;
 fixed-address 201.242.241.150;
 option subnet-mask 255.255.248.0;
 option routers 201.242.240.1;
 option domain-name-servers 200.44.32.13,200.44.32.12;
 option domain-name cantv.net;
 option broadcast-address 201.242.247.255;
 option dhcp-lease-time 11627;
 option dhcp-message-type 5;
 option dhcp-server-identifier 200.109.126.37;
 renew 3 2006/6/14 16:57:13;
 rebind 3 2006/6/14 18:09:52;
 expire 3 2006/6/14 18:34:07;
}

Note that the 3 adsl interfaces have the same gateway, but now, how i
can load balance or at least define the usage of each adsl connection
for my sub networks? I tried using route but the routing table always
use the interface of the first adsl.

Any ideas, suggestion?
thanks in advance.
--
Luis José Da Silva G.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]