LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-13-2006, 04:29 PM   #1
MurX
Member
 
Registered: Oct 2005
Location: London
Distribution: elive e17
Posts: 152

Rep: Reputation: 30
Can not access the internet in Debian distro.


am trying to connect to the internet using a debian distro ut I can not even connect to my router.

I have 3 other debian based distros on the same machine that are all able to connect.

I tried to go into the router via telnet but when I type in the router address 198.168.1.1 I get the reply that is was unable to establish a connection.

I also went into my /etc/resolv.conf file, which I had to create, and entered the primary and secondary DNS addresses.

Upon boot up I get a DHCP error on various ports. IT appears as though the system is trying to conenct to the router but can not.

I have had a look at Linux.org beginers guide on how to connect but I do not get further than telnet connecting to the router.

Can some one guide me through what I need to do to connect this distro to the Internet.

If I can copy some file from one of my other distros I would be happy to do that.

Many thanks.
 
Old 03-13-2006, 04:55 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Usually, the two necessary config files are /etc/resolv.conf and /etc/network/interfaces. I would compare those on a couple of different distros.

If you know your router address, you could always setup a static IP on your 192.168.1.XXX subnet...
 
Old 04-01-2006, 01:01 PM   #3
MurX
Member
 
Registered: Oct 2005
Location: London
Distribution: elive e17
Posts: 152

Original Poster
Rep: Reputation: 30
"If you know your router address, you could always setup a static IP on your 192.168.1.XXX subnet..."

I know my router address but how do I do this?

I have looked at the /etc/resolv.conf and /etc/network/interfaces files in distros that work.

I made changes to these files in demudi but I still can not access the internet from it. When I go to PPPoE setup it says that it has found one device, eth1, and when I tell it to set it up it says that it fails.


Can some one PLEASE help me on this I have been struggling for some time on this now. I have googled and read the demudi FAQ but just can not fine anything that enables me to get this distro to connect to the internet.
 
Old 04-01-2006, 01:11 PM   #4
wrj
Member
 
Registered: Aug 2003
Location: Canada/US
Distribution: Ubuntu, Arch
Posts: 84

Rep: Reputation: 15
Have you tried running mii-tool to make sure your physical cable/card connection is good?
 
Old 04-01-2006, 05:49 PM   #5
MurX
Member
 
Registered: Oct 2005
Location: London
Distribution: elive e17
Posts: 152

Original Poster
Rep: Reputation: 30
wrj I have not tried to run mii-tool. I would be happy to do this check, I assume that if I type

man mii-tool

I will get the help file for this.


However, I do not think that the problem is with the cable/connections because all the other distros in my machine are able to access the internet through all the same HW.

I really would like to get this demudi distro working.
 
Old 04-01-2006, 11:16 PM   #6
wrj
Member
 
Registered: Aug 2003
Location: Canada/US
Distribution: Ubuntu, Arch
Posts: 84

Rep: Reputation: 15
Quote:
Originally Posted by MurX
I have 3 other debian based distros on the same machine that are all able to connect.
My mistake ... I skipped over that part.

Well ... what about the output of ifconfig. Did you get an ip address? If not set it up statically and restart your network.
Try pinging 198.168.1.1 to make sure your network is up. Once you can telnet to the router try running pppoe.

Let me know how it goes.
 
Old 04-02-2006, 01:13 PM   #7
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Rep: Reputation: 30
Hi. MurX is on another list with this problem, and has had it for a while. Question.

Why is he having to use PPPoE on a machine connected by ethernet to a router. Surely the router via the ADSL modem is already connected using PPPoE.

For instance. Before I set up my Smoothwall Express2 firewall, (which sort of acts like a router) I had the serial modem directly connected the machine, and used KPPP to connect to my ISP. Now with the serial modem connected to the Smoothwall, the connection to the ISP is set up with the firewall (router). If I tried to use Kppp now on the machine connected to the Smoothwall it would not work as the connection is already made. In my case now, all I have to specify for connecting to the Smoothwall via ethernet, is the gateway address of the Smoothwall, my static IP address so that the Smoothwall knows who I am, and the DNS address/s.

I still think that MurX has a problem with the driver not being loaded for his NIC. I say this having had similar problems with Debian Sarge, and my Realtek8139 NIC using the 8139too driver, which I had to add to /etc/modules to get it to work.

MurX. Will you tell us which NIC (ethernet card) you are using. lspci should give you a list of your PCI stuff. Ethernet controller is the one we want to know about.

Nigel. aka farpoint.
 
Old 04-02-2006, 02:13 PM   #8
wrj
Member
 
Registered: Aug 2003
Location: Canada/US
Distribution: Ubuntu, Arch
Posts: 84

Rep: Reputation: 15
Yes farpoint is correct. You only need to set up pppoe on the router or machine acting as a router. In addition to the NIC info can you tell us what your router setup is?
 
Old 04-02-2006, 06:02 PM   #9
MurX
Member
 
Registered: Oct 2005
Location: London
Distribution: elive e17
Posts: 152

Original Poster
Rep: Reputation: 30
farpoint I will look up the NIC tomorrow an post the details here.

wrj, so as to save posting redundant info about my router, can you tell me exactly what info you would like to know.

thanks for your help on these guys.

murx
 
Old 04-03-2006, 03:48 PM   #10
MurX
Member
 
Registered: Oct 2005
Location: London
Distribution: elive e17
Posts: 152

Original Poster
Rep: Reputation: 30
farpoint, I did

lspci

it lists about 20 devices. My NIC is not a PCI card but onboard my nVidia mobo.

My mobo is a MSI K8N Neo Platinum Nforce3 250 SKT 754 SATA GIGBIT LAN.
 
Old 04-06-2006, 06:42 PM   #11
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Rep: Reputation: 30
Hi. Sorry for the delay. I didn't receive your post in my mailbox. Please post the output from lspci. lspci doesn't only list plug-in pci cards but on board stuff as well. Also post the output of lsmod, which should show if the driver for the NIC is being loaded. You can also post the lsmod output for one of your distro's that does connect to the Internet ok. This may help in identifying the driver for the NIC. Of course all of this is assuming that it is a driver problem with the NIC, but it's worth checking. Nigel.
 
  


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
How do I set up Debian to access the internet? MurX Debian 9 02-28-2006 07:42 AM
WIFI WLAN / Cannot access internet but can access the router configuration page?SUSE thomas939 Linux - Wireless Networking 12 12-13-2005 11:28 AM
Debian Sarge Internet access problems Stimz Linux - Newbie 1 08-15-2005 04:31 PM
Debian that does NOT require internet access to install. Lechium Linux - Newbie 3 07-29-2004 07:37 AM
Lost internet access after compiling Debian 2.4 robw Linux - Newbie 13 02-21-2004 06:04 AM

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

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