I am connecting to a remote suse 10.0 machine, and I do not get colors on the terminal, while I get them when I connect to a remote Ubuntu machine.
How can I do to get colors on the suse terminal?
I have a workstation with Windows XP and I need to make a symbolic link or mount a UNC Path like a local Drive. I need the same behavior that produces M-Daemon tools when you mount an .iso File but with a remote directory. This is because I have a software client that perform several task but only with local drives and directorys.
The remote UNC path is a NAS server, thats the why I need to perform all the tasks from a workstations.
I want to use rsync to backup a directory from a local location to a remote location, and store changed files in another remote location. I did use:
rsync -rcvhL --progress --backup [email protected]:/home/user/Changes/`date +%Y.%m.%d` . [email protected]:/home/user/Files/
The --backup-dir stays empty, while it should be filled. Is it possible what I try to accomplish, and am I doing something wrong?
Thanks
My home network is a simple router + pc's setup, nothing fancy - the router has DHCP enabled for 192.168.0.X (255.255.255.0) and my PC picks up the address 192.168.0.82. There are no devices on my local lan in the 192.168.1.x range.
On my pc i have the DrayTek VPN client, and a company i do some work for has a DrayTek Vigor router. The VPN client establishes a VPN to that remote company using an IPSec Tunnel (PreShared Key - no encryption)
Last night i shut down my pc with the VPN tunnel still connected, when i turned my computer on this morning i accidentally clicked an RDP shortcut to 192.168.1.2 (a host in the remote company) and to my amazement it connected?!? I checked and the DrayTek VPN client isnt running, and when i did run it, it clearly shows "Status: No connection".
confused as to how my machine can still talk to this remote machine i tried a trace:
C:\Users\HeavenCore>tracert 192.168.1.2
Tracing route to C4SERVERII [192.168.1.2]
over a maximum of 30 hops:
1 * * * Request timed out.
2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 15 ms 21 ms 32 ms C4SERVERII [192.168.1.2]
Trace complete.
No indication there as to how it's getting from my network to the remote host.
with my network mask being 255.255.255.0 with ip 192.168.0.1 i dont even see how packets are routing to 192.168.1.1 - unless there was a static route in place, so i checked the route table:
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.82 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.0.0 255.255.255.0 On-link 192.168.0.82 266
192.168.0.82 255.255.255.255 On-link 192.168.0.82 266
192.168.0.255 255.255.255.255 On-link 192.168.0.82 266
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.0.82 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.0.82 266
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.0.1 Default
===========================================================================
As far as i can see, nothing indicating how my packets are getting to 192.168.1.2???
To confirm i was on a different subnet i did an ipconfig /all:
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ether
net Controller
Physical Address. . . . . . . . . : 00-23-54-F3-4E-BA
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.0.82(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
208.67.222.222
NetBIOS over Tcpip. . . . . . . . : Enabled
Yet straight after confirming my ip and subnet as above i can go ahead and ping the remote machine:
C:\Users\HeavenCore>ping 192.168.1.2
Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time=48ms TTL=127
Reply from 192.168.1.2: bytes=32 time=23ms TTL=127
Reply from 192.168.1.2: bytes=32 time=103ms TTL=127
Reply from 192.168.1.2: bytes=32 time=25ms TTL=127
Ping statistics for 192.168.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 23ms, Maximum = 103ms, Average = 49ms
Also, note on the ping how the times are 35ms ish, this clearly shows the pings are to the remote host and not something on my local lan (all stuff on my local lan pings in 0ms) - plus i verified the host was actually the host via RDP.
My Question: Can an IPSec tunnel stay up some how after a reboot without use of the VPN client? (well, i can clearly see that it can) - where in windows is there visibility of this? how does my machine know where to route the packets?
I appreciate any insights & thoughts!
I missed typed by scp command - didn't give target remote directory.
scp file root@remote-machine
It didn't say any errors and I don't know whether file is transferred or not . what happened here?
Looking for ideas / thoughts on a small office setups.
Users : 25
Remote users ; 5
Remote office : 3
I'm a big fan of small business server but looking for mail archiving and NAS storage solutions to separate user data from AD and email.
Look forward to your thoughts, setups. Anyone with hosted solutions experience would also be nice.
Thanks
I have a server with Debian that have 3 physical partitions covering all the disk: boot, root y swap. Now I want to replace that partitions with LVM partitions. I know how install Debian with LVM at beginning, but in this case I can't install the system at beginning because the provider gets me a server with remote access and the system installed in this way.
How can I change that partitions using only an ssh connection and possibly other remote server where to put some temporal data?
I'm on ubuntu. I only have sftp access to a remote server. The remote server disabled shell, so i can't use ssh or scp command.
Is there a way for me to recursively get the entire /var/www directory onto my localhost?
I am looking for a free virtual-desktop program that will allow me to put a different virtual desktop on each of my two monitors (one on laptop and the other external)
How I would like to use it: I do a lot of work connecting to other servers using remote desktop. I would like to use the external monitor to open remote desktop in full screen and use the laptop monitor for the local machine to view my mails, chat, browser, etc.
I am using XP SP3.
If I ssh to a remote machine and then lose internet connectivity, the session freezes.
I can't control-c or otherwise abort and go back to my local xterm or terminal prompt but if I wait several minutes it will do so.
There must be some way to force it to abort the remote ssh session when connectivity is lost.
I'm on a Mac but I believe this happens on cygwin or linux as well.
I connect to a remote machine from the local machine and use virsh console to enter the virtual machine. I don't know how to exactly depict how it works. Normally it works well, but when I run VIM:
Then it can't be recovered unless I cut the connection up:
It's very hard to work with a broken terminal. Any advice? My terminal works well on my local machine and the remote machine in which the virtual machine runs.
I've setup TomatoVPN using these settings on the server:
TAP
UDP
1194
Client address pool 10.10.9.1 -10.10.9.254
LAN clients are configured with 10.10.10.x
I can connect from a remote client, but pinging anything in the 10.10.10.x results in
a "Destination Host Unreachable" error.
Here's my client configuration script:
remote x.x.x.x 1194
client
dev tap0
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
float
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
Any suggestions as how I can make this properly bridge the two networks?
Hi there,
I am using outlook 2007, and I have configured the bugger to retrieve emails from
a 1&1 web mail address.
It gets all emails from the remote in-box folder but,
if one happen to have fallen into the remote spam folder,
I never receive it, in outlook!
Is there an easy way out for this one ?
Thanks!
I've wrote a simple batch file to connect to a specific VPN connection using RASDIAL
rasdial MyVPNConnection
but it always returned the error
691 Access denied because username and/or password is invalid on the
domain.
Remote Access Service (RAS) Error Code List
then i tried pointing to my Remote Access Phonebook (Rasphone.pbk) and see what happens
rasdial MyVPNConnection /phonebook:%userprofile%\AppData\Roaming\Microsoft\Network\Connections\Pbk\rasphone.pbk
and still there was an error 691.
I've then unchecked the following
but still the same problem was reported when executing my batch file.
Do you get given your own IP address on dialup?
I am trying to test remote connections from outside my LAN. Will I be given an IP address that I can use for remote desktop and assistance?
I've mapped my domain users to a remote share, and I'm trying to get rid of the security warning that appears whenever a file is run from the remote share.
I've tried adding the FQDN to the intranet list with no prevail and I'm starting to go crazy. I've also turned off IE Enhanced Security Configuration for both Admins and Users.
The group policies are being applied, and I can see the FQDN in the intranet list in internet options.
Relevant group policy:
Relevant security warning:
I am running a dicom receiver on a Centos 6 box on top of a Xen server.
If I attempt to send data to it from a remote server I get the following error:
storescp: relocation error: /lib/libresolv.so.2: symbol memcpy, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
If I send data to the server locally it works, but sending to it from remote gives the above error.
I do not think this is a problem that is specific to the storescp server.
This is in RHEL 5.5.
First, ntpdate to the remote host works:
$ ntpdate XXX.YYY.4.21
24 Oct 16:01:17 ntpdate[5276]: adjust time server XXX.YYY.4.21 offset 0.027291 sec
Second, here are the server lines in my /etc/ntp.conf. All restrict lines have been commented out for troubleshooting.
server 127.127.1.0
server XXX.YYY.4.21
I execute service ntpd start and check with ntpq:
$ ntpq
ntpq> peer
remote refid st t when poll reach delay offset jitter
==============================================================================
*LOCAL(0) .LOCL. 5 l 36 64 377 0.000 0.000 0.001
timeserver.doma .LOCL. 1 u 39 128 377 0.489 51.261 58.975
ntpq> opeer
remote local st t when poll reach delay offset disp
==============================================================================
*LOCAL(0) 127.0.0.1 5 l 40 64 377 0.000 0.000 0.001
timeserver.doma XXX.YYY.22.169 1 u 43 128 377 0.489 51.261 58.975
XXX.YYY.22.169 is the address of the host I'm working on. A reverse lookup on the IP address in my ntp.conf file validates that the ntpq output is correctly naming the remote server. However, as you can see, it appears to just roll over to my .LOCL. time server. Also, ntptrace just returns the local time server, and ntptrace XXX.YYY.4.21 times out.
$ ntptrace
localhost.localdomain: stratum 6, offset 0.000000, synch distance 0.948181
$ ntptrace XXX.YYY.4.21
XXX.YYY.4.21: timed out, nothing received
***Request timed out
This looks like my ntp daemon is just querying itself.
I am thinking about the possibility that the router-I-don't-control between my test network timeserver and the corporate network timeserver is blocking on source port. (I think ntpdate sends on port 123, which gets it around that filter and is why I can't use it while ntpd is running.) I have email in to the network folks to check that.
Finally, telnet XXX.YYY.4.21 123 never times out or completes a connection.
The questions:
What am I missing, here?
What else can I check to try to figure out where this connection is failing?
Would strace ntptrace XXX.YYY.4.21 show me the source port ntptrace is sending from? I can deconstruct most strace calls, but I can't figure out the location of that datum.
If I can't directly examine the gateway router between my test network and the timeserver, how might I build evidence that it's responsible for these disconnections? Alternately, how might I rule it out?
I'm trying to setup rsync to backup a remote directory to my local drive.
I cd to the directory that I want to pull the files to, then I enter:
rsync -vrtW [email protected]:~/public_html
I enter the password then it starts running. I get all the files listed, but none of them actually transfer. What am I missing?
Thanks
My TCP/IP Stack knowledge is a little rusty so please bear with me....
I have a CentOS 5.7 server with SendMail and am having seeing intermittent timeout issues sending email (particularly larger email) to other remote domains. It doesn't happen with all attachments or recipient domains. Just some. After some extended troubleshooting, I think I've narrowed it down to TCP Sequences not being acknowledged.
Here's a breakdown of the TCP session from a packet capture I collected directly on my MTA (fooMTA):
Packet 1 - 11: Standard TCP handshake followed by initial SMTP conversation. No errors.
Packet #12 Recipient MTA: TCP sequence 231. Ack 91.
Packet #13 FooMTA: TCP sequence 91. Ack 305.
Packet #14 FooMTA: TCP sequence 1115. Ack 305.
Packet #15 Recipient MTA: TCP sequence 305. Ack 2495.
Packet #16 FooMTA: TCP sequence 2495. Ack 305.
Packet #17 FooMTA: TCP sequence 5255. Ack 305.
Packet #18: Recipient MTA: TCP sequence 305. Ack 5255.
Packet #19: FooMTA: TCP sequence 6635. Ack 305.
Packet #20: FooMTA: TCP sequence 8015. Ack 305.
Packet #21: Recipient MTA: TCP Sequence 305. Ack 8015.
Packet #22: FooMTA: TCP Sequence 10775. Ack 305.
Packet #23: FooMTA: TCP Sequence 13535. Ack 305.
Packet #24: Recipient MTA: TCP sequence 305. Ack 10775
Packet #25: FooMTA: TCP Sequence 14915. Ack 305
It keeps going like this with my server still thinking it hasn’t received sequence 305… in response the remote side eventually retransmits its prior data thinking that it never arrived. Eventually the gap gets so large that no new data is sent and the remote MTA keeps retransmitting old stuff. This contributes to an exponential backoff and eventually the remote side gives up.
What’s strange to me is that I see the “missing” TCP sequence (305 in this case) arriving back to my server (via a packet capture collected directly from fooMTA) So I don’t get why my server keeps asking for it.
Could this be firewall related? What would be the next step in troubleshooting?
For CentOS installation CDs, you can install OS, as well as booting into "rescue" mode so that you can do a chroot mount on the system partition for problem solving, even the system is installed in hardware RAID drives. How can we create a similar thing but on usb flash drive? I tried to do it with unetbootin, but when booting into the USB, eventually the CentOS setup still requires presence of CDs.
Ultimately, I want to use this usb flash drive for remote disaster recovery through say HP iLo remote console / Dell iDrac etc.
We have analog IR cameras (not IP Cameras) and they are connected to DVR model no is (DVR Model: DVR H264, 16 Channel - ECOR264-16X1). We assigned a static IP to DVR and able to view all the cameras connected to it.
Our requirement is to view individual cameras and recording option in remote location (the recorded data should store in remote) as like IP Cameras.
Is it possible, if not, are there any DVR Model which can support like this.
I have ssh access to many servers where I have no root privileges. Do you know of any version control utility that can work with remote ssh repositories whichout installing anything on the remote server?
I have tried a bare git repository folder, but it seems to demand some script/binary/installation on the server. I also dont like git because it is not very portable. The portable versions are made of too many files
I edited the file /etc/rc.d/rc.local and added the following lines in order to mount a remote directory through sshfs at boot time:
su user -c "/usr/bin/sshfs -o idmap=user -o reconnect -o allow_other -o uid=500 -o gid=500 user@remote:/home/shares/allusers /home/user/mnt"
The problem is that is not mounting the directory on startup but when I execute this command manually after logging in everything works as expected an the directory is mounted.
Any suggestions?
In MySQL you have to authorized a user based on the name of the origin network. From my network to a remote one all connections appear as sent from mail.mycompany.com. But connections to another remote network it appears with a different origin. How to discover which name/ip it is using?
I tried tcpdump and netstat in the destination but it is difficult to find my connection among billions of others.
In my case the destination is a Windows Server 2003