Online Learning Academy - LearnAcad.com

... Sharing Knowledge

  • Increase font size
  • Default font size
  • Decrease font size
Welcome to Online Learning Academy

How to use minicom for connecting router/switch over serial communication in Linux/Unix

E-mail Print PDF

Linux comes with many serial text and gui based serial communication programs. My favorite is minicom - friendly menu driven serial communication program.

If you are addicted to DOS / Windows TELIX (a telecommunications program originally written for DOS and was released in 1986), minicom is for you under Linux / UNIX.

minicom Common features / usage

=> Setting up a remote serial console
=> Access a computer / server if the LAN is down
=> Connect to embedded Linux / BSD device via null modem cable
=> Connect to Cisco routers for configuration
=> Connect to dump device i.e. device w/o keyboard and mouse
=> Dialing directory with auto-redial
=> Support for UUCP-style lock files on serial devices
=> Separate script language interpreter
=> Capture to file
=> Multiple users with individual configurations

Let us see how to configure minicom for my Soekris net4801 Single Board Computer / embedded Linux device.

Install minicom

Use apt-get under Debian / Ubuntu Linux, enter:

Read more...
 

How to dump the Bind DNS cache in Linux?

E-mail Print PDF

To dump or export the DNS cache of Bind server in Linux, issue following command:

 rndc dumpdb -cache

Path of the dump file Centos chrooted bind is:

cat /var/named/chroot/var/named/data/cache_dump.db

Path may be different depending on

Read more...
 

How to flush DNS cache in Linux?

E-mail Print PDF

centosFollowing are some useful commands:

rndc flush
rndc restart
rndc exec
rndc status
rndc reload

/etc/init.d/nscd restart
/etc/init.d/named restart

Last Updated on Friday, 21 June 2013 15:26 Read more...
 

Howto update the Root Hints file for BIND Named server in CentOS, Red Hat, or Fedora?

E-mail Print PDF

Red Hat, Fedora, or CentOS:

You can retrieve root zone file from ftp://ftp.rs.internic.net.

wget --user=ftp --password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O /var/named/chroot/var/named/named.ca

OR if not chrooted

wget --user=ftp --password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O /var/named/named.root

Reload rndc to update information, enter:
rndc reload

Another option is run dig command to fetch information:

Last Updated on Thursday, 13 June 2013 09:45 Read more...
 

Howto update the Root Hints file for BIND Named server in Ubuntu or Debian?

E-mail Print PDF

Ubuntu Linux:

You can retrieve root zone file from ftp://ftp.rs.internic.net.

wget --user=ftp --password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O /etc/bind/db.root

Reload rndc to update information, enter:
rndc reload

Another option is run dig command to fetch information:

Last Updated on Thursday, 13 June 2013 09:46 Read more...
 


Page 6 of 50
Follow us on Twitter

Main Menu

Linux

Islam

Windows

Interview Questions

Database

Internet

Cisco

Entertainment

Networking

Graduate Courses

Psychology

Feed Burner

Subscribe to Welcome to Online Learning Academy by Email

Enter your email address:

Delivered by FeedBurner


Google Groups
Subscribe to LearnAcad
Email:
Visit this group

Login Form

Friend's Websites