View previous topic :: View next topic |
Author |
Message |
crovax123 Apprentice
Joined: 08 Jun 2004 Posts: 159
|
Posted: Sat Jun 19, 2004 2:03 pm Post subject: network problems |
|
|
hello i just completed the instalation of gentoo and wanted to start whit making my desktop envirement but now i cant get emerge sync to work
if i use ifconfig i get my networkconection nice but i cant ping anithing
can anybody tell me wath to do??? |
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Sat Jun 19, 2004 2:42 pm Post subject: |
|
|
check your nameservers in /etc/resolv.conf _________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
|
crovax123 Apprentice
Joined: 08 Jun 2004 Posts: 159
|
Posted: Sat Jun 19, 2004 2:44 pm Post subject: |
|
|
i dont know how i should use nameserver to connect to the internet i use a smoothwal firewall and dont know how i can give it a name |
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Sat Jun 19, 2004 3:05 pm Post subject: |
|
|
You'll need nameservers to resove a hostname to a ipaddress.
for an exsample:
when you open your webbrowser and go to http://google.com
then you go to http://216.239.39.99 instead.
you connect to a nameserver when you resolv http://google.com to http://216.239.39.99
is there anything in /etc/resolv.conf ?
can you ping google.com ?
can you ping your firewall ?
try pinging google.com ipaddress: 216.239.39.99 _________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Jun 19, 2004 3:31 pm Post subject: |
|
|
crovax123,
Smoothwall is your nameserver.
In your /etc/resolv.conf you need
Code: | nameserver <IP of smoothwall> |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
crovax123 Apprentice
Joined: 08 Jun 2004 Posts: 159
|
Posted: Sat Jun 19, 2004 4:37 pm Post subject: |
|
|
thanks i am gonna try that now |
|
Back to top |
|
|
linux_weenie Guru
Joined: 25 Jun 2003 Posts: 365
|
Posted: Sat Jun 19, 2004 5:22 pm Post subject: |
|
|
if its smoothwall then it probably has DHCP enabled and you should just be able to type:
if you're using eth0 as the nic.
-Will _________________ There are only 10 types of people in the world. Those who understand binary and those who don't. |
|
Back to top |
|
|
crovax123 Apprentice
Joined: 08 Jun 2004 Posts: 159
|
Posted: Sat Jun 19, 2004 6:32 pm Post subject: |
|
|
yep i forgot to activate dhcp |
|
Back to top |
|
|
|