Reputation
5,103
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
8 16
Newest
 Nice Answer
Impact
~631k people reached

  • 0 posts edited
  • 0 helpful flags
  • 39 votes cast
Aug
13
comment Is there a difference between ./script and bash script?
@syntaxerror See my update.
Jul
20
comment How do I scp a file from server A to server B from cron?
@Karthik See links above.
Jul
9
comment How can I change the default gateway?
@ChrisS updated to reference the changes for FreeBSD. route has multiple implementations with minor syntax changes.
Jul
1
comment Sound is gone after booting system in text mode
@Benedictus A command line mixer is a program which allows you to perform the mixing functions (change volume, mix/choose signals, etc.) from a command line. alsamixer is one of the available command line mixers.
Jun
30
comment Why does my process take too long to die?
@AnirbanGhoshal I wasn't expecting deadlocks, but the table will have locking code to ensure different processes cannot make conflicting changes. No such luck with a semitimedrop, a process is an entry in a table to which resources may be allocated. Until all resources are released it exists. Even kill -9 will wait for resources to be de-allocated, but it is usually a very fast process.
Jun
30
comment Why does my process take too long to die?
@AnirbanGhoshal See edit.
Jun
30
comment Sound is gone after booting system in text mode
@Benedictus It's been a long time since I used sound on a text only system. I did install a command line mixer. It should depend on or load the relevant devices.
Jun
22
comment IS there any way to send mail without relay server
@KALAISELVAN You can send mail without an MX record. Large organizations often use dedicated servers for outbound mail that are not listed as an MX. You can only receive mail without an MX record if the A record resolves to the IP address of your mail server. However, I would recommend using an MX pointing to a mail server's A record.
Jun
4
comment What is stopping our UDP packets (how does it know the route is down)?
@JohnU If you are accepting and dropping the packets, then I would be concerned you get the same behavior when you aren't dropping packets. Depending on your filter Wireshark may not be catching the ICMP packets.
Jun
1
comment Why and how is swap improving performance, and can I disable it?
@prakharsingh95 Things paged out to disk tend not to be frequently accessed. If they are using memory that would otherwise be used for frequently accessed, they may increase the I/O load (use of disk). This is trading off space used for swap for performance resulting from fewer waits for disk I/O.
May
10
comment How many inodes do I need to access to read a file?
@graphtheory92 The root directory is just another inode. However it is a very important inode. When you mount a disk partition, its root partions inode is referenced in place of the inode of the mount point on the disk you are mounting to.
May
7
comment Is a directory removed when its number of hard links becomes 0?
If the directory is a sub-directory. the entry .. will point to the parent. As a special case the root directory link points to itself. This allows cd ..\.. and similar commands to work as expected no matter where you are. You can test with the stat command.
May
5
comment ext4 - An entire directory disappeared?
If the file got renamed to have a period as the first character it won't show up in an normal ls command. Try ls -a. Using du on the containing directory may show your file as well.
Apr
25
comment Mails bouncing back from Dovecot mail server
You need an MTA (postfix, exim, etc.) to receive email. Dovecot is a MDA (Mail Delivery Agent) not a MTA (Mail Transfer Agent.
Apr
23
comment How to increment serial number in bind9 dns zone
DNS mode for emacs automatically increments serial numbers using the above model.
Apr
20
comment Install mail server in VM
@suamikim I've added a list of recommended documentation including RFCs
Mar
14
comment ntp server problems. It is panicking and then I am 3hours ahead
@nass If you are using NTP with the hardware clock you need to set the hardware clock to UTC. If you loose network connectivity, ntp may sync to the local clock, but it never sets it. /dev/rtc is the interface to one type of real time clock, but many motherboards use a different clock inteface.
Mar
4
comment Disabling sslv3 on samba4
I dug deeper and it appears SAMBA has its own LDAP/Kerberos services. However, I don't see any options to configure tls ciphers or other options that can be used to disable sslv3.
Mar
4
comment Disabling sslv3 on samba4
Looking through my documentation it appears that Samba uses an LDAP server such as OpenLDAP to provide the LDAP services. Try running `sudo netstat -antp | grep :636 to see which program is listening for LDAP traffic.
Mar
3
comment Disabling sslv3 on samba4
I haven't seen samba4 used as an ldap server. It will connect to the samba4 using the protocols available from the ldap server. Disabling sslv3 on the ldap server will disable its use by samba and other ldap clients.