Fedora Networking :: Chrony Seems Very Poor At Finding A New Network Interface
Mar 21, 2011
I use chrony on my laptop thinking it would be better for it than ntp because I'm frequently connecting and disconnecting from wireless cafe access points and going in and out of suspend mode. But I've also noticed that if chrony is started before the access point is connected it never syncs to the time servers. I have to manually restart it via the service command after I connect. This doesn't seem right to me, if chrony fails to find a network at start time, doesn't it periodically try again ?
ok, we had to move one of our databases due to failing hardware. This box is newer than the old but it's just dog slow. 1st I thought it was mysql but now I am realizing it's the network. As a test, I tried copying a remote file to that box and the old server (located at the same co-lo, same provider), same switch, etc.Here are the results;
Old server: access_log.1 100% 4192KB 1.4MB/s 00:03
New Server: access_log.1 100% 4192KB 72.3KB/s 00:58
So now I see why people were complaining about webpage load times, etc. I can't figure out why the network latency. I looked around a bit, see below for some things, I thought mtu, nic speed, etc.
mii-tool shows; eth0: 100 Mbit, full duplex, link ok eth1: 100 Mbit, full duplex, link ok[code].....
Are there other things I can type to test or provide more feedback somehow to get more information.
I'm a newbie on Linux and trying to find my feet so please be kind.I have installed vmware on my XP laptop and have installed fedora core 9. Network setting on the VMware is set to bridged. My interface eth0 which is using the wireless does not start on boot. I have to run ifup ifcfg-eth0.The file ifcfg-eth0 had onboot=yes and NM=no, so i changed it so that the NM=yes.However this does not resolve the problem at all. I have put the file back to its original configuration and I have disabled network manager and have had no luck
Someone just erased my HWADDR line from /etc/sysconfig/network-scripts/ifcfg-eth0. How can I obtain my original MAC address?
Code:
ifconfig eth0 does not work (it shows the wrong MAC address) since the HWADDR line from the file I mentioned above was erased. Also there is no ifcfg-eth0.bak backup configuration file.
I am totally new to Linux and have just installed ubuntu 10.10. After configuring the network interface via dhcp I started getting these messages that come in so frequently I can't configure anything else.
[87.186415] Stack:
Why I am getting this messages and more importantly how do I get rid of them.
today I tried to configure a network route to a host for testing my network interface. Code: route add 192.168.1.15 eth0 As I have to eth interfaces and both interface got their IP from DHCP (192.168.1.11 and 192.168.1.12) and are in the same subnet, I shut the other interface down:
Code: ifconfig eth1 down Then I tried to test the interface by doing a ping to 192.168.1.15. Problem: When I unplug the cable from eth0 (and eth1 is still plugged) the ping still works. Somehow my linux (it's debian) powers up again eth0 and pings over this port.
How can I stop my linux doing this. I just want to have the route added only on the one interface - not the other. Is it maybe some case of a default-gateway?
This is a thread I've moved over from the install forum and is hopefully more focused. Sorry if I have violated some protocol. Problem I have a new machine build configured to dual-boot Windows 7 and OPENSUSE 11.4. Network performance in Windows is very good but network performance in OPENSUSE is very poor.
I have a laptop connected to the the net thru an adsl modem, when I switch off the laptop network interface,(thru system-config-network) the light of the laptop network card plugged in the router stays on ( green) where as in my pc, when i do the same thing , the light of my pc network card goes off in the modem
I'm having all sorts of problems connecting an access point to my computer, but here is one piece that I hope will get me going, if I can get it solved.My computer has two network interfaces, eth0 and eth1. eth1 connects to the cable modem and thence the world, and works fine. eth0 is supposed to connect to the access point over a private network. Here is the output from route with my IP address blotted out:
Code: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface
If I have set up 2 network interfaces on a box, if I started sending multicast traffic, it will go out through both interfaces? Or is there a way to control through which interface it will go out?
I have two simultaneous active mobile connections through my two mobile phones and USB data cables. Yet I can only send/receive with one connection.Each of the phone modems have a node in /dev, namely ttyACM0 and ttyACM0. So the modems are detected correctly.After setting up two dial-up connections with the two modems I have two ip's. Ifconfig-a confirms this:
ppp0 Link encap:Point-to-Point Protocol inet addr:10.10.219.60 P-t-P:10.6.6.6 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
I would like be able to access packets coming off the network with the hopes of coding a primitive packet sniffer for learning purposes. I would also like to be able to piece together my own packets and send them out on my network. Eventually, I would also like to write a simple firewall so I want the capability to drop packets as well as let them pass. I assume I will have to access the kernel with some system calls to do this, any one have any information or resources that could help me on this project?
I've installed it and it looks great. my problem is that I cant connect to the net since I could not find the driver for my onboard network adapter. it is a Gigabyte GA 945 GCM S2L board. of coarse I searched their site but it says that Linux driver I have to achieve from 3rd party. the adapter's chipset is a Realtek RTL 8111C but I could not find the driver for it. the only one that I've found - doesn't work. I must point out that when I've searched driver for my Nvidia display adapter- I've found it on Nvidia's site and it works great.
i want to know mac address of a particular ip but the problem is that i am unable to ping that ip but that ip is being used by someone in my local network that i know from my proxy logs. i want to know the mac address of that ip,
Notice the 2 in address. Seems to me it doesn't like the network and wants it to be 172.16.0.0, but I am adding to a network already configured this way.
Is there any way in a machine with 2 (or more) network devices to only allow 1 program to use interface1 and force all other programs to use the other?
i have ubuntu 10.10 and i want to configure my interface eth0 with the commande line with owner (not the Root)$ifconfig : this commande works and listed all interface with some description -> thats goodbut when i use some parametre like @ip and netmask
I installed Fedora 12 on an Eee PC 1001HA. This laptop has a Ralink RT3070 wireless chipset, for which the driver is not yet in the kernel (still in staging I believe). However I downloaded the driver, compiled it, and installed it. AFAICT, it works fine.
One small obstacle remains: I am uable to get the network interface to come up automatically; I have to run # ifconfig ra0 up. Because of this NetworkManager never sees the wireless interface, making connecting to WAPs a chore.
I created a ifconf-ra0 file in /etc/sysconfig/network-scripts, and it includes the line ONBOOT=yes, but this doesn't do the trick.
Centos el5xen x86_64 in a company network, novell-netware, Static IP I have several issues with the Xen network configuration. This configuration worked before, and was maded by a other personn with a higher level in centos and network . I'm trying to re-install xen in bridging mode.
1) The dom0 ping in the company network, but can't acess to the Internet.
I de-activated firewall, iptables and SE-Linux for the test.
the ifconfig-a command return eth0 lo sit0 (IPV6 encapsuled in IPV4) vif0 vnet0 but no Peth0 Physical device
How can i find out what mac address had been configured by factory default. I changed my mac address with
Code:
ip link set addrs 00:01:02:03:04:05
and now want to have the original one back. I'm having some trouble with a gigabit LAN PCI Express card. Namely the 89156 from delock. Output of dmesg
Code:
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 4.137225] r8169 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 4.137268] r8169 0000:02:00.0: setting latency timer to 64 [ 4.137346] r8169 0000:02:00.0: irq 27 for MSI/MSI-X
[code]....
So the card was recognized by the kernel. The driver was loaded and everything fine.... should be! But after assigning an ip addr and setting the nic up with
Code:
ip addr add 192.168.1.1/24 dev eth1 ip link set dev eth1 up
the kernel complained about something like that
Code:
?SISTEM? Can't assign address Also I could not find anything useful on the net finally the readme gave me some. So i changed the MAC address and everything was fine. The nic came up and got an ip through dhclient.i want to know why the old/original mac address didn't work. But even after reboot the new mac address remains. All I know the old one begun with 7b. how to get the original mac of a nic?
I need to refer a sample code to develop a network simulator using c++/system c as back end and perl scripting asd front end.CAn anyone please refer to me any websites were this kind code is given.I do not want to use this otcl script language so wothout this is any code available just for sample so i wii know were to start and develop my own code.
I need to learn how to analyze network traffic for attacks and while finding the attack seems easy in my case I need to identify what hes doing. I will be happy right now if you guys can answer my question. How to identify if an attack has brought the server down? I have packet captures of an attack in progress and I noticed that every now and then the attacker would do something weird and the server would start sending packets with just the RST packet sent in response. Normally I had been seeing the RST ACK flags set or the FIN ACK bits set to terminate a connection. So once again my question is how do I tell if the traffic indicates a server crash?
running 9.10 server, have SSH access through LAN, but I'd like to move box out of my neighbor's (shared internet & the router's in his place) and into my own space. Would have done so already, but I can't get the wireless working. Details below:lshw -C network gives:
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.
I am a big ubuntu fan (9.04) installed,everything went well, installed my network card(s) & the onboard without no problems/installation disc.I have 2 Network interface(s) that I used on windows xP to 'bridge' my connection, because I only have one slot on my router, and the last slot runs into my computer room and from the PC, I run it to the xbox/ps3.No matter what I do, I cannot get ubuntu to share connection to my other network interface.