Networking :: Script To Boot Different Host File Standalone Versus Network?

Mar 5, 2011

Apart from the fact firef*x gets confused when my laptop is not connected to the internet... (Please click here grrr)Have you figured out a way to load a separate hosts file when booting in standalone? Presently I swap one host file for the other, usually after boot. Restart apache. Running LAMP on laptop now. It practically grinds to a halt when it isn't connected to my server

View 1 Replies


ADVERTISEMENT

General :: Laptop - Standalone Versus Dual Boot

Aug 1, 2011

Doing some research I was leaning towards buying an inexpensive laptop and either install linux or buy one already installed (maybe Debian or Ubunutu). The uses for this laptop would be for developing linux device drivers and having the option to control the OS for any customized applications which I could develop. Didn't want to go the dual boot with Windows approach.

View 1 Replies View Related

Ubuntu Networking :: Combine Rsync And SSH Pass - Backup File From Each Host With General Password In Local Network??

May 13, 2011

I made a script to backup file from each host with general password in local network. This script using SSH Pass and Rsync with this

syntax:
rsync --rsh="sshpass -p password ssh -l root" hostath destinationpath
Everything is okay under 9.10 version until I migrate to Ubuntu 11.04, there is always give an error:
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(541) [Receiver=3.0.7]

I am using bash version: GNU bash, version 4.2.8(1)-release (i686-pc-linux-gnu) and 2.6.38-8-generic kernel

View 3 Replies View Related

Networking :: Very Low Network Performance In Host-to-host Connections

Jan 27, 2009

The internal network is behind nat done by the PC Router.The TP Link is recieving wireless signal from outdoors and it has switching and basic routing capabilities. I'm using the PC router for better routing options.PC Router (or R for short) is a triple-booting machine - Linux, FreeBSD and Windows. It has two lan cards - external (ext_if) - 100Mbps Realtek 8139 and internal (int_if) - 1Gbps integrated Realtek 8169.The problem is that all traffic from R to the network is slow - about 5-20K, while the traffic in the oppoiste direction is all right - about 10MB that is fine for 100Mbps cables, NICs and switches. The problem persist no matter the OS the pc R is running.I've tried some debugging on the situation as follows:

- put another PC at the place of R - everything is fine. That exclude the possibility of damaged cables, RJ-45s, switches and etc.
- connected both of the NICs to the Internet while the internal network is being disconnected and they both work fine (no delays)
- traffic shaping is not running
- there is nothing in firewalls except NATing the internal network (and it is working fine). Actually these firewall rules have been operational for more than months and everything was fine untill a week or two ago.
- changed the internal NIC with another
- connected the internal network directly to the TP and all of the PCs are getting good network performance. Then connected the R machine to the TP as well and there was good performance between the internal network PCs and R.
- R has good performance to the TP. In fact everything has good performance directly to the TP (when not connecting trough R).
- the problem persist only between R and machines from the internal network.

View 2 Replies View Related

Networking :: Proactive Versus Reactive Network Monitoring

Jun 9, 2010

Network/IT teams often look for a monitoring tool in reaction to a problem they have on the network. They know they have a problem, but they dont know specifics. They cant see, for example, who is hogging bandwidth. So they seek a free or open source point solution to solve that one problem. But if they already know one problem is happening, it's possible theres a second or third problem which could be prevented if the IT staff knew about these issues. An alternative approach to reactive monitoring would be to implement a robust network monitoring system before a problem occurs. An NMS should enable IT staffs to identify potential problems early on and solve them before end users notice them. Is your organization using a network monitoring system? If no, why not?

View 2 Replies View Related

Networking :: Configure A Network Route To A Host For Testing Network Interface?

Aug 30, 2010

today I tried to configure a network route to a host for testing my network interface. Code: route add 192.168.1.15 eth0 As I have to eth interfaces and both interface got their IP from DHCP (192.168.1.11 and 192.168.1.12) and are in the same subnet, I shut the other interface down:

Code: ifconfig eth1 down Then I tried to test the interface by doing a ping to 192.168.1.15.
Problem: When I unplug the cable from eth0 (and eth1 is still plugged) the ping still works. Somehow my linux (it's debian) powers up again eth0 and pings over this port.

How can I stop my linux doing this. I just want to have the route added only on the one interface - not the other. Is it maybe some case of a default-gateway?

View 5 Replies View Related

Server :: Request From Unauthorized Host - Boot From Network Using PXE And NFS

Apr 25, 2011

In the sys-log from server there a lot of message like this: Code: Apr 25 10:38:45 server portmap[2569]: connect from 192.168.1.3 to getport(nfs): request from unauthorized host Apr 25 10:38:46 server portmap[2570]: connect from 192.168.1.3 to getport(nfs): request from unauthorized host 192.168.1.3 is a client that want to boot from netwrok using PXE and NFS. However it doesn't boot and enters (initramfs) prompt. Seems that the server deny the connection from client.

View 5 Replies View Related

Fedora :: Fix Grub /boot Is On A Standalone Partition

Sep 5, 2011

I'm using fc14, and put the /boot directory on a standalone partition. Now, there's something changed in MBR, and the grub has been overwrote, now I wants to fix the grub by another bootable usb-disk with grub, to use 'setup (hd1)' to fix it. but the situation cause the /boot has nothing and the partition contain essential files does not under the directory 'boot'. then setup failed.

View 3 Replies View Related

Networking :: Network Outside The Host

Feb 28, 2010

I have Centos installed and runing Vmware server inside, inside the Vmware server i have two V MAchines runing, how can i let those machines run outside the host ( mean listen to other computers in the outside network, i am after proxy server.

View 1 Replies View Related

Software :: Secondary/Standalone Or Alternate Boot Drive?

Jan 26, 2010

I have Redhat linux 4 and 5, I need to know if there is a way to create an alternate/standalone boot drive to recover a system from a disaster.

View 1 Replies View Related

Ubuntu Servers :: Fully Automated Network - Host Name Configure And DNS Register In The First Boot

Jul 29, 2011

My organization is running a VMware vSphere based platform. On top of that we have a Sun Gridengine cluster consists of a number of ubuntu VMs.At the moment, we deploy new cluster nodes from the VM template. Although it already saves us lots of time, we still need to configure the network, host name, register DNS record manually.In a near future, we will need to add 100+ more hosts to the cluster. So we are seeking a automated deployment so that a VM does the following during its first boot:

1)configure the network for the correct IP with DHCP or manual.

2)request a designate host name (maybe from a pre-defined datasource?) and configure host name.

3)register itself to our DNS servers.

We don't really have experiences for running big cluster. So welcome to share your opinions and experiences.Specially I'd very keen to find out if there is any well-proven solution right there or I will need to implement from the scratch.

View 7 Replies View Related

Fedora Networking :: Host Only Network From Guest?

Feb 3, 2009

My Windows guests see my VMware Host Only folders as \.hostShared Folders But when I try to see them from a Linux guest, all I get is frustrated. No permutation of that seems to work. Because the Windows guests see the shared folders I know the host is doing its part in providing them. After two days of not finding an answer on the VMware Workstation forum I finally figured out that the problem really is how to look for them with Linux. With Linux I can turn off all NICs accept the Host Only NIC, put smb://172.16.138.1 into the address bar and see all the shares on the host, but not the folder designated as the host only folder.

View 3 Replies View Related

Ubuntu Networking :: Cannot Ping/network To Host On 2nd Nic

Aug 11, 2010

I have a somewhat complicated network setup that I am testing on an internal network. I have the following route setup:

PC Client (192.168.2.100) --> Router (192.168.2.1) --> DSLAM (on our internal network) --> PPPOE Server (192.168.9.1) on Linux Ubuntu 8.04 on interface card eth2.

On the same Linux Ubuntu Machine on interface card eth1 (static IP 192.168.5.100), I have an Asterisk SIP server plugged into it. SIP Server = 192.168.5.101 (static) I need the PC client (192.168.2.100) to register via SIP soft phone to register on the SIP server (192.168.5.101). From the PC client I can ping as far as the eth1 interface (192.168.5.100)...but cannot ping the SIP Server (.101).

From the SIP server (192.156.5.101)...I can ping 192.168.5.100, I can ping 169.254.5.228 (Eth2:avahi), but not sure what that is. I cannot ping the pppoe default gateway (192.168.9.1), which I think you cannot anyway. No firewalls are running. My IPtables I cleaned out totally. I think it might be as simple as a route add, but I really have no clue. Tried building a virtual bridge using brctl LINUX betweeh eth1 and eth2, but that made things worse (could not ping anything after that)

Route table:

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.9.100 * 255.255.255.255 UH 0 0 0 ppp0
192.168.5.0 * 255.255.255.0 U 0 0 0 eth1

[code]...

View 1 Replies View Related

Networking :: IPV4 Syntax - Any Host On Network?

Sep 2, 2009

Can someone explain me ipv4 notation like:
192.168.1.0/255.255.255.0
Does it mean "any host on 192.168.1.x" network?

View 1 Replies View Related

Networking :: Making Network Between Host And Guest

Mar 5, 2009

I have rhel5 as host and guest is xp and rhel5, how will I make a network between them.

View 3 Replies View Related

Ubuntu Networking :: Network Computers Not Accessible By Host-name

Aug 16, 2010

For some reason, all the computers on my network can't reach each other via their host names. For example, the ping command doesn't recognize host names:

Code:

$ ping file-server
PING file-server (208.68.139.89) 56(84) bytes of data.
^C
--- file-server ping statistics ---

20 packets transmitted, 0 received, 100% packet loss, time 19152ms However, ping works fine if I use IP addresses instead. I would put the address for "file-server" in my /etc/hosts file, except for the fact that DHCP changes it's address occasionally.I attempted changing the line

send host-name "<host-name>";
in /etc/dhcp3/dhclient.conf to
send host-name "file-server";

but to no avail.

View 2 Replies View Related

Networking :: Not Able To Ping External Network - Host Name Resolving To Ip

Jun 15, 2010

I had configured Squid in RHEL 5 and facing an issue with pinging. Not able to ping any website,hostname is resolving to ip address but not able to ping

[code]...

View 8 Replies View Related

Networking :: FreeNAS Standalone NAS Box Fileserver?

Apr 13, 2011

I would like to make a small NFS server for a small LAN. Normally, I would build a dedicated cheap and cheerful linux box to do this. However, I was wondering if all of this could be done more easily using a commodity standalone device like e.g. "NetGear ReadyNAS Duo NAS". I presume devices like this run their own proprietary OSes, and I would prefer instead an opensource OS based device. I do like the look of these devices as they seem simple and small.

So my real question: What would linuxers advise for me given that I want a minimalistic NFS fileserver? I can make my own dedicated linux desktop machine. However, is a standalone device similar to the above, but running something like FreeNAS, also an option?

View 6 Replies View Related

Networking :: Apache Server - Host Local Website Within Network

Jan 11, 2011

I am trying to host a local website(an wiki application) within a network. Is it necessary that all the files I need to upload should be in the var/www?

View 8 Replies View Related

Networking :: Monitor Current Network Traffic To A Give Host?

Oct 29, 2009

is there a utility with which I can get the current traffice towards a given host, for example;

command 87.255.33.32
22000

View 1 Replies View Related

Networking :: Add Host Name For The NIC Card Into /etc/hosts File

Jan 31, 2010

Instructions say "Add hostname for the NIC card into /etc/hosts file" do I touch or mkdir it in?

View 11 Replies View Related

Networking :: Mounting Unique Filesystem Or Directory By Network Booted Host?

Apr 6, 2010

I have a number of diskless hosts which are to bootth PXE and mount their root filesystem on an NFS share. Most of the NFS share will be common to to all of the diskless hosts. No problem with that part.I also need part of the NFS shared filesystem to be unique to each individual host. The only difference between the hosts is the ethernet MAC. I use it in the DHCP server to key a specific unique IP to each host. I would like to be able to use either the MAC, or the IP, or any other unique identifier that can be derived very early in the boot process to access a filesystem or directory that is unique to each diskless host.

I need/want to do this because I need/want to isolate all of the system maintenance to one small part of the boot host. Modifying the hardware (these are VME CPUs) in any way is not an option; they must be field swappable, with all maintenance isolated to the boot host(s).I know I could run ifconfig and parse its output to derive an IP &/or MAC, but that seems a bit kludgey and fragile. The DHCP server is presently assigning IPs. I know I can arrange to pass a unique option value via the DHCP server, but don't know if or how this can be retrieved on the diskless nodes. I am presently passing the 'root=' kernel argument from the bootloader, but I don't think there is any way to pass other filesystem information using that mechanism.

I know I can pass some kernel arguments from the bootloader, but there doesn't seem to be any generic message that can be retrieved in userspace as part of the boot process. I've scanned around in the /proc filesystem, looking for the IP or anything else that seems to uniquely identify the host, but don't see anything there, either.The init process has not yet been cast in stone, but is very likely to be a BusyBox built-in

View 5 Replies View Related

Networking :: Deploy A Remote OS Installation For Host With Public Network Address?

Jan 27, 2010

Is there any one know how to deploy a remote OS installation for a host with public network address? In a LAN with private network, we can use PXE, kickstart... but what we could do with the hosts have only public ip address?

View 2 Replies View Related

Ubuntu Networking :: Host File Changes Not Reflected In Web Browser

Jan 8, 2010

I've found that changes configured in my hosts file are not being reflected in my web browsers, but it is in the shell. For example... If I put the following in my /etc/hosts file

Code: 123.456.789.000 server server.dom.com I get a successful response from running ping in the shell

[Code]...

I'm using Ubuntu 9.10. I have to make regular changes to my hosts file to test services, so this is quite a pain.

View 1 Replies View Related

CentOS 5 Networking :: Syslog-ing Messages From A Particular Host To A Particular Log File

Oct 12, 2009

I've just configured my Linksys RVS-4000 router to syslog messages to remote syslogd server (i.e. my CentOS5 machine). Redirecting messages was easy, but now I'm having difficulties to redirect those same messages received from Linksys to a separate log file. By default, all these messages are logged to /var/log/messages, and after browsing manual pages for syslog, syslog.conf, and syslogd, came to suspect that what I want isn't possible.

View 1 Replies View Related

Ubuntu Networking :: Linksys Routers Ship With A Host File?

Feb 23, 2010

I was pondering over whether or not Linksys routers ship with a host file in it...if it doesn't, can you just manually add one via an FTP transmission?

View 9 Replies View Related

Networking :: Resolve A Standalone RHEL Machine Under Windows Domain Controller?

Feb 4, 2010

How to resolve a standalone RHEL machine under Windows Domain Controller?

View 4 Replies View Related

Ubuntu :: Copying A File By Rcp To Rcp Host To Host

May 9, 2011

I am a bit of a n00b when it come to linux but I am setting up a test environment were I have a appliance monitoring network traffic. Part of my test requires me to copy a file via RCP from one host to another host. I have two ubuntu boxes. I have allowed the subnet in the etchost.allow for ALL. I have installed rsh-server

When I try to copy the file it looks like it tried to use SCP instad of RCP because it connects to 22 instead of 544. Also note that traffic must be unecrypted thus me trying to use Is there anyway to make ubuntu go old school to allow me to use rcp instead?

Code:
testuser1@ubuntu:~$ rcp /home/testuser1/test.txt testuser1@10.46.41.38:/home/testuser1
ssh: connect to host 10.46.41.38 port 22: Connection refused
lost connection
testuser1@ubuntu:~$ rcp
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[Code]....

View 3 Replies View Related

Ubuntu Networking :: Transfer Files From Cluster To Host And Then Host To Another?

Mar 4, 2010

I am working on a cluster for a molecular dynamics class and I have to edit my FORTRAN code (only the newest and best for me!). In order to get through to the cluster I have to ssh in. The network on which the cluster resides is behind a firewall, so I have to ssh through the firewall into the network first.

this is fine, I can login and move files and folders as needed, including sftp-ing into host 1, then into the cluster so I can transfer files from cluster to host and then host to me. This gets rather tiresome, so it would be nice to edit the files in place.

The problem is that when I access my code with emacs it launches the emacs client on Host 1, with no mouse support. I know the purists will howl about how I should be using keyboard shortcuts, but I am a chemist and not a programmer, so the mouse is very nice for me. Is there any way I can perhaps mount the cluster using sshfs so that when I open my code it launches a local instance of emacs? Sorry if this is the wrong forum, but I thought it was network related.

View 3 Replies View Related

Networking :: How To Find Least Busy Host Given Hardcoded Host List?

Oct 12, 2010

I got a bunch of machines (~10) that I share with my co-workers. I have appropriate .ssh file(s) set up so I don't get prompt for password when I try to ssh.Currently I ssh into these hosts and then do a top to check the load before I start using the machine. Because I don't want to be on a busy host.Can someone show me how to write a script that find a least-busy host given a list of hosts to check? (hardcoded is fine)

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved