Networking :: Dhclient Running On Disconnected Ethernet Port?

Nov 8, 2010

I have a simple server running Ubuntu Server. Usually the server connects to the network by Wifi, so there is usually no cable connected to the Ethernet port. I noticed that there is a dhclient3 running on eth0 anyway. It is causing undesirable disk activity. Obviously, it is never going to get a response as long as no cable is connected. I can kill the responsible process manually, but I wonder first what is starting the process and how I can prevent it from being started. If there is a way to get the server to boot without starting this process, I wonder whether this is the right solution. Connecting to the network by Ethernet is the failsafe when Wifi doesn't work. I guess what I would like to see would be a way for the server to detect when eth0 does not have a cable connected and not start dhclient in that case, but to activate dhclient when a cable is connected.

View 4 Replies


ADVERTISEMENT

Networking :: Disable Dhclient From Running On Rhel Release 6?

May 26, 2011

i've configured the machine to use a static ip yet dhclient still runs and obtains an ip. what needs to be done to stop this? it has to be something i can put in a script since i have written a setup script to run on several machines. this setup script creates/modifies several files with a few key ones shown below:

/etc/sysconfig/network

Quote:

HOSTNAME=csec7154
NETWORKING=yes
NISDOMAIN=csma
NTPSERVERARGS=iburst

[code]....

and the files, hosts, resolv.conf, network and ifcfg-eth0 in the /etc/sysconfig/networking/profiles/default directory all link to their respective files as does /etc/sysconfig/networking/devices/ifcfg-eth0. thanx!

View 1 Replies View Related

Ubuntu Networking :: Ethernet Connection Does Not Come Back If Cable Had Been Manually Disconnected

Jan 28, 2011

OS: Maverick Ethernet driver: tested with sky2 an sk98lin This has been driving me crazy for the last few months: if I unplug ethernet cable while my laptop is on reconnecting it sometimes does not bring the connection back.

And once ethernet is gone nothing that I try seems to consistently bring it back. Rebooting, disabling/enabling the driver, disabling/enabling NIC in BIOS, changing driver from sky2 to sk98lin, deleting connection from Network Manager, resetting the router - nothing helps. It seems to come back randomly a few weeks later. Once I used live Ubuntu on a USB stick and ethernet came back not only on a live distro but then when I rebooted also on my main OS. But when I tried that trick next time ethernet was missing in the live distro as well.

Also once I was able to revive ethernet but compiling sk98lin driver, blacklisting sky2 and rebooting. Of course next time doing the same routine did not help. The thing is - ethernet works fine with either sky2 or sk98lin and I can unplug the cable and plug it back in most of the time without any issues. But then every so often - bang and I'm stuck with only wireless until ethernet suddenly starts working again.

View 1 Replies View Related

CentOS 5 Networking :: Running A Command When Dhclient Renew Leases

Mar 11, 2010

I have a dynamic Internet connection. My eth0 is configured to DHCP client. I need to rum one personalized command all time the dhclient renew the lease. I have a program that update the /etc/hosts with the new IP and I need to run this command when dhclient receive one lease update.

View 1 Replies View Related

Networking :: Ethernet Port Connection With An E1/T1 Port

Aug 30, 2010

i have an embbeded hardware that uses bootp for booting from a Network Managemnt Host (NMH)on the same ethernet. The embedded hardware has both kind of ports i.e ethernet as well as E1/T1. I would like ask, what do i require to establish a communication-link between the embedded hardware and the NMH throuh E1/T1 ports of embedded hardware, so as to make it boot through from E1/T1. Further, NMH possesses only ethernet port. Just to refine my questions i'd like to know what additions do i need to do on my NMH , like may be i have to put an E1/T1 port or is it possible that the E1/T1 port can be directly connected to an ethernet port on the other host.

pardon me if i am not making absolute sense here as my knowledge is limited on Layer 1 and layer 2.

View 3 Replies View Related

Debian Configuration :: USB Gigabit Ethernet Dongles Not Working With Dhclient

Sep 12, 2015

My laptop only has a 100Mbit ethernet port, so I bought two external USB gigabit ethernet dongles in the hope of getting faster ethernet speeds. I have never had trouble with Linux supporting ethernet before, but neither of these devices are working. One is an ASIX AX88179 (by TrendNet) and the other is a Realtek RT8153 (by Anker). When I plug these devices in, I get network devices called enx00e04ca82300 or enxd8eb97b61e4d (instead of eth0/eth1 as I would expect).

I can manually set an IP address with "ifconfig enx00e04ca82300 x.x.x.x up" and manually add a route and my network connection works at gigabit speeds. However, the long enx... network device name does not appear to be valid in some sense: tools like dhclient or iptraf or network-manager fail with messages like "no such device" (well, network-manager just hangs). I don't know if it's because the name is so long or because they are not fully registered inside the kernel.

I have vmware workstation installed, and it does some strange things with network devices (setting up bridges for everything). I have disabled its services and see the same behaviour. This looks like a kernel bug to me but it's possible it is a vmware issue. vmware works fine with my wireless and 100Mbit ethernet (eth0 and wlan0).

Realtek device
Some dmesg for the Realtek device:
Code: Select all[10264.619420] usb 4-3.1.1: reset SuperSpeed USB device number 4 using xhci_hcd
[10264.634651] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c4221a00
[10264.634653] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c4221a48
[10264.634655] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c4221a90
[10264.647842] r8152 4-3.1.1:1.0 eth0: v1.06.0 (2014/03/03)
[10264.647902] usbcore: registered new interface driver r8152
[10271.452198] IPv6: ADDRCONF(NETDEV_UP): enx00e04ca82300: link is not ready
[10275.094334] IPv6: ADDRCONF(NETDEV_CHANGE): enx00e04ca82300: link becomes ready

The Realtek device often crashes after just a few gigabytes have been transferred, with dmesg like this:

Code: Select all[10485.761603] net_ratelimit: 10 callbacks suppressed
[10485.761618] r8152 4-3.1.1:1.0 enx00e04ca82300: Tx status -71
[10488.694340] r8152 4-3.1.1:1.0 enx00e04ca82300: Tx status -71
[10488.711352] r8152 4-3.1.1:1.0 enx00e04ca82300: Tx status -71

[code]...

I have not investigated the ASIX device as much. However, my original 100Mbit ethernet has an ASIX chipset (AX88772) and that works perfectly. I have not observed the ASIX device crashing yet so I am using that for now (haven't used it for long yet though). But as before the device name appears to be invalid and I cannot run tools like dhclient. why two gigabit adapters with completely different chipsets would show up with long device names and support low-level stuff like ARP, ping, and static IPs, but fail with dhclient & network-manager? And the Realtek device seems to like crashing too.

View 0 Replies View Related

Fedora Networking :: No LAN Using Ethernet Port

Jul 29, 2010

I can't figure this out for the life of me. I am new to Linux too. Wireless works fine. I plug my Ethernet in and turn off wireless and I cant surf the web, download, etc...Network Manager finds the wired network under eth0 and it works perfect on my non-linux desktop (nervous to even mention Vista around here). Firewall was set up with basic setup (I didn't make any changes). I have a Sony vaio VPCCW21FX with fedora 13. Can anyone point me in the right direction?

View 10 Replies View Related

Ubuntu Networking :: Ethernet Port Not Recognized?

Jul 27, 2011

I am running 11.04 on a Dell Inspiron 1501 (the first gen.). I was using my Ethernet port to connect to the internet until about two weeks ago - suddenly the system no longer recognised that port even existed and just kicked me offline. I am able to get online now with a wireless card (replaced the broadcom card, that was a whole different can of worms...).

why my system is unable to connect with the Ethernet port? If I plug in the cable nothing happens.

View 2 Replies View Related

Ubuntu Networking :: Bridging Wireless With Ethernet Port?

Apr 29, 2010

I have a Dell Studio 1501 Laptop and I want to bridge the wireless with the ethernet port so I can hook my xbox360 to my laptop.

I've spent the last 2 hours trying different techniques but nothing is working.

I'm running Ubuntu 9.10 so the last thing I tried was going into the network manager, clicking on wired, editing the ethernet port and allowing it to share. This did nothing.

I tried to share the connect with firestarter but that did not work either.

View 2 Replies View Related

Ubuntu Networking :: Usb Broadband Not Working (Ethernet Port Not Available)

Apr 20, 2011

I am using ubuntu 9 but unable to connect to internet via my usb Siemens c110 modem. I have a dual boot system of both windows7 and ubuntu9. I am using the same modem in windows7 and have installed virtualbox where i have installed the same ubuntu9 but there it automatically detects the wired connection(usb)[eth0] but in the actual boot it doesnt detect anything. I have typed in the terminal sudo ppconfig but it was unable to find anything.

View 1 Replies View Related

Ubuntu Networking :: Sharing Internet Through Ethernet Port?

Jun 21, 2011

I am running Ubuntu 11.04 and i am curious to if there is a way to share my established wireless connection through my Ethernet port.. I know it was possible in Windows by going to adapters and bridging the wireless, and Ethernet adapters. how to make this work in Ubuntu?

View 1 Replies View Related

CentOS 5 Networking :: How To Restrict Ethernet Port Speed

Jul 6, 2010

I have a server in a colocation environment where I'm allotted 25Mbps. I'd like to avoid exceeding that for obvious reasons. Is there a way I can set the link speed or at least throttle the bandwidth for all services?

View 2 Replies View Related

Ubuntu Networking :: Can't Access Internet On 4 Port Ethernet Router

Mar 1, 2010

I changed to a 4 port ethernet router (D-Link DSL-2542B Adsl2+)with intention to share Internet access with my brother (he's on Vista).Initially it all went well,but 3 days ago there were connection problems occured on the part of the ISP. Without realized the problem,I had reset the router.This morning I've been informed by the ISP that the connection has been re-established.So,I accessed the Internet via the 4 port router but failed to do so (server not found).Suspecting that the problem was from the 4 port router,I reverted to my old Adsl router (DSL-520B single port) and without any problem I managed to access the Internet back.I really need help to configure back the 4 port ethernet router to its initial state.

View 9 Replies View Related

Ubuntu Networking :: On-board Ethernet Port Not Detected - Have To Use PCI Card?

Jul 21, 2011

I'm running an ubuntu maverick server, and I'm having a slight problem with networking. I've only got one ethernet line running into my room, and I've got loads of computers. The server has 2 ethernet ports, one integrated into the motherboard, one on a PCI card that I took from my old server. The on board ethernet never worked on my old server- but I only tried it out post-install, it was hooked up to the card during install (For the record, networking on linux has *never* worked for me if I installed then plugged in the networking stuff after the fact). So I just used the card instead. Transferred the hard drive into a new machine, and lo and behold, it would only work after I transferred in the card from the old one. What I wanted to set up is a basic NAT system, where the network connection is routed through from my server to my main desktop- but when I run ifconfig, my card is not detected, just lo and eth0. How can I fix this?

View 3 Replies View Related

Networking :: Transfer The Audio File On Machine Using Ethernet Port?

Feb 25, 2010

I want to transfer the audio file on linux machine using Ethernet port, is it possible?

View 6 Replies View Related

Networking :: VMWare 2.0 Server - Ubuntu 10.04 Lucid And Ethernet Port ?

Aug 13, 2010

I am using Ubuntu 10.04 Lucid and VMware 2.0 server. I have a an XP virtual machine that is needed for work. When I am at home and I place my cat 5 cable to my cisco catalyst switch, my XP VM recognizes the ethernet card on my laptop and bridges fine with ubuntu and works fine and I can get to my network. When I take my laptop to work and I go to a site and I plug it into a World Wide Packet 311 management port on the switch, my XP Virtual Machine does not see the network no matter what setting I set it too(100 full, 10 full, 10 half and etc). It simply says that the network card is disconnect. Ubuntu see the network fine and I can ping and talk to the network without any issues but the VM does not.

View 2 Replies View Related

Red Hat / Fedora :: Ssh No Route To Host After Running Dhclient

Jan 5, 2010

I used ssh to log into my sever that I had and I from there I ran the command dhclient eth by mistake on the server but the serve had an static IP address. Unfortunately I can't ssh back into the server anymore! It replies back with No route not host. Now my questions are. First of all how do I change it back into the previous setting? Secondly, can I do this remotely since the server is in another place and I don't have access to it right now or do I have to go there and sit behind it and play around with it there?

View 4 Replies View Related

Fedora Installation :: Ethernet NIC Detected But Wired Network Disconnected

Mar 31, 2011

I'm stuck after a clean install of FC14 on an old Everex StepNote (Doing this for a friend). I tried Ubuntu on it first (because it's so easy) but had horrible stability issues and terminal commands wouldn't respond - however Ubuntu detected and ran the eth0 port just fine. FC14 detects my ethernet NIC, but it won't work.

Here are my details.
lspci outputs this for my NIC:
00:12:0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)

Here is what I have tried so far - with no luck:
- I have toggled the networking switch on the laptop and had no luck.
- Downloaded Via's VT6102 drivers for Fedora Core, but they don't support kernel 2.6.35.*
- Run ifconfig to manually assign an IP address - which it DID take and did route add default gw as well.
- Did a ifconfig eth0 down and up as well.

After all that, I still have a "disconnected" wired connection (and yes, I did check the cable - it works just fine in my personal machine.

View 5 Replies View Related

Ubuntu Networking :: Bridging Ethernet Ports & Keeping Static IP On One Port

Mar 11, 2010

I'm currently using Ubuntu 9.1, and a motherboard which has two Ethernet ports on it.

What I would like to do is bridge these ports, so I can plug in another Ethernet cable and run it to an unmanaged switch in my room (handy for my work laptop when on-call and building other PCs, etc).

I.e. Router --> 8-Port Switch --> My PC.
Eth 0 --> 192.168.1.100 static
Eth 1 --> 5-Port Switch --> DHCP

I believe this is the config to make the ports bridged:

ifconfig Eth0 0.0.0.0
ifconfig Eth1 0.0.0.0
brctl addbr Bridge0
brctl addif Bridge0 Eth0
brctl addif Bridge0 Eth1
ifconfig Bridge0 up

- How do I save this so upon reboot it sticks?

- How do I force Eth0 to remain as a static IP of 192.168.1.100?

View 8 Replies View Related

Ubuntu Networking :: Dell WLAN Card - Ethernet Port Does Work

Jul 28, 2010

I have a Dell WLAN 1397 Half Minicard, 802.11 b/g card in my laptop, and I can't seem to get ubuntu to work with it. I tried this method:

1. Synaptic Pack Manager
2. Check "Install from Boot Disc"
3. Reload
4. Install and apply bcmwl-kernel-source
5. Reboot

This didn't work for me, so I tried entering sudo apt-get install bcmwl-kernel-source and that also didn't work. Another thing I tried is formatting my Ubuntu partition and reinstalling, and retrying both of those methods. The ethernet port does work, however.

View 3 Replies View Related

Ubuntu Networking :: Ethernet Port Isn't Showing Up Under Ifconfig - Install Additional Drivers?

May 20, 2010

I recently installed a new CPU and motherboard in my Media Server, but the ethernet port isn't showing up under ifconfig. Is there any way to install additional drivers? EDIT: The model is Realtek RTL8111/8160B.

View 3 Replies View Related

Ubuntu Networking :: Ethernet Lan Port On The Computer Seems To Not Be Activiating As No Wired Connection Is Recognized

Oct 6, 2010

while my brother was browsing the web on my windows partition he had a blue screen pop up, one of the soft/hardware error ones, not a true BSOD, anyways, ever since my lan port on the computer seems to not be activiating as no wired connection is recognized. The lan port/card is directly attached to the Mother Board, it's a gigabyte motherboard in a self-build computer. I'm just wondering if there's anything I can do to troubleshoot this and see if it is truly a hardware problem or if its something else.

View 9 Replies View Related

Ubuntu Networking :: ThinkPad Running 8.04 Not Showing Ethernet?

Apr 6, 2011

My professor gave me an older ThinkPad, i1161, because he wants me to learn linux. So far, I successfully downloaded Hardy Heron onto the computer, using the Alternate version. Everything works great, and I can log on, play games, go into word processor, the whole nine yards. Unfortunately, the computer won't connect to the ethernet cable that I have plugged in. I am not sure what I am doing wrong, but that is probably because I don't know where to begin.

I also get an error message during boot, it says "ACPI no DMI Bios year" then it says "ACPI=force is required to enable ACPI. I don't know what this means, but I fugured it might have something to do with the ethernet.I am connecting through my University internet. Also, under Network Settings ->Connections, it only has one option, "Point to point connection" and it says "This network interface is not configured."

View 9 Replies View Related

Networking :: Ethernet Interface Leaves RUNNING State After Some Time

Jul 29, 2011

I am using RHEL6 on a server with 3 interfaces.

eth0 is connecting via a Cisco switch to the outer world and eth1 and eth2 to internal networks.

eth1 and eth2 are working without problems all the time, however I have the following incident with eth0: although it is RUNNING, and after it works for some time (like some hours), it then becomes incapable of sending/receiving traffic. Here are more details, after the interface exits the RUNNING state:

[root@mgt ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr E4:1F:13:6C:87:74
inet addr:9.162.91.26 Bcast:9.162.91.255 Mask:255.255.255.0
inet6 addr: fe80::e61f:13ff:fe6c:8774/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1

[Code]....

I am wondering whether there this is because there is not traffic for some time and so the interface goes to idle. Is there any parameter I can tweak in RHEL6 to force the interface to remain RUNNING even in the absence of traffic (although I would be expecting that some 802.1 packets would be periodically flowing from the switch to the interface)?

View 1 Replies View Related

Networking :: Find The PID For All Processes Running For A Particular Port?

Apr 15, 2010

How can I find the PID for all processes running for a particular port?

View 3 Replies View Related

Networking :: Pipe_server Running At Port 2010?

Nov 10, 2010

I don't find a lot of information available regarding a service called pipe_server.When I send UDP packets without specifically a source or destination port, the packet capture from the machine, I send the UDP packet shows the following:

src port: pipe_server(2010)
dest port: pipe_server(2010)

More information related how send packets : I use raw sockets. I don't specify ports.Does the kernel fill the src and dest ports for me? Do all machines have a port 2010 that will listen for UDP packets?

View 3 Replies View Related

General :: Set Ssh/putty Session Running In Disconnected Mode?

Jul 7, 2011

How can we put ssh/putty session running even after in standby or disconnected mode.The idea is to have run a long running job from my notebook, which may take 6-8 hours, and if i come next day, there should be interrupt with it.

View 7 Replies View Related

CentOS 5 Networking :: Connect Centos 5.5 Using Ethernet Port To ADSL Broadband Modem Which Is Configured In PPPoe Mode?

Feb 10, 2011

Pl can anyone guide me to connect centos 5.5 using ethernet port to ADSL Broadband modem which is configured in PPPoe mode?

View 19 Replies View Related

CentOS 5 Networking :: XP Boxes - Tomcat Server Running On Port 8080

May 5, 2009

My first time installing centos server and adding it to xp home network. I am new to setting up my own network in general. I have a home windows wired ethernet xp network (simple linxs router) with 2 xp boxes and one centos5 box all connected to the same router. I just set up the centos box running tomcat on port 8080. I need to do two very basic things at this point, but am not sure what I need to do:

What do I need to do so I can:
1. Connect in firefox on one of my xp boxes and call the tomcat server running on my centos box?
2. Be able to ftp to centos box from either of my xp boxes?

View 2 Replies View Related

CentOS 5 Networking :: Iptables Not Opening Port To Connect Via Vnc To A Server Running 5.5?

Apr 27, 2011

I'm trying to open up some ports to connect via vnc to a server running Centos 5.5. I've edited /etc/sysconfig/iptables everything *looks* fine, but I still can't seem to get access to the port I've opened (I added some newlines for clarity between commands):

[Code]....

View 4 Replies View Related







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