LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-12-2007, 09:48 AM   #1
Score
Member
 
Registered: Oct 2006
Location: Norway
Distribution: Debian Etch
Posts: 105

Rep: Reputation: 15
No network connection at all


I am running Debian Etch and I want to gain access to the internet, but I am not able to do so.

Debian (unlike Ubuntu) can not find my wireless network card, but it can find the normal eth0 connection card - still, after activating it I can't access the internet.

There is only one tool in Debian I am familiar with and which I've used other times, and it is the "network" settings.

What else could I try to do to get on the net?

Any thoughts are appreciated!
 
Old 03-12-2007, 10:10 AM   #2
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
iwconfig is the basic tool for configuring your wireless card.
Some more info: http://www.tulrich.com/geekstuff/debian_tricks.html
Quote:
install "wireless-tools" though; this gives you "iwconfig", "iwlist", etc.
 
Old 03-12-2007, 10:14 AM   #3
Score
Member
 
Registered: Oct 2006
Location: Norway
Distribution: Debian Etch
Posts: 105

Original Poster
Rep: Reputation: 15
Thanks. This can be done without any connection I assume?
 
Old 03-12-2007, 10:21 AM   #4
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
It might not be installed per default. Try running it without options to see of you have it installed:
Code:
iwconfig
What's the output (for wireless devices)?
If it's not installed, get the .deb installer from the internet on another computer and run it on your debian box.

Last edited by muha; 03-12-2007 at 10:52 AM.
 
Old 03-12-2007, 10:28 AM   #5
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Open a root-terminal (or just a regular terminal and issue the su command to become root) and give the command
Code:
ifconfig -a
This shows you all interfaces, regardless if they're up or down. Determine the name of the wired interface. Adjust the following code accordingly. Open the file /etc/network/interfaces with your favourite editor (as root!) and add the following:
Code:
# The primary network interface
auto eth0
iface eth0 inet dhcp
Save this file, and start the eth0 interface:
Code:
ifconfig eth0 up
You should see the network getting an adress from the dhcp server (your router) and when finished, try to ping one of the Google IP's:
Code:
ping -c 5 64.233.187.99
If this succeeds, open a browser and do your thing online
 
  


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
my internet connection disconnects my network connection? emre polat Linux - Networking 2 12-19-2006 02:11 PM
Can't get a network connection JMJ_coder Slackware 26 04-14-2006 02:25 AM
network connection bayonetblaha Ubuntu 2 02-05-2006 03:09 PM
Network Connection Lucsi Linux - Newbie 1 07-15-2002 07:16 AM
Connection to network tohhwee Linux - Networking 2 05-04-2001 12:18 PM

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

All times are GMT -5. The time now is 04:13 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