Posts Tagged ‘linux’

HowTo: Find Extensive Hard Disk Info on Linux

If you want to find additional information on your hard disks in linux you can use an utility called: hdparm.
If you can’t find this utility install it using apt-get on debian: apt-get install hdparm
then at the console type: hdparm -I /dev/sda an it should list something like this:
/dev/sda:
ATA device, with non-removable media
Model Number:       ST31000340NS
Serial Number:      [...]

Leave a Comment

Samba: Can’t browse domain computers list. The network path was not foud.

I’ve ran into this situation while configuring a samba domain. I’ve searched for hours in forums and in google and found lots of causes for this issue. In my case i had the following:
i could ping the domain clients using their netbios name ( my pdc was also running as a wins server )
i could [...]

Leave a Comment

HowTo: rename a samba domain member computer from registry

I had the difficult task to reorganise a medium network in a factory. Inbetween all the operations i had to do i also had to rename all the computers in the network and organise them by departments. Now this wouldn’t be such a headache unless all the computers are in a linux domain. As you [...]

Leave a Comment

SSH Password Prompt Timeout

When try-ing to ssh into a linux server from a machine that doesn’t have reverse dns setup you might fall intro the situation where your ssh connection times-out befor you get the password prompt.
In this case, on the server, in sshd_config add the following line to solve your issue:
UseDNS no

Leave a Comment

HowTo: force umount a busy device in linux

Here’s how :
When you try to umount the regular way, if a device is busy you’ll get the following :
dev:/# umount /dev/sda1
umount2: Device or resource busy
umount: /boot: device is busy
This can be solver very easy by entering this :
dev:/# umount -l /dev/sda1

Comments (1)

Useful iproute2 comands in linux

While reading the Link Advanced Routing and Trafic Control howto i decided to extract a list of useful commands, in case i forget them later. I’ve posted them here for whoever finds’em useful.
ip link show - shows the available interfaces on your machine
ip address show - shows the IP addresses attached to your interfaces.
ip route [...]

Leave a Comment

HowTo: Test the link on your network cards in linux

If you work remote and want to test if the link is up or not on your linux interfaces use mii-tool.
If the thing is not already installed on your machine, if you run debian simply use apt-get install mii-tool . After the tool in installed just type mii-tool in your console.
Example:
server1:~# mii-tool
eth0: negotiated 100baseTx-FD flow-control, [...]

Leave a Comment

mydns: out of memory: Cannot allocate memory error

MyDNS was working great on my machine until i’ve decided to implement DomainKeys and DKIM support for my e-mail system. As you probably know DKIM and DomainKeys require a long TXT record with a public key to be inserted in the DNS.
MyDNS started giving me problems when i was query-ing the DNS for this TXT [...]

Leave a Comment

HowTo: manually install .deb packages:

This process only installs the downloaded .
deb package. If the package has dependencies, you may need to install them as well.
First, download your .
deb package via wget or whichever method you prefer. Then on the terminal type dpkg -i packagename.
deb (replacing packagename with the name of the package).
That’s it

Leave a Comment

Web Brands