Jump to content

Photo

The dreaded samba configuration


Best Answer michmanbiker, 01 September 2017 - 11:13 PM

I managed to ping and log to windows machine!!!! I have to put smb://and the ip. FM and Nautilus will not populate the network on their own

Go to the full post


  • Please log in to reply
17 replies to this topic

#1 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 20 August 2017 - 08:30 PM

Greetings,

 

I usually do a good job at setting samba or it comes already setup. Have not managed to make it happen on Bodhi. Any standard samba.conf file I can use?

 

Also I tried to add "Personal File Sharing" at the startup, but it gave me an error message.

 

Thanks,

 

Michel





A big thank you to everyone who contributes to Bodhi Linux


#2 The waiter

The waiter

    Module Master

  • Developer
  • 1616 posts
  • LocationBanska Bystrica, Slovakia

Posted 20 August 2017 - 09:07 PM

I believe there are several methods how to do that. This is my way:

 

sudo apt-get install system-config-samba

 

and then add your folder via GUI

 

e-5999f8c80fe4b8.79060318.jpg



#3 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 20 August 2017 - 10:21 PM

webmin is not available and Garmin can screw things up. What do you use?

 

 

Edit: The application I just installed  :unsure:  :unsure:  :unsure:

 

What is "Personal File Sharing" I added it to the startup but it would not work.



#4 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 20 August 2017 - 10:28 PM

Samba server will not start  :o



#5 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 22 August 2017 - 01:29 AM

It works after entering this command: sudo touch /etc/libuser.conf



#6 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 22 August 2017 - 01:47 AM

Any help would be appreciated 



#7 sef

sef

    Bodhi Builder Wizard

  • Developer
  • 320 posts
  • LocationATL

Posted 22 August 2017 - 12:32 PM

Have you tried following any samba tutorials online, such as this one?

https://help.ubuntu....fileserver.html

 

Maybe a dumb question, but have you done this?

sudo service smbd restart
sudo service nmbd restart

And also configured your config file /etc/samba/smb.conf as per the instructions in the link above?


Forum Rules (link)

---------------------------------------------------

Nothing is as simple as it seems at first, or as hopeless as it seems in the middle,

or as finished as it seems in the end.

---------------------------------------------------

"That's not how the force works..."


#8 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 24 August 2017 - 02:50 AM

Did all that, installed webmin but I cannot see any shared files under network and I get this results when I query samba:

 

michel@michel-Satellite-U400:~$ sudo smbstatus                                  [sudo] password for michel:
 
Samba version 4.3.11-Ubuntu
PID     Username      Group         Machine            Protocol Version
------------------------------------------------------------------------------
 
Service      pid     machine       Connected at
-------------------------------------------------------
 
No locked files


#9 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 24 August 2017 - 03:21 AM

Webmin tells me :"he Xinetd configuration file /etc/xinetd.conf does not exist. Maybe it is not installed, or your module configuration is incorrect."



#10 sef

sef

    Bodhi Builder Wizard

  • Developer
  • 320 posts
  • LocationATL

Posted 24 August 2017 - 03:08 PM

What do you get from this --

sudo service --status-all
sudo /etc/init.d/xinetd status

Forum Rules (link)

---------------------------------------------------

Nothing is as simple as it seems at first, or as hopeless as it seems in the middle,

or as finished as it seems in the end.

---------------------------------------------------

"That's not how the force works..."


#11 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 24 August 2017 - 05:41 PM

Webmin tells me :"he Xinetd configuration file /etc/xinetd.conf does not exist. Maybe it is not installed, or your module configuration is incorrect."

Installed it and no change



#12 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 24 August 2017 - 05:41 PM

michel@michel-Satellite-U400:~$ sudo service --status-all
[sudo] password for michel:
 [ - ]  alsa-utils
 [ + ]  apparmor
 [ + ]  avahi-daemon
 [ + ]  bind9
 [ + ]  binfmt-support
 [ + ]  bluetooth
 [ - ]  bootmisc.sh
 [ - ]  checkfs.sh
 [ - ]  checkroot-bootclean.sh
 [ - ]  checkroot.sh
 [ + ]  console-setup
 [ + ]  cron
 [ - ]  cryptdisks
 [ - ]  cryptdisks-early
 [ - ]  ctdb
 [ - ]  cups
 [ + ]  cups-browsed
 [ + ]  dbus
 [ + ]  grub-common
 [ + ]  hddtemp
 [ - ]  hostname.sh
 [ - ]  hwclock.sh
 [ + ]  irqbalance
 [ - ]  keyboard-setup.dpkg-bak
 [ - ]  killprocs
 [ + ]  kmod
 [ + ]  lightdm
 [ + ]  lm-sensors
 [ - ]  lvm2
 [ + ]  lvm2-lvmetad
 [ + ]  lvm2-lvmpolld
 [ - ]  mountall-bootclean.sh
 [ - ]  mountall.sh
 [ - ]  mountdevsubfs.sh
 [ - ]  mountkernfs.sh
 [ - ]  mountnfs-bootclean.sh
 [ - ]  mountnfs.sh
 [ + ]  network-manager
 [ + ]  networking
 [ + ]  nmbd
 [ + ]  ntp
 [ + ]  ondemand
 [ - ]  plymouth
 [ - ]  plymouth-log
 [ - ]  pppd-dns
 [ + ]  procps
 [ + ]  rc.local
 [ + ]  resolvconf
 [ - ]  rsync
 [ + ]  rsyslog
 [ + ]  samba
 [ + ]  samba-ad-dc
 [ - ]  saned
 [ - ]  sendsigs
 [ + ]  smbd
 [ + ]  udev
 [ + ]  ufw
 [ - ]  umountfs
 [ - ]  umountnfs.sh
 [ - ]  umountroot
 [ + ]  unattended-upgrades
 [ + ]  urandom
 [ - ]  uuidd
 [ + ]  virtualbox-guest-utils
 [ + ]  webmin
 [ + ]  winbind
 [ - ]  x11-common
 [ + ]  xinetd


#13 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 24 August 2017 - 05:42 PM

michel@michel-Satellite-U400:~$ sudo /etc/init.d/xinetd status
● xinetd.service - LSB: Starts or stops the xinetd daemon.
   Loaded: loaded (/etc/init.d/xinetd; bad; vendor preset: enabled)
   Active: active (running) since Wed 2017-08-23 23:18:20 EDT; 14h ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/xinetd.service
           └─7037 /usr/sbin/xinetd -pidfile /run/xinetd.pid -stayalive -inetd...
 
Aug 23 23:18:20 michel-Satellite-U400 xinetd[7037]: removing daytime
Aug 23 23:18:20 michel-Satellite-U400 xinetd[7037]: removing daytime
Aug 23 23:18:20 michel-Satellite-U400 xinetd[7037]: removing discard
Aug 23 23:18:20 michel-Satellite-U400 xinetd[7037]: removing discard
Aug 23 23:18:20 michel-Satellite-U400 xinetd[7037]: removing echo
Aug 23 23:18:20 michel-Satellite-U400 xinetd[7037]: removing echo
Aug 23 23:18:20 michel-Satellite-U400 xinetd[7037]: removing time
Aug 23 23:18:20 michel-Satellite-U400 xinetd[7037]: removing time
Aug 23 23:18:20 michel-Satellite-U400 xinetd[7037]: xinetd Version 2.3.15 sta...
Aug 23 23:18:20 michel-Satellite-U400 xinetd[7037]: Started working: 0 availa...
Hint: Some lines were ellipsized, use -l to show in full.


#14 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 01 September 2017 - 02:15 AM

Bump. I am still not able to see other PCs!!!



#15 Charles@Bodhi

Charles@Bodhi

    Old Faithful

  • Moderators
  • 4560 posts
  • LocationZeist, The Netherlands

Posted 01 September 2017 - 08:49 PM

sudo apt-get install gvfs-bin gvfs-backends

I think these are needed by PCManFM to function correctly.

 

Enjoy,

Charles

 

PS. Probably needs a reboot to have it working



#16 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 01 September 2017 - 10:11 PM

Already installed charles. Installed Nautilus and no access to the other PCs, nothing on webmin either. This is driving me crazy!



#17 sef

sef

    Bodhi Builder Wizard

  • Developer
  • 320 posts
  • LocationATL

Posted 01 September 2017 - 10:46 PM

Looks to me like the necessary services are running. Is your samba config file set up correctly?

Forum Rules (link)

---------------------------------------------------

Nothing is as simple as it seems at first, or as hopeless as it seems in the middle,

or as finished as it seems in the end.

---------------------------------------------------

"That's not how the force works..."


#18 michmanbiker

michmanbiker

    Member

  • Members
  • 126 posts
  • LocationMontreal, Quebec, Canada

Posted 01 September 2017 - 11:13 PM   Best Answer

I managed to ping and log to windows machine!!!! I have to put smb://and the ip. FM and Nautilus will not populate the network on their own






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users