LinuxAnswers - the LQ Linux tutorial section.
Go Back > Blogs
User Name



cifs not able to mount by hostname only by ip (solved)

Posted 08-15-2012 at 04:50 AM by ted_chou12

Hi! I recently found when I mount by hostname using cifs, it cannot resolve the hostname, but only IP, like the following:
root:# mount -t cifs "//NAS/main" "/mnt/share/NAS"
mount error: could not resolve address for NAS: Unknown error
root:# mount -t cifs "//" "/mnt/share/NAS"
Password for vl70@//
I did a search and found this post:
Posted in Uncategorized
Views 7193 Comments 3 ted_chou12 is offline

Improve nano and make it work with shortcuts used in windows

Posted 08-14-2012 at 04:15 PM by deskt0plinux
Updated 08-14-2012 at 04:19 PM by deskt0plinux (added note about keybinding working only for 2.x)

I use these lines in a file .nanorc in my home directory - eg:
set autoindent
set boldtext
set brackets ""')>]}"
set const
set historylog
set matchbrackets "(<[{)>]}"
set mouse
set multibuffer
set regexp
set smarthome
set smooth
set suspend
set tabsize 4
set wordbounds
set softwrap

bind ^S writeout main
Posted in Uncategorized
Views 707 Comments 0 deskt0plinux is offline

Let me post something unrelated...Cause Im MAD

Posted 08-13-2012 at 02:53 PM by ted_chou12

Fuck Ebay!

I sold an item on Ebay two months ago, the buyer didn't liked it, and ebay authorized a refund without my permission. But there is a $7.20 charge on my credit card for the item sold fee. Now ebay ask money from me.

Two weeks ago, I decided to trust Ebay and decided to issue a reimbursement of $100 dollars in TOTAL. The ebay agent told me I could get my $7.20 back thru some kind of transaction procedure but NOT directly. I trusted him cause he promised me....
Posted in Uncategorized
Views 6895 Comments 3 ted_chou12 is offline

Writing a thread and finding the answer before actually posting it.

Posted 08-13-2012 at 06:16 AM by zhjim

I was about to start a thread about a problem I had with a "account" inside cyrus imap software. But like it sometimes is when you tell some your problem the solution just becomes obvious. This is one of those days. Just for anyone actually reading this heres the story.

This is the post I had written.

Hi folks,

I am trying to delete a user within cyradm to now availe. I know that I have to give me the appropriate right as the admin user of
Senior Member
Posted in Uncategorized
Views 462 Comments 0 zhjim is offline

transmission rc.local

Posted 08-12-2012 at 02:41 PM by ted_chou12

Attempted to start transmission at bootup, and added transmission-daemon to /etc/rc.local, but since there are no initiailization users and config files, (root has not logged in yet), the transmission-daemon does not load the configurations, and transmission does not start properly. I did a search and found this file:
#! /bin/sh
# Provides:          transmission-daemon
# Required-Start:    networking
# Required-Stop:     networking
Posted in Uncategorized
Views 5123 Comments 2 ted_chou12 is offline


All times are GMT -5. The time now is 07:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration