You are not logged in.
I have server, I have tried full static and only static ip for the computer and everything else is handled by dhcp. The problem is the same, no internet.
I can ssh and control mpd on it from my desktop without any problems.
[root@C3PO AUR]# ping vg.no
ping: unknown host vg.no
/etc/rc.conf:
......
interface=eth0
address=192.168.1.10
netmask=
gateway=
What is the problem? It is connected to a gigabit switch is there again connected to an airport express which delivers the ipadresses. My desktop is connected the same way with dhcp.
Use the Source, Luke!
Offline
You need to add a DNS server to /etc/resolv.conf
EDIT: You also need a default gateway, which according to your rc.conf is not currently configured.
Last edited by fukawi2 (2012-09-09 23:09:44)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
How do I find out which DNS servers I need to use?
Isn't gateway handled by dhcp when leaved blank?
Use the Source, Luke!
Offline
Perhaps the entry of the ip in the dhcp example should be removed. Normal dhcp installs via eth0 only have eth0 entered.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Now, after a new try and no sucess:
[root@C3PO ~]# ping vg.no
connect: Network is unreachable
ip adresses:
address=192.168.1.10
netmask=255.255.255.0
gateway=192.168.0.0
broadcast=192.168.0.255
/etc/resolv.conf:
nameserver 192.168.1.1
This is the same config my desktop which I am using now has.
Use the Source, Luke!
Offline
Found the problem:
gateway=192.168.0.0
Changed it to:
gateway=192.168.1.1
Computer stuff is nothing for me when im tired obviously.
Use the Source, Luke!
Offline