Choose style:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rajeev2631007

Pages: 1 2 [3] 4 5 ... 16
31
Hi,

Given below syntax able to mount automatically share using FSTAB in PM8 .


Code: [Select]
//IPAddress/ShareFolder/  /media/ZDrive  cifs  username=user,password=passwd,_netdev,iocharset=utf8  0 0



Earlier in PM6 and PM7 it is working fine with below syntax. But In PM8 it is stop mounting automatically using FSTAB.

Code: [Select]
//IPAddress/Sharefolder /mnt/windowsshare1 cifs credentials=/home/administrator/fstab/smbcredentials,iocharset=utf8,_netdev,auto,dir_mode=0777,file_mode=0777 0 0

I'm not able to find out actual reason. May be auto/dir _mode/file _mode are not compatible with PM8 ( 17.04). I'm not sure about it.

Regards,

Rajeev Gautam

32
Hi,

It is not mounting through FSTAB using wireless and Ethernet both. It is not giving any shutdown issue or any other issue when I mount through terminal using mount command manually.

I had also tried to made mount command bash script with different sleep timing and map to run during startup but it was not worked for me.

At last moved back to PM6 which the version it was running earlier and it is working fine.

In my network PM6 is working excellently well, I can't upgrade to PM8 until it will start mounting automatically using FSTAB OR other ways if any?

Thanks for your help.

Regards,

Rajeev Gautam



33
Sorry for late reply.

Code: [Select]
sudo mount -a

If I run this command in terminal it mount my share without issue. But it is not mount through fstab.

Regards,

Rajeev Gautam

34
Hi,
 
I was accessing  SMB share on windows server 2012 using fstab in PM6 and PM7 and it was working fine on these but it is not mounting automatically on PM8. If we are run
Code: [Select]
sudo mount -a 
then it mount SMB share and after restart it stop mounting automatically.

System Detail

Code: [Select]
administrator@Lap023 ~ $ sudo inxi -Fzx
[sudo] password for administrator:
System:    Host: Lap023 Kernel: 4.8.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: N/A Distro: Peppermint Eight
Machine:   System: Acer (portable) product: Gateway series
           Mobo: Acer model: Gateway series
           Bios: American Megatrends v: 1.00 date: 08/29/2014
CPU:       Dual core Intel Pentium A1018 (-MCP-) cache: 1024 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3) bmips: 8381
           clock speeds: max: 2100 MHz 1: 1199 MHz 2: 1199 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.org 1.18.4 drivers: (unloaded: fbdev,vesa)
           tty size: 82x24 Advanced Data: N/A for root
Audio:     Card Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.8.0-53-generic
Network:   Card-1: Realtek RTL8188EE Wireless Network Adapter
           driver: rtl8188ee port: e000 bus-ID: 01:00.0
           IF: wlp1s0 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.1
           IF: enp2s0f1 state: down mac: <filter>
Drives:    HDD Total Size: 500.1GB (3.0% used)
           ID-1: /dev/sda model: ST500LT012 size: 500.1GB temp: 39C
Partition: ID-1: / size: 14G used: 5.9G (45%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 438G used: 953M (1%) fs: ext4 dev: /dev/sda6
           ID-3: swap-1 size: 8.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 54.0C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 178 Uptime: 2 min Memory: 416.2/3845.1MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (sudo) inxi: 2.2.35

fstab detail

Quote
//172.168.1.3/user /mnt/windowsshare1 cifs credentials=/home/administrator/fstab/smbcredentials,iocharset=utf8,_netdev,auto,dir_mode=0777,file_mode=0777 0 0

I request you please advice in the matter.

Regards,

Rajeev Gautam

35
Hi,

I'm using hikvision camera and DVR and this company don't have any client view software for Linux. Can you please suggest any client software which work fine with PM6.

Regards,

Rajeev Gautam
.

36
Thank you VinDSL . :)

Yes you're absolutely right I start loving it and gnzh  themes is really good choice.   8)

But I'm facing issues with bash scripts with read -p command. it start giving below error.


error: read:1: -p: no coprocess.


you ever face such issues with bash or zsh shell. There is any way out or best practices to avoid such issues.


Regards,

Rajeev Gautam


37
Thank you VinDSL

I never tried ZSH. After read your post I research and installed ZSH Shell.

Installation Step I followed

Code: [Select]
sudo apt-get update
sudo apt-get install zsh
sudo apt-get install git-core
#lets change default shell
chsh -s /bin/zsh

setup ohmyzsh

Code: [Select]
 sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

In order to enable a theme, set  ZSH_THEME  to the name of the theme in your  ~/.zshrc , before sourcing Oh My Zsh; for example:  ZSH_THEME=robbyrussell
 If you do not want any theme enabled, just set  ZSH_THEME  to blank:  ZSH_THEME=""

Source of above details

https://www.computersnyou.com/3145/setup-zsh-oh-zsh-linux-mint-quick-guide/
https://www.thinkingmedia.ca/2014/10/how-to-install-oh-my-zsh-on-ubuntu-14/
https://github.com/robbyrussell/oh-my-zsh/wiki/Themes

Thank you VinDSL for your idea and advice.

Regards,

Rajeev Gautam


38
You need to edit  /etc/inputrc  file.


Code: [Select]
sudo pluma /etc/inputrc

Append text as follows:

Bash  tab-completion case insensitive

Code: [Select]
set completion-ignore-case on

Bash autocomplete like zsh

Code: [Select]
set show-all-if-ambiguous on
TAB:menu-complete

This doesn't make bash work exactly as zsh tho. Zsh will complete up until the next ambiguous match. Bash will just cycle through all matches.

Source of above details

https://www.cyberciti.biz/faq/bash-shell-setup-filename-tab-completion-case-insensitive/
http://superuser.com/questions/288714/bash-autocomplete-like-zsh

I think this two options should be by default enable in peppermint distro. It will make peppermint terminal more feature rich by default.

Regards,

Rajeev Gautam
 

39
Hi PCNetSpecs and GNULINUX  thanks for your help and guidance.  I'll see how it will work for me.

Regards,

Rajeev Gautam

40
Hi,

I request you please share safe and recommended PPA links for given below themes if possible.

1.MediterraneanNight
2.MediterraneanWhite
3.Arc-Dark
4.Arc-Darker
5.Moka
6.Paper

Regards,

Rajeev Gautam

41
I want to know how to install PM7 Themes/Icon/Wallpaper on PM6.I request you please share details.

Regards,

Rajeev Gautam

42
Recently I faced issues and struggled with Canon-IR3030 Multiple Functional Machine with Peppermint 6. I came to know Canon Provide Canon UFR-II version 3.2 Printer driver.

UFR II/UFR II LT Printer Driver for Linux V3.20

http://www.vifla.com/nw3s/CanonUSA/DownloadContents/English/0100344001EN.htm

http://support-au.canon.com.au/contents/AU/EN/0100270808.html


Installing a Printer Driver for Canon UFR II printers.

https://wiki.debian.org/PrinterDriver/Canon/UFR-II#Printers_Supporting_Canon_UFR_II.2FUFR_II_LT


I hope It will be useful for other members of the forum. Who may face issue with canon printers?

Regards,

Rajeev Gautam

43
Networking / Re: Cifs mount using fstab is not working in PM7
« on: September 16, 2016, 12:29:13 am »
Hi PCNetSpec Thanks your information and sharing.

I'll try what you suggest and let you know the feedback.

If I'm not wrong _netdev was working fine in PM6 and it is not working in PM7. In PM7 it is trying to mount remorte filesystem before local Network is up and connected. And putting delay using above script allow network connection to up and running and than mount network share. Please correct me if my understanding is wrong.

I had tryed to put sleep and mount command in /etc/rc.local and it's work for me.

Code: [Select]
administrator@Lap020 ~ $ sudo pluma /etc/rc.local
[sudo] password for administrator:

rc.local

Code: [Select]
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
sleep 20
sudo mount -a

exit 0

There is any differance in way you suggested and the above way.

Regards,

Rajeev Gautam

44
Networking / Re: Cifs mount using fstab is not working in PM7
« on: September 15, 2016, 01:50:12 am »
Hi,

Inxi -Fz Result

Code: [Select]
System:    Host: Lap020 Kernel: 4.4.0-24-generic i686 (32 bit) Desktop: N/A Distro: Peppermint Seven
Machine:   System: Dell (portable) product: Inspiron 6000
           Mobo: Dell model: 0W9260 Bios: Dell v: A09 date: 09/28/2005
CPU:       Single core Intel Pentium M (-UP-) cache: 2048 KB speed: 1600 MHz (max)
Graphics:  Card: Intel Mobile 915GM/GMS/910GML Express Graphics Controller
           Display Server: X.org 1.18.3 drivers: intel (unloaded: fbdev,vesa)
           tty size: 142x43 Advanced Data: N/A for root
Audio:     Card Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller driver: snd_intel8x0
           Sound: Advanced Linux Sound Architecture v: k4.4.0-24-generic
Network:   Card-1: Broadcom BCM4401-B0 100Base-TX driver: b44
           IF: eth0 state: down mac: <filter>
           Card-2: Intel PRO/Wireless 2200BG [Calexico2] Network Connection driver: ipw2200
           IF: wlp3s3 state: up mac: <filter>
Drives:    HDD Total Size: 71.5GB (47.0% used) ID-1: /dev/sda model: HTS548040M9AT00 size: 40.0GB
           ID-2: USB /dev/sdb model: DataTraveler_2.0 size: 31.5GB
Partition: ID-1: / size: 9.1G used: 3.1G (36%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 1.02GB used: 0.09GB (9%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 54.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 171 Uptime: 12 min Memory: 423.5/736.0MB Client: Shell (sudo) inxi: 2.2.35

If I try given below command in terminal manually it mount windows share and it is not mounting automatically using fstab.

Code: [Select]
administrator@Lap020 ~ $ sudo mount -a
[sudo] password for administrator:
administrator@Lap020 ~ $


Boot Log

Code: [Select]
administrator@Lap020 ~ $ cat /var/log/boot.log 
[     *] A start job is running for LSB: AppArmor initialization (10s / no limit[    **] A start job is running for LSB: AppArmor initialization (10s / no limit[   ***] A start job is running for LSB: AppArmor initialization (10s / no limit[  OK  ] Started LSB: AppArmor initialization.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[  OK  ] Started ACPI Events Check.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
         Starting Console System Startup Logging...
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Reached target Paths.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting System Logging Service...
[  OK  ] Started ACPI event daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Login Service...
[  OK  ] Started Run anacron jobs.
[  OK  ] Started CUPS Scheduler.
         Starting LSB: Record successful boot for GRUB...
[  OK  ] Started Regular background program processing daemon.
         Starting Bluetooth service...
         Starting Restore /etc/resolv.conf if the system crashed before the ppp link was shut down...
         Starting Save/Restore Sound Card State...
         Starting Network Manager...
         Starting Initialize hardware monitoring sensors...
         Starting Accounts Service...
[  OK  ] Started Daily apt activities.
[  OK  ] Reached target Timers.
         Starting Detect the available GPUs and deal with any system changes...
         Starting Modem Manager...
         Starting Raise network interfaces...
[  OK  ] Started System Logging Service.
[  OK  ] Started Console System Startup Logging.
[  OK  ] Started Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started Initialize hardware monitoring sensors.
[  OK  ] Started Bluetooth service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Login Service.
[  OK  ] Started Make remote CUPS printers available locally.
[  OK  ] Reached target Bluetooth.
         Starting Hostname Service...
[  OK  ] Started Detect the available GPUs and deal with any system changes.
[  OK  ] Started Hostname Service.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started Accounts Service.
[  OK  ] Started Modem Manager.
[  OK  ] Started Network Manager.
         Starting Network Manager Wait Online...
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started LSB: Record successful boot for GRUB.
         Starting WPA supplicant...
[  OK  ] Stopped LSB: Start NTP daemon.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
         Starting LSB: Start NTP daemon...
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
         Mounting /mnt/windowsshare1...
[  OK  ] Started /etc/rc.local Compatibility.
[FAILED] Failed to mount /mnt/windowsshare1.
See 'systemctl status mnt-windowsshare1.mount' for details.
[DEPEND] Dependency failed for Remote File Systems.
         Starting LSB: disk temperature monitoring daemon...
         Starting LSB: start Samba NetBIOS nameserver (nmbd)...
         Starting LSB: daemon to balance interrupts for SMP systems...
         Starting Permit User Sessions...
         Starting LSB: start Samba daemons for the AD DC...
         Starting mintsystem.service...
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
[  OK  ] Started Permit User Sessions.
         Starting Light Display Manager...
         Starting Hold until boot process finishes up...
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: daemon to balance interrupts for SMP systems.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
administrator@Lap020 ~ $

Dmesg Log


Code: [Select]
administrator@Lap020 /var/log $ sudo dmesg |grep 'CIFS VFS'
[   37.339167] CIFS VFS: Error connecting to socket. Aborting operation.
[   37.339248] CIFS VFS: cifs_mount failed w/return code = -101
administrator@Lap020 /var/log $

Regards,

Rajeev Gautam

45
Networking / Cifs mount using fstab is not working in PM7-(SOLVED)
« on: September 14, 2016, 06:03:10 am »
Hi,

I'm able to mount windows share using Fstab in PM6. It is working fine. But same thing is not working in PM7.

FSTAB
Code: [Select]
//172.168.1.3/user /mnt/windowsshare1 cifs credentials=/home/administrator/fstab/smbcredentials,iocharset=utf8,_netdev,auto,dir_mode=0777,file_mode=0777 0 0 

I try to googled and found there are lot people facing same kind to issues with 16.04 and looking for solution.

Regards,

Rajeev Gautam



Pages: 1 2 [3] 4 5 ... 16