Ubuntu :: Wierd Output Of Comands: "ifconfig Eth0"?
Mar 2, 2010
i have a problem. I cant find anything except my mac address if i type "ifconfig eth0" in terminal.There is no gateway adress ip adress and netmask. This is wierd. How can i asssign those to a eth0?
I am working with ubuntu and my eth0 connection was up and working fine untill some days back when all of a sudden it seemed to disapper. I was able to access the net through it before. But now it has vanished and i donno when. i tried ifconfig eth0 up but no use. The result of cat /etc/network/interfaces is as follows
I have a problem with the network. Worth two network cards and Ian wan. Do not take the ip. When the system boots not included until you do the command ifconfig eth0 up. The network card is connected to a router, he does not see it. Router working, tested. Network card is working well, tested on Windows. RX RT packages go, withheld support for ipv6 and packages no longer go.
I'm trying to get my Ubunutu and OSX systems to connected via a cat5 cable to transfer some large files around very quickly. Now i know normally this would require a crossover cable as it's a direct connection but the macbook/OSX can handle changing the wires round to make it work like a crossover cable as I've done it before. However the macbook creates a self-assigned IP or as I've tried I've set it to : IP:10.10.0.1 Subnet: 255.255.255.0
Then I've setup the Ubuntu system both through the System>Admin>Network panel as: IP:10.10.0.2 Subnet: 255.255.255.0 and my /etc/network/interfaces file is the same; #lines added to get static crossover cable working auto lo iface eth0 inet static address 10.10.0.2 netmask 255.255.255.0
Yet when I run ifconfig in the terminal eth0 isn't present Code: htpc:~$ ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:912 errors:0 dropped:0 overruns:0 frame:0 TX packets:912 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:371613 (371.6 KB) TX bytes:371613 (371.6 KB)
htpc:~$ ifconfig eth0 eth0 Link encap:Ethernet HWaddr 90:fb:a6:e4:c0:b0 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:23 Base address:0xe000
Also even when I try and ping 10.10.0.2 either from my OS X or the actually Ubunutu machine all I get is: Code: ping 10.10.0.1 PING 10.10.0.1 (10.10.0.1): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 Request timeout for icmp_seq 3
Yet the Ubunutu machine is also connected to Wifi and when I ping it's own address I get the expected response. To me it just seems like eth0 isn't being recognised somwhere or it's not turned on yet I can't seem to find any toggles or settings for it anywhere. Further more if I check >System>Admin>Network Tools the IP for eth0 is 0.0.0.0. What could be going wrong and why no IP set correctly?
I have been noticing a trend on boxes running 11.4 getting RX dropped packets where prior to 11.4 they did not get them. Basically every box running 11.4 now logs dropped RX packets. Have tried changing cables, and in one case replaced the NIC with a different brand (and driver) nic. Also played with receive buffers and yet the counters still increment. In addition to OpenSUSE, I run several operating systems to include Centos, Scientific Linux, Debian, OpenIndiana, HP-UX, VMS and so forth. So far this anomaly has only shown up on machines running OpenSUSE 11.4. Any one else noticing this on your OS 11.4 machines? If so, were you able to resolve?
I've got a vmware install of Fedora 12 running as a server. This install has the /etc/sysconfig/network-scripts/ifcfg-eth0 file configured with the proper info and the service has been restarted. When I run ifconfig I only get the loopback interface, when I run ifconfig -a I can get the eth0, but without the pre-configured ip address. When I enter ifconfig eth0 up I can activate the interface, but without the afore mentioned ip address. I need to be able to yum ssh, install it, and run it with rsa keys. Can do none of this without an interface obviously.
The computer and system in question is the laptop from my description and openSUSE 11.3 with a different kernel from this repository :[URL]..free to move this thread if it should reside in the beta/prerelease forums section. The IMHO relevant information about my hardware and system is shown below.
The kernel I'm using :
Code: grzes@opensuse:~> Linux opensuse.local 2.6.37.2-1-desktop #1 SMP PREEMPT 2011-02-25 19:59:41 +0100 i686 i686 i386 GNU/Linux The hardware and drivers I'm using : Code: 02:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
i know this is crazy, but im using a [URL] and have loaded a copy of "red hat linux 7" on the computer. i have no idea what kind of hardware config/spec stuff i should have in my immediate vision, and if i did i'm not sure how i would make sense of it all. linux loaded fine. didnt save drivers. eth0 not showing in ifconfig report, but lo is connecting to network, other host cannot ping linux and vice versus
can mount a cdrom, but not a usb flash dont quite understand how the load methods work involving /mnt/cdrom/"usbutils-0.86tar.gz" eth0 problems and gnome rpm stupidity keeps me from upgrading sys from old version to a newer version, cant even find the cmd to show me that info, sorry. have usb files i want to mount, dont know how to loAD THE CDROM FOLES, SO EVEN THAT ISNT WORKING OUT HAVE DISCS WITH howtos just need to stay focused on steps to get desired end result, while trying to learn too much info for what im currently doing between all the f!@#@ing windows i have open.
explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?
Code: sudo ifconfig eth0 down sudo /etc/init.d/networking stop
A network client computer gets ip address from dhcp server, loads initrd and failed on Loading Istallation System stage 4 or 5. If I try to continue installation in manual mode I get an error net_activate: ifconfig eth0 up failed I tryed network cards from different vendors it did not help. Ubuntu linux installs successfully in current environment.
My friend calls me and says he has a problem... Hes got like 48 short cuts put into the apps menu all running command lines in terminal that run short cuts to various programs.. transferring the programs not an issue cause they can all be transferred using APTonCD. but how can you transfer the shortcuts from the menus to another computer he's upgrading w/o typing them all over... Are all these stored in a file somewhere? how might it work?
I'm trying to setup a network with a bridge on Debian Lenny (too bad most bridging information is for 2.4 kernel, maybe I'll write some if I get this to work). I've seen somewhat similar problems involving bridging for VMs and a couple involving Fedora, but people say that it was either a driver problem or it was fixed magically.I'm using a few Intel Pro 100s, which I'm pretty certain have had driver support in the kernel for years now. Magic doesn't happen.Here's /etc/network/interfacesQuote:
auto loiface lo inet loopbackauto br0 iface br0 inet staticbridge_ports eth0 eth1bridge_maxwait 0address 70.168.186.252netmask 255.255.255.254gateway 70.168.186.1
We are running RHEL 5.5 .When am trying to copy files from other server using scp .using the comand below
scp -r -q oracle@oracle2:/home/oracle/* . password : access control disabled client can connect any host and after this it comes out and doesn't copy any file.
I currently have ubuntu 10.4 on my HP Pavilion dv6000...i tried recently installed kde 4 and when realizing it wasnt for me i tried to get it off. I manage to get it off and the apps that came with it but now i have a kubuntu load screen when i boot/reboot/n shutdown my pc when there is supposed to be the ubuntu screen (thats prob one) so i tried to load an ubuntu live cd that ive used before and it wouldnt work and i notice that this screen pops up [url]...i dont know what it means but im still trying to find out...this screen also pops up if my pc isnt properly shutdown...
I use ubuntu 9.04 and well I turned on my GIMP the other day and I see that my info box has changed you know the whatyou've done to the image shower. Well I cant riht click and click the layers anymore it shows like say I hit backspace shows eraseer or clear what happen to the way I could right click it and do whatever. Here is what I'm talking about[IRL]..
From time to time I have to close Opera in order to regain the ability to use Totem or VLC (perhaps others). I'll explain. Normally everything is fine, but from time to time I will open Movie Player (Totem) and it will attempt to load whatever I have sent to it and it will vanish (crash). I can attempt to send anything to it and the same problem occurs (audio or video; mp3, flac, avi, &c). I can test the same problem with VLC and the same results occur (vanish/crash).
If I close Opera (and optionally restart it), I again can use Totem and VLC. I have tried merely killing Opera's plugin wrapper (thinking it was perhaps related to a plugin seizing PA), but this does nothing for the matter. (Of course killing Opera does as this is more or less the same as closing Opera.)
I'm experiencing a wierd bug. Been having it for some time now. I haven't posted about it before since its only been annoying, but not really setting me back. And I have trouble defining and explaining the bug. Today it crossed the line into actual annoyance.
The bug occurs when I'm writing, using the keyboard on my laptop. Both when I write in browsers, like when writing this post, and when I write in openoffice. So its not limited to one program. In webbrowsers what happens is that all of a sudden the browser loads the previous page in the tab. Like I told it to go one step back. In OpenOffice something similar happens. The curser jumps up in the document.
I used to have this bug when touchpad-tapping was enabled. I have a habit of drumming my thumbs on the touchpad when typing. Therefore I've disabled tapping on the touchpad. The bug is reocurring, however I have not found a way to reproduce it. It might be a key combination I accidentally hit when typing away, but I'm not sure.
I installed slackware64 13.0 on my Dell D630 laptop. Recently I found a wierd network problem:
Sometimes, after couple of hours, I nearly cannot open new websites. It takes so many time to open a page. (I tried in firefox, lynx and konqueror.
But some other connection still work, such as KRDC.
I tried nslookup and dig, they all works very well, so the DNS is ok.
But ping works very slow with some url if I use the domain name. And it runs very fast with the ip of that url. So, maybe there is some problem with the DNS, or something else.
ping result is:
1) ping by domain name
2) ping by ip (same target)
Restart the network with rc.inet1 cannot fix this problem. Only I can do is reboot the computer.
May be it's a kernel(2.6.29.6) bug? Or the bug of my wireless card driver(BCM 4311)?
I have installed my first Ubuntu server today. It is connected to our corporate network. On this network there is a Windows 2008 R2 server that serves as DNS Exchange and file server. For some unknown reason this Windows server looses network connection when the ubuntu server comes online. After some investigation the network connection is instantly restored when I stop the clamav-freshclam service on the ubuntu server. When I start the service the network connection of the Windows server goes down.The only "link" with the Windows service and the Ubuntu server is that the Windows server is configure as the nameserver on the ubuntu server.
I want to run this in production because the ubuntu will serve as anti-spam server. I need to understand what is happing and why to prevent this.
If I uncheck and recheck "Enable Networking" in the Network Manager Applet 0.7.996 I would expect the wired network to disconnect (which it does) and reconnect (which it does NOT). So I tried sudo ifdown eth0 and got
Quote:
Ignoring unknown interface eth0=eth0.
ifconfig tells me
Quote:
eth0 Link encap:Ethernet HWaddr 00:25:64:e8:18:2c inet addr:192.168.0.112 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::225:64ff:fee8:182c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[code]....
so I am at a loss. How do I stop and restart the network interface short of rebooting the machine?
My network name is eth2 it was changed by some reason and now i got these errors... i installed, reinstalled, re re installed, tried to run the asistant but no luck :/
Code:
* Stopping the Firestarter firewall... eth0: error fetching interface information: Device not found eth0: error fetching interface information: Device not found eth0: error fetching interface information: Device not found
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 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 ?