Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Wiki Markup
         In the \[ global \] section we have to put the name of our workgroup or domain and uncomment the security parameter:

Code Block

 workgroup = HOME
           .
           .
           .
 security = user

    Now we can create a new section or uncomment one for the directory to be shared:

...

The problem is that when I click OK the message is "A domain controller for the domain HOME cannot be contacted" . After several trials trying different configurations in smb.conf it doesn't work.

Menu

Navigate

SMB setup on Windows XP

To set up SMB on windows XP, click Start -> Control Panel.

Click the "Network and Internet Connections" option.

Then click the "Network Connections" option.

Double click the icon labelled "Local Area Connection". The icon may have a number after it, for example "Local Area Connection 5".

Click the Properties button.

Select "Internet Protocol (TCP/IP)" and click Properties.

Click Advanced.

On the DNS tab, untick the box marked "Register this connection's addresses in DNS".

On the WINS tab, click Add, then enter 131.111.229.252 (not the address in the picture! that's out of date) and click Add.

This should add a new entry in the "WINS addresses" box.

Click OK, OK, OK and Close. Click Back twice, so that you are in the main Control Panel window again.

Click the "Performance and Maintenance" option, then click on System.

The "How to" I was using to setup the server and the client was:

https://help.ubuntu.com/10.04/serverguide/C/samba-fileserver.html

RTAI

To install the RTAI I was following this documentation :https://www.rtai.org/RTAILAB/RTAI-TARGET-HOWTO.txt

We will try to install RTAI in the host OS Linux 10.04 (64bits). We download the latest version from  www.rtai.org that is RTAI 3.8. We'll run the following command:

Panel

wget --no-check-certificate https://www.rtai.org/RTAI/rtai-3.8.tar.bz2

We are going to switch the directory and unpack

Panel

cd /usr/src

 tar xvf rtai-3.5.tar.bz2

We have to download a new kernel from http://www.kernel.org/ we can use the kernel we have in the distribution.

The first three numbers in the kernel have to match the
first three numbers in the patch.
So we downloaded 2.6.23.1 kernel and we will use the 2.6.23 patch

Panel

*wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.1.tar.gz*

tar xvf linux-2.6.23.1.tar.gz

Now we will aply the RTAI patch:

Panel

cd /usr/src/linux-2.6.23.1

patch -p1 -b < ../rtai-3.8/base/arch/i386/patches/hal-linux-2.6.23-i386-1.12-03.patch

Then we make a copy of the  configuration file to the root folder.
 

Panel

cp /boot/config-2.6.19-generic .config

Lets finally run the kernel configuration menu

Panel

 make menuconfig CC=/usr/bin/gcc-3.4 CXX=/usr/bin/g++-3.4

Set the "prompt for development and/or
incomplete code/drivers" option to 'yes'. In the "loadable module support" section,
make sure that the "Enable loadable module support" is set to 'yes', and set the
"Module Versioning support" is to 'no'. In the "processor type and features" section,
set the "Preemptible kernel" and the "Use register arguments" options to 'no',
and make sure to set the "interrupt pipeline" option, (aka IPIPE) to 'yes'.
Finally, make sure that the "/proc file system support", under the
"Pseudo filesystems" subsection of the "File systems" section is set to yes.

With this new configuration, the kernel has to compile with the following command:

Panel

apt-get install kernel-package fakeroot

make-kpkg clean

fakeroot make-kpkg --initrd --app\end-to-version=-rtai \kernel_image kernel_headers

Finally I couldn't compile the kernel and I try  other types of configuration but it wasn't succeededOn the "Computer Name" tab, click the "Change..." button. The computer name should be set to the hostname - in most cases this is your hermes username. So if your computer is abc12.trinhall.cam.ac.uk, you should set the computer name as "abc12". The workgroup should be set to "THSTUDENT".