Re: [CentOS] How do I debug why Centos is asking for fonts to be installed?
On Mon, 22 Jul 2013 22:00:06 -0600, Frank Cox wrote: > Using gconf-editor, unset /apps/gnome-packagekit/enable_font_helper I hadn't even known that existed! Thanks for the suggestion. Let's see if it works: http://i43.tinypic.com/2rxe6ix.png ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux Question
On 23 Jul 2013 07:42, "Ken Smith" wrote: > > > For some reason auditd wasn't running or enabled. I'm now seeing the > messages I needed in /var/log/messages. I'm running bind chrooted and > various other tweeks mean I need to set SELinux accordingly. > Bind chroot via the standard chroot package should just with with selinux... Be careful that you don't just follow the audit.log blindly (eg audit2allow -aM) but think through each but carefully... I'd suggest starting for each exception with "is this already covered by a boolean" and then double checking your file contexts before even considering an additional custom module. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Fwd: When no MTA is installed, How to send an email with a cronjob?
> > > > When no MTA is installed, How to send an email with a cronjob? > > > > I usually do this: > > import smtplib > server = smtplib.SMTP('smtp.gmail.com:587') > server.ehlo() > server.starttls() > server.ehlo() > server.login('u...@gmail.com', password) > server.sendmail(from, to, message_ > Hi larry, I think your method is the easiest way. I currently have below cronjob that sends the output to /tmp/backup.out file. it is OK. 35 13 * * * root /root/scripts/backup.sh > /tmp/backup.out 2>&1 How can I then send this /tmp/backup.out to an email address. Here's the one I created [root@host ~]# ls -al /root/send_email.py -rwxr-xr-x. 1 root root 382 2013-07-23 15:18 /root/send_email.py [root@host ~]# cat /root/send_email.py #!/usr/bin/python import smtplib from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText from_addr = 'r...@host.example.com' to_addrs = ['myem...@gmail.com'] msg = open('/tmp/backup.out','r').read() server = smtplib.SMTP('192.168.9.5', 25) server.sendmail("r...@host.example.com", "myem...@gmail.com", msg) #server.sendmail(from_addr, to_addrs, msg) Should I APPEND the PATH of the script (/root/send_email.py) to /root/scripts/backup.sh file. ? I just ran this script (i.e - /root/send_email.py). It worked. I got the email. But no subject there. How can I add a subject called " CRON JOB OUTPUT " to the email receive . Hope to hear from you. > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux Question
James Hogarth wrote: > On 23 Jul 2013 07:42, "Ken Smith" wrote: > >>> >> For some reason auditd wasn't running or enabled. I'm now seeing the >> messages I needed in /var/log/messages. I'm running bind chrooted and >> various other tweeks mean I need to set SELinux accordingly. >> >> > Bind chroot via the standard chroot package should just with with selinux... > > Be careful that you don't just follow the audit.log blindly (eg audit2allow > -aM) but think through each but carefully... > > I'd suggest starting for each exception with "is this already covered by a > boolean" and then double checking your file contexts before even > considering an additional custom module. > > For some reason SELinux was blocking the updates to the zone files that are the result of DHCP leases being issued. Fixed now. Also I run MailScanner and the SELinux context needed corrected on mqueue.in, in addition to allowing SSH to operate on the non-standard port I've set it to. Thanks Ken -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS-announce Digest, Vol 101, Issue 15
Send CentOS-announce mailing list submissions to centos-annou...@centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-requ...@centos.org You can reach the person managing the list at centos-announce-ow...@centos.org When replying, please edit your Subject line so it is more specific than "Re: Contents of CentOS-announce digest..." Today's Topics: 1. CEBA-2013:1098 CentOS 6 system-config-dateFASTTRACK Update (Johnny Hughes) 2. CEEA-2013:X005 Xen4CentOS e1000e Update (Johnny Hughes) -- Message: 1 Date: Mon, 22 Jul 2013 14:46:41 + From: Johnny Hughes Subject: [CentOS-announce] CEBA-2013:1098 CentOS 6 system-config-date FASTTRACK Update To: centos-annou...@centos.org Message-ID: <20130722144641.ga54...@n04.lon1.karan.org> Content-Type: text/plain; charset=us-ascii CentOS Errata and Bugfix Advisory 2013:1098 Upstream details at : https://rhn.redhat.com/errata/RHBA-2013-1098.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 6e5ad619ff0414a256f5cb76c9789f258a374622166abbe26423134a5464cfcd system-config-date-1.9.60-2.el6.centos.noarch.rpm x86_64: 6e5ad619ff0414a256f5cb76c9789f258a374622166abbe26423134a5464cfcd system-config-date-1.9.60-2.el6.centos.noarch.rpm Source: 3512ffe60fcbeb6aa4d66c27390e199a0b7ac513e9668e5d0c4d2d532e6452d1 system-config-date-1.9.60-2.el6.centos.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net -- Message: 2 Date: Mon, 22 Jul 2013 10:57:06 -0500 From: Johnny Hughes Subject: [CentOS-announce] CEEA-2013:X005 Xen4CentOS e1000e Update To: CentOS-Announce Message-ID: <51ed5652.3060...@centos.org> Content-Type: text/plain; charset="iso-8859-1" CentOS Errata and Enhancement Advisory 2013:X005 (Xen4CentOS) The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) - X86_64 - e1000e-2.4.14-3.4.53.1.el6.centos.alt.x86_64.rpm: e135714af07c2cfccda09de474529be7a2d508ed0bc5fcd477efb9954d5fb07a - Source: - e1000e-2.4.14-3.4.53.1.el6.centos.alt.src.rpm: cd73e9955e406745b3b1ec19880295b779995092e87ba85669cf7af6f46b4e91 == Corrected the following CentOS Bugs in this Kernel: http://bugs.centos.org/view.php?id=6562 == e1000e Changelog info from the SPEC file: * Sun Jul 21 2013 Akemi Yagi tora...@centos.org - 2.4.14-3.4.53.1.el5.centos.alt - Added Makefile patch to enable mock build. * Thu Jul 18 2013 Johnny Hughes joh...@centos.org - 2.4.14-3.4.53.el6.centos.alt - initial build for the Xen4CentOS project - CentOS bug 6562 == Note: This package installs a new e1000e driver that adds hardware detection for the e1000e kernel driver. It only works for the 3.4.x Xen4CentOS Kernel and must be upgraded for every new kernel. We only recommned using this if the standard kernel driver from the 3.4.x Xen4CentOS Kernel is not working for you. -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #centos at irc.freenode.net -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature Url : http://lists.centos.org/pipermail/centos-announce/attachments/20130722/9f251bbf/attachment-0001.bin -- ___ CentOS-announce mailing list centos-annou...@centos.org http://lists.centos.org/mailman/listinfo/centos-announce End of CentOS-announce Digest, Vol 101, Issue 15 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SELinux Question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/23/2013 07:15 AM, Ken Smith wrote: > > James Hogarth wrote: >> On 23 Jul 2013 07:42, "Ken Smith" wrote: >> >>> For some reason auditd wasn't running or enabled. I'm now seeing the >>> messages I needed in /var/log/messages. I'm running bind chrooted and >>> various other tweeks mean I need to set SELinux accordingly. >>> >>> >> Bind chroot via the standard chroot package should just with with >> selinux... >> >> Be careful that you don't just follow the audit.log blindly (eg >> audit2allow -aM) but think through each but carefully... >> >> I'd suggest starting for each exception with "is this already covered by >> a boolean" and then double checking your file contexts before even >> considering an additional custom module. >> >> > For some reason SELinux was blocking the updates to the zone files that are > the result of DHCP leases being issued. Fixed now. Also I run MailScanner > and the SELinux context needed corrected on mqueue.in, in addition to > allowing SSH to operate on the non-standard port I've set it to. > > Thanks > > Ken > named_write_master_zones boolean? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHug3sACgkQrlYvE4MpobMBCwCgjylf0DDKk3nl8gfBXwfrG8dA 9AQAoLX8zbv56mHJK5Xql8PCRkKDZlfn =b2mZ -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How often is kernel "touching" swap partition?
Hello, I am going to buy new laptop with two drives, one SSD and one HDD and I want to place swap partition on HDD which will be most time unused and therefore spinned down. Problem is, that I don't know, if or how often is kernel touching swap space even if there is lot of free memory and thus spinning HDD up. Thank you in advance ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How often is kernel "touching" swap partition?
Martin Šťastný wrote: > Hello, > > I am going to buy new laptop with two drives, one SSD and one HDD and I > want to place swap partition on HDD which will be most time unused and > therefore spinned down. Problem is, that I don't know, if or how often is > kernel touching swap space even if there is lot of free memory and thus > spinning HDD up. > You should partition your drives anyway: a small, like 1G, partition for /boot. For swap, the old Received Wisdom was 2-2.5 times RAM; these days, it's "make swap to be 2G (for emergencies). Put swap on the SSD, I *guess*... if it's enterprise grade, and not "consumer grade", which will eventually give up with too many writes. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How often is kernel "touching" swap partition?
On 07/23/2013 01:22 PM, Martin Šťastný wrote: > how often is kernel touching swap space There's a kernel tunable called "swappiness" [1] to control that. You can add an entry in /etc/sysctl.conf like this: vm.swappiness=0 ...and the kernel will avoid, as much as it can, to use swap. HTH, Jorge [1]: http://en.wikipedia.org/wiki/Swappiness ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How often is kernel "touching" swap partition?
Thank you for you responses, first of all I need same amount of swap space as of memory, because I want to use hibernation. Problem of placing swap partition on SSD is not with too many writes, but with to much space used for nothing (in my case 8 GB, 16 GB in not so far future). I know about "swappiness" kernel tunable, but I guess it has nothing to do with how often is partition "simply touched for nothing" and therefore hard drive is spinned up. For example - if I set HDD to spin down after two minutes and kernel will touch swap approximately every five minutes, it means that hard drive will be spinned up 120 times every day (10 hours of power on), 43 800 cycles per year which will definitely wreck my HDD :-(. 2013/7/23 Jorge Fábregas > On 07/23/2013 01:22 PM, Martin Šťastný wrote: > > how often is kernel touching swap space > > There's a kernel tunable called "swappiness" [1] to control that. You > can add an entry in /etc/sysctl.conf like this: > > vm.swappiness=0 > > ...and the kernel will avoid, as much as it can, to use swap. > > HTH, > Jorge > > [1]: http://en.wikipedia.org/wiki/Swappiness > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fwd: When no MTA is installed, How to send an email with a cronjob?
On 07/23/2013 03:07 AM, Indunil Jayasooriya wrote: > I think your method is the easiest way. It almost certainly isn't easier than installing ssmtp. Everything that you'd have to to to get ssmtp to work you will also need to do to that python code, plus you have to manually send email for every job where you need it. > Should I APPEND the PATH of the script (/root/send_email.py) to > /root/scripts/backup.sh file. ? > > I just ran this script (i.e - /root/send_email.py). It worked. I got the > email. But no subject there. How can I add a subject called " CRON JOB > OUTPUT " to the email receive . You're going to have to create your own RFC compliant headers. See how that's already more complicated than using ssmtp? (Cron already does that work if you install an MTA, such as ssmtp) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How often is kernel "touching" swap partition?
You know that you don't need a swap partition for hibernation? s2disk(uswsusp) makes a swapfile on your hdd prior to hibernating and only activates it for hibernation purposes, so you don't have to have swap active all the time. On 2013-07-23 20:28, Martin Šťastný wrote: > Thank you for you responses, > > first of all I need same amount of swap space as of memory, because I > want > to use hibernation. Problem of placing swap partition on SSD is not > with > too many writes, but with to much space used for nothing (in my case 8 > GB, > 16 GB in not so far future). I know about "swappiness" kernel tunable, > but > I guess it has nothing to do with how often is partition "simply > touched > for nothing" and therefore hard drive is spinned up. For example - if I > set > HDD to spin down after two minutes and kernel will touch swap > approximately > every five minutes, it means that hard drive will be spinned up 120 > times > every day (10 hours of power on), 43 800 cycles per year which will > definitely wreck my HDD :-(. > > 2013/7/23 Jorge Fábregas > >> On 07/23/2013 01:22 PM, Martin Šťastný wrote: >> > how often is kernel touching swap space >> >> There's a kernel tunable called "swappiness" [1] to control that. You >> can add an entry in /etc/sysctl.conf like this: >> >> vm.swappiness=0 >> >> ...and the kernel will avoid, as much as it can, to use swap. >> >> HTH, >> Jorge >> >> [1]: http://en.wikipedia.org/wiki/Swappiness >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
QUESTION: Why does my Centos 6.4 laptop keep wiping out my eth0 IP address? SUMMARY: a) I set the IP address of eth0 b) Everything works fine for 2 to 5 minutes c) Then, that eth0 IP address is (somehow?) wiped out I frustratingly repeat that abc process (over and over and over again) BACKGROUND: My home network has been working perfectly and there is no problem with my home network, nor my wlan0 WiFi access from my Centos laptop to that home broadband network. Inside the house, I never use the wired (eth0) NIC; but, I'm trying to set up a wired/wireless connection outside the house and that is where I'm running into this problem where Centos (automatically?) constantly and repeatedly wipes out the IP address I set on eth0. I can easily (constantly) change the IP address of the eth0 NIC back to what I want it to be; but that IP address only stays set for about 2 to 5 minutes; and then it wipes itself out (again & again). Why? How do I stop this? (All I want is for eth0 to *stay* at the IP address I set it to!) To give you more contextual detail, here's a typical sequence. SIMPLE BASELINE: Wireless NIC (wlan0) is turned off using a hardware switch on the outside of the laptop (so that only one NIC is in play). STARTING POINT: (eth0 has no IP address) $ ifconfig eth0 => eth0 Link encap:Ethernet HWaddr A0:BE:C1:D8:E5:F1 => inet6 addr: fe80::f2de:f1ff:fe38:8591/64 Scope:Link => UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 => RX packets:3139 errors:0 dropped:0 overruns:0 frame:0 => TX packets:3230 errors:0 dropped:0 overruns:0 carrier:0 => collisions:0 txqueuelen:1000 => RX bytes:2403080 (2.2 MiB) TX bytes:547895 (535.0 KiB) => Interrupt:20 Memory:f260-f262 I EASILY CAN SET THE IP ADDRESS of eth0: $ sudo ifconfig eth0 192.168.1.100 $ ifconfig eth0 => eth0 Link encap:Ethernet HWaddr A0:BE:C1:D8:E5:F1 =>inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 =>inet6 addr: fe80::f2de:f1ff:fe38:8591/64 Scope:Link =>UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 =>etc. At this point, I can now connect a wire from the RJ45 port of the laptop, to the device (which happens to be a radio set to 192.168.1.20): $ ping 192.168.1.20 => PING 192.168.1.20 (192.168.1.20) 56(84) bytes of data. => 64 bytes from 192.168.1.20: icmp_seq=1 ttl=64 time=1.38 ms => 64 bytes from 192.168.1.20: icmp_seq=2 ttl=64 time=0.339 ms => 64 bytes from 192.168.1.20: icmp_seq=3 ttl=64 time=0.255 ms ^C => --- 192.168.1.20 ping statistics --- => 3 packets transmitted, 3 received, 0% packet loss, time 2954ms => rtt min/avg/max/mdev = 0.255/0.660/1.388/0.516 ms I can even easily connect via port 80 (using Firefox on the laptop) to this device, e.g., $ firefox http://192.168.1.20 In fact, time and time (and time) again, everything works just fine, for about 2 to 5 minutes, until, invariably, I lose all connectivity! What seems to happen is that CentOS wipes out my IP address that I had set for eth0. So, I lose all connectivity. $ ifconfig eth0 => eth0Link encap:Ethernet HWaddr A0:BE:C1:D8:E5:F1 => inet6 addr: fe80::f2de:f1ff:fe38:8591/64 Scope:Link => UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 I can repeat the process, and everything works again, for about 2 to 5 minutes. Then I lose my eth0 IP address again. WHAT I WANT: When I set eth0 to an IP address, I want eth0 to *stay* at that IP address! My question: Q: Why does setting an eth0 IP address only last about 5 minutes on Centos? What am I doing wrong? What can I do to *keep* the IP address on eth0 that I set for eth0? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5minutes?
> -Original Message- > From: Rock > Sent: Tuesday, July 23, 2013 17:46 > > QUESTION: > Why does my Centos 6.4 laptop keep wiping out my eth0 IP address? Googling https://www.google.com/search?q=rhel+6+network+configuration&oq=rhel+6+network https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/ht ml/Deployment_Guide/ch-Network_Interfaces.html > > SUMMARY: > a) I set the IP address of eth0 > b) Everything works fine for 2 to 5 minutes > c) Then, that eth0 IP address is (somehow?) wiped out I frustratingly > repeat that abc process (over and over and over again) What is the contents of /etc/sysconfig/network-scripts/ifcfg-eth0 ? > > BACKGROUND: > My home network has been working perfectly and there is no problem > with my home network, nor my wlan0 WiFi access from my Centos laptop > to that home broadband network. > > Inside the house, I never use the wired (eth0) NIC; but, I'm trying to > set up a wired/wireless connection outside the house and that is where > I'm running into this problem where Centos (automatically?) constantly > and repeatedly wipes out the IP address I set on eth0. > > I can easily (constantly) change the IP address of the eth0 NIC back > to what I want it to be; but that IP address only stays set for about > 2 to 5 minutes; and then it wipes itself out (again & again). > > Why? How do I stop this? > (All I want is for eth0 to *stay* at the IP address I set it to!) > > To give you more contextual detail, here's a typical sequence. > > SIMPLE BASELINE: > Wireless NIC (wlan0) is turned off using a hardware switch on the > outside of the laptop (so that only one NIC is in play). > > STARTING POINT: (eth0 has no IP address) $ ifconfig eth0 => eth0 Link > encap:Ethernet HWaddr A0:BE:C1:D8:E5:F1 > => inet6 addr: fe80::f2de:f1ff:fe38:8591/64 Scope:Link > => UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > => RX packets:3139 errors:0 dropped:0 overruns:0 frame:0 > => TX packets:3230 errors:0 dropped:0 overruns:0 carrier:0 > => collisions:0 txqueuelen:1000 > => RX bytes:2403080 (2.2 MiB) TX bytes:547895 (535.0 KiB) > => Interrupt:20 Memory:f260-f262 > > I EASILY CAN SET THE IP ADDRESS of eth0: > $ sudo ifconfig eth0 192.168.1.100 > $ ifconfig eth0 > => eth0 Link encap:Ethernet HWaddr A0:BE:C1:D8:E5:F1 > =>inet addr:192.168.1.100 Bcast:192.168.1.255 > Mask:255.255.255.0 > =>inet6 addr: fe80::f2de:f1ff:fe38:8591/64 Scope:Link > =>UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > =>etc. > > At this point, I can now connect a wire from the RJ45 port of the > laptop, to the device (which happens to be a radio set to > 192.168.1.20): > > $ ping 192.168.1.20 > => PING 192.168.1.20 (192.168.1.20) 56(84) bytes of data. > => 64 bytes from 192.168.1.20: icmp_seq=1 ttl=64 time=1.38 ms => 64 > bytes from 192.168.1.20: icmp_seq=2 ttl=64 time=0.339 ms => 64 bytes > from 192.168.1.20: icmp_seq=3 ttl=64 > time=0.255 ms ^C => --- 192.168.1.20 ping statistics --- => 3 packets > transmitted, 3 received, 0% packet loss, time 2954ms => rtt > min/avg/max/mdev = 0.255/0.660/1.388/0.516 ms > > I can even easily connect via port 80 (using Firefox on the > laptop) to this device, e.g., $ firefox http://192.168.1.20 > > In fact, time and time (and time) again, everything works just fine, > for about 2 to 5 minutes, until, invariably, I lose all connectivity! > > What seems to happen is that CentOS wipes out my IP address that I had > set for eth0. So, I lose all connectivity. > > $ ifconfig eth0 > => eth0Link encap:Ethernet HWaddr A0:BE:C1:D8:E5:F1 > => inet6 addr: fe80::f2de:f1ff:fe38:8591/64 Scope:Link > => UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > > I can repeat the process, and everything works again, for about 2 to > 5 minutes. Then I lose my eth0 IP address again. > > WHAT I WANT: > When I set eth0 to an IP address, I want eth0 to *stay* at that IP > address! > > My question: > Q: Why does setting an eth0 IP address only last about 5 minutes on > Centos? > What am I doing wrong? > What can I do to *keep* the IP address on eth0 that I set for eth0? > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mail
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On 7/23/2013 2:46 PM, Rock wrote: > WHAT I WANT: > When I set eth0 to an IP address, I want eth0 to*stay* at that IP address! > > My question: > Q: Why does setting an eth0 IP address only last about 5 minutes on Centos? > What am I doing wrong? > What can I do to*keep* the IP address on eth0 that I set for eth0? the interface is probably configured for DHCP via /etc/sysconfig/network-scripts/ifcfg-eth0 and your system is undoubtedly running network-manager. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013, Rock wrote: > Why? How do I stop this? > (All I want is for eth0 to *stay* at the IP address I set it to!) finger > NetworkManager. Probably need NM_CONTROLLED=no in ifcfg-eth0. -steve ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
Try to stop network manager service NetworkManager stop ; service nrtwork restart On Jul 23, 2013 2:54 PM, "Steve Thompson" wrote: > On Tue, 23 Jul 2013, Rock wrote: > > > Why? How do I stop this? > > (All I want is for eth0 to *stay* at the IP address I set it to!) > > finger > NetworkManager. > > Probably need NM_CONTROLLED=no in ifcfg-eth0. > > -steve > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On 7/23/2013 2:59 PM, Fidel Dominguez wrote: > Try to stop network manager > service NetworkManager stop ; service nrtwork restart which will likely break your wifi. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 14:50:35 -0700, John R Pierce wrote: > the interface is probably configured for DHCP via > /etc/sysconfig/network-scripts/ifcfg-eth0 and your system is > undoubtedly running network-manager. I don't know *how* to tell if I'm running network-manager, but, I'm running whatever everyone else runs on Centos since the home broadband network has been working for a year or more with this laptop without problems. When I set the laptop back to normal (on the home wireless network), here is what shows up when I right click on the network icon: http://i43.tinypic.com/11h7ynk.png Interestingly, that ifcfg-eth0 file doesn't exist in: $ ls /etc/sysconfig/network-scripts/ifcfg-eth0 => ifcfg-Auto_eth0 ifdown-post ifup-ipppifup-tunnel => ifcfg-lo ifdown-ppp ifup-ipv6ifup-wireless => ifcfg-wlan0 ifdown-routes ifup-isdninit.ipv6-global => ifdownifdown-sit ifup-plipnet.hotplug => ifdown-bnep ifdown-tunnel ifup-plusb network-functions => ifdown-ethifup ifup-postnetwork-functions-ipv6 => ifdown-ippp ifup-aliases ifup-ppp => ifdown-ipv6 ifup-bnep ifup-routes => ifdown-isdn ifup-eth ifup-sit But, that file does apparently exist elsewhere: $ sudo updatedb; locate ifcfg-eth0 => /etc/sysconfig/networking/devices/ifcfg-eth0 => /etc/sysconfig/networking/profiles/default/ifcfg-eth0 $ cat /etc/sysconfig/networking/devices/ifcfg-eth0 => DEVICE="eth0" => NM_CONTROLLED="yes" => ONBOOT=yes => TYPE=Ethernet => BOOTPROTO=none => DEFROUTE=yes => IPV4_FAILURE_FATAL=no => IPV6INIT=no => NAME="System eth0" => UUID=5fb06ba0-0bb0-7ffb-45a1-d6edd65f3e03 => HWADDR=A0:BE:C1:D8:E5:F1 => IPADDR=192.168.1.254 => PREFIX=24 => GATEWAY=192.168.1.20 => LAST_CONNECT=1346858976 Q: Does the information above help? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 17:54:13 -0400, Steve Thompson wrote: > Probably need NM_CONTROLLED=no in ifcfg-eth0. $ sudo updatedb; locate ifcfg-eth0 => /etc/sysconfig/networking/devices/ifcfg-eth0 => /etc/sysconfig/networking/profiles/default/ifcfg-eth0 $ grep NM /etc/sysconfig/networking/devices/ifcfg-eth0 => NM_CONTROLLED="yes" If I set this to "no" and reboot, will it have any negative implication for my normal wireless network (which I use all day)? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On 7/23/2013 3:51 PM, Rock wrote: > => NM_CONTROLLED="yes" there ya go!(NM == NetworkManager) as root, service NetworkManager status will undoubtedly say its running (and its not something you want to stop as its required for wifi and such). so, set the above line to ="no" and you can manually configure that port. or, use the Network Manager GUI to configure it. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On 7/23/2013 3:57 PM, Rock wrote: > On Tue, 23 Jul 2013 17:54:13 -0400, Steve Thompson wrote: > >> >Probably need NM_CONTROLLED=no in ifcfg-eth0. > $ sudo updatedb; locate ifcfg-eth0 > => /etc/sysconfig/networking/devices/ifcfg-eth0 > => /etc/sysconfig/networking/profiles/default/ifcfg-eth0 > > $ grep NM /etc/sysconfig/networking/devices/ifcfg-eth0 > => NM_CONTROLLED="yes" > > If I set this to "no" and reboot, will it have any negative > implication for my normal wireless network (which I use all day)? you'd be better off configuring your eth0 via Network Manager's GUI. mixing manual editing of config files and the GUI is messy. see https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-NetworkManager.html -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013, Rock wrote: > If I set this to "no" and reboot, will it have any negative > implication for my normal wireless network (which I use all day)? It will not; it has effect only for eth0. Steve ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 16:02:18 -0700, John R Pierce wrote: > service NetworkManager status will undoubtedly say its running Hi John, It doesn't even have to be queried as root; it *does* say it's running: $ service NetworkManager status => NetworkManager (pid 2455) is running... > so, set the above line to ="no" and you can manually configure that port. Am I correct in "assuming" the file to change is this one? /etc/sysconfig/networking/devices/ifcfg-eth0 And not this one? /etc/sysconfig/networking/profiles/default/ifcfg-eth0 > or, use the Network Manager GUI to configure it. I didn't want to complicate things, but whenever I use the GUI from right clicking on the four bars, the same thing happens (eth0 disconnects after a few minutes): http://i43.tinypic.com/11h7ynk.png ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 16:05:23 -0700, John R Pierce wrote: > https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-NetworkManager.html That reference doesn't say much about what to set the gateway to: http://i41.tinypic.com/1z2n6uv.jpg Reading section 8.3.9.4 "Configuring IPv4 Settings": https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Configuring_Connection_Settings.html All it says about the "Gateway" is: Gateway — The IP address of the gateway leading to the network, sub-net or host. In my situation, I'm connecting a CAT5 cable from the RJ45 eth0 port of the laptop to a radio, which is a router, which is, by default, set up to *not* hand out DHCP addresses (Ubiquiti Nanobridge M2) and which is set up, by default, on IP address 192.168.1.20. Given that information, do you have any idea what I should set the gateway to in the suggested forms? (they won't let me leave the gateway blank) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On 7/23/2013 4:10 PM, Rock wrote: > Am I correct in "assuming" the file to change is this one? > /etc/sysconfig/networking/devices/ifcfg-eth0 > > And not this one? > /etc/sysconfig/networking/profiles/default/ifcfg-eth0 odd, the RHEL6 docs say that file should be in /etc/sysconfig/network-scripts and that the files in /etc/sysconfig/networking/devices shouldn't be messed with https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-NetworkManager.html https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Configuring_Connection_Settings.html https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Network_Interfaces.html https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-networkscripts-interfaces.html etc etc (these are all links off that first page, or each other) on that 3rd link, note the last thing on the page about /etc/sysconfig/networking/... being deprecated. hmm, when you configured it with the GUI, did you set that eth0 connection to 'Manual' ? btw re your other question about gateway, there should be ONE global default route to the internet regardless of the interface. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 23:10:44 +, Rock wrote: > I didn't want to complicate things, but whenever I use the GUI from right > clicking on the four bars, the same thing happens (eth0 disconnects after > a few minutes): Maybe I was editing it wrongly. How does this look? http://i43.tinypic.com/n3lsnk.png The question is what to make the "gateway" since the GUI insists on having a gateway. In my case, I'm plugging in a Ubiquiti Nanobridge M2 radio/router, which is configured, by default, on 192.168.1.20. So, I set the eth0 of the laptop to anything on that same subnet, e.g., 192.168.1.100; but I don't know what to set the Network Manager "gateway" to. Q: Should I set the NM gateway to the IP address of the radio/router? Note: The desired connection is: a) Laptop sitting 300 feet from the house b) It's ok if the wireless wlan0 NIC is manually turned off c) The wired eth0 NIC is set to the subnet of the radio (e.g., 192.168.1.100) d) I don't know *what* to set the eth0 gateway to (192.168.1.20?) Then, a CAT5 cable is connected from the laptop RJ45 eth0 port to the one and only RJ45 port on the Ubiquiti Nanobridge M2 radio. At that point, I would ping the radio (at 192.168.1.20) over that eth0 wire, and then connect over that same eth0 wire with Firefox to http://192.168.1.20 (the default login = ubnt, and the default password = ubnt). Once logged into the radio GUI, I can set it up to connect to my home broadband router access point (or to a local Starbucks five miles down the road, for that matter). QUESTION: Given that the Network Manager is insisting on me giving it a "gateway", what would you suggest I set the "gateway" to in the Network Manager? Note: I realize this may no longer be a Centos question... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, Jul 23, 2013 at 11:40:05PM +, Rock wrote: > On Tue, 23 Jul 2013 23:10:44 +, Rock wrote: > > > I didn't want to complicate things, but whenever I use the GUI from right > > clicking on the four bars, the same thing happens (eth0 disconnects after > > a few minutes): > > Maybe I was editing it wrongly. > > How does this look? > http://i43.tinypic.com/n3lsnk.png > > The question is what to make the "gateway" since the GUI insists on having > a gateway. The gateway would be the address of the device on your network that knows how to route packets outward. In my case, where we have some wired systems and some wireless, both managed by a home router at 192.168.2.1, the gateway for all systems is 192.168.2.1, since that system knows how to send packets outward, as necessary. your network sounds as if it may be slightly more complicated, so I'm not sure I can advise you, as my mental picture of your network is a bit fuzzy. > > In my case, I'm plugging in a Ubiquiti Nanobridge M2 radio/router, which > is configured, by default, on 192.168.1.20. > > So, I set the eth0 of the laptop to anything on that same subnet, e.g., > 192.168.1.100; but I don't know what to set the Network Manager "gateway" > to. > > Q: Should I set the NM gateway to the IP address of the radio/router? > > Note: The desired connection is: > > a) Laptop sitting 300 feet from the house > b) It's ok if the wireless wlan0 NIC is manually turned off > c) The wired eth0 NIC is set to the subnet of the radio (e.g., 192.168.1.100) > d) I don't know *what* to set the eth0 gateway to (192.168.1.20?) > > Then, a CAT5 cable is connected from the laptop RJ45 eth0 port to > the one and only RJ45 port on the Ubiquiti Nanobridge M2 radio. > > At that point, I would ping the radio (at 192.168.1.20) over that eth0 wire, > and then connect over that same eth0 wire with Firefox to http://192.168.1.20 > (the default login = ubnt, and the default password = ubnt). > > Once logged into the radio GUI, I can set it up to connect to my home > broadband router access point (or to a local Starbucks five miles down > the road, for that matter). > > QUESTION: > Given that the Network Manager is insisting on me giving it a "gateway", > what would you suggest I set the "gateway" to in the Network Manager? > > Note: I realize this may no longer be a Centos question... > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos -- Fred Smith -- fre...@fcshome.stoneham.ma.us - The Lord is like a strong tower. Those who do what is right can run to him for safety. --- Proverbs 18:10 (niv) - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On 2013-07-23 7:40 PM, Rock wrote: > Q: Should I set the NM gateway to the IP address of the radio/router? Yes. 192.168.1.20 should be fine if you're only using these settings to get the nanobridge configured. But why not just see what IP, Gateway and DNS Servers your home router gives eth0 via DHCP and duplicate those settings statically? (presuming it's also the 192.168.1.x /24 network)... most home routers can be configured to reserve the same IP address for a particular MAC address (makes port forwarding via a DDNS account a lot easier), so those static settings wouldn't mess up your network if you didn't set eth0 back to DHCP. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Tue, 23 Jul 2013 21:14:02 -0400, Darr247 wrote: > But why not just see what IP, Gateway and DNS Servers your home router > gives eth0 via DHCP and duplicate those settings statically? (presuming > it's also the 192.168.1.x /24 network) I only partially understand what I *think* you're trying to tell me as I am clearly not a network guru. I *think* you're saying I should first plug the laptop, by cat5 cable from eth0 of the laptop to the home broadband router, and then write down whatever IP address I get, the gateway, and the DNS Server thru it's DHCP assignments. [Note: I already have a WinXP PC attached to that home broadband router, so, maybe I can get that information from it?] Then, I think you're saying I should take the CentOS laptop, instead of using the puny wireless NIC inside it, I should use the eth0 NIC connected to the 23 dBm radio and its 18 dBi antenna, so that the laptop essentially has 41 decibels of WiFi beamed at the house open guest access point, 300 feet away. Is that right? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] NFS not exporting filesystem ACLs
Hi. I have a test system in an lab I have copied over the /etc/sysconfig/nfs and /etc/exports from productions all the same services are running. But in the test environment the client mounts the nfs exports but the file system ACLs are not visible , what have I missed ? I have stopped the firewall on the server and that didn't help. Filesystem acls are enabled in fstab for the file system with the exports on it. We are using nfs v3 and it's configured on the server and in the mounts on the client. Thanks Greg ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NFS not exporting filesystem ACLs
Found the issue.. a copy paste error . Apologies . On Wed, Jul 24, 2013 at 4:27 PM, Gregory Machin wrote: > Hi. > I have a test system in an lab I have copied over the /etc/sysconfig/nfs > and /etc/exports from productions all the same services are running. But in > the test environment the client mounts the nfs exports but the file system > ACLs are not visible , what have I missed ? > > I have stopped the firewall on the server and that didn't help. > Filesystem acls are enabled in fstab for the file system with the exports > on it. > We are using nfs v3 and it's configured on the server and in the mounts on > the client. > > Thanks > > Greg > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On 2013-07-23 10:34 PM, Rock wrote: > I only partially understand what I *think* you're trying to tell me as > I am clearly not a network guru. I *think* you're saying I should > first plug the laptop, by cat5 cable from eth0 of the laptop to the > home broadband router, and then write down whatever IP address I get, > the gateway, and the DNS Server thru it's DHCP assignments. Yes. You might also be able to set the home broadband router to give the laptop's eth0 the same IP address every time it sees eth0's MAC address ask for an IP. What brand/model is the home broadband router, by the way? > [Note: I already have a WinXP PC attached to that home broadband > router, so, maybe I can get that information from it?] Well, you could... but all you'll get from that is the gateway and DNS settings. Note that setting the Gateway to match isn't necessarily going to make it use that gateway if there's no path to it (the nano would have to be connected to the home router to pass that traffic along)... you were asking what to put in that field so you could save the settings, and using an actual gateway IP is better than just picking a random IP in the network, in my opinion. > Then, I think you're saying I should take the CentOS laptop, instead > of using the puny wireless NIC inside it, I should use the eth0 NIC > connected to the 23 dBm radio and its 18 dBi antenna, so that the > laptop essentially has 41 decibels of WiFi beamed at the house open > guest access point, 300 feet away. Well, that would result in an EIRP of almost 13W, or about 30 times the legal limit for licensed HAMs on channel 6 and below in the 2.4GHz band, or 60 times the legal limit unlicensed, unless you use a highly directional antenna. But that also assumes you're in FCC land (I don't know for a fact there aren't Starbucks worldwide :). > Is that right? Not necessarily... from > In my situation, I'm connecting a CAT5 cable from the RJ45 eth0 port of the > laptop > to a radio, which is a router, which is, by default, set up to*not* hand out > DHCP addresses (Ubiquiti Nanobridge M2) and which is set up, by default, on IP > address 192.168.1.20. > I inferred you wanted to make the laptop talk to the ubiquiti nano through the RJ45 port in order to configure it. If I misunderstood the intent, I apologize. Otherwise, you didn't really tell us any plans for it besides connecting to the Wayport Access network at Starbucks 5 miles away... which likely won't work without lengthening the Ack wait times - *at both ends* - for what that info's worth; most units will wait only long enough for the signal to travel between 400 and 1000 yards before giving up and resending the packets... (assuming they're even able to exchange enough packets to actually negotiate and establish a connection). That's one reason why "more power" is rarely the solution to wireless problems. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Wed, 24 Jul 2013 01:09:29 -0400, Darr247 wrote: > What brand/model is the home broadband router, by the way? Netgear N600. I bought it in a moment of weakness; but it's far too anemic to make it outside by the BBQ where I want to set up the computer. So, my goal is to connect the Nanobridge M2 to my laptop when I'm at the BBQ, and to beam that Nanobridge M2 at the house, to pick up the Netgear N600 open "guest" SSID access point. Does that sound workable? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Wed, 24 Jul 2013 01:09:29 -0400, Darr247 wrote: > that would result in an EIRP of almost 13W, or about 30 times the > legal limit for licensed HAMs on channel 6 and below in the 2.4GHz band, > or 60 times the legal limit unlicensed, unless you use a highly > directional antenna. But that also assumes you're in FCC land I'm in the USA. The Ubiquiti Nanobridge M2 is a legally bought and sold radio in the US. I can't imagine that using it would be illegal from a power standpoint. Maybe I got the numbers wrong? http://site.microcom.us/nbm2_datasheet Shouldn't that Nanobridge m2 be powerful enough to reach the 300 feet or so to go from my BBQ to my home broadband router open "guest" access point? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On Wed, 24 Jul 2013 01:09:29 -0400, Darr247 wrote: > I inferred you wanted to make the laptop talk to the ubiquiti > nano through the RJ45 port in order to configure it. Well, that is a necessary evil, so, yes, that is the first step, to configure it. But, I'll take up that configuration elsewhere, as that's not a CentOS issue per se. Right now, I only want to know what to set the gateway to, as that is somewhat of a CentOS issue (regarding how it's set anyway). When my Centos laptop (192.168.1.3) is connected wirelessly to my home network (192.168.1.x), on wlan0, the following is seen on Centos: $ ifconfig wlan0 => wlan0 Link encap:Ethernet HWaddr 0A:2B:DC:7D:8E:AF => inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0 => etc. The gateway is apparently set to the home broadband router IP address (192.168.1.1): $ route -n => Kernel IP routing table => Destination Gateway Genmask Flags Metric Ref Use Iface => 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0 => 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 Where the gateway is 192.168.1.1 and it's up (U) and it's a gateway (G). This command confirms the current gateway, when acting through wlan0, is 192.168.1.1 (which is the Netgear N600 broadband router): $ route (or netstat -r): => Kernel IP routing table => Destination Gateway Genmask Flags Metric Ref Use Iface => 192.168.1.0 * 255.255.255.0 U 2 0 0 wlan0 => default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 I think this shows similar information: $ ip route show => 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.3 metric 2 => default via 192.168.1.1 dev wlan0 proto static And, I must have edited the gateway in the past, because of this comment: $ cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=rock #GATEWAY=192.168.1.1 Given that the Centos Network Manager requires a gateway in its GUI, I'm wondering if I should use a gateway of the Nanobridge M2 (192.168.1.20) or a gateway of my N600 broadband router (192.168.1.1). PS: I really do not understand what a gateway is. :( ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On 7/23/2013 10:37 PM, Rock wrote: > Maybe I got the numbers wrong? > http://site.microcom.us/nbm2_datasheet > > Shouldn't that Nanobridge m2 be powerful enough to reach the 300 feet > or so to go from my BBQ to my home broadband router open "guest" > access point? that thing has a pretty narrow beam, it will need to be aimed carefully and mounted on a stable bracket that will take wind load without moving. you should be able to get 300 feet of mostly open space with a simple panel antenna, something like this, http://www.microcom.us/ezgo0214pnl.html you can put a range of radio/router boards inside that enclosure/antenna, like... http://www.microcom.us/wireless-lan--access-point---client-bridge--oem-module.html -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] rrdtool :: rrdcached missing
Hi! Does anyone know where i can find an rrdtool rpm which contains rrdcached? it seems that there is no rrdcached rpm and rrdtool rpms from all known repos (base,epel,rpmforge) dont have rrdcached ... Thanks! Adrian ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?
On 7/23/2013 10:15 PM, Rock wrote: > Netgear N600. ... it's far too anemic to make it outside by the BBQ where I > want to set up the computer. really? my N600 has great range. mine is a wndr3700v3, I'm using it as a bridge/access point rather than as a router. put it up high, on edge, with the big flat shiny side facing the space you want to cover best, and nothing around it. top of a bookcase is what I'm using. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fwd: When no MTA is installed, How to send an email with a cronjob?
@ Indunil Jayasooriya IIRC, in one of your follow up post, you mention that you have the Zimbra suite installed and running on *this* machine (which is why you might have had to remove the distro's default postfix in the first place). If above is true then you should try to figure out how to send the cron emails using Zimbra's MTA (which BTW is also postfix). Why are you trying to re-invent the wheel? Am I missing something here? -- Arun Khan Sent from my non-iphone/non-android device ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos