LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-06-2007, 07:13 PM   #1
Mario1776
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
No Internet in Debian with cable modem


I have installed the latest stable version of Debian on my DEC Alpha with a network install using debian-40r0-alpha-netinst.iso.

I had the computer connected to my cable modem during install and I hoped that the networking would be setup automatically, because I'm a complete noob.

I have been booting the computer and logging in while connected to my cable modem but when I try to access the internet it says that I am not connected. I have tried reading the networking chapters of a few linux books, one specifically about Debian, but they all cover dial-up modems, which is not what I have.

If anyone knows how to get Debian to connect to the internet please advise, in detail. Thanks.
 
Old 07-06-2007, 11:16 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
first lets see what your network settings are..

open a shell, 'su -' to root, and type the following commands, Paste the output here.

ifconfig -a

cat /etc/resolv.conf

route -n

cat /etc/network/interfaces
 
Old 07-07-2007, 01:03 AM   #3
Mario1776
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Command results

farslayer
The results for the command "ifconfig -a" can be seen in the following image.
http://img517.imageshack.us/my.php?i...annet01xt7.png

The results for the other three commands can be seen in the following image.
http://img505.imageshack.us/my.php?i...annet02sz6.png
 
Old 07-07-2007, 12:33 PM   #4
Volhv
Member
 
Registered: Sep 2006
Distribution: Debian 4.0 and Ubuntu 7.04
Posts: 50

Rep: Reputation: 15
There is network gui in Gnome. You can enable network card from there.
 
Old 07-07-2007, 01:35 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,618

Rep: Reputation: 104Reputation: 104
Try dpkg --purge zeroconf then [/i]/etc/init.d/networking restart[/i] and you might want to edit the /etc/network/interfaces file and put eth1 on the auto line you might even have to change the eth1 to eth0 instances depending on which card is connected to the internet.
 
Old 07-11-2007, 06:54 PM   #6
Mario1776
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Progress

Quote:
There is network gui in Gnome. You can enable network card from there.
The GUI menu in Gnome has several items that are in some part named "Net", "Network" or "Networking". I found that by selecting "Desktop", then "Administration" and then "Networking" a window displaying my two network cards would be shown. At this window I selected the NIC connected to my cable modem and then clicked a button that said "Activate". This action appears to be permanent and not necessary to perform again unless I should happen to click the button that says "Deactivate".

After activating the NIC I right clicked the "Wired network connection" icon to the left of the clock, in the Gnome system tray at the top-right of the screen. I then selected "Enable Networking". At this point I was able to access the internet. After restarting the computer networking is no longer "enabled", and I must reselect "Enable Networking" to be able to access the internet.

I would like to know how to set Gnome so that networking would be automatically enabled on startup. If you can, please advise.

P.S.
I would also like to know how to "Activate" and "Deactivate" my network card from the command line. If you can, please advise.

P.P.S.
I have not tried the suggestions made by HappyTux. If any of his suggestions would accomplish either of the afore mentioned tasks I am seeking to perform, please clarify which suggestion would do what.
 
Old 07-11-2007, 10:21 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
you probably just need to edit your /etc/network/interfaces file

most likely it looks like this..

Code:
default@debian:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth1
iface eth1 inet dhcp
you just need to add an entry for your other NIC
something like this..

Code:
default@debian:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

# The secondary network interface
auto eth1
iface eth1 inet dhcp

Last edited by farslayer; 07-11-2007 at 10:23 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cant get to internet through cable modem biblpshnman Linux - Networking 7 10-01-2005 08:41 AM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 11:48 AM
No internet with my cable modem. hitekrednek Linux - Newbie 5 02-20-2004 03:28 PM
Cable T V modem... Want internet Datalus Linux - Hardware 6 11-28-2003 04:34 PM
Cannot connect to internet with cable modem debPandra Linux - Distributions 5 07-03-2002 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration