Archive for June 12th, 2007

Tuesday, June 12th, 2007

Automate serial devices communications with expect-perl & cu

Initial problem: “I’m trying to use expect to automate the communications with a serial modem using cu, but i never got answer to thr AT commands from the modem .” Code: $rootexpect->expect($timeout, “nnected”); $rootexpect->send(“AT\n”); $rootexpect->expect($timeout,”OK”); my $x; $rootexpect->interact($x, ‘XXX’); Here is the debug output (Looks like modem is not acepting the \n after AT) spawn [...]

No Comments » - Posted in Linux,Perl for Retarded ppl,Software,Ubuntu by

Tuesday, June 12th, 2007

Hardcore dance, con los Telettubies

Preparare esos pasos pa la proxima tocada…

No Comments » - Posted in Videos,Youtube by