Ubuntu Networking :: Manual Update Of Ifconfig?

Mar 29, 2010

To get internet access on my second computer I have to follow the manual routine detailed below:

sudo ifconfig eth0 down
sudo ifconfig eth0 hw ether ..........
sudo ifconfig eth0 up
sudo ifconfig eth0 ....... netmask ........ broadcast ........
sudo route add default gw .........

where the various ........ represent the relevant addresses. This is necessary because my ISP only recognizes one computer - my first one. The above works fine, I simply copy and paste the above from a text document, but I would like to know which files I can alter/create so that all the above is achieved automatically when I boot my second computer.

View 5 Replies


ADVERTISEMENT

Ubuntu :: Manual Driver Update Reverting To Old Version After Boot

Jul 13, 2010

I'm trying to setup bonding on two GigE cards. Things seem find but when I test out a couple different file transfers on samba, I'm getting a kernel panic. In the process I'm trying to update the e1000e driver (Intel 82574L). The problem I'm having with this is after I reboot, the old e1000e driver is getting loaded.

Here's some background. Installed is 10.04, upgraded and dist-upgraded:

Code:

Code:

Below I note "1.0.2-k2" for driverversion.

Code:

So I downloaded and updated e1000e to version 1.1.19 by following their directions, first backing up the old driver:

Code:

And then I uninstall the old one, install the new one per README file

Code:

After restarting networking, my lshw is now (note that driverversion=1.1.19-NAPI now):

Code:

So here comes the problem and I must be missing something here - after I reboot, the old 1.0.2-k2 driverversion is loaded.

Code:

View 2 Replies View Related

Ubuntu Networking :: Ifconfig Does Not List 2nd Nic?

Jan 7, 2010

i am using ubuntu server and when i run ifconfig i do not see my second nic

i'm running a supermicro 5015 dual core atom 330 server

ubuntu server 9.1

View 3 Replies View Related

Ubuntu Networking :: How To Assign Labels With Ip / Ifconfig

Oct 19, 2010

I am trying to manually set up a number of static IPv6 addresses to one of the physical network interfaces on my 8.04server box.

I tried to use the "ip" utility like that:/ip addr add [myIPv6addr] dev eth0 label eth0:0

which was accepted by ip (no errors) and the IP address was correctly assigned to eth0. But using "ip addr show" I do not see any reference to the label I defined and "ip addr show dev eth0 label eth0:0" does not come back with anything (empty output).

This seems to contradict the information I found on the ip manpage and I wonder if this is a bug or a misconfiguration on my side. Did anyone successfully used the label functionality with ip?

View 1 Replies View Related

Ubuntu Networking :: Automate Ifconfig Command?

Nov 8, 2010

I manage to get Ethernet over Firewire working between my Windows XP desktop and my Ubuntu 10.10 laptop.However, I am getting tired of having to manually issue the ifconfig command every time.How can I automate it so that the command is done at bootup?

View 1 Replies View Related

Ubuntu Networking :: Ifconfig Eth0 Not Found

Aug 6, 2011

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

auto lo
iface lo inet loopback

View 9 Replies View Related

Networking :: IFConfig Changes Not Reflected In GUI

Dec 25, 2008

I have seen this in fedora 8/9 systems :- when I configure the eth0 card and give it a ip address using the ifconfig command from the terminal window and then check out the card from the network config GUI subsequently, it doesnot reflect the ip address as configured through the ifconfig command. However, the ifconfig command continues to show the new ip address as usual. If I need to change the ip address of the eth0 interface which should be the prefered mechanism - the ifconfig command or the GUI. Ofcourse I understand that, for the ifconfig command mechanism a line would have to be added to the rc. Local file so that the change is effective on every subsequent bootup.

View 4 Replies View Related

Networking :: Ifconfig RX TX Accuracy ?

Oct 3, 2010

I'm using ifconfig to monitor the bandwidth usage of one of my VMs, but lately I've notified that while the VM has absolutely no traffic the TX number in ifconfig is counting up.

Here it's the output of ifconfig on VM's interface in just 10 seconds interval:

After 10 seconds:

View 4 Replies View Related

Networking :: Using Ifconfig From Crontab ?

May 14, 2010

I have a command that I run to renew my mobile broadband connection. It works from the terminal, but not in my crontab. My connection usually drops out after being connected for a week or so. So I tried to make a cron job to check the connection every 15 minutes (when there is an IP address on interface ppp0, then it is connected, so if there is nothing, I restart network-manager and it reconnects)

works from my terminal, but not when run as a cron job. If the schedule the above script to run every 15 minutes, it restarts network manager every 15 minutes, so I think ifconfig isn't working from cron. Is there some caveat about ifconfig in cron?

View 1 Replies View Related

Ubuntu Networking :: Should Wireless Be Labeled As Eth1 In Ifconfig

Jan 31, 2010

It is. I think this might be the reason why my $wireless objects don't work in Conky?

View 4 Replies View Related

Ubuntu Networking :: Cannot Get ETH0 To Appear In Ifconfig Via CAT5 Cable

Nov 7, 2010

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)

ra0 Link encap:Ethernet HWaddr 70:f1:a1:e6:b1:97
inet addr:192.168.0.42 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::72f1:a1ff:fee6:b197/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:120744 errors:1 dropped:0 overruns:0 frame:0
TX packets:87499 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:171716865 (171.7 MB) TX bytes:7815802 (7.8 MB)
Interrupt:19

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?

View 7 Replies View Related

Networking :: Ifconfig Shows Two Ip Addresses?

Feb 5, 2011

I'm on Fedora core 14 linux. and I'm online with the HSPDA modem. My modem is /dev/ttyUSB0 and when it's dialed it creates the interface /dev/ppp0 , My question is when I hit ifcofig it shows two IP addresses in the ppp0 interface.

Code:

[nature@localhost ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 20:6A:8A:12:CF:53
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0

[code]....

when I get the routing table, the gateway is setten to the 10.64.64.64 and when I look my Ip address global I found it's 175.157.64.119.

View 1 Replies View Related

Ubuntu Networking :: Ifconfig Showing Millions Of Dropped Packets?

Feb 28, 2010

with my other ethernet card problem solved, I suddenly run into this:

Code:
eth1
Link encap:Ethernet HWaddr 00:02:e3:16:37:4c
inet addr:10.0.2.1 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::202:e3ff:fe16:374c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[Code]...

This card was working perfectly fine up until....an hour ago and it started doing this. My iptables isn't blocking it somehow, because I didn't change anything. I tried reverting to an older kernel and that didn't help. It's not the network cable, it works fine in any other card. Also, the dropped packets seem to count down? It seems to go down by exactly one every time I run ifconfig, no matter the length of time in between running it.

View 3 Replies View Related

Ubuntu Networking :: Network Connections Blank, Ifconfig Shows NIC?

Feb 11, 2011

I messed up my Network Connections when I put a different NIC in my computer. Now I just went back to using the old NIC. It shows up in ifconfig, but the GUI Network Connections is blank. When I manually Add the connection back to the GUI Network Connections, the settings are not reflected when doing ifconfig.For example, I change the IP address for eth0 in GUI Network Connections, save the settings,

View 6 Replies View Related

Networking :: Changing MAC Using Ifconfig Causes Connectivity Lost

Jun 15, 2010

I am using Suse 10 sp2. By running ifconfig I am changing the mac address. Everything is happening successfully, but this is adapter losing the network connection. Even when I give a static IP. I am not able to ping any other IP.

View 1 Replies View Related

Networking :: Ifconfig Address With A Port Number?

Sep 24, 2010

I'm trying to grok a problem I'm having with an embedded machine. I'm pretty sure I can track down the larger problem, but I came across a usage of ifconfig that I don't understand, and I'm pretty sure this is the command that is failing.

The command is: ifconfig eth0 192.168.78.20:9134

I understand how ifconfig works. What I don't understand is the :9134. I can't see anything in the docs about what this means. I know in most contexts it's a port number, but what does it do when bringing up a network interface? Does it limit it to only using port 9134?

View 1 Replies View Related

Networking :: Scripts Does Not Match Ifconfig Or /proc/net

Dec 16, 2010

Bugzilla # 224662 & 9
Red Hat 5.2

a) /etc/sysconfig/network-scripts displays only eth0 and lo0. However, /proc/net/dev and ifconfig INCORRECTLY display :

[Code]....

b) the _tmp NIC is reported in the above Bugzilla report and I'm looking for a patch.

c) Why is the kernel continuing to make NICS for eth1, 2 and sit0?

View 2 Replies View Related

Networking :: Strange Device Appeared In Ifconfig?

Jul 26, 2011

I am noticing the following output when running ifconfig:

[root@proxy log]# ifconfig -a
dev32758 Link encap:Ethernet HWaddr 00:xx:xx:xx:xx:xx
BROADCAST MULTICAST MTU:1500 Metric:1

[code]....

View 1 Replies View Related

Ubuntu Networking :: Wireless Usb Will Not Attempt To Connect To AP Even Though It Shows In Ifconfig And Iwconfig?

May 28, 2011

My wireless usb will not attempt to connect to my AP even though it shows in ifconfig and iwconfig:further information which i believe may helplspci -v

00:00.0 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
Subsystem: VIA Technologies, Inc. Device aa08
Flags: bus master, 66MHz, medium devsel, latency 8

[code]....

View 1 Replies View Related

Networking :: Changes To 70-persistent-net.rules Not Reflected In Ifconfig Until Reboot?

Jun 18, 2010

I am working on a Fedora 13 iso that will be used on some of the PC's at my work, the computers will have a varying amount of Ethernet ports, at least two onboard and up to 6 external. In order to ensure that the same physical port on the back of the computer is always used for the internet connection I have written a script to rearrange the contents of /etc/udev/rules.d/70-persistent-net.rules. The script ensures that the two Ethernet ports on the motherboard are listed as eth0 and eth1, without it they could end up as any port in the eth0-7 range.

The script works well however when its run I need to reboot the PC for the ifconfig to load the correct port as eth0/eth1. I have tried placing calls to my function through the rc.sysinit/rc.5d/rc.local and so on however nothing seems to work.Is there a way to make ifconfig check the mac/eth configuration files for changes (There appears to no longer be an ifprobe command which sounds like what I need). Alternatively is there somewhere I can place the script after udev has created the persistent-net.rules but before anything else loads the information. I have tried chkconfig --level 2345 network off and loading the service later but it still uses the wrong information, only a reboot seems to get it to work

View 3 Replies View Related

Networking :: Unable To Locate Eth0 With Ifconfig In Fedora 12 ?

Apr 26, 2010

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.

View 3 Replies View Related

CentOS 5 Networking :: Can't See The Physical Network Interface With Ifconfig - A?

Jun 3, 2010

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

Is it normal and how can i repare this ?

View 7 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 :: Configure Manual IP Via Network Manager?

Apr 25, 2010

Networkmanager applet does not allow setting ip address manually. The "Apply" button is grey. Is this a bug?

View 3 Replies View Related

Ubuntu Networking :: Manual Wireless Interface Configuration?

Mar 30, 2011

I am trying to manually configure my wireless interface similar to how I manually configure my wired interfaces on Ubuntu 10.10 (Maverick Meerkat). I have two wired interfaces that use static IP addresses. I set up these interfaces using /etc/network/interface file. I disabled network manager (it was never working correctly to start with). Now, I want to connect my wireless interface (wlan0) to an unsecured wireless private network. I know/can find out all the information about the wireless network (ssid, etc). Also, I need to do this without disconnecting either of my wired interfaces.

I have looked all over the internet/forums for information about how to set up this interface, but nothing I found meets my need. Is there any way I can use iwconfig or the interface file to connect to this wireless connection? Or is there any other tool that will allow me to manually do this?

View 3 Replies View Related

Fedora Networking :: Ifconfig And Iwconfig See Wlan0 But Network Manager Does Not

Aug 22, 2010

I just installed Fedora 13 from the Live CD. FIrst off I read the guide and the first step doesn't even work for me. System>Administration>Network does not exist. If I go to System then Preferences I see a Network Manager but it looks nothing like what these screen shots look like. [url]

No wireless card show up in the wireless tab of Network Manager. How can I fix this since my card is listed in ifconfig and iwconfig. Wifi card is a Zonet zew2500p

View 2 Replies View Related

Networking :: Packet Drop Measured By Ethtool, Tcpdump And Ifconfig?

May 20, 2010

I am running a test to determine when packet drops occur. I'm using a Spirent TestCenter through a switch (necessary to aggregate Ethernet traffic from 5 ports to one optical link) to a server using a Myricom card.While running my test, if the input rate is below a certain value, ethtool does not report any drop (except dropped_multicast_filtered which is incrementing at a very slow rate). However, tcpdump reports X number of packets "dropped by kernel". Then if I increase the input rate, ethtool reports drops but "ifconfig eth2" does not. In fact, ifconfig doesn't seem to report any packet drops at all. Do they all measure packet drops at different "levels", i.e. ethtool at the NIC level, tcpdump at the kernel level etc?nd am I right to say that in the journey of an incoming packet, the NIC level is the "so-called" first level, then the kernel, then the user application? So any packet drop is likely to happen first at the NIC, then the kernel, then the user application? So if there is no packet drop at the NIC, but packet drop at the kernel, then the bottleneck is not at the NIC?

View 1 Replies View Related

Networking :: Wireless Network - Sudo IFConfig WLAN0 Not Working

Mar 15, 2011

I have got Ubuntu 10.10 on a Dell Inspiron Laptop. Can't get anywhere with wireless network. Tried a few bits of poking it blindly with a stick:

matthew@ubuntu:~$ lshw -C network
Warning: you should run this program as super-user.
*-network
Description: Network controller
Product: BCM4312 802.11b/g LP-PHY
Vendor: Broadcom Corporation
Physical id: 0
Bus info: pci@0000:0c:00.0
Version: 01
Width: 64 bits
Clock: 33MHz
Capabilities: bus_master cap_list
Configuration: driver=b43-pci-bridge latency=0
Resources: irq:17 memory:f69fc000-f69fffff
*-network .....

I reckon *-network DISABLED is a problem, I tried sudo ifconfig wlan0 up but that didn't work. The output of that and lspci are on the ubuntu side of my machine. I have also tried pressing my wireless on/off key (F2) but that doesn't work either.

View 8 Replies View Related

Networking :: Packet Drop Measured By Ethtool / Tcpdump And Ifconfig

May 19, 2010

I have a question regarding packet drops. I am running a test to determine when packet drops occur. I'm using a Spirent TestCenter through a switch (necessary to aggregate Ethernet traffic from 5 ports to one optical link) to a server using a Myricom card. While running my test, if the input rate is below a certain value, ethtool does not report any drop (except dropped_multicast_filtered which is incrementing at a very slow rate). However, tcpdump reports X number of packets "dropped by kernel". Then if I increase the input rate, ethtool reports drops but "ifconfig eth2" does not.

In fact, ifconfig doesn't seem to report any packet drops at all. Do they all measure packet drops at different "levels", i.e. ethtool at the NIC level, tcpdump at the kernel level etc? And am I right to say that in the journey of an incoming packet, the NIC level is the "so-called" first level, then the kernel, then the user application? So any packet drop is likely to happen first at the NIC, then the kernel, then the user application? So if there is no packet drop at the NIC, but packet drop at the kernel, then the bottleneck is not at the NIC?

View 1 Replies View Related

CentOS 5 Networking :: Diffrent Nic Config Setting Showing When Doing Ifconfig?

Jul 7, 2010

i have encounter strange situation i have set all my network configuration via /etc/sysconfig/network-scripts/ifcfg-eth0 ,eth0.2 ,eth1 etc ....i have used only once Gnome network manage settings to add routing since then all my network config change although all files mention above showing the same config i have set initially and same for Gnome network Manager.

View 3 Replies View Related







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