2022년 5월 5일 목요일

Xubuntu: Installing a Printer (Canon G3060 PIXMA)

$ sudo apt install system-config-printer

Download the proper driver for linux from Canon website.

Turn on the printer and set up its WiFi.

Connect the PC to the same network (the same WiFi router)

Run 'Settings' - 'Printers' - 'Add' - 'Network Printers'

Select 'Canon G3060' and install the driver.

How to back up / save your xfce4 themes and settings

cp -r ~/.config/xfce4 BACKUP_PATH


To back up other applications' settings including xfce4

cp -r ~/.config/ BACKUP_PATH

2022년 3월 18일 금요일

Ubuntu - Gnome - How to Save/Backup Gnome Settings/Preferences

https://askubuntu.com/questions/1056386/how-do-i-backup-all-gnome-tweaks-configuration

 

 From the terminal, execute the following to save your gnome settings:

  1. cd ~
    dconf dump / > saved_settings.dconf
    

    Keep the saved_settings.dconf file in a safe place so you can use it after you upgrade.

  2. From the terminal, execute the following to restore your gnome settings:

    cd ~
    dconf load / < saved_settings.dconf
    

(I suggest doing a test to make sure this works for you: Save the settings as shown above in step 1. Then make a few test changes using Gnome Tweaks. Finally restore the settings, as shown above in step 2. If everything restores to the way you had it before, you can use the saved file to restore settings after you upgrade.)

Note: There may be some settings that have changed between Ubuntu versions, and you will need to fix those manually. However, per vanadium's comment below, most settings will transfer over just fine.

edited Jul 16, 2018 at 3:01
answered Jul 15, 2018 at 19:45
Enterprise 10.5k10 gold badges49 silver badges

2019년 11월 21일 목요일

MX Linux(Debian 계열)에서 Spotify로 음악 듣기

Listening to Music with Spotify in MX Linux 

(if you're traveling a spotify-unsupported country)

우리나라에서는 아직(?) Spotify가 서비스 되지 않고 막혀 있기 때문에, Spotify가 사용자의 컴퓨터가 한국에 있다는 걸 알지 못하도록 VPN을 사용해야 한다.
또한 검색결과 최근(2019년 11월) 리눅스에서 가장 핫한 VPN은 Windscribe라고 한다.

Windscribe에 가입하여 아이디와 비번을 받는다. 이메일 인증을 완료해야 월 10GB가 무료다. 이메일 인증을 안 하면 월 2GB.
(링크: https://kor.windscribe.com/)

VPN을 사용하기 위한 패키지를 설치한다.
(참조링크: https://kor.windscribe.com/guides/manual_ubuntu)

sudo apt-get install network-manager-vpnc 
sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome 
sudo /etc/init.d/networking restart 

이제 Windscribe VPN 클라이언트를 설치한다.(참조링크: https://kor.windscribe.com/guides/linux)

sudo apt-get install dirmngr apt-transport-https
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key FDC247B7

sudo sh -c "echo 'deb https://repo.windscribe.com/debian buster main' > /etc/apt/sources.list.d/windscribe-repo.list"
sudo apt-get update
sudo apt-get install windscribe-cli
windscribe login
windscribe connect


그럼 VPN 연결은 홍콩에 있는 서버로 연결이 된다.

그리고 Spotify를 설치할 차례,
(참조링크: https://www.spotify.com/int/download/linux/)

curl -sS https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update && sudo apt-get install spotify-client

GUI에서 Spotify를 실행하고, 계정을 만든다.

VPN을 통한 스트리밍 속도가 느려서 그런지 음악 재생이 잘 안 되기 때문에, 이후 Spotify에 로그인 할 때만 VPN에 연결하고

sudo windscribe disconnect

연결을 종료한 후에 재생을 하면 끊김없이 들을 수 있다.


2019년 10월 18일 금요일

Post-navigation links for the same category in Wordpress (게시글의 이전/다음 링크가 같은 카테고리로만 보이게 하기, 워드프레스)

In single.php, after content code

get_template_part( 'template-parts/post/content', get_post_format() ); //  content code

there is the code for post navigation (means links to move between this and that posts)

the_post_navigation(
  array(
    'prev_text' => '...' . '...',
    'next_text' => '...' . '...',
  )
);

it shows two links for the previous post and next one of the current post at the bottom of the screen,
however, the problem is when you click/tab the links again and gain, you find the links include any posts from all different categories, just in order of their written date and time.

Here is the way to move among only one category, even though you keep clicking/tabbing the prev/next links.

the_post_navigation(
  array(
    'prev_text' => '...' . '...',
    'next_text' => '...' . '...',
    'in_same_term' => true,
    'taxonomy' => 'category',
  )
);

Yup, adding that two lines are all.
Happy wordpressing!

2019년 7월 31일 수요일

Chrome: How to prevent Chrome open pdf / Open pdf with your pdf viewer in Chrome downloads list

Chrome ver. 79.x.xxx

  • chrome:settings
  • Search 'pdf' in the box
  • Click 'Site Settings'
  • Click 'PDF documents' near the bottom
  • Enable 'Download PDF files instead of automatically opening them in Chrome'


No option of 'Click to open embedded PDFs' in the current version (79.0.3945.130)

Google Chrome

How to prevent Chrome open pdf / Opening pdf with your pdf viewer in Chrome downloads list

  1. Type 'about:flags' in the address bar
  2. Type 'pdf' in Search flags box
  3. Find 'Click to open embedded PDFs' (it's at the top with ver. 75.0.3770.142.)
  4. Change 'Default' menu to 'Disabled'
  5. Click 'Relaunch' button (caution: you might lose all open sites/tabs unless it's set up as 'Continue where you left off' in 'On startup' category of Settings.)

Hooray!


구글 크롬

크롬에서 pdf 파일 열리는 걸 방지하는 방법 / 크롬 다운로드 리스트에서 pdf 클릭해도 내 기본 pdf 뷰어에서 열리도록 하기

  1. 주소창에 'about:flags' 입력
  2. Flag 검색창에 'pdf' 입력
  3. 'Click to open embedded PDFs' 항목 찾기 (ver. 75.0.3770.142에서 맨 위로 검색됨)
  4. '기본값'을 '비활성'으로 바꿈
  5. '재실행' 버튼 눌러서 크롬 재시작 (경고: 열려있는 모든 탭/사이트를 잃을 수도 있음, 설정에서 '지난 번 탭 유지'가 되어 있지 않으면.)

어예!

2019년 7월 9일 화요일

Customizing Windows 7 for a Happier Life

For more PRODUCTIVE MS Windows

MS Windows 7 is a weak OS and I've never thought it's user-friendly because a user should touch many miscellaneous parts to make it usable or productive.

This article is about some tips including how to bring my apps or windows back onto the screen automatically after restart of Windows 7 for higher productivity.

Open 'My Computer', not Libraries when Windows Explorer clicked

  1. Right click on the icon of Taskbar
  2. Right click again on the small Windows Explorer icon
  3. Properties
  4. Type at the end of the Target textbox content, ' shell:MyComputerFolder', without the small quotation marks, including the space at the beginning.

 

Bring opened Windows Explorer windows back after restart

  1. Go to Folder Options (via Control Panel, for instance)
  2. View tab at top
  3. Scroll down in 'Advanced settings:' area
  4. Check 'Restore previous folder windows at logon
  5. Don't close any Windows Explorers when shutdown/restart

 

Bring your always-used apps back after restart

  1. Click Start button
  2. Type 'shell:startup'
  3. Drag & drop (making shortcuts) any program you want from Start Menu or from the application's folder (for example, C:\Program Files\Sublime Text 3)
  4. If possible, make the app's settings as it opens/recover all opened files/tabs (for example, set up your Chrome/Firefox to open all tabs back when it starts)

 

Typing Tips after Start button

  1. shell:appdata to open hidden Appdata folder
  2. shell:startup to open Startup Programs folder
  3. shell:programfiles to open C:/Program Files folder
  4. appwiz.cpl to open Programs and Features dialogue



2019년 7월 3일 수요일

Grunt (sass, jshint, concat, uglify, watch)

Gruntfile.js

module.exports = function( grunt ) {
var dir_theme = 'wp-content/themes/2017-child/',
dir_js =    'wp-content/themes/2017-child/assets/js/';

grunt.initConfig({
pkg: grunt.file.readJSON( 'package.json' ),
concat: {
// options: {
// separator: ';'
// },
dist: {
src: [dir_js + 'src/**/*.js',
'!' + dir_js + 'src/*-long.js',
'!' + dir_js + 'src/concatenated.js'],
dest: dir_js + 'src/concatenated.js'
}
},
uglify: {
options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */'
},
dist: {
src: // 'style.css': ['style.scss', '<%= concat.dist.dest %>'],
['<%= concat.dist.dest %>'],
dest: 
dir_js + '<%= pkg.name %>.js'
}
},
// qunit: {
// files: ['bl-page-content/**/*.html']
// },
jshint: {
files: [dir_js + 'src/**/*.js',
dir_js + 'global.js',
'!<%= concat.dist.dest %>'],
options: {
// verbose: true,
'-W004': true,
'-W030': true,
esversion: 6,
globals: {
jQuery: true,
console: true,
module: true,
// document: true
}
}
},
sass: {
options: {
sourceMap: true
},
dist: {
src: dir_theme + 'style.scss',
dest: dir_theme + 'style.css'
}
},
watch: {
sass: {
files: dir_theme + 'style.scss',
tasks: ['sass']
},
jshint: {
files: ['<%= jshint.files %>'],
tasks: ['jshint']
}
}
});

grunt.loadNpmTasks( 'grunt-contrib-uglify' );
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
// grunt.loadNpmTasks( 'grunt-contrib-qunit' );
grunt.loadNpmTasks( 'grunt-contrib-watch' );
grunt.loadNpmTasks( 'grunt-contrib-concat' );
grunt.loadNpmTasks( 'grunt-contrib-sass' );

// grunt.registerTask( 'test', ['jshint', 'qunit']);
// grunt.registerTask( 'default', ['sass', 'jshint', 'qunit', 'concat', 'uglify']);
grunt.registerTask( 'js', ['jshint']);
grunt.registerTask( 'default', ['sass', 'jshint', 'concat', 'uglify']);
grunt.registerTask( 'cu', ['concat', 'uglify']);
};


2019년 4월 22일 월요일

Git and Github

$git init

$ssh-keygen

$ssh-add ~/.ssh/id_rsa

$git remote add origin SSH_URL_FROM_GITHUB



Set a ssh config file

$cat > ~/.ssh/config
Host github.com
  Hostname github.com
  AddKeysToAgent yes
  IdentityFile ~/.ssh/id_rsa

(CTRL+D)



Set a basic path

$cat >> ~/.bash_profile
alias la='ls -a'
alias ll='ls -l'
HOME=/d/webhome/

HOMEDRIVE=D:/
HOMEPATH=\webhome

cd
(CTRL+D)

Avoiding ssh passphrase prompt

$cat >> ~/.bash_profile
eval `ssh-agent -s`
ssh-add ~/.ssh/*_rsa
(CTRL+D)


 
Patterned upload

$git checkout -b BRANCH_NAME

(coding)

$git status

$git diff FILENAME

$git add FILENAME

$git commit- m "COMMIT MSG FOR THE FILE"

$git push

(testing)

$git checkout master

$git merge BRANCH_NAME

(if needed)

$git branch -d BRANCH_NAME_TO_DELETE



Check commit id
$git log

Create a temporary branch to check old code
$ git checkout -b <temp_branch_name> <commit_id>

Going back to the current/final version
$ git checkout master

Rename a branch
$ git checkout BRANCH
$ git branch -m NEW_NAME

Cancel 'add'
$ git reset FILENAME

Check difference of an added file
$ git diff --cache FILENAME

2018년 12월 19일 수요일

preg_replace /e to preg_replace_callback

$onAttributes = array('onabort', 'onactivate', 'onafterprint', 'onafterupdate', 'onbeforeactivate', 'onbeforecopy', 'onbeforecut', 'onbeforedeactivate', 'onbeforeeditfocus', 'onbeforepaste', 'onbeforeprint', 'onbeforeunload', 'onbeforeupdate', 'onblur', 'onbounce', 'oncellchange', 'onchange', 'onclick', 'oncontextmenu', 'oncontrolselect', 'oncopy', 'oncut', 'ondataavaible', 'ondatasetchanged', 'ondatasetcomplete', 'ondblclick', 'ondeactivate', 'ondrag', 'ondragdrop', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'onerror', 'onerrorupdate', 'onfilterupdate', 'onfinish', 'onfocus', 'onfocusin', 'onfocusout', 'onhelp', 'onkeydown', 'onkeypress', 'onkeyup', 'onlayoutcomplete', 'onload', 'onlosecapture', 'onmousedown', 'onmouseenter', 'onmouseleave', 'onmousemove', 'onmoveout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onmove', 'onmoveend', 'onmovestart', 'onpaste', 'onpropertychange', 'onreadystatechange', 'onreset', 'onresize', 'onresizeend', 'onresizestart', 'onrowexit', 'onrowsdelete', 'onrowsinserted', 'onscroll', 'onselect', 'onselectionchange', 'onselectstart', 'onstart', 'onstop', 'onsubmit', 'onunload');
/*
 * Bridge Light code 2018-12-19
 * PHP7에서는 preg_replace() 첫번째 인수에서 /e가 폐기 되었으므로 대체 코드 투입: line 45~47 대신 line 48~56
 */
// $str = preg_replace('/<(.*?)>/ie',
// "'<' . preg_replace(array('/javascript:[^\"\']*/i', '/(" . implode('|', $onAttributes) . ")[ \\t\\n]*=/i', '/\s+/'), array('', '', ' '), stripslashes('\\1')) . '>'",
// $str);
$str = preg_replace_callback(
'/<(.*?)>/i',
function($matches) use ($onAttributes) {
return preg_replace(
array('/javascript:[^"\']*/i', '/('.implode('|', $onAttributes) . ')[ \\t\\n]*=/i', '/\s+/'),
array('', '', ' '),
stripslashes($matches[0]));
},
$str);


kimsq ver.1.2.2 (update 20140407)
file: _core/function/lib/getContent.lib.php

LIB_getContents() 함수에서 preg_replace()를 /e 지시자 때문에 preg_replace_callback으로 대체함.

preg_replace & preg_replace_callback, understood!


2018년 7월 23일 월요일

Wordpress tips

Child theme's Javascript file is loaded earlier than parent theme's.

For example, global-child.js is loaded right after jquery-min.js loaded and global.js of the parent theme is located at the bottom of <body> tag in the code.


In child theme, JQuery variables without $ should be declared and defined in the $(document).ready().

Weirdly some variables were found 'undefined' in the debugger, if they are defined before/out of $(document).ready()  just like twenty seventeen theme's global.js.


Firing a code after a jquery animation:

    code it in the callback function of animation().

Firing a code after a CSS transition, for instance, 'transition: 0.6s ease' which is triggered by something like addClass( 'fade-in' ) call:

    $("#selector").one("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd", function(){ ... });

.one() means running the callback only once.

Source: https://stackoverflow.com/questions/9255279/callback-when-css3-transition-finishes


Loading a page/post-specific Javascript:
    function load_scripts() {
    global $post;
    if ( is_page() || is_single() ) {
        switch( $post->post_name ) {
            case 'home':
                wp_enqueue_script( 'home', get_template_directory_uri().'/js/home.js', array( 'jquery' ), '', false);
            case 'about-page':
                wp_enqueue_script( 'about', get_template_directory_uri().'/js/about-page.js', array( 'jquery' ), '', false);
        }
    }
    add_action( 'wp_enqueue_scripts', 'load_scripts' );

Source: https://wordpress.stackexchange.com/questions/67802/most-efficient-way-to-add-javascript-file-to-specific-post-and-or-pages



2018년 7월 8일 일요일

When Excel Prints Gray or Light-gray Colored Text in Black

(ver. MS-Office 2013)

File
Print
Page Setup (<- under the printing options)
Sheet tab
Option button (<- will lead you to Printing Preferences, but don't go there via Control Panel)
Print Quality tab
Advanced button
Print colored texts and borders in black to Disabled (<- this text is not exactly same to this, anyway disable it)

Ok, Ok, Apply, Ok, ... boom!

2018년 2월 20일 화요일

[Google Drive File Stream] I can't connect to other computers? (windows network drive to a shared folder)

Updated Help and Support answer list to a question 'Why I can't connect to other computers?'


    I found out today that MS recently updated one of the Help and Support answers about a local network connection in my Windows 7 and it was like the above. Haha...

    I was using Google Drive for PC by sharing the 'Google Drive' folder within a local network and connecting the folder from other computers via Network Drive feature of Windows. It was working well as a one-more-depth of security for shared files.
    After I installed Google's new 'Drive File Stream' which replaces Google Drive by making another 'My Drive' folder, so I tried to share the folder and it was visible in another computer, but it keeps alerting me the 'permission denied' dialogue. Actually monologue, because there is only one button 'OK' which does nothing for me.
    Probably I should go for Backup & Sync for now instead of migrating straightforwardly to Drive File Stream.


    P.S. I really like Google and their innovative moves in many different fields and I love their free-to-use software package including Gmail, Google Drive, Google Calendar, etc. Sometimes, however, they give an ordinary user like me a hassle despite following what they recommend; but it's usually untold what really will happen next.

2017년 10월 11일 수요일

Fancybox 1.3.4 and youtube iframe, not swf (flash)

Plz refer this, http://it-blog.club/fancybox-iframe/

just translate the page and that's how-to.

<script type="text/javascript">
$(document).ready(function() {
$("#sia").click(function() {
$.fancybox({
'padding' : 0,
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'title' : this.title,
'width' : 720,
'height' : 405,

'href' : this.href,

'type' : 'iframe',
'iframe': {
'scrolling': 'auto',
'preload': true
}
// 'href': this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
// 'type' : 'swf',
// 'swf' : {
// 'wmode' : 'transparent',
// 'allowfullscreen' : 'true'
// }
});
return false;
});
});
</script>


<div class="float_l imgdiv"><a id="sia" class="event iframe" title="" href="https://www.youtube.com/embed/ABCDefgHIJKlmn"><img class="imgbox" alt="" src="/imgdir/image.jpg"><br>Link Text</a></div>




The commented lines are the previous codes that worked well before Youtube stopped supporting ㄻAdobe Flash(SWF) embedding.

The attributes of 'href', 'type', and 'iframe' are modified.

Now it works fine with the new URL format for embedding like https://www.youtube.com/embed/ABCDefgHIJKlmn

Thank you it-blog.club!


Solved: liveadexchanger.com by deleting weird scheduled task in Task Scheduler of Windows 7 (태스크 스케줄러로 삭제, 해결)

Windows 7
Chrome
Malwarebytes

Problem: redirection/popup to www.liveadexchanger.com

Solution: It seems there is no certain solution yet, though, I did the followings:

0. Install Malwarebytes, another anti-malware program, and CCleaner and make them all up-to-date

1. Reboot the PC in Safe Mode with networking available (F8, F8, F8, ... on bootup)

2. scanning the PC with Malwarebytes and another anti-malware program without running both of them simultaneously, one by one

Run CCleaner and do 3 to 8
deleting or uninstalling
3. unwanted programs,
4. unwanted Windows scheduled tasks,
5. unwanted Windows starting programs,
6. unwanted Windows auto-starting services,

cleaning up
7. Windows registry,
8. browsers history, cookie, temporary files, and uncertain extensions or plugins,

Question:
  How do you know which one is the unwanted program?
Answer:
  When you check the list of programs/tasks, if you don't know what one program does for you, then you can delete it. If it's the one you needed and you found that out later, you can download and install the program then.

In my case, when I open and check 'Task Scheduler', there were a folder 'WSD' and a scheduled task inside, but its author was no one; not Microsoft, not Adobe, not Google, and I know it's weird. Another example, one task's author was 'MS' but I know Microsoft never name them like that. I didn't hesitate to delete it. I removed all the tasks first and the folders later. (couldn't delete the folder before deleting all the task and sub-folders inside)

Question:
  How do you know which one is the unwanted Windows service?
Answer:
  Google the list of default Windows services according to your Windows edition, and disable all services by choosing 'Diagnostic startup' in 'msconfig' dialog, and set up each service's property as 'Automatic', 'Manual', 'Disable', or 'Automatic (delayed)' by referring the default service list.
You may encounter a popup of something like 'Starting the service is failed by dependency problem' but just go on top-to-bottom and once more bottom-to-top, then no problem.

Now, I don't meet the Malwarebytes alarm popup any more.





윈7, 크롬 사용 중 liveadexchanger.com로 리디렉션 되는 걸 막았다고 Malwarebytes가 계속 메시지를 띄우는데, 막상 치료는 하지 않았다.
Malwarebytes로 스캔하면 깨끗하다고 나오면서 리디렉션 블락 메시지는 계속 띄운다. Malwarebytes 포럼에도 간단하고 확실한 답변은 없었다.

구글링 결과 해당 맬웨어의 위치가 랜덤인 것 같다. 따라서 확실한 해결방법도 없는 상황. 그치만 매우 자세히 훑어가며 진행한 결과, 블락했다는 알람이 뜨지 않는다.


0. Malwarebytes 설치, MZK (Malware Zero Kit) 다운로드 & 압축 해제, CCleaner 설치

1. 컴퓨터를 네트워킹 가능한 안전모드로 재부팅 (부팅시 F8 연타)

2. Malwarebytes로 검사, MZK로 검사

CCleaner 실행 후 3부터 8까지 진행
삭제나 언인스톨
3. 의심스러운 프로그램,
4. 의심스러운 예약된(스케줄된) 작업,
5. 의심스러운 윈도우 자동 시작 프로그램,
6. 의심스러운 윈도우 자동 시작 서비스,
7. 윈도우 레지스트리 정리,
8. 브라우저 방문기록, 쿠키, 임시 파일, 확장프로그램/플러그인 정리

이후 '작업 스케줄러'를 실행하고, 의미가 불분명한 이상한 이름, 예 WSD, 또는 만든 이(Author)가 빈 칸으로 뜨거나 Google Inc, Microsoft, Adobe 등 정확하게 뜨지 않는 작업들을 모두 삭제하고 폴더도 삭제했다. (참고: 빈 폴더가 아니면 삭제가 안 됨) 또는 만든 이가 Microsoft가 아니라 MS라고 되어 있던 작업도 있었던 거 같은데ㅎㅎ 다 삭제했다.

그리고 재부팅.

크롬을 사용해도 Malwarebytes는 리디렉션을 블락했다는 트레이 팝업을 더 이상 띄우지 않았다. 예~!

2017년 8월 8일 화요일

무선랜 네트워크 제한된 엑세스 문제 해결 (Trouble-shooting Limited Access of Network with Wireless LAN Adapter)

Some network router/card/adapter cannot deal with static IP address.

 

 

Circumstance Brief

Wireless Router: Netis WF2780 (Dual-band, supports up to 802.11ac, Firmware version 1.8.13)
Wireless LAN Adapter: ipTIME N100 mini (Realtek RTL8188CU Wireless LAN 802.11n USB2.0)
OS: Windows 7
M/B: Asrock Intel Z68

Symptoms

First week of Wireless LAN installation which was set up with 'dynamic' IP settings:
There was any problem.

After the router set-up with 'fixed' IP address with MAC of Wirelss LAN;
router - 192.168.x.1 and PC - 192.168.x.2

  • Ping command to the router shows very big number of 'time=' values between 500ms to 4000ms, especially when I tried to open some websites in the browser
  • Many times of none-request randomly occurred
  • The tray icon of Windows WiFi;not wireless adapter's Realtek utility, showed connected but Limited Access, which nobody on this planet likes
  • Sometimes it showed 'unknown network' with the bench image in Network and Sharing Center window

Trials for a week

  1. Diagnose button
  2. Turning off & on the wireless adapter
  3. Turning off & on the wireless router
  4. Removing Wireless Networks (profiles) in Manage Wireless Networks
  5. Eventually I released the 'fixed' IP address setup of the router administration page (192.168.x.1) but the symptoms still happened. What the...?
  6. Even the hardware-wise reset of the wireless router didn't help...... come on?!
  7. Updating the firmware of the wireless router and hardware reset. Same.
Nothing among the above worked. Nothing.

Solution

Okay, I believed there was no problem with the wireless LAN adapter's driver because it worked totally fine before I set up my PC's IP address 'fixed' with its wireless adapter's MAC.

Finally I uninstalled the adapter's driver and detached the tiny device from my USB port, and I did everything that I have to, just like when I bought this USB wireless LAN adapter newly and installed it for the first time.

Bingo!

Now I merely remember that I reinstalled (updated) the adapter's driver before I set up the IP address of my PC 'fixed'. I'm not sure, but it's possible because the solution and its result reflect that. That means... setup of fixed IP is probably not a problem.

I tried and wrote here everything that I could try to solve 'Limited Access' and 'Requests timed out during ping -t', so I hope one of them I tried helps you when you have a similar problem with your WiFi. Why don't you try to update your adapter's driver first? ;)


P.S. Now I want to set up my PC's IP address as '192.168.x.2' but I'm only thinking and not taking an action... very scary.

P.S.2 Now set up the router WF2780 for my PC as static IP address and it happened again. Again, I reset the router and reinstall my Wireless LAN device driver and no problem with THE STATIC IP ADDRESS. Netis released new firmware for my router but I don't wanna update it because I'm so tired. :p


===============================================

Korean

무선공유기 설정(192.168.x.1)에 가서 내 컴터 무선랜카드의 MAC을 이용해서 고정아이피 192.168.x.2로 설정하였음. 그리고 다음과 같은 문제 발생 시작.

  • 제한된 엑세스
  • 무선공유기(게이트웨이)에 핑 -t 날려놓고 브라우저에서 웹서핑 하려고 하면 time 값이 엄청 커지다가
  • 끝내는 응답 없음이 자주 시전

다양한 시도

  1. 진단 버튼
  2. 무선랜카드 껐다 켜기
  3. 무선공유기 껐다 켜기
  4. 무선 네트워크 프로필 삭제
  5. 무선공유기 설정에서 MAC 주소로 PC의 IP 고정한 세팅 해제
  6. 무선공유기 볼펜으로 리셋
  7. 무선공유기 펌웨어 업데이트
모두 다 부질 없었으나,
무선랜카드 드라이버 제거 후, USB포트에서 장치 뺐다가 다시 꼽고, 최신 드라이버를 재설치(윈도우가 자동으로 잡는 드라이버 말고) 후 정상 작동

P.S. 생각해보니 고정 IP 설정하기 전에 무선랜카드 드라이버를 업데이트 했던 거 같음. 아무 생각 없이... 고정 IP 설정은 문제의 원인이 아니었을 수도... 아, 다시 고정 IP 시도해 보고 싶다... 근데 무서워서 못 하고 있음

P.S.2 고정 IP 설정을 다시 했다가 같은 문제가 발생해서, 다시 공유기 리셋, 랜카드 드라이버 재설치 후 그냥 유동 IP로 문제 없이 사용 중ㅋ

2017년 7월 13일 목요일

How to show the day of the week into Windows tray or taskbar clock (윈도우 트레이/태스크바 시계에서 요일 보이게 하는 방법)

One of the very best Windows Tip ever!




Control Panel -> Region and Language -> Additional Settings button -> Date tab -> Short date

Add '-dddd' at the end of 'Short date'.

God bless you, Lowell Heddings and How-To Geek!

Check it out with the screen images. -> Here


In Korean,
제어판 -> 국가 및 언어 -> 고급 설정 버튼 -> 날짜 탭 -> 짧은 날짜 칸 끝에 '-dddd'를 추가 (키보드로 타이핑 해서 넣음)

공대 나와서 개발자로 지내면서, 진짜 이걸 오늘 알다니...
(How do I get to know this today after graduating the college of Software Engineering and working as a developer until now...)

2017년 6월 28일 수요일

Why z-index doesn't work as you code (or why your hyper link cannot be clicked)

No, it works as you code but just ...

z-index only works on positioned elements (position: absolute, position: relative, or position: fixed).

Without a line of 'position: xxxxx' or with 'position: static' in your css,

it doesn't work and means nothing!!!

Holy kowabungga!!!



Can't click your link after adding 'float' into your CSS?

Add a high 'z-index' than its container or background elements, and ...

also that holy 'position: relative'!

Solution!

2017년 4월 4일 화요일

How to Copy Files or Directories by Using "rsync" with Excluding Particular Multiple Files or Folders

$ sudo rsync -av --progress --exclude="filetobeexcluded" --exclude="foldertobeexcluded" /sourcedir /destinationdir

I like cp -r command but this rsync is awesome too!

Hooray!

2016년 7월 21일 목요일

Solutions: Windows 8 WiFi Limited / Windows can't communicate with the device or resource (Primary DNS Server)

(To check only solutions quickly, then see last two lines.

There are two wireless routers on 1st and 2nd floor of my company.

One coworker who used 2nd fl. router so far moved down to 1st fl. and a disaster began...
with his saying internet doesn't work in his laptop.

When I tried to connect to 1st fl. router, I met the next.

Msg of horror and terror:
"Windows can't communicate with the device or resource (Primary DNS Server)"

"Limited" & "No Internet"
on Network and Sharing Center dialog of Windows 8


Okay, it's not the first time of my computing history. It happened before with Windows 7 and Windows XP too, and I have figured it with resetting Profiles of Wireless Connections in Windows.

How to do it in Windows 8, let's search after I connect to 2nd fl router...

Same msg! What?! Kidding me?
I could use it before without any problem and now it spits the same msg?


Easy, easy...
of course there should be some way to flush Windows' wireless profiles in 8 too.

Tried this solution (#2) and I could successfully connect to 2nd fl. router.

Yup! Good, good. Now I connect to 1st fl. and, the, same, m,s,g......

"Windows can't communicate with the device or resource (Primary DNS Server)"
"Limited" & "No Internet"
on Network and Sharing Center dialog of Windows 8

Hell.... well, all is well, all is well...
I disconnected from 2nd fl router, and repeated #2 solution again, and...
same msg!!


Okay! I will just fix it by myself,
with a very direct way.

I opened Wireless Connection Properties of 1st fl router, and
I opened Internet Protocol Version 4 (TCP/IPv4) Properties, and
clicked Advanced... button, and
moved to DNS tab, and
typed the proper IP address (i.e., 192.168.0.1) in Primary DNS IP address blank, and
left the secondary DNS blank empty,
OK, Apply, OK, OK, ...


Tada~!!
It works super fine now.



Solutions:
#1 Typing a proper IP address of wireless router in Primary DNS's IP address blank. (usually it is 192.168.0.1 without the network administrators customizing)
#2 http://www.fixedbyvonnie.com/2013/10/how-to-fix-limited-or-no-connectivity-wi-fi-issues-in-windows-8/#.V5Co6fmrhBc


Thanks a lot, Vonnie.

Xubuntu: Installing a Printer (Canon G3060 PIXMA)

$ sudo apt install system-config-printer Download the proper driver for linux from Canon website. Turn on the printer and set up its WiFi. C...