git via proxy

# echo $http_proxy

# git config –global http.proxy $http_proxy

# git config –get http.proxy

FreeBSD commands to set/check MTU

Here are various methods to change interface/ip interface MTU on current FreeBSD distros:

# ifconfig {interface-name} {ip-address} mtu 9000

# route change {ip-address/mask} -mtu 9000

To see the current MTU settings:

# route get {destination-IP-address} / ifconfig {interface-name}


route get
   route to:
  interface: em0
      flags: <up,done,cloning>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
       0         0         0         0         0         0      9000   -454924

Intel to Produce ‘Significant Portion’ of LTE Modem Chips for iPhone 7


CLSA Securities analyst Srini Pajjuri has corroborated multiple reports claiming that Intel will supply LTE modems for the iPhone 7, according to a research note obtained by NDTV.

Pajjuri said that Intel has secured a „significant portion“ of the LTE chips, likely in the range of 30 to 40 percent of production. Qualcomm will likely be tasked with the remaining orders.

While Apple is looking to cut some reliance on Qualcomm, the company doesn’t plan to completely turn away from the chipmaker. On the contrary, the analyst believes that the company will „share shift back“ to Qualcomm in 2017.

Intel reportedly has 1,000 or more employees working on preparing the Intel 7360 LTE modem for the iPhone 7 lineup. The 7360 LTE modem chip [PDF] from Intel features faster theoretical downlink speeds up to 450 Mbps, uplink speeds up to 100 Mbps, and support for LTE category 10 and 29 LTE bands overall.

In layman’s terms, that means the iPhone 7 could have even faster LTE speeds for browsing the web, downloading apps, streaming video, and other data-related tasks. Apple already improved LTE speeds on the iPhone 6s and iPhone 6s Plus by adopting LTE-Advanced, which pushed downlink speeds up to a theoretical max of 300 Mbps.

Apple currently sources all of its LTE modems for iPhones from Qualcomm, including the MDM9635 chipset in the iPhone 6s and iPhone 6s Plus, which offers theoretical downlink speeds up to 300 Mbps and uplink speeds up to 50 Mbps. Qualcomm has been Apple’s exclusive supplier of LTE modems for over three years.

In the future, Apple may create a system-on-a-chip that includes both an A-series processor and an LTE modem chip for improved speed and power management. Apple could license LTE modem intellectual property from Intel to achieve that goal, and the chip maker could also be tasked with fabricating the chipset based on its advanced 14-nanometer process.

PHP 7 on FreeBSD 10.3

Днес реших да опитам какво е поведението на PHP 7.0.3, заменяйки PHP 5.6.18 върху този уеб сървър. На него се използват wordpress, piwik, owncloud, awstats, roundcube, cacti.
Не се наблюдаваха съществени проблеми, изключвайки отсъствието на често използваните extensions pecl-memcache, pecl-redis и php-mysql ( за щастие има php-mysqli което налага промяна на конфигурацията в някой от софтуерите – в моят случай roundcube ).

Процесът изискваше изпълнение на следната команда:
portmaster -o lang/php70 php56 повторено “n” пъти за всеки от инсталираните php56 extensions. На моменти се случва така че да трябва да се размени редът който сте си приготвили, за да може да се компилират нещата ( при мен подредбата изглежда така  ).

За да се използва redis поради това че няма готов freebsd port се прави следното:

git clone -b php7
mv phpredis/ /etc/ && cd /etc/phpredis
phpize && ./configure && make && make install
cd /etc && rm -rf phpredis
echo ‘’ >> /usr/local/etc/php/extensions.ini
проверява се дали модулът се е инсталиран с командата „php –ri redis” .

Mоже отново да се използва owncloud със следната конфигурация и възползвайки се от ускорението което му дава redis:

‘memcache.local’ => ‘\\OC\\Memcache\\Redis’,
‘filelocking.enabled’ => ‘true’,
‘memcache.distributed’ => ‘\\OC\\Memcache\\Redis’,
‘memcache.locking’ => ‘\\OC\\Memcache\\Redis’,
‘redis’ =>
array (
‘host’ => ‘localhost’,
‘port’ => 6379,
‘timeout’ => 0,
‘dbindex’ => 0,

За да накарате cacti да заработи отново направете следното:

cd /usr/local/share && mv cacti cacti.port && git clone
cp cacti.port/include/config.php cacti/include/ && chown -R www:www cacti