Re: [CentOS] Upgrading CentOS from 7 to 8
El 29/9/21 a las 15:24, Gestió Servidors escribió: Hi, I'm doing some tests of upgrading CentOS from 7 to 8 reading this step-by-step guide: https://netshopisp.medium.com/how-to-upgrade-linux-servecentos-7-to-centos-8-ec2db96a189b I'm trying this upgrade in a VM, so I can save "snapshots" and restart in a past saved point. However, all my test ends wrong, exacly in Step 4 when I run "rpm -e `rpm -q kernel`". Then, systems says that some packages are kernel dependencies. After I remove that dependencies, I can't remove kernel... Anybody has tested process upgrade from 7 to 8? Thanks. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos Me!, some worked, Others no. It's easier in machines without a GUI, but failed without it also. A few got "upgraded". Unable to say why ones worked and others no. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C7: NM and changing MAC addresses
El 11/10/21 a las 11:55, Tom Yates escribió: i need a way to stop anything from changing my external MAC address, as my ISP is extremely sensitive to additional MAC addresses appearing on my external NIC. i have done sudo nmcli conn mod eno1 802-3-ethernet.cloned-mac-address permanent and it's improved matters, but here's an example of it going wrong even so, from "tcpdump -n -n -e -i eno1 src 185.219.108.121" (which is my ipv4): 10:23:58.210653 ac:1f:6b:6c:5a:6e > bc:30:5b:f7:3e:c8, ethertype IPv4 (0x0800), length 114: 185.219.108.121.53002 > 198.252.206.25.443: Flags [P.], seq 2018:2066, ack 5333, win 501, options [nop,nop,TS val 4035938817 ecr 1709670339], length 48 10:23:58.405154 ac:1f:6b:6c:5a:6e > bc:30:5b:f7:3e:c8, ethertype IPv4 (0x0800), length 66: 185.219.108.121.44534 > 216.58.212.234.443: Flags [.], ack 21641, win 501, options [nop,nop,TS val 805137946 ecr 1062125308], length 0 10:23:58.447030 ac:1f:6b:6c:58:2d > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Request who-has 185.219.108.1 tell 185.219.108.121, length 46 10:23:58.447466 ac:1f:6b:6c:58:2d > bc:30:5b:f7:3e:c8, ethertype IPv4 (0x0800), length 342: 185.219.108.121.68 > 185.219.108.1.67: BOOTP/DHCP, Request from ac:1f:6b:6c:58:2d, length 300 10:23:58.629131 ac:1f:6b:6c:5a:6e > bc:30:5b:f7:3e:c8, ethertype IPv4 (0x0800), length 98: 185.219.108.121 > 8.8.8.8: ICMP echo request, id 105, seq 67, length 64 note the first two frames coming from ac:1f:6b:6c:5a:6e, the real MAC address, which has been happily all over the headers of the previous several thousand frames, but then two frames from ac:1f:6b:6c:58:2d, which *utterly* screw up my connection to my ISP. the old MAC address continues to be on some of the outgoing traffic. i have some grounds for thinking that the first or second frame with the "bad" mac address is always a BOOTP/DHCP frame, so i'm open to the idea that this is dhclient being "helpful", rather than NM. does anyone have any idea which daemon or service is responsible for this MAC-rebadging, and/or how i might stop it? Hello Perhaps the solution is this: https://access.redhat.com/solutions/70215HWADDR= Never see in CentOS but yes in Proxmox (bridge). Adding HWADDR= was a solution for me. But note this article asks you to change HWADDR= to MACADDR= Hope helps ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C7: NM and changing MAC addresses
El 11/10/21 a las 13:00, Tom Yates escribió: On Mon, 11 Oct 2021, José María Terry Jiménez wrote: Hello Perhaps the solution is this: https://access.redhat.com/solutions/70215HWADDR= thanks, but either that link is broken, or the site requires a login, as i can't see anything and get redirected to a general search page. could i trouble you to check the link? Uh oh! Some copypaste at the end Is this one https://access.redhat.com/solutions/70215 Checked I'm not logged into RH ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] failed: Could not start storage pool: cannot open directory: ... No such file or directory
El 13/1/23 a las 18:50, Kaushal Shriyan escribió: Hi, # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) #virt-install --version 1.5.0 # # ls -l /var/lib/libvirt/isos/ total 8302356 -rw-r--r--. 1 root root 4712300544 Aug 31 2021 CentOS-7-x86_64-DVD-2009.iso -rw-r--r--. 1 qemu qemu 990904320 Aug 11 2021 ubuntu-18.04.5-live-server-amd64.iso -rw-r--r--. 1 qemu qemu 1331691520 Feb 23 2022 ubuntu-20.04.4-live-server-amd64.iso -rw-r--r--. 1 qemu qemu 1466714112 Jun 28 2022 ubuntu-22.04-live-server-amd64.iso # virt-install --name demoreactui --ram 8096 --disk path=/linuxkvmguestosdisk/demoreactui.img,size=20 --vcpus 2 --os-variant ubuntu20.04 --network bridge=br0 --graphics none --console pty,target_type=serial --location /var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper/initrd --extra-args 'console=ttyS0,115200n8 serial' ERRORError validating install location: Validating install media failed: Could not start storage pool: cannot open directory '/var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper': No such file or directory Any clue and I look forward to hearing from you. Thanks in advance. Best Regards, Kaushal Hello See the man page https://linux.die.net/man/1/virt-install In location you must pass only the ISO file, you are passing parameters that virt-install uses as file name as it warns you: '/var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper/initrd' That's the file is trying to open, and obviously, don't exists. Best ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] automated smtp server check
El 04/11/14 a las 20:36, Frank Cox escribió: I would like to set up a cron job to automatically check whether my mailserver and webserver are up, and tell me if they're not. This script tells me if my webserver is up: #!/bin/bash wget -q --tries=10 --timeout=20 --spider http://melvilletheatre.com if [[ $? -eq 0 ]]; then echo "Online" else echo "Offline" fi How can I do the something similar with my mailserver? Or if someone knows of an integrated tool that will monitor this in a better way (whatever that may be), I'm more than interested. Hello I use Nmap to test if a server up in a port: $ nmap -p587 a.mail.server |grep -i 587 587/tcp open submission Or several ports: $ nmap -p25,143,587 a.mail.server |grep -i open 25/tcp open smtp 143/tcp open imap 587/tcp open submission If the server is working, the port is shown as open. You can parse it as desired to message you as you want Best ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need HELP with old DSL modem setup on CentOS 7
El 13/7/20 a las 0:50, Kay Schenk escribió: >> With your current setup in mind, do you know the modem internal >> IP? With that, set your computer's IP to be in the same network, >> verify the default route, and see if you can reach out to the modem. >> > I did this with a new network profile and activated it, but no good. I need > some info/tools on examining my "network" I think. > > >> Personally I would have the router between the two, but that is >> changing the problem instead of helping you fix yours. >> > Actually the router WAS between the modem and my desktop until I took > things apart and the router Was not part of the equation. I wanted to > verify the setup I had with JUST the modem, but I am at a loss on how to > get CentOS7 to access a "local" url on the same local network without > getting the "no network" business. > > Thank you for your suggestions. > > Regards, > Kay > As Mauricio said you must be in the same network that the DSL modem: Some considerations: I assume this is an Ethernet one and not USB one, right? Which IP are you trying to access? What is the computer IP and netmask? Did you tried to connect the MODEM directly to computer and set the IP to DHCP? Then look the IP you got and the gateway ( ip address show | grep -i "inet\ " **OR** ifconfig |grep -i "inet\ " ) and the default gateway ( ip route show | grep -i default ) The "usual" would be you try to access the MODEM in your gateway address, but may be other. The maker and model of MODEM would be great Good luck Best! ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Apologies - possible hardware problem?
El 16/11/20 a las 10:03, hw escribió: On Mon, 2020-11-16 at 09:58 +0100, hw wrote: [...] Put a minimal amount of RAM in and go through all of the modules to see if one or some of them are broken. Replace all RAM or test it in another computer. Replace the power supply. Replace CPU or test it in another mainboard. Replace mainboard. If the board has a backup BIOS, use that to boot. ___ Hello He said (or i understand) it worked with Ubuntu until tried CentOS. Maybe something about UEFI? Don't know, but, just to try. Best ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba setup
> El 28 ene 2021, a las 6:57, Robert G. (Doc) Savage via CentOS > escribió: > > On Tue, 2021-01-19 at 17:18 +0100, Götz Reinicke wrote: >> >> Anything in the samba logs? May be SELinux/Firewall issues? > > Götz, > > Unfortunately, no. > > The nmbd log verifies that the fileserver's samba service is the local > master browser for WORKGROUP on both eth0 and virbr0. > ... trimmed ... > > There's nothing in the SELinux logs for that date. > > I checked firewall-config on the storage server and verified that the > samba service is allowed (but not samba-client or samba-dc). > > Is there a really comprehensive setup checklist available for setting > up samba on CentOS? The partial how-tos I've been able to find are > obviously not enough. I'm looking for completer smb.conf setup, > firewall settings, required services, directory permissions, accounts, > and anything else that's required. I'm running up against very > unhelpful roadblocks that seem to indicate a critical permissions > problem but nothing specific. > > V/R > --Doc Savage > Fairview Heights, IL > ___ > Do you know guest access to shares is disabled in windows 10? https://docs.microsoft.com/troubleshoot/windows-server/networking/guest-access-in-smb2-is-disabled-by-default ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] libreoffice 5 slow after 7.3 update
El 13/12/16 a las 20:01, Alexandru Chiscan escribió: Hello all, After the update to 7.3 libreoffice (5.0.6.2-3.el7.x86_64) became unusable slow. For an excel file with 250 rows even a simple scroll takes a few seconds, during that time the Xorg server is 100% working and the GPU utilization is at about 77% (from NVIDIA server settings). I have tried disabling the hardware acceleration (options->view) and OpenCL (options) but the problem and the high usage for Xorg and GPU persisted. I have seen the the same bug (probably) was present in Fedora 23 (libreoffice version 5.0.5.2-1.fc23.x86_64 https://bugzilla.redhat.com/show_bug.cgi?id=1308700) Does anyone had the same problem and if yes what was the fix? Does RedHat 7.3 has the same problem? I have searched the bugzilla database and found only the Fedora bug. System info: Intel I3-6098P, 8GB ram, NVIDIA GT 240 with all the packages updated. libreoffice-ure-5.0.6.2-3.el7.x86_64 libreoffice-opensymbol-fonts-5.0.6.2-3.el7.noarch libreoffice-core-5.0.6.2-3.el7.x86_64 libreoffice-pyuno-5.0.6.2-3.el7.x86_64 libreoffice-calc-5.0.6.2-3.el7.x86_64 libreoffice-writer-5.0.6.2-3.el7.x86_64 libreoffice-emailmerge-5.0.6.2-3.el7.x86_64 libreoffice-base-5.0.6.2-3.el7.x86_64 libreoffice-math-5.0.6.2-3.el7.x86_64 libreoffice-impress-5.0.6.2-3.el7.x86_64 libreoffice-graphicfilter-5.0.6.2-3.el7.x86_64 libreoffice-pdfimport-5.0.6.2-3.el7.x86_64 libreoffice-draw-5.0.6.2-3.el7.x86_64 libreoffice-5.0.6.2-3.el7.x86_64 libreoffice-langpack-ro-5.0.6.2-3.el7.x86_64 libreoffice-langpack-en-5.0.6.2-3.el7.x86_64 nvidia-x11-drv-340xx-32bit-340.98-1.el7.elrepo.x86_64 nvidia-x11-drv-340xx-340.98-1.el7.elrepo.x86_64 kmod-nvidia-340xx-340.98-1.el7.elrepo.x86_64 OpenGL version string: 3.3.0 NVIDIA 340.98 server glx version string: 1.4 Best regards, Alexandru Chiscan Hello I had this problem in Fedora 22/23? and the solution was install LibreOffice 5.1 from the LibreOffice site. Best ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Voice/Fax Modem advice
El 4/10/17 a las 22:18, david escribió: > > > Interesting reference, but I see nothing that talks about using my > POTS (plain old telephone service) from the local phone company as > where my phone activity is. I do NOT use VOIP, SIP, nor a bunch of > other acronyms. This device has 1 FXO and 1 FXS port, you can connect 1 POTS and 1 Analog phone to it, they are "converted" to SIP and then you can manage that from Asterisk. The same that an analog card but instead connect to a computer slot, goes by Ethernet and cheaper (instead a DAHDI channel use a SIP channel). ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Problem mounting CIFS shares with credential file after SAMBA update
Hello all, This morning i updated my CentOS (5.4) and that included: samba-3.0.33-3.14.el5.i386.rpm samba-client-3.0.33-3.14.el5.i386.rpm samba-common-3.0.33-3.14.el5.i386.rpm samba-swat-3.0.33-3.14.el5.i386.rpm I have several mounts if fstab using a .credentials file that worked until i rebooted with this updates. I remember time ago was an issue with the format of credentials file (something about a LF at the end or something else) I've checked the file, added spaces between "=", added a line at the end, between username and passwd... but it doesn't work, i always get an error like (when i do mount -a): mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) (this is repeated for every CIFS share mounted in fstab) If i mount it "by hand" it works fine: # mount -tcifs -ousername= //192.168.0.100/x /media/x Password: And then, if i do a mount -a then works! (until i reboot, of course) # mount -a # Do anyone knows what is happening? Best, Jose Maria =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6) AntiVirus: ClamAV 0.95.2/9971 - Sun Nov 1 03:25:12 2009 by Markus Madlener @ http://www.copfilter.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem mounting CIFS shares with credential file afterSAMBA update
Hello I've just solved this (because i remembered what happened last time) The problem is that the credentials file must be being parsed incorrectly and any char after the password is passed as part of password (don't know if you understand me because my poor english). What i did is editing the .credentials file with an hex editor and deleting everything after the last character in the password. I've used ghex (yum install ghex) (ghex2 /path/to/.credentials) You'll find anything before the last password character (in my case was 0A (represented as a dot (.) ) in the ascii panel. Then goto the Ascii view (the right) and delete that dot, the (0A in hex becomes 0). That worked for me and this is being mounted on reboot without problems. Tell here if this worked for you. Best Samuel Contesse escribió: > Hi, > > I've the same problem on RHEL 5.4 after samba update. I almost tried > everything but I had to switch to -username=...,-password=... to get > CIFS mount point to work. I opened a case which has been closed > because a second system also running on RHEL 5.4 works with this update. > > Hope they will fix this issue... > > Sam > > On 1 nov. 2009, at 12:38, José María Terry Jiménez > wrote: > > >> Hello all, >> >> This morning i updated my CentOS (5.4) and that included: >> >> samba-3.0.33-3.14.el5.i386.rpm >> samba-client-3.0.33-3.14.el5.i386.rpm >> samba-common-3.0.33-3.14.el5.i386.rpm >> samba-swat-3.0.33-3.14.el5.i386.rpm >> >> I have several mounts if fstab using a .credentials file that worked >> until i rebooted with this updates. >> >> I remember time ago was an issue with the format of credentials file >> (something about a LF at the end or something else) >> >> I've checked the file, added spaces between "=", added a line at the >> end, between username and passwd... but it doesn't work, i always >> get an >> error like (when i do mount -a): >> mount error 13 = Permission denied >> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) >> >> (this is repeated for every CIFS share mounted in fstab) >> >> If i mount it "by hand" it works fine: >> # mount -tcifs -ousername= //192.168.0.100/x /media/x >> Password: >> >> And then, if i do a mount -a then works! (until i reboot, of course) >> >> # mount -a >> # >> >> Do anyone knows what is happening? >> >> Best, >> Jose Maria >> >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- >> Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6) >> AntiVirus: ClamAV 0.95.2/9971 - Sun Nov 1 03:25:12 2009 >> by Markus Madlener @ http://www.copfilter.org >> ___ >> 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 > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6) AntiVirus: ClamAV 0.95.2/9971 - Sun Nov 1 03:25:12 2009 by Markus Madlener @ http://www.copfilter.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem mounting CIFS shares with credential file afterSAMBA update
Akemi Yagi escribió: > On Sun, Nov 1, 2009 at 6:05 AM, Samuel Contesse > wrote: > >> Hi, >> >> I've the same problem on RHEL 5.4 after samba update. I almost tried >> everything but I had to switch to -username=...,-password=... to get >> CIFS mount point to work. I opened a case which has been closed >> because a second system also running on RHEL 5.4 works with this update. >> >> Hope they will fix this issue... >> > > I was also hit by this bug. Reported at the CentOS bug tracker: > > http://bugs.centos.org/view.php?id=3960 > > The upstream bugzilla entries: > > https://bugzilla.redhat.com/show_bug.cgi?id=532153 (RHEL5) > > https://bugzilla.redhat.com/show_bug.cgi?id=532094 (RHEL4) > > Akemi > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > You can workaround this by editing the credentials file and removing the tail LF with an hex editor as i posted early Best, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6) AntiVirus: ClamAV 0.95.2/9971 - Sun Nov 1 03:25:12 2009 by Markus Madlener @ http://www.copfilter.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FreeNx doesn't work?
Hello To ease remove the centos packages and install the RPMs from nomachine.com Best El 15/08/2010 18:49, gaohuescribió: @import url( C:\Documents and Settings\gaohu\Local Settings\Temporary Internet Files\scrollbar.css ); @font-face { font-family: 宋 } @font-face { font-family: Verdana; } @font-face { font-family: @宋 } @page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; } P.MsoNormal { TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt } LI.MsoNormal { TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt } DIV.MsoNormal { TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt } A:link { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline } A:visited { COLOR: purple; TEXT-DECORATION: underline } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline } SPAN.EmailStyle17 { FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose } DIV.Section1 { page: Section1 } UNKNOWN { FONT-SIZE: 10pt } BLOCKQUOTE { MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em } OL { MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px } UL { MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px } @font-face { font-family: 宋体; } @font-face { font-family: Verdana; } @font-face { font-family: @宋体; } @page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; } P.MsoNormal { TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt } LI.MsoNormal { TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt } DIV.MsoNormal { TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt } A:link { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline } A:visited { COLOR: purple; TEXT-DECORATION: underline } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline } SPAN.EmailStyle17 { FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose } DIV.Section1 { page: Section1 } UNKNOWN { FONT-SIZE: 10pt } On Sun, Aug 15, 2010 at 11:17 AM, gaohu wrote: > I have installed freenx with this article > > http://wiki.centos.org/HowTos/FreeNX > > but when I use freenx-client on windows to connect to server, > I always get an "freenx Authentication failed." You appear to have missed a step or configured the auth bits incorrectly. The NX user is the user who authenticates via ssh, and you authenticate via nx to the proper session. Go through the steps in the wiki again carefully and double check the logs to see who you're attempting to authenticate as. I'd bet you're trying to auth as your user instead of as the nx user and since the wiki states that only the nx user is authorized (via the AllowUsers nx statement) auth is failing for that reason. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos == My config as follows: 1. config sshd config, I add PasswordAuthentication no AllowUsers nx---> nx is not an actual user in my system. 2. add user, I config nxserver --add user gaohu <--- gaohu is a common user on my system, and can connect via ssh with isa key , (and password also works before I use ssh key to audit.) then re config sshd config file, set AllowUsers nx gaohu one thing I can not understand is sshd default use /home/myuser/.ssh/authorized_keys, filebut nxserver generate the key at /home/myuser/.ssh/authorized_keys2 file, should I do other settingsin sshd config file to support this? 3.then I install the client and copy /etc/nxserver/client.id_dsa.key file contentto the key window. That's all. but when I run nxserver --test ? I just got permission denied ? why? following is my sshd_config file, Could any one help? = # $OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk Exp $# This is the sshd server system-wide configura
Re: [CentOS] Routing issue between 2 LANs
Les Mikesell escribió: On 12/19/10 2:30 PM, Jose Maria Terry Jimenez wrote: This doesn't make much sense without a route. Can you try a traceroute to the fedora box address from the 192.168.236.80 box to see how/why it gets there Hope it helps (all addresses are 192.168. Trimmed to compact the schema): -- -- --- ! 1.3!--!1.100 ! !gw 236.21! ! gw 1.1 ! ! ! 236.74!-! 236.80 ! -- ! ! gw 1.1 ! ! --- ! -- ! ! ! [Router1] [Router2] Router 1 is a PFSense and its IP is 192.168.1.1 Router 2 is "something" (it is managed by other person, and i think is somekind of win server) and IP is 192.168.236.21 This still doesn't explain why the 192.168.236.80 box can return packets to the fedora at 192.168.1.3 when you said it didn't have a route going through 192.168.236.74. Can you check what routes you do have on 192.168.236.80 and traceroute from there to 192.168.1.3? Apologies by confusing you. I forgot that "the other" CentOS had 2 NICs, this is the machine where i began these tests. It's in a remote site and now when listing the routes remembered that. It's conected to the 1. network with a second NIC and IP: 192.168.1.102. Replies must be return by that iface, really? [r...@control ~]# route Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 192.168.1.0 * 255.255.255.0 U 0 00 eth1 192.168.236.0 * 255.255.255.0 U 0 00 eth0 169.254.0.0 * 255.255.0.0 U 0 00 eth0 default 192.168.236.21 0.0.0.0 UG0 00 eth0 I Configured a printer in the 236. network to use 192.168.236.74 as gateway and now i can access it from 1. Thanks. [j...@idi ~]$ ping 192.168.236.74 PING 192.168.236.74 (192.168.236.74) 56(84) bytes of data. 64 bytes from 192.168.236.74: icmp_req=1 ttl=64 time=0.276 ms 64 bytes from 192.168.236.74: icmp_req=2 ttl=64 time=0.245 ms Thanks again Best =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6) AntiVirus: ClamAV 0.95.2/12415 - Sun Dec 19 04:26:57 2010 by Markus Madlener @ http://www.copfilter.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Routing issue between 2 LANs
El 19/12/2010, a las 23:15, Les Mikesell escribió: > On 12/19/10 4:08 PM, José María Terry Jiménez wrote: >> Les Mikesell escribió: >>> On 12/19/10 2:30 PM, Jose Maria Terry Jimenez wrote: >>> >>>>>>>> This doesn't make much sense without a route. Can you try a >>>>>>>> traceroute to the >>>>>>>> fedora box address from the 192.168.236.80 box to see how/why it gets >>>>>>>> there >> >>>>>>>> Hope it helps (all addresses are 192.168. Trimmed to compact the >>>>>>>> schema): >>>>>>>> >>>>>>>> >>>>>>>> -- -- --- >>>>>>>> ! 1.3!--!1.100 ! !gw 236.21! >>>>>>>> ! gw 1.1 ! ! ! 236.74!-! 236.80 ! >>>>>>>> -- ! ! gw 1.1 ! ! --- >>>>>>>>! -- ! >>>>>>>>! ! >>>>>>>>[Router1] [Router2] >>>>>>>> >>>>>>>> Router 1 is a PFSense and its IP is 192.168.1.1 >>>>>>>> Router 2 is "something" (it is managed by other person, and i think is >>>>>>>> somekind of win server) and IP is 192.168.236.21 >>>>>>>> >>>>>>>> >>> >>> This still doesn't explain why the 192.168.236.80 box can return packets to >>> the >>> fedora at 192.168.1.3 when you said it didn't have a route going through >>> 192.168.236.74. Can you check what routes you do have on 192.168.236.80 >>> and >>> traceroute from there to 192.168.1.3? >>> >>> >> Apologies by confusing you. I forgot that "the other" CentOS had 2 NICs, >> this is >> the machine where i began these tests. It's in a remote site and now when >> listing the routes remembered that. >> >> It's conected to the 1. network with a second NIC and IP: 192.168.1.102. >> Replies >> must be return by that iface, really? > > Yes, with rare exceptions routing always happens with each hop making the > decision to use the interface that has the best route towards the > destination, > and that would have a route automatically added for anything within the > netmask. > Thanks by your help, now i understand this a bit better, Best ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Routing issue between 2 LANs
Andrej Moravcik escribió: Hello Jose, from the picture you provided the situation looks pretty simple. - you have enabled IP forwarding on router, I recommend you to put it into /etc/sysctl.conf for persistence. - you have configured firewall rules on router to allow forwarding traffic from left to right subnet. You can also try to set up ACCEPT policy just for testing. - the default gateway for left subnet is 192.168.1.1 (you mentioned router for Internet access). Correct me if I'm wrong. - the default gateway for right subnet I assume is 192.168.236.74. You don't have to do anything with routing here. Every host in right subnet knows where to send replies. - the problem seems to be missing routing information in left subnet. Hosts don't know anything about the right subnet and thus send requests to the default gateway 192.168.1.1. - modifying routing table on every host in left subnet can be solution in case, if there is only a few hosts which need to access right subnet - if you need to have fully accessible subnets, put the static route to default gateway 192.168.1.1 to redirect requests to proper gateway. If it is Linux gateway, try something like this [r...@default-gw]# ip route add 192.168.236.0/24 via 192.168.236.74 Regards Andrej Jose Maria Terry Jimenez wrote: I have a CentOS 5.5 machine with 2 nics each one configured to work in one of the nets. The CentOS also uses a router for Internet access that is 192.168.1.1. 192.168.1.0/24 >-192.168.1.100--[CentOS Machine]--192.168.236.74 < 192.168.236.0/24 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thank you very much, Andrej. Today i couldn't test this, but default gateway for right subnet is 192.168.236.21 and i can't change anything in that router and many machines of that network, i only admin a few there. Best, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6) AntiVirus: ClamAV 0.95.2/12419 - Mon Dec 20 17:17:01 2010 by Markus Madlener @ http://www.copfilter.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Routing issue between 2 LANs
Les Mikesell escribió: On 12/19/10 1:45 PM, Jose Maria Terry Jimenez wrote: I wanted the reverse path. Traceroute from the 192.168.236.80 box back to the fedora address. It doesn't make sense that it can return packets without a route going through the Centos box. Hello This arrived as spam, and i found it now. Even it seem yesterday the mistery was discovered, here is what you asked me: [j...@control ~]$ traceroute 192.168.1.3 traceroute to 192.168.1.3 (192.168.1.3), 30 hops max, 40 byte packets 1 192.168.1.3 (192.168.1.3) 1.429 ms !X 1.438 ms !X 1.440 ms !X I suppose that goes by the second NIC on the "other" Centos. Best, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6) AntiVirus: ClamAV 0.95.2/12419 - Mon Dec 20 17:17:01 2010 by Markus Madlener @ http://www.copfilter.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos