Fedora Core 4 and Enlightenment E17

It has been a while since I messed with a Windows Manager and I have not ran Enlightenment in ages. So I figured I would give E17 a spin, this is what I did in order to get it up and running.First, make sure you’ve got an update yum file with some of the latest FC4 software. You can get one from here or here.

Next, ensure that you have a repository for Enlightnenment you can find some here.

Now, this might be a little tricky, but this is what I had to do.

I had a very basic install of FC4 with no KDE or Gnome. Next, I did a

yum install imlib2.i386
yum install eterm
yum install enlightenment

After, all has been installed do a

switchdesk enlightenment

log out and log back in and you’re good to go.

~david macias

Using VI to search for specific patterns

So this is a short little something I was working on tonight. Yes tonight as in a saturday night. I am a workaholic.

Anyway, if you would like to search for the following pattern using VI or if you would like to use syntax highlighting using your own vim file.

Patter: ##/##/##@##:##:##

Search command:

:/[0-9]./[0-9].{3}.@[0-9].:[0-9].:[0-9]

or the much cooler one

:/d./d./d.@d.:d.:d

For all your wildcard needs, remember to refer back to the awesome VI doc site here. Enjoy.

~david macias

Finally got subversion working!

I took some hacking away at this but finally I can check out my projects as well as commit any changes made! This should make development a whole lot simpler!

~david macias

[dmacias@dmlinux project]$ svn –version
svn, version 1.0.6 (r10360)
compiled Jul 31 2004, 10:49:38

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
– handles ‘http’ schema
* ra_local : Module for accessing a repository on local disk.
– handles ‘file’ schema
* ra_svn : Module for accessing a repository using the svn network protocol.
– handles ‘svn’ schema

MandrakeSoft out of Chapter 11 Protection

Just saw on /., that Mandrake is out of their Chapter 11 like protection which they filed some months back. Good to hear for my favorite linux distribution. I have some reservations over the new Mandrake, however I will not pass any judgement until I get the official release from the MandrakeSoft store.

Support your linux companies, time is not free and their efforts are definetly appreciated.

~david macias

Awesome article from SecFoc.com

Definetly a great article about Low-level enumeration (port scanning). Talks about some of the techniques everyone’s favorite scanning software (NMAP) uses, which gives you a great insight to all those little commands like:




nmap -v -sS www.microsoft.com




Read all about it, I found it more than informative.



-david macias

Samba Samba Samba

Well it seems that the samba gods have been good to me today. I had a slight altercation where I could not write to a samba share I created. This is how I solved that little problem.
First you have to have all the correct settings in the smb.conf file. You usually find this in /etc/smb.conf or /etc/samba/smb.conf. Here are the settings for my share.


[SAMBASHARE]
   path = /home/dmacias/Desktop/SambaShare
   comment = /home/dmacias/Desktop/SambaShare
   valid users = dmacias
   public = no
   writable = yes
   printable = no
   wide links = no

Now you need to restart Samba. Do this with the following command: /etc/rc.d/init.d/smb restart



Now if you try to connect from windows to the share you just created, you should be able to see it, but not connect to it. To connect you need to do the following command:



smbpasswd -a -U dmacias



Change the password and you are set.



*This is my configuration, you need to adapt yours to your system, your users, your passwords, your file locations.



Hope that helps some, do not worry it gets easier with time.



-dmacias

I am a sendmail genius!

Well not really but here are some good pointers (i.e. things I learned about sendmail today).To ensure that you have port 25 opened:



"telnet domain.com 25"
Trying XXX.XXX.XXX.XXX...
Connected to domain.com.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.12.8/8.12.8; Sun, 30 Nov 2003 00:46:13 -0600




If you see the following then sendmail is listening on port 25 waiting for incoming email.



Did you know that Reh Hat 9 (maybe previous) version of redhat, do not include the program you need to configure sendmail.cf?



You will need sendmail-cf.VERSION.rpm




rpm -ivh sendmail-cf.rpm




To stop and start (restart) sendmail:




/etc/rc.d/init.d/sendmail stop
/etc/rc.d/init.d/sendmail start




Once you are done editing your sendmail.mc file and you want to apply your changes, do this and then restart sendmail:




m4 sendmail.mc > sendmail.cf




More to come, but it is late, and I finally got email working again here at my job :–) No one is going to kill mey yay!



-dm