We can do both. As you are working on this, do download the latest version of Shorewall and read the "Two-Interface Quick Guide." I'll help you set it up, and they'll be on the Net very soon.
I have downloaded this, but not installed yet. Soon, soon.
I mentioned that I stuffed my firewall settings a couple of days ago. I installed firestarter in the mistaken belief that it might help me understand what is going on. What happens now is that wheb I start up, the computer doesn't recognise the ppp0 interface. Yet, I have opened kppp and used evolution successfully. Now I don't want to install another firewall utility which may conflict with firestarter (even more!). So, how do I get rid of it? Or do you know of it and can help me to set it up properly? (I can imagine you tearing your hair out in despair!)
In order to be able to help you better, please provide more specific information or just copy-paste data directly from the screen. For example, please show me the output of running this command as root:
# rpm -qa | grep samba
results from this: # rpm -qa | grep samba samba-client-3.0.0-15 samba-common-3.0.0-15 samba-3.0.0-15 redhat-config-samba-1.1.4-1
Also, try this:
# up2date samba-swat
I tried this and it said I needed some public GPG (PGP?) keys. What does this mean? I did not get fedora from an official package and maybe I should not be accessing official sites for packages. What do you suggest? I notice another thread where someone uses yum and offer a yum.conf file to drop in the correct directory. Would that be more appropriate? or maybe I need to change the repository to another one now before I downlaod swat?
Up2date should be able to solve any dependencies automatically for you. Note that the default up2date servers provided by Red Hat are usually swamped and kind of slow... have you switched your up2date to a mirror server yet? If not, go ahead and run the command anyway... it'll work albeit slowly, and Alexander Dalloz wrote a quick mini-HOWTO on switching servers that will help you later.
What's the ettyket for leaving out bits? [snip]?
You're welcome to post your /etc/samba/smb.conf file (please refer to filenames with paths... it's easier for those of us not able to see your screen). I suggest you run this command (as root, indicated by the # prompt):
# cat /etc/samba/smb.conf | grep -v ^#
result of /etc/samba/smb.conf | grep -v ^#
workgroup = MYGROUP
server string = Samba Server
; hosts allow = 192.168.1. 192.168.2. 127.
printcap name = /etc/printcap load printers = yes
; printing = bsd
; guest account = pcguest
log file = /var/log/samba/%m.log
max log size = 50
; password server = <NT-Server-Name>
; password level = 8 ; username level = 8
; encrypt passwords = yes ; smb passwd file = /etc/samba/smbpasswd
; unix password sync = Yes
; passwd program = /usr/bin/passwd %u
; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
; username map = /etc/samba/smbusers
; include = /etc/samba/smb.conf.%m
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
; interfaces = 192.168.12.2/24 192.168.13.2/24
; remote browse sync = 192.168.3.25 192.168.5.255 ; remote announce = 192.168.1.255 192.168.2.44
; local master = no
; os level = 33
; domain master = yes
; preferred master = yes
; domain logons = yes
; logon script = %m.bat ; logon script = %U.bat
; logon path = \\%L\Profiles\%U
; name resolve order = wins lmhosts bcast
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
dns proxy = no
; preserve case = no ; short preserve case = no ; default case = lower ; case sensitive = no
[homes] comment = Home Directories browseable = no writeable = yes
; [netlogon] ; comment = Network Logon Service ; path = /home/netlogon ; guest ok = yes ; writable = no ; share modes = no
;[Profiles] ; path = /home/profiles ; browseable = no ; guest ok = yes
[printers] comment = All Printers path = /var/spool/samba browseable = no printable = yes
;[tmp] ; comment = Temporary file space ; path = /tmp ; read only = no ; public = yes
;[public] ; comment = Public Stuff ; path = /home/samba ; public = yes ; read only = yes ; write list = @staff
;[fredsprn] ; comment = Fred's Printer ; valid users = fred ; path = /homes/fred ; printer = freds_printer ; public = no ; writable = no ; printable = yes
;[fredsdir] ; comment = Fred's Service ; path = /usr/somewhere/private ; valid users = fred ; public = no ; writable = yes ; printable = no
;[pchome] ; comment = PC Directories ; path = /usr/pc/%m ; public = no ; writable = yes
;[public] ; path = /usr/somewhere/else/public ; public = yes ; only guest = yes ; writable = yes ; printable = no
;[myshare] ; comment = Mary's and Fred's stuff ; path = /usr/somewhere/shared ; valid users = mary fred ; public = no ; writable = yes ; printable = no ; create mask = 0765
[home] comment = personal directories path = /home writeable = yes guest ok = yes
Which, from all the ;comments, I haven't done much to change the samba settings at all yet. Sigh!
Also, show me this:
# ifconfig -a
results of #ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:03:CE:89:69:EA inet addr:192.168.32.0 Bcast:192.168.32.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:88 errors:0 dropped:0 overruns:0 frame:0 TX packets:94 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:8024 (7.8 Kb) TX bytes:15304 (14.9 Kb) Interrupt:11 Base address:0x8000
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2414 errors:0 dropped:0 overruns:0 frame:0 TX packets:2414 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1814739 (1.7 Mb) TX bytes:1814739 (1.7 Mb)
# chkconfig --list
results of # chkconfig --list gpm 0:off 1:off 2:on 3:on 4:on 5:on 6:off kudzu 0:off 1:off 2:off 3:on 4:on 5:on 6:off syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off rawdevices 0:off 1:off 2:off 3:on 4:on 5:on 6:off netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off network 0:off 1:off 2:on 3:on 4:on 5:on 6:off random 0:off 1:off 2:on 3:on 4:on 5:on 6:off saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off anacron 0:off 1:off 2:on 3:on 4:on 5:on 6:off atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off irda 0:off 1:off 2:off 3:off 4:off 5:off 6:off acpid 0:off 1:off 2:off 3:on 4:on 5:on 6:off apmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off irqbalance 0:off 1:off 2:off 3:on 4:on 5:on 6:off pcmcia 0:off 1:off 2:on 3:on 4:on 5:on 6:off nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off microcode_ctl 0:off 1:off 2:on 3:on 4:on 5:on 6:off smartd 0:off 1:off 2:on 3:on 4:on 5:on 6:off isdn 0:off 1:off 2:on 3:on 4:on 5:on 6:off autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off identd 0:off 1:off 2:off 3:off 4:off 5:off 6:off portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off spamassassin 0:off 1:off 2:on 3:on 4:on 5:on 6:off sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off rhnsd 0:off 1:off 2:off 3:on 4:on 5:on 6:off crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off yum 0:off 1:off 2:off 3:off 4:off 5:on 6:off tux 0:off 1:off 2:off 3:off 4:off 5:off 6:off aep1000 0:off 1:off 2:off 3:off 4:off 5:off 6:off bcm5820 0:off 1:off 2:off 3:off 4:off 5:off 6:off httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off squid 0:off 1:off 2:off 3:off 4:off 5:off 6:off winbind 0:off 1:off 2:off 3:off 4:off 5:on 6:off smb 0:off 1:off 2:off 3:off 4:off 5:on 6:off messagebus 0:off 1:off 2:off 3:on 4:on 5:on 6:off snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off snmptrapd 0:off 1:off 2:off 3:off 4:off 5:off 6:off hpoj 0:off 1:off 2:on 3:on 4:on 5:on 6:off xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off named 0:off 1:off 2:off 3:off 4:off 5:off 6:off ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off lisa 0:off 1:off 2:off 3:off 4:off 5:on 6:off vsftpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off canna 0:off 1:off 2:on 3:on 4:on 5:off 6:off FreeWnn 0:off 1:off 2:on 3:on 4:on 5:off 6:off dovecot 0:off 1:off 2:off 3:off 4:off 5:off 6:off dhcrelay 0:off 1:off 2:off 3:off 4:off 5:off 6:off rwhod 0:off 1:off 2:off 3:off 4:off 5:off 6:off kadmin 0:off 1:off 2:off 3:off 4:off 5:off 6:off kprop 0:off 1:off 2:off 3:off 4:off 5:off 6:off krb524 0:off 1:off 2:off 3:off 4:off 5:off 6:off krb5kdc 0:off 1:off 2:off 3:off 4:off 5:off 6:off dhcpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off radvd 0:off 1:off 2:off 3:off 4:off 5:off 6:off amd 0:off 1:off 2:off 3:off 4:off 5:off 6:off yppasswdd 0:off 1:off 2:off 3:off 4:off 5:off 6:off ypserv 0:off 1:off 2:off 3:off 4:off 5:off 6:off ypxfrd 0:off 1:off 2:off 3:off 4:off 5:off 6:off innd 0:off 1:off 2:off 3:off 4:off 5:off 6:off mysqld 0:off 1:off 2:off 3:off 4:off 5:off 6:off postgresql 0:off 1:off 2:off 3:off 4:off 5:off 6:off wine 0:off 1:off 2:on 3:on 4:on 5:on 6:off firestarter 0:off 1:off 2:on 3:on 4:on 5:on 6:off webmin 0:off 1:off 2:on 3:on 4:off 5:on 6:off xinetd based services: krb5-telnet: off rsync: off eklogin: off gssftp: off klogin: off chargen-udp: off kshell: off chargen: off daytime-udp: off daytime: off echo-udp: off echo: off services: off time: off time-udp: off cups-lpd: off sgi_fam: on ktalk: off imap: off imaps: off ipop2: off ipop3: off pop3s: off rexec: off rlogin: off rsh: off amandaidx: off amidxtape: off finger: off ntalk: off talk: off telnet: off amanda: off
My note; winbind says it is working in level 5 but when I start up the messages say that winbind fail. Is this also related to Samba? Is it a service I need? Do I need DNS? Surely I can gat away with not having it?
All that we are doing is not that hard... you are just starting from scratch. Do not worry... we'll get you straightened out.
I really appreciate the effort that this takes, to help me.
Shelagh
Cheers,