I have just set up a small IP-Masquerading server under SuSE-Linux 5.3 in our
Lab here at the Yale Child Health Research Center. We are in the Yale net area
130.132.X.X and the subnet is of the private C-type (192.168.X.X). It does the
masquerading well. And it serves as a print server for the apples in the
130.132.X.X net. But, and this is the first problem, you cannot access the
printer from within the subnet.
Netatlk will start on the second NIC with the "-seed" option but then the
outside world cannot reach the printer (error -8925)
In this case the config files read like this:
/etc/atalk/atalkd.conf:
eth0
eth1 -seed
After restarting the daemon it autoconfigures and the result is:
eth0 -phase 2 -net 2200-2204 -addr 2201.173 -zone "Your zone"
eth1 -seed -phase 2 -net 65280-65534 -addr 65280.117
/var/log/messages says:
kernel: eth1: Promiscuous mode enabled.
atalkd[1094]: restart (1.4b2+asun2.0a18.2)
atalkd[1094]: zip_getnetinfo for eth0
atalkd[1094]: zip gnireply from 2204.108 (eth0 12)
atalkd[1094]: zip_packet configured eth0 from 2204.
108
kernel: eth1: Promiscuous mode enabled.
atalkd[1094]: zip_getnetinfo for eth1
atalkd[1094]: rtmp_packet gateway 2204.108 up
atalkd[1094]: rtmp_packet gateway 2200.16 up
atalkd[1094]: zip_getnetinfo for eth1
atalkd[1094]: zip skip reply 2200-2204 from 2200.16
(no query)
atalkd[1094]: rtmp_packet gateway 2203.74 up
atalkd[1094]: zip_getnetinfo for eth1
atalkd[1094]: as_timer configured eth1 phase 2 from
seed
atalkd[1094]: ready 0/0/0
papd[1105]: restart (1.4b2+asun2.0a18.2)
afpd[1107]: Polygenomics:AFPServer@* started on 652
80.117:130 (1.4b2+asun2.0a18.2)
afpd[1107]: ASIP started on 130.132.238.211:548(4)
(1.4b2+asun2.0a18.2)
papd[1105]: register Whatsoever1:LaserWriter@*
So now the computers in the 130.132. segment cannot print. But the computers
in the 192.168. segment can.
The other config files:
/etc/atalk/afpd.conf
Polygenomics
/etc/atalk/papd.conf:
Polygenomics1:\
:pr=lp:op:\
So this is it. Error code reported on the clients trying to print: -8925.
Only error messages in /var/log/messages:
atalkd[1094]: zone_bcast Yale Med ET II exists
atalkd[1094]: zone_bcast Yale Med ET II exists
atalkd[1094]: zone_bcast Yale Med ET II exists
Has anyone any experience with routing by appletalk? Btw its the improved
version by Adrian Sun.
Maybe I forgot to set something in any of the config files?
The other thing is the Samba configuration.
I tried everything to make it visible and accessible to a Win98 and a Win95
computer. The first thing works but the latter not. It rejects any password
given. Has the guest user has to have a uid or gid of -1 or something like that
?
>From our current /etc/smb.conf
[global]
null passwords = yes
log file = /var/log/samba-log.%m
printcap name = /etc/printcap
domain master = yes
interfaces = 192.168.1.1/24 130.132.X.X/24
default = printers
printing = bsd
lpq command = lpq -P%p
print command = lpr -b -P%p %s
workgroup = polygenom
protocol = LANMAN2
smb passwd file = /etc/smbpasswd
guest account = nobody
netbios name = polygen1
keep alive = 30
local master = yes
load printers = yes
security = user
[homes]
comment = homedirectory
writeable = yes
public = yes
browseable = no
valid users = %S
[printers]
printable = yes
guest ok = yes
comment = All Printers
path = /var/spool/lpd/PS_1200dpi-letter-auto-mono-1200
browseable = no
writeable = yes
[lp]
comment = HP LaserJet 4000 with PostScript
path = /tmp
browseable = yes
printable = yes
public = yes
writeable = no
create mode = 0700
[cdrom]
comment = %h CD-Rom
path = /cdrom
writeable = no
locking = no
; fake oplocks = yes
>From /var/log/log.nmb:
999/01/20 14:01:41 netbios nameserver version 1.9.18p10 started
Copyright Andrew Tridgell 1994-1997
1999/01/20 14:01:41 becoming a daemon
Added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
Added interface ip=130.132.x.x bcast=130.132.238.255 nmask=255.255.255.0
making subnet name:192.168.1.1 Broadcast address:192.168.1.255 Subnet mask:255.
2
55.255.0
making subnet name:130.132.x.x Broadcast address:130.132.x.255 Subnet mask
:255.255.255.0
making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mas
k
:0.0.0.0
become_domain_master_browser_bcast: At time 1999/01/20 14:01:41 attempting to b
e
come domain master browser on workgroup POLYGENOM on subnet 192.168.1.1
become_domain_master_browser_bcast: querying subnet 192.168.1.1 for domain mast
e
r browser on workgroup POLYGENOM
become_domain_master_browser_bcast: At time 1999/01/20 14:01:41 attempting to b
e
come domain master browser on workgroup POLYGENOM on subnet 130.132.238.211
become_domain_master_browser_bcast: querying subnet 130.132.x.x for domain m
aster browser on workgroup POLYGENOM
become_domain_master_stage1: Becoming domain master browser for workgroup POLYG
E
NOM on subnet 192.168.1.1
become_domain_master_stage1: Becoming domain master browser for workgroup POLYG
E
So far it is all visible but not accessible? Has anyone of you any experience
with that? Maybe I should do "RTFM" but it always confuses me because there a
so many options. I am very thankful for any hint or tip/trick. Getting this
running would help us to improve our working environment tremendously and help
us shuttle files back and forth between Apple and WIndows computers.
TIA
Joerg