Networking :: Networking Script Doesn't Allow Local Machines To Connect To Each Other?

Jan 21, 2009

I wanted to be able to have separate NICs with separate IPs connecting to separate gateways on a machine so I could put an ftpd on each one. I tried binding an ftpd to each, and running separate instances of the ftpd. I tried virtual hosts.

NOTHING worked. I could either use one ftpd or the other. I could either connect via ssh on one IP or the other. the second I turned one NIC off stuff would work again. I messed with basic iproute commands, andnothng worked until I got this script to run, which allowed me to use each NIC independant of the other.

Code:
#!/bin/sh
#ip route flush all
ip route del default dev eth1
ip route del default dev eth0
ip route del table 1
ip route add table 1 to default via 10.10.10.1 dev eth1
code....

But now, samba client doesn't work. cifs mounting doesn't work either. It can't connect.

BEFORE I ran that script, I could connect via ssh, or to the ftpd running on the machine using a LOCAL IP - 10.10.10.2. AFTER, I have to use the external IP, or I cannot connect. I know that has something to do with it, but I do not have the advanced linux routing knowledge to redo the script or come up with a solution.

View 5 Replies


ADVERTISEMENT

Networking :: Script - To Mount Smb - Doesn't Run From Rc.local And Only Works On Some Machines

Nov 29, 2008

I have a script which runs a few other scripts (in subfolders of the first script) in order to mount some unix/linux shares) Anyway, when I run the file from rc.local and try to pipe the output into a file the file is empty and the shares are not mounted. however when I run the file it mounts everything.... Also, the script doesn't work on my wireless clients...

View 1 Replies View Related

Networking :: 3 Nics - Connect To Internet - Share To Local Net - And Connect To Local Net - Not Working

Sep 15, 2009

I have a Dell PowerEdge 1650 server with 3 NICs in it. I am trying to use one NIC (eth0) to connect to the internet, the second NIC (eth1) to share the internet connection to a LAN, and the third NIC (eth2) to connect to the LAN.

It is running Ubuntu server 8.10

The problem that I'm having is that NetworkManager (version 0.7.0) keeps setting eth2 as the default connection, and then I don't get any internet at all from the server.

My main goal is to be able to share files from the server to computers on the LAN. The secondary goal is to have a virtual machine hosting a Halo server, connected through eth2, so that it can host LAN games. But that is a secondary goal after I get the connections to work.

I've been looking around and finding other people who have done bits and pieces of this, but not the whole thing. I had been hoping to simply use the NetworkManger, but I don't mind editing config files.

Also I can't seem to find any good instructions on editing the /etc/network/interfaces file. The man file is incomplete, and everything seems to point back to the man file.

View 2 Replies View Related

Fedora Networking :: Networking On F11 Doesn't Work On Various Machines

Aug 25, 2009

Networking on Fedora 11 doesn't work for me on various machines. Fedora 10 does, but only if you don't do an update.Why does Fedora get worse the more you keep it up-to-date?

View 1 Replies View Related

Ubuntu Networking :: Can't Ping Machines On Local Network

Jun 23, 2010

So in an effort to increase the speed of my netbook, I removed Ubuntu and installed Lubuntu on it. When I tried to mount my samba share as I normally do, I noticed it wasn't able to connect - mount error(113): No route to host. Sensing something fishy, I attempted to ping the machine (both by name and by IP) - Destination Host Unreachable.The machine I'm trying to connect to is using Ubuntu 10.04 x64. I attempted to ping the other way and it was able to connect to the netbook just fine. When the netbook was using Ubuntu, it was connecting fine. My iptables check out ok, but here is the output of iptables -nvL:

Code:

Chain INPUT (policy ACCEPT 213 packets, 21635 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)

[code]....

Does lubuntu have some funky firewall built in to it that I can't find? (I've Googled for information on a Lubuntu default firewall and can't find any)

View 1 Replies View Related

Ubuntu Networking :: Homepage Routed To D-Link Router Login Page On Local Machines?

May 20, 2011

In addition to 2 "desktop" machines, I recently set up an Ubuntu Server with Apache2, but when I try to access my www.homepage from a machine locally connected to the same router (via both wired & wireless interfaces), I am directed to the Login page of the router, not to the www.homepage. Yet, when I access the www.homepage from elsewhere, my www.homepage is accessible.

I can browse to my www.homepage by entering the local IP address into browsers on both local machines, so I know the machines are talking to each other. Just not letting me get in via normal internet browsing channels.

Server: Ubuntu 11.04
Webserver: Apache2
Router: D-Link DIR-615
IP Address of: 192.168.0.110 (reserved on router, static on server)

[Code]....

View 7 Replies View Related

Ubuntu Networking :: Can't Connect Between Machines

Jul 27, 2011

I have no idea how to search this one. I can connect to the internet no problem. I can connect to Windows XP and 7 using

Code:
nautilus smb://192.168.0.x

I cannot connect between Ubuntu machines. Which thread am I looking for? I've been using Ubuntu for years, and still do not have a clue about this, but it's not been an issue until my family wants to play games over the home network.

View 3 Replies View Related

Ubuntu Networking :: Can't Connect To Windows 7 Machines

Sep 17, 2010

I may be missing something very easy here, but I have a fresh install of Ubuntu 10.04 64 bit (I have also tried 10.04 32 bit) and I cannot connect to my windows machines. I can't connect by going to the network window, or by connect to server via ip. Basically, I can see the windows machines but then I double click it, and it asks for the credentials. I'm the admin of all of the machines, and I only have one login to my windows machine, which is my name First Last. I am entering this, and my password (which I'm sure is correct) and click "Connect". It thinks for maybe a half second, then presents me a blank credentials box, wanting me to start over.

I can connect to my Macbook without any troubles.

I'm using an Acer AspireRevo 1600, wired connection.

View 4 Replies View Related

Ubuntu Networking :: Cannot Connect To Shared Folders On 10.04 Machines

Aug 12, 2010

I have two Ubuntu 10.04 computers ans several windows computers on a common ip address on my LAN, I cannot connect to the shared folders on the Ubuntu machines but all windows machines connect fine. I see the Ubuntu computers in networks on both Linux machines. When I try to access a shared folder on the Ubuntu machines it ask me for the user name, domain, and password even though I set Remote Desktop sharing to "Configure network to automatically accept connections"

View 1 Replies View Related

Ubuntu Networking :: Home Network - Connect To The Windows Machines

Jan 14, 2010

I have a home network of 4 computers - 3 Windows & 1 Xubuntu I'm able to connect to the Xubuntu machine from all of the Windows computers, but I can't do the opposite - connect to the Windows machines from the Xubuntu. I'm using Gigolo, and I can see the network, but it says no servers found.

View 5 Replies View Related

Ubuntu Networking :: Connect Machines Together (via A Modem / Router Of Course) To Browse Files

Jul 27, 2011

I have 2 machines both using U 11.04, one of them being Studio. I have tried to connect them together (via a modem/router of course) to browse files but I can't connect. I get error messages. I've installed samba and everything.

View 1 Replies View Related

Ubuntu Networking :: Cannot Connect To Local Network

Mar 25, 2010

up until about four days ago connecting to the local LAN was as simple as booting Ubuntu, and letting nm-applet automatically connect on Auto Eth0 But the other day it just randomly stopped working, with no cause that I can think of. I can still connect to the internet (This is via a PPPOE connection, running through the same wired interface) so it can't be a hardware problem with the ethernet port/cables themselves. nm-applet just stays spinning in circles, and nothing ever happens. I tried deleting the auto Eth0 entry, and creating another LAN entry with exactly the same settings, but I still get the same problems. way to completely restore nm-applet settings? Or some other way to give me access to the local network?

View 3 Replies View Related

Networking :: Can Connect To Internet But Not Local Network?

May 3, 2010

I Have Ubuntu 9.10 Server installed and for some reason after updating our server with the ubuntu update manager, we can no longer connect to the network via remote desktop, let alone not even able to ping. We are actually able to connect to the internet itself just fine so I dont understand why this isn't working

View 3 Replies View Related

Networking :: Connect To A Nfs Server On Local Network?

Sep 6, 2010

I am trying to connect to a nfs server on my local network ( the server is a fedora 12 box ) using slackware 13.1 but I am having some problems. First of all I am sure that the server is configured ok and my desktop can ping the server but when I try :

mount -t nfs 10.0.0.1:/home/usr/file /home/usr/tmp I get the following error : mount.nfs: No route to host

And when I try to rpcinfo -p 10.0.0.1 I get the error :

rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host

View 5 Replies View Related

Fedora Networking :: Cannot Connect To Local Computers But Can To Internet?

Sep 28, 2009

I am using Fedora 11 all upgrades, wireless network WUSB54G network adapter. I can get to the internet but cannot get to any Windows (192.168.1.100) or Fedora 11 (...104) computers, printer (....101, 105). Here are the tests I have run.

[root@Fedora2 sbin]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.76 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=268 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.63 ms
^C
--- 192.168.1.1 ping statistics ---

View 1 Replies View Related

Ubuntu Networking :: Unable To Connect To Local Network

Oct 23, 2010

I bought a new desktop Lenovo and got problem: I can`t to connect to my local network

Some output:

Code:

$ lspci
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)

[code]...

I tried ifconfig eth0 up, but nothing...

View 1 Replies View Related

Ubuntu Networking :: How To Connect Local Server From Internet

Nov 9, 2010

I have dynamic internet connection. In my network one machine run glassfish server in port 8080 (it IP address 192.168.1.3). If I type http://192.168.1.3:8080/ that load my glassfish server page. What I want is using dynamic IP like http://<DynamicIP>:8080/ load my glassfish server page. How can I do it ? My router is Dlink GLB-802C > I haven't good knowledge about network.

View 3 Replies View Related

Networking :: Connect To External Computer Using Local Address?

Apr 9, 2011

I couldn't find an answer to this question (not including vpn) on different threads so decided to eventually post it, though it's probably easy one. I would like to connect to some application on known IP and port in the internet from my LAN computer. However to do so (I have some application, not any administrative constraints or not being allowed to) I would like to use local addresses. So, let's say - I want to connect to the external host VV.XX.YY.ZZ, port AA using 192.168.EE.FF port BB. Baically so far I have limitation in my application (too many places for possible error, to correct it right now - will change it in future). Is it possible that after my application sends request to 192.168.1.EE port BB, my Linux transparently translates it to VV.XX.YY.ZZ:AA? I tried iptables tutorials and some forums, but nothing seems to be addressing this issue. I don't know if it's event possible with iptables but am pretty sure this should be possible.

View 5 Replies View Related

Ubuntu Networking :: Unable To Connect To Local LAN Computer Via IP Address

Jul 27, 2010

I recently setup motion on one of my computers with a USB camera. On that computer if I type [URL] I can see my live video. If however I type [URL] on that computer or any other on my wireless network, I get a page cannot be displayed. I checked that UFW was disabled and I am able to ping the motion computer from any other computer on my network. Also I am not sure if it matters but I do have apache installed on my motion computer as well. why I cant view my live video from different computers I am using Ubuntu 10.4 on all computers

View 4 Replies View Related

Ubuntu Networking :: Connect With Other Windows Users In A Local Network?

Jul 16, 2011

I have installed ubuntu 11.04 recently.. how can i connect ubuntu with other windows users in a local network...

View 1 Replies View Related

Ubuntu Networking :: Can't Connect To .local Hosts / Websites On Company Network (DNS)?

Jun 27, 2011

Problem:Your company network has internal only hosts / websites with names that end in .local, e.g.Your freshly installed Ubuntu machine works fine on the network, has internet access, etc. but cannot connect to these particular systems.Testing DNS with tools like dig / nslookup works fine, but normal name resolution with ping / telnet / browsers does not work.Solution:1. Open a terminal window2. Enter the command sudo nano /etc/nsswitch.conf3. Change the following line:hosts: files mdns4_minimal [notfound=RETURN] dns mdns4to this:hosts: files dns4. Press Ctrl-X, Y, Enter to saveExplanation:Ubuntu ships configured to do name lookups for self-configuring networks, based on the AppleTalk / mDNS / Bonjour protocol. In the configuration shipped for the resolver, this protocol is considered the final aurhority for the ".local" top level domain, and DNS will not be checked. The above configuration change eliminates this and restricts lookups to (a) /etc/hosts file, followed by (b) DNS

View 1 Replies View Related

Networking :: Windows 7 Doesn't Like To Connect To SMB?

Mar 25, 2011

I knew I should have waited before I retired from IT... what in the world does one need to do to get Windows 7 to access Linux SMB fileshares? All the information I've found online is sketchy and confused at best

View 10 Replies View Related

Networking :: Feasible / Desirable To Setup A Network Of Virtual Machines To Use As An Environment To Learn Networking?

Nov 18, 2010

I've been learning linux for a while now with half an eye on making a career out of it in future. One sizeable gap in my knowledge at the moment is networking. Is it feasible/desirable to set up a network of virtual machines to use as an environment to learn networking? My budget is non-existent so I was hoping to be able to get a basic understanding of the principles from installing a few desktops, a virtual gateway etc on VMware workstation on my laptop, and doing a lot of reading online.

Is this feasible, or will I just end up learning about virtual networks instead of real ones? Also how much power would be required, because my 3GB RAM lappy has just gone bang and all I have now is a (new) 1GB RAM lappy.

View 10 Replies View Related

Ubuntu Networking :: Samba And Windows Networking - Read / Write Access To All Folders Contents From Both Machines

Mar 9, 2011

Ive managed to install samba, I've shared a folder. I can access from a Windows 7 machine via \ubuntupublic. I can put files in the folder form the ubuntu machine and edit them on the windows box. I can put files in the folder/share from the Windows box but then I cannot edit them on the Ubuntu machine (they are read only and have a "Lock" over them). I can fix this by going to the properties of the file/folder in Windows and manually assigning "Everybody" full control (then the lock disappears and all is well.) I want read/write access to all the folders contents from both machines all the time (security is NOT a concern I WANT the permissions wide open) what am I doing wrong?

View 7 Replies View Related

Fedora Networking :: OS Doesn't Connect To The Internet

Feb 7, 2009

I've been trying to connect to the internet in Fedora 10 for the last week but can't figure it out. The OS has automatically connected to the internet a couple of times but now does not connect at all. The LAN ROM Boot option is enabled in my BIOS and am using a speedtouch 585v7 router provided by my ISP, I have an ADSL router and it's a standard ethernet connection to the router. What do I do to connect to the internet

View 3 Replies View Related

Ubuntu Networking :: LAN Connection Doesn't Connect

Aug 12, 2010

Just installed 10.04 on a Toshiba Portege laptop. Everything works fine except the LAN connection. Just doesn't connect. Based on what I know everything is on and enabled but no luck. The wireless works fin but can't connect to the network in my office through the standard cable. Installed the same operating system on a newer Toshiba (the second is my but the older one is a friends) and no issues at all. Wondering if it is a driver issue but can't figure it out. Am relatively new to Ubuntu but so far have found it easy to troubleshoot just reading posts and just trying out **** until it works. But this I've hit a brick wall.

Also ran in to a similar issue my work pc, except I had been working with it fine with 10.04 until I did a security update and puff... no more network. The eth1 connection is enabled and set to automatic but just can't connect to it. Sorry if I'm not providing enough info, just tell me if there is anything you need to know first and I'll post it.

View 4 Replies View Related

Ubuntu Networking :: Windows Doesn't Connect To The Ethernet Either

Aug 8, 2010

I wanted to test 10.04 and downloaded Wubi to do so. Normal setup, it automatically picked the 64-bit version. After booting into Wubi, installing my ATI drivers and restarting it did no longer connect to my ethernet. A few reboots didn't help so I went back to Windows for troubleshooting.

However now Windows doesn't connect to the ethernet either. It's plain dead, Windows doesn't find any connections and the modem doesn't light the Ethernet cable LED. The modem itself works fine with wireless devices. I have now tried everything including uninstalling Ubuntu, system restore, driver rollback, driver update, BIOS default settings, a different cable, a different modem etc.

This is a 64-bit specific issue because I tested the 32-bit version of Wubi 10.04 a few months ago without problems.

Windows 7 x64
Wubi 10.04 x64
Gigabyte P55-UD3 with onboard Realtek RTL8111D LAN.

I'd like to get out of this without Ubuntu effectively having broken my hardware and my trust in it.

View 9 Replies View Related

Ubuntu Networking :: Doesn't Connect - Wifi With Usb Adapter

Oct 23, 2010

I've just upgraded my old laptop from xubuntu to ubuntu 10.10 and I have some connectivity problems with my usb adapter Netgear WG111v3. On xubuntu I had no problems with connecting on the network but with ubuntu, it says I have good reception but it doesn't connect on the network (rarely it does, but for a very short time). I have another laptop currently running on ubuntu 10.04 and it has no problems at all (however it has an internal usb card).

View 1 Replies View Related

Ubuntu Networking :: 10.10 Doesn't Connect To Wired Network

Jan 9, 2011

I just finished installing Ubuntu 10.10 64bit. During installation Ubuntu was connected to the network and was downloading updates. After rebooting though, it cannot connect to the network.

View 1 Replies View Related

Ubuntu Networking :: Wireless Sometimes Disconnects And Doesn't Connect?

Mar 9, 2011

I facing a really annoying problem. I download regularly during the night using Wifi. The problem is that because I'm away, the wireless just disconnects and the pop window shows up asking me to into the password. The password is already saved in the windows so I just have to click 'connect'ut I don't understand why does it disconnect and when it tries to connect it asks for password again!y doesn't it simply 'try' to connect without asking the password when it is already saved.

View 3 Replies View Related







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