LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

Hi

Posted 07-15-2011 at 01:54 AM by Chankey Pathak

Hello world!
LQ Newbie
Posted in Uncategorized
Views 278 Comments 0 Chankey Pathak is offline
Old

pwm and saving file space.

Posted 07-14-2011 at 09:45 AM by peonuser

Wrote a little freebasic program that did not require any extra hardware to experiment with pwm.

Code:
01	cls
02	for x = 1 to 50
03	for y =1 to x
04	locate 1,1
05	?"1";
06	for z = 1 to 500000 step 5
07	next z
08	next y
09	for a = 1 to 50 -x
10	locate 1,1
11	?" ";
12	for z = 1 to 500000 step 5
13	next z
14	next a
15	next x

Automated...
Member
Posted in Uncategorized
Views 331 Comments 0 peonuser is offline
Old

vpnc auto-reconnect script

Posted 07-14-2011 at 03:05 AM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 07-15-2011 at 02:38 AM by rocket357

A native Cisco VPN client doesn't exist for OpenBSD, so I wrote this little script to make vpnc more useful. It detects when the vpn tunnel fails and re-establishes it.

Code:
#!/bin/ksh

# This script was developed on OpenBSD with ksh as the primary shell.

# set INT_SERVER to a list of 5 ping-able machines behind your vpn gateway
# ip addresses can be repeated if you have less than five machines.
set -A INT_SERVER 192.168.1.16 192.168.1.201
...
Member
Posted in Uncategorized
Views 10828 Comments 2 rocket357 is offline
Old

Convert ext2 to ext3 file system

Posted 07-14-2011 at 12:31 AM by blue_print

The conversion procedure is very simple enough. Let us assume /dev/sda6 (ext2 now) mounted on /convert. You will be seeing fstb entries like,
Code:
/dev/sda6         /convert             ext2    defaults        0 0
Unmount the partition
Code:
umount /dev/sda6
Enable Journal (converting to ext3) using tune2fs command,
Code:
tune2fs -j /dev/sda6
Edit /etc/fstab and for /dev/sda6 change the file system type to ext3. Finally, the entry should be like this,
Code:
/dev/sda6
...
Member
Posted in Linux Basics
Views 3707 Comments 1 blue_print is offline
Old

can you identify this picture ?

Posted 07-13-2011 at 09:14 PM by dEnDrOn
Updated 07-16-2011 at 08:25 PM by dEnDrOn

what do you think this is ?
]
Member
Posted in Uncategorized
Views 7754 Comments 5 dEnDrOn is offline

  



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

Main Menu
Advertisement

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