Posts Tagged With ‘Linux&8217

linux mount üzerine bir söyleşi

***a says:
malii bisi daha sorucamm
M.Ali says:
***a says:
mount olayını pek anlayamadım
M.Ali says:
mount bir hardware i bir dosya sistemine baglar
***a says:
mount -t vfat dev/sda1 /mnt/win32 derken meesla
M.Ali says:
mesela sen bir disk yada usb bellek takdıgın zaman linux e
***a says:
M.Ali says:
o disk /dev/sda1 oluyor buna senin erisebilmen icin senin bunu bir dosya sistemine baglaman gerekir
M.Ali says:
oda /mnt/win32 diye hernagi bir dizin işte
M.Ali says:
ama burda sen vfat deyip dosya sisteminin türünü belirtion
***a says:
***a says:

UBUNTU 7.10 is available

Ubuntu 7.10 is available for download.

How Microsoft restricts developers on networking

Nowadays I’m interested in raw network programming which gives you ability to construct you building custom headers and makes sure that OS kernel does not modify these headers. I’ve started a VS.NET C++ console application (unmanaged) and typed several lines to test.

#include “stdafx.h”

int _tmain(int argc, _TCHAR* argv[])
int optval = 1;

setsockopt(s, IPPROTO_IP, IP_HDRINCL, (char *)&optval, sizeof optval);

return 0;

I got an error message;

Error 1 error C2065: ‘IP_HDRINCL’ : undeclared identifier ..

After some quick research I’ve come up to this solution. If you are interested in low level networking like me, you should have Unix based boxes instead of Microsoft. The reason is simple; restrictions. Raw socket programming is available in all Unix, and Linux OSs on the other hand MS based OSs is restricted to NT based ones. None of Windows 95, 98, 98SE supported raw sockets. It becames available on Windows from Windows 2000, Windows XP but with Windows XP SP2 this feature is disabled. Quick summary from Microsoft’s specification for this issue:

The Windows implementation of TCP/IP still supports receiving traffic on raw IP sockets. However, the ability to send traffic over raw sockets has been restricted in two ways:

* TCP data cannot be sent over raw sockets.
*UDP datagrams with invalid source addresses cannot be sent over raw sockets. The IP source address for any outgoing UDP datagram must exist on a network interface or the datagram is dropped.

Microsoft encourages the developers to use their products but restricts them to full access. There is a conflict but this is Microsoft. They are doing their best !!!

Setting up a cluster

It took 2 days to read and learn and setup a JEE based cluster for different types of platforms. I still have some problems in linux running Fedora Core 7. Problem is setting up connection on node instances. A good start for JEE cluster can be found here.

GNOME 2.20 Released!

Gnome is one of the most popular desktop manager runs on x-server in *nix distributions and I think Gnome is doing good and their Gnome 2.20 release available now.