Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etho0 found but no internet connection
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
antd
n00b
n00b


Joined: 29 Mar 2006
Posts: 6

PostPosted: Wed Mar 29, 2006 10:02 pm    Post subject: etho0 found but no internet connection Reply with quote

Hi people,

Ive installed gentoo amd64 on my main box. Installation has gone fine until I needed to connect to the internet in order to download a portage snapshot.
I followed the guide and handbook, but I still have problems.
I cannot connect to the internet so i cant install gentoo fully.

eth0 (my adsl router) is found, it's just the settings that confuse me.
I have ran net-setup eth0, and manually input my settings, however I believe I am putting in the wrong settings.

Here are all the settings I have:
Can someone please tell me where to input them (im sure gentoo uses different terminology to what i am used to so i have no idea what to input)


subnet mask: 255.255.255.0
default gateway (routers ip address): 192.168.2.1
dns server: 212.74.114.129

So far ive tried to install to different linux ditro's to no avail. I would appreciate it greatly if somebody could help me with this issue, as i want to install gentoo. :)
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Thu Mar 30, 2006 12:02 am    Post subject: Reply with quote

DNS info goes in /etc/resolv.conf

Quote:
nameserver 212.74.114.129


Router's IP should be entered in route

Code:
route add default gw 192.168.2.1


Finally check that your own IP is set.

Code:
ifconfig

or set the ip
Code:
ifconfig eth0 192.168.2.155


Then ping google.com and see if you get an response. Post the error message if its not working. =)
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
antd
n00b
n00b


Joined: 29 Mar 2006
Posts: 6

PostPosted: Thu Mar 30, 2006 12:18 am    Post subject: Reply with quote

It seems the problem is due to my drivers. I need to install the drivers so my LAN will work.

I'll try your method once i have installed the drivers. Thanks.

But, how can I now install those drivers? I have the driver files on a disc, can you tell me how i can install them.

man, i really hate this. Defeated by mandrake, ubuntu and now it looks like gentoo too. Looks like back to sunny windows xp >_>
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Thu Mar 30, 2006 12:20 am    Post subject: Reply with quote

You shouldn't have to use any drivers. If you have eth0 up that means you don't need any additional drivers. To see if you card was actually loaded do this.

Code:
dmesg | grep eth


Post the result of above here.
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
antd
n00b
n00b


Joined: 29 Mar 2006
Posts: 6

PostPosted: Thu Mar 30, 2006 12:26 am    Post subject: Reply with quote

Ok.

These are my results from doing the above:

Code:
forcedeth.c: Reverse engineered nforce ethernet driver. version 0.48.
eth0: forcedeth.c: subsystem: 01849:0269 bound to 0000:00:14.0
eth0: no link during initialization
eth0: no link during initialization
eth0: link up
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Thu Mar 30, 2006 12:28 am    Post subject: Reply with quote

Well your network card seems to be detected fine. Its an nvidia nforce network chipset by the look of things. So have you tried what I've posted up before? It should work.
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
antd
n00b
n00b


Joined: 29 Mar 2006
Posts: 6

PostPosted: Thu Mar 30, 2006 12:32 am    Post subject: Reply with quote

I tried to do what you posted but I take it that isnt the code I have to enter?
I'll try and guess the settings manually and let you know what happens.

I'm using:
Code:
net-setup eth0
to configure my connection to my router. I do not know what to put in the following fields:

"please enter an ip address for eth0"
"please enter a broadcast address for eth0"
"please enter a network mask for eth0"
"please enter a gateway for eth0"
"please enter a name server to use"

I have the following settings as mentioned in my first post:

IP of router- 192.168.2.1
WAN IP- 88.111.**.***
Default Gateway- 212.74.111.187
Primary DNS- 80.225.252.58


Last edited by antd on Thu Mar 30, 2006 12:38 am; edited 1 time in total
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Thu Mar 30, 2006 12:37 am    Post subject: Reply with quote

The code I posted there was just for you to enter, those r ur settings.
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Thu Mar 30, 2006 12:37 am    Post subject: Reply with quote

For the nameserver one you have to edit the /etc/resolv.conf the rest you can just enter as it is
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
antd
n00b
n00b


Joined: 29 Mar 2006
Posts: 6

PostPosted: Thu Mar 30, 2006 12:39 am    Post subject: Reply with quote

antd wrote:
I tried to do what you posted but I take it that isnt the code I have to enter?
I'll try and guess the settings manually and let you know what happens.

EDIT:-
I'm using:
Code:
net-setup eth0
to configure my connection to my router. I do not know what to put in the following fields:

"please enter an ip address for eth0"
"please enter a broadcast address for eth0"
"please enter a network mask for eth0"
"please enter a gateway for eth0"
"please enter a name server to use"

I have the following settings as mentioned in my first post:

IP of router- 192.168.2.1
WAN IP- 88.111.**.***
Default Gateway- 212.74.111.187
Primary DNS- 80.225.252.58


EDIT:-

Ok. I did the "route" code which you posted. I get this error message:
"SIOCADDRT: Network is unreachable"

The network is fine since im using my wireless laptop with that router now :)

There seems to be no communication at all between my gentoo machine and the router, the LED's do not flash when i am pinging or trying to connect to the router itself. :(
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Thu Mar 30, 2006 12:48 am    Post subject: Reply with quote

for IP put 192.168.2.5
for broadcase put 192.168.0.255
for network mask put 255.255.255.0
for gateway put 192.168.2.1
for nameserver put 192.168.2.1 or 80.225.252.58

and that should work
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
antd
n00b
n00b


Joined: 29 Mar 2006
Posts: 6

PostPosted: Thu Mar 30, 2006 12:58 am    Post subject: Reply with quote

Thanks for your help but it doesn't work T_T. Not even as much as a flicker on my router's LED.
I get "host not found" when i try to access websites.
I also cannot ping anyone. I really dont wanna go back to windows but linux is giving me a really hard time. Is there a distro that even a noob like me can install and get internet connectivity? I just want something that is fast, easy and stable
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum