Reputation
5,458
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
9 17
Newest
 Yearling
Impact
~800k people reached

  • 0 posts edited
  • 0 helpful flags
  • 40 votes cast
Jan
31
comment how can one manually assign a permanent / static IP address with “ip addr add”?
If you aren't using /etc/network/interfaces to configure your interfaces, it is likely Network Manager is managing the interface. It may be resetting the address on you. /etc/network/interfaces may be a better choice.
Jan
30
comment how can one manually assign a permanent / static IP address with “ip addr add”?
ip is a command to modify the current stack. It does not have a persistence mechanism. The persistence mechanisms, such as /etc/network/interfaces are distribution (network configuration tool) specific.
Jan
12
comment Why does /proc/*/status not account for all swap used on a system?
File systems using tmpfs use swap when their files are forced out of memory.
Dec
24
comment Can Shorewall be used on VyOS?
@leeand00 Shorewall-lite is extremely lean. But you need another server to build the ruleset on. Shorewall is less lean, but it is perl that will take the most space. If you already have perl, Shorewall is a fairly small install.
Dec
2
comment Make disk/disk copy slower
@Nick When I've used it, it has behaved as expected. The process to which I applied ionice slowed significantly, an the other processes that needed I/O were able to perform as expected. With a moderate I/O load from other processes, I was able to effectively suspend a high I/O process by applying maximal 'niceness' as expected. Once there was no competing I/O, the ioniced process performed as normal.
Nov
22
comment Howto Configure IPv6 on a Debian based system?
@FaheemMitha I had show and addr reversed. Fixed, thanks.
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 a 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.