View previous topic :: View next topic |
Author |
Message |
tolken3 n00b
Joined: 09 Jan 2003 Posts: 22
|
Posted: Fri Jan 10, 2003 12:06 pm Post subject: Configuring the Network for Gentoo |
|
|
I have ran fdisk and setup the partitiions. I am using the stage 3 tarball and i have managed to get it expanded as the install manual has explained but I am having trouble with the network. I have edited the conf file that contains the Domain name and dnsnames and I think thats were something went wrong. I check the file this morning befor I left for work and it contains my doman name and my DNS primary and Secondary but the dnsname for Gentoo sites are gone. I have run ifconfig to check the card and it is up and running so I am sure it is a minor tweak but I must have missed it. Any help or suggestion would be appreciated. |
|
Back to top |
|
|
TaboZ n00b
Joined: 30 May 2002 Posts: 49
|
Posted: Fri Jan 10, 2003 12:42 pm Post subject: Follow the docs.. |
|
|
After the network is up, i presume you can ping a random host on the internet, all you have to do is an emerge rsync and continue as the install docs explain...
Asuming you are in your chrooted environment etc. |
|
Back to top |
|
|
tolken3 n00b
Joined: 09 Jan 2003 Posts: 22
|
Posted: Fri Jan 10, 2003 1:16 pm Post subject: Not able to ping. |
|
|
Thats part of the problem I can ping my NIC and I can ping the gateway but that is where the it stops. Every thing looks good but I can ping a stright IP or a WWW typ address?. |
|
Back to top |
|
|
tolken3 n00b
Joined: 09 Jan 2003 Posts: 22
|
Posted: Fri Jan 10, 2003 1:18 pm Post subject: OOOOPPS |
|
|
Sorry about that last post , I can ping the NIC and Gateway but I can not ping a stright IP or WWW address. |
|
Back to top |
|
|
TaboZ n00b
Joined: 30 May 2002 Posts: 49
|
Posted: Fri Jan 10, 2003 1:50 pm Post subject: resolf.conf? |
|
|
whats your /etc/resolf.conf?
does it contain: Nameserv: ipnumber ?
did you do a "route add default gw 192.168.1.1" or something simular?
what does "netstat -nr" say?
Regards |
|
Back to top |
|
|
tolken3 n00b
Joined: 09 Jan 2003 Posts: 22
|
Posted: Fri Jan 10, 2003 1:58 pm Post subject: No ping allowed :) |
|
|
TaboZ
my resolv.conf contains the folloing lines
Domain : Mydomain.net
Nameserve: Primary DNS IP of my provider
Nameserve: Secondary DNS IP of my provider
I am missing the lines that were there in the original resolv.conf that pointed to the Gentoo Domain name.
I did not do a route add Default gw but, I will give it a try. _________________ You folks are the best group that I have had the pleasure of working with. Keep up the great work and all of the contributors skills and knowledge is fantastic. I can not thank you enough. |
|
Back to top |
|
|
TaboZ n00b
Joined: 30 May 2002 Posts: 49
|
Posted: Fri Jan 10, 2003 2:03 pm Post subject: sorry |
|
|
i added something to my last message about netstat. |
|
Back to top |
|
|
TaboZ n00b
Joined: 30 May 2002 Posts: 49
|
Posted: Fri Jan 10, 2003 2:05 pm Post subject: Re: No ping allowed :) |
|
|
tolken3 wrote: | TaboZ
my resolv.conf contains the folloing lines
Domain : Mydomain.net
Nameserve: Primary DNS IP of my provider
Nameserve: Secondary DNS IP of my provider
I am missing the lines that were there in the original resolv.conf that pointed to the Gentoo Domain name.
|
that was just Domain: gentoo.org , forget that. |
|
Back to top |
|
|
tolken3 n00b
Joined: 09 Jan 2003 Posts: 22
|
Posted: Fri Jan 10, 2003 2:05 pm Post subject: No Ping |
|
|
Taboz, I am at work but I will run netstat when I get home to chech the message I will post as soon as I have the results. _________________ You folks are the best group that I have had the pleasure of working with. Keep up the great work and all of the contributors skills and knowledge is fantastic. I can not thank you enough. |
|
Back to top |
|
|
tolken3 n00b
Joined: 09 Jan 2003 Posts: 22
|
Posted: Fri Jan 10, 2003 2:07 pm Post subject: No Ping |
|
|
TaboZ, do I need the Nameserv for the Gentoo primary and Secondary lited in the resolv.conf file to? _________________ You folks are the best group that I have had the pleasure of working with. Keep up the great work and all of the contributors skills and knowledge is fantastic. I can not thank you enough. |
|
Back to top |
|
|
TaboZ n00b
Joined: 30 May 2002 Posts: 49
|
Posted: Fri Jan 10, 2003 2:09 pm Post subject: Nope |
|
|
nope. All you need are real working nameservers.
Regards |
|
Back to top |
|
|
DarkHelmet n00b
Joined: 11 Jan 2003 Posts: 8
|
Posted: Sat Jan 11, 2003 1:15 pm Post subject: |
|
|
And what if you did all that, but still can't ping nameadresses? _________________ The Music
The Vibe
The Groove
I Love Techno! |
|
Back to top |
|
|
int1 Tux's lil' helper
Joined: 08 Nov 2002 Posts: 139
|
Posted: Sat Jan 11, 2003 3:01 pm Post subject: |
|
|
Does nslookup work? If it does, try checking your /etc/nsswitch.conf for the hosts line, it should read "files dns".
If it doesn't, post the output of these:
ifconfig -a
netstat
netstat -rn
ping <IP>
traceroute <IP>
For <IP>, try a couple of these Yahoo servers (just to make sure the first one you try isn't temporarily down):
64.58.76.177
64.58.76.178
64.58.76.179
int1 |
|
Back to top |
|
|
TaboZ n00b
Joined: 30 May 2002 Posts: 49
|
Posted: Sat Jan 11, 2003 3:46 pm Post subject: |
|
|
DarkHelmet wrote: | And what if you did all that, but still can't ping nameadresses? |
I would check my firewall settings. Is nat enabled in it etc.. |
|
Back to top |
|
|
DarkHelmet n00b
Joined: 11 Jan 2003 Posts: 8
|
Posted: Sat Jan 11, 2003 4:17 pm Post subject: |
|
|
Well, I've done some testing and rebooted a few times...
Meanwhile, I was able to surf this forum form my Windows 2000 box, so router seemed to work a-okay
But DNS didn't seem to work correct here aswell.
FreeSco sort of crashed the DNS server
I rebooted Freesco and now everything works okay! _________________ The Music
The Vibe
The Groove
I Love Techno! |
|
Back to top |
|
|
jorisdekinder n00b
Joined: 11 Jan 2003 Posts: 3
|
Posted: Sat Jan 11, 2003 11:23 pm Post subject: |
|
|
I have the same problem, I used the script "net-setup eth0". It seems like all the settings are coorect after that. But I can't connect to the internet. I make connection to the internet through a debianserver. The server contains a dhcpserver. I get no error or warning at all.
"ifconfig -a" shows me the the correct ip (192.168.0.4 broadcast 192.168.0.255 netmask 255.255.255.0)
"netstat -rn" (similar to route) shows the correct default gateway
I give the output in win2k from "route print" because its the same as in gentoo:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.4 1
192.168.0.0 255.255.255.0 192.168.0.4 192.168.0.4 1
I can ping any ip from my lan, but nothing over the internet.
I couldn't test traceroute cause I did't install phase 1 yet. I want the internet working before I continue.
/etc/resolv.conf:
nameserver 195.130.132.17
nameserver 195.130.132.18
We connect to the internet through a proxy. So I exported the PROXYvariables:
export HTTP_PROXY="proxy.pandora.be:8080"
export FTP_PROXY="$HTTP_PROXY"
export RSYNC_PROXY="$HTTP_PROXY"
Still nothing yet.
I see no problem, but it just doesn't work.
Taboz: How do I check if NAT is enabled on the firewall? |
|
Back to top |
|
|
DarkHelmet n00b
Joined: 11 Jan 2003 Posts: 8
|
Posted: Sun Jan 12, 2003 9:45 am Post subject: |
|
|
Hmm, yes this exact problem we had working on our project at school :S
For me luckily it solved the problem by resetting the NAT/router...
Can you ping outside the network? EG. behind the gateway?
Maybe you can install a Caching DNS on the Gateway and use that?
Well, just a suggestion, I'm as n00b as you are _________________ The Music
The Vibe
The Groove
I Love Techno! |
|
Back to top |
|
|
jorisdekinder n00b
Joined: 11 Jan 2003 Posts: 3
|
Posted: Sun Jan 12, 2003 10:32 am Post subject: |
|
|
Just rebooted the gateway, no result.
I cannot ping outside the network, not even the nameservers.
I get the IP though if I ping a webpage: If I ping www.google.com, the IP appears but I don't get any answer.
I think the problem can be the proxy. Because everything works fine in win2k and in any other linux I ever installed (knoppix, redhat, mandrake, peanut).
It seems pretty strange to me, but is "export http_proxy="proxy.pandora.be" the only thing I need to do to configure the proxysettings?
Thanx in advance. |
|
Back to top |
|
|
sebgarden Guru
Joined: 21 Dec 2002 Posts: 353
|
Posted: Sun Jan 12, 2003 10:51 am Post subject: |
|
|
I think you should take a look at my post in this thread.
Regards,
Sébastien. |
|
Back to top |
|
|
|