Ubuntu Networking :: Temporarily Unmanaging A Specific Interface?

Aug 6, 2011

As part of my job, I have to configure a lot of network devices that are configured through web pages. This generally means plugging in to them via ethernet, going to their default IP address and reconfiguring them. I set my IP address using ifconfig, which is much faster than plugging numbers in to networkmanager's GUI. The problem is, NetworkManager seems to take the interface down at random.I could disable NetworkManager but then I don't have a wireless connection.Is there a way to tell NetworkManager to temporarily ignore what is happening on a specific interface or should I just ditch NM altogether when doing this kind of work and use wpa_supplicant to get on my wireless?My co-worker with the Windows machine is looking over my shoulder and chuckling

View 2 Replies


ADVERTISEMENT

Networking :: Route Add With Specific Interface?

Apr 18, 2009

I have an Asterisk-server with 2 interfaces, a WAN-interface (eth1) and a LAN-interface (eth0).

SETUP : IAX-provider(internet) --> firewall --> Asterisk-server --> switch --> clients_on_LAN

So everything coming from the IAX-provider on port 4569 is forwarded to the Asterisk-server's WAN-interface (eth1). This needs then be routed to an internal SIP-phone (an IVR-system will define which one) via eth0. When a call is initiated from an internal SIP-phone (they register to the IP-address assigned to eth0) it needs to be routed via eth1 to the gateway (192.168.4.250). Asterisk will setup an IAX-channel on WAN-interface (eth1) to the IAX-provider (via gateway). So... will this work :

Code:

route add -net ip_IAXprovider netmask 255.255.255.0 gw 192.168.4.250 dev eth1

Code:

route add -net 192.168.4.0 netmask 255.255.255.0 dev eth0 (no gateway needed for the LAN-interface, communications to the gateway need to go via the WAN-interface !)

View 4 Replies View Related

Ubuntu Networking :: Disable IPv6 On Specific Interface?

May 26, 2011

When I run OpenVPN server - tap0 adapter, it breakes Teredo(Miredo) IPv6 address down. I dont need IPv6 on OpenVPN, so is there any way to disable IPv6 on tap0 completely?

View 2 Replies View Related

CentOS 5 Networking :: Route Add With Specific Interface?

Apr 19, 2009

I have an Asterisk-server with 2 interfaces, a WAN-interface (eth1) and a LAN-interface (eth0).

SETUP :

IAX-provider(internet) --> firewall --> Asterisk-server --> switch --> clients_on_LAN

So everything coming from the IAX-provider on port 4569 is forwarded to the Asterisk-server's WAN-interface (eth1).
This needs then be routed to an internal SIP-phone (an IVR-system will define which one) via eth0.

When a call is initiated from an internal SIP-phone (they register to the IP-address assigned to eth0) it needs to be routed via eth1 to the gateway (192.168.4.250). Asterisk will setup an IAX-channel on WAN-interface (eth1) to the IAX-provider (via gateway).

So... will this work :

route add -net ip_IAXprovider netmask 255.255.255.0 gw 192.168.4.250 dev eth1

View 9 Replies View Related

Ubuntu Networking :: Forcing An Application To Use Specific Network Interface

Apr 19, 2010

How can I force a Wine application (or Wine itself) to use a specific network interface? I have installed hamachi and am trying to play starcraft over virtual LAN. However, when I run Starcraft with hamachi running, it does not work. I have now determined that hamachi creates a network interface called "ham0". How do I force Wine/Starcraft to use the "ham0" network connection? I have looked into forcebindip but it crashes on wine.

View 1 Replies View Related

Ubuntu Networking :: Ping From A Specific Interface, Not The Expected Result

Mar 28, 2011

im trying to ping from a specific interface, I have a wired and a wireless connection both going into my laptop.

My wired adaptor eth0 is on the ip 172.16.109.75 my wifi adaptor wlan0 is on the ip 192.168.1.69

when I ping google with my eth0 unplugged with the following command

Code:
conneco@mcr-pc-29334:~$ ping -I wlan0 www.google.co.uk
PING www.l.google.com (74.125.230.115) from 192.168.1.69 wlan0: 56(84) bytes of data.
64 bytes from 74.125.230.115: icmp_seq=1 ttl=51 time=32.7 ms

[Code].....

View 1 Replies View Related

Ubuntu Networking :: Forcing An Application To Use Specific Network Interface?

Apr 8, 2011

How can I force a Wine application (or Wine itself) to use a specific network interface? I have installed hamachi and am trying to play starcraft over virtual LAN. However, when I run Starcraft with hamachi running, it does not work. I have now determined that hamachi creates a network interface called "ham0". How do I force Wine/Starcraft to use the "ham0" network connection?I have looked into forcebindip but it crashes on wine .

View 5 Replies View Related

Networking :: Force TCP Traffic Out Over Specific Interface / When IP Is Bound To Another Local NIC

Aug 12, 2010

I'm hoping some of the Linux network experts can help me with this problem.

Situation: I have a technology which is a WebLogic JEE application that communicates to an Oracle database. Everything is installed in a single Linux virtual machine running in VirtualBox. Traffic from the JEE application goes via JDBC over TCP to the local running database. What I want to do is test a new database firewall server that wants all traffic destined for the database to flow via another virtual machine running the DB Firewall software.So therefore want I need to do is have DB traffic forced out over one interface only to return on another interface on the same VM listening on a different address.

JEE application running in WebLogic bound to 192.168.111.12 (eth1 a VirtualBox hostonly interface). Makes a request for 10.0.111.12 (eth2 a VirtualBox internal interface) which the database is listening on. Because both IPs are on local interfaces, Linux is going to handle the traffic and not route the 10.x traffic via the 192.x interface.I also have running the database firewall server which has a bridge (br0) between the HostOnly network and the Internal network.Both systems are running Oracle Enterprise Linux R5U4, which is basically the same as RedHat.What I want to do is have the request for 10.0.111.12 forced out via 192.168.111.12, bridged over the br0 connection and back into 10.0.111.12 and to the database. My networking knowledge is pretty good, but i'm stuck right now on the right way to do this. I'm pretty sure it is possible, I just need clear advice.

Reason for setup: Ideally I would build the system with the database on a separate machine so that I can easily route the traffic. Unfortunately we have many VirtualBox based demonstration systems with both the application and database installed on the same VM and therefore the amount of work to migrate these two dual VMs is going to be significant, also many of these VMs are demonstrated from laptops which have limited resources and creating a new database VM reduces overall performance. If I can create a way to force the traffic in this manner off and back onto the same VM via the other VM bridge, it would be fantastic.

View 7 Replies View Related

Networking :: Route Traffic From A Single Host Through A Specific Interface?

Aug 21, 2010

I have a linux router with 2 physical ISPs and a VPN tunnel that all my traffic passes through. I would like to setup a rule to redirect all traffic from one internal IP address (10.0.0.x) through the physical link only. My current script is as follows.

iptables -F
iptables -X
echo 1 > /proc/sys/net/ipv4/ip_forward

[code]....

My goal is to do something similar to the mangle on the tor traffic, but for an entire host.

View 2 Replies View Related

Ubuntu :: Program To Specific Network Interface?

Mar 23, 2010

Is there a way to make a program use a specific network interface ? When using my laptop at work i may be physicaly connected to multiple networks. i was wondering if i can make sure that certain applications use a specific network interface. I would google around for the answer but i cant figure out how to phrase it correctly for a search.

View 2 Replies View Related

General :: Running Web Browser On A Specific Network Interface?

Feb 26, 2011

suppose I have multiple interfaces installed on my machine. The question is how to specify which interface to use while starting a web-browser.What I would like to make possible is something like:Code:browser_name interface addressif it is possible in for any web-browser or via scripts please advise me accordingly.

View 7 Replies View Related

Debian Configuration :: Routng Traffic To A Website Via A Specific Interface

Jul 30, 2011

I am running Debian Squeeze on an old pc (AMD K62-500) which serves as my multiwan router and torrent box. Internet uplink is provided via a dsl line and 2 wireless canopy modules.

Setup has been generally fine except when connecting/downloading as free user from sites like rapidshare, hotfile, filesonic, etc. The problem arises when I am connected to these sites using the wireless uplinks because of the shared public ip. I don't really download that much using direct download methods so I don't really see myself being a premium user from these sites.

If these sites are on a specific ip or ip range, an entry on the static routing table would have been fine but when I tried using ping, a different ip would appear to reply each time.

I wonder if there can be a solution like using iptables where in traffic to and from these sites will only use the NIC connected to the dsl line.

View 1 Replies View Related

Networking :: ATT Uverse DHCP Not Assigning To Red Interface Interface On Smoothwall?

Feb 14, 2010

I just had an ATT Uverse RG installed. However my Smoothwall router that previously worked fine with the ADSL SpeedStream is no longer accepting an address assignment DHCP ip address from this new gateway. (3800HGV-B)Any thoughts ideas or experience working with this hardware? ATT only supports Windows and Mac

View 2 Replies View Related

Networking :: Prevent Auto Up An Interface At /etc/network/interface File ?

Jul 18, 2011

I have a ppp0 entry with post-up options like this

mapping ppp0
map none photon-plus motorola
map timeout: 12

[code]...

View 8 Replies View Related

Ubuntu Networking :: Wifi Only Temporarily Connects On Asus EEE 1000HE?

Jul 4, 2011

I've got an Asus EEE 1000HE, and it's worked fine for a long time with the EEEBUNTU distro (a distro based on Jaunty (i think) with a custom kernel). Unfortunately, Eeebuntu is no longer maintained, so I recently did a clean install of Ubuntu 10.04.2. I am now unable to get my wifi to work reliably.

The wifi tries to connect for a while, then pops up the "Wireless Network Authentication Required" window. If I hit "connect" it will try again for a while, then pop up the window. Etc. Note I know that my connection information is OK. I haven't mistyped the password (see below). Also note that the wifi antenna is turned on. For example, iwlist scan is able to find my network.

There is a weird twist though: The netbook is always able to connect through an ethernet cable on eth0 just fine. If I boot the netbook with the ethernet cable plugged in, the wifi instantly connects as well! I can then unplug the ethernet cable (eth0 goes away), but I am still able to use the wifi connection for about 5 minutes before it disconnects, and goes back to trying and failing to connect.

This behavior is 100% replicable--the wifi always works fine (for about 5 minutes) if it boots with the ethernet cable plugged in. Very rarely, the wifi will also connect on boot without the ethernet cable, but that is not replicable.

Other EEE netbooks seem to have issues with multiple wireless drivers, like in this thread. Perhaps something similar is happening here? My card seems to be using rt2860sta as a driver. I tried blacklisting it, to see if another driver was trying to load instead, but that just negated my wifi altogether. (It's unblacklisted again)

My router is a very reliable Linksys WRT54GL with factory firmware which has never been flaky.

I'm at my wit's end. This netbook will be useless without wifi.

Below is the suggested information for a first post:

Here's lspci (note there is nothing listed as "Wireless Brand" to grep out):

Code:
lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)

[Code]....

View 9 Replies View Related

CentOS 5 Networking :: Iptables DOS Temporarily Block IP?

May 5, 2011

I have the requirement that if our website receives 20 or more requests within 60 seconds, to block the offending IP address for 5 minutes, then allow them access again. My only certain mechanism to do this is iptables. I wrote the following series of commands:

iptables -N RATE_CHECK
iptables -N DOSAttack
iptables -N RemoveBlock

[code]...

I am limited in my testing, but the little I have been able to test seems to be having no effect. will the above commands have the desired effect.

View 4 Replies View Related

Ubuntu Networking :: 'Resolving Hosts' On Lucid - Pinging Self On WAN Temporarily Fixes

Oct 16, 2010

So I've been reading around a bit, and have found a few fixes for this Resolving Hosts problem, but none of them have fixed mine yet. Basically what happens is all browsers fail to load pages, pinging local network works, but pinging default gateway doesn't. Cannot ping external websites and cannot reach update or upgrade servers for ubuntu. All networking works as normal on all other PCs in house, as well as the windows 7 boot I have on my ubuntu PC.

What I've tried:Disabled IPv6 completely by preventing the module from booting up Manually setting network settings instead of using the router's DHCP server Changing DNS servers from ISP to Google public DNS to OpenDNS Buying a new ethernet card And a few other things I can't remember off the top of my head, none of which worked. From memory, all this just started happening out of the blue. I recently changed from Windows to Ubuntu, and was enjoying the switch but all of a sudden I couldn't get on the internet on Ubuntu.

Now, I'm not sure why, but I decided to ping myself. Not my LAN ip, but our router's WAN ip. It worked, albeit took a little while to return a response the first packet, but each subsequent packet after that was a normal speed (~0.5ms). The strange thing about this was that I found that for a few seconds after pinging myself, I could access the internet. After a few seconds though, it returns to it's resolving hosts self again, which another self-ping would fix.

Consequently, in order to browse, I have an open terminal constantly pinging myself which appears to be working. Not ideal, and certainly not something I would like to keep doing for long, but it works for now. I really like Ubuntu, but if I can't get this net thing fixed, I can't finish moving over from Windows!

View 7 Replies View Related

Ubuntu :: Giving A Specific User Permission To Start/stop A Specific Service?

Jun 8, 2010

How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.

View 5 Replies View Related

Ubuntu :: Allow A Specific User To Mount Or Remount A Specific Partition?

Jun 9, 2010

my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)

View 7 Replies View Related

Programming :: Search A Bunch Of Files In A Specific Folder For A Specific Number?

Jul 24, 2010

I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".

The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .

View 5 Replies View Related

General :: Change A Specific Characters To Capital In A Specific Text?

Dec 2, 2010

for example

else {
for fileDOC in $location/*.doc
do

[code]...

View 12 Replies View Related

Server :: Sendmail: Block Specific Sender To Specific Recipient?

Oct 1, 2009

I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.

View 6 Replies View Related

Ubuntu Networking :: Specific E-mail Not Being Sent?

Jul 26, 2011

send out lots of e-mails, except this specific one that I'm trying to send to my Member of Parliament. My ISP has blown me off and tells me it's a problem of a firewall or antivirus program on my computer (I also can't rule out my router, but I seriously doubt it has that level of sophistication).en I try to send, after about a minute I get "4.4.2 Timeout while waiting for command" which is why my ISP says this is my problem. I've looked in /var/log/messages and it doesn't give any indication that this system is blocking the e-mail. I don't think it's a firewall but how can I tell? Or what else can I try?

View 1 Replies View Related

Programming :: Replace Specific Character After Specific Line By Awk?

Jul 19, 2010

I want to replace specific character in a file after every specific line. example as follows.

O 000000000000000000
A 111111111111111111
C 222222222222222222

[code]...

View 2 Replies View Related

Ubuntu :: Disable Notifications Temporarily?

May 6, 2010

In order to be able to concentrate, I would like to have an applet (or script) to temporarily disable notifications.In the same spirit of Caffeine which inhibits the screensaver when activated.I saw this tip, but would like something which does not require reboot

View 2 Replies View Related

Ubuntu :: How To Temporarily Disable NetworkManager

Aug 12, 2010

I'm looking to temporarily disable NetworkManager while I configure some things in a shell. It's interfering by auto-reconnecting and using the network interface in the process. I've tried killing the process but that just seems to disconnect the network not kill the NetworkManager applet. I don't want to uninstall, and I don't want to have it disabled on startup. I just want to "close" it or "turn it off" temporarily! How can I do this? Also, I'm using 10.04

View 1 Replies View Related

Ubuntu :: Telnet Temporarily Freezes?

Jun 19, 2011

When connecting to my Ubuntu box from my Windows 7 machine via Telnet, the session will sometimes freeze for a few seconds before allowing me to continue typing. This seems to happen every few minutes. Both machines are wireless and I am connecting through my local network.

View 1 Replies View Related

Ubuntu Networking :: Can't Get Traffic Across Interface

Feb 2, 2011

I've got 4 or 5 of these TRENDnet USB network adapters ( TU-ET100c ) that I use frequently when I'm configuring firewalls or IPS devices for customers. I use them in combination with VirtualBox to test. They've always worked great until my new laptop I just got, and I put 10.04 on it. Previously I was on 9.x. Sometimes they will give a link light, other times not. And when they do the interface shows that it's up, but I can't get any traffic across the interface.

[code]...

View 3 Replies View Related

Ubuntu Networking :: No WLAN Interface On 11.04?

Apr 29, 2011

Today I upgraded from 10.10 to 11.04. After accidentally turning off the computer during the upgrade, booting into recovery mode, remounting the file system as writable and finishing the upgrade, it worked just fine.

However, I can no longer use any wireless networks. Wired ethernet works fine, but the wireless inteface won't even show up when I run ifconfig. When I first installed 10.10, it worked instantly and I was able to use it during installation.

I have an HP Compaq nx7300 laptop with a Broadcom BCM4311 network card.

View 1 Replies View Related

Ubuntu Networking :: Run Script Only On Specific Network

Oct 25, 2010

my laptop connects to two specified networks (home, office). When i'm in my office, i don't need to run OpenVPN and automount disc (entered in fstab) from my homeserver. But when i'm at home, i need OpenVPN running and mount some network drives. How can i define, what to run on which network? Can you recommend me something?

View 1 Replies View Related







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