Sunday, May 31, 2009

Unlock Linksys Sipura SPA 2102

To unlock this linksys SPA 2102, just do exactly the step for unlocking Sipura SPA2100 on my other post.
I did it three times, all SPA-2102 no matter the model number, either SPA-2102-R, SPA-2102-NA or SPA-2102-SF, all can be unlocked using same step.

note: the only difference on my case with Linksys SPA, the file name on web server is spaMAC.cfg compare to Sipura SPA2100 that use spaMAC.txt as default.

another note : it might need to set device to default configuration, by pressing **** and option 73738# and press 1 to confirm before above step.

Wednesday, May 6, 2009

Expect, PHP and Fedora 5

I work with ubuntu before for the expect, Expect, PHP and Ubuntu, but now I have to use it on fedora 5, here is the installation :

install expect and expect-devel

# yum install expect expect-devel

install PECL Expect.

# wget http://pecl.php.net/get/expect-0.2.5.tgz
# pecl install expect-0.2.5.tgz

edit php.ini and put this line :

extension=expect.so

restart httpd and you ready to go.

Monday, May 4, 2009

disable root access on ssh server

for the telnet server, to disable root access, normally people just remove everything under /etc/securetty that root doesnt have access, and for ssh server, just edit /etc/ssh/sshd_config file, and change this line "PermitRootLogin Yes" to "PermitRootLogin no"

thats it, and dont forget to restart sshd service by doing "/etc/rc.d/init.d/sshd restart", dont worry, your current session wont lost because of restarting the ssh server.

current

last archive