Linux

How to fix: Squid cache_dir (13) Permission denied

I was configuring a newly installed Squid cache on newly installed CentOS 5.2 to use a new partition for it's cache dir.

Squid version:

[root@localhost ~]# squid -v
Squid Cache: Version 2.6.STABLE6
configure options: '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--exec_prefix=/usr' '--bindir=/usr/sbin' '--libexecdir=/usr/lib/squid' '--localstatedir=/var' '--datadir=/usr/share' '--sysconfdir=/etc/squid' '--enable-epoll' '--enable-snmp' '--enable-removal-policies=heap,lru' '--enable-storeio=aufs,coss,diskd,null,ufs' '--enable-ssl' '--with-openssl=/usr/kerberos' '--enable-delay-pools' '--enable-linux-netfilter' '--with-pthreads' '--enable-ntlm-auth-helpers=SMB,fakeauth' '--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group' '--enable-auth=basic,digest,ntlm' '--enable-digest-auth-helpers=password' '--with-winbind-auth-challenge' '--enable-useragent-log' '--enable-referer-log' '--disable-dependency-tracking' '--enable-cachemgr-hostname=localhost' '--enable-underscores' '--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL' '--enable-cache-digests' '--enable-ident-lookups' '--with-large-files' '--enable-follow-x-forwarded-for' '--enable-wccpv2' '--enable-fd-config' '--with-maxfd=16384' 'CFLAGS=-fPIE -Os -g -pipe -fsigned-char' 'LDFLAGS=-pie' 'build_alias=i686-redhat-linux-gnu' 'host_alias=i686-redhat-linux-gnu' 'target_alias=i386-redhat-linux-gnu'
[root@localhost ~]#

How to fix buffer_get_ret: trying to get more bytes 4 than in buffer

I got this error after adding new user to the system (CentOS). The user key is generated using PuTTY Key Generator (PuTTYgen for short).

Exact error (in /var/log/secure):

How to configure Sony Ericsson P990i as USB modem with Indosat Broadband 3G

Indosat Broadband 3G is an unlimited internet program from Indosat (Matrix). We will be using their Eco package.

How to: Sony Ericsson P990i as USB modem on CentOS

Sony Ericsson P990i is a smartphone and the successor of Sony Ericsson P910. The phone uses the UIQ 3 software platform, which is based upon Symbian OS 9.1 [link]

Sony Ericsson P990i technical specifications (network related only):

  • GSM 900 / 1800 / 1900
  • UMTS 2100
  • GPRS Class 10 (4+1/3+2 slots), 32 - 48 kbps
  • 3G, 384 kbps
  • Wi-Fi 802.11b

How to configure Venus VT-12 CDMA USB modem with TelkomFlexi

TelkomFlexi is a fixed wireless CDMA provider. We will be using their FlexiNet Unlimited package.

If you haven't installed the modem, see this link before proceed with the following steps.

If you enjoyed this post, make sure you subscribe to our RSS Feed! Or if you prefer, you can Follow us on Twitter instead.