Fedora Networking :: Correct Syntax Of IP Address Range

Mar 30, 2010

I use F12 and I need help with correct syntax to specify range of IP address in hosts.allow or hosts.deny or in /etc/exports file eg. 192.168.1.100 to 192.168.1.255.

View 13 Replies


ADVERTISEMENT

Networking :: Error Str2addr:Address 35 Outside Range Of Address Field Length 1?

May 12, 2011

I am working on implementing a protocol on NS2.34 .I really need help to solve this problem . Actually , I don't now whether the problem is generated by the tcl code or the c++ code when I run the simulation, I get this result :

Code:
num_nodes is set 64
INITIALIZE THE LIST xListHead
34
45
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
code....

View 1 Replies View Related

Networking :: Correct Syntax For An NFS Shared Directory?

Jun 1, 2009

If I want to share a directory called /home/me, would I go to my /etc/exports file and share /home/me/* or would I share /home/me ? I am unsure of how to type this into the file.

View 2 Replies View Related

Fedora :: Syntax For Static IP Address?

Apr 3, 2011

In Windows Server 2008, I can configure a static IP address with the following syntax:Code:
netsh interface ipv4 set address="Local Area Connection" source=stati.10.10.11 55.255.255.0 10.10.10.1Besides editing a text file, is there a syntax I can run from terminal?

View 1 Replies View Related

Ubuntu Networking :: Specifying IP Address Range In ACL In SQUID Proxy

Feb 24, 2010

I need to create two Access Control Lists for my networks using SQUID proxy. The ip address range from 165.165.42.10 to 165.165.42.50 for one network and from 165.165.42.60 to 165.165.42.90 for another network. How can I make it?

View 2 Replies View Related

Networking :: DHCP3 Server - Setting Double Range Of IP Address

Apr 27, 2010

I would like to set a double range of IP address with my DHCP3-server. Now, I have eth0 (which is my only network card) with this IP address : 172.16.93.1 and I have created a second interface eth0:1 with this address: 192.168.3.1. The goal is to give an IP address 172.16.93.X to phones (with option 66) and the IP address 192.168.3.X to the computers.

This is my DHCPD.conf :
ddns-update-style none;
option domain-name "mycompany.com";
option domain-name-servers 172.16.93.1;
default-lease-time 3600;
max-lease-time 2347200;
authoritative;
log-facility local7;
option ip-forwarding off;
default-lease-time 20;
max-lease-time 20; .....

Right now my DHCP server work fine, (I means, no error at the startup ) but the server give always the same kind of IP address, whatever if it's a phone or a computer. I notice something "wired", if I put the :
subnet 192.168.3.0 netmask 255.255.255.0 {
range 192.168.3.100 192.168.3.199;
option routers 192.168.3.254; }
(Which is first in the dhcpd.conf) after the "subnet 172.16.93.0 netmask 255.255.255.0", the server will give IP address 172.16.93.X at all the clients. Is it possible to give more than one IP range with one network card at the same time? And how set the option 66 to only give IP address (172.16.93.X) to the phones?

View 4 Replies View Related

Fedora Security :: Blocking Ip Address Range?

Dec 31, 2010

I'm assuming that the following should block the complete 178.123.xxx.xxx address range.

Code:
iptables -I INPUT -s 178.123.0.0/24 -j DROP
Then I believe that I need to save this change.

Code:
service iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]

However, I'm not so sure that it is actually working based on the fact that there continues to be access to my wiki from that address range. The following is after I made the firewall change.

Quote:

178.123.177.61 - - [31/Dec/2010:04:24:40 -0500] "GET /mywiki/Opera%20Web%20Browser?action=edit&editor=text HTTP/1.1" 200 6346 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
code....

Let me state that I'm new at this iptables thing. I did some reading and decided that I need to make the above change to the firewall but it doesn't seem to make a difference.

View 12 Replies View Related

Ubuntu Networking :: Dhcp3-server Is Not Committing Correct Dns-address To Win XP Client?

Oct 15, 2010

I'm troubling setting up my dhcp3-server.Although I've configured "option domain-name-servers 192.168.1.1" in my dhcpd.conf my windows-xp-clients dns-server address is set to 192.186.1.1.This is strange! All other things seem to work correctly.This is my dhcpd.conf:

Code:
ddns-updates on;
ddns-update-style interim;

[code].....

View 3 Replies View Related

Software :: Correct Lftp Syntax

Oct 9, 2010

was trying to figure out how to use
Code:
lftp mirror -v ----remove-source-files sftp://user@ftp.site.com
I keep getting "unknown option --remove-source-files. Could anyone help?

View 1 Replies View Related

Ubuntu :: Correct Syntax For Regex In Shell Script?

Nov 5, 2010

This command works to find files that have been updated in past 90 minutes:

Code:
find ( ! -regex '.*/..*' ) -type f -mmin -90
What changes need to be made to set this as an alias in, say, .cshrc file? I'm getting:

[code]....

View 5 Replies View Related

Applications :: Correct Syntax For Scheduled Cron Jobs

May 25, 2010

I need to create the following cron jobs:

job #1: runs Mon, Tue, Wed, Thu, Fri, Sun at 9PM every month except for 15th
job#2: runs on 15th of each month at 9PM
job #3: runs every Saturday at 6PM every month

What is the correct syntax for this kind of scheduled cron jobs?

View 7 Replies View Related

Ubuntu Multimedia :: Volume Range Incorrect / Correct It?

Jul 29, 2010

I spent hours and hours digging through this thread, and other random ones, where everything succeeds. I have an onboard Intel ICH6. Its details are located at: http://alsa-project.org/main/index.p...x:Vendor-Intel (btw, the part of about going and finding your chipset from a dropdown and the green text is a broken link. I think it should point here, instead: http://alsa-project.org/main/index.php/Matrix:Main).

My resolution ended up being, in the sound preferences, to change the Connector under Output from "Analog Output/Amplifier" to "Analog Mono Output/Amplifier" (No Amplifier works too).

I didn't find this advice anywhere. I was going to give up, and was poking around, and saw the mono options. Since onboard speakers are mono, I gave these choices a try. So, hopefully, this helps someone else. I appreciate this sticky; maybe there should be some information about how to find the appropriate sound settings in the guide ... somewhere in the beginning, around where you should check that your volume is up and your mute is off

This is a quote from sound solutions thread. i had this problem too with ICH6 but now that i have sound i have a new issue. While a normal sound range is 0-100% my sound range is about 0-10% meaning that about if i put my volume on 3% it it as loud as about 30% should be normally.

View 4 Replies View Related

Networking :: What Are Short Range Link And Long Range Links In Routing

Jun 23, 2009

get me understand the short range and the long range links from routing (and routing protocols') point of view.

View 6 Replies View Related

Security :: Blocking An Ip Address Range Within Iptables?

Mar 30, 2009

I am setting up a iptables firewall on one of our servers, and I would like to block a range of addresses from getting into the system. I am using a script that does a BLACKIN and BLACKOUT methodology for specific addresses. One example is the following:

Code:

$IPTABLES -A BLACKIN -s 202.109.114.147 -j DROP
...
$IPTABLES -A BLACKOUT -d 202.109.114.117 -j DROP

What would be the correct syntax to use if I wanted to block an entire remote subnet from getting into the server?

View 4 Replies View Related

Software :: Mapping The Geographic Location Of A Given Ip Address Range?

May 18, 2010

Can someone recommend software that can be used to map the geographic location of a given ip address range?

View 1 Replies View Related

Programming :: Unable To Fix Syntax Error In Finding Ip Address Of A Host Name?

Apr 27, 2010

Writing a program that finds the IP address of a host name. Sorry forgot to include the line numbers, but where the $$$ is where the syntax error is. The errors are syntax error before "{" token and syntax error before "if". I've looked throught the code for a couple hours and can't figure out what's causing it. The code is attached below.

#define WIN
#include <stdio.h>
#include <stdlib.h>

[code]....

View 8 Replies View Related

General :: KPackageKit Not Finding Correct IP Address

Aug 15, 2010

I have installed Kubuntu Lucid x86 10.4 LTS for the first time. Has anyone got a link that explains how KPackageKit gets the IP address of the repositories? I can install packages using sudo apt-get install xxx OK . KpackageKit tells me I have updates from the repositories. I can select them all and apply , but I get an error that it can't find the repository under a 192.168.100.129:8080 address . Which is not a surprise . I am using mirror.optus.net as a repository and can ping it fine on the command line. So is there somewhere else that KPackageKit maps IP addreses ? I have tried another mirror mirror.aarnet.edu.au and got similar results. My local sub-net is not 192.168.100 and have tried setting fixed IP on the local sub-net and different DHCP addresses and still the same error.

View 5 Replies View Related

Server :: Send Traffic Down WAN Link Depending On Client IP Address Range?

Apr 15, 2011

I am running Debian Squeeze with the following basic services running:DNS
DHCP
Samba
Squid

The server is setup with three NICs: eth0 (WAN1), eth1 (WAN2), and eth2 (LAN).The server addresses clients with an IP range of 10.0.30.1 - 10.0.30.254. Some clients will be set with reservations so they fall into the 10.0.40.1 - 254 range.

What I want to do is have any outgoing external traffic coming from the first range (10.0.30.0) to use WAN link 1, and any outgoing external traffic coming from the second range (10.0.40.0) to use WAN link 2.

I have sort of got something working. I have created a bare minimum transparent squid3 setup on port 3128, and set the iptables as follows:

Code:
iptables -t nat -A PREROUTING -i eth2 -p tcp -m tcp --dport 80 -j DNAT --to-destination 10.0.0.1:3128
iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128

I can get internet access, however obviously it only goes through one WAN link. It also seems slower than it should be. I experimented with tcp_outgoing_address, but seemed to not be my friend.

View 4 Replies View Related

Ubuntu :: Ensure Repository Address In Preferences Is Correct?

Feb 14, 2010

When update ubuntu 8.04 amd 64 show this message: Could not download all repository indexes. The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct. Failed to fetch [URL] 404 Not Found. Some index files failed to download, they have been ignored, or old ones used instead.

View 3 Replies View Related

Fedora Networking :: Turn A Laptop Into A Range Extender?

Oct 7, 2009

Is there a way to turn a laptop, or any PC with a wifi network card, into a wifi range extender? Suppose I have the usual wifi router, but unfortunately the signal doesn't cover the whole house; a solution is a range extender, but I thought: if I have a laptop, placed in the same room where I would put that range extender, can't I use THAT as a range extender too? After all, range extender at the very heart are "stripped-down" routers, which in turn are stripped down PCs equipped with a stripped-down version of the Linux Kernel...

View 4 Replies View Related

Server :: OpenVPN Range Address / When Change Static IP To Dynamic IP In Config File OpenVPN Didn't Work?

Feb 13, 2010

I want to configure a VPN over the Internet.I installed the 'openvpn' package, generated the key file, transfered it by a secure way to the client, and setted up the configuration file.

So, in that configuration file I input the IP addresses of the tunneled interfaces. Both IPs are static in the tunnel.

Then, I've heard somewhere that I can assign a dynamic configuration IP for the client. I do this registering a range.

Well, when I tried to change static IP to dynamic IP (changing '192.168.0.2' to '192.168.0.0/24') in the configuration file, the OpenVPN didn't work.

Obviously I don't know what I'm doing, and I really, don't believe that simply changing the IP will make it work, but I tried.

I hope I explained my problem as well.

My configuration file:

# OpenVPN Server Configuration File
dev tun 0
ifconfig 192.168.0.1 192.168.0.2
cd /etc/openvpn
secret key_file

In client I execute the 'openvpn' without the '--daemon' parameter.Then I want that my client uses a IP in a range (192.168.0.0/24, for example), instead of a static IP (192.168.0.2).I also thought to use a DHCP server, but I'm not sure that will work.

View 6 Replies View Related

Fedora Networking :: Bluetooth Stack Creates Rfcomm0 But Is Not Applying The Correct Context Label To It?

Sep 9, 2010

if an admin decides this is security feel free to move, at the moment I can't decide where so posted here...On my laptop (msi-u100) my bluetooth stack creates rfcomm0 but is not applying the correct context label to it so selinux is bitching.

View 2 Replies View Related

General :: Can't Open File/abcd/configFiles/vim/syntax/syntax.vim?

Mar 7, 2011

When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.

Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.

But still i keep getting the same error. I am not too sure where this file is mentioned.

Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.

View 1 Replies View Related

Software :: Gnuplot - Combining A Linear Range And Log-scale Range In The Same X-axis?

Apr 24, 2011

I want to plot a set of data in only one plot.The problem is that some points of the data should be better plotted in a linear scale (lets say 0 to 100,000) but there are other data points that, exceding the value 100,000, would be better plotted in a logarithmic scale, as they goes in the range 100,000 to 500,000,000. Let's say the data is:

Code:

X Y
0 100
10000 80
20000 75

[code]....

Is there a way to plot all these points in the same plot in only one X-axis showing two different ranges in that axis: linear: 0-100,000 logarithmic: 100,000 - 1,000,000,000?The axis would be read, for example, as:

Code:
|-----|-----|-----|-----|-----|-----|-----|-----|-----|
0 20k 40k 60k 80k 100k 1M 10M 100M 1G

(The abbreviations k-M-G are not the important point. Just shown for clarity)

View 2 Replies View Related

Programming :: Bash Script To Ping A Range Or Own IP-range?

Apr 11, 2011

I want to build a bash script, which can ping a range IP adresses which will be filled in by the admin. If there is no IP-adress filled in, then the script must ping the subnet where the system is logged on. So if my ip is 192.168.1.6, then the script must ping from 192.168.1.1 till 192.168.1.255 Or else, if there is given a beginning and ending ip it must ping that!

The first part of the bash script is to ping a given range (see below). But there is one problem, how can I tell the script to ping from $begin till $end, [..] is of course wrong! But what must be filled in there???

echo "Enter beginning IP-adres:"
read begin
echo "Enter ending IP-adres:"
read end
ping -c 1 $begin [..] $end

The second part is to find my own ip and ping the whole range.. How to do that? I only can find my own IP, but I cant ping the whole range,, how to do that?

#!/bin/bash
ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' |
cut -d: -f2 | awk '{ print $1 }'

View 11 Replies View Related

Ubuntu Networking :: Port Forwarding From Public Address To Private Address?

Feb 24, 2010

Currently my OS is Ubuntu 9.04 Jaunty Jackalope Desktop OS and my web server is Apache2. I have a public address 60.x.y.z and my pc local address is 10.x.y.z. I have a web app in my Apache2 which currently run in localhost(10.x.y.z).

I would like to enable the web app so that it could be browse from outside. I know there maybe some port forwarding process and some commands involved in order to do that. But I have no idea on the steps to do that.

View 5 Replies View Related

Networking :: Program To Assign Globa LIPv6 Address And Bind() To The Previously Assigned Address?

Apr 24, 2010

Consider the following program:

Code:
#include <stdio.h>
#include <stdint.h>

[code]...

View 2 Replies View Related

Ubuntu Networking :: Static IP Address And The Install Configures For A DHCP Configured Address - Network Not Starting

Dec 16, 2010

Version 10.04 LTS. Installed desktop version and network worked but I needed a static IP address and the install configures for a DHCP configured address. I tried changing to static address using the System->Preferences->Network Connections application but was unable to get the system to come up with the network up.

So I manually modified the /etc/network/interfaces and the /etc/resolv.conf files. I restart the system but when I do an ifconfig, I don't see a configured IP address on eth0 (only the loopback address). If I run /sbin/ifup eth0 everything then works fine and ifconfig shows the correct address bound to eth0.

My files are as follows:

View 2 Replies View Related

Ubuntu Networking :: IP Address Set To Manual But Still Queries DHCP For Address

Mar 12, 2011

I'm running Ubuntu 10.10 and I'm having problems trying to assign it a static IP address. No matter what I put in the Preferences->Networking area (identifying the interface as Manual)... it still will query DHCP for an address if I run the dhclient command. I'm using to using ubuntu server where I just set the IP in the interfaces config file.

View 1 Replies View Related

Networking :: Dynamic IP Address With PTR Record Versus Fixed IP Address Without?

May 7, 2010

I am running my own Postfix mail server. Some time ago I noticed that most email was rejected because of the server's dynamic IP address. So I got a fixed IP address. However then I noticed that some mails got rejected due to failing the reverse DNS check. So my ISP told me to get a range of IP addresses and they could then create a PTR record for one of those addresses. That is now running but it turns out that the IP address used for the PTR record is a ... dynamic IP address. So Spamhaus PBL rejects my emails again.

View 1 Replies View Related







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