Network unreachable error when sending mail from mutt

2016-09-05 Thread Gargi Sharma
Hi all, I'm getting a "SMTP server problem Network is unreachable" "Error sending message, child exited 69 (Service unavailable.). " when trying to send a mail using mutt. When I used telnet smtp.gmail.com 587 or change the port to 465 I get Unable to connect to remote host: Network is unreach

udelay vs usleep_range

2016-09-11 Thread Gargi Sharma
Hi all, I ran the checkpatch script over drivers/staging/nvec.c and got the following warning udelay(33); CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.txt I checked out the timers-howto.txt and for usleep_range, one has to specify the lower and upper limi

iptables-translate command not found

2016-10-14 Thread Gargi Sharma
Hi! I am looking to translate iptable rules to nftables and when I run the command sudo iptables-translate I get , command not found. The path for iptables command is /sbin/iptables. The other commands related to iptables that are available are: iptables-save iptables-restore ip6tables How do I

Re: [Offtopic] Are these good coding rules for C?

2017-04-22 Thread Gargi Sharma
Read this somewhere and thought it really made sense( quoting verbatim): Obligatory reminder that "Safety Critical Program" is the operative term here. Every time this kind of thing gets passed around, people try to apply the rules to general purpose software, but you really, truly don't need to b