PURVESH

Pretty printing a mysql.cnf

June 22, 2010

Pretty printing a mysql.cnf

perl -ne 'm/^([^#][^\s=]+)\s*(=.*|)/ && printf("%-35s%s\n", $1, $2)' /etc/my.cnf
 

Reliance Datacard EC121 on Ubuntu Linux

June 22, 2010

You will need to activate your phone using Windows and the bundled software. Once this is done you can connect to the internet using Ubuntu or MacOSX.

apt-get install wvdial

Edit your /etc/wvdial.conf and add the following

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 M1 L1 X3 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Abort On No Dialtone = False
New PPPD = yes
Phone = #777
Modem = /dev/ttyUSB0
Username = <username>
Password = <password>

# Baud = 460800
# Stupid Mode = 1

By de...


Continue reading...
 

About Me

Purvesh shah
Mumbai

Blog Archive

Categories