From jh at tinysofa.org Wed Mar 1 15:19:18 2006 From: jh at tinysofa.org (Jaakko Heinonen) Date: Wed, 1 Mar 2006 17:19:18 +0200 Subject: [classic-discuss] tinysofa classic server 2.0 Update 4 Message-ID: <20060301151918.GA1932@ws64.jh.dy.fi> tinysofa classic server 2.0 Update 4 (Ceara) is now generally available. This release focuses on bug fixes fixes and updates various packages to the more recent upstream releases. Highlights: * bind 9.3.2 * mysql 4.1.16 * openssh 4.3 * postgresql 7.4.11 * python 2.4.2 * improved nfs4 support Full change log: http://classic.tinysofa.org/documentation/index.cgi?TwoPointZeroChanges tinysofa classic server may be downloaded from: http://classic.tinysofa.org/download/ 2.0 users can upgrade to update 4 with apt: apt-get mirror-select (not needed if sources are already configured) apt-get update apt-get dist-upgrade or with smart (if installed): smart-mirror-select (not needed if sources are already configured) smart update smart upgrade -- Jaakko From mail-lists at s235.de Sun Mar 5 15:40:03 2006 From: mail-lists at s235.de (Dominik Schips) Date: Sun, 5 Mar 2006 16:40:03 +0100 Subject: [classic-discuss] Bonding isn't working Message-ID: <200603051640.04113.mail-lists@s235.de> Hello, I tried the bonding modul with tinysofa classic server 2.0 Update4. My problem is that I always had to do ifenslave bond0 eth0 eth1 after a system start. Then I can read in /var/log/messages that eth0 is the active and eth1 the backup interfece (for example). Then the route is ok and everything is working fine. Before eth0 and eth1 is missing in the routing table. Shouldn't this be done by the network initscript? Or do I have to do this with a own script? Does someone can give me a advice to handle this the right way? Here are my config files: /etc/modprobe.conf alias eth0 via-rhine alias eth1 via-rhine alias usb-controller uhci-hcd alias usb-controller1 ehci-hcd alias bond0 bonding options bond0 miimon=100 mode=1 /etc/sysconfig/network NETWORKING=yes HOSTNAME=tes GATEWAYDEV=bond0 GATEWAY=192.168.2.254 /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes TYPE=Ethernet BOOTPROTO=none /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth1 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes TYPE=Ethernet BOOTPROTO=none /etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE=bond0 IPADDR=192.168.2.100 NETMASK=255.255.255.0 NETWORK=192.168.2.0 BROADCAST=192.168.2.255 ONBOOT=yes BOOTPROTO=none TYPE=Ethernet USERCTL=no -- Best regards, Dominik Schips From jh at tinysofa.org Mon Mar 6 10:31:10 2006 From: jh at tinysofa.org (Jaakko Heinonen) Date: Mon, 6 Mar 2006 12:31:10 +0200 Subject: [classic-discuss] Bonding isn't working In-Reply-To: <200603051640.04113.mail-lists@s235.de> References: <200603051640.04113.mail-lists@s235.de> Message-ID: <20060306103109.GA1245@ws64.jh.dy.fi> Hi, On 2006-03-05, Dominik Schips wrote: > My problem is that I always had to do ifenslave bond0 eth0 eth1 after > a system start. Please test this updated initscripts package: http://jh.dy.fi/~jaakko/initscripts-7.31.9-24jh.i586.rpm It has a new upstream version of the ifup script. There are some changes for bonding. -- Jaakko From mail-lists at s235.de Mon Mar 6 20:01:04 2006 From: mail-lists at s235.de (Dominik Schips) Date: Mon, 6 Mar 2006 21:01:04 +0100 Subject: [classic-discuss] Bonding isn't working In-Reply-To: <20060306103109.GA1245@ws64.jh.dy.fi> References: <200603051640.04113.mail-lists@s235.de> <20060306103109.GA1245@ws64.jh.dy.fi> Message-ID: <200603062101.04341.mail-lists@s235.de> Am Monday 06 March 2006 11:31 schrieb Jaakko Heinonen: > Hi, > > On 2006-03-05, Dominik Schips wrote: > > My problem is that I always had to do ifenslave bond0 eth0 eth1 after > > a system start. > > Please test this updated initscripts package: > > http://jh.dy.fi/~jaakko/initscripts-7.31.9-24jh.i586.rpm > > It has a new upstream version of the ifup script. There are some changes > for bonding. Thank you for this fast update. But I am sorry to say that I still have to do ifenslave bond0 eth0 eth1 to get it work. I did rpm -Uhv initscripts-7.31.9-24jh.i586.rpm and after this a reboot. The route was still wrong and only ifenslave bond0 eth0 eth1 set the bonding up in the right way. If you need further information please let me know. -- Best regards, Dominik Schips From jh at tinysofa.org Tue Mar 7 08:37:06 2006 From: jh at tinysofa.org (Jaakko Heinonen) Date: Tue, 7 Mar 2006 10:37:06 +0200 Subject: [classic-discuss] Bonding isn't working In-Reply-To: <200603051640.04113.mail-lists@s235.de> References: <200603051640.04113.mail-lists@s235.de> Message-ID: <20060307083705.GA1224@ws64.jh.dy.fi> On 2006-03-05, Dominik Schips wrote: > My problem is that I always had to do ifenslave bond0 eth0 eth1 after > a system start. > > /etc/sysconfig/network-scripts/ifcfg-bond0 > > DEVICE=bond0 > IPADDR=192.168.2.100 > NETMASK=255.255.255.0 > NETWORK=192.168.2.0 > BROADCAST=192.168.2.255 > ONBOOT=yes > BOOTPROTO=none > TYPE=Ethernet You should have TYPE=Bonding here. However initscripts have an alternative way detect bonding interfaces with ethtool. It doesn't work on classic because we don't ship ethtool. I think that I'll add ethtool to net-tools package. > USERCTL=no -- Jaakko From jh at tinysofa.org Tue Mar 7 16:18:25 2006 From: jh at tinysofa.org (Jaakko Heinonen) Date: Tue, 7 Mar 2006 18:18:25 +0200 Subject: [classic-discuss] Bonding isn't working In-Reply-To: <20060307083705.GA1224@ws64.jh.dy.fi> References: <200603051640.04113.mail-lists@s235.de> <20060307083705.GA1224@ws64.jh.dy.fi> Message-ID: <20060307161825.GA1439@ws64.jh.dy.fi> On 2006-03-07, Jaakko Heinonen wrote: > I think that I'll add ethtool to net-tools package. Updated net-tools package for testing: http://jh.dy.fi/~jaakko/net-tools-1.60-13jh.i586.rpm -- Jaakko From mail-lists at s235.de Tue Mar 7 19:19:02 2006 From: mail-lists at s235.de (Dominik Schips) Date: Tue, 7 Mar 2006 20:19:02 +0100 Subject: [classic-discuss] Bonding isn't working In-Reply-To: <20060307161825.GA1439@ws64.jh.dy.fi> References: <200603051640.04113.mail-lists@s235.de> <20060307083705.GA1224@ws64.jh.dy.fi> <20060307161825.GA1439@ws64.jh.dy.fi> Message-ID: <200603072019.02829.mail-lists@s235.de> Am Tuesday 07 March 2006 17:18 schrieb Jaakko Heinonen: > On 2006-03-07, Jaakko Heinonen wrote: > > I think that I'll add ethtool to net-tools package. > > Updated net-tools package for testing: > > http://jh.dy.fi/~jaakko/net-tools-1.60-13jh.i586.rpm Thank you very much. With this RPM it is working now out of the box after a system restart. Tomorrow I'll do some more testing with it. -- Best regards, Dominik Schips From mail-lists at s235.de Tue Mar 7 19:35:48 2006 From: mail-lists at s235.de (Dominik Schips) Date: Tue, 7 Mar 2006 20:35:48 +0100 Subject: [classic-discuss] Bonding isn't working In-Reply-To: <20060307083705.GA1224@ws64.jh.dy.fi> References: <200603051640.04113.mail-lists@s235.de> <20060307083705.GA1224@ws64.jh.dy.fi> Message-ID: <200603072035.48384.mail-lists@s235.de> Am Tuesday 07 March 2006 09:37 schrieb Jaakko Heinonen: > On 2006-03-05, Dominik Schips wrote: > > My problem is that I always had to do ifenslave bond0 eth0 eth1 after > > a system start. > > > > /etc/sysconfig/network-scripts/ifcfg-bond0 > > > > DEVICE=bond0 > > IPADDR=192.168.2.100 > > NETMASK=255.255.255.0 > > NETWORK=192.168.2.0 > > BROADCAST=192.168.2.255 > > ONBOOT=yes > > BOOTPROTO=none > > TYPE=Ethernet Ups, looks like I've done a little bit too much cut&past in this email :) I didn't had the TYPE= option in my config file. With or without it, it didn't work. > You should have TYPE=Bonding here. However initscripts have an > alternative way detect bonding interfaces with ethtool. It doesn't work > on classic because we don't ship ethtool. I think that I'll add ethtool > to net-tools package. See my other mail. With your RPM it is working fine. -- Best regards, Dominik Schips From jh at tinysofa.org Tue Mar 7 19:40:06 2006 From: jh at tinysofa.org (Jaakko Heinonen) Date: Tue, 7 Mar 2006 21:40:06 +0200 Subject: [classic-discuss] Bonding isn't working In-Reply-To: <200603072035.48384.mail-lists@s235.de> References: <200603051640.04113.mail-lists@s235.de> <20060307083705.GA1224@ws64.jh.dy.fi> <200603072035.48384.mail-lists@s235.de> Message-ID: <20060307194006.GA1588@ws64.jh.dy.fi> Hi, On 2006-03-07, Dominik Schips wrote: > > > TYPE=Ethernet > > Ups, looks like I've done a little bit too much cut&past in this email :) OK, but if you put TYPE=Bonding there it should work without the updated net-tools package. > I didn't had the TYPE= option in my config file. > With or without it, it didn't work. -- Jaakko From mail-lists at s235.de Tue Mar 7 20:21:49 2006 From: mail-lists at s235.de (Dominik Schips) Date: Tue, 7 Mar 2006 21:21:49 +0100 Subject: [classic-discuss] Bonding isn't working In-Reply-To: <20060307194006.GA1588@ws64.jh.dy.fi> References: <200603051640.04113.mail-lists@s235.de> <200603072035.48384.mail-lists@s235.de> <20060307194006.GA1588@ws64.jh.dy.fi> Message-ID: <200603072121.49285.mail-lists@s235.de> Am Tuesday 07 March 2006 20:40 schrieb Jaakko Heinonen: > Hi, > > On 2006-03-07, Dominik Schips wrote: > > > > TYPE=Ethernet > > > > Ups, looks like I've done a little bit too much cut&past in this email :) > > OK, but if you put TYPE=Bonding there it should work without the updated > net-tools package. Tomorrow I'll do a fresh testinstallation without the "addon" packages and give this another try. I'll send another mail with my conclusion. > > I didn't had the TYPE= option in my config file. > > With or without it, it didn't work. -- Best regards, Dominik Schips From mail-lists at s235.de Wed Mar 8 16:35:44 2006 From: mail-lists at s235.de (Dominik Schips) Date: Wed, 8 Mar 2006 17:35:44 +0100 Subject: [classic-discuss] Bonding isn't working In-Reply-To: <20060307194006.GA1588@ws64.jh.dy.fi> References: <200603051640.04113.mail-lists@s235.de> <200603072035.48384.mail-lists@s235.de> <20060307194006.GA1588@ws64.jh.dy.fi> Message-ID: <200603081735.44867.mail-lists@s235.de> Am Tuesday 07 March 2006 20:40 schrieb Jaakko Heinonen: > Hi, > > On 2006-03-07, Dominik Schips wrote: > > > > TYPE=Ethernet > > > > Ups, looks like I've done a little bit too much cut&past in this email :) > > OK, but if you put TYPE=Bonding there it should work without the updated > net-tools package. I did a fresh TCS 2.0U4 installation and set with the TYPE=Bonding option in ifcfg-bond0 it is working out of the box. No need to install the testing rpms. Sorry that you had some work because of me. But thank you for helping so fast. I'll write a article in the TCS wiki next week how to set up bonding. -- Best regards, Dominik Schips From tinysofa at nils.garcia.freesurf.fr Mon Mar 27 14:27:44 2006 From: tinysofa at nils.garcia.freesurf.fr (Nils) Date: Mon, 27 Mar 2006 16:27:44 +0200 (CEST) Subject: [classic-discuss] Samba with guest account Message-ID: <1525.193.252.51.9.1143469664.squirrel@arlette.freesurf.fr> Bonjour, I migrated from tinysofa 1.1 to 2.0. I kept(preserved) the same file of configuration of samba and the same right onfolders. But now Samba refuses acces in guest. An idea ? ----- smb.conf ----- [global] netbios name = %h workgroup = MSHOME server string = Serveur %v hosts allow = 192.168.0. 127. guest account = nobody log file = /var/log/samba/%m.log max log size = 50 security = share ; security = user socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = 192.168.0.1/24 local master = yes os level = 33 domain master = yes preferred master = yes [homes] comment = Home Directories browseable = no writable = yes veto files = /.bash*/.viminfo/ [share] path = /home/data/share public = yes writable = yes printable = no write list = myuser force group = nobody create mask = 0740 directory mask = 0750 [public] path = /home/data/public public = yes only guest = yes writable = yes printable = no write list = myuser force user = myuser force group = nobody create mask = 0770 ----- Cordialement, -- Nils From jh at tinysofa.org Mon Mar 27 17:35:32 2006 From: jh at tinysofa.org (Jaakko Heinonen) Date: Mon, 27 Mar 2006 20:35:32 +0300 Subject: [classic-discuss] Samba with guest account In-Reply-To: <1525.193.252.51.9.1143469664.squirrel@arlette.freesurf.fr> References: <1525.193.252.51.9.1143469664.squirrel@arlette.freesurf.fr> Message-ID: <20060327173531.GA1865@ws64.jh.dy.fi> Hi, On 2006-03-27, Nils wrote: > I migrated from tinysofa 1.1 to 2.0. > I kept(preserved) the same file of configuration of samba and the same > right onfolders. > But now Samba refuses acces in guest. How you try to connect and how it refuses the connection? Please post samba log files: /var/log/samba/.log and /var/log/samba/smbd.log. -- Jaakko