OpenSUSE Network :: Eth1 Stops Accepting Connections Whenever There Is No SSH Connection Present On Eth0
Oct 2, 2010
I recently setup a new SUSE box for the purposes of acting as an ftp/sftp server. It's currently setup to run ProFTPD 1.3.3.rc3 and mod_sftp/0.9.7. The server has two internal network interfaces eth0 and eth1. eth0 is purely for internal use to accept ftp and ssh. eth1 is outward facing and receives connections from the WAN via SFTP over port 22. The problem I am facing is that after half hour to an hour eth1 stops accepting connections whenever there is no SSH connection present on eth0. I can't figure out why this is happening.
ProFTPD is setup as follows: SocketBindTight directive is on, default server and port are commented out.
When the external interface is unreachable the proftpd and proftpd-sftp logs show no record of any connection attempt. I have noticed however if I leave eth0 down eth1 stays contactable without problem. Can anyone give me some pointers on what I can check to find out why this may be happening.
I'm not sure if this belongs in the Server or Networking section of the forums. Anyway, last month I upgraded my server to Ubuntu 10.04 LTS. Since then, I've had a recurring problem wherein after a certain period of time, the server stops accepting network connections. Ubuntu 10 will continue to reject network connections until someone logs into the server locally, after which time network connectivity is restored and the cycle begins anew. Essentially, the server goes into a "half sleep mode". I say half because the computer is still on and the fans are running.
I've done some searching around various forms and initially figured this issue was related to problems with the Network Manager service (https://bugs.launchpad.net/ubuntu/lu...er/+bug/524454), so I removed the service altogether. However, this problem is still occurring.
I've poured over /var/log/messages and /var/log/syslog, but have noticed no irregular behavior. Has anyone else experienced this issues? I'd rather not resort to downgrading back to Gusty Gibbon if I can help it.
I am happy to provide more information if its needed
I have installed Open SUSE in my DELL server which has 2 broadcom NIC cards, it showing both the NIC cards in Network configuration in YAST ,but it showing as not configured and not connected . Kernel device eth0,wlan0 are not present. In device manager also 2 Broadcom nic cards are detected.
I try to generate a server client code. What i try to do is sending video streams from eth0 and eth1 to the other server programs' eth0 and eth1. In order to do that, i decided to use SO_BINDTODEVICE. But the code is not working. Am i misunderstood the usage of SO_BINDTODEVICE.
1-Defining two ports 2-Defining two sockets 3-Assigning host ips on them
Installed a TP-Link TG-3269 Gigabit card in a machine running OS 11.3 32 bit, when I go into Yast, Network Devices, Network to try configuring the card I get this errormsg: Unable to configure the network card because the kernel device (eth0, wlan0) is not present. This is mostly caused by missing firmware (for wlan devices). See dmesg output for details. Couldn't find any mention of the card in dmesg's output, (though the 8139 onboard card is in there) there is some stuff about pci host bridge but I don't know whether they would be relevant or not
The chip on the card says it's rtl8169sc but lspci lists it as being 00:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8369 (rev 10) Done some googling and there don't seem be any drivers for a Realtek 8639 and it returns no matches from a search on realtek's site, but there is a driver there for rtl8169sc chips, which I downloaded and installed, no errors when installing it Even after a reboot I still get the same error in Yast's Network Settings screen, lspci still lists it as 8369 and the device isn't listed at all if I run ifconfig
I have a hardware device with two ethernet ports, eth0 and eth1 running Centos 5. Basically my goal is to forward packets from eth0->eth1 and eth1->eth0 as well as get a copy of these packets for analysis. If I set IP routing to do the forwarding then I won't get a copy of the packets for analysis.
I setup a mythbuntu pc with an onboard card (eth0) so I could watch and listen to movies and music stored on my other pc in the basement. Everything worked fine until we had a power outage. I turned on the pc after the outage and had no networking.
I looked and saw no link lights. I verified the network port but plugging in a laptop. I got an ip and able to connect to the internet so the port is not the issue. I plugged in a pci 10/100 card (eth1) and booted up, got link lights, but no networking and not able to even ping the gateway. I setup a static ip in /etc/network/interfaces and added a route to the gateway/router. Still nothing.
I've noticed that when Linux boots on different machines or with different versions, the network card is assigned to eth0 or to eth1, when there is only one network card. What is the difference and is there any way to tell which one it will be for any machine or version?
I'm using F12 on an old box which I have fitted with a new networkcard. I'm using the box as a music server (Twonkey) and want to use the new card (gigabit - eth1) as the default, but seem unable to. I can't switch of the mainboard ethernet option (eth0) in the bios and have tried to change the settings in the ifconfig-eth0 and -eth1 files by changing the hardware addresses as elsewhere recommended, but that doesn't work. During start-up it then gives me an error message that the MAC number was not the expected one. This would indicate that the network options are kept/read elsewhere. I'm not very familiar with Linux/F12. how to make the card the default option instead of the mainboard option.
I need to setup two ethernets in my Centos box. OK no problem both ethernet and 1 virtual works perfect. eth0, eth1 and eth1:0. I'm trying to set up diferent routes for eth0 and eth1/eth1:0 I need eth0 has a 192.168.1.1 gateway and eth1/eth1:0 192.168.1.100 gateway.I think I've tried almost every thing but always get one gateway for all the eth.These are my config..
/sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:XX:XX:XX:XX:XX inet addr:192.168.1.168 Bcast:192.168.1.255 Mask:255.255.255.0[code]......
I just finished a fresh install of 11.3 on an HP 7900 small form factor and have no network connectivity. In Network Tools eth0 shows the state as inactive. Network Connections didn't have a connection, so after letting it create one there is no MAC address. I copied and pasted the MAC address from Network Connections eth0, set up a static address with default gateway, netmask, etc. all set appropriately and rebooted. Still no joy.
I want this to get an address via DHCP, I just set up a static address for testing.11.2 sensed the NIC without issue, but 11.3 doesn't seem to like me right now.I wanted to get this deployed on 40 machines today. Oh well.
I'm using 11.3 gnome and cannot fix the eth0 connection. Tried to make it work with connection manager, ifup but both of them did'n make eth0 work. Here are some logs that you might wanna see:
lsmod: Module Size Used by nls_utf8 1165 1 st - Pastebin.com ifconfig: eth0 Link encap:Ethernet HWaddr 1C:6F:65:47:03:16 UP BROADCAS - Pastebin.com ifdown eth0:
I have TP-LINK router that sends wireless signal through the house which I'm using on my laptop's Ubuntu to connect on the internet, also I can connect with Ubuntu from laptop via the same cable that I'm trying to use on my desktop, so the router and cable are working. Also on my dekstop I've installed Windows 7 and can't connect from there either. The computer is new so i doubt that there is something wrong with its hardware. It all started when my connection disappeared. My ISP advised me to reset my router by plugging out the power cable and plugging it back in after 5min, and so I did. After that I could connect only from laptop. Tried to reinstall suse, to install ubuntu, but nothing worked. When I installed suse on my friend's computer, the only thing that I had to do is to open YaST and change the Network setup method from ifup to the NetworkManager, and also insert the MAC adress in the connection's properties. Tried that on my computer, but also didn't work.
When downloading a torrent after a few minutes my connection speed stops. Browser also. Same problem with Ktorrent and Deluge. The only way to solve the problem is to reconnect to my WLAN. I use a TP Link WR841N wireless router and a Toshiba satellite pro. The same setup is OK with windows and ubuntu 11.04 alpha3.
5.10 Breezy configured as machine controller. Works great eth0 is a fixed IP to communicate with controller comms board. Not easy at all to alter - the comms board is hard coded to listen on eth0 for commands.
I can use eth1 as the default gateway and ping google.com, etc. But when I now attempt to communicate with the controller with netcat, e.g.
Code: echo !HH | nc 192.168.1.6 80
I obviously never get an answer since the request is passed via eth1. Using the -g option with netcat doesn't work either. I had a look at iptables but it doesn't seem to be able to do what I want. How I can still use eth0 as my communication port to the controller whilst eth1 is the default gateway?
I have two servers on a vlan at my datacentre/colocation and previously both servers had public IPs on their eth0 interfaces. The servers are HP ProLiant DL360s - one is a G4 and one is a G5 The newer G5 is now the LAMP server and the G4 has been retired and I want to repurpose it as an iSCSI target using openfiler freenas or similar.
My G5 has public/static IPs lashed to the eth0 physical interface and the eth1 is not configured to do anything yet. The G4 will have both interfaces available - perhaps one for ssh access from one of my static public IPs and the other to be a private IP on the local vlan. Here is what I am trying to get my head around...
The G5 eth0 - Public IP - full LAMP services on two or three virtual interfaces eth1 - Private IP 192.168.0.1 The G4 eth0 - Public IP for ssh eth1 - Private IP 192.168.0.2
Because my traffic between eth1 on these boxes is via private IPs on the local private vlan it doesn't add to my quota for bandwidth. How do I go about configuring the routing and gateways and other aspects of this so that I can run a private IP space network between the eth1s and still serve the outside world from the eth0s...
I am afraid that if I assign the private IPs to the eth1 interfaces the routing may either not work or interfere with the access to the production internet facing interfaces (eth0s).
I have a wireless cable modem/router and a PCI-E 1x wireless card in my desktop PC. It works perfectly until I connect my Ethernet cable to my local router and printer, no more internet connection. I am guessing there is a setting somewhere that tells the networking software that the hard wire connection is the primary internet gateway. How do I tell it to use the wireless as the primary gateway?
Since I installed ubuntu 10.04 I dont see my eth0 card in System->Preferences->Network _connections. Everything works fine but it puzzles me. In ifconfig iI just see the eth0, networking seems to be working fine, but it keeps puzzling me. Adding theinterface is no solution: add it and it doesnt show again
I have ssh installed and running on my laptop(Debian Sequeeze). I can run "ssh localhost" without any problem. But for some reason I cannot connect to it from other computers. They all give "connection timed out". I can connect to these computers`s ssh servers but for some reason my laptop with Debian is not accepting any connections.
I would like to know if a rule has been applied to the iptables.active file to accept direct connections on port 22 through an IP address, can I also add a mac address/addresses to the rules such that if I am not on the network with the accepting IP address, that my MAC address will still get me in?
I have run a small webserver from my home computer and I can access it fine from computers on my local network, but cannot access it from other networks. I see in wireshark that the traffic is arriving at the computer and I have checked the firewall logs on my computer and nothing is being blocked(I use iptables as a firewall), and I can't see any reason why it shouldn't be working.
I have installed talk on centos, turned it on by editing xinetd.d/talk and setting disable=no.I have restarted xinetd (service xinetd restart) and verified that talk is configured to start (chkconfig --status-all).what am i missing? shouldn't either port 517 or 518 respond to telnet? what else can i do to get talk running?
Having a problem with tftpd on CentOS 5.5. I am only able to download files from the localhost address.
I have checked iptables (by adding rules and by turning the firewall completely off -- nothing changes) and enabled tftpd logging (by adding -v to the server_args section in xinetd.d/tftp) and I DO see the request coming in, but no response from the daemon. I've also tried upping the verbosity by adding multiple -vs and/or --verbosity 10 to the mix, but all I ever see is the initial request come in, nothing more. I've even tried running the daemon in foreground mode with -L but I get no verbosity then.
I got two IP's in my dedicated server. Both are external IP's. I would like to make connections using 2nd IP address under eth0:0 interface. For example: when using "lynx whatismyip.com" should display my 2nd IP. How to do this using iptables ?
I did a clean install of OpenSuse 11.3 a couple of weekends back. Everything is working great except the SSH server.Once I installed ssh, it appears to accept my connection, allows me to log in, and then freezes Putty, not allowing me to type anything into the terminal.If I wait several minutes, I'll get a message saying that the connection was closed. After that, the server won't accept connections.Sometimes it'll start accepting connections again, but after a while, the connection will close on its own. Other times, I will be unable to get a connection until I restart the server.If you guys needs any more information, please let me know. What could be causing this odd behavior?
I recently upgraded mu Fedora 13 to Fedora 14, I decided to add another NIC that I assumed it'll be eth1, when I boot the PC and typed #ifconfig eth0, eth1, lo appears. But when I typed #setup eth1 is not present. Why is that? I remembered doing this in Centos 5.5 but it automatically appears after I added a NIC and boot the pc? what should I do?
I have added a new network card on my Cent OS machine. This is a RTL-8139/8139C/8139C+ card. When the machine boots or I start the network it displays "eth1 does not seem to be present,delaying initialization."I have gone through different posts on the forum with similar problems and have posted output of some of the commandsOutput of lspci is
I'm running CentOS 5.2 on an ASUS M2NPV-VM motherboard. This motherboard includes an NVIDIA nForce 430 built-in Gigabit MAC (network interface). I've also installed a second PCI network interface card (NC100 Network Everywhere Fast Ethernet 10/100). The PCI-based card was configured as eth0, while the built-in NIC was configured as eth1. The machine is used as my firewall/router, so eth0 is my internal interface, while eth1 is my external interface. I've had some intermittent problems with the built-in (eth1) NIC. When booting the machine and it attempts to bring up the interface, I get the following message: forcedeth device eth1 does not seem to be present, delaying initialization From that time forward, there is no eth1, and so no external network, etc. If I try running /etc/sysconfig/network-scripts/ifup eth1 (from that directory), it results in the same error.
Originally, I was getting this error when installing the operating system on the machine. At that time, I was using a 75' ethernet cable (as I was working on the machine in my office, and the external ethernet jack was in another part of the house). As soon as I moved the machine to its permanent location (which is within 2 feet of the ethernet jack), the problem went away. However, I just updated the kernel (via yum) from 2.6.18-92.1.22.el5 to 2.6.18-128.1.6.el5, and now it fails 9 out of 10 times. I'm not even sure what I can do to debug this. I'm assuming there is some kind of timing problem with the initialization. Is there a configuration parameter I can set to allow more time for the initialization to do what it needs to do, to prevent this error?