LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-17-2006, 06:29 PM   #1
vmlinuz.gz
Member
 
Registered: Nov 2005
Posts: 123

Rep: Reputation: 15
debian netinst: upgraded kernel; cannot access internet.


Recently, I did a fresh netinst of Debian 3.1. I upgraded the kernel using apt-get (because x-window-system only works with 2.6.8). After I boot 2.6.8 though, it seems to have trouble accessing the internet. For one thing, trying apt-get install x-window-system gives me lots of "Temporary failure resolving: '<host name>'" errors. Also, pinging 192.168.0.1 gives me "connect: Network is unreachable." I checked my /etc/resolv.conf and everything seemed to be in order. Any ideas?

It is worth noting that my internet worked on version 2.4.27 of the kernel, which was originally included with the installation. I have that kernel available in case anything else needs to be installed.

Last edited by vmlinuz.gz; 03-17-2006 at 08:05 PM.
 
Old 03-17-2006, 09:09 PM   #2
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
ifconfig
should show you your interfaces. Are they up?
/etc/init.d/networking start
may be needed.
 
Old 03-17-2006, 09:44 PM   #3
vmlinuz.gz
Member
 
Registered: Nov 2005
Posts: 123

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by RobertP
ifconfig
should show you your interfaces. Are they up?
Ifconfig outputs:

Code:
#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: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:560 (560.0 b) TX bytes:560 (560.0 b)
Quote:
Originally Posted by RobertP
/etc/init.d/networking start
may be needed.
I got:

Code:
#/etc/init.d/networking start
...
sit0:Unknown hardware address type 776
eth0:ERROR while getting interface flags: No such device
sit0:Unknown hardware address type 776
Bind socket to interface: No such device
exiting.
Failed to bring up eth0.
done.

Last edited by vmlinuz.gz; 03-17-2006 at 09:49 PM.
 
Old 03-18-2006, 06:19 AM   #4
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
Tell us about your hardware, particularly the interfaces to the internet. Do you have an ethernet card (NIC, Network Interface Controller) or a connection on the motherboard? Do you intend to use dial-up?

To show some of your hardware devices:
lspci
On my machine, among many other lines, I get these two:
Quote:
0000:00:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
0000:00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)


To show installed modules:
lsmod

Among others, I get
Quote:
r8169 18436 0

Is there anything in the output about interface devices?

You can also skim through
dmesg
to see what may have been detected at boot time. You can also see stuff in /var/log/messages
 
Old 03-18-2006, 12:10 PM   #5
vmlinuz.gz
Member
 
Registered: Nov 2005
Posts: 123

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by RobertP
Tell us about your hardware, particularly the interfaces to the internet. Do you have an ethernet card (NIC, Network Interface Controller) or a connection on the motherboard? Do you intend to use dial-up?
I have an external RCA broadband cable modem, which I use to connect to the internet. Based on the output below, I may have an ethernet card, but I am not certain. I do not use dial-up. In addition, I use a D-Link DI-604 (residential gateway) router.

Quote:
Originally Posted by RobertP
To show some of your hardware devices:
lspci
Of particular interest, I noticed

Code:
#lspci
...
0000:02:01.0 Ethernet controller: Via Technologies, Inc. VT86C100A [rhine] (rev 06)
...
Quote:
Originally Posted by RobertP
To show installed modules:
lsmod
Code:
#lsmod
...
via_rhine        19848  0
...
seemed to be related to the information output by lspci.

Quote:
Originally Posted by RobertP
You can also skim through
dmesg
to see what may have been detected at boot time. You can also see stuff in /var/log/messages
I do not believe dmesg revealed anything of interest, but in /var/log/messages, I noticed

Code:
#vim /var/log/messages
...
Mar 17 14:25:48 localhost kernel: eth0: VIA VT86C100A Rhine at 0xcc00, 00:50:ba:af:9c:a5, IRQ17
Mar 17 14:25:48 localhost kernel: eth0: MII PHY found at address 8 status 0x782d 05e1 Link 45e1
...
I will attempt to install the newest version of the kernel (2.6.15, I believe, as opposed to 2.6.8) to see if that has any effect.

Last edited by vmlinuz.gz; 03-18-2006 at 12:15 PM.
 
Old 03-18-2006, 04:35 PM   #6
vmlinuz.gz
Member
 
Registered: Nov 2005
Posts: 123

Original Poster
Rep: Reputation: 15
I have unsuccessfully attempted to install a newer version of the kernel. Unless anyone thinks it would be a good idea otherwise, I have given up...I do not believe there are significant enough differnces between the 2.6.x versions to solve my problems.

Last edited by vmlinuz.gz; 03-18-2006 at 09:44 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Netinst of Debian Sid w/2.6 from scratch? dj_dubbbz Linux - Newbie 2 02-19-2006 11:56 PM
Debian netinst pppoe problems jacksonL Linux - Newbie 1 06-29-2005 08:04 AM
Debian netinst with Ralink rt2500 (not on CD) dezza Debian 3 05-22-2005 12:07 PM
Debian netinst (Sarge) hangs at 92% Scorper Debian 2 02-13-2005 11:58 AM
Debian netinst..How do I conecct to my ISP?? copter Linux - Networking 4 06-23-2004 02:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration