Re: Prob activating Samba

2015-11-23 Thread Ron
On Mon, 23 Nov 2015 14:18:07 -0500
Dan Ritter  wrote:

> > OK Ta; changed the CL to what you gave me:
> > root@ron:/home/ron # chkconfig --add smb 
> > smb: unknown service
> > Just checked in Synaptic, have both Samba, Samba-common and 
> > Samba-common-bin installed.

> That's probably because the name of the service is samba, not smb.
> Try:
> chkconfig --add samba

OK thanks, that worked.

Has let myself be misled by 
http://microdevsys.com/wp/networking-sharing-folders-between-windows-and-linux-using-samba/
 which uses smb as the name...  ;-3(
 
Cheers,
 
Ron.
-- 
To our sweethearts and wives:
 May they never meet.
-- 19th century toast

   -- http://www.olgiati-in-paraguay.org --
 



Re: Prob activating Samba

2015-11-23 Thread Dan Ritter
On Mon, Nov 23, 2015 at 03:16:52PM -0300, Renaud OLGIATI wrote:
> On Mon, 23 Nov 2015 18:11:47 +0200
> Teemu Likonen  wrote:
> 
> > Renaud OLGIATI [2015-11-23 12:59:38-03] wrote:
> > 
> > > root@ron:/home/ron # chkconfig -–add smb 
> >  ^^
> > You have these two different characters there:
> > 
> > - U+002D HYPHEN-MINUS
> > – U+2013 EN DASH
> > 
> > But you should have “--add”, that is, two times U+002D HYPHEN-MINUS.
> 
> OK Ta; changed the CL to what you gave me:
> 
> root@ron:/home/ron # chkconfig --add smb 
> smb: unknown service
> 
> Just checked in Synaptic, have both Samba, Samba-common and Samba-common-bin 
> installed.
> 
> Remain firmly flabbered...
>  

That's probably because the name of the service is samba, not
smb.

Try:

chkconfig --add samba

-dsr-



Re: Prob activating Samba

2015-11-23 Thread Ron
On Mon, 23 Nov 2015 18:11:47 +0200
Teemu Likonen  wrote:

> Renaud OLGIATI [2015-11-23 12:59:38-03] wrote:
> 
> > root@ron:/home/ron # chkconfig -–add smb 
>  ^^
> You have these two different characters there:
> 
> - U+002D HYPHEN-MINUS
> – U+2013 EN DASH
> 
> But you should have “--add”, that is, two times U+002D HYPHEN-MINUS.

OK Ta; changed the CL to what you gave me:

root@ron:/home/ron # chkconfig --add smb 
smb: unknown service

Just checked in Synaptic, have both Samba, Samba-common and Samba-common-bin 
installed.

Remain firmly flabbered...
 
Cheers,
 
Ron.
-- 
   To the optimist, the glass is half full.
  To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.

   -- http://www.olgiati-in-paraguay.org --
 



Re: Prob activating Samba

2015-11-23 Thread Martin Smith

On 23/11/2015 19:40, Renaud (Ron) OLGIATI wrote:

On Mon, 23 Nov 2015 14:18:07 -0500
Dan Ritter  wrote:


OK Ta; changed the CL to what you gave me:
root@ron:/home/ron # chkconfig --add smb
smb: unknown service
Just checked in Synaptic, have both Samba, Samba-common and Samba-common-bin 
installed.

That's probably because the name of the service is samba, not smb.
Try:
chkconfig --add samba

OK thanks, that worked.

Has let myself be misled by 
http://microdevsys.com/wp/networking-sharing-folders-between-windows-and-linux-using-samba/
 which uses smb as the name...  ;-3(


actually on my *BSD samba servers it is smbd amd nmbd
  
Cheers,
  
Ron.




Re: Prob activating Samba

2015-11-23 Thread Ron
On Mon, 23 Nov 2015 16:08:03 +0100
Petter Adsen  wrote:

> On Mon, 23 Nov 2015 11:59:35 -0300
> Renaud (Ron) OLGIATI  wrote:
> 
> > Trying to activate Samba with chkconfig, I get:
> > 
> > root@ron:/home/ron # chkconfig –add smb 5
>  ^
> 
> >chkconfig -a|--add [names]
>   ^^
> 
> Try adding another hyphen.

root@ron:/home/ron # chkconfig -–add smb 
Unknown option: –add


root@ron:/home/ron # chkconfig -–add smb 5
Unknown option: –add
usage:
chkconfig -A|--allservices  (together with -l: show all 
services)
chkconfig -t|--terse [names](shows the links)
chkconfig -e|--edit  [names](configure services)
chkconfig -s|--set   [name state]...(configure services)
chkconfig -l|--list [--deps] [names](shows the links)
chkconfig -c|--check name [state]   (check state)
chkconfig -a|--add   [names](runs insserv)
chkconfig -d|--del   [names](runs insserv -r)
chkconfig -h|--help (print usage)
chkconfig -f|--force ...(call insserv with -f)

My gast is more and more flabbered...
 
Cheers,
 
Ron.
-- 
 Pacifism is a shifty doctrine under which a man accepts the benefits
   of the social group without being willing to pay
-and claims a halo for his dishonesty.
 -- R.A. Heinlein

   -- http://www.olgiati-in-paraguay.org --
 



Re: Prob activating Samba

2015-11-23 Thread Teemu Likonen
Renaud OLGIATI [2015-11-23 12:59:38-03] wrote:

> root@ron:/home/ron # chkconfig -–add smb 
 ^^
You have these two different characters there:

- U+002D HYPHEN-MINUS
– U+2013 EN DASH

But you should have “--add”, that is, two times U+002D HYPHEN-MINUS.


signature.asc
Description: PGP signature


Re: Prob activating Samba

2015-11-23 Thread Petter Adsen
On Mon, 23 Nov 2015 11:59:35 -0300
Renaud (Ron) OLGIATI  wrote:

> Trying to activate Samba with chkconfig, I get:
> 
> root@ron:/home/ron # chkconfig –add smb 5
 ^

>chkconfig -a|--add [names]
  ^^

Try adding another hyphen.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: Prob activating Samba

2015-11-23 Thread Lisi Reisz
On Monday 23 November 2015 16:48:10 Chris Bannister wrote:
> On Mon, Nov 23, 2015 at 06:11:47PM +0200, Teemu Likonen wrote:
> > Renaud OLGIATI [2015-11-23 12:59:38-03] wrote:
> > > root@ron:/home/ron # chkconfig -–add smb
> >
> >  ^^
> > You have these two different characters there:
> >
> > - U+002D HYPHEN-MINUS
> > – U+2013 EN DASH
> >
> > But you should have “--add”, that is, two times U+002D HYPHEN-MINUS.
>
> Is this a joke? 

I'll join in here - I noticed this, but thought it might be my faulty 
eyesight, so said nothing.

No, it is not a joke.

> (I've never encountered this before.) 
> What character is this '-' ?

That looks to me like a hyphen. It is shorter than EM DASH and EN DASH.  

I only have underscore and hyphen on my keyboard and would have to ask or 
google how to type either EM DASH or EN DASH.

> It's the only key on this keyboard.

Try retyping the command.  Perhaps it will work this time.  I believe that 
sometimes (not randomly, but in some circumstances) typing -- (two 
consecutive hyphens) produces an EN DASH, so perhaps you typed --- (three 
consecutive hyphens) by mistake.

Lisi





Re: Prob activating Samba

2015-11-23 Thread Teemu Likonen
Chris Bannister [2015-11-24 05:48:10+13] wrote:

> On Mon, Nov 23, 2015 at 06:11:47PM +0200, Teemu Likonen wrote:
>> Renaud OLGIATI [2015-11-23 12:59:38-03] wrote:
>> 
>> > root@ron:/home/ron # chkconfig -–add smb 
>>  ^^
>> You have these two different characters there:
>> 
>> - U+002D HYPHEN-MINUS
>> – U+2013 EN DASH
>> 
>> But you should have “--add”, that is, two times U+002D HYPHEN-MINUS.
>
> Is this a joke? (I've never encountered this before.)

All I can see is your message. You had those two different characters in
your message.

> What character is this '-' ? It's the only key on this keyboard.

That character is U+002D HYPHEN-MINUS.


signature.asc
Description: PGP signature


Re: Prob activating Samba

2015-11-23 Thread Chris Bannister
On Mon, Nov 23, 2015 at 06:11:47PM +0200, Teemu Likonen wrote:
> Renaud OLGIATI [2015-11-23 12:59:38-03] wrote:
> 
> > root@ron:/home/ron # chkconfig -–add smb 
>  ^^
> You have these two different characters there:
> 
> - U+002D HYPHEN-MINUS
> – U+2013 EN DASH
> 
> But you should have “--add”, that is, two times U+002D HYPHEN-MINUS.

Is this a joke? (I've never encountered this before.)
What character is this '-' ?
It's the only key on this keyboard.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X



Re: Prob activating Samba

2015-11-23 Thread Ron
PS Running Wheezy / XFCE, no systemd.
 
Cheers,
 
Ron.
-- 
 Pacifism is a shifty doctrine under which a man accepts the benefits
   of the social group without being willing to pay
-and claims a halo for his dishonesty.
 -- R.A. Heinlein

   -- http://www.olgiati-in-paraguay.org --
 



Re: Prob activating Samba

2015-11-23 Thread Gene Heskett
On Monday 23 November 2015 13:16:52 Renaud  OLGIATI wrote:

> On Mon, 23 Nov 2015 18:11:47 +0200
>
> Teemu Likonen  wrote:
> > Renaud OLGIATI [2015-11-23 12:59:38-03] wrote:
> > > root@ron:/home/ron # chkconfig -–add smb
> >
> >  ^^
> > You have these two different characters there:
> >
> > - U+002D HYPHEN-MINUS
> > – U+2013 EN DASH
> >
> > But you should have “--add”, that is, two times U+002D HYPHEN-MINUS.
>
> OK Ta; changed the CL to what you gave me:
>
> root@ron:/home/ron # chkconfig --add smb
You forgot the runlevel
# chkconfig --add smb 3,4,5

> smb: unknown service
>
And I believe, if you check to see whats in /etc/init.d, you'll find a 
different name for the service, possibly cifs, which stands for Common 
Internet File System according to The folks in Redmond WA who dreamed up 
this thing.

I personally am haveing MUCH better luck using sshfs, however all 5 
machines on my local network are running linux.  I put a bounty on 
wipeing windows from anything I own in about 1997.  No regrets yet.

YMMV of course.

> Just checked in Synaptic, have both Samba, Samba-common and
> Samba-common-bin installed.
>
> Remain firmly flabbered...

Take a look in /etc/init.d, reading those scripts can be very 
educational.

> Cheers,
>
> Ron.


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Prob activating Samba

2015-11-23 Thread Ron
On Mon, 23 Nov 2015 15:58:47 -0500
Gene Heskett  wrote:

>  I put a bounty on 
> wipeing windows from anything I own in about 1997.  No regrets yet.

SWMBO has some hardware that only speaks Windows, alas...
 
Cheers,
 
Ron.
-- 
  There never was a good war or a bad peace.
  -- B. Franklin

   -- http://www.olgiati-in-paraguay.org --