|
Home > Archive > Red Hat Topics > December 2004 > RH 9.0, Putting Samba on Linux with RPM?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
RH 9.0, Putting Samba on Linux with RPM?
|
|
| W. Watson 2004-11-20, 5:45 pm |
| I thought I'd try to hook up my RH 9.0 Linux computer to a small network of Win
machines. According to one of the RH documents, one can fire up from the Main Menu
the configuration tool form Systems Settings->Server Settings->Samba Settings. Not on
my machine. I see no Samba Settings, but instead Service. I think it shows something
about eth0, which is inactive. Apparently, I need to install Samba with RPM. I'd like
to do it with the graphic interface, but don't see any manual for it on the RH site.
I see lots of manuals at <http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/>.
Nothing specific to RPM, but I do see PDF, RPM and Html as choices. Clicking on RPM
below a manual name gets me know where, as far as I can tell.
--
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| Lenard 2004-11-21, 7:45 am |
| On Sat, 20 Nov 2004 21:43:58 +0000, W. Watson wrote:
> I thought I'd try to hook up my RH 9.0 Linux computer to a small network
> of Win machines. According to one of the RH documents, one can fire up
> from the Main Menu the configuration tool form Systems Settings->Server
> Settings->Samba Settings. Not on my machine. I see no Samba Settings,
> but instead Service. I think it shows something about eth0, which is
> inactive. Apparently, I need to install Samba with RPM. I'd like to do
> it with the graphic interface, but don't see any manual for it on the RH
> site. I see lots of manuals at
> <http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/>. Nothing
> specific to RPM, but I do see PDF, RPM and Html as choices. Clicking on
> RPM below a manual name gets me know where, as far as I can tell.
First; the links (RPM, PDF and HTML) below the manual titles are for
downloading the various manuals in the package forms. It's a good idea to
download at least the first three of them. I would suggest the PDF version
so you can read them in either Windows or Linux.
Second; RPM == [R]ed Hat [P]ackage [M]anager you can find the guide to RPM
at; http://www.rpm.org/max-rpm/
Third; Red Hat Linux 9 is old and is no longer supported by Red Hat, the
product reached End of Life on April 30, 2004
Fourth; To install samba-2.2.7a-7.9.0.i386.rpm the Samba Server.
The package is located on the CD media you have, I don't remember which
one sorry. Mount each CD and browse it until you find the package you
want. Then either click or double-click on the package (depending how your
setup) to install it. But before you do this, may I suggest that you;
Install apt(direct link to the package);
http://download.fedora.us/fedora/re...8.rh90.i386.rpm
Fast (DSL line) from the console or xterm session as root type;
rpm -ivh <type the link above here>
Slow (dial-up) from the console or xterm session as root type;
wget <type the link above here>
rpm -ivh apt-0.5.5cnc6-fr1.i386.rpm
Do the same with synaptic (the GUI interface to apt);
ftp://ftp.pbone.net/mirror/download...3.rh90.i386.rpm
Then visit; http://fedoralegacy.org/
This way you can bring your Red Hat Linux 9 current (install the latest
upgrades, addons and patches). Take the time and follow the Download link
for instructions. And please do not forget to read;
http://fedoralegacy.org/docs/apt-rh9.php
With synaptic open (and apt configured) all you do is select the
package(s) you want to install and click on the appropriate buttons to
download and install them.
Lastly; Please consider upgrading to Fedora Core 1, 2 or 3 all are still
supported. Fedora Core 2 or 3 are still actively supported, Fedora Core 1
recently became legacy (still support at the link already provided above).
http://fedora.redhat.com/
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
| |
| W. Watson 2004-11-21, 7:45 am |
| Thanks. Unfortunately, I'm using realtime (RT) Linux and the kernel build
instructions for it are centered around RH 9.0, so I have a peculair breed of Linux.
What is apt? Are the instructions you provided for an upgrade to RH 9.0 or to replace
it with Fedora? Is Fedora available on CD?
I managed to push further ahead with my "discovery" trail blazing of Samba, and found
from mounting the first install CD that I had selected Samba for the initial build.
However, when I tried man samba and man smb, I got nothing. I found smb.conf and
modified it--only the workgroup, so it seems as some components of it are there. I
tried testparam and some other related commands and they were there. However, the smb
command to start Samba wasn't to be found. I also found some net controller app off
the main menu and set my ip address to 192.168.0.1. The 192.168.0 portion I use for
the other machines on the network. When I rebooted, Linux complained about not being
able to access something related to the network but gave me the choice to continue,
which I did. Actually, I'm attempting this so that I can use NTP. The Linux app I'm
running needs an accurate clock. Updating the clock from elsewhere on the network
once a day is sufficient to keep the app happy.
Lenard wrote:
> On Sat, 20 Nov 2004 21:43:58 +0000, W. Watson wrote:
>
>
>
>
> First; the links (RPM, PDF and HTML) below the manual titles are for downloading
> the various manuals in the package forms. It's a good idea to download at least
> the first three of them. I would suggest the PDF version so you can read them in
> either Windows or Linux.
>
> Second; RPM == [R]ed Hat [P]ackage [M]anager you can find the guide to RPM at;
> http://www.rpm.org/max-rpm/
>
> Third; Red Hat Linux 9 is old and is no longer supported by Red Hat, the product
> reached End of Life on April 30, 2004
>
> Fourth; To install samba-2.2.7a-7.9.0.i386.rpm the Samba Server.
>
> The package is located on the CD media you have, I don't remember which one sorry.
> Mount each CD and browse it until you find the package you want. Then either click
> or double-click on the package (depending how your setup) to install it. But
> before you do this, may I suggest that you;
>
> Install apt(direct link to the package);
> http://download.fedora.us/fedora/re...8.rh90.i386.rpm
>
>
> Fast (DSL line) from the console or xterm session as root type;
>
> rpm -ivh <type the link above here>
>
> Slow (dial-up) from the console or xterm session as root type;
>
> wget <type the link above here> rpm -ivh apt-0.5.5cnc6-fr1.i386.rpm
>
> Do the same with synaptic (the GUI interface to apt);
> ftp://ftp.pbone.net/mirror/download...3.rh90.i386.rpm
>
>
> Then visit; http://fedoralegacy.org/
>
> This way you can bring your Red Hat Linux 9 current (install the latest upgrades,
> addons and patches). Take the time and follow the Download link for instructions.
> And please do not forget to read; http://fedoralegacy.org/docs/apt-rh9.php
>
> With synaptic open (and apt configured) all you do is select the package(s) you
> want to install and click on the appropriate buttons to download and install them.
>
>
> Lastly; Please consider upgrading to Fedora Core 1, 2 or 3 all are still
> supported. Fedora Core 2 or 3 are still actively supported, Fedora Core 1 recently
> became legacy (still support at the link already provided above).
>
> http://fedora.redhat.com/
>
>
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| Lenard 2004-11-21, 7:45 am |
| On Sun, 21 Nov 2004 12:23:30 +0000, W. Watson wrote:
Top posting corrected
> Lenard wrote:
>
[vbcol=seagreen]
> Thanks. Unfortunately, I'm using realtime (RT) Linux and the kernel
> build instructions for it are centered around RH 9.0, so I have a
> peculair breed of Linux. What is apt? Are the instructions you provided
> for an upgrade to RH 9.0 or to replace it with Fedora? Is Fedora
> available on CD?
Apt is a improved package manager. The instructions I provide are to
install apt and maybe synaptic, then update RHL9 to the currently
available updates to RHL9. Fedora is available on CD, you can download
them or purchase them;
Download; http://fedora.redhat.com/download/
Purchase(one of many places); http://cart.cheapbytes.com/cgi-bin/cart
> I managed to push further ahead with my "discovery" trail blazing of
> Samba, and found from mounting the first install CD that I had selected
> Samba for the initial build. However, when I tried man samba and man
> smb, I got nothing. I found smb.conf and modified it--only the
> workgroup, so it seems as some components of it are there. I tried
> testparam and some other related commands and they were there. However,
> the smb command to start Samba wasn't to be found. I also found some net
> controller app off the main menu and set my ip address to 192.168.0.1.
> The 192.168.0 portion I use for the other machines on the network. When
> I rebooted, Linux complained about not being able to access something
> related to the network but gave me the choice to continue, which I did.
> Actually, I'm attempting this so that I can use NTP. The Linux app I'm
> running needs an accurate clock. Updating the clock from elsewhere on
> the network once a day is sufficient to keep the app happy.
If all you need is to keep accurate time then you don't need samba. If you
have a time server already available then configure the ntpd daemon to use
the time server, see 'man ntpd' without the quotes for the details.
Samba is used to share files between Windows and Linux mainly. The Samba
server is to share files from Linux to Windows, the client is used to
connect to the Windows shares. To start smb (assuming samba server is
installed and configured) as root type from the console or xterm session
something like; service smb start
For a good HOWTO on smb visit; http://www.tldp.org/HOWTO/SMB-HOWTO.html
Visit; http://ntp.isc.org/bin/view/Users/WebHome If your RHL9 system has
direct access to the Internet use a time server close to your location.
I'm fairly close to Purdue so I use the time service they have available.
I just added Purdue's sever (tick.cerias.purdue.edu) to my /etc/ntp.conf
file, or for example to manually adjust your clock you can simply type
something like; sudo /usr/sbin/ntpdate -u 128.10.252.7 ;see both 'man
sudo' and 'man ntpdate' for the details
Example;
$ sudo /usr/sbin/ntpdate -u 128.10.252.7
/sbin/ntpdate -u 128.10.252.7
21 Nov 08:30:42 ntpdate[22354]: adjust time server 128.10.252.7 offset
0.045940sec
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
| |
| W. Watson 2004-11-21, 5:45 pm |
| Lenard wrote:
> On Sun, 21 Nov 2004 12:23:30 +0000, W. Watson wrote:
>
> Top posting corrected
>
>
>
>
>
>
>
> Apt is a improved package manager. The instructions I provide are to
> install apt and maybe synaptic, then update RHL9 to the currently
> available updates to RHL9. Fedora is available on CD, you can download
> them or purchase them;
>
> Download; http://fedora.redhat.com/download/
>
> Purchase(one of many places); http://cart.cheapbytes.com/cgi-bin/cart
>
>
>
>
>
> If all you need is to keep accurate time then you don't need samba. If you
> have a time server already available then configure the ntpd daemon to use
> the time server, see 'man ntpd' without the quotes for the details.
>
> Samba is used to share files between Windows and Linux mainly. The Samba
> server is to share files from Linux to Windows, the client is used to
> connect to the Windows shares. To start smb (assuming samba server is
> installed and configured) as root type from the console or xterm session
> something like; service smb start
>
> For a good HOWTO on smb visit; http://www.tldp.org/HOWTO/SMB-HOWTO.html
>
> Visit; http://ntp.isc.org/bin/view/Users/WebHome If your RHL9 system has
> direct access to the Internet use a time server close to your location.
> I'm fairly close to Purdue so I use the time service they have available.
> I just added Purdue's sever (tick.cerias.purdue.edu) to my /etc/ntp.conf
> file, or for example to manually adjust your clock you can simply type
> something like; sudo /usr/sbin/ntpdate -u 128.10.252.7 ;see both 'man
> sudo' and 'man ntpdate' for the details
>
> Example;
> $ sudo /usr/sbin/ntpdate -u 128.10.252.7
>
> /sbin/ntpdate -u 128.10.252.7
> 21 Nov 08:30:42 ntpdate[22354]: adjust time server 128.10.252.7 offset
> 0.045940sec
>
>
Thanks for the info. It sounds like you are saying that going to Fedora shouldn'be be
harmful. Probably not, but I'll check with the people who wrote the application.
Supposedly this ia a set it and forget it application, so updating Linux shouldn't be
much of an issue.
I just did a google on Synaptic thinking that may actually be a dictionary word. It's
a a mgmt. package, and I'm guessing the apt came from the middle of it, which is a
dictionary word. An interesting marketing angle.
I could manually update it daily as you suggest, but the Linux computer is in another
building and it not always on my mind to keep the clock up to date. The application
runs 7/24 and needs better time management than I'm currently giving it. Although
less demanding for the application, moving its data files across the net would be
helpful. Thankfully I only have to do that about once a month. If there's an
alternative network facility that would allow me to keep time on the network, I'd be
interested. I can forgo the samba route for some sneaker net activity once a month.
BTW, the app is an all sky camera that captures meteor images.
It may be that the samba installation on RH 9 is defective. That might explain the
man page and other weirdness. I found the follow page yesterday that suggests there
may be some deficiency. See
<http://www.duxcw.com/digest/Howto/s...0install/6.html> and comments
about SWAT. Odd too that my wife's machine seems to be OK Samba wise. At least it
appears to be complete, although she uses it without a network. However, mine is the
Shrike version, which is the costly version with phone support (expired). Also, she's
applied every fix she could get her hands on.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| Lenard 2004-11-21, 5:45 pm |
| On Sun, 21 Nov 2004 16:27:40 +0000, W. Watson wrote:
> Thanks for the info. It sounds like you are saying that going to Fedora
> shouldn'be be harmful. Probably not, but I'll check with the people who
> wrote the application. Supposedly this ia a set it and forget it
> application, so updating Linux shouldn't be much of an issue.
I do suggest that if possible that you do in fact update to Fedora Core 2.
If the people who wrote the application agree, then follow their advice.
If not then, ask them to assist you in upgrading the RHL9 packages, you
might want to direct them to this newsgroup thread. The replies I have
posted are instructions to update RHL9 to the latest available upgrades to
the packages already installed on your RHL9 system. I have provided
(hopefully), in this reply, a more detailed set of instructions below that
should update your RHL9 system with all the upgrades available for RHL9.
> I just did a google on Synaptic thinking that may actually be a
> dictionary word. It's a a mgmt. package, and I'm guessing the apt came
> from the middle of it, which is a dictionary word. An interesting
> marketing angle.
The two packages apt and synaptic are related, synaptic is the GUI
interface to apt;
DESCRIPTION
apt-get is the command-line tool for handling packages, and may
be considered the user's "back-end" to other tools using the APT
library. Several "front-end" interfaces exist, such as
dselect(8), aptitude, synaptic, gnome-apt and wajig.
You might want to visit; http://freshrpms.net/apt/
> I could manually update it daily as you suggest, but the Linux computer
> is in another building and it not always on my mind to keep the clock up
> to date. The application runs 7/24 and needs better time management than
> I'm currently giving it. Although less demanding for the application,
> moving its data files across the net would be helpful. Thankfully I only
> have to do that about once a month. If there's an alternative network
> facility that would allow me to keep time on the network, I'd be
> interested. I can forgo the samba route for some sneaker net activity
> once a month. BTW, the app is an all sky camera that captures meteor
> images.
Which is why you make use of ntpd or at the very least use a cron job once
a day to adjust the time using ntpdate.
Sample job (place in /etc/cron.daily) filename net-time;
#!/bin/bash
# Adjust the system time
/usr/sbin/ntpdate -u 128.10.252.7
exit 0
Then set the permissions;
-rwxr-xr-x 1 root root 81 Nov 21 15:37 net-time
Adjust the command (change the IP address) to use a time server of your
choice. For example lets say you have another system someplace that serves
time to other Windows systems and this server's IP address is 192.168.0.1,
then the ntpdate line would read;
/usr/bin/ntpdate -u 192.168.0.1
> It may be that the samba installation on RH 9 is defective. That might
> explain the man page and other weirdness. I found the follow page
> yesterday that suggests there may be some deficiency. See
> <http://www.duxcw.com/digest/Howto/s...0install/6.html>
> and comments about SWAT. Odd too that my wife's machine seems to be OK
> Samba wise. At least it appears to be complete, although she uses it
> without a network. However, mine is the Shrike version, which is the
> costly version with phone support (expired). Also, she's applied every
> fix she could get her hands on.
OK, first find out which samba packages you have installed;
rpm -qa '*samba*'
Sample output (yours will be different);
samba-client-3.0.9-1
samba-3.0.9-1
samba-swat-3.0.9-1
system-config-samba-1.2.21-1
samba-common-3.0.9-1
You should see redhat-config-samba instead of system-config-smaba. And if
I remember correctly with RHL9 the samba-swat RPM is not installed by
default.
You still can bring your RHL9 system current (all the updates for RHL9) by
following these instructions as root from the console or xterm session,
assuming you have a working Internet connection;
This command will download and install the apt RPM package;
rpm -ivh
http://download.fedora.us/fedora/re...8.rh90.i386.rpm
The above line is one long line with a space after the '-ivh' portion and
before the rest of the command. By downloading and installing this package
the apt-get /etc/apt/sources.list file is already configured to use the
fedora.us RHL9 site to get the updated packages.
This command will updated the apt package index files list ( to the latest
RHL9 updates);
apt-get update
This command will update your install RPM packages to the latest ones
available for RHL9;
apt-get upgrade
If you still need to install samba-swat after installing the other RHL9
updates;
apt-get install samba-swat
If you want to install/use the synaptic (a graphical interface to apt-get)
package;
apt-get install synaptic
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
| |
| W. Watson 2004-11-21, 8:45 pm |
| Lenard wrote:
> On Sun, 21 Nov 2004 16:27:40 +0000, W. Watson wrote:
>
>
>
>
> I do suggest that if possible that you do in fact update to Fedora Core 2.
> If the people who wrote the application agree, then follow their advice.
> If not then, ask them to assist you in upgrading the RHL9 packages, you
> might want to direct them to this newsgroup thread. The replies I have
> posted are instructions to update RHL9 to the latest available upgrades to
> the packages already installed on your RHL9 system. I have provided
> (hopefully), in this reply, a more detailed set of instructions below that
> should update your RHL9 system with all the upgrades available for RHL9.
>
>
>
>
>
> The two packages apt and synaptic are related, synaptic is the GUI
> interface to apt;
>
> DESCRIPTION
> apt-get is the command-line tool for handling packages, and may
> be considered the user's "back-end" to other tools using the APT
> library. Several "front-end" interfaces exist, such as
> dselect(8), aptitude, synaptic, gnome-apt and wajig.
>
> You might want to visit; http://freshrpms.net/apt/
>
>
>
>
>
> Which is why you make use of ntpd or at the very least use a cron job once
> a day to adjust the time using ntpdate.
>
> Sample job (place in /etc/cron.daily) filename net-time;
>
> #!/bin/bash
> # Adjust the system time
> /usr/sbin/ntpdate -u 128.10.252.7
> exit 0
>
> Then set the permissions;
> -rwxr-xr-x 1 root root 81 Nov 21 15:37 net-time
>
> Adjust the command (change the IP address) to use a time server of your
> choice. For example lets say you have another system someplace that serves
> time to other Windows systems and this server's IP address is 192.168.0.1,
> then the ntpdate line would read;
>
> /usr/bin/ntpdate -u 192.168.0.1
>
>
>
>
>
> OK, first find out which samba packages you have installed;
>
> rpm -qa '*samba*'
>
> Sample output (yours will be different);
>
> samba-client-3.0.9-1
> samba-3.0.9-1
> samba-swat-3.0.9-1
> system-config-samba-1.2.21-1
> samba-common-3.0.9-1
>
> You should see redhat-config-samba instead of system-config-smaba. And if
> I remember correctly with RHL9 the samba-swat RPM is not installed by
> default.
>
> You still can bring your RHL9 system current (all the updates for RHL9) by
> following these instructions as root from the console or xterm session,
> assuming you have a working Internet connection;
>
> This command will download and install the apt RPM package;
>
> rpm -ivh
> http://download.fedora.us/fedora/re...8.rh90.i386.rpm
>
> The above line is one long line with a space after the '-ivh' portion and
> before the rest of the command. By downloading and installing this package
> the apt-get /etc/apt/sources.list file is already configured to use the
> fedora.us RHL9 site to get the updated packages.
>
> This command will updated the apt package index files list ( to the latest
> RHL9 updates);
>
> apt-get update
>
> This command will update your install RPM packages to the latest ones
> available for RHL9;
>
> apt-get upgrade
>
> If you still need to install samba-swat after installing the other RHL9
> updates;
>
> apt-get install samba-swat
>
> If you want to install/use the synaptic (a graphical interface to apt-get)
> package;
>
> apt-get install synaptic
>
>
I found the RH9 rpm file earlier today from the RH site and downloaded it. 110
minutes, 22M.
I do not have a modem connected to Linux. I downloaded from my XP machine, and carry
the file over to Linux with a zip disk.
rpm -aq ... gives:
samba-client-2.2.7a-6
samba-common-2.2.7a-6
Looks like some things are missing.
As I understand it, as root, I simply execute rpm -ivh my-samba-download-file.rpm.
I'm holding off awhile before attempting it. I'll give you time to respond.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| Lenard 2004-11-22, 7:45 am |
| On Mon, 22 Nov 2004 03:45:52 +0000, W. Watson wrote:
> I found the RH9 rpm file earlier today from the RH site and downloaded
> it. 110 minutes, 22M.
What file did you download? The RHL9 original source RPM is;
samba-2.2.7a-7.9.0.src.rpm 13-Mar-2003 20:41 4.2M
The original four samba binary packages are;
samba-2.2.7a-7.9.0.i386.rpm 13-Mar-2003 20:41 3.0M
samba-client-2.2.7a-7.9.0.i386.rpm 13-Mar-2003 20:41 2.1M
samba-common-2.2.7a-7.9.0.i386.rpm 13-Mar-2003 20:41 2.1M
samba-swat-2.2.7a-7.9.0.i386.rpm 13-Mar-2003 20:41 1.9M
> I do not have a modem connected to Linux. I downloaded from my XP
> machine, and carry the file over to Linux with a zip disk.
>
> rpm -aq ... gives:
> samba-client-2.2.7a-6
> samba-common-2.2.7a-6
Hmmm.... old rawhide version maybe???? I Recommend that you install/use;
samba-2.2.12-0.90.2.legacy.i386.rpm 14-Oct-2004 17:42 3.0M
samba-client-2.2.12-0.90.2.legacy.i386.rpm 14-Oct-2004 17:42 2.1M
samba-common-2.2.12-0.90.2.legacy.i386.rpm 14-Oct-2004 17:42 2.1M
samba-swat-2.2.12-0.90.2.legacy.i386.rpm 14-Oct-2004 17:42 1.9M
These are the latest available binary samba rpm's, they are newer then the
ones available from Red Hat for RHL9
Available at; http://download.fedoralegacy.org/redhat/9/updates/i386/
Just have all four in a common location and as root from where they reside
type 'rpm -Uvh samba*.rpm' without the quotes. This will install all four
at the same time. It will upgrade and replace the two older also.
The latest Red Hat released updates (all of them) for Red Hat Linux 9 are
available here; ftp://updates.redhat.com/9/en/os/i386/
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
| |
| W. Watson 2004-11-22, 7:45 am |
| Lenard wrote:
> On Mon, 22 Nov 2004 03:45:52 +0000, W. Watson wrote:
>
>
>
>
> What file did you download? The RHL9 original source RPM is;
>
> samba-2.2.7a-7.9.0.src.rpm 13-Mar-2003 20:41 4.2M
samba-3.0.9-1.rh9.i386.rpm
>
> The original four samba binary packages are;
>
> samba-2.2.7a-7.9.0.i386.rpm 13-Mar-2003 20:41 3.0M
> samba-client-2.2.7a-7.9.0.i386.rpm 13-Mar-2003 20:41 2.1M
> samba-common-2.2.7a-7.9.0.i386.rpm 13-Mar-2003 20:41 2.1M
> samba-swat-2.2.7a-7.9.0.i386.rpm 13-Mar-2003 20:41 1.9M
>
>
>
>
>
> Hmmm.... old rawhide version maybe???? I Recommend that you install/use;
>
> samba-2.2.12-0.90.2.legacy.i386.rpm 14-Oct-2004 17:42 3.0M
> samba-client-2.2.12-0.90.2.legacy.i386.rpm 14-Oct-2004 17:42 2.1M
> samba-common-2.2.12-0.90.2.legacy.i386.rpm 14-Oct-2004 17:42 2.1M
> samba-swat-2.2.12-0.90.2.legacy.i386.rpm 14-Oct-2004 17:42 1.9M
>
> These are the latest available binary samba rpm's, they are newer then the
> ones available from Red Hat for RHL9
>
> Available at; http://download.fedoralegacy.org/redhat/9/updates/i386/
>
> Just have all four in a common location and as root from where they reside
> type 'rpm -Uvh samba*.rpm' without the quotes. This will install all four
> at the same time. It will upgrade and replace the two older also.
>
> The latest Red Hat released updates (all of them) for Red Hat Linux 9 are
> available here; ftp://updates.redhat.com/9/en/os/i386/
>
>
See file above about 10 lines from top. I'm downloading the first of the legacy files
at the moment, and will take a look at the rh updates in a moment.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| Lenard 2004-11-22, 7:45 am |
| On Mon, 22 Nov 2004 13:37:21 +0000, W. Watson wrote:
> Lenard wrote:
>
> samba-3.0.9-1.rh9.i386.rpm
Actually this is the better choice, I didn't know samba-3.0.9 was released
for Red Hat Linux 9. Install this instead of the samba rpm's I suggested.
It's the entire samba package; the server, the client, the common files
and swat everything in one package --- good choice. As per your earlier
posting, yes you can install it as root with;
rpm -Uvh samba-3.0.9-1.rh9.i386.rpm
This will (should) remove the old 2.2.7a-6 samba-client and samba-common
packages and install everything needed to configure samba to work both as
a server and client in RHL9.
> See file above about 10 lines from top. I'm downloading the first of the
> legacy files at the moment, and will take a look at the rh updates in a
> moment.
Hopefully, you get this message before you waste to much time downloading
the older samba binaries. It's still a good idea to at least review all
the RHL9 updates available.
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
| |
| W. Watson 2004-11-22, 7:45 am |
| Lenard wrote:
> On Mon, 22 Nov 2004 13:37:21 +0000, W. Watson wrote:
>
>
>
>
> Actually this is the better choice, I didn't know samba-3.0.9 was released
> for Red Hat Linux 9. Install this instead of the samba rpm's I suggested.
> It's the entire samba package; the server, the client, the common files
> and swat everything in one package --- good choice. As per your earlier
> posting, yes you can install it as root with;
>
> rpm -Uvh samba-3.0.9-1.rh9.i386.rpm
>
> This will (should) remove the old 2.2.7a-6 samba-client and samba-common
> packages and install everything needed to configure samba to work both as
> a server and client in RHL9.
>
>
>
>
> Hopefully, you get this message before you waste to much time downloading
> the older samba binaries. It's still a good idea to at least review all
> the RHL9 updates available.
>
>
Yep, only downloaded one file. I'll go with the big file later today. For the moment,
I'm headed back to the snore shelf.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| Lenard 2004-11-22, 5:45 pm |
| On Mon, 22 Nov 2004 14:18:42 +0000, W. Watson wrote:
<snip>
> Yep, only downloaded one file. I'll go with the big file later today.
> For the moment, I'm headed back to the snore shelf.
Both sound like an excellent idea!!!! Enjoy!!
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
| |
| W. Watson 2004-11-22, 5:45 pm |
| Lenard wrote:
> On Mon, 22 Nov 2004 14:18:42 +0000, W. Watson wrote:
>
> <snip>
>
>
>
> Both sound like an excellent idea!!!! Enjoy!!
>
>
Oops! I think I'm going to need to download the file again. When I fired it up I got:
V3 DSA signature NOKEY f17f9772 Error unpacking archive filed on
/usr/bin/swat; 41c2129: MD5 sum mismatch
I did a cmp of the two files, zip vs cp to hd, and it gave me some error at line/char
800k.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| W. Watson 2004-11-22, 5:45 pm |
| I get the impression that the 22M file I dragged down for Samba 3.0.9 is really an
rpms. I really don't know the difference between rpm and rpms, but perhaps it caused
my rpm disassembly error?
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| Lenard 2004-11-23, 2:45 am |
| On Mon, 22 Nov 2004 23:40:26 +0000, W. Watson wrote:
> Lenard wrote:
>
> Oops! I think I'm going to need to download the file again. When I fired
> it up I got:
Hmmm.... When I asked;
You replied with;
[vbcol=seagreen]
http://us1.samba.org/samba/ftp/Bina.../RPMS/i386/9.0/
shows;
samba-3.0.8-1_rh9.i386.rpm 08-Nov-2004 07:22 20.8M
samba-3.0.9-1_rh9.i386.rpm 18-Nov-2004 21:44 20.8M
Maybe just a slight mistake in typing on your part, not a big deal. You
also said;
[vbcol=seagreen]
> I found the RH9 rpm file earlier today from the RH site and downloaded
> it. 110 minutes, 22M.
Which is about right;
21849835 Nov 22 08:55 samba-3.0.9-1_rh9.i386.rpm
> V3 DSA signature NOKEY f17f9772 Error unpacking archive filed on
> /usr/bin/swat; 41c2129: MD5 sum mismatch
Hmmm... When I do 'rpm -qilp samba-3.0.9-1_rh9.i386.rpm' the output reads;
warning: samba-3.0.9-1_rh9.i386.rpm: V3 DSA signature: NOKEY, key ID
f17f9772
<snip>
/usr/sbin/smbd
/usr/sbin/smbmount
/usr/sbin/smbumount
/usr/sbin/swat (this is where swat is located on my systems)
<snip>
> I did a cmp of the two files, zip vs cp to hd, and it gave me some error
> at line/char 800k.
It sounds like you did choose the correct file, but somehow/someway during
the download and transferring the file to zip then to the hard drive the
file (samba-3.0.9-1_rh9.i386.rpm) got corrupted.
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
| |
| W. Watson 2004-11-23, 7:45 am |
| Lenard wrote:
> On Mon, 22 Nov 2004 23:40:26 +0000, W. Watson wrote:
>
>
>
>
> Hmmm.... When I asked;
>
>
>
>
> You replied with;
>
>
>
>
> http://us1.samba.org/samba/ftp/Bina.../RPMS/i386/9.0/
> shows;
>
> samba-3.0.8-1_rh9.i386.rpm 08-Nov-2004 07:22 20.8M
> samba-3.0.9-1_rh9.i386.rpm 18-Nov-2004 21:44 20.8M
>
> Maybe just a slight mistake in typing on your part, not a big deal. You
> also said;
>
>
>
>
> Which is about right;
> 21849835 Nov 22 08:55 samba-3.0.9-1_rh9.i386.rpm
>
>
>
>
>
> Hmmm... When I do 'rpm -qilp samba-3.0.9-1_rh9.i386.rpm' the output reads;
>
> warning: samba-3.0.9-1_rh9.i386.rpm: V3 DSA signature: NOKEY, key ID
> f17f9772
>
> <snip>
>
> /usr/sbin/smbd
> /usr/sbin/smbmount
> /usr/sbin/smbumount
> /usr/sbin/swat (this is where swat is located on my systems)
>
> <snip>
>
>
>
> It sounds like you did choose the correct file, but somehow/someway during
> the download and transferring the file to zip then to the hard drive the
> file (samba-3.0.9-1_rh9.i386.rpm) got corrupted.
>
Here's the URL that I used,
<http://hostopia.samba.org/samba/ftp.../RPMS/i386/9.0/>. I'm
going to download it again. I have no idea what the rpms refers to as a header to the
url.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| Wayne Watson 2004-11-23, 7:45 am |
| Lenard wrote:
> On Mon, 22 Nov 2004 23:40:26 +0000, W. Watson wrote:
>
>
>
>
> Hmmm.... When I asked;
>
>
>
>
> You replied with;
>
>
>
>
> http://us1.samba.org/samba/ftp/Bina.../RPMS/i386/9.0/
> shows;
>
> samba-3.0.8-1_rh9.i386.rpm 08-Nov-2004 07:22 20.8M
> samba-3.0.9-1_rh9.i386.rpm 18-Nov-2004 21:44 20.8M
>
> Maybe just a slight mistake in typing on your part, not a big deal. You
> also said;
>
>
>
>
> Which is about right;
> 21849835 Nov 22 08:55 samba-3.0.9-1_rh9.i386.rpm
>
>
>
>
>
> Hmmm... When I do 'rpm -qilp samba-3.0.9-1_rh9.i386.rpm' the output reads;
>
> warning: samba-3.0.9-1_rh9.i386.rpm: V3 DSA signature: NOKEY, key ID
> f17f9772
>
> <snip>
>
> /usr/sbin/smbd
> /usr/sbin/smbmount
> /usr/sbin/smbumount
> /usr/sbin/swat (this is where swat is located on my systems)
>
> <snip>
>
>
>
> It sounds like you did choose the correct file, but somehow/someway during
> the download and transferring the file to zip then to the hard drive the
> file (samba-3.0.9-1_rh9.i386.rpm) got corrupted.
>
Here's the URL that I used,
<http://hostopia.samba.org/samba/ftp.../RPMS/i386/9.0/>. I'm
going to download it again. I have no idea what the rpms refers to as a header to the
url.
Adding to the few lines above this that I just posted:
If this 3.0.9 file doesn't work out, I'll download the original 2.2.7a files and try.
If that works, or even if it doesn't, I'll try the Fedora upgrade that you mentioned
on my other machine which has both Rtlinux and Win2000. I don't use it for the
application. That way I can determine if rtlinux holds together with a Fedora
upgrade, and not disturb the 7/24 operational linux machine.
I'm downloading 3.0.9 but back to sleep I go.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| Lenard 2004-11-23, 7:45 am |
| On Tue, 23 Nov 2004 12:21:37 +0000, W. Watson wrote:
[vbcol=seagreen]
> Here's the URL that I used,
> <http://hostopia.samba.org/samba/ftp.../RPMS/i386/9.0/>.
I've downloaded the samba-3.0.9-1_rh9.i386.rpm from the link you provided
and compared it to the samba-3.0.9-1_rh9.i386.rpm I downloaded from the
link I posted earlier. The files are the same size, the md5sums are the
same and I ran a diff on them they match exactly.
$ md5sum samba-3.0.9-1_rh9.i386.rpm
3e0bb41777c9c32eca490cbab942db3a samba-3.0.9-1_rh9.i386.rpm
> I'm going to download it again. I have no idea what the rpms refers to
> as a header to the url.
It's just a directory name.
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
| |
| W. Watson 2004-11-23, 5:45 pm |
| Lenard wrote:
> On Tue, 23 Nov 2004 12:21:37 +0000, W. Watson wrote:
>
>
>
>
>
>
> I've downloaded the samba-3.0.9-1_rh9.i386.rpm from the link you provided
> and compared it to the samba-3.0.9-1_rh9.i386.rpm I downloaded from the
> link I posted earlier. The files are the same size, the md5sums are the
> same and I ran a diff on them they match exactly.
>
> $ md5sum samba-3.0.9-1_rh9.i386.rpm
> 3e0bb41777c9c32eca490cbab942db3a samba-3.0.9-1_rh9.i386.rpm
>
>
>
>
>
> It's just a directory name.
>
>
Our phone line seems very buggy today. I've tried about six times to download, and
get knocked off each time. I called the phone company about it, and they do detect a
problem. Which side is on is debatable. I may have to wait a few days until they get
it squared away. I've been through this before, and every time it's on their side.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| W. Watson 2004-11-23, 8:45 pm |
| Well, the phone line started working better and I got the file down with one
interruption. I installed it. Seemed like it went OK. When I tried rpm -qa '*samba*',
the output said: samba 3.0.9. That's it. Nothing else. Did I really get it installed?
I'll take a closer look while this message is rattling around the internet.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| Lenard 2004-11-23, 8:45 pm |
| On Wed, 24 Nov 2004 01:25:03 +0000, W. Watson wrote:
> Well, the phone line started working better and I got the file down with
> one interruption. I installed it. Seemed like it went OK. When I tried
> rpm -qa '*samba*', the output said: samba 3.0.9. That's it. Nothing
> else. Did I really get it installed? I'll take a closer look while this
> message is rattling around the internet.
Yep, it's installed. Have a look at the /usr/ bin and sbin directories.
And you should also be able to see that the service smb is running;
$ chkconfig --list smb
smb 0:off 1:off 2:off 3:off 4:off 5:on 6:off
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
| |
| W. Watson 2004-11-24, 2:45 am |
| Lenard wrote:
> On Wed, 24 Nov 2004 01:25:03 +0000, W. Watson wrote:
>
>
>
>
> Yep, it's installed. Have a look at the /usr/ bin and sbin directories.
> And you should also be able to see that the service smb is running;
>
> $ chkconfig --list smb
> smb 0:off 1:off 2:off 3:off 4:off 5:on 6:off
>
>
OK, I'll try it, but where do I go from here? Don't I have to configure Samba
somehow, and get it started. I fired up smbd and nmsmb (or something) as tasks, but
that wasn't too stimulating. I set the ip address of the machine in the net
controller program (off the main menu), and tried activating it, but that got
nowhere. I set the workgroup in the smb.conf file to GALAXY, which is the workgroup
for the other machines. Ah, I just remembered. I found something in chapter 17 of
some RH customization document the other day that had some descriptions of Samba.
Here's a bit of it. Quoting:
===========
To use this application, you must be running the XWindow System, have root
privileges, and have the redhat-config-samba RPM package installed. To start the
Samba Server Configuration Tool from the desktop, go to the Main Menu Button (on the
Panel) => System Settings => Server Settings => Samba Server or type the command
redhat-config-samba at a shell prompt (for example, in an XTerm or a GNOME terminal).
===========
I doubt there's a tool on the main menu, but maybe the shell command will get me
going. Don't see anything on how to operate if all after I get it configured. Well,
off I go on another exploration.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| W. Watson 2004-11-24, 7:45 am |
| I think I need to get the network configured before going further with Samba. Chapter
12 of the RH customization contains about 20 pages on how to do this. I think that
will be my morning reading when I re-awake in about 3-4 hours.
Of course, then there's the problem of why the circuit breaker in the observatory
gets tripped. Twice yesterday I went out there and found the power off in one
circuit. I have a feeling when it's day light than an inspection of the power cable
going out the window to the camera will reveal that a rabbit or other critter has
munched the cable.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| Lenard 2004-11-24, 7:45 am |
| On Wed, 24 Nov 2004 04:50:17 +0000, W. Watson wrote:
> OK, I'll try it, but where do I go from here? Don't I have to configure
> Samba somehow, and get it started. I fired up smbd and nmsmb (or
> something) as tasks, but that wasn't too stimulating. I set the ip
> address of the machine in the net controller program (off the main
> menu), and tried activating it, but that got nowhere. I set the
> workgroup in the smb.conf file to GALAXY, which is the workgroup for the
> other machines. Ah, I just remembered. I found something in chapter 17
> of some RH customization document the other day that had some
> descriptions of Samba. Here's a bit of it. Quoting:
> ===========
> To use this application, you must be running the XWindow System, have
> root privileges, and have the redhat-config-samba RPM package installed.
> To start the Samba Server Configuration Tool from the desktop, go to the
> Main Menu Button (on the Panel) => System Settings => Server Settings =>
> Samba Server or type the command redhat-config-samba at a shell prompt
> (for example, in an XTerm or a GNOME terminal). ===========
You don't really need the redhat-config-samba package installed. Open any
of the browsers (mozilla for example) and type in the location bar;
http://localhost:901/
If swat is running, you should be asked to supply both user name and
password, use root for the user name and root's password.
$ chkconfig --list swat
swat on
A little reading; http://www.tldp.org/HOWTO/SMB-HOWTO.html
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
| |
| W. Watson 2004-11-24, 5:45 pm |
| Lenard wrote:
> On Wed, 24 Nov 2004 04:50:17 +0000, W. Watson wrote:
>
>
>
>
> You don't really need the redhat-config-samba package installed. Open any
> of the browsers (mozilla for example) and type in the location bar;
>
> http://localhost:901/
>
> If swat is running, you should be asked to supply both user name and
> password, use root for the user name and root's password.
>
> $ chkconfig --list swat
> swat on
>
> A little reading; http://www.tldp.org/HOWTO/SMB-HOWTO.html
>
>
No damage to the power cable, so that mystery will have to wait for awhile.
On Samba:
chkconfig --list smb shows the desired on/off you mentioned. Only five is on.
Your mention of http://localhost:901/ prompted me to see if I could my Linux machine
connected to the internet. I was able to configure thru System->Network Device Ctrl
the ppp connection. When I activated it, it apparently dialed out and connected to
the internet. I then clicked on the Mozilla browser from the icon tray, and got a
message on the tray that the browser was starting. The message disappeared and no
browser activity could be seen anywhere. I decided to set up a mail contact
(Xiamian). After working my way through that, I couldn't successfully dial out with
Xiamian. I mentioned this to my wife, and she said since I have an internal modem,
I'd have go compile some special driver. She had kept the notes she made on it, 2
pages. I passed on that for the time being.
I then decided if I could really activate the network. After fumbling around with the
configuration tool to get eth0 defined, I was able to activate it. I sure had no luck
on this the other day. Somewhere a bit prior to this I came across the
System->Service Config tool, and managed to start smb, inetd, and swat. I tried
chkconfig --list swat
and it produced
swat on
Entering swat at the prompt just mesmerized the prompt, so I hit Ctrl-C
I'm back on XP at the moment, so let's see what the My Network Places yields. Well it
tells me that something's awry. Let me try refresh. Ah, a better story. It shows the
Samba server as an icon with the name, AstroPC2004, of the Linux machine. Clicking on
the icon tells me it's not accessible. I guess I need to do something on the Linux
machine.
Well, let's see what executing http://localhost:901/ from here does. Connection
refused, it says. Maybe I need to replace localhost with 192.168.0.1. Let's see.
Well, after a minute of the hour glass, I cut it off. I'll send this to you now, and
experiment. Maybe even read the HowTo you mentioned.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| W. Watson 2004-11-26, 2:45 am |
| Lenard wrote:
> On Wed, 24 Nov 2004 04:50:17 +0000, W. Watson wrote:
>
>
>
>
> You don't really need the redhat-config-samba package installed. Open any
> of the browsers (mozilla for example) and type in the location bar;
>
> http://localhost:901/
>
> If swat is running, you should be asked to supply both user name and
> password, use root for the user name and root's password.
>
> $ chkconfig --list swat
> swat on
>
> A little reading; http://www.tldp.org/HOWTO/SMB-HOWTO.html
>
>
Haven't yet found the source of the short circuit, but there's been no trouble since
late Tuesday.
I've marginally moved ahead on the modem connection for the Linux machine. It's not
much of a worry, since I really do not have a strong need for it on Linux.
I can ping from the Win XP to the Linux machine and vice versa.
I found some MS instructions on making XP a time server. See
<http://support.microsoft.com/kb/314054#EXTERNAL>, but have not been enthusiastic
about applying them until I protect my XP system with a recovery disk. See
<http://support.microsoft.com/kb/314054#EXTERNAL>. There are nine steps, and it seems
a bit too fraught with danger over registry changes to proceed without creating a
recovery disk first. I'll worry about that tomorrow.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"I'm not going to die. It would ruin my image."
-- Jack La Lanne, 90 year old early TV health
& exercise promoter
Web Page: <home.earthlink.net/~mtnviews>
| |
| W. Watson 2004-12-16, 6:22 pm |
| Lenard wrote:
> On Wed, 24 Nov 2004 04:50:17 +0000, W. Watson wrote:
>
>
>
>
> You don't really need the redhat-config-samba package installed. Open any
> of the browsers (mozilla for example) and type in the location bar;
>
> http://localhost:901/
>
> If swat is running, you should be asked to supply both user name and
> password, use root for the user name and root's password.
>
> $ chkconfig --list swat
> swat on
>
> A little reading; http://www.tldp.org/HOWTO/SMB-HOWTO.html
>
>
I'm finally back to this point. The URL typed into Moz produces a "connection
refused" message. Similarly, I've tried with the following two URLs and get:
http://127.0.0.0:901 --> msg: Connection refused when trying to contact ...
http://192.168.0.2:901 -->msg: Document contents are empty ...
What's this all about?
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"There's no such thing as a stupid question,
but they're the easiest to answer!" -- anon.
Web Page: <home.earthlink.net/~mtnviews>
| |
| Lenard 2004-12-16, 6:22 pm |
| On Mon, 13 Dec 2004 05:37:48 +0000, W. Watson wrote:
> I'm finally back to this point. The URL typed into Moz produces a
> "connection refused" message. Similarly, I've tried with the following
> two URLs and get: http://127.0.0.0:901 --> msg: Connection refused when
> trying to contact ... http://192.168.0.2:901 -->msg: Document contents
> are empty ...
>
> What's this all about?
Is the samba server and samba-swat installed and running;
$ rpm -qa 'samba*' | sort
samba-3.0.9-2
samba-client-3.0.9-2
samba-common-3.0.9-2
samba-swat-3.0.9-2
All four packages above are required.
To check if smb (samba server) and swat are running;
$ chkconfig --list
What your looking for only;
smb 0:off 1:off 2:off 3:off 4:off 5:on 6:off
xinetd based services:
chargen-udp: off
chargen: off
daytime-udp: off
daytime: off
echo-udp: off
echo: off
time: off
time-udp: off
cups-lpd: off
ktalk: off
swat: on
Notice that the service smb (the samba server) is only active at run level
5 (5:on) and not the other levels 3 or 4
If yes, then you should be able to use http://127.0.0.1:901 (notice the
corrected address here) or http://localhost:901 the other one
(http://192.168.0.2:901) may not work, this depends on the contents of
/etc/hosts;
$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
(the above is expanded [extra lines added] for readability)
In the case of your /etc/hosts file looking like the one above then the
http://192.168.0.2:901 URL will not work.
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
| |
| W. Watson 2004-12-16, 6:22 pm |
| Lenard wrote:
> On Mon, 13 Dec 2004 05:37:48 +0000, W. Watson wrote:
>
>
>
>
>
> Is the samba server and samba-swat installed and running;
>
> $ rpm -qa 'samba*' | sort
> samba-3.0.9-2
> samba-client-3.0.9-2
> samba-common-3.0.9-2
> samba-swat-3.0.9-2
>
> All four packages above are required.
>
> To check if smb (samba server) and swat are running;
>
> $ chkconfig --list
>
> What your looking for only;
>
> smb 0:off 1:off 2:off 3:off 4:off 5:on 6:off
>
> xinetd based services:
> chargen-udp: off
> chargen: off
> daytime-udp: off
> daytime: off
> echo-udp: off
> echo: off
> time: off
> time-udp: off
> cups-lpd: off
> ktalk: off
> swat: on
>
> Notice that the service smb (the samba server) is only active at run level
> 5 (5:on) and not the other levels 3 or 4
>
> If yes, then you should be able to use http://127.0.0.1:901 (notice the
> corrected address here) or http://localhost:901 the other one
> (http://192.168.0.2:901) may not work, this depends on the contents of
> /etc/hosts;
>
> $ cat /etc/hosts
>
> # Do not remove the following line, or various programs
>
> # that require network functionality will fail.
>
> 127.0.0.1 localhost.localdomain localhost
>
> (the above is expanded [extra lines added] for readability)
>
> In the case of your /etc/hosts file looking like the one above then the
> http://192.168.0.2:901 URL will not work.
>
>
Well, this is certainly odd. I brought down the 22M 3.0.9-whatever. file and thought
the rpm brought four packages inside into action. I can only find the samba file in
rpm -qa. I have a feeling the download got busted. I did have a fair amount of
trouble that day downloading it from the ftp site. I had a couple of disconnects and
restarts. There was no complaint when I rpm -Uvh-ed it. I have another way to bring
it down. It looks like I'll need to take a 1 mile trip in my car to use a faster
download. For what it's worth the other comparison data you provided does not match
what I see. Running at other levels, and xinetd services are a little off on
settings. Time to reinstall a new rpm file for samba.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"There's no such thing as a stupid question,
but they're the easiest to answer!" -- anon.
Web Page: <home.earthlink.net/~mtnviews>
| |
| W. Watson 2004-12-16, 6:22 pm |
| I downloaded the samba rpm file for 3.0.9, and apparently that's all it had in it. I
guess it's some format different than other rpm files. For example, I downloaded the
four samba files from the redhat ftp site. They are all 2.2.7b. The samba file is
about 2-3M, as are the others.
I erased the 3.0.9 samba from rpm and installed the four 2.2.7b samba files. As a
result, the chkconfig --list command gave identical results to the run levels but
shows time-udp and cup-lpd as on, whereas yours show them off.
127.0.0.1:901 and localhost:901 fail as before. In the event that Mozilla is somehow
defective, I downloaded it from the RH site too. I did not install it though. Moz
still shows German for the warning dialogs, and on some of the buttons like OK, Yes,
No. I'll worry about that later.
That's the state of the world here.
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"There's no such thing as a stupid question,
but they're the easiest to answer!" -- anon.
Web Page: <home.earthlink.net/~mtnviews>
| |
| Lenard 2004-12-16, 6:22 pm |
| On Tue, 14 Dec 2004 02:29:10 +0000, W. Watson wrote:
> I downloaded the samba rpm file for 3.0.9, and apparently that's all it
> had in it. I guess it's some format different than other rpm files. For
> example, I downloaded the four samba files from the redhat ftp site.
> They are all 2.2.7b. The samba file is about 2-3M, as are the others.
Hmmm.... which samba-3.0.9 RPM did you download. I used the one for FC3
called samba-3.0.9-1.src.rpm
For RHL9 the src package is here;
http://us1.samba.org/samba/ftp/Bina...s/RedHat/SRPMS/
Install it; rpm -Uvh samba*.rpm
Built the five (the unused debug package is the fifth) binary RPM's as
root in the /usr/src/redhat/SPECS location;
rpmbuild -bb samba.spec
Then installed the four packages after removing the debug RPM from
/usr/src/redhat/RPMS/i386 (as root of course);
rpm -Fvh samba*.rpm
> I erased the 3.0.9 samba from rpm and installed the four 2.2.7b samba
> files. As a result, the chkconfig --list command gave identical results
> to the run levels but shows time-udp and cup-lpd as on, whereas yours
> show them off.
This does not matter, just a different configuration for those two
services.
> 127.0.0.1:901 and localhost:901 fail as before. In the event that
> Mozilla is somehow defective, I downloaded it from the RH site too. I
> did not install it though. Moz still shows German for the warning
> dialogs, and on some of the buttons like OK, Yes, No. I'll worry about
> that later.
Try using one of the other browsers like KDE's Konqueror or Gnome's
Galeon;
http://www.redhat.com/docs/manuals/...ers-galeon.html
Additional help can be found here;
http://www.redhat.com/docs/manuals/...e/ch-samba.html
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
| |
| W. Watson 2004-12-16, 6:22 pm |
| Lenard wrote:
> On Tue, 14 Dec 2004 02:29:10 +0000, W. Watson wrote:
>
>
>
>
> Hmmm.... which samba-3.0.9 RPM did you download. I used the one for FC3
> called samba-3.0.9-1.src.rpm
>
> For RHL9 the src package is here;
> http://us1.samba.org/samba/ftp/Bina...s/RedHat/SRPMS/
>
> Install it; rpm -Uvh samba*.rpm
>
> Built the five (the unused debug package is the fifth) binary RPM's as
> root in the /usr/src/redhat/SPECS location;
>
> rpmbuild -bb samba.spec
>
> Then installed the four packages after removing the debug RPM from
> /usr/src/redhat/RPMS/i386 (as root of course);
>
> rpm -Fvh samba*.rpm
>
>
>
>
> This does not matter, just a different configuration for those two
> services.
>
>
>
>
> Try using one of the other browsers like KDE's Konqueror or Gnome's
> Galeon;
>
> http://www.redhat.com/docs/manuals/...ers-galeon.html
>
> Additional help can be found here;
>
> http://www.redhat.com/docs/manuals/...e/ch-samba.html
>
>
Got 3.0.9 from
<http://us1.samba.org/samba/ftp/Bina.../RPMS/i386/9.0/>. Got 2.2.7b
from <ftp://updates.redhat.com/9/en/os/i386/>.
I'll give the other browsers a try.
My hosts file looks like (from memory):
# remarks about not removing line
# following these remarks
127.0.0.1 localhost.localdomain localhost
192.168.0.1 astropc2004.maxwellsky
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"There's no such thing as a stupid question,
but they're the easiest to answer!" -- anon.
Web Page: <home.earthlink.net/~mtnviews>
| |
| W. Watson 2004-12-16, 6:22 pm |
| W. Watson wrote:
> Lenard wrote:
>
.... snip[vbcol=seagreen]
> Got 3.0.9 from
> <http://us1.samba.org/samba/ftp/Bina.../RPMS/i386/9.0/>.
> Got 2.2.7b from <ftp://updates.redhat.com/9/en/os/i386/>.
Make that 2.2.7a.
>
> I'll give the other browsers a try.
>
> My hosts file looks like (from memory):
> # remarks about not removing line
> # following these remarks
> 127.0.0.1 localhost.localdomain localhost
> 192.168.0.1 astropc2004.maxwellsky
>
>
>
--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
(Formerly Homo habilis, erectus, heidelbergensis and now sapiens)
"There's no such thing as a stupid question,
but they're the easiest to answer!" -- anon.
Web Page: <home.earthlink.net/~mtnviews>
| |
|
| W. Watson wrote:
> W. Watson wrote:
>
> ... snip
>
>
> Make that 2.2.7a.
>
>
>
Why don't you use webmin to configure samba. You can download it on
www.webmin.com as .rpm. After installing you type in your browser
127.0.0.1:10000, log in as root, go to 'servers', choose the samba
server and from there it is not difficult to configure it.
|
|
|
|
|