Posted by joydeep on Tuesday, March 17, 2009 under Tutorial |
It is really very easy to change the MAC address of the lan card under Linux. It needs only two commands as super user
1. ifconfig <ethernet-device> down hw ether <new mac >
2. ifconfig <ethernet-device> up
Here is an example
Before changing the MAC see the actual MAC with ifconfig
# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:02
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xc000
Now change the MAC
# ifconfig eth1 down hw ether 00:00:00:00:06:01
# ifconfig eth1 up
Again check with ifconfig
# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:00:00:00:06:01
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xc000
MAC has been changed to 00:00:00:00:06:01
It is really so easy under Linux.
Posted by joydeep on Wednesday, November 5, 2008 under Tutorial |
This tutorial is based on SuSe 9.3 running Plesk 7.5
Step 1:
Go to the domain under vhosts for which you want to install eGroupware. Then go to the conf directory ( like /var/www/vhosts/infoservices.in/conf) and create there a file called vhost.conf. Declare the path with the open basedir so that plesk allow us to access those directories. Below is a sample
<Directory /var/www/vhosts/infoservices.in/httpdocs/>
php_admin_value open_basedir “/var/www/vhosts/infoservices.in/httpdocs:
/var/www/vhosts/infoservices.in/tmp:/var/eGw/infoservices.in/backup:/var/eGw/infoservices.in/files:
/var/lib/php5:/usr/share/php5:/usr/share/php5/PEAR”
php_admin_value upload_tmp_dir “/var/www/vhosts/infoservices.in/tmp”
</Directory>
Also include the PEAR path.
Step 2:
Now edit the php.ini file (location of it can be seen from php.info()
Add the path mentioned in vhost.conf to the open_basedir of php.ini file.
Below is a sample of php.ini
open_basedir = “/var/www/vhosts/infoservices.in/httpdocs:
/var/www/vhosts/infoservices.in/tmp:/var/eGw/infoservices.in/backup:
/var/lib/php5:/usr/share/php5:/usr/share/php5/PEAR”
Note the inculsion of pear path.
Step 3:
Execute the command as root
# /usr/local/psa/admin/sbin/websrvmng -a -v
Step 4:
Restart the apache web server.
Posted by joydeep on under Tutorial |
This tutorial guides to build a Multidomain eGroupware on a remote SuSe linux server. User authentication is based on OpenLDAP, hence it facilitates auto IMAP creation during user account creation. The email server is build around Cyrus+Postfix+OpenLDAP which is the most attractive combination due to its performance on production server. This tutorial also disclose some issues during the mail server configuration and how to solve those.
Additionally the step by step configuration of an email system; testing and debugging; use of SSL/TLS with mail server and creation of self signed certificates can be applied separately to implement an email server.
Read More: multidomain_egroupware_installation