FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 06-20-2010, 07:39 PM
Thufir
 
Default ifconfig eth0 up/down

I was moving some stuff about and disconnected the cable modem, then
booted the pc. I reconnected the wires, ensured that all the lights on
the were solid, with the activity light blinking on the modem and network
card. However, I was unable to ping google or connect out. Here's what
I had:

thufir@ARRAKIS:~$
thufir@ARRAKIS:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:ec:23:af:88
inet addr:70.71.111.41 Bcast:70.71.111.255 Mask:255.255.252.0
inet6 addr: fe80::216:ecff:fe23:af88/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25857 errors:0 dropped:0 overruns:0 frame:0
TX packets:1064 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3193566 (3.1 MB) TX bytes:107387 (107.3 KB)
Interrupt:19 Base address:0xb000

eth1 Link encap:Ethernet HWaddr 00:0d:88:37:fa:22
UP 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:17 Base address:0xc800

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:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1220 (1.2 KB) TX bytes:1220 (1.2 KB)

thufir@ARRAKIS:~$
thufir@ARRAKIS:~$ sudo ifconfig eth0 down
thufir@ARRAKIS:~$ sudo ifconfig eth1 down
thufir@ARRAKIS:~$
thufir@ARRAKIS:~$ sudo ifconfig eth0 up
thufir@ARRAKIS:~$ sudo ifconfig eth1 up
thufir@ARRAKIS:~$
thufir@ARRAKIS:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:ec:23:af:88
inet addr:70.71.111.41 Bcast:70.71.111.255 Mask:255.255.252.0
inet6 addr: fe80::216:ecff:fe23:af88/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26606 errors:0 dropped:0 overruns:0 frame:0
TX packets:1113 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3241218 (3.2 MB) TX bytes:114398 (114.3 KB)
Interrupt:19 Base address:0xb000

eth1 Link encap:Ethernet HWaddr 00:0d:88:37:fa:22
UP 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:17 Base address:0xc800

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:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1220 (1.2 KB) TX bytes:1220 (1.2 KB)

thufir@ARRAKIS:~$


A simple restart fixed the problem, hwat I have now seems exactly the
same now:

thufir@ARRAKIS:~$
thufir@ARRAKIS:~$ sudo ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:ec:23:af:88
inet addr:70.71.111.41 Bcast:70.71.111.255 Mask:255.255.252.0
inet6 addr: fe80::216:ecff:fe23:af88/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:123625 errors:0 dropped:0 overruns:0 frame:0
TX packets:30935 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:61370499 (61.3 MB) TX bytes:3480064 (3.4 MB)
Interrupt:19 Base address:0xb000

eth1 Link encap:Ethernet HWaddr 00:0d:88:37:fa:22
UP 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:17 Base address:0xc800

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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:440 (440.0 B) TX bytes:440 (440.0 B)

thufir@ARRAKIS:~$


except that now I have internet access (obviously). Why? What did the
restart accomplish?


thanks,

Thufir


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 06-20-2010, 08:05 PM
Tom H
 
Default ifconfig eth0 up/down

On Sun, Jun 20, 2010 at 3:39 PM, Thufir <hawat.thufir@gmail.com> wrote:
> I was moving some stuff about and disconnected the cable modem, then
> booted the pc. *I reconnected the wires, ensured that all the lights on
> the were solid, with the activity light blinking on the modem and network
> card. *However, I was unable to ping google or connect out. *Here's what
> I had:
...
> A simple restart fixed the problem, hwat I have now seems exactly the
> same now:
...
> except that now I have internet access (obviously). *Why? *What did the
> restart accomplish?

Either your route or dns resolution was not set.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-06-2010, 01:31 AM
Thufir
 
Default ifconfig eth0 up/down

Tom H <tomh0665 <at> gmail.com> writes:

>
> On Sun, Jun 20, 2010 at 3:39 PM, Thufir <hawat.thufir <at> gmail.com> wrote:
> > I was moving some stuff about and disconnected the cable modem, then
> > booted the pc. I reconnected the wires, ensured that all the lights on
> > the were solid, with the activity light blinking on the modem and network
> > card. However, I was unable to ping google or connect out. Here's what
> > I had:
> ...
> > A simple restart fixed the problem, hwat I have now seems exactly the
> > same now:
> ...
> > except that now I have internet access (obviously). Why? What did the
> > restart accomplish?
>
> Either your route or dns resolution was not set.
>


"Linux does not cache DNS by default. You have to manually install nscd or a dns
server to cache DNS. Your DNS server IS your cache. If you have a router,
restart that router. It will clear the cache."

http://ubuntuforums.org/showthread.php?t=156577

So, I don't actually have DNS resolution locally, as I haven't installed ncsd or
similar. What do you mean by route information?


thanks,

Thufir


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 03:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org