Tuesday, September 26, 2006

PAC perl audio converter

baie oulike klein converter...

het baie gehelp om .ape na .ietsanders toe om te wandel.


pacpl --apetomp3 -d /home/music/whatever

--recursive werk ook lekr.

ciao

Monday, September 25, 2006

m4a to mp3 using 'faad' and 'lame'

Ok, i looked around for a scrypt to do this and the mplayer codec did not want to work right away for me... i had to install faad...

& sudo apt -get install faad

and then use this scrypte and save it as something like m4a2mp3.sh and execute like this...

& ./m4a2mp3.sh

(all the files in the dir will be converted to wav...

# m4a to mp3
for i in *.m4a
do
faad "$i"
x=`echo "$i"|sed -e 's/.m4a/.wav/'`
y=`echo "$i"|sed -e 's/.m4a/.mp3/'`
lame -h -b 192 "$x" "$y"
rm "$x"
done

Monday, September 18, 2006

Gebruik Ekiga met n VoipBuster 'account'

Goed, installeer ekiga natuurlik, dit is gewoonlik in die ubuntu repositories...

$ sudo apt-get install ekiga


Add dan by Ekiga n account en gebruik die volgende data van
Voipbuster:

Acc. Name: Voipbuster
Register: sip1.voipbuster.com
User: YourVoipbusterUser
Pass: yourpass Auth.
User: YourVoipBusterAgain
Reign/Domain: voipbuster.com
Time: 3600


Om te Bel, gebruik net die volgende:

InternationalPhoneNumber@sip1.voipbuster.com


Daar het jy dit.

Ciao

Saturday, September 16, 2006

Ubuntu Plakkers!


Sjoe, mens kan glo nou verniet Ubuntu Plakkers vir jou Rekenaar bestel,

Stuur net n selfgeadreseerde koevert aan





United Kingdom

The Linux Emporium
Bridge House
17a Maybrook Road
Sutton Coldfield
Birmingham
B76 1AL UK

of watookal vir jou die naaste is!
Kyk by:
http://www.system76.com/

How to connect to the internet with a N70 in Ubuntu!

Process

Step 1: Plug the data cable into your mobile phone and into your computer. Then see whether it was recognised by the kernel.
tail /var/log/messages
Should result in something like the following output:
localhost kernel: [4295346.417000] usb 1-1: new full speed USB device using ohci_hcd and address3
localhost kernel: [4295348.125000] cdc_acm 1-1:1.8: ttyACM0: USB ACM device
localhost kernel: [4295348.133000] usbcore: registered new driver cdc_acm
localhost kernel: [4295348.133000] drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver for USB modems and ISDN adapters
According to this output, the kernel driver being used is cdc-acm (you don't need to know that, but it may be useful for other applications). We can deduce from the second line that linux can see the device at /dev/ttyACM0 - this you will need to know.

Step 2: Configure Ubuntu to be able to communicate with your phone and use it to connect to the Internet.

Install ppp (handles modems and dialing) if it's not installed already:
sudo apt-get install ppp
You will need to create a configuration file that tells Ubuntu how to handle communication with the phone. If you prefer using a graphical text editor, replace "vi" in this and the following steps with "gedit". The files should be empty to start with.
sudo vi /etc/ppp/peers/mobile
Enter the following text:

Code:
debug
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/mobile"
usepeerdns
/dev/ttyACM0 115200
defaultroute
crtscts
lcp-echo-failure 0

If the /var/log/messages output above showed something other than ttyACM0, substitute that in the above code.

Ubuntu will need to send some commands to your phone to tell it to connect to the Internet. These commands are stored in a chat script, and are sent when you try to connect.
sudo vi /etc/chatscripts/mobile
Enter the following text:

Code:
TIMEOUT 35
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
OK 'AT+CGDCONT=1,"IP","INTERNET"'
OK ATD*99***1#
CONNECT ""

You also need to be registered to use the modem connection. You are probably registered already, but this should take care of it if you're not (using your Ubuntu login name):
sudo adduser your-username-here dialout
If you can connect to the Internet on your phone (without your computer), the configuration scripts above should work. If not, look around in the links given below and see whether you can resolve the problem. The most likely points of failure are the 'AT+CGDCONT=1,"IP","INTERNET"' and ATD*99***1# sections.

Specifically where I have set "INTERNET" above, may well be different in your case. This is the Access Point Name (APN). It can (probably) be found in your phone's settings - I can get to it through the following path on my phone: Menu > Tools > Settings > Connection > Access Points. From there choose the access point you use to connect to the Internet (most probably the first one on the list). One of the settings there is "Access point name". Substitute what it says there where I have put "INTERNET" above.

Step 3: You should now be ready to connect. To dial, use the "pon" command, and to disconnect, use the "poff" command.
pon mobile
poff mobile
Whatever messages are communicated between Ubuntu and your phone, should show up in /var/log/syslog. The easiest way to see what's happening in the process is to open another terminal and use the following command before connecting with the commands above:
tail -f /var/log/syslog
Whatever messages are written to the log, will now be displayed on your terminal "live".


Useful Commands


Code:
tail /var/log/messages
lsusb
pon
poff
tail -f /var/log/syslog


External Resources
Reply With Quote

Tuesday, September 12, 2006

Hotmail deur Evolution te gebruik!

Hi daar,
Ek het vandag op iets interressants af gekom... mens kan Evolution instel om Hotmail te lees.
Kyk net in hierdie thread op ubuntuforums.

http://www.ubuntuforums.org/showthread.php?t=200408

ciao for now

Monday, September 11, 2006

mp3 in Sound Juicer

Goed, hierso is n kort gids om .mp3 in Sound Juicer te 'rip'

eerstens moet lame geinstaller wees...
$ sudo apt-get install lame
Dan, moet mens met SJ na Edit Gnome audio profiles...
genbruik dan die volgende:

Profile Name: MP3
Profile Description: MPEG Layer 3
GStreamer Pipeline: audio/x-raw-int,rate=44100,channels=2 ! lame name=enc vbr=false bitrate=192 xingheader ! id3v2mux
File Extension: mp3
Dit behoort die werk te doen.

Don Giovanni is ani gang en La Perichole kom vinnig... maar ten minste het ek meer om te doen daar... bietjie beduidender.