LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-18-2010, 06:13 PM   #16
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
interfaces?


What does your /etc/network/interfaces file say?

it should say something like this if it is set up to obtain the DNS info from the dhcp server on the router.

iface eth1 inet dhcp
 
Old 04-20-2010, 01:16 PM   #17
kamchatka4987
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by alan99 View Post
What does your /etc/network/interfaces file say?

it should say something like this if it is set up to obtain the DNS info from the dhcp server on the router.

iface eth1 inet dhcp
Here are the contents of my /etc/network/interfaces file:
Code:
# 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
There isn't a mention of "dhcp" in that file. Should I add it?
 
Old 04-21-2010, 03:01 PM   #18
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
To see what interfaces are available, you can use (as root) ifconfig

Quote:
yourhost# ifconfig

eth1 Link encap:Ethernet HWaddr 00:21:00:0e:04:c0
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::221:ff:fe0e:4c0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:230825 errors:0 dropped:0 overruns:0 frame:54726
TX packets:173845 errors:32 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:214965444 (205.0 MiB) TX bytes:37737267 (35.9 MiB)
Interrupt:19

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:18979 errors:0 dropped:0 overruns:0 frame:0
TX packets:18979 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1263724 (1.2 MiB) TX bytes:1263724 (1.2 MiB)
all that you have now is lo which is just your localhost 127.0.0.1 You need to add your wireless adapter, either manually to /etc/network/interfaces or by using network manager. Your adapter may be eth1 or wlan0 (eth0 is probably the ethernet connection) assuming that your dhcp client is installed you should be able to connect to the router (you may have to set up WEP or WPA before you have internet access)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Runs fine, Linux Crashes OC problems.... Chaosbringer Linux - Hardware 7 08-08-2008 09:33 PM
Using Linux and Windows: How to partition properly? Nucomer Linux - Newbie 38 07-14-2006 06:31 PM
websites don't display Solaris 10 gnu noob Solaris / OpenSolaris 12 12-08-2005 10:32 PM
No internet access in linux, works fine in windows c0uchm0nster Linux - Networking 8 01-29-2004 06:45 AM
printer works fine in windows but is slow under linux nef Linux - Hardware 4 09-28-2003 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:56 PM.

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